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.13
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 SHELL
=${CONFIG_SHELL-/bin/sh}
494 # Maximum number of lines to put in a shell here document.
501 # If the previous option needs an argument, assign it.
502 if test -n "$ac_prev"; then
503 eval "$ac_prev=\$ac_option"
509 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
513 # Accept the important Cygnus configure options, so we can diagnose typos.
517 -bindir | --bindir | --bindi | --bind | --bin | --bi)
519 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
520 bindir
="$ac_optarg" ;;
522 -build | --build | --buil | --bui | --bu)
524 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
525 build
="$ac_optarg" ;;
527 -cache-file | --cache-file | --cache-fil | --cache-fi \
528 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
529 ac_prev
=cache_file
;;
530 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
531 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
532 cache_file
="$ac_optarg" ;;
534 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
536 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
538 datadir
="$ac_optarg" ;;
540 -disable-* | --disable-*)
541 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
542 # Reject names that are not valid shell variable names.
543 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
544 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
546 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
547 eval "enable_${ac_feature}=no" ;;
549 -enable-* | --enable-*)
550 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
551 # Reject names that are not valid shell variable names.
552 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
553 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
555 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
560 eval "enable_${ac_feature}='$ac_optarg'" ;;
562 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
563 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
564 | --exec | --exe | --ex)
565 ac_prev
=exec_prefix
;;
566 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
567 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
568 | --exec=* | --exe=* | --ex=*)
569 exec_prefix
="$ac_optarg" ;;
571 -gas | --gas | --ga | --g)
572 # Obsolete; use --with-gas.
575 -help | --help | --hel | --he)
576 # Omit some internal or obsolete options to make the list less imposing.
577 # This message is too long to be a string in the A/UX 3.1 sh.
579 Usage: configure [options] [host]
580 Options: [defaults in brackets after descriptions]
582 --cache-file=FILE cache test results in FILE
583 --help print this message
584 --no-create do not create output files
585 --quiet, --silent do not print \`checking...' messages
586 --version print the version of autoconf that created configure
587 Directory and file names:
588 --prefix=PREFIX install architecture-independent files in PREFIX
590 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
592 --bindir=DIR user executables in DIR [EPREFIX/bin]
593 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
594 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
595 --datadir=DIR read-only architecture-independent data in DIR
597 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
598 --sharedstatedir=DIR modifiable architecture-independent data in DIR
600 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
601 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
602 --includedir=DIR C header files in DIR [PREFIX/include]
603 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
604 --infodir=DIR info documentation in DIR [PREFIX/info]
605 --mandir=DIR man documentation in DIR [PREFIX/man]
606 --srcdir=DIR find the sources in DIR [configure dir or ..]
607 --program-prefix=PREFIX prepend PREFIX to installed program names
608 --program-suffix=SUFFIX append SUFFIX to installed program names
609 --program-transform-name=PROGRAM
610 run sed PROGRAM on installed program names
614 --build=BUILD configure for building on BUILD [BUILD=HOST]
615 --host=HOST configure for HOST [guessed]
616 --target=TARGET configure for TARGET [TARGET=HOST]
617 Features and packages:
618 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
619 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
620 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
621 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
622 --x-includes=DIR X include files are in DIR
623 --x-libraries=DIR X library files are in DIR
625 if test -n "$ac_help"; then
626 echo "--enable and --with options recognized:$ac_help"
630 -host | --host | --hos | --ho)
632 -host=* | --host=* | --hos=* | --ho=*)
635 -includedir | --includedir | --includedi | --included | --include \
636 | --includ | --inclu | --incl | --inc)
637 ac_prev
=includedir
;;
638 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
639 | --includ=* | --inclu=* | --incl=* | --inc=*)
640 includedir
="$ac_optarg" ;;
642 -infodir | --infodir | --infodi | --infod | --info | --inf)
644 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
645 infodir
="$ac_optarg" ;;
647 -libdir | --libdir | --libdi | --libd)
649 -libdir=* | --libdir=* | --libdi=* | --libd=*)
650 libdir
="$ac_optarg" ;;
652 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
653 | --libexe | --libex | --libe)
654 ac_prev
=libexecdir
;;
655 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
656 | --libexe=* | --libex=* | --libe=*)
657 libexecdir
="$ac_optarg" ;;
659 -localstatedir | --localstatedir | --localstatedi | --localstated \
660 | --localstate | --localstat | --localsta | --localst \
661 | --locals | --local | --loca | --loc | --lo)
662 ac_prev
=localstatedir
;;
663 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
664 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
665 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
666 localstatedir
="$ac_optarg" ;;
668 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
670 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
671 mandir
="$ac_optarg" ;;
674 # Obsolete; use --without-fp.
677 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
681 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
682 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
685 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
686 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
687 | --oldin | --oldi | --old | --ol | --o)
688 ac_prev
=oldincludedir
;;
689 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
690 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
691 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
692 oldincludedir
="$ac_optarg" ;;
694 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
696 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
697 prefix
="$ac_optarg" ;;
699 -program-prefix | --program-prefix | --program-prefi | --program-pref \
700 | --program-pre | --program-pr | --program-p)
701 ac_prev
=program_prefix
;;
702 -program-prefix=* | --program-prefix=* | --program-prefi=* \
703 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
704 program_prefix
="$ac_optarg" ;;
706 -program-suffix | --program-suffix | --program-suffi | --program-suff \
707 | --program-suf | --program-su | --program-s)
708 ac_prev
=program_suffix
;;
709 -program-suffix=* | --program-suffix=* | --program-suffi=* \
710 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
711 program_suffix
="$ac_optarg" ;;
713 -program-transform-name | --program-transform-name \
714 | --program-transform-nam | --program-transform-na \
715 | --program-transform-n | --program-transform- \
716 | --program-transform | --program-transfor \
717 | --program-transfo | --program-transf \
718 | --program-trans | --program-tran \
719 | --progr-tra | --program-tr | --program-t)
720 ac_prev
=program_transform_name
;;
721 -program-transform-name=* | --program-transform-name=* \
722 | --program-transform-nam=* | --program-transform-na=* \
723 | --program-transform-n=* | --program-transform-=* \
724 | --program-transform=* | --program-transfor=* \
725 | --program-transfo=* | --program-transf=* \
726 | --program-trans=* | --program-tran=* \
727 | --progr-tra=* | --program-tr=* | --program-t=*)
728 program_transform_name
="$ac_optarg" ;;
730 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
731 | -silent | --silent | --silen | --sile | --sil)
734 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
736 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
738 sbindir
="$ac_optarg" ;;
740 -sharedstatedir | --sharedstatedir | --sharedstatedi \
741 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
742 | --sharedst | --shareds | --shared | --share | --shar \
744 ac_prev
=sharedstatedir
;;
745 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
746 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
747 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
749 sharedstatedir
="$ac_optarg" ;;
751 -site | --site | --sit)
753 -site=* | --site=* | --sit=*)
756 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
758 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
759 srcdir
="$ac_optarg" ;;
761 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
762 | --syscon | --sysco | --sysc | --sys | --sy)
763 ac_prev
=sysconfdir
;;
764 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
765 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
766 sysconfdir
="$ac_optarg" ;;
768 -target | --target | --targe | --targ | --tar | --ta | --t)
770 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
771 target
="$ac_optarg" ;;
773 -v | -verbose | --verbose | --verbos | --verbo | --verb)
776 -version | --version | --versio | --versi | --vers)
777 echo "configure generated by autoconf version 2.13"
781 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
782 # Reject names that are not valid shell variable names.
783 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
784 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
786 ac_package
=`echo $ac_package| sed 's/-/_/g'`
791 eval "with_${ac_package}='$ac_optarg'" ;;
793 -without-* | --without-*)
794 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
795 # Reject names that are not valid shell variable names.
796 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
797 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
799 ac_package
=`echo $ac_package| sed 's/-/_/g'`
800 eval "with_${ac_package}=no" ;;
803 # Obsolete; use --with-x.
806 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
807 | --x-incl | --x-inc | --x-in | --x-i)
808 ac_prev
=x_includes
;;
809 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
810 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
811 x_includes
="$ac_optarg" ;;
813 -x-libraries | --x-libraries | --x-librarie | --x-librari \
814 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
815 ac_prev
=x_libraries
;;
816 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
817 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
818 x_libraries
="$ac_optarg" ;;
820 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
824 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
825 echo "configure: warning: $ac_option: invalid host type" 1>&2
827 if test "x$nonopt" != xNONE
; then
828 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
836 if test -n "$ac_prev"; then
837 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
840 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
842 # File descriptor usage:
845 # 2 errors and warnings
846 # 3 some systems may open it to /dev/tty
847 # 4 used on the Kubota Titan
848 # 6 checking for... messages and results
849 # 5 compiler messages saved in config.log
850 if test "$silent" = yes; then
858 This file contains any messages produced by compilers while
859 running configure, to aid debugging if configure makes a mistake.
862 # Strip out --no-create and --no-recursion so they do not pile up.
863 # Also quote any args containing shell metacharacters.
868 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
869 | --no-cr | --no-c) ;;
870 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
871 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
872 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
873 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
874 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
879 # Only set these to C if already set. These must not be set unconditionally
880 # because not all systems understand e.g. LANG=C (notably SCO).
881 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
882 # Non-C LC_CTYPE values break the ctype check.
883 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
884 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
885 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
886 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
888 # confdefs.h avoids OS command line length limits that DEFS can exceed.
889 rm -rf conftest
* confdefs.h
890 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
893 # A filename unique to this package, relative to the directory that
894 # configure is in, which we can look for to find out if srcdir is correct.
895 ac_unique_file
=wx
-config.
in
897 # Find the source files, if location was not specified.
898 if test -z "$srcdir"; then
899 ac_srcdir_defaulted
=yes
900 # Try the directory containing this script, then its parent.
902 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
903 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
905 if test ! -r $srcdir/$ac_unique_file; then
909 ac_srcdir_defaulted
=no
911 if test ! -r $srcdir/$ac_unique_file; then
912 if test "$ac_srcdir_defaulted" = yes; then
913 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
915 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
918 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
920 # Prefer explicitly selected file to automatically selected ones.
921 if test -z "$CONFIG_SITE"; then
922 if test "x$prefix" != xNONE
; then
923 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
925 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
928 for ac_site_file
in $CONFIG_SITE; do
929 if test -r "$ac_site_file"; then
930 echo "loading site script $ac_site_file"
935 if test -r "$cache_file"; then
936 echo "loading cache $cache_file"
939 echo "creating cache $cache_file"
944 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
945 ac_cpp
='$CPP $CPPFLAGS'
946 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
947 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
948 cross_compiling
=$ac_cv_prog_cc_cross
952 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
953 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
954 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
961 ac_n
= ac_c
='\c' ac_t
=
967 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
968 if test -f $ac_dir/install-sh; then
970 ac_install_sh
="$ac_aux_dir/install-sh -c"
972 elif test -f $ac_dir/install.sh
; then
974 ac_install_sh
="$ac_aux_dir/install.sh -c"
978 if test -z "$ac_aux_dir"; then
979 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
981 ac_config_guess
=$ac_aux_dir/config.guess
982 ac_config_sub
=$ac_aux_dir/config.sub
983 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
986 # Do some error checking and defaulting for the host and target type.
988 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
991 # 1. You are not allowed to specify --host, --target, and nonopt at the
993 # 2. Host defaults to nonopt.
994 # 3. If nonopt is not specified, then host defaults to the current host,
995 # as determined by config.guess.
996 # 4. Target and build default to nonopt.
997 # 5. If nonopt is not specified, then target and build default to host.
999 # The aliases save the names the user supplied, while $host etc.
1000 # will get canonicalized.
1001 case $host---$target---$nonopt in
1002 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
1003 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
1007 # Make sure we can run config.sub.
1008 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1009 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1012 echo $ac_n "checking host system type""... $ac_c" 1>&6
1013 echo "configure:1014: checking host system type" >&5
1016 case "$host_alias" in
1020 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1021 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1023 *) host_alias
=$nonopt ;;
1027 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1028 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1029 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1030 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1031 echo "$ac_t""$host" 1>&6
1033 echo $ac_n "checking target system type""... $ac_c" 1>&6
1034 echo "configure:1035: checking target system type" >&5
1036 target_alias
=$target
1037 case "$target_alias" in
1040 NONE
) target_alias
=$host_alias ;;
1041 *) target_alias
=$nonopt ;;
1045 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1046 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1047 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1048 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1049 echo "$ac_t""$target" 1>&6
1051 echo $ac_n "checking build system type""... $ac_c" 1>&6
1052 echo "configure:1053: checking build system type" >&5
1055 case "$build_alias" in
1058 NONE
) build_alias
=$host_alias ;;
1059 *) build_alias
=$nonopt ;;
1063 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1064 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1065 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1066 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1067 echo "$ac_t""$build" 1>&6
1069 test "$host_alias" != "$target_alias" &&
1070 test "$program_prefix$program_suffix$program_transform_name" = \
1072 program_prefix
=${target_alias}-
1076 WX_MAJOR_VERSION_NUMBER
=2
1077 WX_MINOR_VERSION_NUMBER
=3
1080 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1081 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1083 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1117 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1119 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE X11"
1124 DEFAULT_wxUSE_MICROWIN
=0
1125 DEFAULT_wxUSE_MOTIF
=0
1128 DEFAULT_wxUSE_WINE
=0
1131 DEFAULT_DEFAULT_wxUSE_GTK
=0
1132 DEFAULT_DEFAULT_wxUSE_MAC
=0
1133 DEFAULT_DEFAULT_wxUSE_MGL
=0
1134 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1135 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1136 DEFAULT_DEFAULT_wxUSE_MSW
=0
1137 DEFAULT_DEFAULT_wxUSE_PM
=0
1138 DEFAULT_DEFAULT_wxUSE_WINE
=0
1139 DEFAULT_DEFAULT_wxUSE_X11
=0
1147 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1148 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1150 cat >> confdefs.h
<<\EOF
1157 cat >> confdefs.h
<<\EOF
1162 if test "x$TMP" = "xalpha"; then
1164 cat >> confdefs.h
<<\EOF
1169 DEFAULT_DEFAULT_wxUSE_GTK
=1
1171 *-*-irix5* | *-*-irix6* )
1174 cat >> confdefs.h
<<\EOF
1178 cat >> confdefs.h
<<\EOF
1182 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1188 cat >> confdefs.h
<<\EOF
1192 cat >> confdefs.h
<<\EOF
1193 #define __SOLARIS__ 1
1196 cat >> confdefs.h
<<\EOF
1200 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1201 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1207 cat >> confdefs.h
<<\EOF
1211 cat >> confdefs.h
<<\EOF
1215 cat >> confdefs.h
<<\EOF
1219 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1224 cat >> confdefs.h
<<\EOF
1225 #define __FREEBSD__ 1
1228 cat >> confdefs.h
<<\EOF
1232 DEFAULT_DEFAULT_wxUSE_GTK
=1
1237 cat >> confdefs.h
<<\EOF
1238 #define __FREEBSD__ 1
1241 cat >> confdefs.h
<<\EOF
1242 #define __OPENBSD__ 1
1245 DEFAULT_DEFAULT_wxUSE_GTK
=1
1250 cat >> confdefs.h
<<\EOF
1251 #define __FREEBSD__ 1
1254 cat >> confdefs.h
<<\EOF
1255 #define __NETBSD__ 1
1258 DEFAULT_DEFAULT_wxUSE_GTK
=1
1263 cat >> confdefs.h
<<\EOF
1267 cat >> confdefs.h
<<\EOF
1271 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1272 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1277 cat >> confdefs.h
<<\EOF
1281 cat >> confdefs.h
<<\EOF
1285 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1290 cat >> confdefs.h
<<\EOF
1294 cat >> confdefs.h
<<\EOF
1298 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1305 cat >> confdefs.h
<<\EOF
1309 cat >> confdefs.h
<<\EOF
1313 cat >> confdefs.h
<<\EOF
1317 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1320 *-*-cygwin* | *-*-mingw32* )
1324 DEFAULT_DEFAULT_wxUSE_MSW
=1
1330 cat >> confdefs.h
<<\EOF
1335 DEFAULT_DEFAULT_wxUSE_MGL
=1
1336 LIBS
="$LIBS -lstdc++"
1339 *-pc-os2_emx | *-pc-os2-emx )
1340 cat >> confdefs.h
<<\EOF
1345 DEFAULT_DEFAULT_wxUSE_PM
=1
1346 LIBS
="$LIBS -lstdcpp"
1353 cat >> confdefs.h
<<\EOF
1357 cat >> confdefs.h
<<\EOF
1358 #define __DARWIN__ 1
1361 cat >> confdefs.h
<<\EOF
1362 #define __POWERPC__ 1
1365 DEFAULT_DEFAULT_wxUSE_MAC
=1
1370 cat >> confdefs.h
<<\EOF
1377 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1383 wx_arg_cache_file
="configarg.cache"
1384 echo "loading argument cache $wx_arg_cache_file"
1385 rm -f ${wx_arg_cache_file}.tmp
1386 touch ${wx_arg_cache_file}.tmp
1387 touch ${wx_arg_cache_file}
1391 if test $DEBUG_CONFIGURE = 1; then
1392 DEFAULT_wxUSE_UNIVERSAL
=no
1394 DEFAULT_wxUSE_NANOX
=no
1396 DEFAULT_wxUSE_THREADS
=yes
1398 DEFAULT_wxUSE_SHARED
=yes
1399 DEFAULT_wxUSE_SONAME
=no
1400 DEFAULT_wxUSE_OPTIMISE
=no
1401 DEFAULT_wxUSE_PROFILE
=no
1402 DEFAULT_wxUSE_NO_DEPS
=no
1403 DEFAULT_wxUSE_NO_RTTI
=no
1404 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1405 DEFAULT_wxUSE_PERMISSIVE
=no
1406 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1407 DEFAULT_wxUSE_DEBUG_INFO
=yes
1408 DEFAULT_wxUSE_DEBUG_GDB
=yes
1409 DEFAULT_wxUSE_MEM_TRACING
=no
1410 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1411 DEFAULT_wxUSE_DMALLOC
=no
1412 DEFAULT_wxUSE_PRECOMP
=no
1413 DEFAULT_wxUSE_APPLE_IEEE
=no
1415 DEFAULT_wxUSE_LOG
=yes
1416 DEFAULT_wxUSE_LOGWINDOW
=no
1417 DEFAULT_wxUSE_LOGGUI
=no
1418 DEFAULT_wxUSE_LOGDIALOG
=no
1420 DEFAULT_wxUSE_GUI
=yes
1421 DEFAULT_wxUSE_CONTROLS
=no
1423 DEFAULT_wxUSE_REGEX
=no
1424 DEFAULT_wxUSE_ZLIB
=no
1425 DEFAULT_wxUSE_LIBPNG
=no
1426 DEFAULT_wxUSE_LIBJPEG
=no
1427 DEFAULT_wxUSE_LIBTIFF
=no
1428 DEFAULT_wxUSE_ODBC
=no
1429 DEFAULT_wxUSE_OPENGL
=no
1431 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1432 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1433 DEFAULT_wxUSE_STD_IOSTREAM
=no
1434 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1435 DEFAULT_wxUSE_DATETIME
=no
1436 DEFAULT_wxUSE_TIMEDATE
=no
1437 DEFAULT_wxUSE_TIMER
=no
1438 DEFAULT_wxUSE_STOPWATCH
=no
1439 DEFAULT_wxUSE_FILE
=no
1440 DEFAULT_wxUSE_FFILE
=no
1441 DEFAULT_wxUSE_TEXTBUFFER
=no
1442 DEFAULT_wxUSE_TEXTFILE
=no
1443 DEFAULT_wxUSE_WAVE
=no
1444 DEFAULT_wxUSE_INTL
=no
1445 DEFAULT_wxUSE_CONFIG
=no
1446 DEFAULT_wxUSE_FONTMAP
=no
1447 DEFAULT_wxUSE_STREAMS
=no
1448 DEFAULT_wxUSE_SOCKETS
=no
1449 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1450 DEFAULT_wxUSE_JOYSTICK
=no
1451 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1452 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1453 DEFAULT_wxUSE_LONGLONG
=no
1454 DEFAULT_wxUSE_GEOMETRY
=no
1456 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1457 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1458 DEFAULT_wxUSE_POSTSCRIPT
=no
1460 DEFAULT_wxUSE_X_RESOURCES
=no
1461 DEFAULT_wxUSE_CLIPBOARD
=no
1462 DEFAULT_wxUSE_TOOLTIPS
=no
1463 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1464 DEFAULT_wxUSE_DRAGIMAGE
=no
1465 DEFAULT_wxUSE_SPLINES
=no
1467 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1468 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1469 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1471 DEFAULT_wxUSE_PROLOGIO
=no
1472 DEFAULT_wxUSE_RESOURCES
=no
1473 DEFAULT_wxUSE_CONSTRAINTS
=no
1474 DEFAULT_wxUSE_IPC
=no
1475 DEFAULT_wxUSE_HELP
=no
1476 DEFAULT_wxUSE_MS_HTML_HELP
=no
1477 DEFAULT_wxUSE_WXHTML_HELP
=no
1478 DEFAULT_wxUSE_TREELAYOUT
=no
1479 DEFAULT_wxUSE_METAFILE
=no
1480 DEFAULT_wxUSE_MIMETYPE
=no
1481 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1482 DEFAULT_wxUSE_PROTOCOL
=no
1483 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1484 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1485 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1486 DEFAULT_wxUSE_URL
=no
1488 DEFAULT_wxUSE_COMMONDLGS
=no
1489 DEFAULT_wxUSE_CHOICEDLG
=no
1490 DEFAULT_wxUSE_COLOURDLG
=no
1491 DEFAULT_wxUSE_DIRDLG
=no
1492 DEFAULT_wxUSE_FILEDLG
=no
1493 DEFAULT_wxUSE_FINDREPLDLG
=no
1494 DEFAULT_wxUSE_FONTDLG
=no
1495 DEFAULT_wxUSE_MSGDLG
=no
1496 DEFAULT_wxUSE_NUMBERDLG
=no
1497 DEFAULT_wxUSE_TEXTDLG
=no
1498 DEFAULT_wxUSE_SPLASH
=no
1499 DEFAULT_wxUSE_STARTUP_TIPS
=no
1500 DEFAULT_wxUSE_PROGRESSDLG
=no
1501 DEFAULT_wxUSE_WIZARDDLG
=no
1503 DEFAULT_wxUSE_MENUS
=no
1504 DEFAULT_wxUSE_MINIFRAME
=no
1505 DEFAULT_wxUSE_HTML
=no
1506 DEFAULT_wxUSE_FILESYSTEM
=no
1507 DEFAULT_wxUSE_FS_INET
=no
1508 DEFAULT_wxUSE_FS_ZIP
=no
1509 DEFAULT_wxUSE_BUSYINFO
=no
1510 DEFAULT_wxUSE_ZIPSTREAM
=no
1511 DEFAULT_wxUSE_VALIDATORS
=no
1513 DEFAULT_wxUSE_ACCEL
=no
1514 DEFAULT_wxUSE_BUTTON
=no
1515 DEFAULT_wxUSE_BMPBUTTON
=no
1516 DEFAULT_wxUSE_CALCTRL
=no
1517 DEFAULT_wxUSE_CARET
=no
1518 DEFAULT_wxUSE_CHECKBOX
=no
1519 DEFAULT_wxUSE_CHECKLST
=no
1520 DEFAULT_wxUSE_CHOICE
=no
1521 DEFAULT_wxUSE_COMBOBOX
=no
1522 DEFAULT_wxUSE_GAUGE
=no
1523 DEFAULT_wxUSE_GRID
=no
1524 DEFAULT_wxUSE_NEW_GRID
=no
1525 DEFAULT_wxUSE_IMAGLIST
=no
1526 DEFAULT_wxUSE_LISTBOX
=no
1527 DEFAULT_wxUSE_LISTCTRL
=no
1528 DEFAULT_wxUSE_NOTEBOOK
=no
1529 DEFAULT_wxUSE_PROPSHEET
=no
1530 DEFAULT_wxUSE_RADIOBOX
=no
1531 DEFAULT_wxUSE_RADIOBTN
=no
1532 DEFAULT_wxUSE_SASH
=no
1533 DEFAULT_wxUSE_SCROLLBAR
=no
1534 DEFAULT_wxUSE_SLIDER
=no
1535 DEFAULT_wxUSE_SPINBTN
=no
1536 DEFAULT_wxUSE_SPINCTRL
=no
1537 DEFAULT_wxUSE_SPLITTER
=no
1538 DEFAULT_wxUSE_STATBMP
=no
1539 DEFAULT_wxUSE_STATBOX
=no
1540 DEFAULT_wxUSE_STATLINE
=no
1541 DEFAULT_wxUSE_STATTEXT
=no
1542 DEFAULT_wxUSE_STATUSBAR
=yes
1543 DEFAULT_wxUSE_TABDIALOG
=no
1544 DEFAULT_wxUSE_TEXTCTRL
=no
1545 DEFAULT_wxUSE_TOGGLEBTN
=no
1546 DEFAULT_wxUSE_TOOLBAR
=no
1547 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1548 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1549 DEFAULT_wxUSE_TREECTRL
=no
1550 DEFAULT_wxUSE_POPUPWIN
=no
1551 DEFAULT_wxUSE_TIPWINDOW
=no
1553 DEFAULT_wxUSE_UNICODE
=no
1554 DEFAULT_wxUSE_UNICODE_MSLU
=no
1555 DEFAULT_wxUSE_WCSRTOMBS
=no
1557 DEFAULT_wxUSE_PALETTE
=no
1558 DEFAULT_wxUSE_IMAGE
=no
1559 DEFAULT_wxUSE_GIF
=no
1560 DEFAULT_wxUSE_PCX
=no
1561 DEFAULT_wxUSE_PNM
=no
1562 DEFAULT_wxUSE_IFF
=no
1563 DEFAULT_wxUSE_XPM
=no
1564 DEFAULT_wxUSE_ICO_CUR
=no
1566 DEFAULT_wxUSE_UNIVERSAL
=no
1568 DEFAULT_wxUSE_NANOX
=no
1570 DEFAULT_wxUSE_THREADS
=yes
1572 DEFAULT_wxUSE_SHARED
=yes
1573 DEFAULT_wxUSE_SONAME
=no
1574 DEFAULT_wxUSE_OPTIMISE
=yes
1575 DEFAULT_wxUSE_PROFILE
=no
1576 DEFAULT_wxUSE_NO_DEPS
=no
1577 DEFAULT_wxUSE_NO_RTTI
=no
1578 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1579 DEFAULT_wxUSE_PERMISSIVE
=no
1580 DEFAULT_wxUSE_DEBUG_FLAG
=no
1581 DEFAULT_wxUSE_DEBUG_INFO
=no
1582 DEFAULT_wxUSE_DEBUG_GDB
=no
1583 DEFAULT_wxUSE_MEM_TRACING
=no
1584 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1585 DEFAULT_wxUSE_DMALLOC
=no
1586 DEFAULT_wxUSE_PRECOMP
=no
1587 DEFAULT_wxUSE_APPLE_IEEE
=yes
1589 DEFAULT_wxUSE_LOG
=yes
1590 DEFAULT_wxUSE_LOGWINDOW
=yes
1591 DEFAULT_wxUSE_LOGGUI
=yes
1592 DEFAULT_wxUSE_LOGDIALOG
=yes
1594 DEFAULT_wxUSE_GUI
=yes
1596 DEFAULT_wxUSE_REGEX
=yes
1597 DEFAULT_wxUSE_ZLIB
=yes
1598 DEFAULT_wxUSE_LIBPNG
=yes
1599 DEFAULT_wxUSE_LIBJPEG
=yes
1600 DEFAULT_wxUSE_LIBTIFF
=yes
1601 DEFAULT_wxUSE_ODBC
=no
1602 DEFAULT_wxUSE_OPENGL
=no
1604 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1605 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1606 DEFAULT_wxUSE_STD_IOSTREAM
=no
1607 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1608 DEFAULT_wxUSE_DATETIME
=yes
1609 DEFAULT_wxUSE_TIMEDATE
=no
1610 DEFAULT_wxUSE_TIMER
=yes
1611 DEFAULT_wxUSE_STOPWATCH
=yes
1612 DEFAULT_wxUSE_FILE
=yes
1613 DEFAULT_wxUSE_FFILE
=yes
1614 DEFAULT_wxUSE_TEXTBUFFER
=yes
1615 DEFAULT_wxUSE_TEXTFILE
=yes
1616 DEFAULT_wxUSE_WAVE
=no
1617 DEFAULT_wxUSE_INTL
=yes
1618 DEFAULT_wxUSE_CONFIG
=yes
1619 DEFAULT_wxUSE_FONTMAP
=yes
1620 DEFAULT_wxUSE_STREAMS
=yes
1621 DEFAULT_wxUSE_SOCKETS
=yes
1622 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1623 DEFAULT_wxUSE_JOYSTICK
=yes
1624 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1625 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1626 DEFAULT_wxUSE_LONGLONG
=yes
1627 DEFAULT_wxUSE_GEOMETRY
=yes
1629 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1630 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1631 DEFAULT_wxUSE_POSTSCRIPT
=yes
1633 DEFAULT_wxUSE_X_RESOURCES
=no
1634 DEFAULT_wxUSE_CLIPBOARD
=yes
1635 DEFAULT_wxUSE_TOOLTIPS
=yes
1636 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1637 DEFAULT_wxUSE_DRAGIMAGE
=yes
1638 DEFAULT_wxUSE_SPLINES
=yes
1640 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1641 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1642 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1644 DEFAULT_wxUSE_PROLOGIO
=yes
1645 DEFAULT_wxUSE_RESOURCES
=yes
1646 DEFAULT_wxUSE_CONSTRAINTS
=yes
1647 DEFAULT_wxUSE_IPC
=yes
1648 DEFAULT_wxUSE_HELP
=yes
1649 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1650 DEFAULT_wxUSE_WXHTML_HELP
=yes
1651 DEFAULT_wxUSE_TREELAYOUT
=yes
1652 DEFAULT_wxUSE_METAFILE
=yes
1653 DEFAULT_wxUSE_MIMETYPE
=yes
1654 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1655 DEFAULT_wxUSE_PROTOCOL
=yes
1656 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1657 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1658 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1659 DEFAULT_wxUSE_URL
=yes
1661 DEFAULT_wxUSE_COMMONDLGS
=yes
1662 DEFAULT_wxUSE_CHOICEDLG
=yes
1663 DEFAULT_wxUSE_COLOURDLG
=yes
1664 DEFAULT_wxUSE_DIRDLG
=yes
1665 DEFAULT_wxUSE_FILEDLG
=yes
1666 DEFAULT_wxUSE_FINDREPLDLG
=yes
1667 DEFAULT_wxUSE_FONTDLG
=yes
1668 DEFAULT_wxUSE_MSGDLG
=yes
1669 DEFAULT_wxUSE_NUMBERDLG
=yes
1670 DEFAULT_wxUSE_TEXTDLG
=yes
1671 DEFAULT_wxUSE_SPLASH
=yes
1672 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1673 DEFAULT_wxUSE_PROGRESSDLG
=yes
1674 DEFAULT_wxUSE_WIZARDDLG
=yes
1676 DEFAULT_wxUSE_MENUS
=yes
1677 DEFAULT_wxUSE_MINIFRAME
=yes
1678 DEFAULT_wxUSE_HTML
=yes
1679 DEFAULT_wxUSE_FILESYSTEM
=yes
1680 DEFAULT_wxUSE_FS_INET
=yes
1681 DEFAULT_wxUSE_FS_ZIP
=yes
1682 DEFAULT_wxUSE_BUSYINFO
=yes
1683 DEFAULT_wxUSE_ZIPSTREAM
=yes
1684 DEFAULT_wxUSE_VALIDATORS
=yes
1686 DEFAULT_wxUSE_ACCEL
=yes
1687 DEFAULT_wxUSE_BUTTON
=yes
1688 DEFAULT_wxUSE_BMPBUTTON
=yes
1689 DEFAULT_wxUSE_CALCTRL
=yes
1690 DEFAULT_wxUSE_CARET
=yes
1691 DEFAULT_wxUSE_CHECKBOX
=yes
1692 DEFAULT_wxUSE_CHECKLST
=yes
1693 DEFAULT_wxUSE_CHOICE
=yes
1694 DEFAULT_wxUSE_COMBOBOX
=yes
1695 DEFAULT_wxUSE_GAUGE
=yes
1696 DEFAULT_wxUSE_GRID
=yes
1697 DEFAULT_wxUSE_NEW_GRID
=yes
1698 DEFAULT_wxUSE_IMAGLIST
=yes
1699 DEFAULT_wxUSE_LISTBOX
=yes
1700 DEFAULT_wxUSE_LISTCTRL
=yes
1701 DEFAULT_wxUSE_NOTEBOOK
=yes
1702 DEFAULT_wxUSE_PROPSHEET
=yes
1703 DEFAULT_wxUSE_RADIOBOX
=yes
1704 DEFAULT_wxUSE_RADIOBTN
=yes
1705 DEFAULT_wxUSE_SASH
=yes
1706 DEFAULT_wxUSE_SCROLLBAR
=yes
1707 DEFAULT_wxUSE_SLIDER
=yes
1708 DEFAULT_wxUSE_SPINBTN
=yes
1709 DEFAULT_wxUSE_SPINCTRL
=yes
1710 DEFAULT_wxUSE_SPLITTER
=yes
1711 DEFAULT_wxUSE_STATBMP
=yes
1712 DEFAULT_wxUSE_STATBOX
=yes
1713 DEFAULT_wxUSE_STATLINE
=yes
1714 DEFAULT_wxUSE_STATTEXT
=yes
1715 DEFAULT_wxUSE_STATUSBAR
=yes
1716 DEFAULT_wxUSE_TABDIALOG
=no
1717 DEFAULT_wxUSE_TEXTCTRL
=yes
1718 DEFAULT_wxUSE_TOGGLEBTN
=yes
1719 DEFAULT_wxUSE_TOOLBAR
=yes
1720 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1721 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1722 DEFAULT_wxUSE_TREECTRL
=yes
1723 DEFAULT_wxUSE_POPUPWIN
=yes
1724 DEFAULT_wxUSE_TIPWINDOW
=yes
1726 DEFAULT_wxUSE_UNICODE
=no
1727 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1728 DEFAULT_wxUSE_WCSRTOMBS
=no
1730 DEFAULT_wxUSE_PALETTE
=yes
1731 DEFAULT_wxUSE_IMAGE
=yes
1732 DEFAULT_wxUSE_GIF
=yes
1733 DEFAULT_wxUSE_PCX
=yes
1734 DEFAULT_wxUSE_IFF
=no
1735 DEFAULT_wxUSE_PNM
=yes
1736 DEFAULT_wxUSE_XPM
=yes
1737 DEFAULT_wxUSE_ICO_CUR
=yes
1742 for toolkit
in `echo $ALL_TOOLKITS`; do
1743 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1744 if test "x$LINE" != "x" ; then
1745 has_toolkit_in_cache
=1
1746 eval "DEFAULT_$LINE"
1747 eval "CACHE_$toolkit=1"
1753 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1754 echo "configure:1755: checking for --enable-gui" >&5
1756 # Check whether --enable-gui or --disable-gui was given.
1757 if test "${enable_gui+set}" = set; then
1758 enableval
="$enable_gui"
1760 if test "$enableval" = yes; then
1761 ac_cv_use_gui
='wxUSE_GUI=yes'
1763 ac_cv_use_gui
='wxUSE_GUI=no'
1768 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1769 if test "x$LINE" != x
; then
1770 eval "DEFAULT_$LINE"
1775 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1780 eval "$ac_cv_use_gui"
1781 if test "$no_cache" != 1; then
1782 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1785 if test "$wxUSE_GUI" = yes; then
1786 echo "$ac_t""yes" 1>&6
1788 echo "$ac_t""no" 1>&6
1792 if test "$wxUSE_GUI" = "yes"; then
1795 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1796 echo "configure:1797: checking for --enable-universal" >&5
1798 # Check whether --enable-universal or --disable-universal was given.
1799 if test "${enable_universal+set}" = set; then
1800 enableval
="$enable_universal"
1802 if test "$enableval" = yes; then
1803 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1805 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1810 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1811 if test "x$LINE" != x
; then
1812 eval "DEFAULT_$LINE"
1817 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1822 eval "$ac_cv_use_universal"
1823 if test "$no_cache" != 1; then
1824 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1827 if test "$wxUSE_UNIVERSAL" = yes; then
1828 echo "$ac_t""yes" 1>&6
1830 echo "$ac_t""no" 1>&6
1833 # Check whether --with-gtk or --without-gtk was given.
1834 if test "${with_gtk+set}" = set; then
1836 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1839 # Check whether --with-motif or --without-motif was given.
1840 if test "${with_motif+set}" = set; then
1841 withval
="$with_motif"
1842 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1845 # Check whether --with-mac or --without-mac was given.
1846 if test "${with_mac+set}" = set; then
1848 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1851 # Check whether --with-wine or --without-wine was given.
1852 if test "${with_wine+set}" = set; then
1853 withval
="$with_wine"
1854 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1857 # Check whether --with-msw or --without-msw was given.
1858 if test "${with_msw+set}" = set; then
1860 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1863 # Check whether --with-pm or --without-pm was given.
1864 if test "${with_pm+set}" = set; then
1866 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1869 # Check whether --with-mgl or --without-mgl was given.
1870 if test "${with_mgl+set}" = set; then
1872 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1875 # Check whether --with-microwin or --without-microwin was given.
1876 if test "${with_microwin+set}" = set; then
1877 withval
="$with_microwin"
1878 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1881 # Check whether --with-x11 or --without-x11 was given.
1882 if test "${with_x11+set}" = set; then
1884 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1888 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1889 echo "configure:1890: checking for --enable-nanox" >&5
1891 # Check whether --enable-nanox or --disable-nanox was given.
1892 if test "${enable_nanox+set}" = set; then
1893 enableval
="$enable_nanox"
1895 if test "$enableval" = yes; then
1896 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1898 ac_cv_use_nanox
='wxUSE_NANOX=no'
1903 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1904 if test "x$LINE" != x
; then
1905 eval "DEFAULT_$LINE"
1910 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1915 eval "$ac_cv_use_nanox"
1916 if test "$no_cache" != 1; then
1917 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1920 if test "$wxUSE_NANOX" = yes; then
1921 echo "$ac_t""yes" 1>&6
1923 echo "$ac_t""no" 1>&6
1928 echo $ac_n "checking for --enable-gtk2""... $ac_c" 1>&6
1929 echo "configure:1930: checking for --enable-gtk2" >&5
1931 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1932 if test "${enable_gtk2+set}" = set; then
1933 enableval
="$enable_gtk2"
1935 if test "$enableval" = yes; then
1936 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1938 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1943 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1944 if test "x$LINE" != x
; then
1945 eval "DEFAULT_$LINE"
1950 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1955 eval "$ac_cv_use_gtk2"
1956 if test "$no_cache" != 1; then
1957 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1960 if test "$wxUSE_GTK2" = yes; then
1961 echo "$ac_t""yes" 1>&6
1963 echo "$ac_t""no" 1>&6
1968 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1969 echo "configure:1970: checking for --with-libpng" >&5
1971 # Check whether --with-libpng or --without-libpng was given.
1972 if test "${with_libpng+set}" = set; then
1973 withval
="$with_libpng"
1975 if test "$withval" = yes; then
1976 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1977 elif test "$withval" = no
; then
1978 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1979 elif test "$withval" = sys
; then
1980 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1981 elif test "$withval" = builtin; then
1982 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1984 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1989 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1990 if test "x$LINE" != x
; then
1991 eval "DEFAULT_$LINE"
1996 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2001 eval "$ac_cv_use_libpng"
2002 if test "$no_cache" != 1; then
2003 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2006 if test "$wxUSE_LIBPNG" = yes; then
2007 echo "$ac_t""yes" 1>&6
2008 elif test "$wxUSE_LIBPNG" = no
; then
2009 echo "$ac_t""no" 1>&6
2010 elif test "$wxUSE_LIBPNG" = sys
; then
2011 echo "$ac_t""system version" 1>&6
2012 elif test "$wxUSE_LIBPNG" = builtin; then
2013 echo "$ac_t""builtin version" 1>&6
2015 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2019 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2020 echo "configure:2021: checking for --with-libjpeg" >&5
2022 # Check whether --with-libjpeg or --without-libjpeg was given.
2023 if test "${with_libjpeg+set}" = set; then
2024 withval
="$with_libjpeg"
2026 if test "$withval" = yes; then
2027 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2028 elif test "$withval" = no
; then
2029 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2030 elif test "$withval" = sys
; then
2031 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2032 elif test "$withval" = builtin; then
2033 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2035 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2040 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2041 if test "x$LINE" != x
; then
2042 eval "DEFAULT_$LINE"
2047 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2052 eval "$ac_cv_use_libjpeg"
2053 if test "$no_cache" != 1; then
2054 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2057 if test "$wxUSE_LIBJPEG" = yes; then
2058 echo "$ac_t""yes" 1>&6
2059 elif test "$wxUSE_LIBJPEG" = no
; then
2060 echo "$ac_t""no" 1>&6
2061 elif test "$wxUSE_LIBJPEG" = sys
; then
2062 echo "$ac_t""system version" 1>&6
2063 elif test "$wxUSE_LIBJPEG" = builtin; then
2064 echo "$ac_t""builtin version" 1>&6
2066 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2070 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2071 echo "configure:2072: checking for --with-libtiff" >&5
2073 # Check whether --with-libtiff or --without-libtiff was given.
2074 if test "${with_libtiff+set}" = set; then
2075 withval
="$with_libtiff"
2077 if test "$withval" = yes; then
2078 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2079 elif test "$withval" = no
; then
2080 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2081 elif test "$withval" = sys
; then
2082 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2083 elif test "$withval" = builtin; then
2084 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2086 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2091 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2092 if test "x$LINE" != x
; then
2093 eval "DEFAULT_$LINE"
2098 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2103 eval "$ac_cv_use_libtiff"
2104 if test "$no_cache" != 1; then
2105 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2108 if test "$wxUSE_LIBTIFF" = yes; then
2109 echo "$ac_t""yes" 1>&6
2110 elif test "$wxUSE_LIBTIFF" = no
; then
2111 echo "$ac_t""no" 1>&6
2112 elif test "$wxUSE_LIBTIFF" = sys
; then
2113 echo "$ac_t""system version" 1>&6
2114 elif test "$wxUSE_LIBTIFF" = builtin; then
2115 echo "$ac_t""builtin version" 1>&6
2117 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2121 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2122 echo "configure:2123: checking for --with-opengl" >&5
2124 # Check whether --with-opengl or --without-opengl was given.
2125 if test "${with_opengl+set}" = set; then
2126 withval
="$with_opengl"
2128 if test "$withval" = yes; then
2129 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2131 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2136 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2137 if test "x$LINE" != x
; then
2138 eval "DEFAULT_$LINE"
2143 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2148 eval "$ac_cv_use_opengl"
2149 if test "$no_cache" != 1; then
2150 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2153 if test "$wxUSE_OPENGL" = yes; then
2154 echo "$ac_t""yes" 1>&6
2156 echo "$ac_t""no" 1>&6
2163 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2164 echo "configure:2165: checking for --with-dmalloc" >&5
2166 # Check whether --with-dmalloc or --without-dmalloc was given.
2167 if test "${with_dmalloc+set}" = set; then
2168 withval
="$with_dmalloc"
2170 if test "$withval" = yes; then
2171 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2173 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2178 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2179 if test "x$LINE" != x
; then
2180 eval "DEFAULT_$LINE"
2185 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2190 eval "$ac_cv_use_dmalloc"
2191 if test "$no_cache" != 1; then
2192 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2195 if test "$wxUSE_DMALLOC" = yes; then
2196 echo "$ac_t""yes" 1>&6
2198 echo "$ac_t""no" 1>&6
2202 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2203 echo "configure:2204: checking for --with-regex" >&5
2205 # Check whether --with-regex or --without-regex was given.
2206 if test "${with_regex+set}" = set; then
2207 withval
="$with_regex"
2209 if test "$withval" = yes; then
2210 ac_cv_use_regex
='wxUSE_REGEX=yes'
2211 elif test "$withval" = no
; then
2212 ac_cv_use_regex
='wxUSE_REGEX=no'
2213 elif test "$withval" = sys
; then
2214 ac_cv_use_regex
='wxUSE_REGEX=sys'
2215 elif test "$withval" = builtin; then
2216 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2218 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2223 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2224 if test "x$LINE" != x
; then
2225 eval "DEFAULT_$LINE"
2230 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2235 eval "$ac_cv_use_regex"
2236 if test "$no_cache" != 1; then
2237 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2240 if test "$wxUSE_REGEX" = yes; then
2241 echo "$ac_t""yes" 1>&6
2242 elif test "$wxUSE_REGEX" = no
; then
2243 echo "$ac_t""no" 1>&6
2244 elif test "$wxUSE_REGEX" = sys
; then
2245 echo "$ac_t""system version" 1>&6
2246 elif test "$wxUSE_REGEX" = builtin; then
2247 echo "$ac_t""builtin version" 1>&6
2249 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2253 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2254 echo "configure:2255: checking for --with-zlib" >&5
2256 # Check whether --with-zlib or --without-zlib was given.
2257 if test "${with_zlib+set}" = set; then
2258 withval
="$with_zlib"
2260 if test "$withval" = yes; then
2261 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2262 elif test "$withval" = no
; then
2263 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2264 elif test "$withval" = sys
; then
2265 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2266 elif test "$withval" = builtin; then
2267 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2269 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2274 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2275 if test "x$LINE" != x
; then
2276 eval "DEFAULT_$LINE"
2281 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2286 eval "$ac_cv_use_zlib"
2287 if test "$no_cache" != 1; then
2288 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2291 if test "$wxUSE_ZLIB" = yes; then
2292 echo "$ac_t""yes" 1>&6
2293 elif test "$wxUSE_ZLIB" = no
; then
2294 echo "$ac_t""no" 1>&6
2295 elif test "$wxUSE_ZLIB" = sys
; then
2296 echo "$ac_t""system version" 1>&6
2297 elif test "$wxUSE_ZLIB" = builtin; then
2298 echo "$ac_t""builtin version" 1>&6
2300 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2304 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2305 echo "configure:2306: checking for --with-odbc" >&5
2307 # Check whether --with-odbc or --without-odbc was given.
2308 if test "${with_odbc+set}" = set; then
2309 withval
="$with_odbc"
2311 if test "$withval" = yes; then
2312 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2314 ac_cv_use_odbc
='wxUSE_ODBC=no'
2319 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2320 if test "x$LINE" != x
; then
2321 eval "DEFAULT_$LINE"
2326 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2331 eval "$ac_cv_use_odbc"
2332 if test "$no_cache" != 1; then
2333 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2336 if test "$wxUSE_ODBC" = yes; then
2337 echo "$ac_t""yes" 1>&6
2339 echo "$ac_t""no" 1>&6
2345 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2346 echo "configure:2347: checking for --enable-shared" >&5
2348 # Check whether --enable-shared or --disable-shared was given.
2349 if test "${enable_shared+set}" = set; then
2350 enableval
="$enable_shared"
2352 if test "$enableval" = yes; then
2353 ac_cv_use_shared
='wxUSE_SHARED=yes'
2355 ac_cv_use_shared
='wxUSE_SHARED=no'
2360 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2361 if test "x$LINE" != x
; then
2362 eval "DEFAULT_$LINE"
2367 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2372 eval "$ac_cv_use_shared"
2373 if test "$no_cache" != 1; then
2374 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2377 if test "$wxUSE_SHARED" = yes; then
2378 echo "$ac_t""yes" 1>&6
2380 echo "$ac_t""no" 1>&6
2384 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2385 echo "configure:2386: checking for --enable-soname" >&5
2387 # Check whether --enable-soname or --disable-soname was given.
2388 if test "${enable_soname+set}" = set; then
2389 enableval
="$enable_soname"
2391 if test "$enableval" = yes; then
2392 ac_cv_use_soname
='wxUSE_SONAME=yes'
2394 ac_cv_use_soname
='wxUSE_SONAME=no'
2399 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2400 if test "x$LINE" != x
; then
2401 eval "DEFAULT_$LINE"
2406 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2411 eval "$ac_cv_use_soname"
2412 if test "$no_cache" != 1; then
2413 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2416 if test "$wxUSE_SONAME" = yes; then
2417 echo "$ac_t""yes" 1>&6
2419 echo "$ac_t""no" 1>&6
2423 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2424 echo "configure:2425: checking for --enable-optimise" >&5
2426 # Check whether --enable-optimise or --disable-optimise was given.
2427 if test "${enable_optimise+set}" = set; then
2428 enableval
="$enable_optimise"
2430 if test "$enableval" = yes; then
2431 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2433 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2438 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2439 if test "x$LINE" != x
; then
2440 eval "DEFAULT_$LINE"
2445 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2450 eval "$ac_cv_use_optimise"
2451 if test "$no_cache" != 1; then
2452 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2455 if test "$wxUSE_OPTIMISE" = yes; then
2456 echo "$ac_t""yes" 1>&6
2458 echo "$ac_t""no" 1>&6
2462 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2463 echo "configure:2464: checking for --enable-debug" >&5
2465 # Check whether --enable-debug or --disable-debug was given.
2466 if test "${enable_debug+set}" = set; then
2467 enableval
="$enable_debug"
2469 if test "$enableval" = yes; then
2470 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2472 ac_cv_use_debug
='wxUSE_DEBUG=no'
2477 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2478 if test "x$LINE" != x
; then
2479 eval "DEFAULT_$LINE"
2484 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2489 eval "$ac_cv_use_debug"
2490 if test "$no_cache" != 1; then
2491 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2494 if test "$wxUSE_DEBUG" = yes; then
2495 echo "$ac_t""yes" 1>&6
2497 echo "$ac_t""no" 1>&6
2502 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2503 echo "configure:2504: checking for --enable-precomp" >&5
2505 # Check whether --enable-precomp or --disable-precomp was given.
2506 if test "${enable_precomp+set}" = set; then
2507 enableval
="$enable_precomp"
2509 if test "$enableval" = yes; then
2510 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2512 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2517 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2518 if test "x$LINE" != x
; then
2519 eval "DEFAULT_$LINE"
2524 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2529 eval "$ac_cv_use_precomp"
2530 if test "$no_cache" != 1; then
2531 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2534 if test "$wxUSE_PRECOMP" = yes; then
2535 echo "$ac_t""yes" 1>&6
2537 echo "$ac_t""no" 1>&6
2541 if test "$wxUSE_DEBUG" = "yes"; then
2542 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2543 DEFAULT_wxUSE_DEBUG_INFO
=yes
2544 elif test "$wxUSE_DEBUG" = "no"; then
2545 DEFAULT_wxUSE_DEBUG_FLAG
=no
2546 DEFAULT_wxUSE_DEBUG_INFO
=no
2550 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2551 echo "configure:2552: checking for --enable-debug_flag" >&5
2553 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2554 if test "${enable_debug_flag+set}" = set; then
2555 enableval
="$enable_debug_flag"
2557 if test "$enableval" = yes; then
2558 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2560 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2565 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2566 if test "x$LINE" != x
; then
2567 eval "DEFAULT_$LINE"
2572 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2577 eval "$ac_cv_use_debug_flag"
2578 if test "$no_cache" != 1; then
2579 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2582 if test "$wxUSE_DEBUG_FLAG" = yes; then
2583 echo "$ac_t""yes" 1>&6
2585 echo "$ac_t""no" 1>&6
2589 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2590 echo "configure:2591: checking for --enable-debug_info" >&5
2592 # Check whether --enable-debug_info or --disable-debug_info was given.
2593 if test "${enable_debug_info+set}" = set; then
2594 enableval
="$enable_debug_info"
2596 if test "$enableval" = yes; then
2597 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2599 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2604 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2605 if test "x$LINE" != x
; then
2606 eval "DEFAULT_$LINE"
2611 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2616 eval "$ac_cv_use_debug_info"
2617 if test "$no_cache" != 1; then
2618 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2621 if test "$wxUSE_DEBUG_INFO" = yes; then
2622 echo "$ac_t""yes" 1>&6
2624 echo "$ac_t""no" 1>&6
2628 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2629 echo "configure:2630: checking for --enable-debug_gdb" >&5
2631 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2632 if test "${enable_debug_gdb+set}" = set; then
2633 enableval
="$enable_debug_gdb"
2635 if test "$enableval" = yes; then
2636 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2638 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2643 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2644 if test "x$LINE" != x
; then
2645 eval "DEFAULT_$LINE"
2650 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2655 eval "$ac_cv_use_debug_gdb"
2656 if test "$no_cache" != 1; then
2657 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2660 if test "$wxUSE_DEBUG_GDB" = yes; then
2661 echo "$ac_t""yes" 1>&6
2663 echo "$ac_t""no" 1>&6
2667 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2668 echo "configure:2669: checking for --enable-debug_cntxt" >&5
2670 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2671 if test "${enable_debug_cntxt+set}" = set; then
2672 enableval
="$enable_debug_cntxt"
2674 if test "$enableval" = yes; then
2675 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2677 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2682 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2683 if test "x$LINE" != x
; then
2684 eval "DEFAULT_$LINE"
2689 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2694 eval "$ac_cv_use_debug_cntxt"
2695 if test "$no_cache" != 1; then
2696 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2699 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2700 echo "$ac_t""yes" 1>&6
2702 echo "$ac_t""no" 1>&6
2706 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2707 echo "configure:2708: checking for --enable-mem_tracing" >&5
2709 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2710 if test "${enable_mem_tracing+set}" = set; then
2711 enableval
="$enable_mem_tracing"
2713 if test "$enableval" = yes; then
2714 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2716 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2721 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2722 if test "x$LINE" != x
; then
2723 eval "DEFAULT_$LINE"
2728 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2733 eval "$ac_cv_use_mem_tracing"
2734 if test "$no_cache" != 1; then
2735 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2738 if test "$wxUSE_MEM_TRACING" = yes; then
2739 echo "$ac_t""yes" 1>&6
2741 echo "$ac_t""no" 1>&6
2745 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2746 echo "configure:2747: checking for --enable-profile" >&5
2748 # Check whether --enable-profile or --disable-profile was given.
2749 if test "${enable_profile+set}" = set; then
2750 enableval
="$enable_profile"
2752 if test "$enableval" = yes; then
2753 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2755 ac_cv_use_profile
='wxUSE_PROFILE=no'
2760 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2761 if test "x$LINE" != x
; then
2762 eval "DEFAULT_$LINE"
2767 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2772 eval "$ac_cv_use_profile"
2773 if test "$no_cache" != 1; then
2774 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2777 if test "$wxUSE_PROFILE" = yes; then
2778 echo "$ac_t""yes" 1>&6
2780 echo "$ac_t""no" 1>&6
2784 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2785 echo "configure:2786: checking for --enable-no_rtti" >&5
2787 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2788 if test "${enable_no_rtti+set}" = set; then
2789 enableval
="$enable_no_rtti"
2791 if test "$enableval" = yes; then
2792 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2794 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2799 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2800 if test "x$LINE" != x
; then
2801 eval "DEFAULT_$LINE"
2806 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2811 eval "$ac_cv_use_no_rtti"
2812 if test "$no_cache" != 1; then
2813 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2816 if test "$wxUSE_NO_RTTI" = yes; then
2817 echo "$ac_t""yes" 1>&6
2819 echo "$ac_t""no" 1>&6
2823 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2824 echo "configure:2825: checking for --enable-no_exceptions" >&5
2826 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2827 if test "${enable_no_exceptions+set}" = set; then
2828 enableval
="$enable_no_exceptions"
2830 if test "$enableval" = yes; then
2831 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2833 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2838 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2839 if test "x$LINE" != x
; then
2840 eval "DEFAULT_$LINE"
2845 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2850 eval "$ac_cv_use_no_exceptions"
2851 if test "$no_cache" != 1; then
2852 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2855 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2856 echo "$ac_t""yes" 1>&6
2858 echo "$ac_t""no" 1>&6
2862 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2863 echo "configure:2864: checking for --enable-permissive" >&5
2865 # Check whether --enable-permissive or --disable-permissive was given.
2866 if test "${enable_permissive+set}" = set; then
2867 enableval
="$enable_permissive"
2869 if test "$enableval" = yes; then
2870 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2872 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2877 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2878 if test "x$LINE" != x
; then
2879 eval "DEFAULT_$LINE"
2884 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2889 eval "$ac_cv_use_permissive"
2890 if test "$no_cache" != 1; then
2891 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2894 if test "$wxUSE_PERMISSIVE" = yes; then
2895 echo "$ac_t""yes" 1>&6
2897 echo "$ac_t""no" 1>&6
2901 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2902 echo "configure:2903: checking for --enable-no_deps" >&5
2904 # Check whether --enable-no_deps or --disable-no_deps was given.
2905 if test "${enable_no_deps+set}" = set; then
2906 enableval
="$enable_no_deps"
2908 if test "$enableval" = yes; then
2909 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2911 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2916 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2917 if test "x$LINE" != x
; then
2918 eval "DEFAULT_$LINE"
2923 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2928 eval "$ac_cv_use_no_deps"
2929 if test "$no_cache" != 1; then
2930 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2933 if test "$wxUSE_NO_DEPS" = yes; then
2934 echo "$ac_t""yes" 1>&6
2936 echo "$ac_t""no" 1>&6
2941 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2942 echo "configure:2943: checking for --enable-compat20" >&5
2944 # Check whether --enable-compat20 or --disable-compat20 was given.
2945 if test "${enable_compat20+set}" = set; then
2946 enableval
="$enable_compat20"
2948 if test "$enableval" = yes; then
2949 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2951 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2956 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2957 if test "x$LINE" != x
; then
2958 eval "DEFAULT_$LINE"
2963 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2968 eval "$ac_cv_use_compat20"
2969 if test "$no_cache" != 1; then
2970 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2973 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2974 echo "$ac_t""yes" 1>&6
2976 echo "$ac_t""no" 1>&6
2980 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2981 echo "configure:2982: checking for --enable-compat22" >&5
2983 # Check whether --enable-compat22 or --disable-compat22 was given.
2984 if test "${enable_compat22+set}" = set; then
2985 enableval
="$enable_compat22"
2987 if test "$enableval" = yes; then
2988 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2990 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2995 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2996 if test "x$LINE" != x
; then
2997 eval "DEFAULT_$LINE"
3002 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3007 eval "$ac_cv_use_compat22"
3008 if test "$no_cache" != 1; then
3009 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3012 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3013 echo "$ac_t""yes" 1>&6
3015 echo "$ac_t""no" 1>&6
3019 # Check whether --enable-rpath or --disable-rpath was given.
3020 if test "${enable_rpath+set}" = set; then
3021 enableval
="$enable_rpath"
3022 wxRPATH_DIR
="$enableval"
3026 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3027 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3033 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3034 echo "configure:3035: checking for --enable-intl" >&5
3036 # Check whether --enable-intl or --disable-intl was given.
3037 if test "${enable_intl+set}" = set; then
3038 enableval
="$enable_intl"
3040 if test "$enableval" = yes; then
3041 ac_cv_use_intl
='wxUSE_INTL=yes'
3043 ac_cv_use_intl
='wxUSE_INTL=no'
3048 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3049 if test "x$LINE" != x
; then
3050 eval "DEFAULT_$LINE"
3055 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3060 eval "$ac_cv_use_intl"
3061 if test "$no_cache" != 1; then
3062 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3065 if test "$wxUSE_INTL" = yes; then
3066 echo "$ac_t""yes" 1>&6
3068 echo "$ac_t""no" 1>&6
3072 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3073 echo "configure:3074: checking for --enable-config" >&5
3075 # Check whether --enable-config or --disable-config was given.
3076 if test "${enable_config+set}" = set; then
3077 enableval
="$enable_config"
3079 if test "$enableval" = yes; then
3080 ac_cv_use_config
='wxUSE_CONFIG=yes'
3082 ac_cv_use_config
='wxUSE_CONFIG=no'
3087 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3088 if test "x$LINE" != x
; then
3089 eval "DEFAULT_$LINE"
3094 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3099 eval "$ac_cv_use_config"
3100 if test "$no_cache" != 1; then
3101 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3104 if test "$wxUSE_CONFIG" = yes; then
3105 echo "$ac_t""yes" 1>&6
3107 echo "$ac_t""no" 1>&6
3112 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3113 echo "configure:3114: checking for --enable-protocols" >&5
3115 # Check whether --enable-protocols or --disable-protocols was given.
3116 if test "${enable_protocols+set}" = set; then
3117 enableval
="$enable_protocols"
3119 if test "$enableval" = yes; then
3120 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3122 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3127 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3128 if test "x$LINE" != x
; then
3129 eval "DEFAULT_$LINE"
3134 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3139 eval "$ac_cv_use_protocols"
3140 if test "$no_cache" != 1; then
3141 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3144 if test "$wxUSE_PROTOCOL" = yes; then
3145 echo "$ac_t""yes" 1>&6
3147 echo "$ac_t""no" 1>&6
3151 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3152 echo "configure:3153: checking for --enable-ftp" >&5
3154 # Check whether --enable-ftp or --disable-ftp was given.
3155 if test "${enable_ftp+set}" = set; then
3156 enableval
="$enable_ftp"
3158 if test "$enableval" = yes; then
3159 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3161 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3166 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3167 if test "x$LINE" != x
; then
3168 eval "DEFAULT_$LINE"
3173 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3178 eval "$ac_cv_use_ftp"
3179 if test "$no_cache" != 1; then
3180 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3183 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3184 echo "$ac_t""yes" 1>&6
3186 echo "$ac_t""no" 1>&6
3190 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3191 echo "configure:3192: checking for --enable-http" >&5
3193 # Check whether --enable-http or --disable-http was given.
3194 if test "${enable_http+set}" = set; then
3195 enableval
="$enable_http"
3197 if test "$enableval" = yes; then
3198 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3200 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3205 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3206 if test "x$LINE" != x
; then
3207 eval "DEFAULT_$LINE"
3212 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3217 eval "$ac_cv_use_http"
3218 if test "$no_cache" != 1; then
3219 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3222 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3223 echo "$ac_t""yes" 1>&6
3225 echo "$ac_t""no" 1>&6
3229 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3230 echo "configure:3231: checking for --enable-fileproto" >&5
3232 # Check whether --enable-fileproto or --disable-fileproto was given.
3233 if test "${enable_fileproto+set}" = set; then
3234 enableval
="$enable_fileproto"
3236 if test "$enableval" = yes; then
3237 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3239 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3244 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3245 if test "x$LINE" != x
; then
3246 eval "DEFAULT_$LINE"
3251 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3256 eval "$ac_cv_use_fileproto"
3257 if test "$no_cache" != 1; then
3258 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3261 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3262 echo "$ac_t""yes" 1>&6
3264 echo "$ac_t""no" 1>&6
3268 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3269 echo "configure:3270: checking for --enable-sockets" >&5
3271 # Check whether --enable-sockets or --disable-sockets was given.
3272 if test "${enable_sockets+set}" = set; then
3273 enableval
="$enable_sockets"
3275 if test "$enableval" = yes; then
3276 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3278 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3283 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3284 if test "x$LINE" != x
; then
3285 eval "DEFAULT_$LINE"
3290 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3295 eval "$ac_cv_use_sockets"
3296 if test "$no_cache" != 1; then
3297 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3300 if test "$wxUSE_SOCKETS" = yes; then
3301 echo "$ac_t""yes" 1>&6
3303 echo "$ac_t""no" 1>&6
3308 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3309 echo "configure:3310: checking for --enable-ipc" >&5
3311 # Check whether --enable-ipc or --disable-ipc was given.
3312 if test "${enable_ipc+set}" = set; then
3313 enableval
="$enable_ipc"
3315 if test "$enableval" = yes; then
3316 ac_cv_use_ipc
='wxUSE_IPC=yes'
3318 ac_cv_use_ipc
='wxUSE_IPC=no'
3323 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3324 if test "x$LINE" != x
; then
3325 eval "DEFAULT_$LINE"
3330 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3335 eval "$ac_cv_use_ipc"
3336 if test "$no_cache" != 1; then
3337 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3340 if test "$wxUSE_IPC" = yes; then
3341 echo "$ac_t""yes" 1>&6
3343 echo "$ac_t""no" 1>&6
3348 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3349 echo "configure:3350: checking for --enable-cmdline" >&5
3351 # Check whether --enable-cmdline or --disable-cmdline was given.
3352 if test "${enable_cmdline+set}" = set; then
3353 enableval
="$enable_cmdline"
3355 if test "$enableval" = yes; then
3356 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3358 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3363 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3364 if test "x$LINE" != x
; then
3365 eval "DEFAULT_$LINE"
3370 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3375 eval "$ac_cv_use_cmdline"
3376 if test "$no_cache" != 1; then
3377 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3380 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3381 echo "$ac_t""yes" 1>&6
3383 echo "$ac_t""no" 1>&6
3387 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3388 echo "configure:3389: checking for --enable-datetime" >&5
3390 # Check whether --enable-datetime or --disable-datetime was given.
3391 if test "${enable_datetime+set}" = set; then
3392 enableval
="$enable_datetime"
3394 if test "$enableval" = yes; then
3395 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3397 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3402 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3403 if test "x$LINE" != x
; then
3404 eval "DEFAULT_$LINE"
3409 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3414 eval "$ac_cv_use_datetime"
3415 if test "$no_cache" != 1; then
3416 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3419 if test "$wxUSE_DATETIME" = yes; then
3420 echo "$ac_t""yes" 1>&6
3422 echo "$ac_t""no" 1>&6
3426 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3427 echo "configure:3428: checking for --enable-timedate" >&5
3429 # Check whether --enable-timedate or --disable-timedate was given.
3430 if test "${enable_timedate+set}" = set; then
3431 enableval
="$enable_timedate"
3433 if test "$enableval" = yes; then
3434 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3436 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3441 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3442 if test "x$LINE" != x
; then
3443 eval "DEFAULT_$LINE"
3448 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3453 eval "$ac_cv_use_timedate"
3454 if test "$no_cache" != 1; then
3455 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3458 if test "$wxUSE_TIMEDATE" = yes; then
3459 echo "$ac_t""yes" 1>&6
3461 echo "$ac_t""no" 1>&6
3465 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3466 echo "configure:3467: checking for --enable-stopwatch" >&5
3468 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3469 if test "${enable_stopwatch+set}" = set; then
3470 enableval
="$enable_stopwatch"
3472 if test "$enableval" = yes; then
3473 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3475 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3480 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3481 if test "x$LINE" != x
; then
3482 eval "DEFAULT_$LINE"
3487 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3492 eval "$ac_cv_use_stopwatch"
3493 if test "$no_cache" != 1; then
3494 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3497 if test "$wxUSE_STOPWATCH" = yes; then
3498 echo "$ac_t""yes" 1>&6
3500 echo "$ac_t""no" 1>&6
3504 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3505 echo "configure:3506: checking for --enable-dialupman" >&5
3507 # Check whether --enable-dialupman or --disable-dialupman was given.
3508 if test "${enable_dialupman+set}" = set; then
3509 enableval
="$enable_dialupman"
3511 if test "$enableval" = yes; then
3512 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3514 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3519 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3520 if test "x$LINE" != x
; then
3521 eval "DEFAULT_$LINE"
3526 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3531 eval "$ac_cv_use_dialupman"
3532 if test "$no_cache" != 1; then
3533 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3536 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3537 echo "$ac_t""yes" 1>&6
3539 echo "$ac_t""no" 1>&6
3543 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3544 echo "configure:3545: checking for --enable-apple_ieee" >&5
3546 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3547 if test "${enable_apple_ieee+set}" = set; then
3548 enableval
="$enable_apple_ieee"
3550 if test "$enableval" = yes; then
3551 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3553 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3558 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3559 if test "x$LINE" != x
; then
3560 eval "DEFAULT_$LINE"
3565 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3570 eval "$ac_cv_use_apple_ieee"
3571 if test "$no_cache" != 1; then
3572 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3575 if test "$wxUSE_APPLE_IEEE" = yes; then
3576 echo "$ac_t""yes" 1>&6
3578 echo "$ac_t""no" 1>&6
3582 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3583 echo "configure:3584: checking for --enable-timer" >&5
3585 # Check whether --enable-timer or --disable-timer was given.
3586 if test "${enable_timer+set}" = set; then
3587 enableval
="$enable_timer"
3589 if test "$enableval" = yes; then
3590 ac_cv_use_timer
='wxUSE_TIMER=yes'
3592 ac_cv_use_timer
='wxUSE_TIMER=no'
3597 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3598 if test "x$LINE" != x
; then
3599 eval "DEFAULT_$LINE"
3604 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3609 eval "$ac_cv_use_timer"
3610 if test "$no_cache" != 1; then
3611 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3614 if test "$wxUSE_TIMER" = yes; then
3615 echo "$ac_t""yes" 1>&6
3617 echo "$ac_t""no" 1>&6
3621 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3622 echo "configure:3623: checking for --enable-wave" >&5
3624 # Check whether --enable-wave or --disable-wave was given.
3625 if test "${enable_wave+set}" = set; then
3626 enableval
="$enable_wave"
3628 if test "$enableval" = yes; then
3629 ac_cv_use_wave
='wxUSE_WAVE=yes'
3631 ac_cv_use_wave
='wxUSE_WAVE=no'
3636 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3637 if test "x$LINE" != x
; then
3638 eval "DEFAULT_$LINE"
3643 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3648 eval "$ac_cv_use_wave"
3649 if test "$no_cache" != 1; then
3650 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3653 if test "$wxUSE_WAVE" = yes; then
3654 echo "$ac_t""yes" 1>&6
3656 echo "$ac_t""no" 1>&6
3660 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3661 echo "configure:3662: checking for --enable-fraction" >&5
3663 # Check whether --enable-fraction or --disable-fraction was given.
3664 if test "${enable_fraction+set}" = set; then
3665 enableval
="$enable_fraction"
3667 if test "$enableval" = yes; then
3668 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3670 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3675 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3676 if test "x$LINE" != x
; then
3677 eval "DEFAULT_$LINE"
3682 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3687 eval "$ac_cv_use_fraction"
3688 if test "$no_cache" != 1; then
3689 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3692 if test "$wxUSE_FRACTION" = yes; then
3693 echo "$ac_t""yes" 1>&6
3695 echo "$ac_t""no" 1>&6
3699 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3700 echo "configure:3701: checking for --enable-dynlib" >&5
3702 # Check whether --enable-dynlib or --disable-dynlib was given.
3703 if test "${enable_dynlib+set}" = set; then
3704 enableval
="$enable_dynlib"
3706 if test "$enableval" = yes; then
3707 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3709 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3714 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3715 if test "x$LINE" != x
; then
3716 eval "DEFAULT_$LINE"
3721 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3726 eval "$ac_cv_use_dynlib"
3727 if test "$no_cache" != 1; then
3728 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3731 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3732 echo "$ac_t""yes" 1>&6
3734 echo "$ac_t""no" 1>&6
3738 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3739 echo "configure:3740: checking for --enable-dynamicloader" >&5
3741 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3742 if test "${enable_dynamicloader+set}" = set; then
3743 enableval
="$enable_dynamicloader"
3745 if test "$enableval" = yes; then
3746 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3748 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3753 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3754 if test "x$LINE" != x
; then
3755 eval "DEFAULT_$LINE"
3760 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3765 eval "$ac_cv_use_dynamicloader"
3766 if test "$no_cache" != 1; then
3767 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3770 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3771 echo "$ac_t""yes" 1>&6
3773 echo "$ac_t""no" 1>&6
3777 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3778 echo "configure:3779: checking for --enable-longlong" >&5
3780 # Check whether --enable-longlong or --disable-longlong was given.
3781 if test "${enable_longlong+set}" = set; then
3782 enableval
="$enable_longlong"
3784 if test "$enableval" = yes; then
3785 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3787 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3792 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3793 if test "x$LINE" != x
; then
3794 eval "DEFAULT_$LINE"
3799 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3804 eval "$ac_cv_use_longlong"
3805 if test "$no_cache" != 1; then
3806 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3809 if test "$wxUSE_LONGLONG" = yes; then
3810 echo "$ac_t""yes" 1>&6
3812 echo "$ac_t""no" 1>&6
3816 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3817 echo "configure:3818: checking for --enable-geometry" >&5
3819 # Check whether --enable-geometry or --disable-geometry was given.
3820 if test "${enable_geometry+set}" = set; then
3821 enableval
="$enable_geometry"
3823 if test "$enableval" = yes; then
3824 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3826 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3831 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3832 if test "x$LINE" != x
; then
3833 eval "DEFAULT_$LINE"
3838 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3843 eval "$ac_cv_use_geometry"
3844 if test "$no_cache" != 1; then
3845 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3848 if test "$wxUSE_GEOMETRY" = yes; then
3849 echo "$ac_t""yes" 1>&6
3851 echo "$ac_t""no" 1>&6
3855 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3856 echo "configure:3857: checking for --enable-log" >&5
3858 # Check whether --enable-log or --disable-log was given.
3859 if test "${enable_log+set}" = set; then
3860 enableval
="$enable_log"
3862 if test "$enableval" = yes; then
3863 ac_cv_use_log
='wxUSE_LOG=yes'
3865 ac_cv_use_log
='wxUSE_LOG=no'
3870 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3871 if test "x$LINE" != x
; then
3872 eval "DEFAULT_$LINE"
3877 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3882 eval "$ac_cv_use_log"
3883 if test "$no_cache" != 1; then
3884 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3887 if test "$wxUSE_LOG" = yes; then
3888 echo "$ac_t""yes" 1>&6
3890 echo "$ac_t""no" 1>&6
3894 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3895 echo "configure:3896: checking for --enable-streams" >&5
3897 # Check whether --enable-streams or --disable-streams was given.
3898 if test "${enable_streams+set}" = set; then
3899 enableval
="$enable_streams"
3901 if test "$enableval" = yes; then
3902 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3904 ac_cv_use_streams
='wxUSE_STREAMS=no'
3909 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3910 if test "x$LINE" != x
; then
3911 eval "DEFAULT_$LINE"
3916 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3921 eval "$ac_cv_use_streams"
3922 if test "$no_cache" != 1; then
3923 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3926 if test "$wxUSE_STREAMS" = yes; then
3927 echo "$ac_t""yes" 1>&6
3929 echo "$ac_t""no" 1>&6
3933 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3934 echo "configure:3935: checking for --enable-file" >&5
3936 # Check whether --enable-file or --disable-file was given.
3937 if test "${enable_file+set}" = set; then
3938 enableval
="$enable_file"
3940 if test "$enableval" = yes; then
3941 ac_cv_use_file
='wxUSE_FILE=yes'
3943 ac_cv_use_file
='wxUSE_FILE=no'
3948 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x
; then
3950 eval "DEFAULT_$LINE"
3955 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3960 eval "$ac_cv_use_file"
3961 if test "$no_cache" != 1; then
3962 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3965 if test "$wxUSE_FILE" = yes; then
3966 echo "$ac_t""yes" 1>&6
3968 echo "$ac_t""no" 1>&6
3972 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3973 echo "configure:3974: checking for --enable-ffile" >&5
3975 # Check whether --enable-ffile or --disable-ffile was given.
3976 if test "${enable_ffile+set}" = set; then
3977 enableval
="$enable_ffile"
3979 if test "$enableval" = yes; then
3980 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3982 ac_cv_use_ffile
='wxUSE_FFILE=no'
3987 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3988 if test "x$LINE" != x
; then
3989 eval "DEFAULT_$LINE"
3994 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3999 eval "$ac_cv_use_ffile"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4004 if test "$wxUSE_FFILE" = yes; then
4005 echo "$ac_t""yes" 1>&6
4007 echo "$ac_t""no" 1>&6
4011 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4012 echo "configure:4013: checking for --enable-textbuf" >&5
4014 # Check whether --enable-textbuf or --disable-textbuf was given.
4015 if test "${enable_textbuf+set}" = set; then
4016 enableval
="$enable_textbuf"
4018 if test "$enableval" = yes; then
4019 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4021 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4026 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4027 if test "x$LINE" != x
; then
4028 eval "DEFAULT_$LINE"
4033 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4038 eval "$ac_cv_use_textbuf"
4039 if test "$no_cache" != 1; then
4040 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4043 if test "$wxUSE_TEXTBUFFER" = yes; then
4044 echo "$ac_t""yes" 1>&6
4046 echo "$ac_t""no" 1>&6
4050 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4051 echo "configure:4052: checking for --enable-textfile" >&5
4053 # Check whether --enable-textfile or --disable-textfile was given.
4054 if test "${enable_textfile+set}" = set; then
4055 enableval
="$enable_textfile"
4057 if test "$enableval" = yes; then
4058 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4060 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4065 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4066 if test "x$LINE" != x
; then
4067 eval "DEFAULT_$LINE"
4072 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4077 eval "$ac_cv_use_textfile"
4078 if test "$no_cache" != 1; then
4079 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4082 if test "$wxUSE_TEXTFILE" = yes; then
4083 echo "$ac_t""yes" 1>&6
4085 echo "$ac_t""no" 1>&6
4089 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4090 echo "configure:4091: checking for --enable-fontmap" >&5
4092 # Check whether --enable-fontmap or --disable-fontmap was given.
4093 if test "${enable_fontmap+set}" = set; then
4094 enableval
="$enable_fontmap"
4096 if test "$enableval" = yes; then
4097 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4099 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4104 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4105 if test "x$LINE" != x
; then
4106 eval "DEFAULT_$LINE"
4111 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4116 eval "$ac_cv_use_fontmap"
4117 if test "$no_cache" != 1; then
4118 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4121 if test "$wxUSE_FONTMAP" = yes; then
4122 echo "$ac_t""yes" 1>&6
4124 echo "$ac_t""no" 1>&6
4128 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4129 echo "configure:4130: checking for --enable-unicode" >&5
4131 # Check whether --enable-unicode or --disable-unicode was given.
4132 if test "${enable_unicode+set}" = set; then
4133 enableval
="$enable_unicode"
4135 if test "$enableval" = yes; then
4136 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4138 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4143 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4144 if test "x$LINE" != x
; then
4145 eval "DEFAULT_$LINE"
4150 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4155 eval "$ac_cv_use_unicode"
4156 if test "$no_cache" != 1; then
4157 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4160 if test "$wxUSE_UNICODE" = yes; then
4161 echo "$ac_t""yes" 1>&6
4163 echo "$ac_t""no" 1>&6
4167 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4168 echo "configure:4169: checking for --enable-mslu" >&5
4170 # Check whether --enable-mslu or --disable-mslu was given.
4171 if test "${enable_mslu+set}" = set; then
4172 enableval
="$enable_mslu"
4174 if test "$enableval" = yes; then
4175 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4177 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4182 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4183 if test "x$LINE" != x
; then
4184 eval "DEFAULT_$LINE"
4189 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4194 eval "$ac_cv_use_mslu"
4195 if test "$no_cache" != 1; then
4196 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4199 if test "$wxUSE_UNICODE_MSLU" = yes; then
4200 echo "$ac_t""yes" 1>&6
4202 echo "$ac_t""no" 1>&6
4206 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4207 echo "configure:4208: checking for --enable-wxprintfv" >&5
4209 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4210 if test "${enable_wxprintfv+set}" = set; then
4211 enableval
="$enable_wxprintfv"
4213 if test "$enableval" = yes; then
4214 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4216 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4221 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4222 if test "x$LINE" != x
; then
4223 eval "DEFAULT_$LINE"
4228 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4233 eval "$ac_cv_use_wxprintfv"
4234 if test "$no_cache" != 1; then
4235 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4238 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4239 echo "$ac_t""yes" 1>&6
4241 echo "$ac_t""no" 1>&6
4245 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4246 echo "configure:4247: checking for --enable-std_iostreams" >&5
4248 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4249 if test "${enable_std_iostreams+set}" = set; then
4250 enableval
="$enable_std_iostreams"
4252 if test "$enableval" = yes; then
4253 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4255 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4260 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4261 if test "x$LINE" != x
; then
4262 eval "DEFAULT_$LINE"
4267 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4272 eval "$ac_cv_use_std_iostreams"
4273 if test "$no_cache" != 1; then
4274 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4277 if test "$wxUSE_STD_IOSTREAM" = yes; then
4278 echo "$ac_t""yes" 1>&6
4280 echo "$ac_t""no" 1>&6
4284 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4285 echo "configure:4286: checking for --enable-filesystem" >&5
4287 # Check whether --enable-filesystem or --disable-filesystem was given.
4288 if test "${enable_filesystem+set}" = set; then
4289 enableval
="$enable_filesystem"
4291 if test "$enableval" = yes; then
4292 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4294 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4299 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4300 if test "x$LINE" != x
; then
4301 eval "DEFAULT_$LINE"
4306 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4311 eval "$ac_cv_use_filesystem"
4312 if test "$no_cache" != 1; then
4313 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4316 if test "$wxUSE_FILESYSTEM" = yes; then
4317 echo "$ac_t""yes" 1>&6
4319 echo "$ac_t""no" 1>&6
4323 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4324 echo "configure:4325: checking for --enable-fs_inet" >&5
4326 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4327 if test "${enable_fs_inet+set}" = set; then
4328 enableval
="$enable_fs_inet"
4330 if test "$enableval" = yes; then
4331 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4333 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4338 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4339 if test "x$LINE" != x
; then
4340 eval "DEFAULT_$LINE"
4345 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4350 eval "$ac_cv_use_fs_inet"
4351 if test "$no_cache" != 1; then
4352 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4355 if test "$wxUSE_FS_INET" = yes; then
4356 echo "$ac_t""yes" 1>&6
4358 echo "$ac_t""no" 1>&6
4362 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4363 echo "configure:4364: checking for --enable-fs_zip" >&5
4365 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4366 if test "${enable_fs_zip+set}" = set; then
4367 enableval
="$enable_fs_zip"
4369 if test "$enableval" = yes; then
4370 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4372 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4377 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4378 if test "x$LINE" != x
; then
4379 eval "DEFAULT_$LINE"
4384 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4389 eval "$ac_cv_use_fs_zip"
4390 if test "$no_cache" != 1; then
4391 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4394 if test "$wxUSE_FS_ZIP" = yes; then
4395 echo "$ac_t""yes" 1>&6
4397 echo "$ac_t""no" 1>&6
4401 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4402 echo "configure:4403: checking for --enable-zipstream" >&5
4404 # Check whether --enable-zipstream or --disable-zipstream was given.
4405 if test "${enable_zipstream+set}" = set; then
4406 enableval
="$enable_zipstream"
4408 if test "$enableval" = yes; then
4409 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4411 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4416 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4417 if test "x$LINE" != x
; then
4418 eval "DEFAULT_$LINE"
4423 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4428 eval "$ac_cv_use_zipstream"
4429 if test "$no_cache" != 1; then
4430 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4433 if test "$wxUSE_ZIPSTREAM" = yes; then
4434 echo "$ac_t""yes" 1>&6
4436 echo "$ac_t""no" 1>&6
4441 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4442 echo "configure:4443: checking for --enable-catch_segvs" >&5
4444 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4445 if test "${enable_catch_segvs+set}" = set; then
4446 enableval
="$enable_catch_segvs"
4448 if test "$enableval" = yes; then
4449 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4451 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4456 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4457 if test "x$LINE" != x
; then
4458 eval "DEFAULT_$LINE"
4463 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4468 eval "$ac_cv_use_catch_segvs"
4469 if test "$no_cache" != 1; then
4470 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4473 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4474 echo "$ac_t""yes" 1>&6
4476 echo "$ac_t""no" 1>&6
4480 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4481 echo "configure:4482: checking for --enable-snglinst" >&5
4483 # Check whether --enable-snglinst or --disable-snglinst was given.
4484 if test "${enable_snglinst+set}" = set; then
4485 enableval
="$enable_snglinst"
4487 if test "$enableval" = yes; then
4488 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4490 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4495 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4496 if test "x$LINE" != x
; then
4497 eval "DEFAULT_$LINE"
4502 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4507 eval "$ac_cv_use_snglinst"
4508 if test "$no_cache" != 1; then
4509 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4512 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4513 echo "$ac_t""yes" 1>&6
4515 echo "$ac_t""no" 1>&6
4520 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4521 echo "configure:4522: checking for --enable-mimetype" >&5
4523 # Check whether --enable-mimetype or --disable-mimetype was given.
4524 if test "${enable_mimetype+set}" = set; then
4525 enableval
="$enable_mimetype"
4527 if test "$enableval" = yes; then
4528 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4530 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4535 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4536 if test "x$LINE" != x
; then
4537 eval "DEFAULT_$LINE"
4542 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4547 eval "$ac_cv_use_mimetype"
4548 if test "$no_cache" != 1; then
4549 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4552 if test "$wxUSE_MIMETYPE" = yes; then
4553 echo "$ac_t""yes" 1>&6
4555 echo "$ac_t""no" 1>&6
4559 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4560 echo "configure:4561: checking for --enable-system_options" >&5
4562 # Check whether --enable-system_options or --disable-system_options was given.
4563 if test "${enable_system_options+set}" = set; then
4564 enableval
="$enable_system_options"
4566 if test "$enableval" = yes; then
4567 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4569 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4574 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4575 if test "x$LINE" != x
; then
4576 eval "DEFAULT_$LINE"
4581 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4586 eval "$ac_cv_use_system_options"
4587 if test "$no_cache" != 1; then
4588 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4591 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4592 echo "$ac_t""yes" 1>&6
4594 echo "$ac_t""no" 1>&6
4599 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4600 echo "configure:4601: checking for --enable-url" >&5
4602 # Check whether --enable-url or --disable-url was given.
4603 if test "${enable_url+set}" = set; then
4604 enableval
="$enable_url"
4606 if test "$enableval" = yes; then
4607 ac_cv_use_url
='wxUSE_URL=yes'
4609 ac_cv_use_url
='wxUSE_URL=no'
4614 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x
; then
4616 eval "DEFAULT_$LINE"
4621 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4626 eval "$ac_cv_use_url"
4627 if test "$no_cache" != 1; then
4628 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4631 if test "$wxUSE_URL" = yes; then
4632 echo "$ac_t""yes" 1>&6
4634 echo "$ac_t""no" 1>&6
4638 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4639 echo "configure:4640: checking for --enable-protocol" >&5
4641 # Check whether --enable-protocol or --disable-protocol was given.
4642 if test "${enable_protocol+set}" = set; then
4643 enableval
="$enable_protocol"
4645 if test "$enableval" = yes; then
4646 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4648 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4653 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x
; then
4655 eval "DEFAULT_$LINE"
4660 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4665 eval "$ac_cv_use_protocol"
4666 if test "$no_cache" != 1; then
4667 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4670 if test "$wxUSE_PROTOCOL" = yes; then
4671 echo "$ac_t""yes" 1>&6
4673 echo "$ac_t""no" 1>&6
4677 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4678 echo "configure:4679: checking for --enable-protocol_http" >&5
4680 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4681 if test "${enable_protocol_http+set}" = set; then
4682 enableval
="$enable_protocol_http"
4684 if test "$enableval" = yes; then
4685 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4687 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4692 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4693 if test "x$LINE" != x
; then
4694 eval "DEFAULT_$LINE"
4699 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4704 eval "$ac_cv_use_protocol_http"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4709 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4710 echo "$ac_t""yes" 1>&6
4712 echo "$ac_t""no" 1>&6
4716 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4717 echo "configure:4718: checking for --enable-protocol_ftp" >&5
4719 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4720 if test "${enable_protocol_ftp+set}" = set; then
4721 enableval
="$enable_protocol_ftp"
4723 if test "$enableval" = yes; then
4724 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4726 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4731 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4732 if test "x$LINE" != x
; then
4733 eval "DEFAULT_$LINE"
4738 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4743 eval "$ac_cv_use_protocol_ftp"
4744 if test "$no_cache" != 1; then
4745 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4748 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4749 echo "$ac_t""yes" 1>&6
4751 echo "$ac_t""no" 1>&6
4755 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4756 echo "configure:4757: checking for --enable-protocol_file" >&5
4758 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4759 if test "${enable_protocol_file+set}" = set; then
4760 enableval
="$enable_protocol_file"
4762 if test "$enableval" = yes; then
4763 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4765 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4770 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x
; then
4772 eval "DEFAULT_$LINE"
4777 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4782 eval "$ac_cv_use_protocol_file"
4783 if test "$no_cache" != 1; then
4784 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4787 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4788 echo "$ac_t""yes" 1>&6
4790 echo "$ac_t""no" 1>&6
4797 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4798 echo "configure:4799: checking for --enable-threads" >&5
4800 # Check whether --enable-threads or --disable-threads was given.
4801 if test "${enable_threads+set}" = set; then
4802 enableval
="$enable_threads"
4804 if test "$enableval" = yes; then
4805 ac_cv_use_threads
='wxUSE_THREADS=yes'
4807 ac_cv_use_threads
='wxUSE_THREADS=no'
4812 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4813 if test "x$LINE" != x
; then
4814 eval "DEFAULT_$LINE"
4819 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4824 eval "$ac_cv_use_threads"
4825 if test "$no_cache" != 1; then
4826 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4829 if test "$wxUSE_THREADS" = yes; then
4830 echo "$ac_t""yes" 1>&6
4832 echo "$ac_t""no" 1>&6
4836 if test "$wxUSE_GUI" = "yes"; then
4840 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4841 echo "configure:4842: checking for --enable-docview" >&5
4843 # Check whether --enable-docview or --disable-docview was given.
4844 if test "${enable_docview+set}" = set; then
4845 enableval
="$enable_docview"
4847 if test "$enableval" = yes; then
4848 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4850 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4855 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4856 if test "x$LINE" != x
; then
4857 eval "DEFAULT_$LINE"
4862 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4867 eval "$ac_cv_use_docview"
4868 if test "$no_cache" != 1; then
4869 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4872 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4873 echo "$ac_t""yes" 1>&6
4875 echo "$ac_t""no" 1>&6
4879 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4880 echo "configure:4881: checking for --enable-help" >&5
4882 # Check whether --enable-help or --disable-help was given.
4883 if test "${enable_help+set}" = set; then
4884 enableval
="$enable_help"
4886 if test "$enableval" = yes; then
4887 ac_cv_use_help
='wxUSE_HELP=yes'
4889 ac_cv_use_help
='wxUSE_HELP=no'
4894 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4895 if test "x$LINE" != x
; then
4896 eval "DEFAULT_$LINE"
4901 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4906 eval "$ac_cv_use_help"
4907 if test "$no_cache" != 1; then
4908 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4911 if test "$wxUSE_HELP" = yes; then
4912 echo "$ac_t""yes" 1>&6
4914 echo "$ac_t""no" 1>&6
4918 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4919 echo "configure:4920: checking for --enable-mshtmlhelp" >&5
4921 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4922 if test "${enable_mshtmlhelp+set}" = set; then
4923 enableval
="$enable_mshtmlhelp"
4925 if test "$enableval" = yes; then
4926 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4928 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4933 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4934 if test "x$LINE" != x
; then
4935 eval "DEFAULT_$LINE"
4940 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4945 eval "$ac_cv_use_mshtmlhelp"
4946 if test "$no_cache" != 1; then
4947 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4950 if test "$wxUSE_MS_HTML_HELP" = yes; then
4951 echo "$ac_t""yes" 1>&6
4953 echo "$ac_t""no" 1>&6
4957 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4958 echo "configure:4959: checking for --enable-html" >&5
4960 # Check whether --enable-html or --disable-html was given.
4961 if test "${enable_html+set}" = set; then
4962 enableval
="$enable_html"
4964 if test "$enableval" = yes; then
4965 ac_cv_use_html
='wxUSE_HTML=yes'
4967 ac_cv_use_html
='wxUSE_HTML=no'
4972 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4973 if test "x$LINE" != x
; then
4974 eval "DEFAULT_$LINE"
4979 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4984 eval "$ac_cv_use_html"
4985 if test "$no_cache" != 1; then
4986 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4989 if test "$wxUSE_HTML" = yes; then
4990 echo "$ac_t""yes" 1>&6
4992 echo "$ac_t""no" 1>&6
4996 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4997 echo "configure:4998: checking for --enable-htmlhelp" >&5
4999 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
5000 if test "${enable_htmlhelp+set}" = set; then
5001 enableval
="$enable_htmlhelp"
5003 if test "$enableval" = yes; then
5004 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5006 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5011 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5012 if test "x$LINE" != x
; then
5013 eval "DEFAULT_$LINE"
5018 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5023 eval "$ac_cv_use_htmlhelp"
5024 if test "$no_cache" != 1; then
5025 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5028 if test "$wxUSE_WXHTML_HELP" = yes; then
5029 echo "$ac_t""yes" 1>&6
5031 echo "$ac_t""no" 1>&6
5035 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5036 echo "configure:5037: checking for --enable-constraints" >&5
5038 # Check whether --enable-constraints or --disable-constraints was given.
5039 if test "${enable_constraints+set}" = set; then
5040 enableval
="$enable_constraints"
5042 if test "$enableval" = yes; then
5043 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5045 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5050 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5051 if test "x$LINE" != x
; then
5052 eval "DEFAULT_$LINE"
5057 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5062 eval "$ac_cv_use_constraints"
5063 if test "$no_cache" != 1; then
5064 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5067 if test "$wxUSE_CONSTRAINTS" = yes; then
5068 echo "$ac_t""yes" 1>&6
5070 echo "$ac_t""no" 1>&6
5074 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5075 echo "configure:5076: checking for --enable-printarch" >&5
5077 # Check whether --enable-printarch or --disable-printarch was given.
5078 if test "${enable_printarch+set}" = set; then
5079 enableval
="$enable_printarch"
5081 if test "$enableval" = yes; then
5082 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5084 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5089 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5090 if test "x$LINE" != x
; then
5091 eval "DEFAULT_$LINE"
5096 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5101 eval "$ac_cv_use_printarch"
5102 if test "$no_cache" != 1; then
5103 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5106 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5107 echo "$ac_t""yes" 1>&6
5109 echo "$ac_t""no" 1>&6
5113 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5114 echo "configure:5115: checking for --enable-mdi" >&5
5116 # Check whether --enable-mdi or --disable-mdi was given.
5117 if test "${enable_mdi+set}" = set; then
5118 enableval
="$enable_mdi"
5120 if test "$enableval" = yes; then
5121 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5123 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5128 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5129 if test "x$LINE" != x
; then
5130 eval "DEFAULT_$LINE"
5135 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5140 eval "$ac_cv_use_mdi"
5141 if test "$no_cache" != 1; then
5142 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5145 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5146 echo "$ac_t""yes" 1>&6
5148 echo "$ac_t""no" 1>&6
5152 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5153 echo "configure:5154: checking for --enable-loggui" >&5
5155 # Check whether --enable-loggui or --disable-loggui was given.
5156 if test "${enable_loggui+set}" = set; then
5157 enableval
="$enable_loggui"
5159 if test "$enableval" = yes; then
5160 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5162 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5167 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5168 if test "x$LINE" != x
; then
5169 eval "DEFAULT_$LINE"
5174 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5179 eval "$ac_cv_use_loggui"
5180 if test "$no_cache" != 1; then
5181 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5184 if test "$wxUSE_LOGGUI" = yes; then
5185 echo "$ac_t""yes" 1>&6
5187 echo "$ac_t""no" 1>&6
5191 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5192 echo "configure:5193: checking for --enable-logwin" >&5
5194 # Check whether --enable-logwin or --disable-logwin was given.
5195 if test "${enable_logwin+set}" = set; then
5196 enableval
="$enable_logwin"
5198 if test "$enableval" = yes; then
5199 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5201 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5206 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5207 if test "x$LINE" != x
; then
5208 eval "DEFAULT_$LINE"
5213 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5218 eval "$ac_cv_use_logwin"
5219 if test "$no_cache" != 1; then
5220 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5223 if test "$wxUSE_LOGWINDOW" = yes; then
5224 echo "$ac_t""yes" 1>&6
5226 echo "$ac_t""no" 1>&6
5230 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5231 echo "configure:5232: checking for --enable-logdialog" >&5
5233 # Check whether --enable-logdialog or --disable-logdialog was given.
5234 if test "${enable_logdialog+set}" = set; then
5235 enableval
="$enable_logdialog"
5237 if test "$enableval" = yes; then
5238 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5240 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5245 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5246 if test "x$LINE" != x
; then
5247 eval "DEFAULT_$LINE"
5252 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5257 eval "$ac_cv_use_logdialog"
5258 if test "$no_cache" != 1; then
5259 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5262 if test "$wxUSE_LOGDIALOG" = yes; then
5263 echo "$ac_t""yes" 1>&6
5265 echo "$ac_t""no" 1>&6
5270 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5271 echo "configure:5272: checking for --enable-postscript" >&5
5273 # Check whether --enable-postscript or --disable-postscript was given.
5274 if test "${enable_postscript+set}" = set; then
5275 enableval
="$enable_postscript"
5277 if test "$enableval" = yes; then
5278 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5280 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5285 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5286 if test "x$LINE" != x
; then
5287 eval "DEFAULT_$LINE"
5292 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5297 eval "$ac_cv_use_postscript"
5298 if test "$no_cache" != 1; then
5299 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5302 if test "$wxUSE_POSTSCRIPT" = yes; then
5303 echo "$ac_t""yes" 1>&6
5305 echo "$ac_t""no" 1>&6
5312 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5313 echo "configure:5314: checking for --enable-prologio" >&5
5315 # Check whether --enable-prologio or --disable-prologio was given.
5316 if test "${enable_prologio+set}" = set; then
5317 enableval
="$enable_prologio"
5319 if test "$enableval" = yes; then
5320 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5322 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5327 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5328 if test "x$LINE" != x
; then
5329 eval "DEFAULT_$LINE"
5334 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5339 eval "$ac_cv_use_prologio"
5340 if test "$no_cache" != 1; then
5341 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5344 if test "$wxUSE_PROLOGIO" = yes; then
5345 echo "$ac_t""yes" 1>&6
5347 echo "$ac_t""no" 1>&6
5351 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5352 echo "configure:5353: checking for --enable-resources" >&5
5354 # Check whether --enable-resources or --disable-resources was given.
5355 if test "${enable_resources+set}" = set; then
5356 enableval
="$enable_resources"
5358 if test "$enableval" = yes; then
5359 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5361 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5366 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5367 if test "x$LINE" != x
; then
5368 eval "DEFAULT_$LINE"
5373 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5378 eval "$ac_cv_use_resources"
5379 if test "$no_cache" != 1; then
5380 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5383 if test "$wxUSE_RESOURCES" = yes; then
5384 echo "$ac_t""yes" 1>&6
5386 echo "$ac_t""no" 1>&6
5391 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5392 echo "configure:5393: checking for --enable-xresources" >&5
5394 # Check whether --enable-xresources or --disable-xresources was given.
5395 if test "${enable_xresources+set}" = set; then
5396 enableval
="$enable_xresources"
5398 if test "$enableval" = yes; then
5399 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5401 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5406 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5407 if test "x$LINE" != x
; then
5408 eval "DEFAULT_$LINE"
5413 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5418 eval "$ac_cv_use_xresources"
5419 if test "$no_cache" != 1; then
5420 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5423 if test "$wxUSE_X_RESOURCES" = yes; then
5424 echo "$ac_t""yes" 1>&6
5426 echo "$ac_t""no" 1>&6
5432 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5433 echo "configure:5434: checking for --enable-clipboard" >&5
5435 # Check whether --enable-clipboard or --disable-clipboard was given.
5436 if test "${enable_clipboard+set}" = set; then
5437 enableval
="$enable_clipboard"
5439 if test "$enableval" = yes; then
5440 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5442 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5447 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5448 if test "x$LINE" != x
; then
5449 eval "DEFAULT_$LINE"
5454 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5459 eval "$ac_cv_use_clipboard"
5460 if test "$no_cache" != 1; then
5461 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5464 if test "$wxUSE_CLIPBOARD" = yes; then
5465 echo "$ac_t""yes" 1>&6
5467 echo "$ac_t""no" 1>&6
5471 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5472 echo "configure:5473: checking for --enable-dnd" >&5
5474 # Check whether --enable-dnd or --disable-dnd was given.
5475 if test "${enable_dnd+set}" = set; then
5476 enableval
="$enable_dnd"
5478 if test "$enableval" = yes; then
5479 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5481 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5486 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5487 if test "x$LINE" != x
; then
5488 eval "DEFAULT_$LINE"
5493 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5498 eval "$ac_cv_use_dnd"
5499 if test "$no_cache" != 1; then
5500 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5503 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5504 echo "$ac_t""yes" 1>&6
5506 echo "$ac_t""no" 1>&6
5510 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5511 echo "configure:5512: checking for --enable-metafile" >&5
5513 # Check whether --enable-metafile or --disable-metafile was given.
5514 if test "${enable_metafile+set}" = set; then
5515 enableval
="$enable_metafile"
5517 if test "$enableval" = yes; then
5518 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5520 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5525 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5526 if test "x$LINE" != x
; then
5527 eval "DEFAULT_$LINE"
5532 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5537 eval "$ac_cv_use_metafile"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5542 if test "$wxUSE_METAFILE" = yes; then
5543 echo "$ac_t""yes" 1>&6
5545 echo "$ac_t""no" 1>&6
5550 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5551 echo "configure:5552: checking for --enable-treelayout" >&5
5553 # Check whether --enable-treelayout or --disable-treelayout was given.
5554 if test "${enable_treelayout+set}" = set; then
5555 enableval
="$enable_treelayout"
5557 if test "$enableval" = yes; then
5558 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5560 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5565 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5566 if test "x$LINE" != x
; then
5567 eval "DEFAULT_$LINE"
5572 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5577 eval "$ac_cv_use_treelayout"
5578 if test "$no_cache" != 1; then
5579 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5582 if test "$wxUSE_TREELAYOUT" = yes; then
5583 echo "$ac_t""yes" 1>&6
5585 echo "$ac_t""no" 1>&6
5591 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5592 echo "configure:5593: checking for --enable-controls" >&5
5594 # Check whether --enable-controls or --disable-controls was given.
5595 if test "${enable_controls+set}" = set; then
5596 enableval
="$enable_controls"
5598 if test "$enableval" = yes; then
5599 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5601 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5606 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5607 if test "x$LINE" != x
; then
5608 eval "DEFAULT_$LINE"
5613 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5618 eval "$ac_cv_use_controls"
5619 if test "$no_cache" != 1; then
5620 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5623 if test "$wxUSE_CONTROLS" = yes; then
5624 echo "$ac_t""yes" 1>&6
5626 echo "$ac_t""no" 1>&6
5630 if test "$wxUSE_CONTROLS" = "yes"; then
5631 DEFAULT_wxUSE_ACCEL
=yes
5632 DEFAULT_wxUSE_BMPBUTTON
=yes
5633 DEFAULT_wxUSE_BUTTON
=yes
5634 DEFAULT_wxUSE_CALCTRL
=no
5635 DEFAULT_wxUSE_CARET
=yes
5636 DEFAULT_wxUSE_COMBOBOX
=yes
5637 DEFAULT_wxUSE_CHECKBOX
=yes
5638 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5639 DEFAULT_wxUSE_CHOICE
=yes
5640 DEFAULT_wxUSE_GAUGE
=yes
5641 DEFAULT_wxUSE_GRID
=yes
5642 DEFAULT_wxUSE_NEW_GRID
=yes
5643 DEFAULT_wxUSE_IMAGLIST
=yes
5644 DEFAULT_wxUSE_LISTBOX
=yes
5645 DEFAULT_wxUSE_LISTCTRL
=yes
5646 DEFAULT_wxUSE_NOTEBOOK
=yes
5647 DEFAULT_wxUSE_PROPSHEET
=yes
5648 DEFAULT_wxUSE_RADIOBOX
=yes
5649 DEFAULT_wxUSE_RADIOBTN
=yes
5650 DEFAULT_wxUSE_SASH
=yes
5651 DEFAULT_wxUSE_SCROLLBAR
=yes
5652 DEFAULT_wxUSE_SLIDER
=yes
5653 DEFAULT_wxUSE_SPINBTN
=yes
5654 DEFAULT_wxUSE_SPINCTRL
=yes
5655 DEFAULT_wxUSE_SPLITTER
=yes
5656 DEFAULT_wxUSE_STATBMP
=yes
5657 DEFAULT_wxUSE_STATBOX
=yes
5658 DEFAULT_wxUSE_STATLINE
=yes
5659 DEFAULT_wxUSE_STATUSBAR
=yes
5660 DEFAULT_wxUSE_TAB_DIALOG
=yes
5661 DEFAULT_wxUSE_TOGGLEBTN
=yes
5662 DEFAULT_wxUSE_TOOLBAR
=yes
5663 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5664 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5665 DEFAULT_wxUSE_TOOLTIPS
=yes
5666 DEFAULT_wxUSE_TREECTRL
=yes
5667 DEFAULT_wxUSE_POPUPWIN
=yes
5668 DEFAULT_wxUSE_TIPWINDOW
=yes
5669 elif test "$wxUSE_CONTROLS" = "no"; then
5670 DEFAULT_wxUSE_ACCEL
=no
5671 DEFAULT_wxUSE_BMPBUTTON
=no
5672 DEFAULT_wxUSE_BUTTON
=no
5673 DEFAULT_wxUSE_CALCTRL
=no
5674 DEFAULT_wxUSE_CARET
=no
5675 DEFAULT_wxUSE_COMBOBOX
=no
5676 DEFAULT_wxUSE_CHECKBOX
=no
5677 DEFAULT_wxUSE_CHECKLISTBOX
=no
5678 DEFAULT_wxUSE_CHOICE
=no
5679 DEFAULT_wxUSE_GAUGE
=no
5680 DEFAULT_wxUSE_GRID
=no
5681 DEFAULT_wxUSE_NEW_GRID
=no
5682 DEFAULT_wxUSE_IMAGLIST
=no
5683 DEFAULT_wxUSE_LISTBOX
=no
5684 DEFAULT_wxUSE_LISTCTRL
=no
5685 DEFAULT_wxUSE_NOTEBOOK
=no
5686 DEFAULT_wxUSE_PROPSHEET
=no
5687 DEFAULT_wxUSE_RADIOBOX
=no
5688 DEFAULT_wxUSE_RADIOBTN
=no
5689 DEFAULT_wxUSE_SASH
=no
5690 DEFAULT_wxUSE_SCROLLBAR
=no
5691 DEFAULT_wxUSE_SLIDER
=no
5692 DEFAULT_wxUSE_SPINBTN
=no
5693 DEFAULT_wxUSE_SPINCTRL
=no
5694 DEFAULT_wxUSE_SPLITTER
=no
5695 DEFAULT_wxUSE_STATBMP
=no
5696 DEFAULT_wxUSE_STATBOX
=no
5697 DEFAULT_wxUSE_STATLINE
=no
5698 DEFAULT_wxUSE_STATUSBAR
=no
5699 DEFAULT_wxUSE_TAB_DIALOG
=no
5700 DEFAULT_wxUSE_TOGGLEBTN
=no
5701 DEFAULT_wxUSE_TOOLBAR
=no
5702 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5703 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5704 DEFAULT_wxUSE_TOOLTIPS
=no
5705 DEFAULT_wxUSE_TREECTRL
=no
5706 DEFAULT_wxUSE_POPUPWIN
=no
5707 DEFAULT_wxUSE_TIPWINDOW
=no
5711 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5712 echo "configure:5713: checking for --enable-accel" >&5
5714 # Check whether --enable-accel or --disable-accel was given.
5715 if test "${enable_accel+set}" = set; then
5716 enableval
="$enable_accel"
5718 if test "$enableval" = yes; then
5719 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5721 ac_cv_use_accel
='wxUSE_ACCEL=no'
5726 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5727 if test "x$LINE" != x
; then
5728 eval "DEFAULT_$LINE"
5733 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5738 eval "$ac_cv_use_accel"
5739 if test "$no_cache" != 1; then
5740 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5743 if test "$wxUSE_ACCEL" = yes; then
5744 echo "$ac_t""yes" 1>&6
5746 echo "$ac_t""no" 1>&6
5750 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5751 echo "configure:5752: checking for --enable-button" >&5
5753 # Check whether --enable-button or --disable-button was given.
5754 if test "${enable_button+set}" = set; then
5755 enableval
="$enable_button"
5757 if test "$enableval" = yes; then
5758 ac_cv_use_button
='wxUSE_BUTTON=yes'
5760 ac_cv_use_button
='wxUSE_BUTTON=no'
5765 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5766 if test "x$LINE" != x
; then
5767 eval "DEFAULT_$LINE"
5772 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5777 eval "$ac_cv_use_button"
5778 if test "$no_cache" != 1; then
5779 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5782 if test "$wxUSE_BUTTON" = yes; then
5783 echo "$ac_t""yes" 1>&6
5785 echo "$ac_t""no" 1>&6
5789 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5790 echo "configure:5791: checking for --enable-bmpbutton" >&5
5792 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5793 if test "${enable_bmpbutton+set}" = set; then
5794 enableval
="$enable_bmpbutton"
5796 if test "$enableval" = yes; then
5797 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5799 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5804 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5805 if test "x$LINE" != x
; then
5806 eval "DEFAULT_$LINE"
5811 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5816 eval "$ac_cv_use_bmpbutton"
5817 if test "$no_cache" != 1; then
5818 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5821 if test "$wxUSE_BMPBUTTON" = yes; then
5822 echo "$ac_t""yes" 1>&6
5824 echo "$ac_t""no" 1>&6
5828 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5829 echo "configure:5830: checking for --enable-calendar" >&5
5831 # Check whether --enable-calendar or --disable-calendar was given.
5832 if test "${enable_calendar+set}" = set; then
5833 enableval
="$enable_calendar"
5835 if test "$enableval" = yes; then
5836 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5838 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5843 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5844 if test "x$LINE" != x
; then
5845 eval "DEFAULT_$LINE"
5850 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5855 eval "$ac_cv_use_calendar"
5856 if test "$no_cache" != 1; then
5857 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5860 if test "$wxUSE_CALCTRL" = yes; then
5861 echo "$ac_t""yes" 1>&6
5863 echo "$ac_t""no" 1>&6
5867 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5868 echo "configure:5869: checking for --enable-caret" >&5
5870 # Check whether --enable-caret or --disable-caret was given.
5871 if test "${enable_caret+set}" = set; then
5872 enableval
="$enable_caret"
5874 if test "$enableval" = yes; then
5875 ac_cv_use_caret
='wxUSE_CARET=yes'
5877 ac_cv_use_caret
='wxUSE_CARET=no'
5882 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5883 if test "x$LINE" != x
; then
5884 eval "DEFAULT_$LINE"
5889 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5894 eval "$ac_cv_use_caret"
5895 if test "$no_cache" != 1; then
5896 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5899 if test "$wxUSE_CARET" = yes; then
5900 echo "$ac_t""yes" 1>&6
5902 echo "$ac_t""no" 1>&6
5906 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5907 echo "configure:5908: checking for --enable-checkbox" >&5
5909 # Check whether --enable-checkbox or --disable-checkbox was given.
5910 if test "${enable_checkbox+set}" = set; then
5911 enableval
="$enable_checkbox"
5913 if test "$enableval" = yes; then
5914 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5916 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5921 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5922 if test "x$LINE" != x
; then
5923 eval "DEFAULT_$LINE"
5928 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5933 eval "$ac_cv_use_checkbox"
5934 if test "$no_cache" != 1; then
5935 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5938 if test "$wxUSE_CHECKBOX" = yes; then
5939 echo "$ac_t""yes" 1>&6
5941 echo "$ac_t""no" 1>&6
5945 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5946 echo "configure:5947: checking for --enable-checklst" >&5
5948 # Check whether --enable-checklst or --disable-checklst was given.
5949 if test "${enable_checklst+set}" = set; then
5950 enableval
="$enable_checklst"
5952 if test "$enableval" = yes; then
5953 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5955 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5960 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5961 if test "x$LINE" != x
; then
5962 eval "DEFAULT_$LINE"
5967 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5972 eval "$ac_cv_use_checklst"
5973 if test "$no_cache" != 1; then
5974 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5977 if test "$wxUSE_CHECKLST" = yes; then
5978 echo "$ac_t""yes" 1>&6
5980 echo "$ac_t""no" 1>&6
5984 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5985 echo "configure:5986: checking for --enable-choice" >&5
5987 # Check whether --enable-choice or --disable-choice was given.
5988 if test "${enable_choice+set}" = set; then
5989 enableval
="$enable_choice"
5991 if test "$enableval" = yes; then
5992 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5994 ac_cv_use_choice
='wxUSE_CHOICE=no'
5999 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
6000 if test "x$LINE" != x
; then
6001 eval "DEFAULT_$LINE"
6006 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6011 eval "$ac_cv_use_choice"
6012 if test "$no_cache" != 1; then
6013 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6016 if test "$wxUSE_CHOICE" = yes; then
6017 echo "$ac_t""yes" 1>&6
6019 echo "$ac_t""no" 1>&6
6023 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6024 echo "configure:6025: checking for --enable-combobox" >&5
6026 # Check whether --enable-combobox or --disable-combobox was given.
6027 if test "${enable_combobox+set}" = set; then
6028 enableval
="$enable_combobox"
6030 if test "$enableval" = yes; then
6031 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6033 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6038 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6039 if test "x$LINE" != x
; then
6040 eval "DEFAULT_$LINE"
6045 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6050 eval "$ac_cv_use_combobox"
6051 if test "$no_cache" != 1; then
6052 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6055 if test "$wxUSE_COMBOBOX" = yes; then
6056 echo "$ac_t""yes" 1>&6
6058 echo "$ac_t""no" 1>&6
6062 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6063 echo "configure:6064: checking for --enable-gauge" >&5
6065 # Check whether --enable-gauge or --disable-gauge was given.
6066 if test "${enable_gauge+set}" = set; then
6067 enableval
="$enable_gauge"
6069 if test "$enableval" = yes; then
6070 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6072 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6077 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6078 if test "x$LINE" != x
; then
6079 eval "DEFAULT_$LINE"
6084 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6089 eval "$ac_cv_use_gauge"
6090 if test "$no_cache" != 1; then
6091 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6094 if test "$wxUSE_GAUGE" = yes; then
6095 echo "$ac_t""yes" 1>&6
6097 echo "$ac_t""no" 1>&6
6101 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6102 echo "configure:6103: checking for --enable-grid" >&5
6104 # Check whether --enable-grid or --disable-grid was given.
6105 if test "${enable_grid+set}" = set; then
6106 enableval
="$enable_grid"
6108 if test "$enableval" = yes; then
6109 ac_cv_use_grid
='wxUSE_GRID=yes'
6111 ac_cv_use_grid
='wxUSE_GRID=no'
6116 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6117 if test "x$LINE" != x
; then
6118 eval "DEFAULT_$LINE"
6123 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6128 eval "$ac_cv_use_grid"
6129 if test "$no_cache" != 1; then
6130 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6133 if test "$wxUSE_GRID" = yes; then
6134 echo "$ac_t""yes" 1>&6
6136 echo "$ac_t""no" 1>&6
6140 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6141 echo "configure:6142: checking for --enable-newgrid" >&5
6143 # Check whether --enable-newgrid or --disable-newgrid was given.
6144 if test "${enable_newgrid+set}" = set; then
6145 enableval
="$enable_newgrid"
6147 if test "$enableval" = yes; then
6148 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6150 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6155 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x
; then
6157 eval "DEFAULT_$LINE"
6162 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6167 eval "$ac_cv_use_newgrid"
6168 if test "$no_cache" != 1; then
6169 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6172 if test "$wxUSE_NEW_GRID" = yes; then
6173 echo "$ac_t""yes" 1>&6
6175 echo "$ac_t""no" 1>&6
6179 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6180 echo "configure:6181: checking for --enable-imaglist" >&5
6182 # Check whether --enable-imaglist or --disable-imaglist was given.
6183 if test "${enable_imaglist+set}" = set; then
6184 enableval
="$enable_imaglist"
6186 if test "$enableval" = yes; then
6187 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6189 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6194 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6195 if test "x$LINE" != x
; then
6196 eval "DEFAULT_$LINE"
6201 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6206 eval "$ac_cv_use_imaglist"
6207 if test "$no_cache" != 1; then
6208 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6211 if test "$wxUSE_IMAGLIST" = yes; then
6212 echo "$ac_t""yes" 1>&6
6214 echo "$ac_t""no" 1>&6
6218 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6219 echo "configure:6220: checking for --enable-listbox" >&5
6221 # Check whether --enable-listbox or --disable-listbox was given.
6222 if test "${enable_listbox+set}" = set; then
6223 enableval
="$enable_listbox"
6225 if test "$enableval" = yes; then
6226 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6228 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6233 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6234 if test "x$LINE" != x
; then
6235 eval "DEFAULT_$LINE"
6240 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6245 eval "$ac_cv_use_listbox"
6246 if test "$no_cache" != 1; then
6247 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6250 if test "$wxUSE_LISTBOX" = yes; then
6251 echo "$ac_t""yes" 1>&6
6253 echo "$ac_t""no" 1>&6
6257 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6258 echo "configure:6259: checking for --enable-listctrl" >&5
6260 # Check whether --enable-listctrl or --disable-listctrl was given.
6261 if test "${enable_listctrl+set}" = set; then
6262 enableval
="$enable_listctrl"
6264 if test "$enableval" = yes; then
6265 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6267 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6272 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6273 if test "x$LINE" != x
; then
6274 eval "DEFAULT_$LINE"
6279 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6284 eval "$ac_cv_use_listctrl"
6285 if test "$no_cache" != 1; then
6286 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6289 if test "$wxUSE_LISTCTRL" = yes; then
6290 echo "$ac_t""yes" 1>&6
6292 echo "$ac_t""no" 1>&6
6296 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6297 echo "configure:6298: checking for --enable-notebook" >&5
6299 # Check whether --enable-notebook or --disable-notebook was given.
6300 if test "${enable_notebook+set}" = set; then
6301 enableval
="$enable_notebook"
6303 if test "$enableval" = yes; then
6304 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6306 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6311 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6312 if test "x$LINE" != x
; then
6313 eval "DEFAULT_$LINE"
6318 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6323 eval "$ac_cv_use_notebook"
6324 if test "$no_cache" != 1; then
6325 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6328 if test "$wxUSE_NOTEBOOK" = yes; then
6329 echo "$ac_t""yes" 1>&6
6331 echo "$ac_t""no" 1>&6
6335 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6336 echo "configure:6337: checking for --enable-propsheet" >&5
6338 # Check whether --enable-propsheet or --disable-propsheet was given.
6339 if test "${enable_propsheet+set}" = set; then
6340 enableval
="$enable_propsheet"
6342 if test "$enableval" = yes; then
6343 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6345 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6350 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6351 if test "x$LINE" != x
; then
6352 eval "DEFAULT_$LINE"
6357 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6362 eval "$ac_cv_use_propsheet"
6363 if test "$no_cache" != 1; then
6364 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6367 if test "$wxUSE_PROPSHEET" = yes; then
6368 echo "$ac_t""yes" 1>&6
6370 echo "$ac_t""no" 1>&6
6374 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6375 echo "configure:6376: checking for --enable-radiobox" >&5
6377 # Check whether --enable-radiobox or --disable-radiobox was given.
6378 if test "${enable_radiobox+set}" = set; then
6379 enableval
="$enable_radiobox"
6381 if test "$enableval" = yes; then
6382 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6384 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6389 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6390 if test "x$LINE" != x
; then
6391 eval "DEFAULT_$LINE"
6396 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6401 eval "$ac_cv_use_radiobox"
6402 if test "$no_cache" != 1; then
6403 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6406 if test "$wxUSE_RADIOBOX" = yes; then
6407 echo "$ac_t""yes" 1>&6
6409 echo "$ac_t""no" 1>&6
6413 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6414 echo "configure:6415: checking for --enable-radiobtn" >&5
6416 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6417 if test "${enable_radiobtn+set}" = set; then
6418 enableval
="$enable_radiobtn"
6420 if test "$enableval" = yes; then
6421 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6423 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6428 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6429 if test "x$LINE" != x
; then
6430 eval "DEFAULT_$LINE"
6435 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6440 eval "$ac_cv_use_radiobtn"
6441 if test "$no_cache" != 1; then
6442 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6445 if test "$wxUSE_RADIOBTN" = yes; then
6446 echo "$ac_t""yes" 1>&6
6448 echo "$ac_t""no" 1>&6
6452 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6453 echo "configure:6454: checking for --enable-sash" >&5
6455 # Check whether --enable-sash or --disable-sash was given.
6456 if test "${enable_sash+set}" = set; then
6457 enableval
="$enable_sash"
6459 if test "$enableval" = yes; then
6460 ac_cv_use_sash
='wxUSE_SASH=yes'
6462 ac_cv_use_sash
='wxUSE_SASH=no'
6467 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6468 if test "x$LINE" != x
; then
6469 eval "DEFAULT_$LINE"
6474 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6479 eval "$ac_cv_use_sash"
6480 if test "$no_cache" != 1; then
6481 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6484 if test "$wxUSE_SASH" = yes; then
6485 echo "$ac_t""yes" 1>&6
6487 echo "$ac_t""no" 1>&6
6491 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6492 echo "configure:6493: checking for --enable-scrollbar" >&5
6494 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6495 if test "${enable_scrollbar+set}" = set; then
6496 enableval
="$enable_scrollbar"
6498 if test "$enableval" = yes; then
6499 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6501 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6506 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6507 if test "x$LINE" != x
; then
6508 eval "DEFAULT_$LINE"
6513 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6518 eval "$ac_cv_use_scrollbar"
6519 if test "$no_cache" != 1; then
6520 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6523 if test "$wxUSE_SCROLLBAR" = yes; then
6524 echo "$ac_t""yes" 1>&6
6526 echo "$ac_t""no" 1>&6
6530 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6531 echo "configure:6532: checking for --enable-slider" >&5
6533 # Check whether --enable-slider or --disable-slider was given.
6534 if test "${enable_slider+set}" = set; then
6535 enableval
="$enable_slider"
6537 if test "$enableval" = yes; then
6538 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6540 ac_cv_use_slider
='wxUSE_SLIDER=no'
6545 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6546 if test "x$LINE" != x
; then
6547 eval "DEFAULT_$LINE"
6552 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6557 eval "$ac_cv_use_slider"
6558 if test "$no_cache" != 1; then
6559 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6562 if test "$wxUSE_SLIDER" = yes; then
6563 echo "$ac_t""yes" 1>&6
6565 echo "$ac_t""no" 1>&6
6569 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6570 echo "configure:6571: checking for --enable-spinbtn" >&5
6572 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6573 if test "${enable_spinbtn+set}" = set; then
6574 enableval
="$enable_spinbtn"
6576 if test "$enableval" = yes; then
6577 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6579 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6584 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6585 if test "x$LINE" != x
; then
6586 eval "DEFAULT_$LINE"
6591 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6596 eval "$ac_cv_use_spinbtn"
6597 if test "$no_cache" != 1; then
6598 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6601 if test "$wxUSE_SPINBTN" = yes; then
6602 echo "$ac_t""yes" 1>&6
6604 echo "$ac_t""no" 1>&6
6608 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6609 echo "configure:6610: checking for --enable-spinctrl" >&5
6611 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6612 if test "${enable_spinctrl+set}" = set; then
6613 enableval
="$enable_spinctrl"
6615 if test "$enableval" = yes; then
6616 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6618 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6623 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6624 if test "x$LINE" != x
; then
6625 eval "DEFAULT_$LINE"
6630 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6635 eval "$ac_cv_use_spinctrl"
6636 if test "$no_cache" != 1; then
6637 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6640 if test "$wxUSE_SPINCTRL" = yes; then
6641 echo "$ac_t""yes" 1>&6
6643 echo "$ac_t""no" 1>&6
6647 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6648 echo "configure:6649: checking for --enable-splitter" >&5
6650 # Check whether --enable-splitter or --disable-splitter was given.
6651 if test "${enable_splitter+set}" = set; then
6652 enableval
="$enable_splitter"
6654 if test "$enableval" = yes; then
6655 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6657 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6662 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6663 if test "x$LINE" != x
; then
6664 eval "DEFAULT_$LINE"
6669 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6674 eval "$ac_cv_use_splitter"
6675 if test "$no_cache" != 1; then
6676 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6679 if test "$wxUSE_SPLITTER" = yes; then
6680 echo "$ac_t""yes" 1>&6
6682 echo "$ac_t""no" 1>&6
6686 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6687 echo "configure:6688: checking for --enable-statbmp" >&5
6689 # Check whether --enable-statbmp or --disable-statbmp was given.
6690 if test "${enable_statbmp+set}" = set; then
6691 enableval
="$enable_statbmp"
6693 if test "$enableval" = yes; then
6694 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6696 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6701 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6702 if test "x$LINE" != x
; then
6703 eval "DEFAULT_$LINE"
6708 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6713 eval "$ac_cv_use_statbmp"
6714 if test "$no_cache" != 1; then
6715 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6718 if test "$wxUSE_STATBMP" = yes; then
6719 echo "$ac_t""yes" 1>&6
6721 echo "$ac_t""no" 1>&6
6725 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6726 echo "configure:6727: checking for --enable-statbox" >&5
6728 # Check whether --enable-statbox or --disable-statbox was given.
6729 if test "${enable_statbox+set}" = set; then
6730 enableval
="$enable_statbox"
6732 if test "$enableval" = yes; then
6733 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6735 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6740 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6741 if test "x$LINE" != x
; then
6742 eval "DEFAULT_$LINE"
6747 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6752 eval "$ac_cv_use_statbox"
6753 if test "$no_cache" != 1; then
6754 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6757 if test "$wxUSE_STATBOX" = yes; then
6758 echo "$ac_t""yes" 1>&6
6760 echo "$ac_t""no" 1>&6
6764 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6765 echo "configure:6766: checking for --enable-statline" >&5
6767 # Check whether --enable-statline or --disable-statline was given.
6768 if test "${enable_statline+set}" = set; then
6769 enableval
="$enable_statline"
6771 if test "$enableval" = yes; then
6772 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6774 ac_cv_use_statline
='wxUSE_STATLINE=no'
6779 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6780 if test "x$LINE" != x
; then
6781 eval "DEFAULT_$LINE"
6786 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6791 eval "$ac_cv_use_statline"
6792 if test "$no_cache" != 1; then
6793 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6796 if test "$wxUSE_STATLINE" = yes; then
6797 echo "$ac_t""yes" 1>&6
6799 echo "$ac_t""no" 1>&6
6803 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6804 echo "configure:6805: checking for --enable-stattext" >&5
6806 # Check whether --enable-stattext or --disable-stattext was given.
6807 if test "${enable_stattext+set}" = set; then
6808 enableval
="$enable_stattext"
6810 if test "$enableval" = yes; then
6811 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6813 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6818 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6819 if test "x$LINE" != x
; then
6820 eval "DEFAULT_$LINE"
6825 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6830 eval "$ac_cv_use_stattext"
6831 if test "$no_cache" != 1; then
6832 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6835 if test "$wxUSE_STATTEXT" = yes; then
6836 echo "$ac_t""yes" 1>&6
6838 echo "$ac_t""no" 1>&6
6842 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6843 echo "configure:6844: checking for --enable-statusbar" >&5
6845 # Check whether --enable-statusbar or --disable-statusbar was given.
6846 if test "${enable_statusbar+set}" = set; then
6847 enableval
="$enable_statusbar"
6849 if test "$enableval" = yes; then
6850 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6852 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6857 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6858 if test "x$LINE" != x
; then
6859 eval "DEFAULT_$LINE"
6864 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6869 eval "$ac_cv_use_statusbar"
6870 if test "$no_cache" != 1; then
6871 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6874 if test "$wxUSE_STATUSBAR" = yes; then
6875 echo "$ac_t""yes" 1>&6
6877 echo "$ac_t""no" 1>&6
6881 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6882 echo "configure:6883: checking for --enable-tabdialog" >&5
6884 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6885 if test "${enable_tabdialog+set}" = set; then
6886 enableval
="$enable_tabdialog"
6888 if test "$enableval" = yes; then
6889 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6891 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6896 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6897 if test "x$LINE" != x
; then
6898 eval "DEFAULT_$LINE"
6903 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6908 eval "$ac_cv_use_tabdialog"
6909 if test "$no_cache" != 1; then
6910 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6913 if test "$wxUSE_TABDIALOG" = yes; then
6914 echo "$ac_t""yes" 1>&6
6916 echo "$ac_t""no" 1>&6
6920 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6921 echo "configure:6922: checking for --enable-textctrl" >&5
6923 # Check whether --enable-textctrl or --disable-textctrl was given.
6924 if test "${enable_textctrl+set}" = set; then
6925 enableval
="$enable_textctrl"
6927 if test "$enableval" = yes; then
6928 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6930 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6935 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6936 if test "x$LINE" != x
; then
6937 eval "DEFAULT_$LINE"
6942 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6947 eval "$ac_cv_use_textctrl"
6948 if test "$no_cache" != 1; then
6949 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6952 if test "$wxUSE_TEXTCTRL" = yes; then
6953 echo "$ac_t""yes" 1>&6
6955 echo "$ac_t""no" 1>&6
6959 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6960 echo "configure:6961: checking for --enable-togglebtn" >&5
6962 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6963 if test "${enable_togglebtn+set}" = set; then
6964 enableval
="$enable_togglebtn"
6966 if test "$enableval" = yes; then
6967 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6969 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6974 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6975 if test "x$LINE" != x
; then
6976 eval "DEFAULT_$LINE"
6981 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6986 eval "$ac_cv_use_togglebtn"
6987 if test "$no_cache" != 1; then
6988 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6991 if test "$wxUSE_TOGGLEBTN" = yes; then
6992 echo "$ac_t""yes" 1>&6
6994 echo "$ac_t""no" 1>&6
6998 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6999 echo "configure:7000: checking for --enable-toolbar" >&5
7001 # Check whether --enable-toolbar or --disable-toolbar was given.
7002 if test "${enable_toolbar+set}" = set; then
7003 enableval
="$enable_toolbar"
7005 if test "$enableval" = yes; then
7006 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7008 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7013 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7014 if test "x$LINE" != x
; then
7015 eval "DEFAULT_$LINE"
7020 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7025 eval "$ac_cv_use_toolbar"
7026 if test "$no_cache" != 1; then
7027 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7030 if test "$wxUSE_TOOLBAR" = yes; then
7031 echo "$ac_t""yes" 1>&6
7033 echo "$ac_t""no" 1>&6
7037 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7038 echo "configure:7039: checking for --enable-tbarnative" >&5
7040 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7041 if test "${enable_tbarnative+set}" = set; then
7042 enableval
="$enable_tbarnative"
7044 if test "$enableval" = yes; then
7045 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7047 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7052 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7053 if test "x$LINE" != x
; then
7054 eval "DEFAULT_$LINE"
7059 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7064 eval "$ac_cv_use_tbarnative"
7065 if test "$no_cache" != 1; then
7066 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7069 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7070 echo "$ac_t""yes" 1>&6
7072 echo "$ac_t""no" 1>&6
7076 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7077 echo "configure:7078: checking for --enable-tbarsmpl" >&5
7079 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7080 if test "${enable_tbarsmpl+set}" = set; then
7081 enableval
="$enable_tbarsmpl"
7083 if test "$enableval" = yes; then
7084 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7086 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7091 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7092 if test "x$LINE" != x
; then
7093 eval "DEFAULT_$LINE"
7098 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7103 eval "$ac_cv_use_tbarsmpl"
7104 if test "$no_cache" != 1; then
7105 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7108 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7109 echo "$ac_t""yes" 1>&6
7111 echo "$ac_t""no" 1>&6
7115 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7116 echo "configure:7117: checking for --enable-treectrl" >&5
7118 # Check whether --enable-treectrl or --disable-treectrl was given.
7119 if test "${enable_treectrl+set}" = set; then
7120 enableval
="$enable_treectrl"
7122 if test "$enableval" = yes; then
7123 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7125 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7130 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7131 if test "x$LINE" != x
; then
7132 eval "DEFAULT_$LINE"
7137 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7142 eval "$ac_cv_use_treectrl"
7143 if test "$no_cache" != 1; then
7144 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7147 if test "$wxUSE_TREECTRL" = yes; then
7148 echo "$ac_t""yes" 1>&6
7150 echo "$ac_t""no" 1>&6
7154 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7155 echo "configure:7156: checking for --enable-tipwindow" >&5
7157 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7158 if test "${enable_tipwindow+set}" = set; then
7159 enableval
="$enable_tipwindow"
7161 if test "$enableval" = yes; then
7162 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7164 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7169 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7170 if test "x$LINE" != x
; then
7171 eval "DEFAULT_$LINE"
7176 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7181 eval "$ac_cv_use_tipwindow"
7182 if test "$no_cache" != 1; then
7183 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7186 if test "$wxUSE_TIPWINDOW" = yes; then
7187 echo "$ac_t""yes" 1>&6
7189 echo "$ac_t""no" 1>&6
7193 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7194 echo "configure:7195: checking for --enable-popupwin" >&5
7196 # Check whether --enable-popupwin or --disable-popupwin was given.
7197 if test "${enable_popupwin+set}" = set; then
7198 enableval
="$enable_popupwin"
7200 if test "$enableval" = yes; then
7201 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7203 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7208 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7209 if test "x$LINE" != x
; then
7210 eval "DEFAULT_$LINE"
7215 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7220 eval "$ac_cv_use_popupwin"
7221 if test "$no_cache" != 1; then
7222 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7225 if test "$wxUSE_POPUPWIN" = yes; then
7226 echo "$ac_t""yes" 1>&6
7228 echo "$ac_t""no" 1>&6
7234 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7235 echo "configure:7236: checking for --enable-commondlg" >&5
7237 # Check whether --enable-commondlg or --disable-commondlg was given.
7238 if test "${enable_commondlg+set}" = set; then
7239 enableval
="$enable_commondlg"
7241 if test "$enableval" = yes; then
7242 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7244 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7249 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7250 if test "x$LINE" != x
; then
7251 eval "DEFAULT_$LINE"
7256 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7261 eval "$ac_cv_use_commondlg"
7262 if test "$no_cache" != 1; then
7263 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7266 if test "$wxUSE_COMMONDLGS" = yes; then
7267 echo "$ac_t""yes" 1>&6
7269 echo "$ac_t""no" 1>&6
7273 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7274 echo "configure:7275: checking for --enable-choicedlg" >&5
7276 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7277 if test "${enable_choicedlg+set}" = set; then
7278 enableval
="$enable_choicedlg"
7280 if test "$enableval" = yes; then
7281 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7283 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7288 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7289 if test "x$LINE" != x
; then
7290 eval "DEFAULT_$LINE"
7295 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7300 eval "$ac_cv_use_choicedlg"
7301 if test "$no_cache" != 1; then
7302 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7305 if test "$wxUSE_CHOICEDLG" = yes; then
7306 echo "$ac_t""yes" 1>&6
7308 echo "$ac_t""no" 1>&6
7312 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7313 echo "configure:7314: checking for --enable-coldlg" >&5
7315 # Check whether --enable-coldlg or --disable-coldlg was given.
7316 if test "${enable_coldlg+set}" = set; then
7317 enableval
="$enable_coldlg"
7319 if test "$enableval" = yes; then
7320 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7322 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7327 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7328 if test "x$LINE" != x
; then
7329 eval "DEFAULT_$LINE"
7334 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7339 eval "$ac_cv_use_coldlg"
7340 if test "$no_cache" != 1; then
7341 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7344 if test "$wxUSE_COLOURDLG" = yes; then
7345 echo "$ac_t""yes" 1>&6
7347 echo "$ac_t""no" 1>&6
7351 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7352 echo "configure:7353: checking for --enable-filedlg" >&5
7354 # Check whether --enable-filedlg or --disable-filedlg was given.
7355 if test "${enable_filedlg+set}" = set; then
7356 enableval
="$enable_filedlg"
7358 if test "$enableval" = yes; then
7359 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7361 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7366 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7367 if test "x$LINE" != x
; then
7368 eval "DEFAULT_$LINE"
7373 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7378 eval "$ac_cv_use_filedlg"
7379 if test "$no_cache" != 1; then
7380 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7383 if test "$wxUSE_FILEDLG" = yes; then
7384 echo "$ac_t""yes" 1>&6
7386 echo "$ac_t""no" 1>&6
7390 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7391 echo "configure:7392: checking for --enable-finddlg" >&5
7393 # Check whether --enable-finddlg or --disable-finddlg was given.
7394 if test "${enable_finddlg+set}" = set; then
7395 enableval
="$enable_finddlg"
7397 if test "$enableval" = yes; then
7398 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7400 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7405 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7406 if test "x$LINE" != x
; then
7407 eval "DEFAULT_$LINE"
7412 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7417 eval "$ac_cv_use_finddlg"
7418 if test "$no_cache" != 1; then
7419 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7422 if test "$wxUSE_FINDREPLDLG" = yes; then
7423 echo "$ac_t""yes" 1>&6
7425 echo "$ac_t""no" 1>&6
7429 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7430 echo "configure:7431: checking for --enable-fontdlg" >&5
7432 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7433 if test "${enable_fontdlg+set}" = set; then
7434 enableval
="$enable_fontdlg"
7436 if test "$enableval" = yes; then
7437 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7439 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7444 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7445 if test "x$LINE" != x
; then
7446 eval "DEFAULT_$LINE"
7451 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7456 eval "$ac_cv_use_fontdlg"
7457 if test "$no_cache" != 1; then
7458 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7461 if test "$wxUSE_FONTDLG" = yes; then
7462 echo "$ac_t""yes" 1>&6
7464 echo "$ac_t""no" 1>&6
7468 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7469 echo "configure:7470: checking for --enable-dirdlg" >&5
7471 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7472 if test "${enable_dirdlg+set}" = set; then
7473 enableval
="$enable_dirdlg"
7475 if test "$enableval" = yes; then
7476 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7478 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7483 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7484 if test "x$LINE" != x
; then
7485 eval "DEFAULT_$LINE"
7490 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7495 eval "$ac_cv_use_dirdlg"
7496 if test "$no_cache" != 1; then
7497 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7500 if test "$wxUSE_DIRDLG" = yes; then
7501 echo "$ac_t""yes" 1>&6
7503 echo "$ac_t""no" 1>&6
7507 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7508 echo "configure:7509: checking for --enable-msgdlg" >&5
7510 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7511 if test "${enable_msgdlg+set}" = set; then
7512 enableval
="$enable_msgdlg"
7514 if test "$enableval" = yes; then
7515 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7517 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7522 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7523 if test "x$LINE" != x
; then
7524 eval "DEFAULT_$LINE"
7529 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7534 eval "$ac_cv_use_msgdlg"
7535 if test "$no_cache" != 1; then
7536 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7539 if test "$wxUSE_MSGDLG" = yes; then
7540 echo "$ac_t""yes" 1>&6
7542 echo "$ac_t""no" 1>&6
7546 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7547 echo "configure:7548: checking for --enable-numberdlg" >&5
7549 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7550 if test "${enable_numberdlg+set}" = set; then
7551 enableval
="$enable_numberdlg"
7553 if test "$enableval" = yes; then
7554 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7556 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7561 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7562 if test "x$LINE" != x
; then
7563 eval "DEFAULT_$LINE"
7568 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7573 eval "$ac_cv_use_numberdlg"
7574 if test "$no_cache" != 1; then
7575 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7578 if test "$wxUSE_NUMBERDLG" = yes; then
7579 echo "$ac_t""yes" 1>&6
7581 echo "$ac_t""no" 1>&6
7585 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7586 echo "configure:7587: checking for --enable-splash" >&5
7588 # Check whether --enable-splash or --disable-splash was given.
7589 if test "${enable_splash+set}" = set; then
7590 enableval
="$enable_splash"
7592 if test "$enableval" = yes; then
7593 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7595 ac_cv_use_splash
='wxUSE_SPLASH=no'
7600 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7601 if test "x$LINE" != x
; then
7602 eval "DEFAULT_$LINE"
7607 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7612 eval "$ac_cv_use_splash"
7613 if test "$no_cache" != 1; then
7614 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7617 if test "$wxUSE_SPLASH" = yes; then
7618 echo "$ac_t""yes" 1>&6
7620 echo "$ac_t""no" 1>&6
7624 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7625 echo "configure:7626: checking for --enable-textdlg" >&5
7627 # Check whether --enable-textdlg or --disable-textdlg was given.
7628 if test "${enable_textdlg+set}" = set; then
7629 enableval
="$enable_textdlg"
7631 if test "$enableval" = yes; then
7632 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7634 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7639 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7640 if test "x$LINE" != x
; then
7641 eval "DEFAULT_$LINE"
7646 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7651 eval "$ac_cv_use_textdlg"
7652 if test "$no_cache" != 1; then
7653 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7656 if test "$wxUSE_TEXTDLG" = yes; then
7657 echo "$ac_t""yes" 1>&6
7659 echo "$ac_t""no" 1>&6
7663 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7664 echo "configure:7665: checking for --enable-tipdlg" >&5
7666 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7667 if test "${enable_tipdlg+set}" = set; then
7668 enableval
="$enable_tipdlg"
7670 if test "$enableval" = yes; then
7671 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7673 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7678 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7679 if test "x$LINE" != x
; then
7680 eval "DEFAULT_$LINE"
7685 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7690 eval "$ac_cv_use_tipdlg"
7691 if test "$no_cache" != 1; then
7692 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7695 if test "$wxUSE_STARTUP_TIPS" = yes; then
7696 echo "$ac_t""yes" 1>&6
7698 echo "$ac_t""no" 1>&6
7702 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7703 echo "configure:7704: checking for --enable-progressdlg" >&5
7705 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7706 if test "${enable_progressdlg+set}" = set; then
7707 enableval
="$enable_progressdlg"
7709 if test "$enableval" = yes; then
7710 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7712 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7717 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7718 if test "x$LINE" != x
; then
7719 eval "DEFAULT_$LINE"
7724 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7729 eval "$ac_cv_use_progressdlg"
7730 if test "$no_cache" != 1; then
7731 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7734 if test "$wxUSE_PROGRESSDLG" = yes; then
7735 echo "$ac_t""yes" 1>&6
7737 echo "$ac_t""no" 1>&6
7741 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7742 echo "configure:7743: checking for --enable-wizarddlg" >&5
7744 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7745 if test "${enable_wizarddlg+set}" = set; then
7746 enableval
="$enable_wizarddlg"
7748 if test "$enableval" = yes; then
7749 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7751 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7756 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7757 if test "x$LINE" != x
; then
7758 eval "DEFAULT_$LINE"
7763 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7768 eval "$ac_cv_use_wizarddlg"
7769 if test "$no_cache" != 1; then
7770 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7773 if test "$wxUSE_WIZARDDLG" = yes; then
7774 echo "$ac_t""yes" 1>&6
7776 echo "$ac_t""no" 1>&6
7782 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7783 echo "configure:7784: checking for --enable-menus" >&5
7785 # Check whether --enable-menus or --disable-menus was given.
7786 if test "${enable_menus+set}" = set; then
7787 enableval
="$enable_menus"
7789 if test "$enableval" = yes; then
7790 ac_cv_use_menus
='wxUSE_MENUS=yes'
7792 ac_cv_use_menus
='wxUSE_MENUS=no'
7797 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7798 if test "x$LINE" != x
; then
7799 eval "DEFAULT_$LINE"
7804 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7809 eval "$ac_cv_use_menus"
7810 if test "$no_cache" != 1; then
7811 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7814 if test "$wxUSE_MENUS" = yes; then
7815 echo "$ac_t""yes" 1>&6
7817 echo "$ac_t""no" 1>&6
7821 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7822 echo "configure:7823: checking for --enable-miniframe" >&5
7824 # Check whether --enable-miniframe or --disable-miniframe was given.
7825 if test "${enable_miniframe+set}" = set; then
7826 enableval
="$enable_miniframe"
7828 if test "$enableval" = yes; then
7829 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7831 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7836 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7837 if test "x$LINE" != x
; then
7838 eval "DEFAULT_$LINE"
7843 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7848 eval "$ac_cv_use_miniframe"
7849 if test "$no_cache" != 1; then
7850 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7853 if test "$wxUSE_MINIFRAME" = yes; then
7854 echo "$ac_t""yes" 1>&6
7856 echo "$ac_t""no" 1>&6
7860 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7861 echo "configure:7862: checking for --enable-tooltips" >&5
7863 # Check whether --enable-tooltips or --disable-tooltips was given.
7864 if test "${enable_tooltips+set}" = set; then
7865 enableval
="$enable_tooltips"
7867 if test "$enableval" = yes; then
7868 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7870 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7875 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7876 if test "x$LINE" != x
; then
7877 eval "DEFAULT_$LINE"
7882 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7887 eval "$ac_cv_use_tooltips"
7888 if test "$no_cache" != 1; then
7889 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7892 if test "$wxUSE_TOOLTIPS" = yes; then
7893 echo "$ac_t""yes" 1>&6
7895 echo "$ac_t""no" 1>&6
7899 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7900 echo "configure:7901: checking for --enable-splines" >&5
7902 # Check whether --enable-splines or --disable-splines was given.
7903 if test "${enable_splines+set}" = set; then
7904 enableval
="$enable_splines"
7906 if test "$enableval" = yes; then
7907 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7909 ac_cv_use_splines
='wxUSE_SPLINES=no'
7914 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7915 if test "x$LINE" != x
; then
7916 eval "DEFAULT_$LINE"
7921 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7926 eval "$ac_cv_use_splines"
7927 if test "$no_cache" != 1; then
7928 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7931 if test "$wxUSE_SPLINES" = yes; then
7932 echo "$ac_t""yes" 1>&6
7934 echo "$ac_t""no" 1>&6
7938 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7939 echo "configure:7940: checking for --enable-validators" >&5
7941 # Check whether --enable-validators or --disable-validators was given.
7942 if test "${enable_validators+set}" = set; then
7943 enableval
="$enable_validators"
7945 if test "$enableval" = yes; then
7946 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7948 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7953 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7954 if test "x$LINE" != x
; then
7955 eval "DEFAULT_$LINE"
7960 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7965 eval "$ac_cv_use_validators"
7966 if test "$no_cache" != 1; then
7967 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7970 if test "$wxUSE_VALIDATORS" = yes; then
7971 echo "$ac_t""yes" 1>&6
7973 echo "$ac_t""no" 1>&6
7977 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7978 echo "configure:7979: checking for --enable-busyinfo" >&5
7980 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7981 if test "${enable_busyinfo+set}" = set; then
7982 enableval
="$enable_busyinfo"
7984 if test "$enableval" = yes; then
7985 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7987 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7992 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7993 if test "x$LINE" != x
; then
7994 eval "DEFAULT_$LINE"
7999 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8004 eval "$ac_cv_use_busyinfo"
8005 if test "$no_cache" != 1; then
8006 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8009 if test "$wxUSE_BUSYINFO" = yes; then
8010 echo "$ac_t""yes" 1>&6
8012 echo "$ac_t""no" 1>&6
8016 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8017 echo "configure:8018: checking for --enable-joystick" >&5
8019 # Check whether --enable-joystick or --disable-joystick was given.
8020 if test "${enable_joystick+set}" = set; then
8021 enableval
="$enable_joystick"
8023 if test "$enableval" = yes; then
8024 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8026 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8031 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8032 if test "x$LINE" != x
; then
8033 eval "DEFAULT_$LINE"
8038 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8043 eval "$ac_cv_use_joystick"
8044 if test "$no_cache" != 1; then
8045 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8048 if test "$wxUSE_JOYSTICK" = yes; then
8049 echo "$ac_t""yes" 1>&6
8051 echo "$ac_t""no" 1>&6
8055 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8056 echo "configure:8057: checking for --enable-metafile" >&5
8058 # Check whether --enable-metafile or --disable-metafile was given.
8059 if test "${enable_metafile+set}" = set; then
8060 enableval
="$enable_metafile"
8062 if test "$enableval" = yes; then
8063 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8065 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8070 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8071 if test "x$LINE" != x
; then
8072 eval "DEFAULT_$LINE"
8077 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8082 eval "$ac_cv_use_metafile"
8083 if test "$no_cache" != 1; then
8084 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8087 if test "$wxUSE_METAFILE" = yes; then
8088 echo "$ac_t""yes" 1>&6
8090 echo "$ac_t""no" 1>&6
8094 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8095 echo "configure:8096: checking for --enable-dragimage" >&5
8097 # Check whether --enable-dragimage or --disable-dragimage was given.
8098 if test "${enable_dragimage+set}" = set; then
8099 enableval
="$enable_dragimage"
8101 if test "$enableval" = yes; then
8102 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8104 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8109 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8110 if test "x$LINE" != x
; then
8111 eval "DEFAULT_$LINE"
8116 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8121 eval "$ac_cv_use_dragimage"
8122 if test "$no_cache" != 1; then
8123 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8126 if test "$wxUSE_DRAGIMAGE" = yes; then
8127 echo "$ac_t""yes" 1>&6
8129 echo "$ac_t""no" 1>&6
8135 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8136 echo "configure:8137: checking for --enable-palette" >&5
8138 # Check whether --enable-palette or --disable-palette was given.
8139 if test "${enable_palette+set}" = set; then
8140 enableval
="$enable_palette"
8142 if test "$enableval" = yes; then
8143 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8145 ac_cv_use_palette
='wxUSE_PALETTE=no'
8150 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8151 if test "x$LINE" != x
; then
8152 eval "DEFAULT_$LINE"
8157 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8162 eval "$ac_cv_use_palette"
8163 if test "$no_cache" != 1; then
8164 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8167 if test "$wxUSE_PALETTE" = yes; then
8168 echo "$ac_t""yes" 1>&6
8170 echo "$ac_t""no" 1>&6
8174 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8175 echo "configure:8176: checking for --enable-image" >&5
8177 # Check whether --enable-image or --disable-image was given.
8178 if test "${enable_image+set}" = set; then
8179 enableval
="$enable_image"
8181 if test "$enableval" = yes; then
8182 ac_cv_use_image
='wxUSE_IMAGE=yes'
8184 ac_cv_use_image
='wxUSE_IMAGE=no'
8189 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8190 if test "x$LINE" != x
; then
8191 eval "DEFAULT_$LINE"
8196 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8201 eval "$ac_cv_use_image"
8202 if test "$no_cache" != 1; then
8203 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8206 if test "$wxUSE_IMAGE" = yes; then
8207 echo "$ac_t""yes" 1>&6
8209 echo "$ac_t""no" 1>&6
8213 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8214 echo "configure:8215: checking for --enable-gif" >&5
8216 # Check whether --enable-gif or --disable-gif was given.
8217 if test "${enable_gif+set}" = set; then
8218 enableval
="$enable_gif"
8220 if test "$enableval" = yes; then
8221 ac_cv_use_gif
='wxUSE_GIF=yes'
8223 ac_cv_use_gif
='wxUSE_GIF=no'
8228 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8229 if test "x$LINE" != x
; then
8230 eval "DEFAULT_$LINE"
8235 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8240 eval "$ac_cv_use_gif"
8241 if test "$no_cache" != 1; then
8242 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8245 if test "$wxUSE_GIF" = yes; then
8246 echo "$ac_t""yes" 1>&6
8248 echo "$ac_t""no" 1>&6
8252 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8253 echo "configure:8254: checking for --enable-pcx" >&5
8255 # Check whether --enable-pcx or --disable-pcx was given.
8256 if test "${enable_pcx+set}" = set; then
8257 enableval
="$enable_pcx"
8259 if test "$enableval" = yes; then
8260 ac_cv_use_pcx
='wxUSE_PCX=yes'
8262 ac_cv_use_pcx
='wxUSE_PCX=no'
8267 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8268 if test "x$LINE" != x
; then
8269 eval "DEFAULT_$LINE"
8274 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8279 eval "$ac_cv_use_pcx"
8280 if test "$no_cache" != 1; then
8281 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8284 if test "$wxUSE_PCX" = yes; then
8285 echo "$ac_t""yes" 1>&6
8287 echo "$ac_t""no" 1>&6
8291 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8292 echo "configure:8293: checking for --enable-iff" >&5
8294 # Check whether --enable-iff or --disable-iff was given.
8295 if test "${enable_iff+set}" = set; then
8296 enableval
="$enable_iff"
8298 if test "$enableval" = yes; then
8299 ac_cv_use_iff
='wxUSE_IFF=yes'
8301 ac_cv_use_iff
='wxUSE_IFF=no'
8306 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8307 if test "x$LINE" != x
; then
8308 eval "DEFAULT_$LINE"
8313 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8318 eval "$ac_cv_use_iff"
8319 if test "$no_cache" != 1; then
8320 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8323 if test "$wxUSE_IFF" = yes; then
8324 echo "$ac_t""yes" 1>&6
8326 echo "$ac_t""no" 1>&6
8330 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8331 echo "configure:8332: checking for --enable-pnm" >&5
8333 # Check whether --enable-pnm or --disable-pnm was given.
8334 if test "${enable_pnm+set}" = set; then
8335 enableval
="$enable_pnm"
8337 if test "$enableval" = yes; then
8338 ac_cv_use_pnm
='wxUSE_PNM=yes'
8340 ac_cv_use_pnm
='wxUSE_PNM=no'
8345 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8346 if test "x$LINE" != x
; then
8347 eval "DEFAULT_$LINE"
8352 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8357 eval "$ac_cv_use_pnm"
8358 if test "$no_cache" != 1; then
8359 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8362 if test "$wxUSE_PNM" = yes; then
8363 echo "$ac_t""yes" 1>&6
8365 echo "$ac_t""no" 1>&6
8369 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8370 echo "configure:8371: checking for --enable-xpm" >&5
8372 # Check whether --enable-xpm or --disable-xpm was given.
8373 if test "${enable_xpm+set}" = set; then
8374 enableval
="$enable_xpm"
8376 if test "$enableval" = yes; then
8377 ac_cv_use_xpm
='wxUSE_XPM=yes'
8379 ac_cv_use_xpm
='wxUSE_XPM=no'
8384 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8385 if test "x$LINE" != x
; then
8386 eval "DEFAULT_$LINE"
8391 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8396 eval "$ac_cv_use_xpm"
8397 if test "$no_cache" != 1; then
8398 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8401 if test "$wxUSE_XPM" = yes; then
8402 echo "$ac_t""yes" 1>&6
8404 echo "$ac_t""no" 1>&6
8408 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8409 echo "configure:8410: checking for --enable-ico_cur" >&5
8411 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8412 if test "${enable_ico_cur+set}" = set; then
8413 enableval
="$enable_ico_cur"
8415 if test "$enableval" = yes; then
8416 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8418 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8423 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8424 if test "x$LINE" != x
; then
8425 eval "DEFAULT_$LINE"
8430 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8435 eval "$ac_cv_use_ico_cur"
8436 if test "$no_cache" != 1; then
8437 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8440 if test "$wxUSE_ICO_CUR" = yes; then
8441 echo "$ac_t""yes" 1>&6
8443 echo "$ac_t""no" 1>&6
8450 *-pc-os2_emx | *-pc-os2-emx )
8461 echo "saving argument cache $wx_arg_cache_file"
8462 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8466 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8467 echo "configure:8468: checking for toolkit" >&5
8469 if test "$wxUSE_GUI" = "yes"; then
8471 if test "$USE_BEOS" = 1; then
8472 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8475 if test "$TOOLKIT_GIVEN" = 1; then
8476 for toolkit
in `echo $ALL_TOOLKITS`; do
8478 eval "value=\$${var}"
8479 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8482 for toolkit
in `echo $ALL_TOOLKITS`; do
8483 if test "$has_toolkit_in_cache" != 1; then
8484 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8486 var
=DEFAULT_wxUSE_
$toolkit
8488 eval "wxUSE_$toolkit=\$${var}"
8492 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8493 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0} + ${wxUSE_X11:-0}`
8496 *-pc-os2_emx | *-pc-os2-emx )
8497 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8500 case "$NUM_TOOLKITS" in
8504 { echo "configure: error: Please specify a toolkit -- cannot determine the default for ${host}" 1>&2; exit 1; }
8507 { echo "configure: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" 1>&2; exit 1; }
8510 for toolkit
in `echo $ALL_TOOLKITS`; do
8512 eval "value=\$${var}"
8513 if test "x$value" != x
; then
8514 cache_var
=CACHE_
$toolkit
8515 eval "cache=\$${cache_var}"
8516 if test "$cache" = 1; then
8517 echo "$var=$value" >> ${wx_arg_cache_file}
8519 if test "$value" = 1; then
8520 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8521 echo "$ac_t""$toolkit_echo" 1>&6
8526 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8534 if test "$wxUSE_MSW" = 1 ; then
8545 if test "$wants_win32" = 1 ; then
8548 cat >> confdefs.h
<<\EOF
8552 cat >> confdefs.h
<<\EOF
8556 cat >> confdefs.h
<<\EOF
8557 #define __WINDOWS__ 1
8560 cat >> confdefs.h
<<\EOF
8561 #define __GNUWIN32__ 1
8564 cat >> confdefs.h
<<\EOF
8568 cat >> confdefs.h
<<\EOF
8569 #define WINVER 0x0400
8573 if test "$doesnt_want_win32" = 1 ; then
8578 if test "$USE_UNIX" = 1 ; then
8580 cat >> confdefs.h
<<\EOF
8587 cat > confcache
<<\EOF
8588 # This file is a shell script that caches the results of configure
8589 # tests run on this system so they can be shared between configure
8590 # scripts and configure runs. It is not useful on other systems.
8591 # If it contains results you don't want to keep, you may remove or edit it.
8593 # By default, configure uses ./config.cache as the cache file,
8594 # creating it if it does not exist already. You can give configure
8595 # the --cache-file=FILE option to use a different cache file; that is
8596 # what configure does when it calls configure scripts in
8597 # subdirectories, so they share the cache.
8598 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8599 # config.status only pays attention to the cache file if you give it the
8600 # --recheck option to rerun configure.
8603 # The following way of writing the cache mishandles newlines in values,
8604 # but we know of no workaround that is simple, portable, and efficient.
8605 # So, don't put newlines in cache variables' values.
8606 # Ultrix sh set writes to stderr and can't be redirected directly,
8607 # and sets the high bit in the cache file unless we assign to the vars.
8609 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8611 # `set' does not quote correctly, so add quotes (double-quote substitution
8612 # turns \\\\ into \\, and sed turns \\ into \).
8614 -e "s/'/'\\\\''/g" \
8615 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8618 # `set' quotes correctly as required by POSIX, so do not add quotes.
8619 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8622 if cmp -s $cache_file confcache
; then
8625 if test -w $cache_file; then
8626 echo "updating cache $cache_file"
8627 cat confcache
> $cache_file
8629 echo "not updating unwritable cache $cache_file"
8635 if test "$build" != "$host" ; then
8636 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8640 RANLIB
=$host_alias-ranlib
8641 DLLTOOL
=$host_alias-dlltool
8642 RESCOMP
=$host_alias-windres
8645 STRIP
=$host_alias-strip
8647 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8652 # Extract the first word of "gcc", so it can be a program name with args.
8653 set dummy gcc
; ac_word
=$2
8654 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8655 echo "configure:8656: checking for $ac_word" >&5
8656 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8657 echo $ac_n "(cached) $ac_c" 1>&6
8659 if test -n "$CC"; then
8660 ac_cv_prog_CC
="$CC" # Let the user override the test.
8662 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8664 for ac_dir
in $ac_dummy; do
8665 test -z "$ac_dir" && ac_dir
=.
8666 if test -f $ac_dir/$ac_word; then
8675 if test -n "$CC"; then
8676 echo "$ac_t""$CC" 1>&6
8678 echo "$ac_t""no" 1>&6
8681 if test -z "$CC"; then
8682 # Extract the first word of "cc", so it can be a program name with args.
8683 set dummy cc
; ac_word
=$2
8684 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8685 echo "configure:8686: checking for $ac_word" >&5
8686 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8687 echo $ac_n "(cached) $ac_c" 1>&6
8689 if test -n "$CC"; then
8690 ac_cv_prog_CC
="$CC" # Let the user override the test.
8692 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8695 for ac_dir
in $ac_dummy; do
8696 test -z "$ac_dir" && ac_dir
=.
8697 if test -f $ac_dir/$ac_word; then
8698 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8699 ac_prog_rejected
=yes
8707 if test $ac_prog_rejected = yes; then
8708 # We found a bogon in the path, so make sure we never use it.
8709 set dummy
$ac_cv_prog_CC
8711 if test $# -gt 0; then
8712 # We chose a different compiler from the bogus one.
8713 # However, it has the same basename, so the bogon will be chosen
8714 # first if we set CC to just the basename; use the full file name.
8716 set dummy
"$ac_dir/$ac_word" "$@"
8724 if test -n "$CC"; then
8725 echo "$ac_t""$CC" 1>&6
8727 echo "$ac_t""no" 1>&6
8730 if test -z "$CC"; then
8731 case "`uname -s`" in
8733 # Extract the first word of "cl", so it can be a program name with args.
8734 set dummy cl
; ac_word
=$2
8735 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8736 echo "configure:8737: checking for $ac_word" >&5
8737 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8738 echo $ac_n "(cached) $ac_c" 1>&6
8740 if test -n "$CC"; then
8741 ac_cv_prog_CC
="$CC" # Let the user override the test.
8743 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8745 for ac_dir
in $ac_dummy; do
8746 test -z "$ac_dir" && ac_dir
=.
8747 if test -f $ac_dir/$ac_word; then
8756 if test -n "$CC"; then
8757 echo "$ac_t""$CC" 1>&6
8759 echo "$ac_t""no" 1>&6
8764 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8767 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8768 echo "configure:8769: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8771 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8772 ac_cpp
='$CPP $CPPFLAGS'
8773 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8774 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8775 cross_compiling
=$ac_cv_prog_cc_cross
8777 cat > conftest.
$ac_ext << EOF
8779 #line 8780 "configure"
8780 #include "confdefs.h"
8784 if { (eval echo configure
:8785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8785 ac_cv_prog_cc_works
=yes
8786 # If we can't run a trivial program, we are probably using a cross compiler.
8787 if (.
/conftest
; exit) 2>/dev
/null
; then
8788 ac_cv_prog_cc_cross
=no
8790 ac_cv_prog_cc_cross
=yes
8793 echo "configure: failed program was:" >&5
8794 cat conftest.
$ac_ext >&5
8795 ac_cv_prog_cc_works
=no
8799 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8800 ac_cpp
='$CPP $CPPFLAGS'
8801 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8802 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8803 cross_compiling
=$ac_cv_prog_cc_cross
8805 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8806 if test $ac_cv_prog_cc_works = no
; then
8807 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8809 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8810 echo "configure:8811: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8811 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8812 cross_compiling
=$ac_cv_prog_cc_cross
8814 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8815 echo "configure:8816: checking whether we are using GNU C" >&5
8816 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8817 echo $ac_n "(cached) $ac_c" 1>&6
8819 cat > conftest.c
<<EOF
8824 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8825: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8831 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8833 if test $ac_cv_prog_gcc = yes; then
8839 ac_test_CFLAGS
="${CFLAGS+set}"
8840 ac_save_CFLAGS
="$CFLAGS"
8842 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8843 echo "configure:8844: checking whether ${CC-cc} accepts -g" >&5
8844 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8845 echo $ac_n "(cached) $ac_c" 1>&6
8847 echo 'void f(){}' > conftest.c
8848 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8857 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8858 if test "$ac_test_CFLAGS" = set; then
8859 CFLAGS
="$ac_save_CFLAGS"
8860 elif test $ac_cv_prog_cc_g = yes; then
8861 if test "$GCC" = yes; then
8867 if test "$GCC" = yes; then
8875 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8876 echo "configure:8877: checking how to run the C preprocessor" >&5
8877 # On Suns, sometimes $CPP names a directory.
8878 if test -n "$CPP" && test -d "$CPP"; then
8881 if test -z "$CPP"; then
8882 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8883 echo $ac_n "(cached) $ac_c" 1>&6
8885 # This must be in double quotes, not single quotes, because CPP may get
8886 # substituted into the Makefile and "${CC-cc}" will confuse make.
8888 # On the NeXT, cc -E runs the code through the compiler's parser,
8889 # not just through cpp.
8890 cat > conftest.
$ac_ext <<EOF
8891 #line 8892 "configure"
8892 #include "confdefs.h"
8896 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8897 { (eval echo configure
:8898: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8898 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8899 if test -z "$ac_err"; then
8903 echo "configure: failed program was:" >&5
8904 cat conftest.
$ac_ext >&5
8906 CPP
="${CC-cc} -E -traditional-cpp"
8907 cat > conftest.
$ac_ext <<EOF
8908 #line 8909 "configure"
8909 #include "confdefs.h"
8913 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8914 { (eval echo configure
:8915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8915 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8916 if test -z "$ac_err"; then
8920 echo "configure: failed program was:" >&5
8921 cat conftest.
$ac_ext >&5
8923 CPP
="${CC-cc} -nologo -E"
8924 cat > conftest.
$ac_ext <<EOF
8925 #line 8926 "configure"
8926 #include "confdefs.h"
8930 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8931 { (eval echo configure
:8932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8932 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8933 if test -z "$ac_err"; then
8937 echo "configure: failed program was:" >&5
8938 cat conftest.
$ac_ext >&5
8947 ac_cv_prog_CPP
="$CPP"
8949 CPP
="$ac_cv_prog_CPP"
8951 ac_cv_prog_CPP
="$CPP"
8953 echo "$ac_t""$CPP" 1>&6
8955 if test $ac_cv_prog_gcc = yes; then
8956 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8957 echo "configure:8958: checking whether ${CC-cc} needs -traditional" >&5
8958 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8959 echo $ac_n "(cached) $ac_c" 1>&6
8961 ac_pattern
="Autoconf.*'x'"
8962 cat > conftest.
$ac_ext <<EOF
8963 #line 8964 "configure"
8964 #include "confdefs.h"
8968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8969 egrep "$ac_pattern" >/dev
/null
2>&1; then
8971 ac_cv_prog_gcc_traditional
=yes
8974 ac_cv_prog_gcc_traditional
=no
8979 if test $ac_cv_prog_gcc_traditional = no
; then
8980 cat > conftest.
$ac_ext <<EOF
8981 #line 8982 "configure"
8982 #include "confdefs.h"
8986 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8987 egrep "$ac_pattern" >/dev
/null
2>&1; then
8989 ac_cv_prog_gcc_traditional
=yes
8996 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8997 if test $ac_cv_prog_gcc_traditional = yes; then
8998 CC
="$CC -traditional"
9005 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9006 ac_cpp
='$CXXCPP $CPPFLAGS'
9007 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9008 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9009 cross_compiling
=$ac_cv_prog_cxx_cross
9012 CXXFLAGS
=${CXXFLAGS:=}
9013 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9015 # Extract the first word of "$ac_prog", so it can be a program name with args.
9016 set dummy
$ac_prog; ac_word
=$2
9017 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9018 echo "configure:9019: checking for $ac_word" >&5
9019 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9020 echo $ac_n "(cached) $ac_c" 1>&6
9022 if test -n "$CXX"; then
9023 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9025 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9027 for ac_dir
in $ac_dummy; do
9028 test -z "$ac_dir" && ac_dir
=.
9029 if test -f $ac_dir/$ac_word; then
9030 ac_cv_prog_CXX
="$ac_prog"
9037 CXX
="$ac_cv_prog_CXX"
9038 if test -n "$CXX"; then
9039 echo "$ac_t""$CXX" 1>&6
9041 echo "$ac_t""no" 1>&6
9044 test -n "$CXX" && break
9046 test -n "$CXX" || CXX
="gcc"
9049 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9050 echo "configure:9051: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9054 ac_cpp
='$CXXCPP $CPPFLAGS'
9055 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9056 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9057 cross_compiling
=$ac_cv_prog_cxx_cross
9059 cat > conftest.
$ac_ext << EOF
9061 #line 9062 "configure"
9062 #include "confdefs.h"
9064 int main(){return(0);}
9066 if { (eval echo configure
:9067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9067 ac_cv_prog_cxx_works
=yes
9068 # If we can't run a trivial program, we are probably using a cross compiler.
9069 if (.
/conftest
; exit) 2>/dev
/null
; then
9070 ac_cv_prog_cxx_cross
=no
9072 ac_cv_prog_cxx_cross
=yes
9075 echo "configure: failed program was:" >&5
9076 cat conftest.
$ac_ext >&5
9077 ac_cv_prog_cxx_works
=no
9081 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9082 ac_cpp
='$CXXCPP $CPPFLAGS'
9083 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9084 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9085 cross_compiling
=$ac_cv_prog_cxx_cross
9087 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9088 if test $ac_cv_prog_cxx_works = no
; then
9089 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9091 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9092 echo "configure:9093: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9093 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9094 cross_compiling
=$ac_cv_prog_cxx_cross
9096 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9097 echo "configure:9098: checking whether we are using GNU C++" >&5
9098 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9099 echo $ac_n "(cached) $ac_c" 1>&6
9101 cat > conftest.C
<<EOF
9106 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9107: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9113 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9115 if test $ac_cv_prog_gxx = yes; then
9121 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9122 ac_save_CXXFLAGS
="$CXXFLAGS"
9124 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9125 echo "configure:9126: checking whether ${CXX-g++} accepts -g" >&5
9126 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9127 echo $ac_n "(cached) $ac_c" 1>&6
9129 echo 'void f(){}' > conftest.cc
9130 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9131 ac_cv_prog_cxx_g
=yes
9139 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9140 if test "$ac_test_CXXFLAGS" = set; then
9141 CXXFLAGS
="$ac_save_CXXFLAGS"
9142 elif test $ac_cv_prog_cxx_g = yes; then
9143 if test "$GXX" = yes; then
9149 if test "$GXX" = yes; then
9158 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9159 ac_cpp
='$CPP $CPPFLAGS'
9160 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9161 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9162 cross_compiling
=$ac_cv_prog_cc_cross
9165 # Extract the first word of "ranlib", so it can be a program name with args.
9166 set dummy ranlib
; ac_word
=$2
9167 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9168 echo "configure:9169: checking for $ac_word" >&5
9169 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9170 echo $ac_n "(cached) $ac_c" 1>&6
9172 if test -n "$RANLIB"; then
9173 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9175 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9177 for ac_dir
in $ac_dummy; do
9178 test -z "$ac_dir" && ac_dir
=.
9179 if test -f $ac_dir/$ac_word; then
9180 ac_cv_prog_RANLIB
="ranlib"
9185 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9188 RANLIB
="$ac_cv_prog_RANLIB"
9189 if test -n "$RANLIB"; then
9190 echo "$ac_t""$RANLIB" 1>&6
9192 echo "$ac_t""no" 1>&6
9196 # Extract the first word of "ar", so it can be a program name with args.
9197 set dummy
ar; ac_word
=$2
9198 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9199 echo "configure:9200: checking for $ac_word" >&5
9200 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9201 echo $ac_n "(cached) $ac_c" 1>&6
9203 if test -n "$AR"; then
9204 ac_cv_prog_AR
="$AR" # Let the user override the test.
9206 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9208 for ac_dir
in $ac_dummy; do
9209 test -z "$ac_dir" && ac_dir
=.
9210 if test -f $ac_dir/$ac_word; then
9216 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9220 if test -n "$AR"; then
9221 echo "$ac_t""$AR" 1>&6
9223 echo "$ac_t""no" 1>&6
9227 # Find a good install program. We prefer a C program (faster),
9228 # so one script is as good as another. But avoid the broken or
9229 # incompatible versions:
9230 # SysV /etc/install, /usr/sbin/install
9231 # SunOS /usr/etc/install
9232 # IRIX /sbin/install
9234 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9235 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9236 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9237 # ./install, which can be erroneously created by make from ./install.sh.
9238 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9239 echo "configure:9240: checking for a BSD compatible install" >&5
9240 if test -z "$INSTALL"; then
9241 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9242 echo $ac_n "(cached) $ac_c" 1>&6
9244 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9245 for ac_dir
in $PATH; do
9246 # Account for people who put trailing slashes in PATH elements.
9248 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9250 # OSF1 and SCO ODT 3.0 have their own names for install.
9251 # Don't use installbsd from OSF since it installs stuff as root
9253 for ac_prog
in ginstall scoinst
install; do
9254 if test -f $ac_dir/$ac_prog; then
9255 if test $ac_prog = install &&
9256 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9257 # AIX install. It has an incompatible calling convention.
9260 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9271 if test "${ac_cv_path_install+set}" = set; then
9272 INSTALL
="$ac_cv_path_install"
9274 # As a last resort, use the slow shell script. We don't cache a
9275 # path for INSTALL within a source directory, because that will
9276 # break other packages using the cache if that directory is
9277 # removed, or if the path is relative.
9278 INSTALL
="$ac_install_sh"
9281 echo "$ac_t""$INSTALL" 1>&6
9283 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9284 # It thinks the first close brace ends the variable substitution.
9285 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9287 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9289 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9296 INSTALL
=`pwd`/${INSTALL} ;;
9303 INSTALL_PROGRAM
="cp -fp"
9304 INSTALL_DATA
="cp -fp"
9310 # Extract the first word of "strip", so it can be a program name with args.
9311 set dummy strip
; ac_word
=$2
9312 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9313 echo "configure:9314: checking for $ac_word" >&5
9314 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9315 echo $ac_n "(cached) $ac_c" 1>&6
9317 if test -n "$STRIP"; then
9318 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9320 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9322 for ac_dir
in $ac_dummy; do
9323 test -z "$ac_dir" && ac_dir
=.
9324 if test -f $ac_dir/$ac_word; then
9325 ac_cv_prog_STRIP
="strip"
9330 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9333 STRIP
="$ac_cv_prog_STRIP"
9334 if test -n "$STRIP"; then
9335 echo "$ac_t""$STRIP" 1>&6
9337 echo "$ac_t""no" 1>&6
9341 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9342 echo "configure:9343: checking if make is GNU make" >&5
9343 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9344 echo $ac_n "(cached) $ac_c" 1>&6
9347 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9348 egrep -s GNU
> /dev
/null
); then
9349 wx_cv_prog_makeisgnu
="yes"
9351 wx_cv_prog_makeisgnu
="no"
9356 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9358 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9366 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9367 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9368 echo "configure:9369: checking if make supports VPATH" >&5
9369 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9370 echo $ac_n "(cached) $ac_c" 1>&6
9373 cat - << EOF > confMake
9379 if test ! -d sub
; then
9382 echo dummy
> sub
/file
9383 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9385 rm -f sub
/file check final_file confMake
9387 if test "$RESULT" = 0; then
9388 wx_cv_prog_makevpath
="yes"
9390 wx_cv_prog_makevpath
="no"
9395 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9397 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9398 { echo "configure: error:
9399 You need a make-utility that is able to use the variable
9401 If your version of make does not support VPATH correctly,
9402 please install GNU-make (possibly as gmake), and start
9403 configure with the following command:
9404 export MAKE=gmake; ./configure for sh-type shells
9405 setenv MAKE gmake; ./configure for csh-type shells
9406 Also please do remember to use gmake in this case every time
9407 you are trying to compile.
9410 for ac_prog
in 'bison -y' byacc
9412 # Extract the first word of "$ac_prog", so it can be a program name with args.
9413 set dummy
$ac_prog; ac_word
=$2
9414 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9415 echo "configure:9416: checking for $ac_word" >&5
9416 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9417 echo $ac_n "(cached) $ac_c" 1>&6
9419 if test -n "$YACC"; then
9420 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9422 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9424 for ac_dir
in $ac_dummy; do
9425 test -z "$ac_dir" && ac_dir
=.
9426 if test -f $ac_dir/$ac_word; then
9427 ac_cv_prog_YACC
="$ac_prog"
9434 YACC
="$ac_cv_prog_YACC"
9435 if test -n "$YACC"; then
9436 echo "$ac_t""$YACC" 1>&6
9438 echo "$ac_t""no" 1>&6
9441 test -n "$YACC" && break
9443 test -n "$YACC" || YACC
="yacc"
9446 # Extract the first word of "flex", so it can be a program name with args.
9447 set dummy flex
; ac_word
=$2
9448 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9449 echo "configure:9450: checking for $ac_word" >&5
9450 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9451 echo $ac_n "(cached) $ac_c" 1>&6
9453 if test -n "$LEX"; then
9454 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9456 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9458 for ac_dir
in $ac_dummy; do
9459 test -z "$ac_dir" && ac_dir
=.
9460 if test -f $ac_dir/$ac_word; then
9461 ac_cv_prog_LEX
="flex"
9466 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9469 LEX
="$ac_cv_prog_LEX"
9470 if test -n "$LEX"; then
9471 echo "$ac_t""$LEX" 1>&6
9473 echo "$ac_t""no" 1>&6
9476 if test -z "$LEXLIB"
9482 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9483 echo "configure:9484: checking for yywrap in -l$ac_lib" >&5
9484 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9485 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9486 echo $ac_n "(cached) $ac_c" 1>&6
9488 ac_save_LIBS
="$LIBS"
9489 LIBS
="-l$ac_lib $LIBS"
9490 cat > conftest.
$ac_ext <<EOF
9491 #line 9492 "configure"
9492 #include "confdefs.h"
9493 /* Override any gcc2 internal prototype to avoid an error. */
9494 /* We use char because int might match the return type of a gcc2
9495 builtin and then its argument prototype would still apply. */
9502 if { (eval echo configure
:9503: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9504 eval "ac_cv_lib_$ac_lib_var=yes"
9506 echo "configure: failed program was:" >&5
9507 cat conftest.
$ac_ext >&5
9509 eval "ac_cv_lib_$ac_lib_var=no"
9512 LIBS
="$ac_save_LIBS"
9515 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9516 echo "$ac_t""yes" 1>&6
9519 echo "$ac_t""no" 1>&6
9525 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9526 echo "configure:9527: checking whether ln -s works" >&5
9527 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9528 echo $ac_n "(cached) $ac_c" 1>&6
9531 if ln -s X conftestdata
2>/dev
/null
9534 ac_cv_prog_LN_S
="ln -s"
9539 LN_S
="$ac_cv_prog_LN_S"
9540 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9541 echo "$ac_t""yes" 1>&6
9543 echo "$ac_t""no" 1>&6
9548 if test "$wxUSE_MAC" != 1; then
9549 for ac_hdr
in strings.h
9551 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9552 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9553 echo "configure:9554: checking for $ac_hdr" >&5
9554 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9555 echo $ac_n "(cached) $ac_c" 1>&6
9557 cat > conftest.
$ac_ext <<EOF
9558 #line 9559 "configure"
9559 #include "confdefs.h"
9562 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9563 { (eval echo configure
:9564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9564 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9565 if test -z "$ac_err"; then
9567 eval "ac_cv_header_$ac_safe=yes"
9570 echo "configure: failed program was:" >&5
9571 cat conftest.
$ac_ext >&5
9573 eval "ac_cv_header_$ac_safe=no"
9577 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9578 echo "$ac_t""yes" 1>&6
9579 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9580 cat >> confdefs.h
<<EOF
9581 #define $ac_tr_hdr 1
9585 echo "$ac_t""no" 1>&6
9591 for ac_hdr
in stdlib.h
9593 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9594 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9595 echo "configure:9596: checking for $ac_hdr" >&5
9596 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9597 echo $ac_n "(cached) $ac_c" 1>&6
9599 cat > conftest.
$ac_ext <<EOF
9600 #line 9601 "configure"
9601 #include "confdefs.h"
9604 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9605 { (eval echo configure
:9606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9606 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9607 if test -z "$ac_err"; then
9609 eval "ac_cv_header_$ac_safe=yes"
9612 echo "configure: failed program was:" >&5
9613 cat conftest.
$ac_ext >&5
9615 eval "ac_cv_header_$ac_safe=no"
9619 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9620 echo "$ac_t""yes" 1>&6
9621 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9622 cat >> confdefs.h
<<EOF
9623 #define $ac_tr_hdr 1
9627 echo "$ac_t""no" 1>&6
9631 for ac_hdr
in malloc.h
9633 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9634 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9635 echo "configure:9636: checking for $ac_hdr" >&5
9636 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9637 echo $ac_n "(cached) $ac_c" 1>&6
9639 cat > conftest.
$ac_ext <<EOF
9640 #line 9641 "configure"
9641 #include "confdefs.h"
9644 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9645 { (eval echo configure
:9646: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9646 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9647 if test -z "$ac_err"; then
9649 eval "ac_cv_header_$ac_safe=yes"
9652 echo "configure: failed program was:" >&5
9653 cat conftest.
$ac_ext >&5
9655 eval "ac_cv_header_$ac_safe=no"
9659 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9660 echo "$ac_t""yes" 1>&6
9661 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9662 cat >> confdefs.h
<<EOF
9663 #define $ac_tr_hdr 1
9667 echo "$ac_t""no" 1>&6
9671 for ac_hdr
in unistd.h
9673 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9674 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9675 echo "configure:9676: checking for $ac_hdr" >&5
9676 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9677 echo $ac_n "(cached) $ac_c" 1>&6
9679 cat > conftest.
$ac_ext <<EOF
9680 #line 9681 "configure"
9681 #include "confdefs.h"
9684 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9685 { (eval echo configure
:9686: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9686 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9687 if test -z "$ac_err"; then
9689 eval "ac_cv_header_$ac_safe=yes"
9692 echo "configure: failed program was:" >&5
9693 cat conftest.
$ac_ext >&5
9695 eval "ac_cv_header_$ac_safe=no"
9699 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9700 echo "$ac_t""yes" 1>&6
9701 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9702 cat >> confdefs.h
<<EOF
9703 #define $ac_tr_hdr 1
9707 echo "$ac_t""no" 1>&6
9711 for ac_hdr
in wchar.h
9713 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9714 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9715 echo "configure:9716: checking for $ac_hdr" >&5
9716 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9717 echo $ac_n "(cached) $ac_c" 1>&6
9719 cat > conftest.
$ac_ext <<EOF
9720 #line 9721 "configure"
9721 #include "confdefs.h"
9724 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9725 { (eval echo configure
:9726: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9726 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9727 if test -z "$ac_err"; then
9729 eval "ac_cv_header_$ac_safe=yes"
9732 echo "configure: failed program was:" >&5
9733 cat conftest.
$ac_ext >&5
9735 eval "ac_cv_header_$ac_safe=no"
9739 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9740 echo "$ac_t""yes" 1>&6
9741 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9742 cat >> confdefs.h
<<EOF
9743 #define $ac_tr_hdr 1
9747 echo "$ac_t""no" 1>&6
9752 if test "$ac_cv_header_wchar_h" != "yes"; then
9753 for ac_hdr
in wcstr.h
9755 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9756 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9757 echo "configure:9758: checking for $ac_hdr" >&5
9758 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9759 echo $ac_n "(cached) $ac_c" 1>&6
9761 cat > conftest.
$ac_ext <<EOF
9762 #line 9763 "configure"
9763 #include "confdefs.h"
9766 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9767 { (eval echo configure
:9768: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9768 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9769 if test -z "$ac_err"; then
9771 eval "ac_cv_header_$ac_safe=yes"
9774 echo "configure: failed program was:" >&5
9775 cat conftest.
$ac_ext >&5
9777 eval "ac_cv_header_$ac_safe=no"
9781 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9782 echo "$ac_t""yes" 1>&6
9783 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9784 cat >> confdefs.h
<<EOF
9785 #define $ac_tr_hdr 1
9789 echo "$ac_t""no" 1>&6
9795 for ac_hdr
in fnmatch.h
9797 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9798 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9799 echo "configure:9800: checking for $ac_hdr" >&5
9800 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9801 echo $ac_n "(cached) $ac_c" 1>&6
9803 cat > conftest.
$ac_ext <<EOF
9804 #line 9805 "configure"
9805 #include "confdefs.h"
9808 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9809 { (eval echo configure
:9810: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9810 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9811 if test -z "$ac_err"; then
9813 eval "ac_cv_header_$ac_safe=yes"
9816 echo "configure: failed program was:" >&5
9817 cat conftest.
$ac_ext >&5
9819 eval "ac_cv_header_$ac_safe=no"
9823 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9824 echo "$ac_t""yes" 1>&6
9825 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9826 cat >> confdefs.h
<<EOF
9827 #define $ac_tr_hdr 1
9831 echo "$ac_t""no" 1>&6
9836 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
9837 for ac_func
in fnmatch
9839 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9840 echo "configure:9841: checking for $ac_func" >&5
9841 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9842 echo $ac_n "(cached) $ac_c" 1>&6
9844 cat > conftest.
$ac_ext <<EOF
9845 #line 9846 "configure"
9846 #include "confdefs.h"
9847 /* System header to define __stub macros and hopefully few prototypes,
9848 which can conflict with char $ac_func(); below. */
9850 /* Override any gcc2 internal prototype to avoid an error. */
9851 /* We use char because int might match the return type of a gcc2
9852 builtin and then its argument prototype would still apply. */
9857 /* The GNU C library defines this for functions which it implements
9858 to always fail with ENOSYS. Some functions are actually named
9859 something starting with __ and the normal name is an alias. */
9860 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9868 if { (eval echo configure
:9869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9870 eval "ac_cv_func_$ac_func=yes"
9872 echo "configure: failed program was:" >&5
9873 cat conftest.
$ac_ext >&5
9875 eval "ac_cv_func_$ac_func=no"
9880 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9881 echo "$ac_t""yes" 1>&6
9882 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9883 cat >> confdefs.h
<<EOF
9884 #define $ac_tr_func 1
9888 echo "$ac_t""no" 1>&6
9894 for ac_hdr
in langinfo.h
9896 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9897 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9898 echo "configure:9899: checking for $ac_hdr" >&5
9899 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9900 echo $ac_n "(cached) $ac_c" 1>&6
9902 cat > conftest.
$ac_ext <<EOF
9903 #line 9904 "configure"
9904 #include "confdefs.h"
9907 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9908 { (eval echo configure
:9909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9909 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9910 if test -z "$ac_err"; then
9912 eval "ac_cv_header_$ac_safe=yes"
9915 echo "configure: failed program was:" >&5
9916 cat conftest.
$ac_ext >&5
9918 eval "ac_cv_header_$ac_safe=no"
9922 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9923 echo "$ac_t""yes" 1>&6
9924 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9925 cat >> confdefs.h
<<EOF
9926 #define $ac_tr_hdr 1
9930 echo "$ac_t""no" 1>&6
9935 if test "$wxUSE_GUI" = "yes"; then
9936 if test "$wxUSE_UNIX" = "yes"; then
9937 for ac_hdr
in X
11/XKBlib.h
9939 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9940 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9941 echo "configure:9942: checking for $ac_hdr" >&5
9942 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9943 echo $ac_n "(cached) $ac_c" 1>&6
9945 cat > conftest.
$ac_ext <<EOF
9946 #line 9947 "configure"
9947 #include "confdefs.h"
9950 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9951 { (eval echo configure
:9952: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9952 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9953 if test -z "$ac_err"; then
9955 eval "ac_cv_header_$ac_safe=yes"
9958 echo "configure: failed program was:" >&5
9959 cat conftest.
$ac_ext >&5
9961 eval "ac_cv_header_$ac_safe=no"
9965 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9966 echo "$ac_t""yes" 1>&6
9967 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9968 cat >> confdefs.h
<<EOF
9969 #define $ac_tr_hdr 1
9973 echo "$ac_t""no" 1>&6
9981 echo $ac_n "checking for working const""... $ac_c" 1>&6
9982 echo "configure:9983: checking for working const" >&5
9983 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9984 echo $ac_n "(cached) $ac_c" 1>&6
9986 cat > conftest.
$ac_ext <<EOF
9987 #line 9988 "configure"
9988 #include "confdefs.h"
9992 /* Ultrix mips cc rejects this. */
9993 typedef int charset[2]; const charset x;
9994 /* SunOS 4.1.1 cc rejects this. */
9995 char const *const *ccp;
9997 /* NEC SVR4.0.2 mips cc rejects this. */
9998 struct point {int x, y;};
9999 static struct point const zero = {0,0};
10000 /* AIX XL C 1.02.0.0 rejects this.
10001 It does not let you subtract one const X* pointer from another in an arm
10002 of an if-expression whose if-part is not a constant expression */
10003 const char *g = "string";
10004 ccp = &g + (g ? g-g : 0);
10005 /* HPUX 7.0 cc rejects these. */
10008 ccp = (char const *const *) p;
10009 { /* SCO 3.2v4 cc rejects this. */
10011 char const *s = 0 ? (char *) 0 : (char const *) 0;
10015 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10016 int x[] = {25, 17};
10017 const int *foo = &x[0];
10020 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10021 typedef const int *iptr;
10025 { /* AIX XL C 1.02.0.0 rejects this saying
10026 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10027 struct s { int j; const int *ap[3]; };
10028 struct s *b; b->j = 5;
10030 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10031 const int foo = 10;
10036 if { (eval echo configure
:10037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10040 echo "configure: failed program was:" >&5
10041 cat conftest.
$ac_ext >&5
10048 echo "$ac_t""$ac_cv_c_const" 1>&6
10049 if test $ac_cv_c_const = no
; then
10050 cat >> confdefs.h
<<\EOF
10056 echo $ac_n "checking for inline""... $ac_c" 1>&6
10057 echo "configure:10058: checking for inline" >&5
10058 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10059 echo $ac_n "(cached) $ac_c" 1>&6
10062 for ac_kw
in inline __inline__ __inline
; do
10063 cat > conftest.
$ac_ext <<EOF
10064 #line 10065 "configure"
10065 #include "confdefs.h"
10071 if { (eval echo configure
:10072: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10073 ac_cv_c_inline
=$ac_kw; break
10075 echo "configure: failed program was:" >&5
10076 cat conftest.
$ac_ext >&5
10083 echo "$ac_t""$ac_cv_c_inline" 1>&6
10084 case "$ac_cv_c_inline" in
10086 no
) cat >> confdefs.h
<<\EOF
10090 *) cat >> confdefs.h
<<EOF
10091 #define inline $ac_cv_c_inline
10097 echo $ac_n "checking size of char""... $ac_c" 1>&6
10098 echo "configure:10099: checking size of char" >&5
10099 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10100 echo $ac_n "(cached) $ac_c" 1>&6
10102 if test "$cross_compiling" = yes; then
10103 ac_cv_sizeof_char
=1
10105 cat > conftest.
$ac_ext <<EOF
10106 #line 10107 "configure"
10107 #include "confdefs.h"
10109 #include <sys/types.h>
10112 FILE *f=fopen("conftestval", "w");
10114 fprintf(f, "%d\n", sizeof(char));
10118 if { (eval echo configure
:10119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10120 ac_cv_sizeof_char
=`cat conftestval`
10122 echo "configure: failed program was:" >&5
10123 cat conftest.
$ac_ext >&5
10125 ac_cv_sizeof_char
=0
10131 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10132 cat >> confdefs.h
<<EOF
10133 #define SIZEOF_CHAR $ac_cv_sizeof_char
10137 echo $ac_n "checking size of short""... $ac_c" 1>&6
10138 echo "configure:10139: checking size of short" >&5
10139 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10140 echo $ac_n "(cached) $ac_c" 1>&6
10142 if test "$cross_compiling" = yes; then
10143 ac_cv_sizeof_short
=2
10145 cat > conftest.
$ac_ext <<EOF
10146 #line 10147 "configure"
10147 #include "confdefs.h"
10149 #include <sys/types.h>
10152 FILE *f=fopen("conftestval", "w");
10154 fprintf(f, "%d\n", sizeof(short));
10158 if { (eval echo configure
:10159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10160 ac_cv_sizeof_short
=`cat conftestval`
10162 echo "configure: failed program was:" >&5
10163 cat conftest.
$ac_ext >&5
10165 ac_cv_sizeof_short
=0
10171 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10172 cat >> confdefs.h
<<EOF
10173 #define SIZEOF_SHORT $ac_cv_sizeof_short
10177 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10178 echo "configure:10179: checking size of void *" >&5
10179 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10180 echo $ac_n "(cached) $ac_c" 1>&6
10182 if test "$cross_compiling" = yes; then
10183 ac_cv_sizeof_void_p
=4
10185 cat > conftest.
$ac_ext <<EOF
10186 #line 10187 "configure"
10187 #include "confdefs.h"
10189 #include <sys/types.h>
10192 FILE *f=fopen("conftestval", "w");
10194 fprintf(f, "%d\n", sizeof(void *));
10198 if { (eval echo configure
:10199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10200 ac_cv_sizeof_void_p
=`cat conftestval`
10202 echo "configure: failed program was:" >&5
10203 cat conftest.
$ac_ext >&5
10205 ac_cv_sizeof_void_p
=0
10211 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10212 cat >> confdefs.h
<<EOF
10213 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10217 echo $ac_n "checking size of int""... $ac_c" 1>&6
10218 echo "configure:10219: checking size of int" >&5
10219 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10220 echo $ac_n "(cached) $ac_c" 1>&6
10222 if test "$cross_compiling" = yes; then
10225 cat > conftest.
$ac_ext <<EOF
10226 #line 10227 "configure"
10227 #include "confdefs.h"
10229 #include <sys/types.h>
10232 FILE *f=fopen("conftestval", "w");
10234 fprintf(f, "%d\n", sizeof(int));
10238 if { (eval echo configure
:10239: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10240 ac_cv_sizeof_int
=`cat conftestval`
10242 echo "configure: failed program was:" >&5
10243 cat conftest.
$ac_ext >&5
10251 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10252 cat >> confdefs.h
<<EOF
10253 #define SIZEOF_INT $ac_cv_sizeof_int
10257 echo $ac_n "checking size of long""... $ac_c" 1>&6
10258 echo "configure:10259: checking size of long" >&5
10259 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10260 echo $ac_n "(cached) $ac_c" 1>&6
10262 if test "$cross_compiling" = yes; then
10263 ac_cv_sizeof_long
=4
10265 cat > conftest.
$ac_ext <<EOF
10266 #line 10267 "configure"
10267 #include "confdefs.h"
10269 #include <sys/types.h>
10272 FILE *f=fopen("conftestval", "w");
10274 fprintf(f, "%d\n", sizeof(long));
10278 if { (eval echo configure
:10279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10280 ac_cv_sizeof_long
=`cat conftestval`
10282 echo "configure: failed program was:" >&5
10283 cat conftest.
$ac_ext >&5
10285 ac_cv_sizeof_long
=0
10291 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10292 cat >> confdefs.h
<<EOF
10293 #define SIZEOF_LONG $ac_cv_sizeof_long
10300 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10301 echo "configure:10302: checking size of long long" >&5
10302 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10303 echo $ac_n "(cached) $ac_c" 1>&6
10305 if test "$cross_compiling" = yes; then
10306 ac_cv_sizeof_long_long
=8
10308 cat > conftest.
$ac_ext <<EOF
10309 #line 10310 "configure"
10310 #include "confdefs.h"
10312 #include <sys/types.h>
10315 FILE *f=fopen("conftestval", "w");
10317 fprintf(f, "%d\n", sizeof(long long));
10321 if { (eval echo configure
:10322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10323 ac_cv_sizeof_long_long
=`cat conftestval`
10325 echo "configure: failed program was:" >&5
10326 cat conftest.
$ac_ext >&5
10328 ac_cv_sizeof_long_long
=0
10334 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10335 cat >> confdefs.h
<<EOF
10336 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10342 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10343 echo "configure:10344: checking size of long long" >&5
10344 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10345 echo $ac_n "(cached) $ac_c" 1>&6
10347 if test "$cross_compiling" = yes; then
10348 ac_cv_sizeof_long_long
=0
10350 cat > conftest.
$ac_ext <<EOF
10351 #line 10352 "configure"
10352 #include "confdefs.h"
10354 #include <sys/types.h>
10357 FILE *f=fopen("conftestval", "w");
10359 fprintf(f, "%d\n", sizeof(long long));
10363 if { (eval echo configure
:10364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10365 ac_cv_sizeof_long_long
=`cat conftestval`
10367 echo "configure: failed program was:" >&5
10368 cat conftest.
$ac_ext >&5
10370 ac_cv_sizeof_long_long
=0
10376 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10377 cat >> confdefs.h
<<EOF
10378 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10384 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10385 echo "configure:10386: checking size of wchar_t" >&5
10386 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10387 echo $ac_n "(cached) $ac_c" 1>&6
10390 if test "$cross_compiling" = yes; then
10391 wx_cv_sizeof_wchar_t
=4
10394 cat > conftest.
$ac_ext <<EOF
10395 #line 10396 "configure"
10396 #include "confdefs.h"
10398 #ifdef HAVE_WCHAR_H
10400 # include <stddef.h>
10402 # include <wchar.h>
10404 #ifdef HAVE_STDLIB_H
10405 # include <stdlib.h>
10410 FILE *f=fopen("conftestval", "w");
10412 fprintf(f, "%i", sizeof(wchar_t));
10417 if { (eval echo configure
:10418: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10419 wx_cv_sizeof_wchar_t
=`cat conftestval`
10421 echo "configure: failed program was:" >&5
10422 cat conftest.
$ac_ext >&5
10424 wx_cv_sizeof_wchar_t
=0
10432 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10434 cat >> confdefs.h
<<EOF
10435 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10439 # Check whether --enable-largefile or --disable-largefile was given.
10440 if test "${enable_largefile+set}" = set; then
10441 enableval
="$enable_largefile"
10445 if test "$enable_largefile" != no
; then
10448 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10449 echo "configure:10450: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10450 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10451 echo $ac_n "(cached) $ac_c" 1>&6
10454 cat > conftest.
$ac_ext <<EOF
10455 #line 10456 "configure"
10456 #include "confdefs.h"
10457 #define _FILE_OFFSET_BITS 64
10458 #include <sys/types.h>
10461 unsigned int field: sizeof(off_t) == 8;
10466 if { (eval echo configure
:10467: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10468 ac_cv_sys_file_offset_bits
=64
10470 echo "configure: failed program was:" >&5
10471 cat conftest.
$ac_ext >&5
10473 ac_cv_sys_file_offset_bits
=no
10480 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10482 if test "$ac_cv_sys_file_offset_bits" != no
; then
10484 cat >> confdefs.h
<<EOF
10485 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10490 if test "x$wx_largefile" != "xyes"; then
10492 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10493 echo "configure:10494: checking for _LARGE_FILES value needed for large files" >&5
10494 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10495 echo $ac_n "(cached) $ac_c" 1>&6
10498 cat > conftest.
$ac_ext <<EOF
10499 #line 10500 "configure"
10500 #include "confdefs.h"
10501 #define _LARGE_FILES 1
10502 #include <sys/types.h>
10505 unsigned int field: sizeof(off_t) == 8;
10510 if { (eval echo configure
:10511: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10512 ac_cv_sys_large_files
=1
10514 echo "configure: failed program was:" >&5
10515 cat conftest.
$ac_ext >&5
10517 ac_cv_sys_large_files
=no
10524 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10526 if test "$ac_cv_sys_large_files" != no
; then
10528 cat >> confdefs.h
<<EOF
10529 #define _LARGE_FILES $ac_cv_sys_large_files
10536 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10537 echo "configure:10538: checking if large file support is available" >&5
10538 if test "x$wx_largefile" = "xyes"; then
10539 cat >> confdefs.h
<<\EOF
10540 #define HAVE_LARGEFILE_SUPPORT 1
10544 echo "$ac_t""$wx_largefile" 1>&6
10548 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10549 echo "configure:10550: checking whether byte ordering is bigendian" >&5
10550 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10551 echo $ac_n "(cached) $ac_c" 1>&6
10553 ac_cv_c_bigendian
=unknown
10554 # See if sys/param.h defines the BYTE_ORDER macro.
10555 cat > conftest.
$ac_ext <<EOF
10556 #line 10557 "configure"
10557 #include "confdefs.h"
10558 #include <sys/types.h>
10559 #include <sys/param.h>
10562 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10563 bogus endian macros
10567 if { (eval echo configure
:10568: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10569 # It does; now see whether it defined to BIG_ENDIAN or not.
10570 cat > conftest.
$ac_ext <<EOF
10571 #line 10572 "configure"
10572 #include "confdefs.h"
10573 #include <sys/types.h>
10574 #include <sys/param.h>
10577 #if BYTE_ORDER != BIG_ENDIAN
10582 if { (eval echo configure
:10583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10584 ac_cv_c_bigendian
=yes
10586 echo "configure: failed program was:" >&5
10587 cat conftest.
$ac_ext >&5
10589 ac_cv_c_bigendian
=no
10593 echo "configure: failed program was:" >&5
10594 cat conftest.
$ac_ext >&5
10597 if test $ac_cv_c_bigendian = unknown
; then
10598 if test "$cross_compiling" = yes; then
10599 ac_cv_c_bigendian
=unknown
10601 cat > conftest.
$ac_ext <<EOF
10602 #line 10603 "configure"
10603 #include "confdefs.h"
10605 /* Are we little or big endian? From Harbison&Steele. */
10609 char c[sizeof (long)];
10612 exit (u.c[sizeof (long) - 1] == 1);
10615 if { (eval echo configure
:10616: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10617 ac_cv_c_bigendian
=no
10619 echo "configure: failed program was:" >&5
10620 cat conftest.
$ac_ext >&5
10622 ac_cv_c_bigendian
=yes
10630 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10631 if test $ac_cv_c_bigendian = unknown
; then
10632 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
10634 if test $ac_cv_c_bigendian = yes; then
10635 cat >> confdefs.h
<<\EOF
10636 #define WORDS_BIGENDIAN 1
10642 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10643 echo "configure:10644: checking how to run the C++ preprocessor" >&5
10644 if test -z "$CXXCPP"; then
10645 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10646 echo $ac_n "(cached) $ac_c" 1>&6
10649 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10650 ac_cpp
='$CXXCPP $CPPFLAGS'
10651 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10652 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10653 cross_compiling
=$ac_cv_prog_cxx_cross
10654 CXXCPP
="${CXX-g++} -E"
10655 cat > conftest.
$ac_ext <<EOF
10656 #line 10657 "configure"
10657 #include "confdefs.h"
10658 #include <stdlib.h>
10660 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10661 { (eval echo configure
:10662: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10662 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10663 if test -z "$ac_err"; then
10667 echo "configure: failed program was:" >&5
10668 cat conftest.
$ac_ext >&5
10673 ac_cv_prog_CXXCPP
="$CXXCPP"
10675 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10676 ac_cpp
='$CXXCPP $CPPFLAGS'
10677 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10678 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10679 cross_compiling
=$ac_cv_prog_cxx_cross
10682 CXXCPP
="$ac_cv_prog_CXXCPP"
10683 echo "$ac_t""$CXXCPP" 1>&6
10686 if test "$cross_compiling" = "yes"; then
10687 cat >> confdefs.h
<<\EOF
10688 #define wxUSE_IOSTREAMH 1
10694 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10695 ac_cpp
='$CXXCPP $CPPFLAGS'
10696 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10697 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10698 cross_compiling
=$ac_cv_prog_cxx_cross
10701 for ac_hdr
in iostream
10703 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10704 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10705 echo "configure:10706: checking for $ac_hdr" >&5
10706 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10707 echo $ac_n "(cached) $ac_c" 1>&6
10709 cat > conftest.
$ac_ext <<EOF
10710 #line 10711 "configure"
10711 #include "confdefs.h"
10714 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10715 { (eval echo configure
:10716: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10716 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10717 if test -z "$ac_err"; then
10719 eval "ac_cv_header_$ac_safe=yes"
10722 echo "configure: failed program was:" >&5
10723 cat conftest.
$ac_ext >&5
10725 eval "ac_cv_header_$ac_safe=no"
10729 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10730 echo "$ac_t""yes" 1>&6
10731 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10732 cat >> confdefs.h
<<EOF
10733 #define $ac_tr_hdr 1
10737 echo "$ac_t""no" 1>&6
10742 if test "$ac_cv_header_iostream" = "yes" ; then
10745 cat >> confdefs.h
<<\EOF
10746 #define wxUSE_IOSTREAMH 1
10752 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10753 ac_cpp
='$CPP $CPPFLAGS'
10754 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10755 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10756 cross_compiling
=$ac_cv_prog_cc_cross
10762 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10763 echo "configure:10764: checking if C++ compiler supports bool" >&5
10764 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10765 echo $ac_n "(cached) $ac_c" 1>&6
10770 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10771 ac_cpp
='$CXXCPP $CPPFLAGS'
10772 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10773 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10774 cross_compiling
=$ac_cv_prog_cxx_cross
10777 cat > conftest.
$ac_ext <<EOF
10778 #line 10779 "configure"
10779 #include "confdefs.h"
10790 if { (eval echo configure
:10791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10796 echo "configure: failed program was:" >&5
10797 cat conftest.
$ac_ext >&5
10807 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10808 ac_cpp
='$CPP $CPPFLAGS'
10809 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10810 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10811 cross_compiling
=$ac_cv_prog_cc_cross
10816 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10818 if test "$wx_cv_cpp_bool" = "yes"; then
10819 cat >> confdefs.h
<<\EOF
10820 #define HAVE_BOOL 1
10827 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
10828 echo "configure:10829: checking if C++ compiler supports the explicit keyword" >&5
10829 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
10830 echo $ac_n "(cached) $ac_c" 1>&6
10835 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10836 ac_cpp
='$CXXCPP $CPPFLAGS'
10837 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10838 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10839 cross_compiling
=$ac_cv_prog_cxx_cross
10842 cat > conftest.
$ac_ext <<EOF
10843 #line 10844 "configure"
10844 #include "confdefs.h"
10846 class Foo { public: explicit Foo(int) {} };
10854 if { (eval echo configure
:10855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10857 cat > conftest.
$ac_ext <<EOF
10858 #line 10859 "configure"
10859 #include "confdefs.h"
10861 class Foo { public: explicit Foo(int) {} };
10862 static void TakeFoo(const Foo& foo) { }
10871 if { (eval echo configure
:10872: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10875 echo "configure: failed program was:" >&5
10876 cat conftest.
$ac_ext >&5
10884 echo "configure: failed program was:" >&5
10885 cat conftest.
$ac_ext >&5
10893 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10894 ac_cpp
='$CPP $CPPFLAGS'
10895 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10896 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10897 cross_compiling
=$ac_cv_prog_cc_cross
10902 echo "$ac_t""$wx_cv_explicit" 1>&6
10904 if test "$wx_cv_explicit" = "yes"; then
10905 cat >> confdefs.h
<<\EOF
10906 #define HAVE_EXPLICIT 1
10914 /usr/local/include \
10916 /usr/Motif-1.2/include \
10917 /usr/Motif-2.1/include \
10919 /usr/include/Motif1.2 \
10920 /opt/xpm/include/X11 \
10921 /opt/GBxpm/include/ \
10922 /opt/GBxpm/X11/include/ \
10924 /usr/Motif1.2/include \
10926 /usr/openwin/include \
10930 /usr/X11R6/include \
10931 /usr/X11R6.4/include \
10932 /usr/X11R5/include \
10933 /usr/X11R4/include \
10935 /usr/include/X11R6 \
10936 /usr/include/X11R5 \
10937 /usr/include/X11R4 \
10939 /usr/local/X11R6/include \
10940 /usr/local/X11R5/include \
10941 /usr/local/X11R4/include \
10943 /usr/local/include/X11R6 \
10944 /usr/local/include/X11R5 \
10945 /usr/local/include/X11R4 \
10949 /usr/local/X11/include \
10950 /usr/local/include/X11 \
10952 /usr/X386/include \
10953 /usr/x386/include \
10954 /usr/XFree86/include/X11 \
10956 X:/XFree86/include \
10957 X:/XFree86/include/X11 \
10960 /usr/local/include/gtk \
10961 /usr/include/glib \
10962 /usr/local/include/glib \
10965 /usr/local/include/qt \
10967 /usr/include/windows \
10968 /usr/include/wine \
10969 /usr/local/include/wine \
10971 /usr/unsupported/include \
10972 /usr/athena/include \
10973 /usr/local/x11r5/include \
10974 /usr/lpp/Xamples/include \
10976 /usr/openwin/share/include \
10980 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
10983 cat > confcache
<<\EOF
10984 # This file is a shell script that caches the results of configure
10985 # tests run on this system so they can be shared between configure
10986 # scripts and configure runs. It is not useful on other systems.
10987 # If it contains results you don't want to keep, you may remove or edit it.
10989 # By default, configure uses ./config.cache as the cache file,
10990 # creating it if it does not exist already. You can give configure
10991 # the --cache-file=FILE option to use a different cache file; that is
10992 # what configure does when it calls configure scripts in
10993 # subdirectories, so they share the cache.
10994 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10995 # config.status only pays attention to the cache file if you give it the
10996 # --recheck option to rerun configure.
10999 # The following way of writing the cache mishandles newlines in values,
11000 # but we know of no workaround that is simple, portable, and efficient.
11001 # So, don't put newlines in cache variables' values.
11002 # Ultrix sh set writes to stderr and can't be redirected directly,
11003 # and sets the high bit in the cache file unless we assign to the vars.
11005 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11007 # `set' does not quote correctly, so add quotes (double-quote substitution
11008 # turns \\\\ into \\, and sed turns \\ into \).
11010 -e "s/'/'\\\\''/g" \
11011 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11014 # `set' quotes correctly as required by POSIX, so do not add quotes.
11015 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11018 if cmp -s $cache_file confcache
; then
11021 if test -w $cache_file; then
11022 echo "updating cache $cache_file"
11023 cat confcache
> $cache_file
11025 echo "not updating unwritable cache $cache_file"
11031 if test "$USE_LINUX" = 1; then
11032 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11033 echo "configure:11034: checking for glibc 2.1 or later" >&5
11034 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11035 echo $ac_n "(cached) $ac_c" 1>&6
11038 cat > conftest.
$ac_ext <<EOF
11039 #line 11040 "configure"
11040 #include "confdefs.h"
11041 #include <features.h>
11044 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11045 #error not glibc2.1
11050 if { (eval echo configure
:11051: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11053 wx_cv_lib_glibc21
=yes
11056 echo "configure: failed program was:" >&5
11057 cat conftest.
$ac_ext >&5
11060 wx_cv_lib_glibc21
=no
11068 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11069 if test "$wx_cv_lib_glibc21" = "yes"; then
11070 cat >> confdefs.h
<<\EOF
11071 #define wxHAVE_GLIBC2 1
11077 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11078 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11079 cat >> confdefs.h
<<\EOF
11080 #define _GNU_SOURCE 1
11089 if test "$wxUSE_REGEX" != "no"; then
11090 cat >> confdefs.h
<<\EOF
11091 #define wxUSE_REGEX 1
11095 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11096 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11097 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11098 echo "configure:11099: checking for regex.h" >&5
11099 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11100 echo $ac_n "(cached) $ac_c" 1>&6
11102 cat > conftest.
$ac_ext <<EOF
11103 #line 11104 "configure"
11104 #include "confdefs.h"
11107 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11108 { (eval echo configure
:11109: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11109 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11110 if test -z "$ac_err"; then
11112 eval "ac_cv_header_$ac_safe=yes"
11115 echo "configure: failed program was:" >&5
11116 cat conftest.
$ac_ext >&5
11118 eval "ac_cv_header_$ac_safe=no"
11122 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11123 echo "$ac_t""yes" 1>&6
11124 for ac_func
in regcomp
11126 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11127 echo "configure:11128: checking for $ac_func" >&5
11128 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11129 echo $ac_n "(cached) $ac_c" 1>&6
11131 cat > conftest.
$ac_ext <<EOF
11132 #line 11133 "configure"
11133 #include "confdefs.h"
11134 /* System header to define __stub macros and hopefully few prototypes,
11135 which can conflict with char $ac_func(); below. */
11136 #include <assert.h>
11137 /* Override any gcc2 internal prototype to avoid an error. */
11138 /* We use char because int might match the return type of a gcc2
11139 builtin and then its argument prototype would still apply. */
11144 /* The GNU C library defines this for functions which it implements
11145 to always fail with ENOSYS. Some functions are actually named
11146 something starting with __ and the normal name is an alias. */
11147 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11155 if { (eval echo configure
:11156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11157 eval "ac_cv_func_$ac_func=yes"
11159 echo "configure: failed program was:" >&5
11160 cat conftest.
$ac_ext >&5
11162 eval "ac_cv_func_$ac_func=no"
11167 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11168 echo "$ac_t""yes" 1>&6
11169 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11170 cat >> confdefs.h
<<EOF
11171 #define $ac_tr_func 1
11175 echo "$ac_t""no" 1>&6
11180 echo "$ac_t""no" 1>&6
11184 if test "x$ac_cv_func_regcomp" != "xyes"; then
11185 if test "$wxUSE_REGEX" = "sys" ; then
11186 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11188 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11189 wxUSE_REGEX
=builtin
11196 if test "$wxUSE_REGEX" = "builtin" ; then
11197 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11204 if test "$wxUSE_ZLIB" != "no" ; then
11205 cat >> confdefs.h
<<\EOF
11206 #define wxUSE_ZLIB 1
11210 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11211 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11212 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11213 echo "configure:11214: checking for zlib.h" >&5
11214 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11215 echo $ac_n "(cached) $ac_c" 1>&6
11217 cat > conftest.
$ac_ext <<EOF
11218 #line 11219 "configure"
11219 #include "confdefs.h"
11222 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11223 { (eval echo configure
:11224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11224 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11225 if test -z "$ac_err"; then
11227 eval "ac_cv_header_$ac_safe=yes"
11230 echo "configure: failed program was:" >&5
11231 cat conftest.
$ac_ext >&5
11233 eval "ac_cv_header_$ac_safe=no"
11237 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11238 echo "$ac_t""yes" 1>&6
11239 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11240 echo "configure:11241: checking for deflate in -lz" >&5
11241 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11242 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11243 echo $ac_n "(cached) $ac_c" 1>&6
11245 ac_save_LIBS
="$LIBS"
11247 cat > conftest.
$ac_ext <<EOF
11248 #line 11249 "configure"
11249 #include "confdefs.h"
11250 /* Override any gcc2 internal prototype to avoid an error. */
11251 /* We use char because int might match the return type of a gcc2
11252 builtin and then its argument prototype would still apply. */
11259 if { (eval echo configure
:11260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11261 eval "ac_cv_lib_$ac_lib_var=yes"
11263 echo "configure: failed program was:" >&5
11264 cat conftest.
$ac_ext >&5
11266 eval "ac_cv_lib_$ac_lib_var=no"
11269 LIBS
="$ac_save_LIBS"
11272 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11273 echo "$ac_t""yes" 1>&6
11276 echo "$ac_t""no" 1>&6
11280 echo "$ac_t""no" 1>&6
11284 if test "x$ZLIB_LINK" = "x" ; then
11285 if test "$wxUSE_ZLIB" = "sys" ; then
11286 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11288 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
11296 if test "$wxUSE_ZLIB" = "builtin" ; then
11297 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11304 if test "$wxUSE_LIBPNG" != "no" ; then
11305 cat >> confdefs.h
<<\EOF
11306 #define wxUSE_LIBPNG 1
11310 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11311 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11315 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11316 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11317 wxUSE_LIBPNG
=builtin
11320 if test "$wxUSE_MGL" != 1 ; then
11321 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11322 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11323 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11324 echo "configure:11325: checking for png.h" >&5
11325 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11326 echo $ac_n "(cached) $ac_c" 1>&6
11328 cat > conftest.
$ac_ext <<EOF
11329 #line 11330 "configure"
11330 #include "confdefs.h"
11333 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11334 { (eval echo configure
:11335: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11335 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11336 if test -z "$ac_err"; then
11338 eval "ac_cv_header_$ac_safe=yes"
11341 echo "configure: failed program was:" >&5
11342 cat conftest.
$ac_ext >&5
11344 eval "ac_cv_header_$ac_safe=no"
11348 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11349 echo "$ac_t""yes" 1>&6
11350 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11351 echo "configure:11352: checking for png_check_sig in -lpng" >&5
11352 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11353 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11354 echo $ac_n "(cached) $ac_c" 1>&6
11356 ac_save_LIBS
="$LIBS"
11357 LIBS
="-lpng -lz -lm $LIBS"
11358 cat > conftest.
$ac_ext <<EOF
11359 #line 11360 "configure"
11360 #include "confdefs.h"
11361 /* Override any gcc2 internal prototype to avoid an error. */
11362 /* We use char because int might match the return type of a gcc2
11363 builtin and then its argument prototype would still apply. */
11364 char png_check_sig();
11370 if { (eval echo configure
:11371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11372 eval "ac_cv_lib_$ac_lib_var=yes"
11374 echo "configure: failed program was:" >&5
11375 cat conftest.
$ac_ext >&5
11377 eval "ac_cv_lib_$ac_lib_var=no"
11380 LIBS
="$ac_save_LIBS"
11383 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11384 echo "$ac_t""yes" 1>&6
11387 echo "$ac_t""no" 1>&6
11392 echo "$ac_t""no" 1>&6
11396 if test "x$PNG_LINK" = "x" ; then
11397 if test "$wxUSE_LIBPNG" = "sys" ; then
11398 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11400 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
11401 wxUSE_LIBPNG
=builtin
11409 if test "$wxUSE_LIBPNG" = "builtin" ; then
11410 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11413 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11419 if test "$wxUSE_LIBJPEG" != "no" ; then
11420 cat >> confdefs.h
<<\EOF
11421 #define wxUSE_LIBJPEG 1
11425 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11426 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11430 if test "$wxUSE_MGL" != 1 ; then
11431 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11432 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11433 echo "configure:11434: checking for jpeglib.h" >&5
11434 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11435 echo $ac_n "(cached) $ac_c" 1>&6
11437 cat > conftest.
$ac_ext <<EOF
11438 #line 11439 "configure"
11439 #include "confdefs.h"
11441 #undef HAVE_STDLIB_H
11443 #include <jpeglib.h>
11450 if { (eval echo configure
:11451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11452 ac_cv_header_jpeglib_h
=yes
11454 echo "configure: failed program was:" >&5
11455 cat conftest.
$ac_ext >&5
11457 ac_cv_header_jpeglib_h
=no
11464 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11466 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11467 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11468 echo "configure:11469: checking for jpeg_read_header in -ljpeg" >&5
11469 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11470 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11471 echo $ac_n "(cached) $ac_c" 1>&6
11473 ac_save_LIBS
="$LIBS"
11474 LIBS
="-ljpeg $LIBS"
11475 cat > conftest.
$ac_ext <<EOF
11476 #line 11477 "configure"
11477 #include "confdefs.h"
11478 /* Override any gcc2 internal prototype to avoid an error. */
11479 /* We use char because int might match the return type of a gcc2
11480 builtin and then its argument prototype would still apply. */
11481 char jpeg_read_header();
11487 if { (eval echo configure
:11488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11489 eval "ac_cv_lib_$ac_lib_var=yes"
11491 echo "configure: failed program was:" >&5
11492 cat conftest.
$ac_ext >&5
11494 eval "ac_cv_lib_$ac_lib_var=no"
11497 LIBS
="$ac_save_LIBS"
11500 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11501 echo "$ac_t""yes" 1>&6
11502 JPEG_LINK
=" -ljpeg"
11504 echo "$ac_t""no" 1>&6
11509 if test "x$JPEG_LINK" = "x" ; then
11510 if test "$wxUSE_LIBJPEG" = "sys" ; then
11511 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11513 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11514 wxUSE_LIBJPEG
=builtin
11522 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11523 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11530 if test "$wxUSE_LIBTIFF" != "no" ; then
11531 cat >> confdefs.h
<<\EOF
11532 #define wxUSE_LIBTIFF 1
11536 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11537 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11538 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11539 echo "configure:11540: checking for tiffio.h" >&5
11540 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11541 echo $ac_n "(cached) $ac_c" 1>&6
11543 cat > conftest.
$ac_ext <<EOF
11544 #line 11545 "configure"
11545 #include "confdefs.h"
11546 #include <tiffio.h>
11548 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11549 { (eval echo configure
:11550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11550 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11551 if test -z "$ac_err"; then
11553 eval "ac_cv_header_$ac_safe=yes"
11556 echo "configure: failed program was:" >&5
11557 cat conftest.
$ac_ext >&5
11559 eval "ac_cv_header_$ac_safe=no"
11563 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11564 echo "$ac_t""yes" 1>&6
11565 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11566 echo "configure:11567: checking for TIFFError in -ltiff" >&5
11567 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11568 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11569 echo $ac_n "(cached) $ac_c" 1>&6
11571 ac_save_LIBS
="$LIBS"
11572 LIBS
="-ltiff -lm $LIBS"
11573 cat > conftest.
$ac_ext <<EOF
11574 #line 11575 "configure"
11575 #include "confdefs.h"
11576 /* Override any gcc2 internal prototype to avoid an error. */
11577 /* We use char because int might match the return type of a gcc2
11578 builtin and then its argument prototype would still apply. */
11585 if { (eval echo configure
:11586: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11587 eval "ac_cv_lib_$ac_lib_var=yes"
11589 echo "configure: failed program was:" >&5
11590 cat conftest.
$ac_ext >&5
11592 eval "ac_cv_lib_$ac_lib_var=no"
11595 LIBS
="$ac_save_LIBS"
11598 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11599 echo "$ac_t""yes" 1>&6
11600 TIFF_LINK
=" -ltiff"
11602 echo "$ac_t""no" 1>&6
11607 echo "$ac_t""no" 1>&6
11611 if test "x$TIFF_LINK" = "x" ; then
11612 if test "$wxUSE_LIBTIFF" = "sys" ; then
11613 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
11615 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
11616 wxUSE_LIBTIFF
=builtin
11623 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11624 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11635 if test "$USE_WIN32" = 1 ; then
11636 for ac_hdr
in w32api.h
11638 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11639 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11640 echo "configure:11641: checking for $ac_hdr" >&5
11641 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11642 echo $ac_n "(cached) $ac_c" 1>&6
11644 cat > conftest.
$ac_ext <<EOF
11645 #line 11646 "configure"
11646 #include "confdefs.h"
11649 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11650 { (eval echo configure
:11651: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11651 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11652 if test -z "$ac_err"; then
11654 eval "ac_cv_header_$ac_safe=yes"
11657 echo "configure: failed program was:" >&5
11658 cat conftest.
$ac_ext >&5
11660 eval "ac_cv_header_$ac_safe=no"
11664 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11665 echo "$ac_t""yes" 1>&6
11666 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11667 cat >> confdefs.h
<<EOF
11668 #define $ac_tr_hdr 1
11672 echo "$ac_t""no" 1>&6
11676 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11677 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11678 echo "configure:11679: checking for windows.h" >&5
11679 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11680 echo $ac_n "(cached) $ac_c" 1>&6
11682 cat > conftest.
$ac_ext <<EOF
11683 #line 11684 "configure"
11684 #include "confdefs.h"
11685 #include <windows.h>
11687 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11688 { (eval echo configure
:11689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11689 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11690 if test -z "$ac_err"; then
11692 eval "ac_cv_header_$ac_safe=yes"
11695 echo "configure: failed program was:" >&5
11696 cat conftest.
$ac_ext >&5
11698 eval "ac_cv_header_$ac_safe=no"
11702 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11703 echo "$ac_t""yes" 1>&6
11706 echo "$ac_t""no" 1>&6
11708 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11713 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
11714 echo "configure:11715: checking if w32api has good enough MSIE support" >&5
11715 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
11716 echo $ac_n "(cached) $ac_c" 1>&6
11719 cat > conftest.
$ac_ext <<EOF
11720 #line 11721 "configure"
11721 #include "confdefs.h"
11722 #include <w32api.h>
11725 #define wxCHECK_W32API_VERSION( major, minor ) \
11726 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
11727 && ( ( __W32API_MAJOR_VERSION > (major) ) \
11728 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
11730 #if !wxCHECK_W32API_VERSION(1,1)
11731 #error You need w32api 1.1 or newer
11736 if { (eval echo configure
:11737: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11739 wx_cv_w32api_win32_ie
=yes
11742 echo "configure: failed program was:" >&5
11743 cat conftest.
$ac_ext >&5
11746 wx_cv_w32api_win32_ie
=no
11753 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
11754 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
11755 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
11758 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
11762 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
11763 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11766 if test "$wxUSE_ODBC" = "yes" ; then
11767 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
11770 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
11771 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
11774 if test "$wxUSE_GUI" = "yes"; then
11783 if test "$wxUSE_MSW" = 1 ; then
11789 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
11793 if test "$wxUSE_GTK" = 1; then
11794 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
11795 echo "configure:11796: checking for GTK+ version" >&5
11797 gtk_version_cached
=1
11798 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
11799 echo $ac_n "(cached) $ac_c" 1>&6
11802 gtk_version_cached
=0
11803 echo "$ac_t""" 1>&6
11806 if test "$wxUSE_THREADS" = "yes"; then
11807 GTK_MODULES
=gthread
11811 if test "x$wxUSE_GTK2" = "xyes"; then
11812 # Check whether --enable-gtktest or --disable-gtktest was given.
11813 if test "${enable_gtktest+set}" = set; then
11814 enableval
="$enable_gtktest"
11821 pkg_config_args
=gtk
+-2.0
11822 for module
in .
$GTK_MODULES
11826 pkg_config_args
="$pkg_config_args gthread-2.0"
11833 # Extract the first word of "pkg-config", so it can be a program name with args.
11834 set dummy pkg
-config; ac_word
=$2
11835 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11836 echo "configure:11837: checking for $ac_word" >&5
11837 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
11838 echo $ac_n "(cached) $ac_c" 1>&6
11840 case "$PKG_CONFIG" in
11842 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11845 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
11848 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11850 for ac_dir
in $ac_dummy; do
11851 test -z "$ac_dir" && ac_dir
=.
11852 if test -f $ac_dir/$ac_word; then
11853 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
11858 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11862 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
11863 if test -n "$PKG_CONFIG"; then
11864 echo "$ac_t""$PKG_CONFIG" 1>&6
11866 echo "$ac_t""no" 1>&6
11870 if test x
$PKG_CONFIG != xno
; then
11871 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
11874 echo *** pkg
-config too old
; version
0.7 or better required.
11882 min_gtk_version
=2.0.0
11883 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
11884 echo "configure:11885: checking for GTK+ - version >= $min_gtk_version" >&5
11886 if test x
$PKG_CONFIG != xno
; then
11887 ## don't try to run the test against uninstalled libtool libs
11888 if $PKG_CONFIG --uninstalled $pkg_config_args; then
11889 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
11893 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
11900 if test x
"$no_gtk" = x
; then
11901 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
11902 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
11903 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11904 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11905 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11906 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11907 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11908 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11909 if test "x$enable_gtktest" = "xyes" ; then
11910 ac_save_CFLAGS
="$CFLAGS"
11911 ac_save_LIBS
="$LIBS"
11912 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11913 LIBS
="$GTK_LIBS $LIBS"
11915 if test "$cross_compiling" = yes; then
11916 echo $ac_n "cross compiling; assumed OK... $ac_c"
11918 cat > conftest.
$ac_ext <<EOF
11919 #line 11920 "configure"
11920 #include "confdefs.h"
11922 #include <gtk/gtk.h>
11924 #include <stdlib.h>
11929 int major, minor, micro;
11932 system ("touch conf.gtktest");
11934 /* HP/UX 9 (%@#!) writes to sscanf strings */
11935 tmp_version = g_strdup("$min_gtk_version");
11936 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11937 printf("%s, bad version string\n", "$min_gtk_version");
11941 if ((gtk_major_version != $gtk_config_major_version) ||
11942 (gtk_minor_version != $gtk_config_minor_version) ||
11943 (gtk_micro_version != $gtk_config_micro_version))
11945 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11946 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11947 gtk_major_version, gtk_minor_version, gtk_micro_version);
11948 printf ("*** was found! If pkg-config was correct, then it is best\n");
11949 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11950 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
11951 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
11952 printf("*** required on your system.\n");
11953 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
11954 printf("*** to point to the correct configuration files\n");
11956 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
11957 (gtk_minor_version != GTK_MINOR_VERSION) ||
11958 (gtk_micro_version != GTK_MICRO_VERSION))
11960 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
11961 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
11962 printf("*** library (version %d.%d.%d)\n",
11963 gtk_major_version, gtk_minor_version, gtk_micro_version);
11967 if ((gtk_major_version > major) ||
11968 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11969 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11975 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11976 gtk_major_version, gtk_minor_version, gtk_micro_version);
11977 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11978 major, minor, micro);
11979 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11981 printf("*** If you have already installed a sufficiently new version, this error\n");
11982 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
11983 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11984 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
11985 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
11986 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11987 printf("*** so that the correct libraries are found at run-time))\n");
11994 if { (eval echo configure
:11995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11998 echo "configure: failed program was:" >&5
11999 cat conftest.
$ac_ext >&5
12006 CFLAGS
="$ac_save_CFLAGS"
12007 LIBS
="$ac_save_LIBS"
12010 if test "x$no_gtk" = x
; then
12011 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12014 echo "$ac_t""no" 1>&6
12015 if test "$PKG_CONFIG" = "no" ; then
12016 echo "*** A new enough version of pkg-config was not found."
12017 echo "*** See http://pkgconfig.sourceforge.net"
12019 if test -f conf.gtktest
; then
12022 echo "*** Could not run GTK+ test program, checking why..."
12023 ac_save_CFLAGS
="$CFLAGS"
12024 ac_save_LIBS
="$LIBS"
12025 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12026 LIBS
="$LIBS $GTK_LIBS"
12027 cat > conftest.
$ac_ext <<EOF
12028 #line 12029 "configure"
12029 #include "confdefs.h"
12031 #include <gtk/gtk.h>
12035 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12038 if { (eval echo configure
:12039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12040 echo "*** The test program compiled, but did not run. This usually means"
12041 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12042 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12043 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12044 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12045 echo "*** is required on your system"
12047 echo "*** If you have an old version installed, it is best to remove it, although"
12048 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12050 echo "configure: failed program was:" >&5
12051 cat conftest.
$ac_ext >&5
12053 echo "*** The test program failed to compile or link. See the file config.log for the"
12054 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12057 CFLAGS
="$ac_save_CFLAGS"
12058 LIBS
="$ac_save_LIBS"
12071 if test -z "$wx_cv_lib_gtk"; then
12072 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12073 if test "${with_gtk_prefix+set}" = set; then
12074 withval
="$with_gtk_prefix"
12075 gtk_config_prefix
="$withval"
12077 gtk_config_prefix
=""
12080 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12081 if test "${with_gtk_exec_prefix+set}" = set; then
12082 withval
="$with_gtk_exec_prefix"
12083 gtk_config_exec_prefix
="$withval"
12085 gtk_config_exec_prefix
=""
12088 # Check whether --enable-gtktest or --disable-gtktest was given.
12089 if test "${enable_gtktest+set}" = set; then
12090 enableval
="$enable_gtktest"
12097 for module
in .
$GTK_MODULES
12101 gtk_config_args
="$gtk_config_args gthread"
12106 if test x
$gtk_config_exec_prefix != x
; then
12107 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12108 if test x
${GTK_CONFIG+set} != xset
; then
12109 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12112 if test x
$gtk_config_prefix != x
; then
12113 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12114 if test x
${GTK_CONFIG+set} != xset
; then
12115 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12119 # Extract the first word of "gtk-config", so it can be a program name with args.
12120 set dummy gtk
-config; ac_word
=$2
12121 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12122 echo "configure:12123: checking for $ac_word" >&5
12123 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12124 echo $ac_n "(cached) $ac_c" 1>&6
12126 case "$GTK_CONFIG" in
12128 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12131 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12134 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12136 for ac_dir
in $ac_dummy; do
12137 test -z "$ac_dir" && ac_dir
=.
12138 if test -f $ac_dir/$ac_word; then
12139 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12144 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12148 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12149 if test -n "$GTK_CONFIG"; then
12150 echo "$ac_t""$GTK_CONFIG" 1>&6
12152 echo "$ac_t""no" 1>&6
12155 min_gtk_version
=1.2.7
12156 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12157 echo "configure:12158: checking for GTK - version >= $min_gtk_version" >&5
12159 if test "$GTK_CONFIG" = "no" ; then
12162 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12163 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12164 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12165 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12166 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12167 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12168 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12170 if test "x$enable_gtktest" = "xyes" ; then
12171 ac_save_CFLAGS
="$CFLAGS"
12172 ac_save_LIBS
="$LIBS"
12173 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12174 LIBS
="$GTK_LIBS $LIBS"
12176 if test "$cross_compiling" = yes; then
12177 echo $ac_n "cross compiling; assumed OK... $ac_c"
12179 cat > conftest.
$ac_ext <<EOF
12180 #line 12181 "configure"
12181 #include "confdefs.h"
12183 #include <gtk/gtk.h>
12185 #include <stdlib.h>
12190 int major, minor, micro;
12193 system ("touch conf.gtktest");
12195 /* HP/UX 9 (%@#!) writes to sscanf strings */
12196 tmp_version = g_strdup("$min_gtk_version");
12197 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12198 printf("%s, bad version string\n", "$min_gtk_version");
12202 if ((gtk_major_version != $gtk_config_major_version) ||
12203 (gtk_minor_version != $gtk_config_minor_version) ||
12204 (gtk_micro_version != $gtk_config_micro_version))
12206 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12207 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12208 gtk_major_version, gtk_minor_version, gtk_micro_version);
12209 printf ("*** was found! If gtk-config was correct, then it is best\n");
12210 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12211 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12212 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12213 printf("*** required on your system.\n");
12214 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12215 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12216 printf("*** before re-running configure\n");
12218 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12219 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12220 (gtk_minor_version != GTK_MINOR_VERSION) ||
12221 (gtk_micro_version != GTK_MICRO_VERSION))
12223 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12224 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12225 printf("*** library (version %d.%d.%d)\n",
12226 gtk_major_version, gtk_minor_version, gtk_micro_version);
12228 #endif /* defined (GTK_MAJOR_VERSION) ... */
12231 if ((gtk_major_version > major) ||
12232 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12233 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12239 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12240 gtk_major_version, gtk_minor_version, gtk_micro_version);
12241 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12242 major, minor, micro);
12243 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12245 printf("*** If you have already installed a sufficiently new version, this error\n");
12246 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12247 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12248 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12249 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12250 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12251 printf("*** so that the correct libraries are found at run-time))\n");
12258 if { (eval echo configure
:12259: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12262 echo "configure: failed program was:" >&5
12263 cat conftest.
$ac_ext >&5
12270 CFLAGS
="$ac_save_CFLAGS"
12271 LIBS
="$ac_save_LIBS"
12274 if test "x$no_gtk" = x
; then
12275 echo "$ac_t""yes" 1>&6
12276 wx_cv_lib_gtk
=1.2.7
12278 echo "$ac_t""no" 1>&6
12279 if test "$GTK_CONFIG" = "no" ; then
12280 echo "*** The gtk-config script installed by GTK could not be found"
12281 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12282 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12283 echo "*** full path to gtk-config."
12285 if test -f conf.gtktest
; then
12288 echo "*** Could not run GTK test program, checking why..."
12289 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12290 LIBS
="$LIBS $GTK_LIBS"
12291 cat > conftest.
$ac_ext <<EOF
12292 #line 12293 "configure"
12293 #include "confdefs.h"
12295 #include <gtk/gtk.h>
12299 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12302 if { (eval echo configure
:12303: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12304 echo "*** The test program compiled, but did not run. This usually means"
12305 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12306 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12307 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12308 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12309 echo "*** is required on your system"
12311 echo "*** If you have an old version installed, it is best to remove it, although"
12312 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12314 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12315 echo "*** came with the system with the command"
12317 echo "*** rpm --erase --nodeps gtk gtk-devel"
12319 echo "configure: failed program was:" >&5
12320 cat conftest.
$ac_ext >&5
12322 echo "*** The test program failed to compile or link. See the file config.log for the"
12323 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12324 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12325 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12328 CFLAGS
="$ac_save_CFLAGS"
12329 LIBS
="$ac_save_LIBS"
12342 if test -z "$wx_cv_lib_gtk"; then
12343 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12344 if test "${with_gtk_prefix+set}" = set; then
12345 withval
="$with_gtk_prefix"
12346 gtk_config_prefix
="$withval"
12348 gtk_config_prefix
=""
12351 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12352 if test "${with_gtk_exec_prefix+set}" = set; then
12353 withval
="$with_gtk_exec_prefix"
12354 gtk_config_exec_prefix
="$withval"
12356 gtk_config_exec_prefix
=""
12359 # Check whether --enable-gtktest or --disable-gtktest was given.
12360 if test "${enable_gtktest+set}" = set; then
12361 enableval
="$enable_gtktest"
12368 for module
in .
$GTK_MODULES
12372 gtk_config_args
="$gtk_config_args gthread"
12377 if test x
$gtk_config_exec_prefix != x
; then
12378 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12379 if test x
${GTK_CONFIG+set} != xset
; then
12380 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12383 if test x
$gtk_config_prefix != x
; then
12384 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12385 if test x
${GTK_CONFIG+set} != xset
; then
12386 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12390 # Extract the first word of "gtk-config", so it can be a program name with args.
12391 set dummy gtk
-config; ac_word
=$2
12392 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12393 echo "configure:12394: checking for $ac_word" >&5
12394 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12395 echo $ac_n "(cached) $ac_c" 1>&6
12397 case "$GTK_CONFIG" in
12399 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12402 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12405 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12407 for ac_dir
in $ac_dummy; do
12408 test -z "$ac_dir" && ac_dir
=.
12409 if test -f $ac_dir/$ac_word; then
12410 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12415 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12419 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12420 if test -n "$GTK_CONFIG"; then
12421 echo "$ac_t""$GTK_CONFIG" 1>&6
12423 echo "$ac_t""no" 1>&6
12426 min_gtk_version
=1.2.3
12427 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12428 echo "configure:12429: checking for GTK - version >= $min_gtk_version" >&5
12430 if test "$GTK_CONFIG" = "no" ; then
12433 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12434 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12435 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12436 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12437 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12438 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12439 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12440 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12441 if test "x$enable_gtktest" = "xyes" ; then
12442 ac_save_CFLAGS
="$CFLAGS"
12443 ac_save_LIBS
="$LIBS"
12444 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12445 LIBS
="$GTK_LIBS $LIBS"
12447 if test "$cross_compiling" = yes; then
12448 echo $ac_n "cross compiling; assumed OK... $ac_c"
12450 cat > conftest.
$ac_ext <<EOF
12451 #line 12452 "configure"
12452 #include "confdefs.h"
12454 #include <gtk/gtk.h>
12456 #include <stdlib.h>
12461 int major, minor, micro;
12464 system ("touch conf.gtktest");
12466 /* HP/UX 9 (%@#!) writes to sscanf strings */
12467 tmp_version = g_strdup("$min_gtk_version");
12468 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12469 printf("%s, bad version string\n", "$min_gtk_version");
12473 if ((gtk_major_version != $gtk_config_major_version) ||
12474 (gtk_minor_version != $gtk_config_minor_version) ||
12475 (gtk_micro_version != $gtk_config_micro_version))
12477 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12478 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12479 gtk_major_version, gtk_minor_version, gtk_micro_version);
12480 printf ("*** was found! If gtk-config was correct, then it is best\n");
12481 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12482 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12483 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12484 printf("*** required on your system.\n");
12485 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12486 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12487 printf("*** before re-running configure\n");
12489 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12490 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12491 (gtk_minor_version != GTK_MINOR_VERSION) ||
12492 (gtk_micro_version != GTK_MICRO_VERSION))
12494 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12495 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12496 printf("*** library (version %d.%d.%d)\n",
12497 gtk_major_version, gtk_minor_version, gtk_micro_version);
12499 #endif /* defined (GTK_MAJOR_VERSION) ... */
12502 if ((gtk_major_version > major) ||
12503 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12504 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12510 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12511 gtk_major_version, gtk_minor_version, gtk_micro_version);
12512 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12513 major, minor, micro);
12514 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12516 printf("*** If you have already installed a sufficiently new version, this error\n");
12517 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12518 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12519 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12520 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12521 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12522 printf("*** so that the correct libraries are found at run-time))\n");
12529 if { (eval echo configure
:12530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12533 echo "configure: failed program was:" >&5
12534 cat conftest.
$ac_ext >&5
12541 CFLAGS
="$ac_save_CFLAGS"
12542 LIBS
="$ac_save_LIBS"
12545 if test "x$no_gtk" = x
; then
12546 echo "$ac_t""yes" 1>&6
12547 wx_cv_lib_gtk
=1.2.3
12549 echo "$ac_t""no" 1>&6
12550 if test "$GTK_CONFIG" = "no" ; then
12551 echo "*** The gtk-config script installed by GTK could not be found"
12552 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12553 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12554 echo "*** full path to gtk-config."
12556 if test -f conf.gtktest
; then
12559 echo "*** Could not run GTK test program, checking why..."
12560 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12561 LIBS
="$LIBS $GTK_LIBS"
12562 cat > conftest.
$ac_ext <<EOF
12563 #line 12564 "configure"
12564 #include "confdefs.h"
12566 #include <gtk/gtk.h>
12570 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12573 if { (eval echo configure
:12574: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12575 echo "*** The test program compiled, but did not run. This usually means"
12576 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12577 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12578 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12579 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12580 echo "*** is required on your system"
12582 echo "*** If you have an old version installed, it is best to remove it, although"
12583 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12585 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12586 echo "*** came with the system with the command"
12588 echo "*** rpm --erase --nodeps gtk gtk-devel"
12590 echo "configure: failed program was:" >&5
12591 cat conftest.
$ac_ext >&5
12593 echo "*** The test program failed to compile or link. See the file config.log for the"
12594 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12595 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12596 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12599 CFLAGS
="$ac_save_CFLAGS"
12600 LIBS
="$ac_save_LIBS"
12613 if test -z "$wx_cv_lib_gtk"; then
12616 wx_cv_cflags_gtk
=$GTK_CFLAGS
12617 wx_cv_libs_gtk
=$GTK_LIBS
12624 if test "$gtk_version_cached" = 1; then
12625 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
12628 case "$wx_cv_lib_gtk" in
12636 *) { echo "configure: error:
12637 Please check that gtk-config is in path, the directory
12638 where GTK+ libraries are installed (returned by
12639 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
12640 equivalent variable and GTK+ is version 1.2.3 or above.
12645 if test "$WXGTK20" = 1; then
12646 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12650 if test -z "$PKG_CONFIG"; then
12651 # Extract the first word of "pkg-config", so it can be a program name with args.
12652 set dummy pkg
-config; ac_word
=$2
12653 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12654 echo "configure:12655: checking for $ac_word" >&5
12655 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12656 echo $ac_n "(cached) $ac_c" 1>&6
12658 case "$PKG_CONFIG" in
12660 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12663 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12666 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12668 for ac_dir
in $ac_dummy; do
12669 test -z "$ac_dir" && ac_dir
=.
12670 if test -f $ac_dir/$ac_word; then
12671 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12676 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12680 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12681 if test -n "$PKG_CONFIG"; then
12682 echo "$ac_t""$PKG_CONFIG" 1>&6
12684 echo "$ac_t""no" 1>&6
12689 if test "$PKG_CONFIG" = "no" ; then
12690 echo "*** The pkg-config script could not be found. Make sure it is"
12691 echo "*** in your path, or set the PKG_CONFIG environment variable"
12692 echo "*** to the full path to pkg-config."
12693 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12695 PKG_CONFIG_MIN_VERSION
=0.9.0
12696 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12697 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
12698 echo "configure:12699: checking for pangoft2" >&5
12700 if $PKG_CONFIG --exists "pangoft2" ; then
12701 echo "$ac_t""yes" 1>&6
12704 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
12705 echo "configure:12706: checking PANGOFT2_CFLAGS" >&5
12706 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
12707 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
12709 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
12710 echo "configure:12711: checking PANGOFT2_LIBS" >&5
12711 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
12712 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
12716 ## If we have a custom action on failure, don't print errors, but
12717 ## do set a variable so people can do so.
12718 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12725 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12726 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12730 if test $succeeded = yes; then
12732 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
12733 LIBS
="$LIBS $PANGOFT2_LIBS"
12737 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
12738 wxUSE_PRINTING_ARCHITECTURE
="no"
12746 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
12747 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
12749 AFMINSTALL
=afminstall
12753 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
12754 echo "configure:12755: checking for gdk_im_open in -lgdk" >&5
12755 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
12756 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12757 echo $ac_n "(cached) $ac_c" 1>&6
12759 ac_save_LIBS
="$LIBS"
12761 cat > conftest.
$ac_ext <<EOF
12762 #line 12763 "configure"
12763 #include "confdefs.h"
12764 /* Override any gcc2 internal prototype to avoid an error. */
12765 /* We use char because int might match the return type of a gcc2
12766 builtin and then its argument prototype would still apply. */
12767 char gdk_im_open();
12773 if { (eval echo configure
:12774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12775 eval "ac_cv_lib_$ac_lib_var=yes"
12777 echo "configure: failed program was:" >&5
12778 cat conftest.
$ac_ext >&5
12780 eval "ac_cv_lib_$ac_lib_var=no"
12783 LIBS
="$ac_save_LIBS"
12786 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12787 echo "$ac_t""yes" 1>&6
12788 cat >> confdefs.h
<<\EOF
12793 echo "$ac_t""no" 1>&6
12798 if test "$wxUSE_MGL" = 1; then
12799 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
12800 echo "configure:12801: checking for SciTech MGL library" >&5
12801 if test "x$MGL_ROOT" = x
; then
12802 echo "$ac_t""not found" 1>&6
12803 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
12805 echo "$ac_t""$MGL_ROOT" 1>&6
12810 mgl_os
=linux
/gcc
/glibc
12816 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
12821 if test "$wxUSE_DEBUG_FLAG" = yes ; then
12822 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
12823 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
12827 if test "x$mgl_lib_type" = x
; then
12828 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
12829 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
12830 mgl_lib_type
=release
12832 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
12836 wxUSE_UNIVERSAL
="yes"
12838 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
12839 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
12841 AFMINSTALL
=afminstall
12846 if test "$wxUSE_MICROWIN" = 1; then
12847 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
12848 echo "configure:12849: checking for MicroWindows" >&5
12849 if test "x$MICROWINDOWS" = x
; then
12850 echo "$ac_t""not found" 1>&6
12851 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
12853 echo "$ac_t""$MICROWINDOWS" 1>&6
12856 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
12857 echo "$ac_t""MicroWindows' libraries found." 1>&6
12859 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
12862 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
12863 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
12865 wxUSE_UNIVERSAL
="yes"
12867 AFMINSTALL
=afminstall
12869 GUIDIST
=MICROWIN_DIST
12871 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
12874 if test "$wxUSE_X11" = 1; then
12875 # If we find X, set shell vars x_includes and x_libraries to the
12876 # paths, otherwise set no_x=yes.
12877 # Uses ac_ vars as temps to allow command line to override cache and checks.
12878 # --without-x overrides everything else, but does not touch the cache.
12879 echo $ac_n "checking for X""... $ac_c" 1>&6
12880 echo "configure:12881: checking for X" >&5
12882 # Check whether --with-x or --without-x was given.
12883 if test "${with_x+set}" = set; then
12888 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12889 if test "x$with_x" = xno
; then
12890 # The user explicitly disabled X.
12893 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
12894 # Both variables are already set.
12897 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
12898 echo $ac_n "(cached) $ac_c" 1>&6
12900 # One or both of the vars are not set, and there is no cached value.
12901 ac_x_includes
=NO ac_x_libraries
=NO
12903 if mkdir conftestdir
; then
12905 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
12906 cat > Imakefile
<<'EOF'
12908 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
12910 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
12911 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12912 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
12913 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12914 for ac_extension
in a so sl
; do
12915 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
12916 test -f $ac_im_libdir/libX11.
$ac_extension; then
12917 ac_im_usrlibdir
=$ac_im_libdir; break
12920 # Screen out bogus values from the imake configuration. They are
12921 # bogus both because they are the default anyway, and because
12922 # using them would break gcc on systems where it needs fixed includes.
12923 case "$ac_im_incroot" in
12925 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
12927 case "$ac_im_usrlibdir" in
12928 /usr
/lib
| /lib
) ;;
12929 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
12936 if test "$ac_x_includes" = NO
; then
12937 # Guess where to find include files, by looking for this one X11 .h file.
12938 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
12940 # First, try using that file with no special directory specified.
12941 cat > conftest.
$ac_ext <<EOF
12942 #line 12943 "configure"
12943 #include "confdefs.h"
12944 #include <$x_direct_test_include>
12946 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12947 { (eval echo configure
:12948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12948 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12949 if test -z "$ac_err"; then
12951 # We can compile using X headers with no special include directory.
12955 echo "configure: failed program was:" >&5
12956 cat conftest.
$ac_ext >&5
12958 # Look for the header file in a standard set of common directories.
12959 # Check X11 before X11Rn because it is often a symlink to the current release.
12962 /usr
/X
11R
6/include \
12963 /usr
/X
11R
5/include \
12964 /usr
/X
11R
4/include \
12967 /usr
/include
/X11R6 \
12968 /usr
/include
/X11R5 \
12969 /usr
/include
/X11R4 \
12971 /usr
/local
/X
11/include \
12972 /usr
/local
/X
11R
6/include \
12973 /usr
/local
/X
11R
5/include \
12974 /usr
/local
/X
11R
4/include \
12976 /usr
/local
/include
/X11 \
12977 /usr
/local
/include
/X11R6 \
12978 /usr
/local
/include
/X11R5 \
12979 /usr
/local
/include
/X11R4 \
12981 /usr
/X
386/include \
12982 /usr
/x
386/include \
12983 /usr
/XFree
86/include
/X11 \
12986 /usr
/local
/include \
12987 /usr
/unsupported
/include \
12988 /usr
/athena
/include \
12989 /usr
/local
/x
11r
5/include \
12990 /usr
/lpp
/Xamples
/include \
12992 /usr
/openwin
/include \
12993 /usr
/openwin
/share
/include \
12996 if test -r "$ac_dir/$x_direct_test_include"; then
12997 ac_x_includes
=$ac_dir
13003 fi # $ac_x_includes = NO
13005 if test "$ac_x_libraries" = NO
; then
13006 # Check for the libraries.
13008 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13009 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13011 # See if we find them without any special options.
13012 # Don't add to $LIBS permanently.
13013 ac_save_LIBS
="$LIBS"
13014 LIBS
="-l$x_direct_test_library $LIBS"
13015 cat > conftest.
$ac_ext <<EOF
13016 #line 13017 "configure"
13017 #include "confdefs.h"
13020 ${x_direct_test_function}()
13023 if { (eval echo configure
:13024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13025 LIBS
="$ac_save_LIBS"
13026 # We can link X programs with no special library path.
13029 echo "configure: failed program was:" >&5
13030 cat conftest.
$ac_ext >&5
13032 LIBS
="$ac_save_LIBS"
13033 # First see if replacing the include by lib works.
13034 # Check X11 before X11Rn because it is often a symlink to the current release.
13035 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13046 /usr
/local
/X
11/lib \
13047 /usr
/local
/X
11R
6/lib \
13048 /usr
/local
/X
11R
5/lib \
13049 /usr
/local
/X
11R
4/lib \
13051 /usr
/local
/lib
/X11 \
13052 /usr
/local
/lib
/X11R6 \
13053 /usr
/local
/lib
/X11R5 \
13054 /usr
/local
/lib
/X11R4 \
13058 /usr
/XFree
86/lib
/X11 \
13062 /usr
/unsupported
/lib \
13064 /usr
/local
/x
11r
5/lib \
13065 /usr
/lpp
/Xamples
/lib \
13069 /usr
/openwin
/share
/lib \
13072 for ac_extension
in a so sl
; do
13073 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13074 ac_x_libraries
=$ac_dir
13081 fi # $ac_x_libraries = NO
13083 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13084 # Didn't find X anywhere. Cache the known absence of X.
13085 ac_cv_have_x
="have_x=no"
13087 # Record where we found X for the cache.
13088 ac_cv_have_x
="have_x=yes \
13089 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13093 eval "$ac_cv_have_x"
13096 if test "$have_x" != yes; then
13097 echo "$ac_t""$have_x" 1>&6
13100 # If each of the values was on the command line, it overrides each guess.
13101 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13102 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13103 # Update the cache value to reflect the command line values.
13104 ac_cv_have_x
="have_x=yes \
13105 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13106 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13109 if test "$no_x" = yes; then
13110 # Not all programs may use this symbol, but it does not hurt to define it.
13111 cat >> confdefs.h
<<\EOF
13112 #define X_DISPLAY_MISSING 1
13115 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13117 if test -n "$x_includes"; then
13118 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13121 # It would also be nice to do this for all -L options, not just this one.
13122 if test -n "$x_libraries"; then
13123 X_LIBS
="$X_LIBS -L$x_libraries"
13124 # For Solaris; some versions of Sun CC require a space after -R and
13125 # others require no space. Words are not sufficient . . . .
13126 case "`(uname -sr) 2>/dev/null`" in
13128 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13129 echo "configure:13130: checking whether -R must be followed by a space" >&5
13130 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13131 cat > conftest.
$ac_ext <<EOF
13132 #line 13133 "configure"
13133 #include "confdefs.h"
13139 if { (eval echo configure
:13140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13143 echo "configure: failed program was:" >&5
13144 cat conftest.
$ac_ext >&5
13149 if test $ac_R_nospace = yes; then
13150 echo "$ac_t""no" 1>&6
13151 X_LIBS
="$X_LIBS -R$x_libraries"
13153 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13154 cat > conftest.
$ac_ext <<EOF
13155 #line 13156 "configure"
13156 #include "confdefs.h"
13162 if { (eval echo configure
:13163: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13166 echo "configure: failed program was:" >&5
13167 cat conftest.
$ac_ext >&5
13172 if test $ac_R_space = yes; then
13173 echo "$ac_t""yes" 1>&6
13174 X_LIBS
="$X_LIBS -R $x_libraries"
13176 echo "$ac_t""neither works" 1>&6
13179 LIBS
="$ac_xsave_LIBS"
13183 # Check for system-dependent libraries X programs must link with.
13184 # Do this before checking for the system-independent R6 libraries
13185 # (-lICE), since we may need -lsocket or whatever for X linking.
13187 if test "$ISC" = yes; then
13188 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13190 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13191 # libraries were built with DECnet support. And karl@cs.umb.edu says
13192 # the Alpha needs dnet_stub (dnet does not exist).
13193 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13194 echo "configure:13195: checking for dnet_ntoa in -ldnet" >&5
13195 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13196 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13197 echo $ac_n "(cached) $ac_c" 1>&6
13199 ac_save_LIBS
="$LIBS"
13200 LIBS
="-ldnet $LIBS"
13201 cat > conftest.
$ac_ext <<EOF
13202 #line 13203 "configure"
13203 #include "confdefs.h"
13204 /* Override any gcc2 internal prototype to avoid an error. */
13205 /* We use char because int might match the return type of a gcc2
13206 builtin and then its argument prototype would still apply. */
13213 if { (eval echo configure
:13214: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13215 eval "ac_cv_lib_$ac_lib_var=yes"
13217 echo "configure: failed program was:" >&5
13218 cat conftest.
$ac_ext >&5
13220 eval "ac_cv_lib_$ac_lib_var=no"
13223 LIBS
="$ac_save_LIBS"
13226 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13227 echo "$ac_t""yes" 1>&6
13228 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13230 echo "$ac_t""no" 1>&6
13233 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13234 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13235 echo "configure:13236: checking for dnet_ntoa in -ldnet_stub" >&5
13236 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13237 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13238 echo $ac_n "(cached) $ac_c" 1>&6
13240 ac_save_LIBS
="$LIBS"
13241 LIBS
="-ldnet_stub $LIBS"
13242 cat > conftest.
$ac_ext <<EOF
13243 #line 13244 "configure"
13244 #include "confdefs.h"
13245 /* Override any gcc2 internal prototype to avoid an error. */
13246 /* We use char because int might match the return type of a gcc2
13247 builtin and then its argument prototype would still apply. */
13254 if { (eval echo configure
:13255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13256 eval "ac_cv_lib_$ac_lib_var=yes"
13258 echo "configure: failed program was:" >&5
13259 cat conftest.
$ac_ext >&5
13261 eval "ac_cv_lib_$ac_lib_var=no"
13264 LIBS
="$ac_save_LIBS"
13267 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13268 echo "$ac_t""yes" 1>&6
13269 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13271 echo "$ac_t""no" 1>&6
13276 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13277 # to get the SysV transport functions.
13278 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13280 # The nsl library prevents programs from opening the X display
13281 # on Irix 5.2, according to dickey@clark.net.
13282 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13283 echo "configure:13284: checking for gethostbyname" >&5
13284 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13285 echo $ac_n "(cached) $ac_c" 1>&6
13287 cat > conftest.
$ac_ext <<EOF
13288 #line 13289 "configure"
13289 #include "confdefs.h"
13290 /* System header to define __stub macros and hopefully few prototypes,
13291 which can conflict with char gethostbyname(); below. */
13292 #include <assert.h>
13293 /* Override any gcc2 internal prototype to avoid an error. */
13294 /* We use char because int might match the return type of a gcc2
13295 builtin and then its argument prototype would still apply. */
13296 char gethostbyname();
13300 /* The GNU C library defines this for functions which it implements
13301 to always fail with ENOSYS. Some functions are actually named
13302 something starting with __ and the normal name is an alias. */
13303 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13311 if { (eval echo configure
:13312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13313 eval "ac_cv_func_gethostbyname=yes"
13315 echo "configure: failed program was:" >&5
13316 cat conftest.
$ac_ext >&5
13318 eval "ac_cv_func_gethostbyname=no"
13323 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13324 echo "$ac_t""yes" 1>&6
13327 echo "$ac_t""no" 1>&6
13330 if test $ac_cv_func_gethostbyname = no
; then
13331 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13332 echo "configure:13333: checking for gethostbyname in -lnsl" >&5
13333 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13334 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13335 echo $ac_n "(cached) $ac_c" 1>&6
13337 ac_save_LIBS
="$LIBS"
13339 cat > conftest.
$ac_ext <<EOF
13340 #line 13341 "configure"
13341 #include "confdefs.h"
13342 /* Override any gcc2 internal prototype to avoid an error. */
13343 /* We use char because int might match the return type of a gcc2
13344 builtin and then its argument prototype would still apply. */
13345 char gethostbyname();
13351 if { (eval echo configure
:13352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13353 eval "ac_cv_lib_$ac_lib_var=yes"
13355 echo "configure: failed program was:" >&5
13356 cat conftest.
$ac_ext >&5
13358 eval "ac_cv_lib_$ac_lib_var=no"
13361 LIBS
="$ac_save_LIBS"
13364 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13365 echo "$ac_t""yes" 1>&6
13366 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13368 echo "$ac_t""no" 1>&6
13373 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13374 # socket/setsockopt and other routines are undefined under SCO ODT
13375 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13376 # on later versions), says simon@lia.di.epfl.ch: it contains
13377 # gethostby* variants that don't use the nameserver (or something).
13378 # -lsocket must be given before -lnsl if both are needed.
13379 # We assume that if connect needs -lnsl, so does gethostbyname.
13380 echo $ac_n "checking for connect""... $ac_c" 1>&6
13381 echo "configure:13382: checking for connect" >&5
13382 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13383 echo $ac_n "(cached) $ac_c" 1>&6
13385 cat > conftest.
$ac_ext <<EOF
13386 #line 13387 "configure"
13387 #include "confdefs.h"
13388 /* System header to define __stub macros and hopefully few prototypes,
13389 which can conflict with char connect(); below. */
13390 #include <assert.h>
13391 /* Override any gcc2 internal prototype to avoid an error. */
13392 /* We use char because int might match the return type of a gcc2
13393 builtin and then its argument prototype would still apply. */
13398 /* The GNU C library defines this for functions which it implements
13399 to always fail with ENOSYS. Some functions are actually named
13400 something starting with __ and the normal name is an alias. */
13401 #if defined (__stub_connect) || defined (__stub___connect)
13409 if { (eval echo configure
:13410: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13411 eval "ac_cv_func_connect=yes"
13413 echo "configure: failed program was:" >&5
13414 cat conftest.
$ac_ext >&5
13416 eval "ac_cv_func_connect=no"
13421 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13422 echo "$ac_t""yes" 1>&6
13425 echo "$ac_t""no" 1>&6
13428 if test $ac_cv_func_connect = no
; then
13429 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13430 echo "configure:13431: checking for connect in -lsocket" >&5
13431 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13432 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13433 echo $ac_n "(cached) $ac_c" 1>&6
13435 ac_save_LIBS
="$LIBS"
13436 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13437 cat > conftest.
$ac_ext <<EOF
13438 #line 13439 "configure"
13439 #include "confdefs.h"
13440 /* Override any gcc2 internal prototype to avoid an error. */
13441 /* We use char because int might match the return type of a gcc2
13442 builtin and then its argument prototype would still apply. */
13449 if { (eval echo configure
:13450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13451 eval "ac_cv_lib_$ac_lib_var=yes"
13453 echo "configure: failed program was:" >&5
13454 cat conftest.
$ac_ext >&5
13456 eval "ac_cv_lib_$ac_lib_var=no"
13459 LIBS
="$ac_save_LIBS"
13462 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13463 echo "$ac_t""yes" 1>&6
13464 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13466 echo "$ac_t""no" 1>&6
13471 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13472 echo $ac_n "checking for remove""... $ac_c" 1>&6
13473 echo "configure:13474: checking for remove" >&5
13474 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13475 echo $ac_n "(cached) $ac_c" 1>&6
13477 cat > conftest.
$ac_ext <<EOF
13478 #line 13479 "configure"
13479 #include "confdefs.h"
13480 /* System header to define __stub macros and hopefully few prototypes,
13481 which can conflict with char remove(); below. */
13482 #include <assert.h>
13483 /* Override any gcc2 internal prototype to avoid an error. */
13484 /* We use char because int might match the return type of a gcc2
13485 builtin and then its argument prototype would still apply. */
13490 /* The GNU C library defines this for functions which it implements
13491 to always fail with ENOSYS. Some functions are actually named
13492 something starting with __ and the normal name is an alias. */
13493 #if defined (__stub_remove) || defined (__stub___remove)
13501 if { (eval echo configure
:13502: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13503 eval "ac_cv_func_remove=yes"
13505 echo "configure: failed program was:" >&5
13506 cat conftest.
$ac_ext >&5
13508 eval "ac_cv_func_remove=no"
13513 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
13514 echo "$ac_t""yes" 1>&6
13517 echo "$ac_t""no" 1>&6
13520 if test $ac_cv_func_remove = no
; then
13521 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
13522 echo "configure:13523: checking for remove in -lposix" >&5
13523 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
13524 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13525 echo $ac_n "(cached) $ac_c" 1>&6
13527 ac_save_LIBS
="$LIBS"
13528 LIBS
="-lposix $LIBS"
13529 cat > conftest.
$ac_ext <<EOF
13530 #line 13531 "configure"
13531 #include "confdefs.h"
13532 /* Override any gcc2 internal prototype to avoid an error. */
13533 /* We use char because int might match the return type of a gcc2
13534 builtin and then its argument prototype would still apply. */
13541 if { (eval echo configure
:13542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13543 eval "ac_cv_lib_$ac_lib_var=yes"
13545 echo "configure: failed program was:" >&5
13546 cat conftest.
$ac_ext >&5
13548 eval "ac_cv_lib_$ac_lib_var=no"
13551 LIBS
="$ac_save_LIBS"
13554 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13555 echo "$ac_t""yes" 1>&6
13556 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
13558 echo "$ac_t""no" 1>&6
13563 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13564 echo $ac_n "checking for shmat""... $ac_c" 1>&6
13565 echo "configure:13566: checking for shmat" >&5
13566 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
13567 echo $ac_n "(cached) $ac_c" 1>&6
13569 cat > conftest.
$ac_ext <<EOF
13570 #line 13571 "configure"
13571 #include "confdefs.h"
13572 /* System header to define __stub macros and hopefully few prototypes,
13573 which can conflict with char shmat(); below. */
13574 #include <assert.h>
13575 /* Override any gcc2 internal prototype to avoid an error. */
13576 /* We use char because int might match the return type of a gcc2
13577 builtin and then its argument prototype would still apply. */
13582 /* The GNU C library defines this for functions which it implements
13583 to always fail with ENOSYS. Some functions are actually named
13584 something starting with __ and the normal name is an alias. */
13585 #if defined (__stub_shmat) || defined (__stub___shmat)
13593 if { (eval echo configure
:13594: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13595 eval "ac_cv_func_shmat=yes"
13597 echo "configure: failed program was:" >&5
13598 cat conftest.
$ac_ext >&5
13600 eval "ac_cv_func_shmat=no"
13605 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
13606 echo "$ac_t""yes" 1>&6
13609 echo "$ac_t""no" 1>&6
13612 if test $ac_cv_func_shmat = no
; then
13613 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
13614 echo "configure:13615: checking for shmat in -lipc" >&5
13615 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
13616 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13617 echo $ac_n "(cached) $ac_c" 1>&6
13619 ac_save_LIBS
="$LIBS"
13621 cat > conftest.
$ac_ext <<EOF
13622 #line 13623 "configure"
13623 #include "confdefs.h"
13624 /* Override any gcc2 internal prototype to avoid an error. */
13625 /* We use char because int might match the return type of a gcc2
13626 builtin and then its argument prototype would still apply. */
13633 if { (eval echo configure
:13634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13635 eval "ac_cv_lib_$ac_lib_var=yes"
13637 echo "configure: failed program was:" >&5
13638 cat conftest.
$ac_ext >&5
13640 eval "ac_cv_lib_$ac_lib_var=no"
13643 LIBS
="$ac_save_LIBS"
13646 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13647 echo "$ac_t""yes" 1>&6
13648 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
13650 echo "$ac_t""no" 1>&6
13656 # Check for libraries that X11R6 Xt/Xaw programs need.
13657 ac_save_LDFLAGS
="$LDFLAGS"
13658 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
13659 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13660 # check for ICE first), but we must link in the order -lSM -lICE or
13661 # we get undefined symbols. So assume we have SM if we have ICE.
13662 # These have to be linked with before -lX11, unlike the other
13663 # libraries we check for below, so use a different variable.
13664 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
13665 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
13666 echo "configure:13667: checking for IceConnectionNumber in -lICE" >&5
13667 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
13668 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13669 echo $ac_n "(cached) $ac_c" 1>&6
13671 ac_save_LIBS
="$LIBS"
13672 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
13673 cat > conftest.
$ac_ext <<EOF
13674 #line 13675 "configure"
13675 #include "confdefs.h"
13676 /* Override any gcc2 internal prototype to avoid an error. */
13677 /* We use char because int might match the return type of a gcc2
13678 builtin and then its argument prototype would still apply. */
13679 char IceConnectionNumber();
13682 IceConnectionNumber()
13685 if { (eval echo configure
:13686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13687 eval "ac_cv_lib_$ac_lib_var=yes"
13689 echo "configure: failed program was:" >&5
13690 cat conftest.
$ac_ext >&5
13692 eval "ac_cv_lib_$ac_lib_var=no"
13695 LIBS
="$ac_save_LIBS"
13698 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13699 echo "$ac_t""yes" 1>&6
13700 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
13702 echo "$ac_t""no" 1>&6
13705 LDFLAGS
="$ac_save_LDFLAGS"
13710 if test "$no_x" = "yes"; then
13711 { echo "configure: error: X11 not found" 1>&2; exit 1; }
13714 GUI_TK_LIBRARY
="$X_LIBS"
13715 TOOLKIT_INCLUDE
="$X_CFLAGS"
13716 AFMINSTALL
=afminstall
13717 COMPILED_X_PROGRAM
=0
13719 if test "$wxUSE_NANOX" = "yes"; then
13720 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
13721 echo "configure:13722: checking for MicroWindows/NanoX distribution" >&5
13722 if test "x$MICROWIN" = x
; then
13723 echo "$ac_t""not found" 1>&6
13724 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
13726 echo "$ac_t""$MICROWIN" 1>&6
13727 cat >> confdefs.h
<<\EOF
13728 #define wxUSE_NANOX 1
13735 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13736 echo "configure:13737: checking for Xpm library" >&5
13739 for ac_dir
in $SEARCH_LIB;
13741 for ac_extension
in a so sl dylib
; do
13742 if test -f "$ac_dir/libXpm.$ac_extension"; then
13743 ac_find_libraries
=$ac_dir
13749 if test "$ac_find_libraries" != "" ; then
13751 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13753 if test $result = 0; then
13756 ac_path_to_link
=" -L$ac_find_libraries"
13759 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13761 cat >> confdefs.h
<<\EOF
13762 #define wxHAVE_LIB_XPM 1
13765 echo "$ac_t""found at $ac_find_libraries" 1>&6
13767 cat > conftest.
$ac_ext <<EOF
13768 #line 13769 "configure"
13769 #include "confdefs.h"
13771 #include <X11/xpm.h>
13776 version = XpmLibraryVersion();
13780 if { (eval echo configure
:13781: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13784 cat >> confdefs.h
<<\EOF
13785 #define wxHAVE_LIB_XPM 1
13788 echo "$ac_t""found in default search path" 1>&6
13789 COMPILED_X_PROGRAM
=0
13792 echo "configure: failed program was:" >&5
13793 cat conftest.
$ac_ext >&5
13796 echo "$ac_t""no" 1>&6
13797 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13804 wxUSE_UNIVERSAL
="yes"
13806 if test "$wxUSE_NANOX" = "yes"; then
13807 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
13808 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"
13809 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
13811 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
13814 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
13819 if test "$wxUSE_WINE" = 1; then
13820 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
13821 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
13822 echo "configure:13823: checking for windows.h" >&5
13823 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13824 echo $ac_n "(cached) $ac_c" 1>&6
13826 cat > conftest.
$ac_ext <<EOF
13827 #line 13828 "configure"
13828 #include "confdefs.h"
13829 #include <windows.h>
13831 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13832 { (eval echo configure
:13833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13833 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13834 if test -z "$ac_err"; then
13836 eval "ac_cv_header_$ac_safe=yes"
13839 echo "configure: failed program was:" >&5
13840 cat conftest.
$ac_ext >&5
13842 eval "ac_cv_header_$ac_safe=no"
13846 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13847 echo "$ac_t""yes" 1>&6
13850 echo "$ac_t""no" 1>&6
13852 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
13858 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13859 echo "configure:13860: checking for Xpm library" >&5
13862 for ac_dir
in $SEARCH_LIB;
13864 for ac_extension
in a so sl dylib
; do
13865 if test -f "$ac_dir/libXpm.$ac_extension"; then
13866 ac_find_libraries
=$ac_dir
13872 if test "$ac_find_libraries" != "" ; then
13873 GUI_TK_LIBRARY
="-L$ac_find_libraries"
13875 cat >> confdefs.h
<<\EOF
13876 #define wxHAVE_LIB_XPM 1
13879 echo "$ac_t""found at $ac_find_libraries" 1>&6
13881 echo "$ac_t""no" 1>&6
13882 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13886 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
13887 echo "configure:13888: checking for Mesa library" >&5
13890 for ac_dir
in $SEARCH_LIB;
13892 for ac_extension
in a so sl dylib
; do
13893 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13894 ac_find_libraries
=$ac_dir
13900 if test "$ac_find_libraries" != "" ; then
13901 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
13902 mesa_link
=" -lMesaGL"
13903 echo "$ac_t""found at $ac_find_libraries" 1>&6
13905 { echo "configure: error: no" 1>&2; exit 1; }
13908 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
13911 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
13914 if test "$wxUSE_MOTIF" = 1; then
13915 if test "$no_x" = yes; then
13916 # Not all programs may use this symbol, but it does not hurt to define it.
13917 cat >> confdefs.h
<<\EOF
13918 #define X_DISPLAY_MISSING 1
13921 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13923 if test -n "$x_includes"; then
13924 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13927 # It would also be nice to do this for all -L options, not just this one.
13928 if test -n "$x_libraries"; then
13929 X_LIBS
="$X_LIBS -L$x_libraries"
13930 # For Solaris; some versions of Sun CC require a space after -R and
13931 # others require no space. Words are not sufficient . . . .
13932 case "`(uname -sr) 2>/dev/null`" in
13934 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13935 echo "configure:13936: checking whether -R must be followed by a space" >&5
13936 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13937 cat > conftest.
$ac_ext <<EOF
13938 #line 13939 "configure"
13939 #include "confdefs.h"
13945 if { (eval echo configure
:13946: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13949 echo "configure: failed program was:" >&5
13950 cat conftest.
$ac_ext >&5
13955 if test $ac_R_nospace = yes; then
13956 echo "$ac_t""no" 1>&6
13957 X_LIBS
="$X_LIBS -R$x_libraries"
13959 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13960 cat > conftest.
$ac_ext <<EOF
13961 #line 13962 "configure"
13962 #include "confdefs.h"
13968 if { (eval echo configure
:13969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13972 echo "configure: failed program was:" >&5
13973 cat conftest.
$ac_ext >&5
13978 if test $ac_R_space = yes; then
13979 echo "$ac_t""yes" 1>&6
13980 X_LIBS
="$X_LIBS -R $x_libraries"
13982 echo "$ac_t""neither works" 1>&6
13985 LIBS
="$ac_xsave_LIBS"
13989 # Check for system-dependent libraries X programs must link with.
13990 # Do this before checking for the system-independent R6 libraries
13991 # (-lICE), since we may need -lsocket or whatever for X linking.
13993 if test "$ISC" = yes; then
13994 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13996 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13997 # libraries were built with DECnet support. And karl@cs.umb.edu says
13998 # the Alpha needs dnet_stub (dnet does not exist).
13999 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14000 echo "configure:14001: checking for dnet_ntoa in -ldnet" >&5
14001 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14002 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14003 echo $ac_n "(cached) $ac_c" 1>&6
14005 ac_save_LIBS
="$LIBS"
14006 LIBS
="-ldnet $LIBS"
14007 cat > conftest.
$ac_ext <<EOF
14008 #line 14009 "configure"
14009 #include "confdefs.h"
14010 /* Override any gcc2 internal prototype to avoid an error. */
14011 /* We use char because int might match the return type of a gcc2
14012 builtin and then its argument prototype would still apply. */
14019 if { (eval echo configure
:14020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14021 eval "ac_cv_lib_$ac_lib_var=yes"
14023 echo "configure: failed program was:" >&5
14024 cat conftest.
$ac_ext >&5
14026 eval "ac_cv_lib_$ac_lib_var=no"
14029 LIBS
="$ac_save_LIBS"
14032 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14033 echo "$ac_t""yes" 1>&6
14034 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14036 echo "$ac_t""no" 1>&6
14039 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14040 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14041 echo "configure:14042: checking for dnet_ntoa in -ldnet_stub" >&5
14042 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14043 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14044 echo $ac_n "(cached) $ac_c" 1>&6
14046 ac_save_LIBS
="$LIBS"
14047 LIBS
="-ldnet_stub $LIBS"
14048 cat > conftest.
$ac_ext <<EOF
14049 #line 14050 "configure"
14050 #include "confdefs.h"
14051 /* Override any gcc2 internal prototype to avoid an error. */
14052 /* We use char because int might match the return type of a gcc2
14053 builtin and then its argument prototype would still apply. */
14060 if { (eval echo configure
:14061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14062 eval "ac_cv_lib_$ac_lib_var=yes"
14064 echo "configure: failed program was:" >&5
14065 cat conftest.
$ac_ext >&5
14067 eval "ac_cv_lib_$ac_lib_var=no"
14070 LIBS
="$ac_save_LIBS"
14073 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14074 echo "$ac_t""yes" 1>&6
14075 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14077 echo "$ac_t""no" 1>&6
14082 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14083 # to get the SysV transport functions.
14084 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14086 # The nsl library prevents programs from opening the X display
14087 # on Irix 5.2, according to dickey@clark.net.
14088 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14089 echo "configure:14090: checking for gethostbyname" >&5
14090 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14091 echo $ac_n "(cached) $ac_c" 1>&6
14093 cat > conftest.
$ac_ext <<EOF
14094 #line 14095 "configure"
14095 #include "confdefs.h"
14096 /* System header to define __stub macros and hopefully few prototypes,
14097 which can conflict with char gethostbyname(); below. */
14098 #include <assert.h>
14099 /* Override any gcc2 internal prototype to avoid an error. */
14100 /* We use char because int might match the return type of a gcc2
14101 builtin and then its argument prototype would still apply. */
14102 char gethostbyname();
14106 /* The GNU C library defines this for functions which it implements
14107 to always fail with ENOSYS. Some functions are actually named
14108 something starting with __ and the normal name is an alias. */
14109 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14117 if { (eval echo configure
:14118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14119 eval "ac_cv_func_gethostbyname=yes"
14121 echo "configure: failed program was:" >&5
14122 cat conftest.
$ac_ext >&5
14124 eval "ac_cv_func_gethostbyname=no"
14129 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14130 echo "$ac_t""yes" 1>&6
14133 echo "$ac_t""no" 1>&6
14136 if test $ac_cv_func_gethostbyname = no
; then
14137 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14138 echo "configure:14139: checking for gethostbyname in -lnsl" >&5
14139 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14140 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14141 echo $ac_n "(cached) $ac_c" 1>&6
14143 ac_save_LIBS
="$LIBS"
14145 cat > conftest.
$ac_ext <<EOF
14146 #line 14147 "configure"
14147 #include "confdefs.h"
14148 /* Override any gcc2 internal prototype to avoid an error. */
14149 /* We use char because int might match the return type of a gcc2
14150 builtin and then its argument prototype would still apply. */
14151 char gethostbyname();
14157 if { (eval echo configure
:14158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14159 eval "ac_cv_lib_$ac_lib_var=yes"
14161 echo "configure: failed program was:" >&5
14162 cat conftest.
$ac_ext >&5
14164 eval "ac_cv_lib_$ac_lib_var=no"
14167 LIBS
="$ac_save_LIBS"
14170 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14171 echo "$ac_t""yes" 1>&6
14172 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14174 echo "$ac_t""no" 1>&6
14179 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14180 # socket/setsockopt and other routines are undefined under SCO ODT
14181 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14182 # on later versions), says simon@lia.di.epfl.ch: it contains
14183 # gethostby* variants that don't use the nameserver (or something).
14184 # -lsocket must be given before -lnsl if both are needed.
14185 # We assume that if connect needs -lnsl, so does gethostbyname.
14186 echo $ac_n "checking for connect""... $ac_c" 1>&6
14187 echo "configure:14188: checking for connect" >&5
14188 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14189 echo $ac_n "(cached) $ac_c" 1>&6
14191 cat > conftest.
$ac_ext <<EOF
14192 #line 14193 "configure"
14193 #include "confdefs.h"
14194 /* System header to define __stub macros and hopefully few prototypes,
14195 which can conflict with char connect(); below. */
14196 #include <assert.h>
14197 /* Override any gcc2 internal prototype to avoid an error. */
14198 /* We use char because int might match the return type of a gcc2
14199 builtin and then its argument prototype would still apply. */
14204 /* The GNU C library defines this for functions which it implements
14205 to always fail with ENOSYS. Some functions are actually named
14206 something starting with __ and the normal name is an alias. */
14207 #if defined (__stub_connect) || defined (__stub___connect)
14215 if { (eval echo configure
:14216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14217 eval "ac_cv_func_connect=yes"
14219 echo "configure: failed program was:" >&5
14220 cat conftest.
$ac_ext >&5
14222 eval "ac_cv_func_connect=no"
14227 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14228 echo "$ac_t""yes" 1>&6
14231 echo "$ac_t""no" 1>&6
14234 if test $ac_cv_func_connect = no
; then
14235 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14236 echo "configure:14237: checking for connect in -lsocket" >&5
14237 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14238 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14239 echo $ac_n "(cached) $ac_c" 1>&6
14241 ac_save_LIBS
="$LIBS"
14242 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14243 cat > conftest.
$ac_ext <<EOF
14244 #line 14245 "configure"
14245 #include "confdefs.h"
14246 /* Override any gcc2 internal prototype to avoid an error. */
14247 /* We use char because int might match the return type of a gcc2
14248 builtin and then its argument prototype would still apply. */
14255 if { (eval echo configure
:14256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14257 eval "ac_cv_lib_$ac_lib_var=yes"
14259 echo "configure: failed program was:" >&5
14260 cat conftest.
$ac_ext >&5
14262 eval "ac_cv_lib_$ac_lib_var=no"
14265 LIBS
="$ac_save_LIBS"
14268 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14269 echo "$ac_t""yes" 1>&6
14270 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14272 echo "$ac_t""no" 1>&6
14277 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14278 echo $ac_n "checking for remove""... $ac_c" 1>&6
14279 echo "configure:14280: checking for remove" >&5
14280 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14281 echo $ac_n "(cached) $ac_c" 1>&6
14283 cat > conftest.
$ac_ext <<EOF
14284 #line 14285 "configure"
14285 #include "confdefs.h"
14286 /* System header to define __stub macros and hopefully few prototypes,
14287 which can conflict with char remove(); below. */
14288 #include <assert.h>
14289 /* Override any gcc2 internal prototype to avoid an error. */
14290 /* We use char because int might match the return type of a gcc2
14291 builtin and then its argument prototype would still apply. */
14296 /* The GNU C library defines this for functions which it implements
14297 to always fail with ENOSYS. Some functions are actually named
14298 something starting with __ and the normal name is an alias. */
14299 #if defined (__stub_remove) || defined (__stub___remove)
14307 if { (eval echo configure
:14308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14309 eval "ac_cv_func_remove=yes"
14311 echo "configure: failed program was:" >&5
14312 cat conftest.
$ac_ext >&5
14314 eval "ac_cv_func_remove=no"
14319 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14320 echo "$ac_t""yes" 1>&6
14323 echo "$ac_t""no" 1>&6
14326 if test $ac_cv_func_remove = no
; then
14327 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14328 echo "configure:14329: checking for remove in -lposix" >&5
14329 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14330 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14331 echo $ac_n "(cached) $ac_c" 1>&6
14333 ac_save_LIBS
="$LIBS"
14334 LIBS
="-lposix $LIBS"
14335 cat > conftest.
$ac_ext <<EOF
14336 #line 14337 "configure"
14337 #include "confdefs.h"
14338 /* Override any gcc2 internal prototype to avoid an error. */
14339 /* We use char because int might match the return type of a gcc2
14340 builtin and then its argument prototype would still apply. */
14347 if { (eval echo configure
:14348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14349 eval "ac_cv_lib_$ac_lib_var=yes"
14351 echo "configure: failed program was:" >&5
14352 cat conftest.
$ac_ext >&5
14354 eval "ac_cv_lib_$ac_lib_var=no"
14357 LIBS
="$ac_save_LIBS"
14360 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14361 echo "$ac_t""yes" 1>&6
14362 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14364 echo "$ac_t""no" 1>&6
14369 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14370 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14371 echo "configure:14372: checking for shmat" >&5
14372 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14373 echo $ac_n "(cached) $ac_c" 1>&6
14375 cat > conftest.
$ac_ext <<EOF
14376 #line 14377 "configure"
14377 #include "confdefs.h"
14378 /* System header to define __stub macros and hopefully few prototypes,
14379 which can conflict with char shmat(); below. */
14380 #include <assert.h>
14381 /* Override any gcc2 internal prototype to avoid an error. */
14382 /* We use char because int might match the return type of a gcc2
14383 builtin and then its argument prototype would still apply. */
14388 /* The GNU C library defines this for functions which it implements
14389 to always fail with ENOSYS. Some functions are actually named
14390 something starting with __ and the normal name is an alias. */
14391 #if defined (__stub_shmat) || defined (__stub___shmat)
14399 if { (eval echo configure
:14400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14401 eval "ac_cv_func_shmat=yes"
14403 echo "configure: failed program was:" >&5
14404 cat conftest.
$ac_ext >&5
14406 eval "ac_cv_func_shmat=no"
14411 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14412 echo "$ac_t""yes" 1>&6
14415 echo "$ac_t""no" 1>&6
14418 if test $ac_cv_func_shmat = no
; then
14419 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14420 echo "configure:14421: checking for shmat in -lipc" >&5
14421 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14422 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14423 echo $ac_n "(cached) $ac_c" 1>&6
14425 ac_save_LIBS
="$LIBS"
14427 cat > conftest.
$ac_ext <<EOF
14428 #line 14429 "configure"
14429 #include "confdefs.h"
14430 /* Override any gcc2 internal prototype to avoid an error. */
14431 /* We use char because int might match the return type of a gcc2
14432 builtin and then its argument prototype would still apply. */
14439 if { (eval echo configure
:14440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14441 eval "ac_cv_lib_$ac_lib_var=yes"
14443 echo "configure: failed program was:" >&5
14444 cat conftest.
$ac_ext >&5
14446 eval "ac_cv_lib_$ac_lib_var=no"
14449 LIBS
="$ac_save_LIBS"
14452 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14453 echo "$ac_t""yes" 1>&6
14454 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14456 echo "$ac_t""no" 1>&6
14462 # Check for libraries that X11R6 Xt/Xaw programs need.
14463 ac_save_LDFLAGS
="$LDFLAGS"
14464 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14465 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14466 # check for ICE first), but we must link in the order -lSM -lICE or
14467 # we get undefined symbols. So assume we have SM if we have ICE.
14468 # These have to be linked with before -lX11, unlike the other
14469 # libraries we check for below, so use a different variable.
14470 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14471 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14472 echo "configure:14473: checking for IceConnectionNumber in -lICE" >&5
14473 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14474 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14475 echo $ac_n "(cached) $ac_c" 1>&6
14477 ac_save_LIBS
="$LIBS"
14478 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14479 cat > conftest.
$ac_ext <<EOF
14480 #line 14481 "configure"
14481 #include "confdefs.h"
14482 /* Override any gcc2 internal prototype to avoid an error. */
14483 /* We use char because int might match the return type of a gcc2
14484 builtin and then its argument prototype would still apply. */
14485 char IceConnectionNumber();
14488 IceConnectionNumber()
14491 if { (eval echo configure
:14492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14493 eval "ac_cv_lib_$ac_lib_var=yes"
14495 echo "configure: failed program was:" >&5
14496 cat conftest.
$ac_ext >&5
14498 eval "ac_cv_lib_$ac_lib_var=no"
14501 LIBS
="$ac_save_LIBS"
14504 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14505 echo "$ac_t""yes" 1>&6
14506 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14508 echo "$ac_t""no" 1>&6
14511 LDFLAGS
="$ac_save_LDFLAGS"
14516 if test "$no_x" = "yes"; then
14517 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14520 GUI_TK_LIBRARY
="$X_LIBS"
14521 TOOLKIT_INCLUDE
="$X_CFLAGS"
14522 AFMINSTALL
=afminstall
14523 COMPILED_X_PROGRAM
=0
14525 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
14526 echo "configure:14527: checking for Motif/Lesstif headers" >&5
14529 for ac_dir
in $SEARCH_INCLUDE;
14531 if test -f "$ac_dir/Xm/Xm.h"; then
14532 ac_find_includes
=$ac_dir
14537 if test "$ac_find_includes" != "" ; then
14538 echo "$ac_t""found in $ac_find_includes" 1>&6
14540 ac_path_to_include
=$ac_find_includes
14541 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
14543 if test $result = 0; then
14544 ac_path_to_include
=""
14546 ac_path_to_include
=" -I$ac_find_includes"
14549 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
14551 cat > conftest.
$ac_ext <<EOF
14552 #line 14553 "configure"
14553 #include "confdefs.h"
14560 version = xmUseVersion;
14564 if { (eval echo configure
:14565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14567 echo "$ac_t""found in default search path" 1>&6
14568 COMPILED_X_PROGRAM
=1
14571 echo "configure: failed program was:" >&5
14572 cat conftest.
$ac_ext >&5
14575 echo "$ac_t""no" 1>&6
14576 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
14583 if test "$COMPILED_X_PROGRAM" = 0; then
14584 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
14585 echo "configure:14586: checking for Motif/Lesstif library" >&5
14588 for ac_dir
in $SEARCH_LIB;
14590 for ac_extension
in a so sl dylib
; do
14591 if test -f "$ac_dir/libXm.$ac_extension"; then
14592 ac_find_libraries
=$ac_dir
14598 if test "$ac_find_libraries" != "" ; then
14599 echo "$ac_t""found at $ac_find_libraries" 1>&6
14602 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14604 if test $result = 0; then
14607 ac_path_to_link
=" -L$ac_find_libraries"
14610 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14612 save_CFLAGS
=$CFLAGS
14613 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
14615 cat > conftest.
$ac_ext <<EOF
14616 #line 14617 "configure"
14617 #include "confdefs.h"
14624 version = xmUseVersion;
14628 if { (eval echo configure
:14629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14631 echo "$ac_t""found in default search path" 1>&6
14632 COMPILED_X_PROGRAM
=1
14635 echo "configure: failed program was:" >&5
14636 cat conftest.
$ac_ext >&5
14639 echo "$ac_t""no" 1>&6
14640 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
14646 CFLAGS
=$save_CFLAGS
14651 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14652 echo "configure:14653: checking for Xpm library" >&5
14655 for ac_dir
in $SEARCH_LIB;
14657 for ac_extension
in a so sl dylib
; do
14658 if test -f "$ac_dir/libXpm.$ac_extension"; then
14659 ac_find_libraries
=$ac_dir
14665 if test "$ac_find_libraries" != "" ; then
14667 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14669 if test $result = 0; then
14672 ac_path_to_link
=" -L$ac_find_libraries"
14675 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14678 cat >> confdefs.h
<<\EOF
14679 #define wxHAVE_LIB_XPM 1
14682 echo "$ac_t""found at $ac_find_libraries" 1>&6
14684 save_CFLAGS
=$CFLAGS
14685 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
14687 cat > conftest.
$ac_ext <<EOF
14688 #line 14689 "configure"
14689 #include "confdefs.h"
14691 #include <X11/xpm.h>
14696 version = XpmLibraryVersion();
14700 if { (eval echo configure
:14701: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14704 cat >> confdefs.h
<<\EOF
14705 #define wxHAVE_LIB_XPM 1
14708 echo "$ac_t""found in default search path" 1>&6
14709 COMPILED_X_PROGRAM
=0
14712 echo "configure: failed program was:" >&5
14713 cat conftest.
$ac_ext >&5
14716 echo "$ac_t""no" 1>&6
14717 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14723 CFLAGS
=$save_CFLAGS
14726 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
14727 echo "configure:14728: checking if we need -lXp and/or -lSM -lICE" >&5
14731 for libp
in "" " -lXp"; do
14732 if test "$libs_found" = "0"; then
14733 for libsm_ice
in " -lSM -lICE"; do
14734 if test "$libs_found" = "0"; then
14736 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
14737 save_CFLAGS
=$CFLAGS
14738 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
14740 cat > conftest.
$ac_ext <<EOF
14741 #line 14742 "configure"
14742 #include "confdefs.h"
14745 #include <Xm/List.h>
14749 XmString string = NULL;
14752 XmListAddItem(w, string, position);
14756 if { (eval echo configure
:14757: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14760 libsm_ice_link
="$libsm_ice"
14761 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
14765 echo "configure: failed program was:" >&5
14766 cat conftest.
$ac_ext >&5
14774 CFLAGS
=$save_CFLAGS
14780 if test "$libs_found" = "0"; then
14781 echo "$ac_t""can't find the right libraries" 1>&6
14782 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
14785 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
14786 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
14791 if test "$wxUSE_MAC" = 1; then
14792 if test "$wxUSE_PRECOMP" = "yes"; then
14793 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
14795 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
14797 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
14798 CFLAGS
="$CFLAGS -fpascal-strings"
14799 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
14801 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
14806 if test "$wxUSE_PM" = 1; then
14811 if test "$TOOLKIT" = "PM" ; then
14814 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
14817 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
14819 if test "$wxUSE_UNIVERSAL" = "yes"; then
14820 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
14822 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
14823 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
14825 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
14826 if test "$wxUSE_X11" = 1; then
14827 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
14829 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
14831 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
14834 ALL_OBJECTS
="\$(GUIOBJS)"
14835 ALL_SOURCES
="\$(ALL_SOURCES)"
14836 ALL_HEADERS
="\$(ALL_HEADERS)"
14839 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
14841 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
14842 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
14845 if test "$wxUSE_HTML" = "yes"; then
14846 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
14849 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14850 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
14852 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14853 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
14855 if test "$wxUSE_LIBPNG" = "builtin" ; then
14856 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
14859 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
14860 DISTDIR
="wx\$(TOOLKIT)"
14866 if test "$USE_WIN32" = 1 ; then
14867 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
14868 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
14872 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
14873 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
14876 ALL_SOURCES
="\$(ALL_SOURCES)"
14877 ALL_HEADERS
="\$(ALL_HEADERS)"
14879 PORT_FILES
="\${top_srcdir}/src/files.lst"
14881 GUIDIST
="BASE_DIST"
14886 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
14887 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
14890 if test "$wxUSE_REGEX" = "builtin" ; then
14891 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
14893 if test "$wxUSE_ZLIB" = "builtin" ; then
14894 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
14898 if test "$wxUSE_OPENGL" = "yes"; then
14899 if test "$wxUSE_MAC" = 1; then
14900 OPENGL_LIBS
="-framework OpenGL -framework AGL"
14901 elif test "$wxUSE_MSW" = 1; then
14902 OPENGL_LIBS
="-lopengl32 -lglu32"
14904 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14905 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14906 echo "configure:14907: checking for GL/gl.h" >&5
14907 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14908 echo $ac_n "(cached) $ac_c" 1>&6
14910 cat > conftest.
$ac_ext <<EOF
14911 #line 14912 "configure"
14912 #include "confdefs.h"
14915 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14916 { (eval echo configure
:14917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14917 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14918 if test -z "$ac_err"; then
14920 eval "ac_cv_header_$ac_safe=yes"
14923 echo "configure: failed program was:" >&5
14924 cat conftest.
$ac_ext >&5
14926 eval "ac_cv_header_$ac_safe=no"
14930 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14931 echo "$ac_t""yes" 1>&6
14933 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
14934 echo "configure:14935: checking for -lGL" >&5
14937 for ac_dir
in $SEARCH_LIB;
14939 for ac_extension
in a so sl dylib
; do
14940 if test -f "$ac_dir/libGL.$ac_extension"; then
14941 ac_find_libraries
=$ac_dir
14947 if test "$ac_find_libraries" != "" ; then
14949 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14951 if test $result = 0; then
14954 ac_path_to_link
=" -L$ac_find_libraries"
14957 if test "$ac_path_to_link" = " -L/usr/lib" ; then
14958 LDFLAGS_GL
="$LDFLAGS"
14960 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14962 OPENGL_LIBS
="-lGL -lGLU"
14963 echo "$ac_t""yes" 1>&6
14965 echo "$ac_t""no" 1>&6
14966 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
14967 echo "configure:14968: checking for -lMesaGL" >&5
14970 for ac_dir
in $SEARCH_LIB;
14972 for ac_extension
in a so sl dylib
; do
14973 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
14974 ac_find_libraries
=$ac_dir
14980 if test "$ac_find_libraries" != "" ; then
14982 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
14984 if test $result = 0; then
14987 ac_path_to_link
=" -L$ac_find_libraries"
14990 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
14991 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
14992 echo "$ac_t""yes" 1>&6
14994 echo "$ac_t""no" 1>&6
14999 echo "$ac_t""no" 1>&6
15003 if test "x$OPENGL_LIBS" = "x"; then
15004 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15008 if test "$wxUSE_OPENGL" = "yes"; then
15009 cat >> confdefs.h
<<\EOF
15010 #define wxUSE_OPENGL 1
15013 cat >> confdefs.h
<<\EOF
15014 #define wxUSE_GLCANVAS 1
15017 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15021 if test -z "$TOOLKIT_VPATH" ; then
15022 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
15025 if test -n "$TOOLKIT" ; then
15026 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15029 lib_unicode_suffix
=
15030 if test "$wxUSE_UNICODE" = "yes"; then
15031 lib_unicode_suffix
=u
15035 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
15039 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
15040 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
15042 if test "$cross_compiling" = "yes"; then
15043 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
15044 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
15047 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
15048 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
15050 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15051 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15053 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15054 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15055 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15056 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15059 *-*-cygwin* | *-*-mingw32* )
15063 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15064 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15065 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15066 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
15067 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15069 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15070 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15075 if test "$wxUSE_MAC" = 1; then
15076 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
15077 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
15082 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
15083 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
15085 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
15086 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
15088 if test "$wxUSE_OPENGL" = "yes"; then
15089 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
15090 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
15095 if test "$wxUSE_SHARED" = "yes"; then
15097 *-pc-os2_emx | *-pc-os2-emx | \
15100 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
15105 if test "$wxUSE_SHARED" = "yes"; then
15107 if test "$wxUSE_OPENGL" = "yes"; then
15108 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
15109 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
15111 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
15112 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
15115 if test "$GCC" = "yes"; then
15119 SHARED_LD
="${CXX} -shared -o"
15123 if test "$GCC" == "yes"; then
15124 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
15126 LDFLAGS
="$LDFLAGS -L/usr/lib"
15128 SHARED_LD
="${CXX} -b -o"
15132 if test "$wxUSE_OPENGL" = "yes"; then
15133 WX_ALL_INSTALLED
="preinstall_gl"
15134 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15136 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15141 if test "$GCC" != "yes"; then
15142 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
15143 echo "configure:15144: checking for Intel compiler" >&5
15144 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
15145 echo $ac_n "(cached) $ac_c" 1>&6
15148 cat > conftest.
$ac_ext <<EOF
15149 #line 15150 "configure"
15150 #include "confdefs.h"
15154 #ifndef __INTEL_COMPILER
15160 if { (eval echo configure
:15161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15164 echo "configure: failed program was:" >&5
15165 cat conftest.
$ac_ext >&5
15174 echo "$ac_t""$wx_cv_prog_icc" 1>&6
15175 if test "$wx_cv_prog_icc" = "yes"; then
15180 if test "$wxUSE_SONAME" = "yes" ; then
15181 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
15182 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
15183 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
15188 if test "$GCC" = yes ; then
15189 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
15191 SHARED_LD
="${CXX} -G -o"
15193 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
15194 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
15199 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
15200 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
15201 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
15202 PIC_FLAG
="-dynamic -fPIC"
15203 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
15204 SONAME_FLAGS_GL
=${SONAME_FLAGS}
15208 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
15209 set dummy makeC
++SharedLib
; ac_word
=$2
15210 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15211 echo "configure:15212: checking for $ac_word" >&5
15212 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
15213 echo $ac_n "(cached) $ac_c" 1>&6
15215 if test -n "$AIX_CXX_LD"; then
15216 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
15218 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15220 for ac_dir
in $ac_dummy; do
15221 test -z "$ac_dir" && ac_dir
=.
15222 if test -f $ac_dir/$ac_word; then
15223 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
15228 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
15231 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
15232 if test -n "$AIX_CXX_LD"; then
15233 echo "$ac_t""$AIX_CXX_LD" 1>&6
15235 echo "$ac_t""no" 1>&6
15239 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
15242 *-*-cygwin* | *-*-mingw32* )
15244 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
15246 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
15247 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
15249 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
15251 if test "$wxUSE_OPENGL" = "yes"; then
15252 WX_ALL_INSTALLED
="preinstall_gl"
15253 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15255 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15260 SHARED_LD
="${LD} -shared -o"
15263 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
15265 *-*-irix5* | *-*-irix6* | \
15272 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
15275 if test "x$WX_TARGET_LIBRARY" = "x"; then
15276 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
15277 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
15280 WX_TARGET_LIBRARY_TYPE
="so"
15281 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
15284 if test "$wxUSE_SHARED" = "no"; then
15286 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
15287 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15290 if test "$wxUSE_MAC" = 1; then
15291 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15294 if test "$wxUSE_OPENGL" = "yes"; then
15295 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
15296 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
15298 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
15301 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
15302 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
15304 WX_TARGET_LIBRARY_TYPE
="a"
15305 INSTALL_LIBRARY
='$(INSTALL_DATA)'
15308 if test "$wxUSE_MAC" = 1; then
15309 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
15310 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
15311 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
15312 # Extract the first word of "Rez", so it can be a program name with args.
15313 set dummy Rez
; ac_word
=$2
15314 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15315 echo "configure:15316: checking for $ac_word" >&5
15316 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
15317 echo $ac_n "(cached) $ac_c" 1>&6
15319 if test -n "$RESCOMP"; then
15320 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
15322 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15324 for ac_dir
in $ac_dummy; do
15325 test -z "$ac_dir" && ac_dir
=.
15326 if test -f $ac_dir/$ac_word; then
15327 ac_cv_prog_RESCOMP
="Rez"
15332 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
15335 RESCOMP
="$ac_cv_prog_RESCOMP"
15336 if test -n "$RESCOMP"; then
15337 echo "$ac_t""$RESCOMP" 1>&6
15339 echo "$ac_t""no" 1>&6
15342 # Extract the first word of "DeRez", so it can be a program name with args.
15343 set dummy DeRez
; ac_word
=$2
15344 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15345 echo "configure:15346: checking for $ac_word" >&5
15346 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
15347 echo $ac_n "(cached) $ac_c" 1>&6
15349 if test -n "$DEREZ"; then
15350 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
15352 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15354 for ac_dir
in $ac_dummy; do
15355 test -z "$ac_dir" && ac_dir
=.
15356 if test -f $ac_dir/$ac_word; then
15357 ac_cv_prog_DEREZ
="DeRez"
15362 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
15365 DEREZ
="$ac_cv_prog_DEREZ"
15366 if test -n "$DEREZ"; then
15367 echo "$ac_t""$DEREZ" 1>&6
15369 echo "$ac_t""no" 1>&6
15372 MACOSX_BUNDLE
="bundle"
15373 if test "$wxUSE_SHARED" = "yes"; then
15374 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
15375 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
15377 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
15378 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
15381 if test "$wxUSE_PM" = 1; then
15382 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
15387 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
15388 echo "configure:15389: checking for ANSI C header files" >&5
15389 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
15390 echo $ac_n "(cached) $ac_c" 1>&6
15392 cat > conftest.
$ac_ext <<EOF
15393 #line 15394 "configure"
15394 #include "confdefs.h"
15395 #include <stdlib.h>
15396 #include <stdarg.h>
15397 #include <string.h>
15400 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15401 { (eval echo configure
:15402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15402 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15403 if test -z "$ac_err"; then
15405 ac_cv_header_stdc
=yes
15408 echo "configure: failed program was:" >&5
15409 cat conftest.
$ac_ext >&5
15411 ac_cv_header_stdc
=no
15415 if test $ac_cv_header_stdc = yes; then
15416 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15417 cat > conftest.
$ac_ext <<EOF
15418 #line 15419 "configure"
15419 #include "confdefs.h"
15420 #include <string.h>
15422 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15423 egrep "memchr" >/dev
/null
2>&1; then
15427 ac_cv_header_stdc
=no
15433 if test $ac_cv_header_stdc = yes; then
15434 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15435 cat > conftest.
$ac_ext <<EOF
15436 #line 15437 "configure"
15437 #include "confdefs.h"
15438 #include <stdlib.h>
15440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15441 egrep "free" >/dev
/null
2>&1; then
15445 ac_cv_header_stdc
=no
15451 if test $ac_cv_header_stdc = yes; then
15452 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15453 if test "$cross_compiling" = yes; then
15456 cat > conftest.
$ac_ext <<EOF
15457 #line 15458 "configure"
15458 #include "confdefs.h"
15460 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15461 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15462 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15463 int main () { int i; for (i = 0; i < 256; i++)
15464 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
15468 if { (eval echo configure
:15469: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15472 echo "configure: failed program was:" >&5
15473 cat conftest.
$ac_ext >&5
15475 ac_cv_header_stdc
=no
15483 echo "$ac_t""$ac_cv_header_stdc" 1>&6
15484 if test $ac_cv_header_stdc = yes; then
15485 cat >> confdefs.h
<<\EOF
15486 #define STDC_HEADERS 1
15491 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
15492 echo "configure:15493: checking for mode_t" >&5
15493 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
15494 echo $ac_n "(cached) $ac_c" 1>&6
15496 cat > conftest.
$ac_ext <<EOF
15497 #line 15498 "configure"
15498 #include "confdefs.h"
15499 #include <sys/types.h>
15501 #include <stdlib.h>
15502 #include <stddef.h>
15505 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15506 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15508 ac_cv_type_mode_t
=yes
15511 ac_cv_type_mode_t
=no
15516 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
15517 if test $ac_cv_type_mode_t = no
; then
15518 cat >> confdefs.h
<<\EOF
15524 echo $ac_n "checking for off_t""... $ac_c" 1>&6
15525 echo "configure:15526: checking for off_t" >&5
15526 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
15527 echo $ac_n "(cached) $ac_c" 1>&6
15529 cat > conftest.
$ac_ext <<EOF
15530 #line 15531 "configure"
15531 #include "confdefs.h"
15532 #include <sys/types.h>
15534 #include <stdlib.h>
15535 #include <stddef.h>
15538 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15539 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15541 ac_cv_type_off_t
=yes
15544 ac_cv_type_off_t
=no
15549 echo "$ac_t""$ac_cv_type_off_t" 1>&6
15550 if test $ac_cv_type_off_t = no
; then
15551 cat >> confdefs.h
<<\EOF
15557 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
15558 echo "configure:15559: checking for pid_t" >&5
15559 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
15560 echo $ac_n "(cached) $ac_c" 1>&6
15562 cat > conftest.
$ac_ext <<EOF
15563 #line 15564 "configure"
15564 #include "confdefs.h"
15565 #include <sys/types.h>
15567 #include <stdlib.h>
15568 #include <stddef.h>
15571 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15572 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15574 ac_cv_type_pid_t
=yes
15577 ac_cv_type_pid_t
=no
15582 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
15583 if test $ac_cv_type_pid_t = no
; then
15584 cat >> confdefs.h
<<\EOF
15590 echo $ac_n "checking for size_t""... $ac_c" 1>&6
15591 echo "configure:15592: checking for size_t" >&5
15592 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
15593 echo $ac_n "(cached) $ac_c" 1>&6
15595 cat > conftest.
$ac_ext <<EOF
15596 #line 15597 "configure"
15597 #include "confdefs.h"
15598 #include <sys/types.h>
15600 #include <stdlib.h>
15601 #include <stddef.h>
15604 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15605 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15607 ac_cv_type_size_t
=yes
15610 ac_cv_type_size_t
=no
15615 echo "$ac_t""$ac_cv_type_size_t" 1>&6
15616 if test $ac_cv_type_size_t = no
; then
15617 cat >> confdefs.h
<<\EOF
15618 #define size_t unsigned
15623 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
15624 echo "configure:15625: checking for uid_t in sys/types.h" >&5
15625 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
15626 echo $ac_n "(cached) $ac_c" 1>&6
15628 cat > conftest.
$ac_ext <<EOF
15629 #line 15630 "configure"
15630 #include "confdefs.h"
15631 #include <sys/types.h>
15633 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15634 egrep "uid_t" >/dev
/null
2>&1; then
15636 ac_cv_type_uid_t
=yes
15639 ac_cv_type_uid_t
=no
15645 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
15646 if test $ac_cv_type_uid_t = no
; then
15647 cat >> confdefs.h
<<\EOF
15651 cat >> confdefs.h
<<\EOF
15660 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15661 ac_cpp
='$CXXCPP $CPPFLAGS'
15662 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15663 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15664 cross_compiling
=$ac_cv_prog_cxx_cross
15666 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
15667 echo "configure:15668: checking if size_t is unsigned int" >&5
15668 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
15669 echo $ac_n "(cached) $ac_c" 1>&6
15671 cat > conftest.
$ac_ext <<EOF
15672 #line 15673 "configure"
15673 #include "confdefs.h"
15674 #include <stddef.h>
15679 struct Foo { void foo(size_t); void foo(unsigned int); };
15685 if { (eval echo configure
:15686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15687 wx_cv_size_t_is_uint
=no
15689 echo "configure: failed program was:" >&5
15690 cat conftest.
$ac_ext >&5
15692 wx_cv_size_t_is_uint
=yes
15699 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
15701 if test "$wx_cv_size_t_is_uint" = "yes"; then
15702 cat >> confdefs.h
<<\EOF
15703 #define wxSIZE_T_IS_UINT 1
15707 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
15708 echo "configure:15709: checking if size_t is unsigned long" >&5
15709 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
15710 echo $ac_n "(cached) $ac_c" 1>&6
15712 cat > conftest.
$ac_ext <<EOF
15713 #line 15714 "configure"
15714 #include "confdefs.h"
15715 #include <stddef.h>
15720 struct Foo { void foo(size_t); void foo(unsigned long); };
15726 if { (eval echo configure
:15727: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15728 wx_cv_size_t_is_ulong
=no
15730 echo "configure: failed program was:" >&5
15731 cat conftest.
$ac_ext >&5
15733 wx_cv_size_t_is_ulong
=yes
15740 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
15742 if test "$wx_cv_size_t_is_ulong" = "yes"; then
15743 cat >> confdefs.h
<<\EOF
15744 #define wxSIZE_T_IS_ULONG 1
15751 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15752 ac_cpp
='$CPP $CPPFLAGS'
15753 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15754 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15755 cross_compiling
=$ac_cv_prog_cc_cross
15759 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
15760 echo "configure:15761: checking for pw_gecos in struct passwd" >&5
15761 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
15762 echo $ac_n "(cached) $ac_c" 1>&6
15765 cat > conftest.
$ac_ext <<EOF
15766 #line 15767 "configure"
15767 #include "confdefs.h"
15777 if { (eval echo configure
:15778: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15780 wx_cv_struct_pw_gecos
=yes
15783 echo "configure: failed program was:" >&5
15784 cat conftest.
$ac_ext >&5
15787 wx_cv_struct_pw_gecos
=no
15796 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
15798 if test "$wx_cv_struct_pw_gecos" = "yes"; then
15799 cat >> confdefs.h
<<\EOF
15800 #define HAVE_PW_GECOS 1
15806 if test "$wx_cv_sizeof_wchar_t" != "0"; then
15807 cat >> confdefs.h
<<\EOF
15808 #define wxUSE_WCHAR_T 1
15814 for ac_func
in wcslen
15816 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15817 echo "configure:15818: checking for $ac_func" >&5
15818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15819 echo $ac_n "(cached) $ac_c" 1>&6
15821 cat > conftest.
$ac_ext <<EOF
15822 #line 15823 "configure"
15823 #include "confdefs.h"
15824 /* System header to define __stub macros and hopefully few prototypes,
15825 which can conflict with char $ac_func(); below. */
15826 #include <assert.h>
15827 /* Override any gcc2 internal prototype to avoid an error. */
15828 /* We use char because int might match the return type of a gcc2
15829 builtin and then its argument prototype would still apply. */
15834 /* The GNU C library defines this for functions which it implements
15835 to always fail with ENOSYS. Some functions are actually named
15836 something starting with __ and the normal name is an alias. */
15837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15845 if { (eval echo configure
:15846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15847 eval "ac_cv_func_$ac_func=yes"
15849 echo "configure: failed program was:" >&5
15850 cat conftest.
$ac_ext >&5
15852 eval "ac_cv_func_$ac_func=no"
15857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15858 echo "$ac_t""yes" 1>&6
15859 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15860 cat >> confdefs.h
<<EOF
15861 #define $ac_tr_func 1
15865 echo "$ac_t""no" 1>&6
15870 if test "$WCSLEN_FOUND" = 0; then
15871 if test "$TOOLKIT" = "MSW"; then
15872 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15873 echo "configure:15874: checking for wcslen in -lmsvcrt" >&5
15874 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15875 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15876 echo $ac_n "(cached) $ac_c" 1>&6
15878 ac_save_LIBS
="$LIBS"
15879 LIBS
="-lmsvcrt $LIBS"
15880 cat > conftest.
$ac_ext <<EOF
15881 #line 15882 "configure"
15882 #include "confdefs.h"
15883 /* Override any gcc2 internal prototype to avoid an error. */
15884 /* We use char because int might match the return type of a gcc2
15885 builtin and then its argument prototype would still apply. */
15892 if { (eval echo configure
:15893: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15894 eval "ac_cv_lib_$ac_lib_var=yes"
15896 echo "configure: failed program was:" >&5
15897 cat conftest.
$ac_ext >&5
15899 eval "ac_cv_lib_$ac_lib_var=no"
15902 LIBS
="$ac_save_LIBS"
15905 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15906 echo "$ac_t""yes" 1>&6
15909 echo "$ac_t""no" 1>&6
15913 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15914 echo "configure:15915: checking for wcslen in -lw" >&5
15915 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15916 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15917 echo $ac_n "(cached) $ac_c" 1>&6
15919 ac_save_LIBS
="$LIBS"
15921 cat > conftest.
$ac_ext <<EOF
15922 #line 15923 "configure"
15923 #include "confdefs.h"
15924 /* Override any gcc2 internal prototype to avoid an error. */
15925 /* We use char because int might match the return type of a gcc2
15926 builtin and then its argument prototype would still apply. */
15933 if { (eval echo configure
:15934: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15935 eval "ac_cv_lib_$ac_lib_var=yes"
15937 echo "configure: failed program was:" >&5
15938 cat conftest.
$ac_ext >&5
15940 eval "ac_cv_lib_$ac_lib_var=no"
15943 LIBS
="$ac_save_LIBS"
15946 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15947 echo "$ac_t""yes" 1>&6
15953 echo "$ac_t""no" 1>&6
15959 if test "$WCSLEN_FOUND" = 1; then
15960 cat >> confdefs.h
<<\EOF
15961 #define HAVE_WCSLEN 1
15966 for ac_func
in wcsrtombs
15968 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15969 echo "configure:15970: checking for $ac_func" >&5
15970 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15971 echo $ac_n "(cached) $ac_c" 1>&6
15973 cat > conftest.
$ac_ext <<EOF
15974 #line 15975 "configure"
15975 #include "confdefs.h"
15976 /* System header to define __stub macros and hopefully few prototypes,
15977 which can conflict with char $ac_func(); below. */
15978 #include <assert.h>
15979 /* Override any gcc2 internal prototype to avoid an error. */
15980 /* We use char because int might match the return type of a gcc2
15981 builtin and then its argument prototype would still apply. */
15986 /* The GNU C library defines this for functions which it implements
15987 to always fail with ENOSYS. Some functions are actually named
15988 something starting with __ and the normal name is an alias. */
15989 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15997 if { (eval echo configure
:15998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15999 eval "ac_cv_func_$ac_func=yes"
16001 echo "configure: failed program was:" >&5
16002 cat conftest.
$ac_ext >&5
16004 eval "ac_cv_func_$ac_func=no"
16009 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16010 echo "$ac_t""yes" 1>&6
16011 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16012 cat >> confdefs.h
<<EOF
16013 #define $ac_tr_func 1
16017 echo "$ac_t""no" 1>&6
16022 echo "configure: warning: Wide character support is unavailable" 1>&2
16027 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16028 ac_cpp
='$CXXCPP $CPPFLAGS'
16029 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16030 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16031 cross_compiling
=$ac_cv_prog_cxx_cross
16034 for ac_func
in vsnprintf
16036 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16037 echo "configure:16038: checking for $ac_func" >&5
16038 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16039 echo $ac_n "(cached) $ac_c" 1>&6
16041 cat > conftest.
$ac_ext <<EOF
16042 #line 16043 "configure"
16043 #include "confdefs.h"
16044 /* System header to define __stub macros and hopefully few prototypes,
16045 which can conflict with char $ac_func(); below. */
16046 #include <assert.h>
16047 /* Override any gcc2 internal prototype to avoid an error. */
16051 /* We use char because int might match the return type of a gcc2
16052 builtin and then its argument prototype would still apply. */
16057 /* The GNU C library defines this for functions which it implements
16058 to always fail with ENOSYS. Some functions are actually named
16059 something starting with __ and the normal name is an alias. */
16060 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16068 if { (eval echo configure
:16069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16070 eval "ac_cv_func_$ac_func=yes"
16072 echo "configure: failed program was:" >&5
16073 cat conftest.
$ac_ext >&5
16075 eval "ac_cv_func_$ac_func=no"
16080 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16081 echo "$ac_t""yes" 1>&6
16082 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16083 cat >> confdefs.h
<<EOF
16084 #define $ac_tr_func 1
16088 echo "$ac_t""no" 1>&6
16093 if test "$wxUSE_UNICODE" = yes; then
16094 for ac_func
in fputwc wprintf vswprintf
16096 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16097 echo "configure:16098: checking for $ac_func" >&5
16098 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16099 echo $ac_n "(cached) $ac_c" 1>&6
16101 cat > conftest.
$ac_ext <<EOF
16102 #line 16103 "configure"
16103 #include "confdefs.h"
16104 /* System header to define __stub macros and hopefully few prototypes,
16105 which can conflict with char $ac_func(); below. */
16106 #include <assert.h>
16107 /* Override any gcc2 internal prototype to avoid an error. */
16111 /* We use char because int might match the return type of a gcc2
16112 builtin and then its argument prototype would still apply. */
16117 /* The GNU C library defines this for functions which it implements
16118 to always fail with ENOSYS. Some functions are actually named
16119 something starting with __ and the normal name is an alias. */
16120 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16128 if { (eval echo configure
:16129: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16130 eval "ac_cv_func_$ac_func=yes"
16132 echo "configure: failed program was:" >&5
16133 cat conftest.
$ac_ext >&5
16135 eval "ac_cv_func_$ac_func=no"
16140 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16141 echo "$ac_t""yes" 1>&6
16142 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16143 cat >> confdefs.h
<<EOF
16144 #define $ac_tr_func 1
16148 echo "$ac_t""no" 1>&6
16155 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16156 ac_cpp
='$CPP $CPPFLAGS'
16157 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16158 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16159 cross_compiling
=$ac_cv_prog_cc_cross
16164 if test "$TOOLKIT" != "MSW"; then
16169 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16170 ac_cpp
='$CXXCPP $CPPFLAGS'
16171 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16172 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16173 cross_compiling
=$ac_cv_prog_cxx_cross
16177 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16178 if test "${with_libiconv_prefix+set}" = set; then
16179 withval
="$with_libiconv_prefix"
16181 for dir
in `echo "$withval" | tr : ' '`; do
16182 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
16183 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
16189 echo $ac_n "checking for iconv""... $ac_c" 1>&6
16190 echo "configure:16191: checking for iconv" >&5
16191 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
16192 echo $ac_n "(cached) $ac_c" 1>&6
16195 am_cv_func_iconv
="no, consider installing GNU libiconv"
16197 cat > conftest.
$ac_ext <<EOF
16198 #line 16199 "configure"
16199 #include "confdefs.h"
16200 #include <stdlib.h>
16203 iconv_t cd = iconv_open("","");
16204 iconv(cd,NULL,NULL,NULL,NULL);
16208 if { (eval echo configure
:16209: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16210 am_cv_func_iconv
=yes
16212 echo "configure: failed program was:" >&5
16213 cat conftest.
$ac_ext >&5
16216 if test "$am_cv_func_iconv" != yes; then
16217 am_save_LIBS
="$LIBS"
16218 LIBS
="$LIBS -liconv"
16219 cat > conftest.
$ac_ext <<EOF
16220 #line 16221 "configure"
16221 #include "confdefs.h"
16222 #include <stdlib.h>
16225 iconv_t cd = iconv_open("","");
16226 iconv(cd,NULL,NULL,NULL,NULL);
16230 if { (eval echo configure
:16231: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16232 am_cv_lib_iconv
=yes
16233 am_cv_func_iconv
=yes
16235 echo "configure: failed program was:" >&5
16236 cat conftest.
$ac_ext >&5
16239 LIBS
="$am_save_LIBS"
16244 echo "$ac_t""$am_cv_func_iconv" 1>&6
16245 if test "$am_cv_func_iconv" = yes; then
16246 cat >> confdefs.h
<<\EOF
16247 #define HAVE_ICONV 1
16250 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
16251 echo "configure:16252: checking if iconv needs const" >&5
16252 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
16253 echo $ac_n "(cached) $ac_c" 1>&6
16255 cat > conftest.
$ac_ext <<EOF
16256 #line 16257 "configure"
16257 #include "confdefs.h"
16259 #include <stdlib.h>
16265 #if defined(__STDC__) || defined(__cplusplus)
16266 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16275 if { (eval echo configure
:16276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16277 wx_cv_func_iconv_const
="no"
16279 echo "configure: failed program was:" >&5
16280 cat conftest.
$ac_ext >&5
16282 wx_cv_func_iconv_const
="yes"
16289 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
16292 if test "x$wx_cv_func_iconv_const" = "xyes"; then
16293 iconv_const
="const"
16296 cat >> confdefs.h
<<EOF
16297 #define ICONV_CONST $iconv_const
16302 if test "$am_cv_lib_iconv" = yes; then
16307 LIBS
="$LIBICONV $LIBS"
16309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16310 ac_cpp
='$CPP $CPPFLAGS'
16311 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16312 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16313 cross_compiling
=$ac_cv_prog_cc_cross
16316 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
16317 for ac_func
in sigaction
16319 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16320 echo "configure:16321: checking for $ac_func" >&5
16321 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16322 echo $ac_n "(cached) $ac_c" 1>&6
16324 cat > conftest.
$ac_ext <<EOF
16325 #line 16326 "configure"
16326 #include "confdefs.h"
16327 /* System header to define __stub macros and hopefully few prototypes,
16328 which can conflict with char $ac_func(); below. */
16329 #include <assert.h>
16330 /* Override any gcc2 internal prototype to avoid an error. */
16331 /* We use char because int might match the return type of a gcc2
16332 builtin and then its argument prototype would still apply. */
16337 /* The GNU C library defines this for functions which it implements
16338 to always fail with ENOSYS. Some functions are actually named
16339 something starting with __ and the normal name is an alias. */
16340 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16348 if { (eval echo configure
:16349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16350 eval "ac_cv_func_$ac_func=yes"
16352 echo "configure: failed program was:" >&5
16353 cat conftest.
$ac_ext >&5
16355 eval "ac_cv_func_$ac_func=no"
16360 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16361 echo "$ac_t""yes" 1>&6
16362 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16363 cat >> confdefs.h
<<EOF
16364 #define $ac_tr_func 1
16368 echo "$ac_t""no" 1>&6
16373 if test "$ac_cv_func_sigaction" = "no"; then
16374 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
16375 wxUSE_ON_FATAL_EXCEPTION
=no
16378 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16381 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16382 ac_cpp
='$CXXCPP $CPPFLAGS'
16383 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16384 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16385 cross_compiling
=$ac_cv_prog_cxx_cross
16388 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
16389 echo "configure:16390: checking for sa_handler type" >&5
16390 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16391 echo $ac_n "(cached) $ac_c" 1>&6
16394 cat > conftest.
$ac_ext <<EOF
16395 #line 16396 "configure"
16396 #include "confdefs.h"
16397 #include <signal.h>
16400 extern void testSigHandler(int);
16402 struct sigaction sa;
16403 sa.sa_handler = testSigHandler;
16407 if { (eval echo configure
:16408: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16410 wx_cv_type_sa_handler
=int
16413 echo "configure: failed program was:" >&5
16414 cat conftest.
$ac_ext >&5
16417 wx_cv_type_sa_handler
=void
16424 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16427 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16428 ac_cpp
='$CPP $CPPFLAGS'
16429 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16430 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16431 cross_compiling
=$ac_cv_prog_cc_cross
16434 cat >> confdefs.h
<<EOF
16435 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16441 for ac_func
in vfork
16443 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16444 echo "configure:16445: checking for $ac_func" >&5
16445 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16446 echo $ac_n "(cached) $ac_c" 1>&6
16448 cat > conftest.
$ac_ext <<EOF
16449 #line 16450 "configure"
16450 #include "confdefs.h"
16451 /* System header to define __stub macros and hopefully few prototypes,
16452 which can conflict with char $ac_func(); below. */
16453 #include <assert.h>
16454 /* Override any gcc2 internal prototype to avoid an error. */
16455 /* We use char because int might match the return type of a gcc2
16456 builtin and then its argument prototype would still apply. */
16461 /* The GNU C library defines this for functions which it implements
16462 to always fail with ENOSYS. Some functions are actually named
16463 something starting with __ and the normal name is an alias. */
16464 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16472 if { (eval echo configure
:16473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16474 eval "ac_cv_func_$ac_func=yes"
16476 echo "configure: failed program was:" >&5
16477 cat conftest.
$ac_ext >&5
16479 eval "ac_cv_func_$ac_func=no"
16484 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16485 echo "$ac_t""yes" 1>&6
16486 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16487 cat >> confdefs.h
<<EOF
16488 #define $ac_tr_func 1
16492 echo "$ac_t""no" 1>&6
16497 for ac_func
in mkstemp mktemp
16499 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16500 echo "configure:16501: checking for $ac_func" >&5
16501 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16502 echo $ac_n "(cached) $ac_c" 1>&6
16504 cat > conftest.
$ac_ext <<EOF
16505 #line 16506 "configure"
16506 #include "confdefs.h"
16507 /* System header to define __stub macros and hopefully few prototypes,
16508 which can conflict with char $ac_func(); below. */
16509 #include <assert.h>
16510 /* Override any gcc2 internal prototype to avoid an error. */
16511 /* We use char because int might match the return type of a gcc2
16512 builtin and then its argument prototype would still apply. */
16517 /* The GNU C library defines this for functions which it implements
16518 to always fail with ENOSYS. Some functions are actually named
16519 something starting with __ and the normal name is an alias. */
16520 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16528 if { (eval echo configure
:16529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16530 eval "ac_cv_func_$ac_func=yes"
16532 echo "configure: failed program was:" >&5
16533 cat conftest.
$ac_ext >&5
16535 eval "ac_cv_func_$ac_func=no"
16540 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16541 echo "$ac_t""yes" 1>&6
16542 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16543 cat >> confdefs.h
<<EOF
16544 #define $ac_tr_func 1
16548 echo "$ac_t""no" 1>&6
16553 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16554 echo "configure:16555: checking for statfs" >&5
16555 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16556 echo $ac_n "(cached) $ac_c" 1>&6
16558 cat > conftest.
$ac_ext <<EOF
16559 #line 16560 "configure"
16560 #include "confdefs.h"
16562 #if defined(__BSD__)
16563 #include <sys/param.h>
16564 #include <sys/mount.h>
16566 #include <sys/vfs.h>
16580 if { (eval echo configure
:16581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16583 wx_cv_func_statfs
=yes
16586 echo "configure: failed program was:" >&5
16587 cat conftest.
$ac_ext >&5
16590 wx_cv_func_statfs
=no
16598 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16600 if test "$wx_cv_func_statfs" = "yes"; then
16601 cat >> confdefs.h
<<\EOF
16602 #define HAVE_STATFS 1
16606 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16607 echo "configure:16608: checking for statvfs" >&5
16608 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16609 echo $ac_n "(cached) $ac_c" 1>&6
16611 cat > conftest.
$ac_ext <<EOF
16612 #line 16613 "configure"
16613 #include "confdefs.h"
16615 #include <sys/statvfs.h>
16628 if { (eval echo configure
:16629: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16631 wx_cv_func_statvfs
=yes
16634 echo "configure: failed program was:" >&5
16635 cat conftest.
$ac_ext >&5
16638 wx_cv_func_statvfs
=no
16646 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16648 if test "$wx_cv_func_statvfs" = "yes"; then
16649 cat >> confdefs.h
<<\EOF
16650 #define HAVE_STATVFS 1
16654 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16658 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16659 for ac_func
in fcntl flock
16661 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16662 echo "configure:16663: checking for $ac_func" >&5
16663 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16664 echo $ac_n "(cached) $ac_c" 1>&6
16666 cat > conftest.
$ac_ext <<EOF
16667 #line 16668 "configure"
16668 #include "confdefs.h"
16669 /* System header to define __stub macros and hopefully few prototypes,
16670 which can conflict with char $ac_func(); below. */
16671 #include <assert.h>
16672 /* Override any gcc2 internal prototype to avoid an error. */
16673 /* We use char because int might match the return type of a gcc2
16674 builtin and then its argument prototype would still apply. */
16679 /* The GNU C library defines this for functions which it implements
16680 to always fail with ENOSYS. Some functions are actually named
16681 something starting with __ and the normal name is an alias. */
16682 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16690 if { (eval echo configure
:16691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16692 eval "ac_cv_func_$ac_func=yes"
16694 echo "configure: failed program was:" >&5
16695 cat conftest.
$ac_ext >&5
16697 eval "ac_cv_func_$ac_func=no"
16702 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16703 echo "$ac_t""yes" 1>&6
16704 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16705 cat >> confdefs.h
<<EOF
16706 #define $ac_tr_func 1
16710 echo "$ac_t""no" 1>&6
16715 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16716 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16717 wxUSE_SNGLINST_CHECKER
=no
16721 for ac_func
in timegm
16723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16724 echo "configure:16725: checking for $ac_func" >&5
16725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16726 echo $ac_n "(cached) $ac_c" 1>&6
16728 cat > conftest.
$ac_ext <<EOF
16729 #line 16730 "configure"
16730 #include "confdefs.h"
16731 /* System header to define __stub macros and hopefully few prototypes,
16732 which can conflict with char $ac_func(); below. */
16733 #include <assert.h>
16734 /* Override any gcc2 internal prototype to avoid an error. */
16735 /* We use char because int might match the return type of a gcc2
16736 builtin and then its argument prototype would still apply. */
16741 /* The GNU C library defines this for functions which it implements
16742 to always fail with ENOSYS. Some functions are actually named
16743 something starting with __ and the normal name is an alias. */
16744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16752 if { (eval echo configure
:16753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16754 eval "ac_cv_func_$ac_func=yes"
16756 echo "configure: failed program was:" >&5
16757 cat conftest.
$ac_ext >&5
16759 eval "ac_cv_func_$ac_func=no"
16764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16765 echo "$ac_t""yes" 1>&6
16766 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16767 cat >> confdefs.h
<<EOF
16768 #define $ac_tr_func 1
16772 echo "$ac_t""no" 1>&6
16777 for ac_func
in putenv setenv
16779 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16780 echo "configure:16781: checking for $ac_func" >&5
16781 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16782 echo $ac_n "(cached) $ac_c" 1>&6
16784 cat > conftest.
$ac_ext <<EOF
16785 #line 16786 "configure"
16786 #include "confdefs.h"
16787 /* System header to define __stub macros and hopefully few prototypes,
16788 which can conflict with char $ac_func(); below. */
16789 #include <assert.h>
16790 /* Override any gcc2 internal prototype to avoid an error. */
16791 /* We use char because int might match the return type of a gcc2
16792 builtin and then its argument prototype would still apply. */
16797 /* The GNU C library defines this for functions which it implements
16798 to always fail with ENOSYS. Some functions are actually named
16799 something starting with __ and the normal name is an alias. */
16800 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16808 if { (eval echo configure
:16809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16810 eval "ac_cv_func_$ac_func=yes"
16812 echo "configure: failed program was:" >&5
16813 cat conftest.
$ac_ext >&5
16815 eval "ac_cv_func_$ac_func=no"
16820 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16821 echo "$ac_t""yes" 1>&6
16822 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16823 cat >> confdefs.h
<<EOF
16824 #define $ac_tr_func 1
16828 echo "$ac_t""no" 1>&6
16833 HAVE_SOME_SLEEP_FUNC
=0
16834 if test "$USE_BEOS" = 1; then
16835 cat >> confdefs.h
<<\EOF
16836 #define HAVE_SLEEP 1
16839 HAVE_SOME_SLEEP_FUNC
=1
16842 if test "$USE_DARWIN" = 1; then
16843 cat >> confdefs.h
<<\EOF
16844 #define HAVE_USLEEP 1
16847 HAVE_SOME_SLEEP_FUNC
=1
16850 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16852 for ac_func
in nanosleep
16854 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16855 echo "configure:16856: checking for $ac_func" >&5
16856 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16857 echo $ac_n "(cached) $ac_c" 1>&6
16859 cat > conftest.
$ac_ext <<EOF
16860 #line 16861 "configure"
16861 #include "confdefs.h"
16862 /* System header to define __stub macros and hopefully few prototypes,
16863 which can conflict with char $ac_func(); below. */
16864 #include <assert.h>
16865 /* Override any gcc2 internal prototype to avoid an error. */
16866 /* We use char because int might match the return type of a gcc2
16867 builtin and then its argument prototype would still apply. */
16872 /* The GNU C library defines this for functions which it implements
16873 to always fail with ENOSYS. Some functions are actually named
16874 something starting with __ and the normal name is an alias. */
16875 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16883 if { (eval echo configure
:16884: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16885 eval "ac_cv_func_$ac_func=yes"
16887 echo "configure: failed program was:" >&5
16888 cat conftest.
$ac_ext >&5
16890 eval "ac_cv_func_$ac_func=no"
16895 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16896 echo "$ac_t""yes" 1>&6
16897 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16898 cat >> confdefs.h
<<EOF
16899 #define $ac_tr_func 1
16901 cat >> confdefs.h
<<\EOF
16902 #define HAVE_NANOSLEEP 1
16906 echo "$ac_t""no" 1>&6
16907 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16908 echo "configure:16909: checking for nanosleep in -lposix4" >&5
16909 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16910 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16911 echo $ac_n "(cached) $ac_c" 1>&6
16913 ac_save_LIBS
="$LIBS"
16914 LIBS
="-lposix4 $LIBS"
16915 cat > conftest.
$ac_ext <<EOF
16916 #line 16917 "configure"
16917 #include "confdefs.h"
16918 /* Override any gcc2 internal prototype to avoid an error. */
16919 /* We use char because int might match the return type of a gcc2
16920 builtin and then its argument prototype would still apply. */
16927 if { (eval echo configure
:16928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16929 eval "ac_cv_lib_$ac_lib_var=yes"
16931 echo "configure: failed program was:" >&5
16932 cat conftest.
$ac_ext >&5
16934 eval "ac_cv_lib_$ac_lib_var=no"
16937 LIBS
="$ac_save_LIBS"
16940 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16941 echo "$ac_t""yes" 1>&6
16943 cat >> confdefs.h
<<\EOF
16944 #define HAVE_NANOSLEEP 1
16947 POSIX4_LINK
=" -lposix4"
16950 echo "$ac_t""no" 1>&6
16952 for ac_func
in usleep
16954 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16955 echo "configure:16956: checking for $ac_func" >&5
16956 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16957 echo $ac_n "(cached) $ac_c" 1>&6
16959 cat > conftest.
$ac_ext <<EOF
16960 #line 16961 "configure"
16961 #include "confdefs.h"
16962 /* System header to define __stub macros and hopefully few prototypes,
16963 which can conflict with char $ac_func(); below. */
16964 #include <assert.h>
16965 /* Override any gcc2 internal prototype to avoid an error. */
16966 /* We use char because int might match the return type of a gcc2
16967 builtin and then its argument prototype would still apply. */
16972 /* The GNU C library defines this for functions which it implements
16973 to always fail with ENOSYS. Some functions are actually named
16974 something starting with __ and the normal name is an alias. */
16975 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16983 if { (eval echo configure
:16984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16985 eval "ac_cv_func_$ac_func=yes"
16987 echo "configure: failed program was:" >&5
16988 cat conftest.
$ac_ext >&5
16990 eval "ac_cv_func_$ac_func=no"
16995 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16996 echo "$ac_t""yes" 1>&6
16997 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16998 cat >> confdefs.h
<<EOF
16999 #define $ac_tr_func 1
17001 cat >> confdefs.h
<<\EOF
17002 #define HAVE_USLEEP 1
17006 echo "$ac_t""no" 1>&6
17007 echo "configure: warning: wxSleep() function will not work" 1>&2
17023 for ac_func
in uname gethostname
17025 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17026 echo "configure:17027: checking for $ac_func" >&5
17027 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17028 echo $ac_n "(cached) $ac_c" 1>&6
17030 cat > conftest.
$ac_ext <<EOF
17031 #line 17032 "configure"
17032 #include "confdefs.h"
17033 /* System header to define __stub macros and hopefully few prototypes,
17034 which can conflict with char $ac_func(); below. */
17035 #include <assert.h>
17036 /* Override any gcc2 internal prototype to avoid an error. */
17037 /* We use char because int might match the return type of a gcc2
17038 builtin and then its argument prototype would still apply. */
17043 /* The GNU C library defines this for functions which it implements
17044 to always fail with ENOSYS. Some functions are actually named
17045 something starting with __ and the normal name is an alias. */
17046 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17054 if { (eval echo configure
:17055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17056 eval "ac_cv_func_$ac_func=yes"
17058 echo "configure: failed program was:" >&5
17059 cat conftest.
$ac_ext >&5
17061 eval "ac_cv_func_$ac_func=no"
17066 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17067 echo "$ac_t""yes" 1>&6
17068 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17069 cat >> confdefs.h
<<EOF
17070 #define $ac_tr_func 1
17074 echo "$ac_t""no" 1>&6
17081 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17082 ac_cpp
='$CXXCPP $CPPFLAGS'
17083 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17084 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17085 cross_compiling
=$ac_cv_prog_cxx_cross
17088 for ac_func
in strtok_r
17090 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17091 echo "configure:17092: checking for $ac_func" >&5
17092 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17093 echo $ac_n "(cached) $ac_c" 1>&6
17095 cat > conftest.
$ac_ext <<EOF
17096 #line 17097 "configure"
17097 #include "confdefs.h"
17098 /* System header to define __stub macros and hopefully few prototypes,
17099 which can conflict with char $ac_func(); below. */
17100 #include <assert.h>
17101 /* Override any gcc2 internal prototype to avoid an error. */
17105 /* We use char because int might match the return type of a gcc2
17106 builtin and then its argument prototype would still apply. */
17111 /* The GNU C library defines this for functions which it implements
17112 to always fail with ENOSYS. Some functions are actually named
17113 something starting with __ and the normal name is an alias. */
17114 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17122 if { (eval echo configure
:17123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17124 eval "ac_cv_func_$ac_func=yes"
17126 echo "configure: failed program was:" >&5
17127 cat conftest.
$ac_ext >&5
17129 eval "ac_cv_func_$ac_func=no"
17134 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17135 echo "$ac_t""yes" 1>&6
17136 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17137 cat >> confdefs.h
<<EOF
17138 #define $ac_tr_func 1
17142 echo "$ac_t""no" 1>&6
17148 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17149 ac_cpp
='$CPP $CPPFLAGS'
17150 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17151 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17152 cross_compiling
=$ac_cv_prog_cc_cross
17156 for ac_func
in inet_addr
17158 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17159 echo "configure:17160: checking for $ac_func" >&5
17160 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17161 echo $ac_n "(cached) $ac_c" 1>&6
17163 cat > conftest.
$ac_ext <<EOF
17164 #line 17165 "configure"
17165 #include "confdefs.h"
17166 /* System header to define __stub macros and hopefully few prototypes,
17167 which can conflict with char $ac_func(); below. */
17168 #include <assert.h>
17169 /* Override any gcc2 internal prototype to avoid an error. */
17170 /* We use char because int might match the return type of a gcc2
17171 builtin and then its argument prototype would still apply. */
17176 /* The GNU C library defines this for functions which it implements
17177 to always fail with ENOSYS. Some functions are actually named
17178 something starting with __ and the normal name is an alias. */
17179 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17187 if { (eval echo configure
:17188: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17189 eval "ac_cv_func_$ac_func=yes"
17191 echo "configure: failed program was:" >&5
17192 cat conftest.
$ac_ext >&5
17194 eval "ac_cv_func_$ac_func=no"
17199 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17200 echo "$ac_t""yes" 1>&6
17201 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17202 cat >> confdefs.h
<<EOF
17203 #define $ac_tr_func 1
17205 cat >> confdefs.h
<<\EOF
17206 #define HAVE_INET_ADDR 1
17210 echo "$ac_t""no" 1>&6
17211 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
17212 echo "configure:17213: checking for inet_addr in -lnsl" >&5
17213 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
17214 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17215 echo $ac_n "(cached) $ac_c" 1>&6
17217 ac_save_LIBS
="$LIBS"
17219 cat > conftest.
$ac_ext <<EOF
17220 #line 17221 "configure"
17221 #include "confdefs.h"
17222 /* Override any gcc2 internal prototype to avoid an error. */
17223 /* We use char because int might match the return type of a gcc2
17224 builtin and then its argument prototype would still apply. */
17231 if { (eval echo configure
:17232: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17233 eval "ac_cv_lib_$ac_lib_var=yes"
17235 echo "configure: failed program was:" >&5
17236 cat conftest.
$ac_ext >&5
17238 eval "ac_cv_lib_$ac_lib_var=no"
17241 LIBS
="$ac_save_LIBS"
17244 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17245 echo "$ac_t""yes" 1>&6
17248 echo "$ac_t""no" 1>&6
17249 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
17250 echo "configure:17251: checking for inet_addr in -lresolv" >&5
17251 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
17252 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17253 echo $ac_n "(cached) $ac_c" 1>&6
17255 ac_save_LIBS
="$LIBS"
17256 LIBS
="-lresolv $LIBS"
17257 cat > conftest.
$ac_ext <<EOF
17258 #line 17259 "configure"
17259 #include "confdefs.h"
17260 /* Override any gcc2 internal prototype to avoid an error. */
17261 /* We use char because int might match the return type of a gcc2
17262 builtin and then its argument prototype would still apply. */
17269 if { (eval echo configure
:17270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17271 eval "ac_cv_lib_$ac_lib_var=yes"
17273 echo "configure: failed program was:" >&5
17274 cat conftest.
$ac_ext >&5
17276 eval "ac_cv_lib_$ac_lib_var=no"
17279 LIBS
="$ac_save_LIBS"
17282 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17283 echo "$ac_t""yes" 1>&6
17286 echo "$ac_t""no" 1>&6
17287 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
17288 echo "configure:17289: checking for inet_addr in -lsocket" >&5
17289 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
17290 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17291 echo $ac_n "(cached) $ac_c" 1>&6
17293 ac_save_LIBS
="$LIBS"
17294 LIBS
="-lsocket $LIBS"
17295 cat > conftest.
$ac_ext <<EOF
17296 #line 17297 "configure"
17297 #include "confdefs.h"
17298 /* Override any gcc2 internal prototype to avoid an error. */
17299 /* We use char because int might match the return type of a gcc2
17300 builtin and then its argument prototype would still apply. */
17307 if { (eval echo configure
:17308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17309 eval "ac_cv_lib_$ac_lib_var=yes"
17311 echo "configure: failed program was:" >&5
17312 cat conftest.
$ac_ext >&5
17314 eval "ac_cv_lib_$ac_lib_var=no"
17317 LIBS
="$ac_save_LIBS"
17320 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17321 echo "$ac_t""yes" 1>&6
17325 echo "$ac_t""no" 1>&6
17340 for ac_func
in inet_aton
17342 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17343 echo "configure:17344: checking for $ac_func" >&5
17344 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17345 echo $ac_n "(cached) $ac_c" 1>&6
17347 cat > conftest.
$ac_ext <<EOF
17348 #line 17349 "configure"
17349 #include "confdefs.h"
17350 /* System header to define __stub macros and hopefully few prototypes,
17351 which can conflict with char $ac_func(); below. */
17352 #include <assert.h>
17353 /* Override any gcc2 internal prototype to avoid an error. */
17354 /* We use char because int might match the return type of a gcc2
17355 builtin and then its argument prototype would still apply. */
17360 /* The GNU C library defines this for functions which it implements
17361 to always fail with ENOSYS. Some functions are actually named
17362 something starting with __ and the normal name is an alias. */
17363 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17371 if { (eval echo configure
:17372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17373 eval "ac_cv_func_$ac_func=yes"
17375 echo "configure: failed program was:" >&5
17376 cat conftest.
$ac_ext >&5
17378 eval "ac_cv_func_$ac_func=no"
17383 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17384 echo "$ac_t""yes" 1>&6
17385 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17386 cat >> confdefs.h
<<EOF
17387 #define $ac_tr_func 1
17389 cat >> confdefs.h
<<\EOF
17390 #define HAVE_INET_ATON 1
17394 echo "$ac_t""no" 1>&6
17395 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17396 echo "configure:17397: checking for inet_aton in -l$INET_LINK" >&5
17397 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17398 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17399 echo $ac_n "(cached) $ac_c" 1>&6
17401 ac_save_LIBS
="$LIBS"
17402 LIBS
="-l$INET_LINK $LIBS"
17403 cat > conftest.
$ac_ext <<EOF
17404 #line 17405 "configure"
17405 #include "confdefs.h"
17406 /* Override any gcc2 internal prototype to avoid an error. */
17407 /* We use char because int might match the return type of a gcc2
17408 builtin and then its argument prototype would still apply. */
17415 if { (eval echo configure
:17416: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17417 eval "ac_cv_lib_$ac_lib_var=yes"
17419 echo "configure: failed program was:" >&5
17420 cat conftest.
$ac_ext >&5
17422 eval "ac_cv_lib_$ac_lib_var=no"
17425 LIBS
="$ac_save_LIBS"
17428 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17429 echo "$ac_t""yes" 1>&6
17430 cat >> confdefs.h
<<\EOF
17431 #define HAVE_INET_ATON 1
17435 echo "$ac_t""no" 1>&6
17443 if test "x$INET_LINK" != "x"; then
17444 cat >> confdefs.h
<<\EOF
17445 #define HAVE_INET_ADDR 1
17448 INET_LINK
=" -l$INET_LINK"
17454 cat > confcache
<<\EOF
17455 # This file is a shell script that caches the results of configure
17456 # tests run on this system so they can be shared between configure
17457 # scripts and configure runs. It is not useful on other systems.
17458 # If it contains results you don't want to keep, you may remove or edit it.
17460 # By default, configure uses ./config.cache as the cache file,
17461 # creating it if it does not exist already. You can give configure
17462 # the --cache-file=FILE option to use a different cache file; that is
17463 # what configure does when it calls configure scripts in
17464 # subdirectories, so they share the cache.
17465 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17466 # config.status only pays attention to the cache file if you give it the
17467 # --recheck option to rerun configure.
17470 # The following way of writing the cache mishandles newlines in values,
17471 # but we know of no workaround that is simple, portable, and efficient.
17472 # So, don't put newlines in cache variables' values.
17473 # Ultrix sh set writes to stderr and can't be redirected directly,
17474 # and sets the high bit in the cache file unless we assign to the vars.
17476 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17478 # `set' does not quote correctly, so add quotes (double-quote substitution
17479 # turns \\\\ into \\, and sed turns \\ into \).
17481 -e "s/'/'\\\\''/g" \
17482 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17485 # `set' quotes correctly as required by POSIX, so do not add quotes.
17486 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17489 if cmp -s $cache_file confcache
; then
17492 if test -w $cache_file; then
17493 echo "updating cache $cache_file"
17494 cat confcache
> $cache_file
17496 echo "not updating unwritable cache $cache_file"
17504 COMMON_THREADCPPFLAGS
=
17505 if test "$TOOLKIT" != "MSW"; then
17511 if test "$wxUSE_THREADS" = "yes" ; then
17512 if test "$wxUSE_WINE" = 1 ; then
17513 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17515 elif test "$USE_BEOS" = 1; then
17516 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17521 if test "$wxUSE_THREADS" = "yes" ; then
17524 THREAD_OPTS
="-pthread"
17526 *-*-solaris2* | *-*-sunos4* )
17527 if test "x$GCC" = "xyes"; then
17528 THREAD_OPTS
="-pthreads $THREAD_OPTS"
17530 THREAD_OPTS
="-mt $THREAD_OPTS"
17534 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
17536 *-*-darwin* | *-*-cygwin* )
17540 THREAD_OPTS
="pthreads"
17544 THREAD_OPTS
="$THREAD_OPTS pthread none"
17547 for flag
in $THREAD_OPTS; do
17550 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17551 echo "configure:17552: checking whether pthreads work without any flags" >&5
17555 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17556 echo "configure:17557: checking whether pthreads work with $flag" >&5
17557 THREADS_CFLAGS
="$flag"
17561 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17562 echo "configure:17563: checking for the pthreads library -l$flag" >&5
17563 THREADS_LINK
="-l$flag"
17568 save_CFLAGS
="$CFLAGS"
17569 LIBS
="$THREADS_LINK $LIBS"
17570 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
17572 cat > conftest.
$ac_ext <<EOF
17573 #line 17574 "configure"
17574 #include "confdefs.h"
17575 #include <pthread.h>
17577 pthread_create(0,0,0,0);
17580 if { (eval echo configure
:17581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17584 echo "configure: failed program was:" >&5
17585 cat conftest.
$ac_ext >&5
17590 CFLAGS
="$save_CFLAGS"
17592 echo "$ac_t""$THREADS_OK" 1>&6
17593 if test "x$THREADS_OK" = "xyes"; then
17601 if test "x$THREADS_OK" != "xyes"; then
17603 echo "configure: warning: No thread support on this system... disabled" 1>&2
17605 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17607 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17608 echo "configure:17609: checking if more special flags are required for pthreads" >&5
17611 *-aix* | *-freebsd*)
17612 flag
="-D_THREAD_SAFE"
17614 *solaris
* | alpha
*-osf*)
17615 flag
="-D_REENTRANT"
17618 echo "$ac_t""${flag}" 1>&6
17619 if test "x$flag" != xno
; then
17620 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
17623 if test "x$THREADS_CFLAGS" != "x"; then
17624 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
17625 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
17630 if test "$wxUSE_THREADS" = "yes" ; then
17631 for ac_func
in thr_setconcurrency
17633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17634 echo "configure:17635: checking for $ac_func" >&5
17635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17636 echo $ac_n "(cached) $ac_c" 1>&6
17638 cat > conftest.
$ac_ext <<EOF
17639 #line 17640 "configure"
17640 #include "confdefs.h"
17641 /* System header to define __stub macros and hopefully few prototypes,
17642 which can conflict with char $ac_func(); below. */
17643 #include <assert.h>
17644 /* Override any gcc2 internal prototype to avoid an error. */
17645 /* We use char because int might match the return type of a gcc2
17646 builtin and then its argument prototype would still apply. */
17651 /* The GNU C library defines this for functions which it implements
17652 to always fail with ENOSYS. Some functions are actually named
17653 something starting with __ and the normal name is an alias. */
17654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17662 if { (eval echo configure
:17663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17664 eval "ac_cv_func_$ac_func=yes"
17666 echo "configure: failed program was:" >&5
17667 cat conftest.
$ac_ext >&5
17669 eval "ac_cv_func_$ac_func=no"
17674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17675 echo "$ac_t""yes" 1>&6
17676 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17677 cat >> confdefs.h
<<EOF
17678 #define $ac_tr_func 1
17682 echo "$ac_t""no" 1>&6
17687 for ac_hdr
in sched.h
17689 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17690 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17691 echo "configure:17692: checking for $ac_hdr" >&5
17692 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17693 echo $ac_n "(cached) $ac_c" 1>&6
17695 cat > conftest.
$ac_ext <<EOF
17696 #line 17697 "configure"
17697 #include "confdefs.h"
17700 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17701 { (eval echo configure
:17702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17702 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17703 if test -z "$ac_err"; then
17705 eval "ac_cv_header_$ac_safe=yes"
17708 echo "configure: failed program was:" >&5
17709 cat conftest.
$ac_ext >&5
17711 eval "ac_cv_header_$ac_safe=no"
17715 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17716 echo "$ac_t""yes" 1>&6
17717 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17718 cat >> confdefs.h
<<EOF
17719 #define $ac_tr_hdr 1
17723 echo "$ac_t""no" 1>&6
17727 if test "$ac_cv_header_sched_h" = "yes"; then
17728 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17729 echo "configure:17730: checking for sched_yield" >&5
17730 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
17731 echo $ac_n "(cached) $ac_c" 1>&6
17733 cat > conftest.
$ac_ext <<EOF
17734 #line 17735 "configure"
17735 #include "confdefs.h"
17736 /* System header to define __stub macros and hopefully few prototypes,
17737 which can conflict with char sched_yield(); below. */
17738 #include <assert.h>
17739 /* Override any gcc2 internal prototype to avoid an error. */
17740 /* We use char because int might match the return type of a gcc2
17741 builtin and then its argument prototype would still apply. */
17742 char sched_yield();
17746 /* The GNU C library defines this for functions which it implements
17747 to always fail with ENOSYS. Some functions are actually named
17748 something starting with __ and the normal name is an alias. */
17749 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
17757 if { (eval echo configure
:17758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17759 eval "ac_cv_func_sched_yield=yes"
17761 echo "configure: failed program was:" >&5
17762 cat conftest.
$ac_ext >&5
17764 eval "ac_cv_func_sched_yield=no"
17769 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17770 echo "$ac_t""yes" 1>&6
17771 cat >> confdefs.h
<<\EOF
17772 #define HAVE_SCHED_YIELD 1
17776 echo "$ac_t""no" 1>&6
17778 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17779 echo "configure:17780: checking for sched_yield in -lposix4" >&5
17780 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17781 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17782 echo $ac_n "(cached) $ac_c" 1>&6
17784 ac_save_LIBS
="$LIBS"
17785 LIBS
="-lposix4 $LIBS"
17786 cat > conftest.
$ac_ext <<EOF
17787 #line 17788 "configure"
17788 #include "confdefs.h"
17789 /* Override any gcc2 internal prototype to avoid an error. */
17790 /* We use char because int might match the return type of a gcc2
17791 builtin and then its argument prototype would still apply. */
17792 char sched_yield();
17798 if { (eval echo configure
:17799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17800 eval "ac_cv_lib_$ac_lib_var=yes"
17802 echo "configure: failed program was:" >&5
17803 cat conftest.
$ac_ext >&5
17805 eval "ac_cv_lib_$ac_lib_var=no"
17808 LIBS
="$ac_save_LIBS"
17811 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17812 echo "$ac_t""yes" 1>&6
17813 cat >> confdefs.h
<<\EOF
17814 #define HAVE_SCHED_YIELD 1
17816 POSIX4_LINK
=" -lposix4"
17818 echo "$ac_t""no" 1>&6
17819 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17830 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17831 echo "configure:17832: checking for pthread_attr_getschedpolicy" >&5
17832 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17833 echo $ac_n "(cached) $ac_c" 1>&6
17835 cat > conftest.
$ac_ext <<EOF
17836 #line 17837 "configure"
17837 #include "confdefs.h"
17838 /* System header to define __stub macros and hopefully few prototypes,
17839 which can conflict with char pthread_attr_getschedpolicy(); below. */
17840 #include <assert.h>
17841 /* Override any gcc2 internal prototype to avoid an error. */
17842 /* We use char because int might match the return type of a gcc2
17843 builtin and then its argument prototype would still apply. */
17844 char pthread_attr_getschedpolicy();
17848 /* The GNU C library defines this for functions which it implements
17849 to always fail with ENOSYS. Some functions are actually named
17850 something starting with __ and the normal name is an alias. */
17851 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17854 pthread_attr_getschedpolicy();
17859 if { (eval echo configure
:17860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17861 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17863 echo "configure: failed program was:" >&5
17864 cat conftest.
$ac_ext >&5
17866 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17871 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17872 echo "$ac_t""yes" 1>&6
17873 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17874 echo "configure:17875: checking for pthread_attr_setschedparam" >&5
17875 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17876 echo $ac_n "(cached) $ac_c" 1>&6
17878 cat > conftest.
$ac_ext <<EOF
17879 #line 17880 "configure"
17880 #include "confdefs.h"
17881 /* System header to define __stub macros and hopefully few prototypes,
17882 which can conflict with char pthread_attr_setschedparam(); below. */
17883 #include <assert.h>
17884 /* Override any gcc2 internal prototype to avoid an error. */
17885 /* We use char because int might match the return type of a gcc2
17886 builtin and then its argument prototype would still apply. */
17887 char pthread_attr_setschedparam();
17891 /* The GNU C library defines this for functions which it implements
17892 to always fail with ENOSYS. Some functions are actually named
17893 something starting with __ and the normal name is an alias. */
17894 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17897 pthread_attr_setschedparam();
17902 if { (eval echo configure
:17903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17904 eval "ac_cv_func_pthread_attr_setschedparam=yes"
17906 echo "configure: failed program was:" >&5
17907 cat conftest.
$ac_ext >&5
17909 eval "ac_cv_func_pthread_attr_setschedparam=no"
17914 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
17915 echo "$ac_t""yes" 1>&6
17916 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
17917 echo "configure:17918: checking for sched_get_priority_max" >&5
17918 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
17919 echo $ac_n "(cached) $ac_c" 1>&6
17921 cat > conftest.
$ac_ext <<EOF
17922 #line 17923 "configure"
17923 #include "confdefs.h"
17924 /* System header to define __stub macros and hopefully few prototypes
17926 echo "$ac_t""no" 1>&6
17927 which can conflict with char sched_get_priority_max(); below. */
17928 #include <assert.h>
17929 /* Override any gcc2 internal prototype to avoid an error. */
17930 /* We use char because int might match the return type of a gcc2
17931 builtin and then its argument prototype would still apply. */
17932 char sched_get_priority_max();
17936 /* The GNU C library defines this for functions which it implements
17937 to always fail with ENOSYS. Some functions are actually named
17938 something starting with __ and the normal name is an alias. */
17939 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
17942 sched_get_priority_max();
17947 if { (eval echo configure
:17948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17949 eval "ac_cv_func_sched_get_priority_max=yes"
17951 echo "configure: failed program was:" >&5
17952 cat conftest.
$ac_ext >&5
17954 eval "ac_cv_func_sched_get_priority_max=no"
17959 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
17960 echo "$ac_t""yes" 1>&6
17963 echo "$ac_t""no" 1>&6
17964 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
17965 echo "configure:17966: checking for sched_get_priority_max in -lposix4" >&5
17966 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
17967 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17968 echo $ac_n "(cached) $ac_c" 1>&6
17970 ac_save_LIBS
="$LIBS"
17971 LIBS
="-lposix4 $LIBS"
17972 cat > conftest.
$ac_ext <<EOF
17973 #line 17974 "configure"
17974 #include "confdefs.h"
17975 /* Override any gcc2 internal prototype to avoid an error. */
17976 /* We use char because int might match the return type of a gcc2
17977 builtin and then its argument prototype would still apply. */
17978 char sched_get_priority_max();
17981 sched_get_priority_max()
17984 if { (eval echo configure
:17985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17986 eval "ac_cv_lib_$ac_lib_var=yes"
17988 echo "configure: failed program was:" >&5
17989 cat conftest.
$ac_ext >&5
17991 eval "ac_cv_lib_$ac_lib_var=no"
17994 LIBS
="$ac_save_LIBS"
17997 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17998 echo "$ac_t""yes" 1>&6
18001 POSIX4_LINK
=" -lposix4"
18004 echo "$ac_t""no" 1>&6
18012 echo "$ac_t""no" 1>&6
18019 if test "$HAVE_PRIOR_FUNCS" = 1; then
18020 cat >> confdefs.h
<<\EOF
18021 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
18025 echo "configure: warning: Setting thread priority will not work" 1>&2
18028 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
18029 echo "configure:18030: checking for pthread_cancel" >&5
18030 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
18031 echo $ac_n "(cached) $ac_c" 1>&6
18033 cat > conftest.
$ac_ext <<EOF
18034 #line 18035 "configure"
18035 #include "confdefs.h"
18036 /* System header to define __stub macros and hopefully few prototypes,
18037 which can conflict with char pthread_cancel(); below. */
18038 #include <assert.h>
18039 /* Override any gcc2 internal prototype to avoid an error. */
18040 /* We use char because int might match the return type of a gcc2
18041 builtin and then its argument prototype would still apply. */
18042 char pthread_cancel();
18046 /* The GNU C library defines this for functions which it implements
18047 to always fail with ENOSYS. Some functions are actually named
18048 something starting with __ and the normal name is an alias. */
18049 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
18057 if { (eval echo configure
:18058: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18059 eval "ac_cv_func_pthread_cancel=yes"
18061 echo "configure: failed program was:" >&5
18062 cat conftest.
$ac_ext >&5
18064 eval "ac_cv_func_pthread_cancel=no"
18069 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
18070 echo "$ac_t""yes" 1>&6
18071 cat >> confdefs.h
<<\EOF
18072 #define HAVE_PTHREAD_CANCEL 1
18076 echo "$ac_t""no" 1>&6
18077 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
18081 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
18082 echo "configure:18083: checking for pthread_cleanup_push/pop" >&5
18083 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
18084 echo $ac_n "(cached) $ac_c" 1>&6
18087 cat > conftest.
$ac_ext <<EOF
18088 #line 18089 "configure"
18089 #include "confdefs.h"
18090 #include <pthread.h>
18093 pthread_cleanup_push(NULL, NULL);
18094 pthread_cleanup_pop(0);
18098 if { (eval echo configure
:18099: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18101 wx_cv_func_pthread_cleanup_push
=yes
18104 echo "configure: failed program was:" >&5
18105 cat conftest.
$ac_ext >&5
18108 wx_cv_func_pthread_cleanup_push
=no
18115 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
18117 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
18118 cat >> confdefs.h
<<\EOF
18119 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
18125 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
18126 echo "configure:18127: checking for pthread_mutexattr_t" >&5
18127 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
18128 echo $ac_n "(cached) $ac_c" 1>&6
18131 cat > conftest.
$ac_ext <<EOF
18132 #line 18133 "configure"
18133 #include "confdefs.h"
18134 #include <pthread.h>
18137 pthread_mutexattr_t attr;
18138 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
18142 if { (eval echo configure
:18143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18145 wx_cv_type_pthread_mutexattr_t
=yes
18148 echo "configure: failed program was:" >&5
18149 cat conftest.
$ac_ext >&5
18152 wx_cv_type_pthread_mutexattr_t
=no
18160 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
18162 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
18163 cat >> confdefs.h
<<\EOF
18164 #define HAVE_PTHREAD_MUTEXATTR_T 1
18168 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
18169 echo "configure:18170: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
18170 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
18171 echo $ac_n "(cached) $ac_c" 1>&6
18174 cat > conftest.
$ac_ext <<EOF
18175 #line 18176 "configure"
18176 #include "confdefs.h"
18177 #include <pthread.h>
18180 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
18184 if { (eval echo configure
:18185: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18187 wx_cv_type_pthread_rec_mutex_init
=yes
18190 echo "configure: failed program was:" >&5
18191 cat conftest.
$ac_ext >&5
18194 wx_cv_type_pthread_rec_mutex_init
=no
18202 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
18203 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
18204 cat >> confdefs.h
<<\EOF
18205 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
18209 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
18215 if test "$wxUSE_THREADS" = "yes" ; then
18218 CFLAGS
="$CFLAGS -mthreads"
18219 CXXFLAGS
="$CXXFLAGS -mthreads"
18220 COMMON_THREADCPPFLAGS
="-mthreads"
18221 LDFLAGS
="$LDFLAGS -mthreads"
18227 if test "$wxUSE_THREADS" = "yes"; then
18228 cat >> confdefs.h
<<\EOF
18229 #define wxUSE_THREADS 1
18233 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
18235 if test "$ac_cv_func_strtok_r" = "yes"; then
18236 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
18237 echo "configure:18238: checking if -D_REENTRANT is needed" >&5
18238 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
18239 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
18240 echo "$ac_t""yes" 1>&6
18242 echo "$ac_t""no" 1>&6
18247 if test "$WXGTK20" = 1 ; then
18248 cat >> confdefs.h
<<EOF
18249 #define __WXGTK20__ $WXGTK20
18255 if test "$WXGTK12" = 1 ; then
18256 cat >> confdefs.h
<<EOF
18257 #define __WXGTK12__ $WXGTK12
18262 if test "$WXGTK127" = 1 ; then
18263 cat >> confdefs.h
<<EOF
18264 #define __WXGTK127__ $WXGTK127
18271 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
18276 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
18277 wxUSE_DEBUG_INFO
=yes
18281 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
18282 cat >> confdefs.h
<<\EOF
18286 WXDEBUG_DEFINE
="-D__WXDEBUG__"
18288 if test "$wxUSE_GTK" = 1 ; then
18289 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
18293 if test "$wxUSE_MEM_TRACING" = "yes" ; then
18294 cat >> confdefs.h
<<\EOF
18295 #define wxUSE_MEMORY_TRACING 1
18298 cat >> confdefs.h
<<\EOF
18299 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
18302 cat >> confdefs.h
<<\EOF
18303 #define wxUSE_DEBUG_NEW_ALWAYS 1
18306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
18309 if test "$wxUSE_DMALLOC" = "yes" ; then
18310 DMALLOC_LIBS
="-ldmalloc"
18314 if test "$wxUSE_PROFILE" = "yes" ; then
18319 CODE_GEN_FLAGS_CXX
=
18320 if test "$GCC" = "yes" ; then
18321 if test "$wxUSE_NO_RTTI" = "yes" ; then
18322 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
18324 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
18325 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
18327 if test "$wxUSE_PERMISSIVE" = "yes" ; then
18328 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
18330 if test "$USE_WIN32" = 1 ; then
18331 # I'm not even really sure what this was ever added to solve,
18332 # but someone added it for mingw native builds, so I guess
18333 # they had a reason, right??
18334 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
18339 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
18344 if test "$wxUSE_OPTIMISE" = "no" ; then
18347 if test "$GCC" = yes ; then
18350 i586
-*-*|i686
-*-* )
18351 OPTIMISE
="${OPTIMISE} "
18359 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
18360 cat >> confdefs.h
<<\EOF
18361 #define WXWIN_COMPATIBILITY_2 1
18365 WXWIN_COMPATIBILITY_2_2
="yes"
18368 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
18369 cat >> confdefs.h
<<\EOF
18370 #define WXWIN_COMPATIBILITY_2_2 1
18376 if test "$wxUSE_GUI" = "yes"; then
18377 cat >> confdefs.h
<<\EOF
18378 #define wxUSE_GUI 1
18383 cat >> confdefs.h
<<\EOF
18384 #define wxUSE_NOGUI 1
18390 if test "$wxUSE_UNIX" = "yes"; then
18391 cat >> confdefs.h
<<\EOF
18392 #define wxUSE_UNIX 1
18398 if test "$wxUSE_APPLE_IEEE" = "yes"; then
18399 cat >> confdefs.h
<<\EOF
18400 #define wxUSE_APPLE_IEEE 1
18405 if test "$wxUSE_TIMER" = "yes"; then
18406 cat >> confdefs.h
<<\EOF
18407 #define wxUSE_TIMER 1
18412 if test "$wxUSE_WAVE" = "yes"; then
18413 cat >> confdefs.h
<<\EOF
18414 #define wxUSE_WAVE 1
18419 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18420 cat >> confdefs.h
<<\EOF
18421 #define wxUSE_CMDLINE_PARSER 1
18426 if test "$wxUSE_STOPWATCH" = "yes"; then
18427 cat >> confdefs.h
<<\EOF
18428 #define wxUSE_STOPWATCH 1
18433 if test "$wxUSE_DATETIME" = "yes"; then
18434 cat >> confdefs.h
<<\EOF
18435 #define wxUSE_DATETIME 1
18440 if test "$wxUSE_TIMEDATE" = "yes"; then
18441 cat >> confdefs.h
<<\EOF
18442 #define wxUSE_TIMEDATE 1
18447 if test "$wxUSE_FILE" = "yes"; then
18448 cat >> confdefs.h
<<\EOF
18449 #define wxUSE_FILE 1
18454 if test "$wxUSE_FFILE" = "yes"; then
18455 cat >> confdefs.h
<<\EOF
18456 #define wxUSE_FFILE 1
18461 if test "$wxUSE_FILESYSTEM" = "yes"; then
18462 cat >> confdefs.h
<<\EOF
18463 #define wxUSE_FILESYSTEM 1
18468 if test "$wxUSE_FS_INET" = "yes"; then
18469 cat >> confdefs.h
<<\EOF
18470 #define wxUSE_FS_INET 1
18475 if test "$wxUSE_FS_ZIP" = "yes"; then
18476 cat >> confdefs.h
<<\EOF
18477 #define wxUSE_FS_ZIP 1
18482 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18483 cat >> confdefs.h
<<\EOF
18484 #define wxUSE_ZIPSTREAM 1
18489 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18490 cat >> confdefs.h
<<\EOF
18491 #define wxUSE_ON_FATAL_EXCEPTION 1
18496 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18497 cat >> confdefs.h
<<\EOF
18498 #define wxUSE_SNGLINST_CHECKER 1
18503 if test "$wxUSE_BUSYINFO" = "yes"; then
18504 cat >> confdefs.h
<<\EOF
18505 #define wxUSE_BUSYINFO 1
18510 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18511 cat >> confdefs.h
<<\EOF
18512 #define wxUSE_STD_IOSTREAM 1
18517 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18518 cat >> confdefs.h
<<\EOF
18519 #define wxUSE_TEXTBUFFER 1
18524 if test "$wxUSE_TEXTFILE" = "yes"; then
18525 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18526 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18528 cat >> confdefs.h
<<\EOF
18529 #define wxUSE_TEXTFILE 1
18535 if test "$wxUSE_CONFIG" = "yes" ; then
18536 if test "$wxUSE_TEXTFILE" != "yes"; then
18537 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18539 cat >> confdefs.h
<<\EOF
18540 #define wxUSE_CONFIG 1
18543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18547 if test "$wxUSE_INTL" = "yes" ; then
18548 if test "$wxUSE_FILE" != "yes"; then
18549 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18551 cat >> confdefs.h
<<\EOF
18552 #define wxUSE_INTL 1
18555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18556 GUIDIST
="$GUIDIST INTL_DIST"
18560 if test "$wxUSE_LOG" = "yes"; then
18561 cat >> confdefs.h
<<\EOF
18562 #define wxUSE_LOG 1
18566 if test "$wxUSE_LOGGUI" = "yes"; then
18567 cat >> confdefs.h
<<\EOF
18568 #define wxUSE_LOGGUI 1
18573 if test "$wxUSE_LOGWINDOW" = "yes"; then
18574 cat >> confdefs.h
<<\EOF
18575 #define wxUSE_LOGWINDOW 1
18580 if test "$wxUSE_LOGDIALOG" = "yes"; then
18581 cat >> confdefs.h
<<\EOF
18582 #define wxUSE_LOG_DIALOG 1
18588 if test "$wxUSE_LONGLONG" = "yes"; then
18589 cat >> confdefs.h
<<\EOF
18590 #define wxUSE_LONGLONG 1
18595 if test "$wxUSE_GEOMETRY" = "yes"; then
18596 cat >> confdefs.h
<<\EOF
18597 #define wxUSE_GEOMETRY 1
18602 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18603 cat >> confdefs.h
<<\EOF
18604 #define wxUSE_DIALUP_MANAGER 1
18607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18610 if test "$wxUSE_STREAMS" = "yes" ; then
18611 cat >> confdefs.h
<<\EOF
18612 #define wxUSE_STREAMS 1
18618 if test "$wxUSE_DATETIME" = "yes"; then
18619 for ac_func
in strptime
18621 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18622 echo "configure:18623: checking for $ac_func" >&5
18623 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18624 echo $ac_n "(cached) $ac_c" 1>&6
18626 cat > conftest.
$ac_ext <<EOF
18627 #line 18628 "configure"
18628 #include "confdefs.h"
18629 /* System header to define __stub macros and hopefully few prototypes,
18630 which can conflict with char $ac_func(); below. */
18631 #include <assert.h>
18632 /* Override any gcc2 internal prototype to avoid an error. */
18633 /* We use char because int might match the return type of a gcc2
18634 builtin and then its argument prototype would still apply. */
18639 /* The GNU C library defines this for functions which it implements
18640 to always fail with ENOSYS. Some functions are actually named
18641 something starting with __ and the normal name is an alias. */
18642 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18650 if { (eval echo configure
:18651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18652 eval "ac_cv_func_$ac_func=yes"
18654 echo "configure: failed program was:" >&5
18655 cat conftest.
$ac_ext >&5
18657 eval "ac_cv_func_$ac_func=no"
18662 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18663 echo "$ac_t""yes" 1>&6
18664 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18665 cat >> confdefs.h
<<EOF
18666 #define $ac_tr_func 1
18670 echo "$ac_t""no" 1>&6
18675 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18676 echo "configure:18677: checking for timezone variable in <time.h>" >&5
18677 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18678 echo $ac_n "(cached) $ac_c" 1>&6
18681 cat > conftest.
$ac_ext <<EOF
18682 #line 18683 "configure"
18683 #include "confdefs.h"
18694 if { (eval echo configure
:18695: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18697 wx_cv_var_timezone
=timezone
18700 echo "configure: failed program was:" >&5
18701 cat conftest.
$ac_ext >&5
18704 cat > conftest.
$ac_ext <<EOF
18705 #line 18706 "configure"
18706 #include "confdefs.h"
18717 if { (eval echo configure
:18718: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18720 wx_cv_var_timezone
=_timezone
18723 echo "configure: failed program was:" >&5
18724 cat conftest.
$ac_ext >&5
18727 cat > conftest.
$ac_ext <<EOF
18728 #line 18729 "configure"
18729 #include "confdefs.h"
18740 if { (eval echo configure
:18741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18743 wx_cv_var_timezone
=__timezone
18746 echo "configure: failed program was:" >&5
18747 cat conftest.
$ac_ext >&5
18750 if test "$USE_DOS" = 0 ; then
18751 echo "configure: warning: no timezone variable" 1>&2
18769 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18771 if test "x$wx_cv_var_timezone" != x
; then
18772 cat >> confdefs.h
<<EOF
18773 #define WX_TIMEZONE $wx_cv_var_timezone
18778 for ac_func
in localtime
18780 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18781 echo "configure:18782: checking for $ac_func" >&5
18782 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18783 echo $ac_n "(cached) $ac_c" 1>&6
18785 cat > conftest.
$ac_ext <<EOF
18786 #line 18787 "configure"
18787 #include "confdefs.h"
18788 /* System header to define __stub macros and hopefully few prototypes,
18789 which can conflict with char $ac_func(); below. */
18790 #include <assert.h>
18791 /* Override any gcc2 internal prototype to avoid an error. */
18792 /* We use char because int might match the return type of a gcc2
18793 builtin and then its argument prototype would still apply. */
18798 /* The GNU C library defines this for functions which it implements
18799 to always fail with ENOSYS. Some functions are actually named
18800 something starting with __ and the normal name is an alias. */
18801 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18809 if { (eval echo configure
:18810: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18811 eval "ac_cv_func_$ac_func=yes"
18813 echo "configure: failed program was:" >&5
18814 cat conftest.
$ac_ext >&5
18816 eval "ac_cv_func_$ac_func=no"
18821 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18822 echo "$ac_t""yes" 1>&6
18823 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18824 cat >> confdefs.h
<<EOF
18825 #define $ac_tr_func 1
18829 echo "$ac_t""no" 1>&6
18834 if test "$ac_cv_func_localtime" = "yes"; then
18835 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18836 echo "configure:18837: checking for tm_gmtoff in struct tm" >&5
18837 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18838 echo $ac_n "(cached) $ac_c" 1>&6
18841 cat > conftest.
$ac_ext <<EOF
18842 #line 18843 "configure"
18843 #include "confdefs.h"
18854 if { (eval echo configure
:18855: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18857 wx_cv_struct_tm_has_gmtoff
=yes
18860 echo "configure: failed program was:" >&5
18861 cat conftest.
$ac_ext >&5
18863 wx_cv_struct_tm_has_gmtoff
=no
18870 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18873 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18874 cat >> confdefs.h
<<\EOF
18875 #define WX_GMTOFF_IN_TM 1
18880 for ac_func
in gettimeofday ftime
18882 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18883 echo "configure:18884: checking for $ac_func" >&5
18884 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18885 echo $ac_n "(cached) $ac_c" 1>&6
18887 cat > conftest.
$ac_ext <<EOF
18888 #line 18889 "configure"
18889 #include "confdefs.h"
18890 /* System header to define __stub macros and hopefully few prototypes,
18891 which can conflict with char $ac_func(); below. */
18892 #include <assert.h>
18893 /* Override any gcc2 internal prototype to avoid an error. */
18894 /* We use char because int might match the return type of a gcc2
18895 builtin and then its argument prototype would still apply. */
18900 /* The GNU C library defines this for functions which it implements
18901 to always fail with ENOSYS. Some functions are actually named
18902 something starting with __ and the normal name is an alias. */
18903 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18911 if { (eval echo configure
:18912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18913 eval "ac_cv_func_$ac_func=yes"
18915 echo "configure: failed program was:" >&5
18916 cat conftest.
$ac_ext >&5
18918 eval "ac_cv_func_$ac_func=no"
18923 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18924 echo "$ac_t""yes" 1>&6
18925 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18926 cat >> confdefs.h
<<EOF
18927 #define $ac_tr_func 1
18931 echo "$ac_t""no" 1>&6
18936 if test "$ac_cv_func_gettimeofday" = "yes"; then
18937 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18938 echo "configure:18939: checking whether gettimeofday takes two arguments" >&5
18939 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18940 echo $ac_n "(cached) $ac_c" 1>&6
18945 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18946 ac_cpp
='$CXXCPP $CPPFLAGS'
18947 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18948 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18949 cross_compiling
=$ac_cv_prog_cxx_cross
18952 cat > conftest.
$ac_ext <<EOF
18953 #line 18954 "configure"
18954 #include "confdefs.h"
18956 #include <sys/time.h>
18957 #include <unistd.h>
18962 gettimeofday(&tv, NULL);
18966 if { (eval echo configure
:18967: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18968 wx_cv_func_gettimeofday_has_2_args
=yes
18970 echo "configure: failed program was:" >&5
18971 cat conftest.
$ac_ext >&5
18973 cat > conftest.
$ac_ext <<EOF
18974 #line 18975 "configure"
18975 #include "confdefs.h"
18977 #include <sys/time.h>
18978 #include <unistd.h>
18987 if { (eval echo configure
:18988: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18989 wx_cv_func_gettimeofday_has_2_args
=no
18991 echo "configure: failed program was:" >&5
18992 cat conftest.
$ac_ext >&5
18995 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
18996 wx_cv_func_gettimeofday_has_2_args
=unknown
19005 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19006 ac_cpp
='$CPP $CPPFLAGS'
19007 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19008 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19009 cross_compiling
=$ac_cv_prog_cc_cross
19014 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
19016 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
19017 cat >> confdefs.h
<<\EOF
19018 #define WX_GETTIMEOFDAY_NO_TZ 1
19024 cat >> confdefs.h
<<\EOF
19025 #define wxUSE_TIMEDATE 1
19028 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
19032 if test "$wxUSE_SOCKETS" = "yes"; then
19033 if test "$wxUSE_MGL" = "1"; then
19034 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
19039 if test "$wxUSE_SOCKETS" = "yes"; then
19040 if test "$TOOLKIT" != "MSW"; then
19041 echo $ac_n "checking for socket""... $ac_c" 1>&6
19042 echo "configure:19043: checking for socket" >&5
19043 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
19044 echo $ac_n "(cached) $ac_c" 1>&6
19046 cat > conftest.
$ac_ext <<EOF
19047 #line 19048 "configure"
19048 #include "confdefs.h"
19049 /* System header to define __stub macros and hopefully few prototypes,
19050 which can conflict with char socket(); below. */
19051 #include <assert.h>
19052 /* Override any gcc2 internal prototype to avoid an error. */
19053 /* We use char because int might match the return type of a gcc2
19054 builtin and then its argument prototype would still apply. */
19059 /* The GNU C library defines this for functions which it implements
19060 to always fail with ENOSYS. Some functions are actually named
19061 something starting with __ and the normal name is an alias. */
19062 #if defined (__stub_socket) || defined (__stub___socket)
19070 if { (eval echo configure
:19071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19072 eval "ac_cv_func_socket=yes"
19074 echo "configure: failed program was:" >&5
19075 cat conftest.
$ac_ext >&5
19077 eval "ac_cv_func_socket=no"
19082 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
19083 echo "$ac_t""yes" 1>&6
19086 echo "$ac_t""no" 1>&6
19087 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
19088 echo "configure:19089: checking for socket in -lsocket" >&5
19089 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
19090 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19091 echo $ac_n "(cached) $ac_c" 1>&6
19093 ac_save_LIBS
="$LIBS"
19094 LIBS
="-lsocket $LIBS"
19095 cat > conftest.
$ac_ext <<EOF
19096 #line 19097 "configure"
19097 #include "confdefs.h"
19098 /* Override any gcc2 internal prototype to avoid an error. */
19099 /* We use char because int might match the return type of a gcc2
19100 builtin and then its argument prototype would still apply. */
19107 if { (eval echo configure
:19108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19109 eval "ac_cv_lib_$ac_lib_var=yes"
19111 echo "configure: failed program was:" >&5
19112 cat conftest.
$ac_ext >&5
19114 eval "ac_cv_lib_$ac_lib_var=no"
19117 LIBS
="$ac_save_LIBS"
19120 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19121 echo "$ac_t""yes" 1>&6
19122 if test "$INET_LINK" != " -lsocket"; then
19123 INET_LINK
="$INET_LINK -lsocket"
19126 echo "$ac_t""no" 1>&6
19128 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
19140 if test "$wxUSE_SOCKETS" = "yes" ; then
19141 if test "$TOOLKIT" != "MSW"; then
19142 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
19143 echo "configure:19144: checking what is the type of the third argument of getsockname" >&5
19144 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
19145 echo $ac_n "(cached) $ac_c" 1>&6
19150 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19151 ac_cpp
='$CXXCPP $CPPFLAGS'
19152 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19153 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19154 cross_compiling
=$ac_cv_prog_cxx_cross
19157 cat > conftest.
$ac_ext <<EOF
19158 #line 19159 "configure"
19159 #include "confdefs.h"
19161 #include <sys/types.h>
19162 #include <sys/socket.h>
19167 getsockname(0, 0, &len);
19171 if { (eval echo configure
:19172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19173 wx_cv_type_getsockname3
=socklen_t
19175 echo "configure: failed program was:" >&5
19176 cat conftest.
$ac_ext >&5
19178 cat > conftest.
$ac_ext <<EOF
19179 #line 19180 "configure"
19180 #include "confdefs.h"
19182 #include <sys/types.h>
19183 #include <sys/socket.h>
19188 getsockname(0, 0, &len);
19192 if { (eval echo configure
:19193: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19194 wx_cv_type_getsockname3
=size_t
19196 echo "configure: failed program was:" >&5
19197 cat conftest.
$ac_ext >&5
19199 cat > conftest.
$ac_ext <<EOF
19200 #line 19201 "configure"
19201 #include "confdefs.h"
19203 #include <sys/types.h>
19204 #include <sys/socket.h>
19209 getsockname(0, 0, &len);
19213 if { (eval echo configure
:19214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19215 wx_cv_type_getsockname3
=int
19217 echo "configure: failed program was:" >&5
19218 cat conftest.
$ac_ext >&5
19220 wx_cv_type_getsockname3
=unknown
19232 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19233 ac_cpp
='$CPP $CPPFLAGS'
19234 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19235 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19236 cross_compiling
=$ac_cv_prog_cc_cross
19241 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
19243 if test "$wx_cv_type_getsockname3" = "unknown"; then
19245 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
19247 cat >> confdefs.h
<<EOF
19248 #define SOCKLEN_T $wx_cv_type_getsockname3
19255 if test "$wxUSE_SOCKETS" = "yes" ; then
19256 cat >> confdefs.h
<<\EOF
19257 #define wxUSE_SOCKETS 1
19260 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
19264 if test "$wxUSE_GUI" = "yes"; then
19266 if test "$TOOLKIT" = "MAC"; then
19267 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
19270 if test "$TOOLKIT" = "MOTIF"; then
19271 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
19274 if test "$TOOLKIT" = "X11"; then
19275 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
19279 if test "$TOOLKIT" != "MSW"; then
19280 if test "$wxUSE_JOYSTICK" = "yes"; then
19281 for ac_hdr
in linux
/joystick.h
19283 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19284 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19285 echo "configure:19286: checking for $ac_hdr" >&5
19286 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19287 echo $ac_n "(cached) $ac_c" 1>&6
19289 cat > conftest.
$ac_ext <<EOF
19290 #line 19291 "configure"
19291 #include "confdefs.h"
19294 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19295 { (eval echo configure
:19296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19296 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19297 if test -z "$ac_err"; then
19299 eval "ac_cv_header_$ac_safe=yes"
19302 echo "configure: failed program was:" >&5
19303 cat conftest.
$ac_ext >&5
19305 eval "ac_cv_header_$ac_safe=no"
19309 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19310 echo "$ac_t""yes" 1>&6
19311 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19312 cat >> confdefs.h
<<EOF
19313 #define $ac_tr_hdr 1
19317 echo "$ac_t""no" 1>&6
19321 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
19323 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
19328 if test "$wxUSE_JOYSTICK" = "yes"; then
19329 cat >> confdefs.h
<<\EOF
19330 #define wxUSE_JOYSTICK 1
19333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
19338 if test "$TOOLKIT" != "MSW"; then
19342 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19343 if test "$USE_DARWIN" = 1; then
19346 for ac_func
in dlopen
19348 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19349 echo "configure:19350: checking for $ac_func" >&5
19350 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19351 echo $ac_n "(cached) $ac_c" 1>&6
19353 cat > conftest.
$ac_ext <<EOF
19354 #line 19355 "configure"
19355 #include "confdefs.h"
19356 /* System header to define __stub macros and hopefully few prototypes,
19357 which can conflict with char $ac_func(); below. */
19358 #include <assert.h>
19359 /* Override any gcc2 internal prototype to avoid an error. */
19360 /* We use char because int might match the return type of a gcc2
19361 builtin and then its argument prototype would still apply. */
19366 /* The GNU C library defines this for functions which it implements
19367 to always fail with ENOSYS. Some functions are actually named
19368 something starting with __ and the normal name is an alias. */
19369 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19377 if { (eval echo configure
:19378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19379 eval "ac_cv_func_$ac_func=yes"
19381 echo "configure: failed program was:" >&5
19382 cat conftest.
$ac_ext >&5
19384 eval "ac_cv_func_$ac_func=no"
19389 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19390 echo "$ac_t""yes" 1>&6
19391 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19392 cat >> confdefs.h
<<EOF
19393 #define $ac_tr_func 1
19396 cat >> confdefs.h
<<\EOF
19397 #define HAVE_DLOPEN 1
19403 echo "$ac_t""no" 1>&6
19404 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19405 echo "configure:19406: checking for dlopen in -ldl" >&5
19406 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19407 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19408 echo $ac_n "(cached) $ac_c" 1>&6
19410 ac_save_LIBS
="$LIBS"
19412 cat > conftest.
$ac_ext <<EOF
19413 #line 19414 "configure"
19414 #include "confdefs.h"
19415 /* Override any gcc2 internal prototype to avoid an error. */
19416 /* We use char because int might match the return type of a gcc2
19417 builtin and then its argument prototype would still apply. */
19424 if { (eval echo configure
:19425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19426 eval "ac_cv_lib_$ac_lib_var=yes"
19428 echo "configure: failed program was:" >&5
19429 cat conftest.
$ac_ext >&5
19431 eval "ac_cv_lib_$ac_lib_var=no"
19434 LIBS
="$ac_save_LIBS"
19437 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19438 echo "$ac_t""yes" 1>&6
19440 cat >> confdefs.h
<<\EOF
19441 #define HAVE_DLOPEN 1
19445 DL_LINK
=" -ldl$DL_LINK"
19448 echo "$ac_t""no" 1>&6
19450 for ac_func
in shl_load
19452 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19453 echo "configure:19454: checking for $ac_func" >&5
19454 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19455 echo $ac_n "(cached) $ac_c" 1>&6
19457 cat > conftest.
$ac_ext <<EOF
19458 #line 19459 "configure"
19459 #include "confdefs.h"
19460 /* System header to define __stub macros and hopefully few prototypes,
19461 which can conflict with char $ac_func(); below. */
19462 #include <assert.h>
19463 /* Override any gcc2 internal prototype to avoid an error. */
19464 /* We use char because int might match the return type of a gcc2
19465 builtin and then its argument prototype would still apply. */
19470 /* The GNU C library defines this for functions which it implements
19471 to always fail with ENOSYS. Some functions are actually named
19472 something starting with __ and the normal name is an alias. */
19473 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19481 if { (eval echo configure
:19482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19483 eval "ac_cv_func_$ac_func=yes"
19485 echo "configure: failed program was:" >&5
19486 cat conftest.
$ac_ext >&5
19488 eval "ac_cv_func_$ac_func=no"
19493 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19494 echo "$ac_t""yes" 1>&6
19495 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19496 cat >> confdefs.h
<<EOF
19497 #define $ac_tr_func 1
19500 cat >> confdefs.h
<<\EOF
19501 #define HAVE_SHL_LOAD 1
19507 echo "$ac_t""no" 1>&6
19508 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19509 echo "configure:19510: checking for dld in -lshl_load" >&5
19510 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19511 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19512 echo $ac_n "(cached) $ac_c" 1>&6
19514 ac_save_LIBS
="$LIBS"
19515 LIBS
="-lshl_load $LIBS"
19516 cat > conftest.
$ac_ext <<EOF
19517 #line 19518 "configure"
19518 #include "confdefs.h"
19519 /* Override any gcc2 internal prototype to avoid an error. */
19520 /* We use char because int might match the return type of a gcc2
19521 builtin and then its argument prototype would still apply. */
19528 if { (eval echo configure
:19529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19530 eval "ac_cv_lib_$ac_lib_var=yes"
19532 echo "configure: failed program was:" >&5
19533 cat conftest.
$ac_ext >&5
19535 eval "ac_cv_lib_$ac_lib_var=no"
19538 LIBS
="$ac_save_LIBS"
19541 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19542 echo "$ac_t""yes" 1>&6
19545 DL_LINK
=" -ldld$DL_LINK"
19548 echo "$ac_t""no" 1>&6
19563 if test "$HAVE_DL_FUNCS" = 1; then
19564 for ac_func
in dlerror
19566 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19567 echo "configure:19568: checking for $ac_func" >&5
19568 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19569 echo $ac_n "(cached) $ac_c" 1>&6
19571 cat > conftest.
$ac_ext <<EOF
19572 #line 19573 "configure"
19573 #include "confdefs.h"
19574 /* System header to define __stub macros and hopefully few prototypes,
19575 which can conflict with char $ac_func(); below. */
19576 #include <assert.h>
19577 /* Override any gcc2 internal prototype to avoid an error. */
19578 /* We use char because int might match the return type of a gcc2
19579 builtin and then its argument prototype would still apply. */
19584 /* The GNU C library defines this for functions which it implements
19585 to always fail with ENOSYS. Some functions are actually named
19586 something starting with __ and the normal name is an alias. */
19587 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19595 if { (eval echo configure
:19596: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19597 eval "ac_cv_func_$ac_func=yes"
19599 echo "configure: failed program was:" >&5
19600 cat conftest.
$ac_ext >&5
19602 eval "ac_cv_func_$ac_func=no"
19607 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19608 echo "$ac_t""yes" 1>&6
19609 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19610 cat >> confdefs.h
<<EOF
19611 #define $ac_tr_func 1
19613 cat >> confdefs.h
<<\EOF
19614 #define HAVE_DLERROR 1
19618 echo "$ac_t""no" 1>&6
19619 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19620 echo "configure:19621: checking for dlerror in -ldl" >&5
19621 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19622 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19623 echo $ac_n "(cached) $ac_c" 1>&6
19625 ac_save_LIBS
="$LIBS"
19627 cat > conftest.
$ac_ext <<EOF
19628 #line 19629 "configure"
19629 #include "confdefs.h"
19630 /* Override any gcc2 internal prototype to avoid an error. */
19631 /* We use char because int might match the return type of a gcc2
19632 builtin and then its argument prototype would still apply. */
19639 if { (eval echo configure
:19640: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19641 eval "ac_cv_lib_$ac_lib_var=yes"
19643 echo "configure: failed program was:" >&5
19644 cat conftest.
$ac_ext >&5
19646 eval "ac_cv_lib_$ac_lib_var=no"
19649 LIBS
="$ac_save_LIBS"
19652 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19653 echo "$ac_t""yes" 1>&6
19654 cat >> confdefs.h
<<\EOF
19655 #define HAVE_DLERROR 1
19659 echo "$ac_t""no" 1>&6
19668 if test "$HAVE_DL_FUNCS" = 0; then
19669 if test "$HAVE_SHL_FUNCS" = 0; then
19670 if test "$USE_UNIX" = 1; then
19671 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19672 wxUSE_DYNAMIC_LOADER
=no
19673 wxUSE_DYNLIB_CLASS
=no
19675 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19682 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19683 cat >> confdefs.h
<<\EOF
19684 #define wxUSE_DYNAMIC_LOADER 1
19687 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19688 cat >> confdefs.h
<<\EOF
19689 #define wxUSE_DYNLIB_CLASS 1
19695 if test "$wxUSE_FONTMAP" = "yes" ; then
19696 cat >> confdefs.h
<<\EOF
19697 #define wxUSE_FONTMAP 1
19702 if test "$wxUSE_UNICODE" = "yes" ; then
19703 cat >> confdefs.h
<<\EOF
19704 #define wxUSE_UNICODE 1
19708 if test "$wxUSE_MSW" != 1; then
19709 wxUSE_UNICODE_MSLU
=no
19712 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19713 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19714 echo "configure:19715: checking for main in -lunicows" >&5
19715 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19716 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19717 echo $ac_n "(cached) $ac_c" 1>&6
19719 ac_save_LIBS
="$LIBS"
19720 LIBS
="-lunicows $LIBS"
19721 cat > conftest.
$ac_ext <<EOF
19722 #line 19723 "configure"
19723 #include "confdefs.h"
19729 if { (eval echo configure
:19730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19731 eval "ac_cv_lib_$ac_lib_var=yes"
19733 echo "configure: failed program was:" >&5
19734 cat conftest.
$ac_ext >&5
19736 eval "ac_cv_lib_$ac_lib_var=no"
19739 LIBS
="$ac_save_LIBS"
19742 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19743 echo "$ac_t""yes" 1>&6
19745 cat >> confdefs.h
<<\EOF
19746 #define wxUSE_UNICODE_MSLU 1
19751 echo "$ac_t""no" 1>&6
19753 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19754 Applications will only run on Windows NT/2000/XP!" 1>&2
19755 wxUSE_UNICODE_MSLU
=no
19762 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19763 cat >> confdefs.h
<<\EOF
19764 #define wxUSE_EXPERIMENTAL_PRINTF 1
19772 if test "$wxUSE_ODBC" = "yes" ; then
19773 cat >> confdefs.h
<<\EOF
19774 #define wxUSE_ODBC 1
19777 WXODBCFLAG
="-D_IODBC_"
19778 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19782 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19783 cat >> confdefs.h
<<\EOF
19784 #define wxUSE_POSTSCRIPT 1
19789 cat >> confdefs.h
<<\EOF
19790 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19794 cat >> confdefs.h
<<\EOF
19795 #define wxUSE_NORMALIZED_PS_FONTS 1
19800 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19801 cat >> confdefs.h
<<\EOF
19802 #define wxUSE_CONSTRAINTS 1
19805 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19808 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19811 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19812 cat >> confdefs.h
<<\EOF
19813 #define wxUSE_MDI_ARCHITECTURE 1
19816 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19820 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19821 cat >> confdefs.h
<<\EOF
19822 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19825 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19826 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19831 if test "$wxUSE_HELP" = "yes"; then
19832 cat >> confdefs.h
<<\EOF
19833 #define wxUSE_HELP 1
19836 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19838 if test "$wxUSE_MSW" = 1; then
19839 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19840 cat >> confdefs.h
<<\EOF
19841 #define wxUSE_MS_HTML_HELP 1
19847 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19848 if test "$wxUSE_HTML" = "yes"; then
19849 cat >> confdefs.h
<<\EOF
19850 #define wxUSE_WXHTML_HELP 1
19854 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19855 wxUSE_WXHTML_HELP
=no
19860 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19861 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19862 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19864 cat >> confdefs.h
<<\EOF
19865 #define wxUSE_PRINTING_ARCHITECTURE 1
19869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19872 if test "$wxUSE_PROLOGIO" = "yes" ; then
19873 cat >> confdefs.h
<<\EOF
19874 #define wxUSE_PROLOGIO 1
19879 if test "$wxUSE_RESOURCES" = "yes" ; then
19880 if test "$wxUSE_NANOX" = "yes"; then
19881 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19883 cat >> confdefs.h
<<\EOF
19884 #define wxUSE_RESOURCES 1
19887 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19891 if test "$wxUSE_X_RESOURCES" = "yes"; then
19892 cat >> confdefs.h
<<\EOF
19893 #define wxUSE_X_RESOURCES 1
19899 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19900 -o "$wxUSE_CLIPBOARD" = "yes" \
19901 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19902 for ac_hdr
in ole2.h
19904 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19905 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19906 echo "configure:19907: checking for $ac_hdr" >&5
19907 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19908 echo $ac_n "(cached) $ac_c" 1>&6
19910 cat > conftest.
$ac_ext <<EOF
19911 #line 19912 "configure"
19912 #include "confdefs.h"
19915 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19916 { (eval echo configure
:19917: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19917 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19918 if test -z "$ac_err"; then
19920 eval "ac_cv_header_$ac_safe=yes"
19923 echo "configure: failed program was:" >&5
19924 cat conftest.
$ac_ext >&5
19926 eval "ac_cv_header_$ac_safe=no"
19930 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19931 echo "$ac_t""yes" 1>&6
19932 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19933 cat >> confdefs.h
<<EOF
19934 #define $ac_tr_hdr 1
19938 echo "$ac_t""no" 1>&6
19943 if test "$ac_cv_header_ole2_h" = "yes" ; then
19944 if test "$GCC" = yes ; then
19947 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19948 ac_cpp
='$CXXCPP $CPPFLAGS'
19949 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19950 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19951 cross_compiling
=$ac_cv_prog_cxx_cross
19954 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
19955 echo "configure:19956: checking if g++ requires -fvtable-thunks" >&5
19956 cat > conftest.
$ac_ext <<EOF
19957 #line 19958 "configure"
19958 #include "confdefs.h"
19959 #include <windows.h>
19965 if { (eval echo configure
:19966: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19967 echo "$ac_t""no" 1>&6
19969 echo "configure: failed program was:" >&5
19970 cat conftest.
$ac_ext >&5
19972 echo "$ac_t""yes" 1>&6
19973 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
19977 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19978 ac_cpp
='$CPP $CPPFLAGS'
19979 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19980 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19981 cross_compiling
=$ac_cv_prog_cc_cross
19983 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
19984 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
19985 cat >> confdefs.h
<<\EOF
19986 #define wxUSE_OLE 1
19992 cat >> confdefs.h
<<\EOF
19993 #define wxUSE_DATAOBJ 1
19997 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
20000 wxUSE_DRAG_AND_DROP
=no
20004 if test "$wxUSE_METAFILE" = "yes"; then
20005 cat >> confdefs.h
<<\EOF
20006 #define wxUSE_METAFILE 1
20010 cat >> confdefs.h
<<\EOF
20011 #define wxUSE_ENH_METAFILE 1
20017 if test "$wxUSE_IPC" = "yes"; then
20018 if test "$wxUSE_SOCKETS" != "yes"; then
20019 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
20022 cat >> confdefs.h
<<\EOF
20023 #define wxUSE_IPC 1
20028 if test "$wxUSE_CLIPBOARD" = "yes"; then
20029 if test "$wxUSE_MGL" = 1; then
20030 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
20034 if test "$wxUSE_CLIPBOARD" = "yes"; then
20035 cat >> confdefs.h
<<\EOF
20036 #define wxUSE_CLIPBOARD 1
20040 cat >> confdefs.h
<<\EOF
20041 #define wxUSE_DATAOBJ 1
20047 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
20048 if test "$wxUSE_GTK" = 1; then
20049 if test "$WXGTK12" != 1; then
20050 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
20051 wxUSE_DRAG_AND_DROP
=no
20055 if test "$wxUSE_MOTIF" = 1; then
20056 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
20057 wxUSE_DRAG_AND_DROP
=no
20060 if test "$wxUSE_X11" = 1; then
20061 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
20062 wxUSE_DRAG_AND_DROP
=no
20065 if test "$wxUSE_MGL" = 1; then
20066 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
20067 wxUSE_DRAG_AND_DROP
=no
20070 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
20071 cat >> confdefs.h
<<\EOF
20072 #define wxUSE_DRAG_AND_DROP 1
20075 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
20080 if test "$wxUSE_SPLINES" = "yes" ; then
20081 cat >> confdefs.h
<<\EOF
20082 #define wxUSE_SPLINES 1
20089 if test "$wxUSE_CONTROLS" = "yes"; then
20093 if test "$wxUSE_ACCEL" = "yes"; then
20094 cat >> confdefs.h
<<\EOF
20095 #define wxUSE_ACCEL 1
20101 if test "$wxUSE_BUTTON" = "yes"; then
20102 cat >> confdefs.h
<<\EOF
20103 #define wxUSE_BUTTON 1
20109 if test "$wxUSE_BMPBUTTON" = "yes"; then
20110 cat >> confdefs.h
<<\EOF
20111 #define wxUSE_BMPBUTTON 1
20117 if test "$wxUSE_CALCTRL" = "yes"; then
20118 cat >> confdefs.h
<<\EOF
20119 #define wxUSE_CALENDARCTRL 1
20123 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
20126 if test "$wxUSE_CARET" = "yes"; then
20127 cat >> confdefs.h
<<\EOF
20128 #define wxUSE_CARET 1
20132 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
20135 if test "$wxUSE_COMBOBOX" = "yes"; then
20136 cat >> confdefs.h
<<\EOF
20137 #define wxUSE_COMBOBOX 1
20143 if test "$wxUSE_CHOICE" = "yes"; then
20144 cat >> confdefs.h
<<\EOF
20145 #define wxUSE_CHOICE 1
20151 if test "$wxUSE_CHECKBOX" = "yes"; then
20152 cat >> confdefs.h
<<\EOF
20153 #define wxUSE_CHECKBOX 1
20159 if test "$wxUSE_CHECKLST" = "yes"; then
20160 cat >> confdefs.h
<<\EOF
20161 #define wxUSE_CHECKLISTBOX 1
20165 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
20168 if test "$wxUSE_GAUGE" = "yes"; then
20169 cat >> confdefs.h
<<\EOF
20170 #define wxUSE_GAUGE 1
20176 if test "$wxUSE_NEW_GRID" = "yes"; then
20178 cat >> confdefs.h
<<\EOF
20179 #define wxUSE_NEW_GRID 1
20183 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
20186 if test "$wxUSE_GRID" = "yes"; then
20187 cat >> confdefs.h
<<\EOF
20188 #define wxUSE_GRID 1
20192 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
20195 if test "$wxUSE_IMAGLIST" = "yes"; then
20196 cat >> confdefs.h
<<\EOF
20197 #define wxUSE_IMAGLIST 1
20202 if test "$wxUSE_LISTBOX" = "yes"; then
20203 cat >> confdefs.h
<<\EOF
20204 #define wxUSE_LISTBOX 1
20210 if test "$wxUSE_LISTCTRL" = "yes"; then
20211 if test "$wxUSE_IMAGLIST" = "yes"; then
20212 cat >> confdefs.h
<<\EOF
20213 #define wxUSE_LISTCTRL 1
20217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
20219 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
20223 if test "$wxUSE_NOTEBOOK" = "yes"; then
20224 cat >> confdefs.h
<<\EOF
20225 #define wxUSE_NOTEBOOK 1
20229 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
20232 if test "$wxUSE_PROPSHEET" = "yes"; then
20233 cat >> confdefs.h
<<\EOF
20234 #define wxUSE_PROPSHEET 1
20238 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
20241 if test "$wxUSE_RADIOBOX" = "yes"; then
20242 cat >> confdefs.h
<<\EOF
20243 #define wxUSE_RADIOBOX 1
20249 if test "$wxUSE_RADIOBTN" = "yes"; then
20250 cat >> confdefs.h
<<\EOF
20251 #define wxUSE_RADIOBTN 1
20257 if test "$wxUSE_SASH" = "yes"; then
20258 cat >> confdefs.h
<<\EOF
20259 #define wxUSE_SASH 1
20262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
20265 if test "$wxUSE_SCROLLBAR" = "yes"; then
20266 cat >> confdefs.h
<<\EOF
20267 #define wxUSE_SCROLLBAR 1
20271 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
20274 if test "$wxUSE_SLIDER" = "yes"; then
20275 cat >> confdefs.h
<<\EOF
20276 #define wxUSE_SLIDER 1
20282 if test "$wxUSE_SPINBTN" = "yes"; then
20283 cat >> confdefs.h
<<\EOF
20284 #define wxUSE_SPINBTN 1
20290 if test "$wxUSE_SPINCTRL" = "yes"; then
20291 cat >> confdefs.h
<<\EOF
20292 #define wxUSE_SPINCTRL 1
20298 if test "$wxUSE_SPLITTER" = "yes"; then
20299 cat >> confdefs.h
<<\EOF
20300 #define wxUSE_SPLITTER 1
20303 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
20306 if test "$wxUSE_STATBMP" = "yes"; then
20307 cat >> confdefs.h
<<\EOF
20308 #define wxUSE_STATBMP 1
20314 if test "$wxUSE_STATBOX" = "yes"; then
20315 cat >> confdefs.h
<<\EOF
20316 #define wxUSE_STATBOX 1
20322 if test "$wxUSE_STATTEXT" = "yes"; then
20323 cat >> confdefs.h
<<\EOF
20324 #define wxUSE_STATTEXT 1
20330 if test "$wxUSE_STATLINE" = "yes"; then
20331 if test "$wxUSE_WINE" = 1 ; then
20332 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
20334 cat >> confdefs.h
<<\EOF
20335 #define wxUSE_STATLINE 1
20342 if test "$wxUSE_STATUSBAR" = "yes"; then
20343 cat >> confdefs.h
<<\EOF
20344 #define wxUSE_STATUSBAR 1
20349 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
20352 if test "$wxUSE_TABDIALOG" = "yes"; then
20353 cat >> confdefs.h
<<\EOF
20354 #define wxUSE_TAB_DIALOG 1
20357 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
20360 if test "$wxUSE_TEXTCTRL" = "yes"; then
20361 cat >> confdefs.h
<<\EOF
20362 #define wxUSE_TEXTCTRL 1
20366 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
20369 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20370 if test "$wxUSE_MAC" = 1; then
20371 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
20374 if test "$wxUSE_UNIVERSAL" = "yes"; then
20375 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
20379 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20380 cat >> confdefs.h
<<\EOF
20381 #define wxUSE_TOGGLEBTN 1
20388 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
20389 cat >> confdefs.h
<<\EOF
20390 #define wxUSE_TOOLBAR_SIMPLE 1
20393 wxUSE_TOOLBAR
="yes"
20397 if test "$wxUSE_TOOLBAR" = "yes"; then
20398 cat >> confdefs.h
<<\EOF
20399 #define wxUSE_TOOLBAR 1
20404 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
20405 wxUSE_TOOLBAR_NATIVE
="yes"
20408 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
20409 cat >> confdefs.h
<<\EOF
20410 #define wxUSE_TOOLBAR_NATIVE 1
20416 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
20419 if test "$wxUSE_TOOLTIPS" = "yes"; then
20420 if test "$wxUSE_MOTIF" = 1; then
20421 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
20423 if test "$wxUSE_WINE" = 1; then
20424 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
20426 if test "$wxUSE_UNIVERSAL" = "yes"; then
20427 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
20429 cat >> confdefs.h
<<\EOF
20430 #define wxUSE_TOOLTIPS 1
20438 if test "$wxUSE_TREECTRL" = "yes"; then
20439 if test "$wxUSE_IMAGLIST" = "yes"; then
20440 cat >> confdefs.h
<<\EOF
20441 #define wxUSE_TREECTRL 1
20445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
20447 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20451 if test "$wxUSE_POPUPWIN" = "yes"; then
20452 if test "$wxUSE_MAC" = 1; then
20453 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20455 if test "$wxUSE_MOTIF" = 1; then
20456 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20458 if test "$wxUSE_PM" = 1; then
20459 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20461 cat >> confdefs.h
<<\EOF
20462 #define wxUSE_POPUPWIN 1
20472 if test "$wxUSE_TIPWINDOW" = "yes"; then
20473 if test "$wxUSE_PM" = 1; then
20474 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20476 cat >> confdefs.h
<<\EOF
20477 #define wxUSE_TIPWINDOW 1
20483 if test "$USES_CONTROLS" = 1; then
20484 cat >> confdefs.h
<<\EOF
20485 #define wxUSE_CONTROLS 1
20491 if test "$wxUSE_TREELAYOUT" = "yes"; then
20492 cat >> confdefs.h
<<\EOF
20493 #define wxUSE_TREELAYOUT 1
20496 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20499 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20500 cat >> confdefs.h
<<\EOF
20501 #define wxUSE_DRAGIMAGE 1
20504 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20507 if test "$wxUSE_MENUS" = "yes"; then
20508 cat >> confdefs.h
<<\EOF
20509 #define wxUSE_MENUS 1
20512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20515 if test "$wxUSE_METAFILE" = "yes"; then
20516 cat >> confdefs.h
<<\EOF
20517 #define wxUSE_METAFILE 1
20522 if test "$wxUSE_MIMETYPE" = "yes"; then
20523 cat >> confdefs.h
<<\EOF
20524 #define wxUSE_MIMETYPE 1
20529 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20530 cat >> confdefs.h
<<\EOF
20531 #define wxUSE_SYSTEM_OPTIONS 1
20534 if test "$TOOLKIT" = "MSW"; then
20535 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
20540 if test "$wxUSE_PROTOCOL" = "yes"; then
20541 if test "$wxUSE_SOCKETS" != "yes"; then
20542 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20546 if test "$wxUSE_PROTOCOL" = "yes"; then
20547 cat >> confdefs.h
<<\EOF
20548 #define wxUSE_PROTOCOL 1
20552 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20553 cat >> confdefs.h
<<\EOF
20554 #define wxUSE_PROTOCOL_HTTP 1
20558 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20559 cat >> confdefs.h
<<\EOF
20560 #define wxUSE_PROTOCOL_FTP 1
20564 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20565 cat >> confdefs.h
<<\EOF
20566 #define wxUSE_PROTOCOL_FILE 1
20573 if test "$wxUSE_URL" = "yes"; then
20574 if test "$wxUSE_PROTOCOL" != "yes"; then
20575 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20578 if test "$wxUSE_URL" = "yes"; then
20579 cat >> confdefs.h
<<\EOF
20580 #define wxUSE_URL 1
20586 if test "$wxUSE_MINIFRAME" = "yes"; then
20587 cat >> confdefs.h
<<\EOF
20588 #define wxUSE_MINIFRAME 1
20591 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20594 if test "$wxUSE_HTML" = "yes"; then
20595 cat >> confdefs.h
<<\EOF
20596 #define wxUSE_HTML 1
20599 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20602 if test "$wxUSE_VALIDATORS" = "yes"; then
20603 cat >> confdefs.h
<<\EOF
20604 #define wxUSE_VALIDATORS 1
20607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20610 if test "$wxUSE_PALETTE" = "yes" ; then
20611 cat >> confdefs.h
<<\EOF
20612 #define wxUSE_PALETTE 1
20617 if test "$wxUSE_IMAGE" = "yes" ; then
20618 cat >> confdefs.h
<<\EOF
20619 #define wxUSE_IMAGE 1
20624 if test "$wxUSE_GIF" = "yes" ; then
20625 cat >> confdefs.h
<<\EOF
20626 #define wxUSE_GIF 1
20631 if test "$wxUSE_PCX" = "yes" ; then
20632 cat >> confdefs.h
<<\EOF
20633 #define wxUSE_PCX 1
20638 if test "$wxUSE_IFF" = "yes" ; then
20639 cat >> confdefs.h
<<\EOF
20640 #define wxUSE_IFF 1
20645 if test "$wxUSE_PNM" = "yes" ; then
20646 cat >> confdefs.h
<<\EOF
20647 #define wxUSE_PNM 1
20652 if test "$wxUSE_XPM" = "yes" ; then
20653 cat >> confdefs.h
<<\EOF
20654 #define wxUSE_XPM 1
20659 if test "$wxUSE_ICO_CUR" = "yes" ; then
20660 cat >> confdefs.h
<<\EOF
20661 #define wxUSE_ICO_CUR 1
20666 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20667 LIBS
=" -lunicows $LIBS"
20671 if test "$wxUSE_CHOICEDLG" = "yes"; then
20672 cat >> confdefs.h
<<\EOF
20673 #define wxUSE_CHOICEDLG 1
20678 if test "$wxUSE_COLOURDLG" = "yes"; then
20679 cat >> confdefs.h
<<\EOF
20680 #define wxUSE_COLOURDLG 1
20685 if test "$wxUSE_FILEDLG" = "yes"; then
20686 cat >> confdefs.h
<<\EOF
20687 #define wxUSE_FILEDLG 1
20692 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20693 cat >> confdefs.h
<<\EOF
20694 #define wxUSE_FINDREPLDLG 1
20699 if test "$wxUSE_FONTDLG" = "yes"; then
20700 cat >> confdefs.h
<<\EOF
20701 #define wxUSE_FONTDLG 1
20706 if test "$wxUSE_DIRDLG" = "yes"; then
20707 if test "$wxUSE_TREECTRL" != "yes"; then
20708 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20710 cat >> confdefs.h
<<\EOF
20711 #define wxUSE_DIRDLG 1
20717 if test "$wxUSE_MSGDLG" = "yes"; then
20718 cat >> confdefs.h
<<\EOF
20719 #define wxUSE_MSGDLG 1
20724 if test "$wxUSE_NUMBERDLG" = "yes"; then
20725 cat >> confdefs.h
<<\EOF
20726 #define wxUSE_NUMBERDLG 1
20731 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20732 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20733 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20735 cat >> confdefs.h
<<\EOF
20736 #define wxUSE_PROGRESSDLG 1
20742 if test "$wxUSE_SPLASH" = "yes"; then
20743 cat >> confdefs.h
<<\EOF
20744 #define wxUSE_SPLASH 1
20749 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20750 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20751 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20753 cat >> confdefs.h
<<\EOF
20754 #define wxUSE_STARTUP_TIPS 1
20760 if test "$wxUSE_TEXTDLG" = "yes"; then
20761 cat >> confdefs.h
<<\EOF
20762 #define wxUSE_TEXTDLG 1
20767 if test "$wxUSE_WIZARDDLG" = "yes"; then
20768 cat >> confdefs.h
<<\EOF
20769 #define wxUSE_WIZARDDLG 1
20772 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20776 if test "$cross_compiling" = "yes"; then
20779 OSINFO
=`uname -s -r -m`
20780 OSINFO
="\"$OSINFO\""
20783 cat >> confdefs.h
<<EOF
20784 #define WXWIN_OS_DESCRIPTION $OSINFO
20789 if test "x$prefix" != "xNONE"; then
20792 wxPREFIX
=$ac_default_prefix
20795 cat >> confdefs.h
<<EOF
20796 #define wxINSTALL_PREFIX "$wxPREFIX"
20803 if test "$wxUSE_MAC" = 1 ; then
20804 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20808 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
20810 if test "$wxUSE_GUI" = "yes"; then
20812 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20815 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
20816 drawing dynamic erase event exec font image \
20817 minimal propsize rotate widgets"
20819 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20821 SAMPLES_SUBDIRS
="console"
20825 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
20826 -I\${top_srcdir}/include \
20827 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
20830 if test "$wxUSE_GTK" = 1; then
20833 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20836 if test "$GXX" = yes ; then
20837 CXXWARNINGS
="-Wall"
20839 if test "$wxUSE_NO_DEPS" = "no" ; then
20840 CFLAGS
="-MMD $CFLAGS"
20841 CXXFLAGS
="-MMD $CXXFLAGS"
20845 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20847 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20848 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20849 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
20851 LDFLAGS
="$LDFLAGS $PROFILE"
20853 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20945 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20946 echo "configure:20947: checking whether ${MAKE-make} sets \${MAKE}" >&5
20947 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20948 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20949 echo $ac_n "(cached) $ac_c" 1>&6
20951 cat > conftestmake
<<\EOF
20953 @
echo 'ac_maketemp="${MAKE}"'
20955 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
20956 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
20957 if test -n "$ac_maketemp"; then
20958 eval ac_cv_prog_make_
${ac_make}_set
=yes
20960 eval ac_cv_prog_make_
${ac_make}_set
=no
20964 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
20965 echo "$ac_t""yes" 1>&6
20968 echo "$ac_t""no" 1>&6
20969 SET_MAKE
="MAKE=${MAKE-make}"
20973 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
20974 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
20979 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
20980 wx_cv_if_gnu_make
=$IF_GNU_MAKE
20981 wx_cv_path_ifs
=$PATH_IFS
20982 wx_cv_program_ext
=$PROGRAM_EXT
20983 wx_cv_target_library
=$WX_TARGET_LIBRARY
20984 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
20985 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
20986 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
20987 wx_cv_path_ifs wx_cv_program_ext \
20988 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
20990 subdirs
="demos samples utils contrib"
20994 cat > confcache
<<\EOF
20995 # This file is a shell script that caches the results of configure
20996 # tests run on this system so they can be shared between configure
20997 # scripts and configure runs. It is not useful on other systems.
20998 # If it contains results you don't want to keep, you may remove or edit it.
21000 # By default, configure uses ./config.cache as the cache file,
21001 # creating it if it does not exist already. You can give configure
21002 # the --cache-file=FILE option to use a different cache file; that is
21003 # what configure does when it calls configure scripts in
21004 # subdirectories, so they share the cache.
21005 # Giving --cache-file=/dev/null disables caching, for debugging configure.
21006 # config.status only pays attention to the cache file if you give it the
21007 # --recheck option to rerun configure.
21010 # The following way of writing the cache mishandles newlines in values,
21011 # but we know of no workaround that is simple, portable, and efficient.
21012 # So, don't put newlines in cache variables' values.
21013 # Ultrix sh set writes to stderr and can't be redirected directly,
21014 # and sets the high bit in the cache file unless we assign to the vars.
21016 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21018 # `set' does not quote correctly, so add quotes (double-quote substitution
21019 # turns \\\\ into \\, and sed turns \\ into \).
21021 -e "s/'/'\\\\''/g" \
21022 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
21025 # `set' quotes correctly as required by POSIX, so do not add quotes.
21026 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21029 if cmp -s $cache_file confcache
; then
21032 if test -w $cache_file; then
21033 echo "updating cache $cache_file"
21034 cat confcache
> $cache_file
21036 echo "not updating unwritable cache $cache_file"
21041 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
21043 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21044 # Let make expand exec_prefix.
21045 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21047 # Any assignment to VPATH causes Sun make to only execute
21048 # the first set of double-colon rules, so remove it if not needed.
21049 # If there is a colon in the path, we need to keep it.
21050 if test "x$srcdir" = x.
; then
21051 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
21054 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
21056 DEFS
=-DHAVE_CONFIG_H
21058 # Without the "./", some shells look in PATH for config.status.
21059 : ${CONFIG_STATUS=./config.status}
21061 echo creating
$CONFIG_STATUS
21062 rm -f $CONFIG_STATUS
21063 cat > $CONFIG_STATUS <<EOF
21065 # Generated automatically by configure.
21066 # Run this file to recreate the current configuration.
21067 # This directory was configured as follows,
21068 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21070 # $0 $ac_configure_args
21072 # Compiler output produced by configure, useful for debugging
21073 # configure, is in ./config.log if it exists.
21075 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
21078 case "\$ac_option" in
21079 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21080 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
21081 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
21082 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
21083 echo "$CONFIG_STATUS generated by autoconf version 2.13"
21085 -help | --help | --hel | --he | --h)
21086 echo "\$ac_cs_usage"; exit 0 ;;
21087 *) echo "\$ac_cs_usage"; exit 1 ;;
21091 ac_given_srcdir=$srcdir
21092 ac_given_INSTALL="$INSTALL"
21094 trap 'rm -fr `echo "
21100 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
21102 cat >> $CONFIG_STATUS <<EOF
21104 # Protect against being on the right side of a sed subst in config.status.
21105 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
21106 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
21110 s%@CFLAGS@%$CFLAGS%g
21111 s%@CPPFLAGS@%$CPPFLAGS%g
21112 s%@CXXFLAGS@%$CXXFLAGS%g
21113 s%@FFLAGS@%$FFLAGS%g
21115 s%@LDFLAGS@%$LDFLAGS%g
21117 s%@exec_prefix@%$exec_prefix%g
21118 s%@prefix@%$prefix%g
21119 s%@program_transform_name@%$program_transform_name%g
21120 s%@bindir@%$bindir%g
21121 s%@sbindir@%$sbindir%g
21122 s%@libexecdir@%$libexecdir%g
21123 s%@datadir@%$datadir%g
21124 s%@sysconfdir@%$sysconfdir%g
21125 s%@sharedstatedir@%$sharedstatedir%g
21126 s%@localstatedir@%$localstatedir%g
21127 s%@libdir@%$libdir%g
21128 s%@includedir@%$includedir%g
21129 s%@oldincludedir@%$oldincludedir%g
21130 s%@infodir@%$infodir%g
21131 s%@mandir@%$mandir%g
21133 s%@host_alias@%$host_alias%g
21134 s%@host_cpu@%$host_cpu%g
21135 s%@host_vendor@%$host_vendor%g
21136 s%@host_os@%$host_os%g
21137 s%@target@%$target%g
21138 s%@target_alias@%$target_alias%g
21139 s%@target_cpu@%$target_cpu%g
21140 s%@target_vendor@%$target_vendor%g
21141 s%@target_os@%$target_os%g
21143 s%@build_alias@%$build_alias%g
21144 s%@build_cpu@%$build_cpu%g
21145 s%@build_vendor@%$build_vendor%g
21146 s%@build_os@%$build_os%g
21150 s%@RANLIB@%$RANLIB%g
21152 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
21153 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
21154 s%@INSTALL_DATA@%$INSTALL_DATA%g
21156 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
21159 s%@LEXLIB@%$LEXLIB%g
21161 s%@CXXCPP@%$CXXCPP%g
21162 s%@PKG_CONFIG@%$PKG_CONFIG%g
21163 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
21164 s%@GTK_LIBS@%$GTK_LIBS%g
21165 s%@GTK_CONFIG@%$GTK_CONFIG%g
21166 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
21167 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
21168 s%@X_CFLAGS@%$X_CFLAGS%g
21169 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
21170 s%@X_LIBS@%$X_LIBS%g
21171 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
21172 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
21173 s%@RESCOMP@%$RESCOMP%g
21175 s%@LIBICONV@%$LIBICONV%g
21176 s%@LEX_STEM@%$LEX_STEM%g
21177 s%@PATH_IFS@%$PATH_IFS%g
21178 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
21179 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
21180 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
21181 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
21182 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
21183 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
21184 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
21185 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
21186 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
21187 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
21188 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
21189 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
21190 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
21191 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
21192 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
21193 s%@WX_ALL@%$WX_ALL%g
21194 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
21195 s%@SHARED_LD@%$SHARED_LD%g
21196 s%@PIC_FLAG@%$PIC_FLAG%g
21197 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
21198 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
21199 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
21200 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
21201 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
21202 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
21203 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
21204 s%@USE_GUI@%$USE_GUI%g
21205 s%@AFMINSTALL@%$AFMINSTALL%g
21206 s%@TOOLKIT@%$TOOLKIT%g
21207 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
21208 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
21209 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
21210 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
21211 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
21212 s%@cross_compiling@%$cross_compiling%g
21213 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
21214 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
21215 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
21216 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
21217 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
21218 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
21219 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
21220 s%@ALL_HEADERS@%$ALL_HEADERS%g
21221 s%@ALL_SOURCES@%$ALL_SOURCES%g
21222 s%@GUIDIST@%$GUIDIST%g
21223 s%@PORT_FILES@%$PORT_FILES%g
21224 s%@DISTDIR@%$DISTDIR%g
21225 s%@COMMON_THREADCPPFLAGS@%$COMMON_THREADCPPFLAGS%g
21226 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
21227 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
21228 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
21229 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
21230 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
21231 s%@EXTRADEFS@%$EXTRADEFS%g
21232 s%@RESFLAGS@%$RESFLAGS%g
21233 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
21234 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
21235 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
21236 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
21237 s%@LIBWXMACRES@%$LIBWXMACRES%g
21238 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
21239 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
21240 s%@DLLTOOL@%$DLLTOOL%g
21244 s%@MAKEINFO@%$MAKEINFO%g
21245 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
21246 s%@SET_MAKE@%$SET_MAKE%g
21247 s%@subdirs@%$subdirs%g
21252 cat >> $CONFIG_STATUS <<\EOF
21254 # Split the substitutions into bite-sized pieces for seds with
21255 # small command number limits, like on Digital OSF/1 and HP-UX.
21256 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
21257 ac_file
=1 # Number of current file.
21258 ac_beg
=1 # First line for current file.
21259 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
21262 while $ac_more_lines; do
21263 if test $ac_beg -gt 1; then
21264 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
21266 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
21268 if test ! -s conftest.s
$ac_file; then
21269 ac_more_lines
=false
21270 rm -f conftest.s
$ac_file
21272 if test -z "$ac_sed_cmds"; then
21273 ac_sed_cmds
="sed -f conftest.s$ac_file"
21275 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
21277 ac_file
=`expr $ac_file + 1`
21279 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
21282 if test -z "$ac_sed_cmds"; then
21287 cat >> $CONFIG_STATUS <<EOF
21289 CONFIG_FILES=\${CONFIG_FILES-"wx-config
21296 cat >> $CONFIG_STATUS <<\EOF
21297 for ac_file
in ..
$CONFIG_FILES; 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 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21307 # Remove last slash and all that follows it. Not all systems have dirname.
21308 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21309 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
21310 # The file is in a subdirectory.
21311 test ! -d "$ac_dir" && mkdir "$ac_dir"
21312 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
21313 # A "../" for each directory in $ac_dir_suffix.
21314 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21316 ac_dir_suffix
= ac_dots
=
21319 case "$ac_given_srcdir" in
21321 if test -z "$ac_dots"; then top_srcdir
=.
21322 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21323 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
21324 *) # Relative path.
21325 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21326 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21329 case "$ac_given_INSTALL" in
21330 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
21331 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
21334 echo creating
"$ac_file"
21336 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21338 *Makefile
*) ac_comsub
="1i\\
21339 # $configure_input" ;;
21343 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21345 s%@configure_input@%$configure_input%g
21346 s%@srcdir@%$srcdir%g
21347 s%@top_srcdir@%$top_srcdir%g
21348 s%@INSTALL@%$INSTALL%g
21349 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21353 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21354 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21356 # ac_d sets the value in "#define NAME VALUE" lines.
21357 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21358 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
21361 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21362 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21363 ac_uB
='\([ ]\)%\1#\2define\3'
21366 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21367 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21368 ac_eB
='$%\1#\2define\3'
21372 if test "${CONFIG_HEADERS+set}" != set; then
21374 cat >> $CONFIG_STATUS <<EOF
21375 CONFIG_HEADERS="setup.h:setup.h.in"
21377 cat >> $CONFIG_STATUS <<\EOF
21379 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
21380 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21382 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21383 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21384 *) ac_file_in
="${ac_file}.in" ;;
21387 echo creating
$ac_file
21389 rm -f conftest.frag conftest.
in conftest.out
21390 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21391 cat $ac_file_inputs > conftest.
in
21395 # Transform confdefs.h into a sed script conftest.vals that substitutes
21396 # the proper values into config.h.in to produce config.h. And first:
21397 # Protect against being on the right side of a sed subst in config.status.
21398 # Protect against being in an unquoted here document in config.status.
21399 rm -f conftest.vals
21400 cat > conftest.hdr
<<\EOF
21403 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21407 sed -n -f conftest.hdr confdefs.h > conftest.vals
21410 # This sed command replaces #undef with comments. This is necessary, for
21411 # example, in the case of _POSIX_SOURCE, which is predefined and required
21412 # on some systems where configure will not decide to define it.
21413 cat >> conftest.vals <<\EOF
21414 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21417 # Break up conftest.vals because some shells have a limit on
21418 # the size of here documents, and old seds have small limits too.
21420 rm -f conftest.tail
21423 ac_lines=`grep -c . conftest.vals
`
21424 # grep -c gives empty output for an empty file on some AIX systems.
21425 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21426 # Write a limited-size here document to conftest.frag.
21427 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21428 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21430 sed -f conftest.frag conftest.in > conftest.out
21432 mv conftest.out conftest.in
21433 ' >> $CONFIG_STATUS
21434 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21435 rm -f conftest.vals
21436 mv conftest.tail conftest.vals
21438 rm -f conftest.vals
21440 cat >> $CONFIG_STATUS <<\EOF
21441 rm -f conftest.frag conftest.h
21442 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21443 cat conftest.in >> conftest.h
21445 if cmp -s $ac_file conftest.h 2>/dev/null; then
21446 echo "$ac_file is unchanged"
21449 # Remove last slash and all that follows it. Not all systems have dirname.
21450 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21451 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21452 # The file is in a subdirectory.
21453 test ! -d "$ac_dir" && mkdir "$ac_dir"
21456 mv conftest.h $ac_file
21461 cat >> $CONFIG_STATUS <<EOF
21463 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21468 cat >> $CONFIG_STATUS <<\EOF
21470 if test ! -h wx-config; then
21472 mv wx-config wx${TOOLCHAIN_NAME}-config
21473 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21476 if test ! -d lib; then
21479 if test ! -d lib/wx; then
21482 if test ! -d lib/wx/include; then
21483 mkdir lib/wx/include
21485 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21486 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21488 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21489 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21491 if test -f setup.h; then
21492 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21497 chmod +x $CONFIG_STATUS
21498 rm -fr confdefs* $ac_clean_files
21499 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21501 if test "$no_recursion" != yes; then
21503 # Remove --cache-file and --srcdir arguments so they do not pile up.
21504 ac_sub_configure_args=
21506 for ac_arg in $ac_configure_args; do
21507 if test -n "$ac_prev"; then
21512 -cache-file | --cache-file | --cache-fil | --cache-fi \
21513 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21514 ac_prev=cache_file ;;
21515 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21516 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21518 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21520 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21522 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21526 for ac_config_dir in demos samples utils contrib; do
21528 # Do not complain, so a configure script can configure whichever
21529 # parts of a large source tree are present.
21530 if test ! -d $srcdir/$ac_config_dir; then
21534 echo configuring in $ac_config_dir
21539 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21541 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21549 # A "../" for each directory in /$ac_config_dir.
21550 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21553 .) # No --srcdir option. We are building in place.
21554 ac_sub_srcdir=$srcdir ;;
21555 /*) # Absolute path.
21556 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21557 *) # Relative path.
21558 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21561 # Check for guested configure; otherwise get Cygnus style configure.
21562 if test -f $ac_sub_srcdir/configure; then
21563 ac_sub_configure=$ac_sub_srcdir/configure
21564 elif test -f $ac_sub_srcdir/configure.in; then
21565 ac_sub_configure=$ac_configure
21567 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21571 # The recursion is here.
21572 if test -n "$ac_sub_configure"; then
21574 # Make the cache file name correct relative to the subdirectory.
21575 case "$cache_file" in
21576 /*) ac_sub_cache_file=$cache_file ;;
21577 *) # Relative path.
21578 ac_sub_cache_file="$ac_dots$cache_file" ;;
21580 case "$ac_given_INSTALL" in
21581 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21582 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21585 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21586 # The eval makes quoting arguments work.
21587 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21590 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }