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
1352 cat >> confdefs.h
<<\EOF
1356 cat >> confdefs.h
<<\EOF
1357 #define __DARWIN__ 1
1360 cat >> confdefs.h
<<\EOF
1361 #define __POWERPC__ 1
1364 DEFAULT_DEFAULT_wxUSE_MAC
=1
1369 cat >> confdefs.h
<<\EOF
1376 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1382 wx_arg_cache_file
="configarg.cache"
1383 echo "loading argument cache $wx_arg_cache_file"
1384 rm -f ${wx_arg_cache_file}.tmp
1385 touch ${wx_arg_cache_file}.tmp
1386 touch ${wx_arg_cache_file}
1390 if test $DEBUG_CONFIGURE = 1; then
1391 DEFAULT_wxUSE_UNIVERSAL
=no
1393 DEFAULT_wxUSE_NANOX
=no
1395 DEFAULT_wxUSE_THREADS
=yes
1397 DEFAULT_wxUSE_SHARED
=yes
1398 DEFAULT_wxUSE_SONAME
=no
1399 DEFAULT_wxUSE_OPTIMISE
=no
1400 DEFAULT_wxUSE_PROFILE
=no
1401 DEFAULT_wxUSE_NO_DEPS
=no
1402 DEFAULT_wxUSE_NO_RTTI
=no
1403 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1404 DEFAULT_wxUSE_PERMISSIVE
=no
1405 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1406 DEFAULT_wxUSE_DEBUG_INFO
=yes
1407 DEFAULT_wxUSE_DEBUG_GDB
=yes
1408 DEFAULT_wxUSE_MEM_TRACING
=no
1409 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1410 DEFAULT_wxUSE_DMALLOC
=no
1411 DEFAULT_wxUSE_PRECOMP
=no
1412 DEFAULT_wxUSE_APPLE_IEEE
=no
1414 DEFAULT_wxUSE_LOG
=yes
1415 DEFAULT_wxUSE_LOGWINDOW
=no
1416 DEFAULT_wxUSE_LOGGUI
=no
1417 DEFAULT_wxUSE_LOGDIALOG
=no
1419 DEFAULT_wxUSE_GUI
=yes
1420 DEFAULT_wxUSE_CONTROLS
=no
1422 DEFAULT_wxUSE_REGEX
=no
1423 DEFAULT_wxUSE_ZLIB
=no
1424 DEFAULT_wxUSE_LIBPNG
=no
1425 DEFAULT_wxUSE_LIBJPEG
=no
1426 DEFAULT_wxUSE_LIBTIFF
=no
1427 DEFAULT_wxUSE_ODBC
=no
1428 DEFAULT_wxUSE_OPENGL
=no
1430 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1431 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1432 DEFAULT_wxUSE_STD_IOSTREAM
=no
1433 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1434 DEFAULT_wxUSE_DATETIME
=no
1435 DEFAULT_wxUSE_TIMEDATE
=no
1436 DEFAULT_wxUSE_TIMER
=no
1437 DEFAULT_wxUSE_STOPWATCH
=no
1438 DEFAULT_wxUSE_FILE
=no
1439 DEFAULT_wxUSE_FFILE
=no
1440 DEFAULT_wxUSE_TEXTBUFFER
=no
1441 DEFAULT_wxUSE_TEXTFILE
=no
1442 DEFAULT_wxUSE_WAVE
=no
1443 DEFAULT_wxUSE_INTL
=no
1444 DEFAULT_wxUSE_CONFIG
=no
1445 DEFAULT_wxUSE_FONTMAP
=no
1446 DEFAULT_wxUSE_STREAMS
=no
1447 DEFAULT_wxUSE_SOCKETS
=no
1448 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1449 DEFAULT_wxUSE_JOYSTICK
=no
1450 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1451 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1452 DEFAULT_wxUSE_LONGLONG
=no
1453 DEFAULT_wxUSE_GEOMETRY
=no
1455 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1456 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1457 DEFAULT_wxUSE_POSTSCRIPT
=no
1459 DEFAULT_wxUSE_X_RESOURCES
=no
1460 DEFAULT_wxUSE_CLIPBOARD
=no
1461 DEFAULT_wxUSE_TOOLTIPS
=no
1462 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1463 DEFAULT_wxUSE_DRAGIMAGE
=no
1464 DEFAULT_wxUSE_SPLINES
=no
1466 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1467 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1468 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1470 DEFAULT_wxUSE_PROLOGIO
=no
1471 DEFAULT_wxUSE_RESOURCES
=no
1472 DEFAULT_wxUSE_CONSTRAINTS
=no
1473 DEFAULT_wxUSE_IPC
=no
1474 DEFAULT_wxUSE_HELP
=no
1475 DEFAULT_wxUSE_MS_HTML_HELP
=no
1476 DEFAULT_wxUSE_WXHTML_HELP
=no
1477 DEFAULT_wxUSE_TREELAYOUT
=no
1478 DEFAULT_wxUSE_METAFILE
=no
1479 DEFAULT_wxUSE_MIMETYPE
=no
1480 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1481 DEFAULT_wxUSE_PROTOCOL
=no
1482 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1483 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1484 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1485 DEFAULT_wxUSE_URL
=no
1487 DEFAULT_wxUSE_COMMONDLGS
=no
1488 DEFAULT_wxUSE_CHOICEDLG
=no
1489 DEFAULT_wxUSE_COLOURDLG
=no
1490 DEFAULT_wxUSE_DIRDLG
=no
1491 DEFAULT_wxUSE_FILEDLG
=no
1492 DEFAULT_wxUSE_FINDREPLDLG
=no
1493 DEFAULT_wxUSE_FONTDLG
=no
1494 DEFAULT_wxUSE_MSGDLG
=no
1495 DEFAULT_wxUSE_NUMBERDLG
=no
1496 DEFAULT_wxUSE_TEXTDLG
=no
1497 DEFAULT_wxUSE_SPLASH
=no
1498 DEFAULT_wxUSE_STARTUP_TIPS
=no
1499 DEFAULT_wxUSE_PROGRESSDLG
=no
1500 DEFAULT_wxUSE_WIZARDDLG
=no
1502 DEFAULT_wxUSE_MENUS
=no
1503 DEFAULT_wxUSE_MINIFRAME
=no
1504 DEFAULT_wxUSE_HTML
=no
1505 DEFAULT_wxUSE_FILESYSTEM
=no
1506 DEFAULT_wxUSE_FS_INET
=no
1507 DEFAULT_wxUSE_FS_ZIP
=no
1508 DEFAULT_wxUSE_BUSYINFO
=no
1509 DEFAULT_wxUSE_ZIPSTREAM
=no
1510 DEFAULT_wxUSE_VALIDATORS
=no
1512 DEFAULT_wxUSE_ACCEL
=no
1513 DEFAULT_wxUSE_BUTTON
=no
1514 DEFAULT_wxUSE_BMPBUTTON
=no
1515 DEFAULT_wxUSE_CALCTRL
=no
1516 DEFAULT_wxUSE_CARET
=no
1517 DEFAULT_wxUSE_CHECKBOX
=no
1518 DEFAULT_wxUSE_CHECKLST
=no
1519 DEFAULT_wxUSE_CHOICE
=no
1520 DEFAULT_wxUSE_COMBOBOX
=no
1521 DEFAULT_wxUSE_GAUGE
=no
1522 DEFAULT_wxUSE_GRID
=no
1523 DEFAULT_wxUSE_NEW_GRID
=no
1524 DEFAULT_wxUSE_IMAGLIST
=no
1525 DEFAULT_wxUSE_LISTBOX
=no
1526 DEFAULT_wxUSE_LISTCTRL
=no
1527 DEFAULT_wxUSE_NOTEBOOK
=no
1528 DEFAULT_wxUSE_PROPSHEET
=no
1529 DEFAULT_wxUSE_RADIOBOX
=no
1530 DEFAULT_wxUSE_RADIOBTN
=no
1531 DEFAULT_wxUSE_SASH
=no
1532 DEFAULT_wxUSE_SCROLLBAR
=no
1533 DEFAULT_wxUSE_SLIDER
=no
1534 DEFAULT_wxUSE_SPINBTN
=no
1535 DEFAULT_wxUSE_SPINCTRL
=no
1536 DEFAULT_wxUSE_SPLITTER
=no
1537 DEFAULT_wxUSE_STATBMP
=no
1538 DEFAULT_wxUSE_STATBOX
=no
1539 DEFAULT_wxUSE_STATLINE
=no
1540 DEFAULT_wxUSE_STATTEXT
=no
1541 DEFAULT_wxUSE_STATUSBAR
=yes
1542 DEFAULT_wxUSE_TABDIALOG
=no
1543 DEFAULT_wxUSE_TEXTCTRL
=no
1544 DEFAULT_wxUSE_TOGGLEBTN
=no
1545 DEFAULT_wxUSE_TOOLBAR
=no
1546 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1547 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1548 DEFAULT_wxUSE_TREECTRL
=no
1549 DEFAULT_wxUSE_POPUPWIN
=no
1550 DEFAULT_wxUSE_TIPWINDOW
=no
1552 DEFAULT_wxUSE_UNICODE
=no
1553 DEFAULT_wxUSE_UNICODE_MSLU
=no
1554 DEFAULT_wxUSE_WCSRTOMBS
=no
1556 DEFAULT_wxUSE_PALETTE
=no
1557 DEFAULT_wxUSE_IMAGE
=no
1558 DEFAULT_wxUSE_GIF
=no
1559 DEFAULT_wxUSE_PCX
=no
1560 DEFAULT_wxUSE_PNM
=no
1561 DEFAULT_wxUSE_IFF
=no
1562 DEFAULT_wxUSE_XPM
=no
1563 DEFAULT_wxUSE_ICO_CUR
=no
1565 DEFAULT_wxUSE_UNIVERSAL
=no
1567 DEFAULT_wxUSE_NANOX
=no
1569 DEFAULT_wxUSE_THREADS
=yes
1571 DEFAULT_wxUSE_SHARED
=yes
1572 DEFAULT_wxUSE_SONAME
=no
1573 DEFAULT_wxUSE_OPTIMISE
=yes
1574 DEFAULT_wxUSE_PROFILE
=no
1575 DEFAULT_wxUSE_NO_DEPS
=no
1576 DEFAULT_wxUSE_NO_RTTI
=no
1577 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1578 DEFAULT_wxUSE_PERMISSIVE
=no
1579 DEFAULT_wxUSE_DEBUG_FLAG
=no
1580 DEFAULT_wxUSE_DEBUG_INFO
=no
1581 DEFAULT_wxUSE_DEBUG_GDB
=no
1582 DEFAULT_wxUSE_MEM_TRACING
=no
1583 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1584 DEFAULT_wxUSE_DMALLOC
=no
1585 DEFAULT_wxUSE_PRECOMP
=no
1586 DEFAULT_wxUSE_APPLE_IEEE
=yes
1588 DEFAULT_wxUSE_LOG
=yes
1589 DEFAULT_wxUSE_LOGWINDOW
=yes
1590 DEFAULT_wxUSE_LOGGUI
=yes
1591 DEFAULT_wxUSE_LOGDIALOG
=yes
1593 DEFAULT_wxUSE_GUI
=yes
1595 DEFAULT_wxUSE_REGEX
=yes
1596 DEFAULT_wxUSE_ZLIB
=yes
1597 DEFAULT_wxUSE_LIBPNG
=yes
1598 DEFAULT_wxUSE_LIBJPEG
=yes
1599 DEFAULT_wxUSE_LIBTIFF
=yes
1600 DEFAULT_wxUSE_ODBC
=no
1601 DEFAULT_wxUSE_OPENGL
=no
1603 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1604 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1605 DEFAULT_wxUSE_STD_IOSTREAM
=no
1606 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1607 DEFAULT_wxUSE_DATETIME
=yes
1608 DEFAULT_wxUSE_TIMEDATE
=no
1609 DEFAULT_wxUSE_TIMER
=yes
1610 DEFAULT_wxUSE_STOPWATCH
=yes
1611 DEFAULT_wxUSE_FILE
=yes
1612 DEFAULT_wxUSE_FFILE
=yes
1613 DEFAULT_wxUSE_TEXTBUFFER
=yes
1614 DEFAULT_wxUSE_TEXTFILE
=yes
1615 DEFAULT_wxUSE_WAVE
=no
1616 DEFAULT_wxUSE_INTL
=yes
1617 DEFAULT_wxUSE_CONFIG
=yes
1618 DEFAULT_wxUSE_FONTMAP
=yes
1619 DEFAULT_wxUSE_STREAMS
=yes
1620 DEFAULT_wxUSE_SOCKETS
=yes
1621 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1622 DEFAULT_wxUSE_JOYSTICK
=yes
1623 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1624 DEFAULT_wxUSE_DYNAMIC_LOADER
=yes
1625 DEFAULT_wxUSE_LONGLONG
=yes
1626 DEFAULT_wxUSE_GEOMETRY
=yes
1628 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1629 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1630 DEFAULT_wxUSE_POSTSCRIPT
=yes
1632 DEFAULT_wxUSE_X_RESOURCES
=no
1633 DEFAULT_wxUSE_CLIPBOARD
=yes
1634 DEFAULT_wxUSE_TOOLTIPS
=yes
1635 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1636 DEFAULT_wxUSE_DRAGIMAGE
=yes
1637 DEFAULT_wxUSE_SPLINES
=yes
1639 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1640 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1641 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1643 DEFAULT_wxUSE_PROLOGIO
=yes
1644 DEFAULT_wxUSE_RESOURCES
=yes
1645 DEFAULT_wxUSE_CONSTRAINTS
=yes
1646 DEFAULT_wxUSE_IPC
=yes
1647 DEFAULT_wxUSE_HELP
=yes
1648 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1649 DEFAULT_wxUSE_WXHTML_HELP
=yes
1650 DEFAULT_wxUSE_TREELAYOUT
=yes
1651 DEFAULT_wxUSE_METAFILE
=yes
1652 DEFAULT_wxUSE_MIMETYPE
=yes
1653 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1654 DEFAULT_wxUSE_PROTOCOL
=yes
1655 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1656 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1657 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1658 DEFAULT_wxUSE_URL
=yes
1660 DEFAULT_wxUSE_COMMONDLGS
=yes
1661 DEFAULT_wxUSE_CHOICEDLG
=yes
1662 DEFAULT_wxUSE_COLOURDLG
=yes
1663 DEFAULT_wxUSE_DIRDLG
=yes
1664 DEFAULT_wxUSE_FILEDLG
=yes
1665 DEFAULT_wxUSE_FINDREPLDLG
=yes
1666 DEFAULT_wxUSE_FONTDLG
=yes
1667 DEFAULT_wxUSE_MSGDLG
=yes
1668 DEFAULT_wxUSE_NUMBERDLG
=yes
1669 DEFAULT_wxUSE_TEXTDLG
=yes
1670 DEFAULT_wxUSE_SPLASH
=yes
1671 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1672 DEFAULT_wxUSE_PROGRESSDLG
=yes
1673 DEFAULT_wxUSE_WIZARDDLG
=yes
1675 DEFAULT_wxUSE_MENUS
=yes
1676 DEFAULT_wxUSE_MINIFRAME
=yes
1677 DEFAULT_wxUSE_HTML
=yes
1678 DEFAULT_wxUSE_FILESYSTEM
=yes
1679 DEFAULT_wxUSE_FS_INET
=yes
1680 DEFAULT_wxUSE_FS_ZIP
=yes
1681 DEFAULT_wxUSE_BUSYINFO
=yes
1682 DEFAULT_wxUSE_ZIPSTREAM
=yes
1683 DEFAULT_wxUSE_VALIDATORS
=yes
1685 DEFAULT_wxUSE_ACCEL
=yes
1686 DEFAULT_wxUSE_BUTTON
=yes
1687 DEFAULT_wxUSE_BMPBUTTON
=yes
1688 DEFAULT_wxUSE_CALCTRL
=yes
1689 DEFAULT_wxUSE_CARET
=yes
1690 DEFAULT_wxUSE_CHECKBOX
=yes
1691 DEFAULT_wxUSE_CHECKLST
=yes
1692 DEFAULT_wxUSE_CHOICE
=yes
1693 DEFAULT_wxUSE_COMBOBOX
=yes
1694 DEFAULT_wxUSE_GAUGE
=yes
1695 DEFAULT_wxUSE_GRID
=yes
1696 DEFAULT_wxUSE_NEW_GRID
=yes
1697 DEFAULT_wxUSE_IMAGLIST
=yes
1698 DEFAULT_wxUSE_LISTBOX
=yes
1699 DEFAULT_wxUSE_LISTCTRL
=yes
1700 DEFAULT_wxUSE_NOTEBOOK
=yes
1701 DEFAULT_wxUSE_PROPSHEET
=yes
1702 DEFAULT_wxUSE_RADIOBOX
=yes
1703 DEFAULT_wxUSE_RADIOBTN
=yes
1704 DEFAULT_wxUSE_SASH
=yes
1705 DEFAULT_wxUSE_SCROLLBAR
=yes
1706 DEFAULT_wxUSE_SLIDER
=yes
1707 DEFAULT_wxUSE_SPINBTN
=yes
1708 DEFAULT_wxUSE_SPINCTRL
=yes
1709 DEFAULT_wxUSE_SPLITTER
=yes
1710 DEFAULT_wxUSE_STATBMP
=yes
1711 DEFAULT_wxUSE_STATBOX
=yes
1712 DEFAULT_wxUSE_STATLINE
=yes
1713 DEFAULT_wxUSE_STATTEXT
=yes
1714 DEFAULT_wxUSE_STATUSBAR
=yes
1715 DEFAULT_wxUSE_TABDIALOG
=no
1716 DEFAULT_wxUSE_TEXTCTRL
=yes
1717 DEFAULT_wxUSE_TOGGLEBTN
=yes
1718 DEFAULT_wxUSE_TOOLBAR
=yes
1719 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1720 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1721 DEFAULT_wxUSE_TREECTRL
=yes
1722 DEFAULT_wxUSE_POPUPWIN
=yes
1723 DEFAULT_wxUSE_TIPWINDOW
=yes
1725 DEFAULT_wxUSE_UNICODE
=no
1726 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1727 DEFAULT_wxUSE_WCSRTOMBS
=no
1729 DEFAULT_wxUSE_PALETTE
=yes
1730 DEFAULT_wxUSE_IMAGE
=yes
1731 DEFAULT_wxUSE_GIF
=yes
1732 DEFAULT_wxUSE_PCX
=yes
1733 DEFAULT_wxUSE_IFF
=no
1734 DEFAULT_wxUSE_PNM
=yes
1735 DEFAULT_wxUSE_XPM
=yes
1736 DEFAULT_wxUSE_ICO_CUR
=yes
1741 for toolkit
in `echo $ALL_TOOLKITS`; do
1742 LINE
=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
1743 if test "x$LINE" != "x" ; then
1744 has_toolkit_in_cache
=1
1745 eval "DEFAULT_$LINE"
1746 eval "CACHE_$toolkit=1"
1752 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1753 echo "configure:1754: checking for --enable-gui" >&5
1755 # Check whether --enable-gui or --disable-gui was given.
1756 if test "${enable_gui+set}" = set; then
1757 enableval
="$enable_gui"
1759 if test "$enableval" = yes; then
1760 ac_cv_use_gui
='wxUSE_GUI=yes'
1762 ac_cv_use_gui
='wxUSE_GUI=no'
1767 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1768 if test "x$LINE" != x
; then
1769 eval "DEFAULT_$LINE"
1774 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1779 eval "$ac_cv_use_gui"
1780 if test "$no_cache" != 1; then
1781 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1784 if test "$wxUSE_GUI" = yes; then
1785 echo "$ac_t""yes" 1>&6
1787 echo "$ac_t""no" 1>&6
1791 if test "$wxUSE_GUI" = "yes"; then
1794 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1795 echo "configure:1796: checking for --enable-universal" >&5
1797 # Check whether --enable-universal or --disable-universal was given.
1798 if test "${enable_universal+set}" = set; then
1799 enableval
="$enable_universal"
1801 if test "$enableval" = yes; then
1802 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1804 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1809 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1810 if test "x$LINE" != x
; then
1811 eval "DEFAULT_$LINE"
1816 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1821 eval "$ac_cv_use_universal"
1822 if test "$no_cache" != 1; then
1823 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1826 if test "$wxUSE_UNIVERSAL" = yes; then
1827 echo "$ac_t""yes" 1>&6
1829 echo "$ac_t""no" 1>&6
1832 # Check whether --with-gtk or --without-gtk was given.
1833 if test "${with_gtk+set}" = set; then
1835 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1838 # Check whether --with-motif or --without-motif was given.
1839 if test "${with_motif+set}" = set; then
1840 withval
="$with_motif"
1841 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1844 # Check whether --with-mac or --without-mac was given.
1845 if test "${with_mac+set}" = set; then
1847 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1850 # Check whether --with-wine or --without-wine was given.
1851 if test "${with_wine+set}" = set; then
1852 withval
="$with_wine"
1853 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1856 # Check whether --with-msw or --without-msw was given.
1857 if test "${with_msw+set}" = set; then
1859 wxUSE_MSW
="$withval" CACHE_MSW
=1 TOOLKIT_GIVEN
=1
1862 # Check whether --with-pm or --without-pm was given.
1863 if test "${with_pm+set}" = set; then
1865 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1868 # Check whether --with-mgl or --without-mgl was given.
1869 if test "${with_mgl+set}" = set; then
1871 wxUSE_MGL
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1874 # Check whether --with-microwin or --without-microwin was given.
1875 if test "${with_microwin+set}" = set; then
1876 withval
="$with_microwin"
1877 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1880 # Check whether --with-x11 or --without-x11 was given.
1881 if test "${with_x11+set}" = set; then
1883 wxUSE_X11
="$withval" wxUSE_UNIVERSAL
="yes" CACHE_X11
=1 TOOLKIT_GIVEN
=1
1887 echo $ac_n "checking for --enable-nanox""... $ac_c" 1>&6
1888 echo "configure:1889: checking for --enable-nanox" >&5
1890 # Check whether --enable-nanox or --disable-nanox was given.
1891 if test "${enable_nanox+set}" = set; then
1892 enableval
="$enable_nanox"
1894 if test "$enableval" = yes; then
1895 ac_cv_use_nanox
='wxUSE_NANOX=yes'
1897 ac_cv_use_nanox
='wxUSE_NANOX=no'
1902 LINE
=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
1903 if test "x$LINE" != x
; then
1904 eval "DEFAULT_$LINE"
1909 ac_cv_use_nanox
='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
1914 eval "$ac_cv_use_nanox"
1915 if test "$no_cache" != 1; then
1916 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
1919 if test "$wxUSE_NANOX" = yes; then
1920 echo "$ac_t""yes" 1>&6
1922 echo "$ac_t""no" 1>&6
1927 echo $ac_n "checking for --enable-gtk2""... $ac_c" 1>&6
1928 echo "configure:1929: checking for --enable-gtk2" >&5
1930 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1931 if test "${enable_gtk2+set}" = set; then
1932 enableval
="$enable_gtk2"
1934 if test "$enableval" = yes; then
1935 ac_cv_use_gtk2
='wxUSE_GTK2=yes'
1937 ac_cv_use_gtk2
='wxUSE_GTK2=no'
1942 LINE
=`grep "wxUSE_GTK2" ${wx_arg_cache_file}`
1943 if test "x$LINE" != x
; then
1944 eval "DEFAULT_$LINE"
1949 ac_cv_use_gtk2
='wxUSE_GTK2='$DEFAULT_wxUSE_GTK2
1954 eval "$ac_cv_use_gtk2"
1955 if test "$no_cache" != 1; then
1956 echo $ac_cv_use_gtk2 >> ${wx_arg_cache_file}.tmp
1959 if test "$wxUSE_GTK2" = yes; then
1960 echo "$ac_t""yes" 1>&6
1962 echo "$ac_t""no" 1>&6
1967 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1968 echo "configure:1969: checking for --with-libpng" >&5
1970 # Check whether --with-libpng or --without-libpng was given.
1971 if test "${with_libpng+set}" = set; then
1972 withval
="$with_libpng"
1974 if test "$withval" = yes; then
1975 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1976 elif test "$withval" = no
; then
1977 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1978 elif test "$withval" = sys
; then
1979 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1980 elif test "$withval" = builtin; then
1981 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1983 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1988 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1989 if test "x$LINE" != x
; then
1990 eval "DEFAULT_$LINE"
1995 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
2000 eval "$ac_cv_use_libpng"
2001 if test "$no_cache" != 1; then
2002 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
2005 if test "$wxUSE_LIBPNG" = yes; then
2006 echo "$ac_t""yes" 1>&6
2007 elif test "$wxUSE_LIBPNG" = no
; then
2008 echo "$ac_t""no" 1>&6
2009 elif test "$wxUSE_LIBPNG" = sys
; then
2010 echo "$ac_t""system version" 1>&6
2011 elif test "$wxUSE_LIBPNG" = builtin; then
2012 echo "$ac_t""builtin version" 1>&6
2014 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2018 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
2019 echo "configure:2020: checking for --with-libjpeg" >&5
2021 # Check whether --with-libjpeg or --without-libjpeg was given.
2022 if test "${with_libjpeg+set}" = set; then
2023 withval
="$with_libjpeg"
2025 if test "$withval" = yes; then
2026 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
2027 elif test "$withval" = no
; then
2028 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
2029 elif test "$withval" = sys
; then
2030 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
2031 elif test "$withval" = builtin; then
2032 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
2034 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2039 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2040 if test "x$LINE" != x
; then
2041 eval "DEFAULT_$LINE"
2046 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2051 eval "$ac_cv_use_libjpeg"
2052 if test "$no_cache" != 1; then
2053 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2056 if test "$wxUSE_LIBJPEG" = yes; then
2057 echo "$ac_t""yes" 1>&6
2058 elif test "$wxUSE_LIBJPEG" = no
; then
2059 echo "$ac_t""no" 1>&6
2060 elif test "$wxUSE_LIBJPEG" = sys
; then
2061 echo "$ac_t""system version" 1>&6
2062 elif test "$wxUSE_LIBJPEG" = builtin; then
2063 echo "$ac_t""builtin version" 1>&6
2065 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2069 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2070 echo "configure:2071: checking for --with-libtiff" >&5
2072 # Check whether --with-libtiff or --without-libtiff was given.
2073 if test "${with_libtiff+set}" = set; then
2074 withval
="$with_libtiff"
2076 if test "$withval" = yes; then
2077 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2078 elif test "$withval" = no
; then
2079 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2080 elif test "$withval" = sys
; then
2081 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2082 elif test "$withval" = builtin; then
2083 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2085 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2090 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2091 if test "x$LINE" != x
; then
2092 eval "DEFAULT_$LINE"
2097 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2102 eval "$ac_cv_use_libtiff"
2103 if test "$no_cache" != 1; then
2104 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2107 if test "$wxUSE_LIBTIFF" = yes; then
2108 echo "$ac_t""yes" 1>&6
2109 elif test "$wxUSE_LIBTIFF" = no
; then
2110 echo "$ac_t""no" 1>&6
2111 elif test "$wxUSE_LIBTIFF" = sys
; then
2112 echo "$ac_t""system version" 1>&6
2113 elif test "$wxUSE_LIBTIFF" = builtin; then
2114 echo "$ac_t""builtin version" 1>&6
2116 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2120 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2121 echo "configure:2122: checking for --with-opengl" >&5
2123 # Check whether --with-opengl or --without-opengl was given.
2124 if test "${with_opengl+set}" = set; then
2125 withval
="$with_opengl"
2127 if test "$withval" = yes; then
2128 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2130 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2135 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2136 if test "x$LINE" != x
; then
2137 eval "DEFAULT_$LINE"
2142 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2147 eval "$ac_cv_use_opengl"
2148 if test "$no_cache" != 1; then
2149 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2152 if test "$wxUSE_OPENGL" = yes; then
2153 echo "$ac_t""yes" 1>&6
2155 echo "$ac_t""no" 1>&6
2162 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2163 echo "configure:2164: checking for --with-dmalloc" >&5
2165 # Check whether --with-dmalloc or --without-dmalloc was given.
2166 if test "${with_dmalloc+set}" = set; then
2167 withval
="$with_dmalloc"
2169 if test "$withval" = yes; then
2170 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2172 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2177 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2178 if test "x$LINE" != x
; then
2179 eval "DEFAULT_$LINE"
2184 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2189 eval "$ac_cv_use_dmalloc"
2190 if test "$no_cache" != 1; then
2191 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2194 if test "$wxUSE_DMALLOC" = yes; then
2195 echo "$ac_t""yes" 1>&6
2197 echo "$ac_t""no" 1>&6
2201 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2202 echo "configure:2203: checking for --with-regex" >&5
2204 # Check whether --with-regex or --without-regex was given.
2205 if test "${with_regex+set}" = set; then
2206 withval
="$with_regex"
2208 if test "$withval" = yes; then
2209 ac_cv_use_regex
='wxUSE_REGEX=yes'
2210 elif test "$withval" = no
; then
2211 ac_cv_use_regex
='wxUSE_REGEX=no'
2212 elif test "$withval" = sys
; then
2213 ac_cv_use_regex
='wxUSE_REGEX=sys'
2214 elif test "$withval" = builtin; then
2215 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2217 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2222 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2223 if test "x$LINE" != x
; then
2224 eval "DEFAULT_$LINE"
2229 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2234 eval "$ac_cv_use_regex"
2235 if test "$no_cache" != 1; then
2236 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2239 if test "$wxUSE_REGEX" = yes; then
2240 echo "$ac_t""yes" 1>&6
2241 elif test "$wxUSE_REGEX" = no
; then
2242 echo "$ac_t""no" 1>&6
2243 elif test "$wxUSE_REGEX" = sys
; then
2244 echo "$ac_t""system version" 1>&6
2245 elif test "$wxUSE_REGEX" = builtin; then
2246 echo "$ac_t""builtin version" 1>&6
2248 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2252 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2253 echo "configure:2254: checking for --with-zlib" >&5
2255 # Check whether --with-zlib or --without-zlib was given.
2256 if test "${with_zlib+set}" = set; then
2257 withval
="$with_zlib"
2259 if test "$withval" = yes; then
2260 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2261 elif test "$withval" = no
; then
2262 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2263 elif test "$withval" = sys
; then
2264 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2265 elif test "$withval" = builtin; then
2266 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2268 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2273 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2274 if test "x$LINE" != x
; then
2275 eval "DEFAULT_$LINE"
2280 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2285 eval "$ac_cv_use_zlib"
2286 if test "$no_cache" != 1; then
2287 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2290 if test "$wxUSE_ZLIB" = yes; then
2291 echo "$ac_t""yes" 1>&6
2292 elif test "$wxUSE_ZLIB" = no
; then
2293 echo "$ac_t""no" 1>&6
2294 elif test "$wxUSE_ZLIB" = sys
; then
2295 echo "$ac_t""system version" 1>&6
2296 elif test "$wxUSE_ZLIB" = builtin; then
2297 echo "$ac_t""builtin version" 1>&6
2299 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2303 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2304 echo "configure:2305: checking for --with-odbc" >&5
2306 # Check whether --with-odbc or --without-odbc was given.
2307 if test "${with_odbc+set}" = set; then
2308 withval
="$with_odbc"
2310 if test "$withval" = yes; then
2311 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2313 ac_cv_use_odbc
='wxUSE_ODBC=no'
2318 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2319 if test "x$LINE" != x
; then
2320 eval "DEFAULT_$LINE"
2325 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2330 eval "$ac_cv_use_odbc"
2331 if test "$no_cache" != 1; then
2332 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2335 if test "$wxUSE_ODBC" = yes; then
2336 echo "$ac_t""yes" 1>&6
2338 echo "$ac_t""no" 1>&6
2344 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2345 echo "configure:2346: checking for --enable-shared" >&5
2347 # Check whether --enable-shared or --disable-shared was given.
2348 if test "${enable_shared+set}" = set; then
2349 enableval
="$enable_shared"
2351 if test "$enableval" = yes; then
2352 ac_cv_use_shared
='wxUSE_SHARED=yes'
2354 ac_cv_use_shared
='wxUSE_SHARED=no'
2359 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2360 if test "x$LINE" != x
; then
2361 eval "DEFAULT_$LINE"
2366 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2371 eval "$ac_cv_use_shared"
2372 if test "$no_cache" != 1; then
2373 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2376 if test "$wxUSE_SHARED" = yes; then
2377 echo "$ac_t""yes" 1>&6
2379 echo "$ac_t""no" 1>&6
2383 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2384 echo "configure:2385: checking for --enable-soname" >&5
2386 # Check whether --enable-soname or --disable-soname was given.
2387 if test "${enable_soname+set}" = set; then
2388 enableval
="$enable_soname"
2390 if test "$enableval" = yes; then
2391 ac_cv_use_soname
='wxUSE_SONAME=yes'
2393 ac_cv_use_soname
='wxUSE_SONAME=no'
2398 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2399 if test "x$LINE" != x
; then
2400 eval "DEFAULT_$LINE"
2405 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2410 eval "$ac_cv_use_soname"
2411 if test "$no_cache" != 1; then
2412 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2415 if test "$wxUSE_SONAME" = yes; then
2416 echo "$ac_t""yes" 1>&6
2418 echo "$ac_t""no" 1>&6
2422 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2423 echo "configure:2424: checking for --enable-optimise" >&5
2425 # Check whether --enable-optimise or --disable-optimise was given.
2426 if test "${enable_optimise+set}" = set; then
2427 enableval
="$enable_optimise"
2429 if test "$enableval" = yes; then
2430 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2432 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2437 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2438 if test "x$LINE" != x
; then
2439 eval "DEFAULT_$LINE"
2444 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2449 eval "$ac_cv_use_optimise"
2450 if test "$no_cache" != 1; then
2451 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2454 if test "$wxUSE_OPTIMISE" = yes; then
2455 echo "$ac_t""yes" 1>&6
2457 echo "$ac_t""no" 1>&6
2461 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2462 echo "configure:2463: checking for --enable-debug" >&5
2464 # Check whether --enable-debug or --disable-debug was given.
2465 if test "${enable_debug+set}" = set; then
2466 enableval
="$enable_debug"
2468 if test "$enableval" = yes; then
2469 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2471 ac_cv_use_debug
='wxUSE_DEBUG=no'
2476 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2477 if test "x$LINE" != x
; then
2478 eval "DEFAULT_$LINE"
2483 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2488 eval "$ac_cv_use_debug"
2489 if test "$no_cache" != 1; then
2490 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2493 if test "$wxUSE_DEBUG" = yes; then
2494 echo "$ac_t""yes" 1>&6
2496 echo "$ac_t""no" 1>&6
2501 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2502 echo "configure:2503: checking for --enable-precomp" >&5
2504 # Check whether --enable-precomp or --disable-precomp was given.
2505 if test "${enable_precomp+set}" = set; then
2506 enableval
="$enable_precomp"
2508 if test "$enableval" = yes; then
2509 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2511 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2516 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2517 if test "x$LINE" != x
; then
2518 eval "DEFAULT_$LINE"
2523 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2528 eval "$ac_cv_use_precomp"
2529 if test "$no_cache" != 1; then
2530 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2533 if test "$wxUSE_PRECOMP" = yes; then
2534 echo "$ac_t""yes" 1>&6
2536 echo "$ac_t""no" 1>&6
2540 if test "$wxUSE_DEBUG" = "yes"; then
2541 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2542 DEFAULT_wxUSE_DEBUG_INFO
=yes
2543 elif test "$wxUSE_DEBUG" = "no"; then
2544 DEFAULT_wxUSE_DEBUG_FLAG
=no
2545 DEFAULT_wxUSE_DEBUG_INFO
=no
2549 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2550 echo "configure:2551: checking for --enable-debug_flag" >&5
2552 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2553 if test "${enable_debug_flag+set}" = set; then
2554 enableval
="$enable_debug_flag"
2556 if test "$enableval" = yes; then
2557 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2559 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2564 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2565 if test "x$LINE" != x
; then
2566 eval "DEFAULT_$LINE"
2571 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2576 eval "$ac_cv_use_debug_flag"
2577 if test "$no_cache" != 1; then
2578 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2581 if test "$wxUSE_DEBUG_FLAG" = yes; then
2582 echo "$ac_t""yes" 1>&6
2584 echo "$ac_t""no" 1>&6
2588 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2589 echo "configure:2590: checking for --enable-debug_info" >&5
2591 # Check whether --enable-debug_info or --disable-debug_info was given.
2592 if test "${enable_debug_info+set}" = set; then
2593 enableval
="$enable_debug_info"
2595 if test "$enableval" = yes; then
2596 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2598 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2603 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2604 if test "x$LINE" != x
; then
2605 eval "DEFAULT_$LINE"
2610 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2615 eval "$ac_cv_use_debug_info"
2616 if test "$no_cache" != 1; then
2617 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2620 if test "$wxUSE_DEBUG_INFO" = yes; then
2621 echo "$ac_t""yes" 1>&6
2623 echo "$ac_t""no" 1>&6
2627 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2628 echo "configure:2629: checking for --enable-debug_gdb" >&5
2630 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2631 if test "${enable_debug_gdb+set}" = set; then
2632 enableval
="$enable_debug_gdb"
2634 if test "$enableval" = yes; then
2635 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2637 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2642 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2643 if test "x$LINE" != x
; then
2644 eval "DEFAULT_$LINE"
2649 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2654 eval "$ac_cv_use_debug_gdb"
2655 if test "$no_cache" != 1; then
2656 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2659 if test "$wxUSE_DEBUG_GDB" = yes; then
2660 echo "$ac_t""yes" 1>&6
2662 echo "$ac_t""no" 1>&6
2666 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2667 echo "configure:2668: checking for --enable-debug_cntxt" >&5
2669 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2670 if test "${enable_debug_cntxt+set}" = set; then
2671 enableval
="$enable_debug_cntxt"
2673 if test "$enableval" = yes; then
2674 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2676 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2681 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2682 if test "x$LINE" != x
; then
2683 eval "DEFAULT_$LINE"
2688 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2693 eval "$ac_cv_use_debug_cntxt"
2694 if test "$no_cache" != 1; then
2695 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2698 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2699 echo "$ac_t""yes" 1>&6
2701 echo "$ac_t""no" 1>&6
2705 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2706 echo "configure:2707: checking for --enable-mem_tracing" >&5
2708 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2709 if test "${enable_mem_tracing+set}" = set; then
2710 enableval
="$enable_mem_tracing"
2712 if test "$enableval" = yes; then
2713 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2715 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2720 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2721 if test "x$LINE" != x
; then
2722 eval "DEFAULT_$LINE"
2727 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2732 eval "$ac_cv_use_mem_tracing"
2733 if test "$no_cache" != 1; then
2734 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2737 if test "$wxUSE_MEM_TRACING" = yes; then
2738 echo "$ac_t""yes" 1>&6
2740 echo "$ac_t""no" 1>&6
2744 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2745 echo "configure:2746: checking for --enable-profile" >&5
2747 # Check whether --enable-profile or --disable-profile was given.
2748 if test "${enable_profile+set}" = set; then
2749 enableval
="$enable_profile"
2751 if test "$enableval" = yes; then
2752 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2754 ac_cv_use_profile
='wxUSE_PROFILE=no'
2759 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2760 if test "x$LINE" != x
; then
2761 eval "DEFAULT_$LINE"
2766 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2771 eval "$ac_cv_use_profile"
2772 if test "$no_cache" != 1; then
2773 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2776 if test "$wxUSE_PROFILE" = yes; then
2777 echo "$ac_t""yes" 1>&6
2779 echo "$ac_t""no" 1>&6
2783 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2784 echo "configure:2785: checking for --enable-no_rtti" >&5
2786 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2787 if test "${enable_no_rtti+set}" = set; then
2788 enableval
="$enable_no_rtti"
2790 if test "$enableval" = yes; then
2791 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2793 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2798 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2799 if test "x$LINE" != x
; then
2800 eval "DEFAULT_$LINE"
2805 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2810 eval "$ac_cv_use_no_rtti"
2811 if test "$no_cache" != 1; then
2812 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2815 if test "$wxUSE_NO_RTTI" = yes; then
2816 echo "$ac_t""yes" 1>&6
2818 echo "$ac_t""no" 1>&6
2822 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2823 echo "configure:2824: checking for --enable-no_exceptions" >&5
2825 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2826 if test "${enable_no_exceptions+set}" = set; then
2827 enableval
="$enable_no_exceptions"
2829 if test "$enableval" = yes; then
2830 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2832 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2837 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2838 if test "x$LINE" != x
; then
2839 eval "DEFAULT_$LINE"
2844 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2849 eval "$ac_cv_use_no_exceptions"
2850 if test "$no_cache" != 1; then
2851 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2854 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2855 echo "$ac_t""yes" 1>&6
2857 echo "$ac_t""no" 1>&6
2861 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2862 echo "configure:2863: checking for --enable-permissive" >&5
2864 # Check whether --enable-permissive or --disable-permissive was given.
2865 if test "${enable_permissive+set}" = set; then
2866 enableval
="$enable_permissive"
2868 if test "$enableval" = yes; then
2869 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2871 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2876 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2877 if test "x$LINE" != x
; then
2878 eval "DEFAULT_$LINE"
2883 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2888 eval "$ac_cv_use_permissive"
2889 if test "$no_cache" != 1; then
2890 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2893 if test "$wxUSE_PERMISSIVE" = yes; then
2894 echo "$ac_t""yes" 1>&6
2896 echo "$ac_t""no" 1>&6
2900 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2901 echo "configure:2902: checking for --enable-no_deps" >&5
2903 # Check whether --enable-no_deps or --disable-no_deps was given.
2904 if test "${enable_no_deps+set}" = set; then
2905 enableval
="$enable_no_deps"
2907 if test "$enableval" = yes; then
2908 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2910 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2915 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2916 if test "x$LINE" != x
; then
2917 eval "DEFAULT_$LINE"
2922 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2927 eval "$ac_cv_use_no_deps"
2928 if test "$no_cache" != 1; then
2929 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2932 if test "$wxUSE_NO_DEPS" = yes; then
2933 echo "$ac_t""yes" 1>&6
2935 echo "$ac_t""no" 1>&6
2940 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2941 echo "configure:2942: checking for --enable-compat20" >&5
2943 # Check whether --enable-compat20 or --disable-compat20 was given.
2944 if test "${enable_compat20+set}" = set; then
2945 enableval
="$enable_compat20"
2947 if test "$enableval" = yes; then
2948 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2950 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2955 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2956 if test "x$LINE" != x
; then
2957 eval "DEFAULT_$LINE"
2962 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2967 eval "$ac_cv_use_compat20"
2968 if test "$no_cache" != 1; then
2969 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2972 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2973 echo "$ac_t""yes" 1>&6
2975 echo "$ac_t""no" 1>&6
2979 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2980 echo "configure:2981: checking for --enable-compat22" >&5
2982 # Check whether --enable-compat22 or --disable-compat22 was given.
2983 if test "${enable_compat22+set}" = set; then
2984 enableval
="$enable_compat22"
2986 if test "$enableval" = yes; then
2987 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2989 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2994 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2995 if test "x$LINE" != x
; then
2996 eval "DEFAULT_$LINE"
3001 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3006 eval "$ac_cv_use_compat22"
3007 if test "$no_cache" != 1; then
3008 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3011 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3012 echo "$ac_t""yes" 1>&6
3014 echo "$ac_t""no" 1>&6
3018 # Check whether --enable-rpath or --disable-rpath was given.
3019 if test "${enable_rpath+set}" = set; then
3020 enableval
="$enable_rpath"
3021 wxRPATH_DIR
="$enableval"
3025 if test "$wxRPATH_DIR" != "" -a "$wxRPATH_DIR" != "disable"; then
3026 WXCONFIG_RPATH
="-Wl,-rpath -Wl,$wxRPATH_DIR"
3032 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3033 echo "configure:3034: checking for --enable-intl" >&5
3035 # Check whether --enable-intl or --disable-intl was given.
3036 if test "${enable_intl+set}" = set; then
3037 enableval
="$enable_intl"
3039 if test "$enableval" = yes; then
3040 ac_cv_use_intl
='wxUSE_INTL=yes'
3042 ac_cv_use_intl
='wxUSE_INTL=no'
3047 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3048 if test "x$LINE" != x
; then
3049 eval "DEFAULT_$LINE"
3054 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3059 eval "$ac_cv_use_intl"
3060 if test "$no_cache" != 1; then
3061 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3064 if test "$wxUSE_INTL" = yes; then
3065 echo "$ac_t""yes" 1>&6
3067 echo "$ac_t""no" 1>&6
3071 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3072 echo "configure:3073: checking for --enable-config" >&5
3074 # Check whether --enable-config or --disable-config was given.
3075 if test "${enable_config+set}" = set; then
3076 enableval
="$enable_config"
3078 if test "$enableval" = yes; then
3079 ac_cv_use_config
='wxUSE_CONFIG=yes'
3081 ac_cv_use_config
='wxUSE_CONFIG=no'
3086 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3087 if test "x$LINE" != x
; then
3088 eval "DEFAULT_$LINE"
3093 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3098 eval "$ac_cv_use_config"
3099 if test "$no_cache" != 1; then
3100 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3103 if test "$wxUSE_CONFIG" = yes; then
3104 echo "$ac_t""yes" 1>&6
3106 echo "$ac_t""no" 1>&6
3111 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3112 echo "configure:3113: checking for --enable-protocols" >&5
3114 # Check whether --enable-protocols or --disable-protocols was given.
3115 if test "${enable_protocols+set}" = set; then
3116 enableval
="$enable_protocols"
3118 if test "$enableval" = yes; then
3119 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3121 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3126 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3127 if test "x$LINE" != x
; then
3128 eval "DEFAULT_$LINE"
3133 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3138 eval "$ac_cv_use_protocols"
3139 if test "$no_cache" != 1; then
3140 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3143 if test "$wxUSE_PROTOCOL" = yes; then
3144 echo "$ac_t""yes" 1>&6
3146 echo "$ac_t""no" 1>&6
3150 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3151 echo "configure:3152: checking for --enable-ftp" >&5
3153 # Check whether --enable-ftp or --disable-ftp was given.
3154 if test "${enable_ftp+set}" = set; then
3155 enableval
="$enable_ftp"
3157 if test "$enableval" = yes; then
3158 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3160 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3165 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3166 if test "x$LINE" != x
; then
3167 eval "DEFAULT_$LINE"
3172 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3177 eval "$ac_cv_use_ftp"
3178 if test "$no_cache" != 1; then
3179 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3182 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3183 echo "$ac_t""yes" 1>&6
3185 echo "$ac_t""no" 1>&6
3189 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3190 echo "configure:3191: checking for --enable-http" >&5
3192 # Check whether --enable-http or --disable-http was given.
3193 if test "${enable_http+set}" = set; then
3194 enableval
="$enable_http"
3196 if test "$enableval" = yes; then
3197 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3199 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3204 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x
; then
3206 eval "DEFAULT_$LINE"
3211 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3216 eval "$ac_cv_use_http"
3217 if test "$no_cache" != 1; then
3218 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3221 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3222 echo "$ac_t""yes" 1>&6
3224 echo "$ac_t""no" 1>&6
3228 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3229 echo "configure:3230: checking for --enable-fileproto" >&5
3231 # Check whether --enable-fileproto or --disable-fileproto was given.
3232 if test "${enable_fileproto+set}" = set; then
3233 enableval
="$enable_fileproto"
3235 if test "$enableval" = yes; then
3236 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3238 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3243 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3244 if test "x$LINE" != x
; then
3245 eval "DEFAULT_$LINE"
3250 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3255 eval "$ac_cv_use_fileproto"
3256 if test "$no_cache" != 1; then
3257 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3260 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3261 echo "$ac_t""yes" 1>&6
3263 echo "$ac_t""no" 1>&6
3267 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3268 echo "configure:3269: checking for --enable-sockets" >&5
3270 # Check whether --enable-sockets or --disable-sockets was given.
3271 if test "${enable_sockets+set}" = set; then
3272 enableval
="$enable_sockets"
3274 if test "$enableval" = yes; then
3275 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3277 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3282 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3283 if test "x$LINE" != x
; then
3284 eval "DEFAULT_$LINE"
3289 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3294 eval "$ac_cv_use_sockets"
3295 if test "$no_cache" != 1; then
3296 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3299 if test "$wxUSE_SOCKETS" = yes; then
3300 echo "$ac_t""yes" 1>&6
3302 echo "$ac_t""no" 1>&6
3307 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3308 echo "configure:3309: checking for --enable-ipc" >&5
3310 # Check whether --enable-ipc or --disable-ipc was given.
3311 if test "${enable_ipc+set}" = set; then
3312 enableval
="$enable_ipc"
3314 if test "$enableval" = yes; then
3315 ac_cv_use_ipc
='wxUSE_IPC=yes'
3317 ac_cv_use_ipc
='wxUSE_IPC=no'
3322 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3323 if test "x$LINE" != x
; then
3324 eval "DEFAULT_$LINE"
3329 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3334 eval "$ac_cv_use_ipc"
3335 if test "$no_cache" != 1; then
3336 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3339 if test "$wxUSE_IPC" = yes; then
3340 echo "$ac_t""yes" 1>&6
3342 echo "$ac_t""no" 1>&6
3347 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3348 echo "configure:3349: checking for --enable-cmdline" >&5
3350 # Check whether --enable-cmdline or --disable-cmdline was given.
3351 if test "${enable_cmdline+set}" = set; then
3352 enableval
="$enable_cmdline"
3354 if test "$enableval" = yes; then
3355 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3357 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3362 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3363 if test "x$LINE" != x
; then
3364 eval "DEFAULT_$LINE"
3369 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3374 eval "$ac_cv_use_cmdline"
3375 if test "$no_cache" != 1; then
3376 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3379 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3380 echo "$ac_t""yes" 1>&6
3382 echo "$ac_t""no" 1>&6
3386 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3387 echo "configure:3388: checking for --enable-datetime" >&5
3389 # Check whether --enable-datetime or --disable-datetime was given.
3390 if test "${enable_datetime+set}" = set; then
3391 enableval
="$enable_datetime"
3393 if test "$enableval" = yes; then
3394 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3396 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3401 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3402 if test "x$LINE" != x
; then
3403 eval "DEFAULT_$LINE"
3408 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3413 eval "$ac_cv_use_datetime"
3414 if test "$no_cache" != 1; then
3415 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3418 if test "$wxUSE_DATETIME" = yes; then
3419 echo "$ac_t""yes" 1>&6
3421 echo "$ac_t""no" 1>&6
3425 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3426 echo "configure:3427: checking for --enable-timedate" >&5
3428 # Check whether --enable-timedate or --disable-timedate was given.
3429 if test "${enable_timedate+set}" = set; then
3430 enableval
="$enable_timedate"
3432 if test "$enableval" = yes; then
3433 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3435 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3440 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x
; then
3442 eval "DEFAULT_$LINE"
3447 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3452 eval "$ac_cv_use_timedate"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3457 if test "$wxUSE_TIMEDATE" = yes; then
3458 echo "$ac_t""yes" 1>&6
3460 echo "$ac_t""no" 1>&6
3464 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3465 echo "configure:3466: checking for --enable-stopwatch" >&5
3467 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3468 if test "${enable_stopwatch+set}" = set; then
3469 enableval
="$enable_stopwatch"
3471 if test "$enableval" = yes; then
3472 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3474 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3479 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3480 if test "x$LINE" != x
; then
3481 eval "DEFAULT_$LINE"
3486 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3491 eval "$ac_cv_use_stopwatch"
3492 if test "$no_cache" != 1; then
3493 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3496 if test "$wxUSE_STOPWATCH" = yes; then
3497 echo "$ac_t""yes" 1>&6
3499 echo "$ac_t""no" 1>&6
3503 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3504 echo "configure:3505: checking for --enable-dialupman" >&5
3506 # Check whether --enable-dialupman or --disable-dialupman was given.
3507 if test "${enable_dialupman+set}" = set; then
3508 enableval
="$enable_dialupman"
3510 if test "$enableval" = yes; then
3511 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3513 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3518 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3519 if test "x$LINE" != x
; then
3520 eval "DEFAULT_$LINE"
3525 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3530 eval "$ac_cv_use_dialupman"
3531 if test "$no_cache" != 1; then
3532 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3535 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3536 echo "$ac_t""yes" 1>&6
3538 echo "$ac_t""no" 1>&6
3542 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3543 echo "configure:3544: checking for --enable-apple_ieee" >&5
3545 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3546 if test "${enable_apple_ieee+set}" = set; then
3547 enableval
="$enable_apple_ieee"
3549 if test "$enableval" = yes; then
3550 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3552 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3557 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3558 if test "x$LINE" != x
; then
3559 eval "DEFAULT_$LINE"
3564 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3569 eval "$ac_cv_use_apple_ieee"
3570 if test "$no_cache" != 1; then
3571 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3574 if test "$wxUSE_APPLE_IEEE" = yes; then
3575 echo "$ac_t""yes" 1>&6
3577 echo "$ac_t""no" 1>&6
3581 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3582 echo "configure:3583: checking for --enable-timer" >&5
3584 # Check whether --enable-timer or --disable-timer was given.
3585 if test "${enable_timer+set}" = set; then
3586 enableval
="$enable_timer"
3588 if test "$enableval" = yes; then
3589 ac_cv_use_timer
='wxUSE_TIMER=yes'
3591 ac_cv_use_timer
='wxUSE_TIMER=no'
3596 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3597 if test "x$LINE" != x
; then
3598 eval "DEFAULT_$LINE"
3603 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3608 eval "$ac_cv_use_timer"
3609 if test "$no_cache" != 1; then
3610 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3613 if test "$wxUSE_TIMER" = yes; then
3614 echo "$ac_t""yes" 1>&6
3616 echo "$ac_t""no" 1>&6
3620 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3621 echo "configure:3622: checking for --enable-wave" >&5
3623 # Check whether --enable-wave or --disable-wave was given.
3624 if test "${enable_wave+set}" = set; then
3625 enableval
="$enable_wave"
3627 if test "$enableval" = yes; then
3628 ac_cv_use_wave
='wxUSE_WAVE=yes'
3630 ac_cv_use_wave
='wxUSE_WAVE=no'
3635 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3636 if test "x$LINE" != x
; then
3637 eval "DEFAULT_$LINE"
3642 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3647 eval "$ac_cv_use_wave"
3648 if test "$no_cache" != 1; then
3649 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3652 if test "$wxUSE_WAVE" = yes; then
3653 echo "$ac_t""yes" 1>&6
3655 echo "$ac_t""no" 1>&6
3659 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3660 echo "configure:3661: checking for --enable-fraction" >&5
3662 # Check whether --enable-fraction or --disable-fraction was given.
3663 if test "${enable_fraction+set}" = set; then
3664 enableval
="$enable_fraction"
3666 if test "$enableval" = yes; then
3667 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3669 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3674 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x
; then
3676 eval "DEFAULT_$LINE"
3681 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3686 eval "$ac_cv_use_fraction"
3687 if test "$no_cache" != 1; then
3688 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3691 if test "$wxUSE_FRACTION" = yes; then
3692 echo "$ac_t""yes" 1>&6
3694 echo "$ac_t""no" 1>&6
3698 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3699 echo "configure:3700: checking for --enable-dynlib" >&5
3701 # Check whether --enable-dynlib or --disable-dynlib was given.
3702 if test "${enable_dynlib+set}" = set; then
3703 enableval
="$enable_dynlib"
3705 if test "$enableval" = yes; then
3706 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3708 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3713 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3714 if test "x$LINE" != x
; then
3715 eval "DEFAULT_$LINE"
3720 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3725 eval "$ac_cv_use_dynlib"
3726 if test "$no_cache" != 1; then
3727 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3730 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3731 echo "$ac_t""yes" 1>&6
3733 echo "$ac_t""no" 1>&6
3737 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3738 echo "configure:3739: checking for --enable-dynamicloader" >&5
3740 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3741 if test "${enable_dynamicloader+set}" = set; then
3742 enableval
="$enable_dynamicloader"
3744 if test "$enableval" = yes; then
3745 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3747 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3752 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3753 if test "x$LINE" != x
; then
3754 eval "DEFAULT_$LINE"
3759 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3764 eval "$ac_cv_use_dynamicloader"
3765 if test "$no_cache" != 1; then
3766 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3769 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3770 echo "$ac_t""yes" 1>&6
3772 echo "$ac_t""no" 1>&6
3776 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3777 echo "configure:3778: checking for --enable-longlong" >&5
3779 # Check whether --enable-longlong or --disable-longlong was given.
3780 if test "${enable_longlong+set}" = set; then
3781 enableval
="$enable_longlong"
3783 if test "$enableval" = yes; then
3784 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3786 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3791 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3792 if test "x$LINE" != x
; then
3793 eval "DEFAULT_$LINE"
3798 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3803 eval "$ac_cv_use_longlong"
3804 if test "$no_cache" != 1; then
3805 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3808 if test "$wxUSE_LONGLONG" = yes; then
3809 echo "$ac_t""yes" 1>&6
3811 echo "$ac_t""no" 1>&6
3815 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3816 echo "configure:3817: checking for --enable-geometry" >&5
3818 # Check whether --enable-geometry or --disable-geometry was given.
3819 if test "${enable_geometry+set}" = set; then
3820 enableval
="$enable_geometry"
3822 if test "$enableval" = yes; then
3823 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3825 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3830 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3831 if test "x$LINE" != x
; then
3832 eval "DEFAULT_$LINE"
3837 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3842 eval "$ac_cv_use_geometry"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3847 if test "$wxUSE_GEOMETRY" = yes; then
3848 echo "$ac_t""yes" 1>&6
3850 echo "$ac_t""no" 1>&6
3854 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3855 echo "configure:3856: checking for --enable-log" >&5
3857 # Check whether --enable-log or --disable-log was given.
3858 if test "${enable_log+set}" = set; then
3859 enableval
="$enable_log"
3861 if test "$enableval" = yes; then
3862 ac_cv_use_log
='wxUSE_LOG=yes'
3864 ac_cv_use_log
='wxUSE_LOG=no'
3869 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3870 if test "x$LINE" != x
; then
3871 eval "DEFAULT_$LINE"
3876 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3881 eval "$ac_cv_use_log"
3882 if test "$no_cache" != 1; then
3883 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3886 if test "$wxUSE_LOG" = yes; then
3887 echo "$ac_t""yes" 1>&6
3889 echo "$ac_t""no" 1>&6
3893 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3894 echo "configure:3895: checking for --enable-streams" >&5
3896 # Check whether --enable-streams or --disable-streams was given.
3897 if test "${enable_streams+set}" = set; then
3898 enableval
="$enable_streams"
3900 if test "$enableval" = yes; then
3901 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3903 ac_cv_use_streams
='wxUSE_STREAMS=no'
3908 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3909 if test "x$LINE" != x
; then
3910 eval "DEFAULT_$LINE"
3915 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3920 eval "$ac_cv_use_streams"
3921 if test "$no_cache" != 1; then
3922 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3925 if test "$wxUSE_STREAMS" = yes; then
3926 echo "$ac_t""yes" 1>&6
3928 echo "$ac_t""no" 1>&6
3932 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3933 echo "configure:3934: checking for --enable-file" >&5
3935 # Check whether --enable-file or --disable-file was given.
3936 if test "${enable_file+set}" = set; then
3937 enableval
="$enable_file"
3939 if test "$enableval" = yes; then
3940 ac_cv_use_file
='wxUSE_FILE=yes'
3942 ac_cv_use_file
='wxUSE_FILE=no'
3947 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3948 if test "x$LINE" != x
; then
3949 eval "DEFAULT_$LINE"
3954 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3959 eval "$ac_cv_use_file"
3960 if test "$no_cache" != 1; then
3961 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3964 if test "$wxUSE_FILE" = yes; then
3965 echo "$ac_t""yes" 1>&6
3967 echo "$ac_t""no" 1>&6
3971 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3972 echo "configure:3973: checking for --enable-ffile" >&5
3974 # Check whether --enable-ffile or --disable-ffile was given.
3975 if test "${enable_ffile+set}" = set; then
3976 enableval
="$enable_ffile"
3978 if test "$enableval" = yes; then
3979 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3981 ac_cv_use_ffile
='wxUSE_FFILE=no'
3986 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3987 if test "x$LINE" != x
; then
3988 eval "DEFAULT_$LINE"
3993 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3998 eval "$ac_cv_use_ffile"
3999 if test "$no_cache" != 1; then
4000 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
4003 if test "$wxUSE_FFILE" = yes; then
4004 echo "$ac_t""yes" 1>&6
4006 echo "$ac_t""no" 1>&6
4010 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
4011 echo "configure:4012: checking for --enable-textbuf" >&5
4013 # Check whether --enable-textbuf or --disable-textbuf was given.
4014 if test "${enable_textbuf+set}" = set; then
4015 enableval
="$enable_textbuf"
4017 if test "$enableval" = yes; then
4018 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4020 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4025 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4026 if test "x$LINE" != x
; then
4027 eval "DEFAULT_$LINE"
4032 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4037 eval "$ac_cv_use_textbuf"
4038 if test "$no_cache" != 1; then
4039 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4042 if test "$wxUSE_TEXTBUFFER" = yes; then
4043 echo "$ac_t""yes" 1>&6
4045 echo "$ac_t""no" 1>&6
4049 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4050 echo "configure:4051: checking for --enable-textfile" >&5
4052 # Check whether --enable-textfile or --disable-textfile was given.
4053 if test "${enable_textfile+set}" = set; then
4054 enableval
="$enable_textfile"
4056 if test "$enableval" = yes; then
4057 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4059 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4064 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4065 if test "x$LINE" != x
; then
4066 eval "DEFAULT_$LINE"
4071 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4076 eval "$ac_cv_use_textfile"
4077 if test "$no_cache" != 1; then
4078 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4081 if test "$wxUSE_TEXTFILE" = yes; then
4082 echo "$ac_t""yes" 1>&6
4084 echo "$ac_t""no" 1>&6
4088 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4089 echo "configure:4090: checking for --enable-fontmap" >&5
4091 # Check whether --enable-fontmap or --disable-fontmap was given.
4092 if test "${enable_fontmap+set}" = set; then
4093 enableval
="$enable_fontmap"
4095 if test "$enableval" = yes; then
4096 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4098 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4103 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4104 if test "x$LINE" != x
; then
4105 eval "DEFAULT_$LINE"
4110 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4115 eval "$ac_cv_use_fontmap"
4116 if test "$no_cache" != 1; then
4117 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4120 if test "$wxUSE_FONTMAP" = yes; then
4121 echo "$ac_t""yes" 1>&6
4123 echo "$ac_t""no" 1>&6
4127 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4128 echo "configure:4129: checking for --enable-unicode" >&5
4130 # Check whether --enable-unicode or --disable-unicode was given.
4131 if test "${enable_unicode+set}" = set; then
4132 enableval
="$enable_unicode"
4134 if test "$enableval" = yes; then
4135 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4137 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4142 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4143 if test "x$LINE" != x
; then
4144 eval "DEFAULT_$LINE"
4149 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4154 eval "$ac_cv_use_unicode"
4155 if test "$no_cache" != 1; then
4156 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4159 if test "$wxUSE_UNICODE" = yes; then
4160 echo "$ac_t""yes" 1>&6
4162 echo "$ac_t""no" 1>&6
4166 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4167 echo "configure:4168: checking for --enable-mslu" >&5
4169 # Check whether --enable-mslu or --disable-mslu was given.
4170 if test "${enable_mslu+set}" = set; then
4171 enableval
="$enable_mslu"
4173 if test "$enableval" = yes; then
4174 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4176 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4181 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4182 if test "x$LINE" != x
; then
4183 eval "DEFAULT_$LINE"
4188 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4193 eval "$ac_cv_use_mslu"
4194 if test "$no_cache" != 1; then
4195 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4198 if test "$wxUSE_UNICODE_MSLU" = yes; then
4199 echo "$ac_t""yes" 1>&6
4201 echo "$ac_t""no" 1>&6
4205 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4206 echo "configure:4207: checking for --enable-wxprintfv" >&5
4208 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4209 if test "${enable_wxprintfv+set}" = set; then
4210 enableval
="$enable_wxprintfv"
4212 if test "$enableval" = yes; then
4213 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4215 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4220 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4221 if test "x$LINE" != x
; then
4222 eval "DEFAULT_$LINE"
4227 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4232 eval "$ac_cv_use_wxprintfv"
4233 if test "$no_cache" != 1; then
4234 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4237 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4238 echo "$ac_t""yes" 1>&6
4240 echo "$ac_t""no" 1>&6
4244 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4245 echo "configure:4246: checking for --enable-std_iostreams" >&5
4247 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4248 if test "${enable_std_iostreams+set}" = set; then
4249 enableval
="$enable_std_iostreams"
4251 if test "$enableval" = yes; then
4252 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4254 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4259 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4260 if test "x$LINE" != x
; then
4261 eval "DEFAULT_$LINE"
4266 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4271 eval "$ac_cv_use_std_iostreams"
4272 if test "$no_cache" != 1; then
4273 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4276 if test "$wxUSE_STD_IOSTREAM" = yes; then
4277 echo "$ac_t""yes" 1>&6
4279 echo "$ac_t""no" 1>&6
4283 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4284 echo "configure:4285: checking for --enable-filesystem" >&5
4286 # Check whether --enable-filesystem or --disable-filesystem was given.
4287 if test "${enable_filesystem+set}" = set; then
4288 enableval
="$enable_filesystem"
4290 if test "$enableval" = yes; then
4291 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4293 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4298 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4299 if test "x$LINE" != x
; then
4300 eval "DEFAULT_$LINE"
4305 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4310 eval "$ac_cv_use_filesystem"
4311 if test "$no_cache" != 1; then
4312 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4315 if test "$wxUSE_FILESYSTEM" = yes; then
4316 echo "$ac_t""yes" 1>&6
4318 echo "$ac_t""no" 1>&6
4322 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4323 echo "configure:4324: checking for --enable-fs_inet" >&5
4325 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4326 if test "${enable_fs_inet+set}" = set; then
4327 enableval
="$enable_fs_inet"
4329 if test "$enableval" = yes; then
4330 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4332 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4337 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4338 if test "x$LINE" != x
; then
4339 eval "DEFAULT_$LINE"
4344 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4349 eval "$ac_cv_use_fs_inet"
4350 if test "$no_cache" != 1; then
4351 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4354 if test "$wxUSE_FS_INET" = yes; then
4355 echo "$ac_t""yes" 1>&6
4357 echo "$ac_t""no" 1>&6
4361 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4362 echo "configure:4363: checking for --enable-fs_zip" >&5
4364 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4365 if test "${enable_fs_zip+set}" = set; then
4366 enableval
="$enable_fs_zip"
4368 if test "$enableval" = yes; then
4369 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4371 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4376 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4377 if test "x$LINE" != x
; then
4378 eval "DEFAULT_$LINE"
4383 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4388 eval "$ac_cv_use_fs_zip"
4389 if test "$no_cache" != 1; then
4390 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4393 if test "$wxUSE_FS_ZIP" = yes; then
4394 echo "$ac_t""yes" 1>&6
4396 echo "$ac_t""no" 1>&6
4400 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4401 echo "configure:4402: checking for --enable-zipstream" >&5
4403 # Check whether --enable-zipstream or --disable-zipstream was given.
4404 if test "${enable_zipstream+set}" = set; then
4405 enableval
="$enable_zipstream"
4407 if test "$enableval" = yes; then
4408 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4410 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4415 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4416 if test "x$LINE" != x
; then
4417 eval "DEFAULT_$LINE"
4422 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4427 eval "$ac_cv_use_zipstream"
4428 if test "$no_cache" != 1; then
4429 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4432 if test "$wxUSE_ZIPSTREAM" = yes; then
4433 echo "$ac_t""yes" 1>&6
4435 echo "$ac_t""no" 1>&6
4440 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4441 echo "configure:4442: checking for --enable-catch_segvs" >&5
4443 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4444 if test "${enable_catch_segvs+set}" = set; then
4445 enableval
="$enable_catch_segvs"
4447 if test "$enableval" = yes; then
4448 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4450 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4455 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4456 if test "x$LINE" != x
; then
4457 eval "DEFAULT_$LINE"
4462 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4467 eval "$ac_cv_use_catch_segvs"
4468 if test "$no_cache" != 1; then
4469 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4472 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4473 echo "$ac_t""yes" 1>&6
4475 echo "$ac_t""no" 1>&6
4479 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4480 echo "configure:4481: checking for --enable-snglinst" >&5
4482 # Check whether --enable-snglinst or --disable-snglinst was given.
4483 if test "${enable_snglinst+set}" = set; then
4484 enableval
="$enable_snglinst"
4486 if test "$enableval" = yes; then
4487 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4489 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4494 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4495 if test "x$LINE" != x
; then
4496 eval "DEFAULT_$LINE"
4501 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4506 eval "$ac_cv_use_snglinst"
4507 if test "$no_cache" != 1; then
4508 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4511 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4512 echo "$ac_t""yes" 1>&6
4514 echo "$ac_t""no" 1>&6
4519 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4520 echo "configure:4521: checking for --enable-mimetype" >&5
4522 # Check whether --enable-mimetype or --disable-mimetype was given.
4523 if test "${enable_mimetype+set}" = set; then
4524 enableval
="$enable_mimetype"
4526 if test "$enableval" = yes; then
4527 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4529 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4534 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4535 if test "x$LINE" != x
; then
4536 eval "DEFAULT_$LINE"
4541 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4546 eval "$ac_cv_use_mimetype"
4547 if test "$no_cache" != 1; then
4548 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4551 if test "$wxUSE_MIMETYPE" = yes; then
4552 echo "$ac_t""yes" 1>&6
4554 echo "$ac_t""no" 1>&6
4558 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4559 echo "configure:4560: checking for --enable-system_options" >&5
4561 # Check whether --enable-system_options or --disable-system_options was given.
4562 if test "${enable_system_options+set}" = set; then
4563 enableval
="$enable_system_options"
4565 if test "$enableval" = yes; then
4566 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4568 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4573 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4574 if test "x$LINE" != x
; then
4575 eval "DEFAULT_$LINE"
4580 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4585 eval "$ac_cv_use_system_options"
4586 if test "$no_cache" != 1; then
4587 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4590 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4591 echo "$ac_t""yes" 1>&6
4593 echo "$ac_t""no" 1>&6
4598 echo $ac_n "checking for --enable-url""... $ac_c" 1>&6
4599 echo "configure:4600: checking for --enable-url" >&5
4601 # Check whether --enable-url or --disable-url was given.
4602 if test "${enable_url+set}" = set; then
4603 enableval
="$enable_url"
4605 if test "$enableval" = yes; then
4606 ac_cv_use_url
='wxUSE_URL=yes'
4608 ac_cv_use_url
='wxUSE_URL=no'
4613 LINE
=`grep "wxUSE_URL" ${wx_arg_cache_file}`
4614 if test "x$LINE" != x
; then
4615 eval "DEFAULT_$LINE"
4620 ac_cv_use_url
='wxUSE_URL='$DEFAULT_wxUSE_URL
4625 eval "$ac_cv_use_url"
4626 if test "$no_cache" != 1; then
4627 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
4630 if test "$wxUSE_URL" = yes; then
4631 echo "$ac_t""yes" 1>&6
4633 echo "$ac_t""no" 1>&6
4637 echo $ac_n "checking for --enable-protocol""... $ac_c" 1>&6
4638 echo "configure:4639: checking for --enable-protocol" >&5
4640 # Check whether --enable-protocol or --disable-protocol was given.
4641 if test "${enable_protocol+set}" = set; then
4642 enableval
="$enable_protocol"
4644 if test "$enableval" = yes; then
4645 ac_cv_use_protocol
='wxUSE_PROTOCOL=yes'
4647 ac_cv_use_protocol
='wxUSE_PROTOCOL=no'
4652 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
4653 if test "x$LINE" != x
; then
4654 eval "DEFAULT_$LINE"
4659 ac_cv_use_protocol
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
4664 eval "$ac_cv_use_protocol"
4665 if test "$no_cache" != 1; then
4666 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
4669 if test "$wxUSE_PROTOCOL" = yes; then
4670 echo "$ac_t""yes" 1>&6
4672 echo "$ac_t""no" 1>&6
4676 echo $ac_n "checking for --enable-protocol_http""... $ac_c" 1>&6
4677 echo "configure:4678: checking for --enable-protocol_http" >&5
4679 # Check whether --enable-protocol_http or --disable-protocol_http was given.
4680 if test "${enable_protocol_http+set}" = set; then
4681 enableval
="$enable_protocol_http"
4683 if test "$enableval" = yes; then
4684 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=yes'
4686 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP=no'
4691 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
4692 if test "x$LINE" != x
; then
4693 eval "DEFAULT_$LINE"
4698 ac_cv_use_protocol_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
4703 eval "$ac_cv_use_protocol_http"
4704 if test "$no_cache" != 1; then
4705 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
4708 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
4709 echo "$ac_t""yes" 1>&6
4711 echo "$ac_t""no" 1>&6
4715 echo $ac_n "checking for --enable-protocol_ftp""... $ac_c" 1>&6
4716 echo "configure:4717: checking for --enable-protocol_ftp" >&5
4718 # Check whether --enable-protocol_ftp or --disable-protocol_ftp was given.
4719 if test "${enable_protocol_ftp+set}" = set; then
4720 enableval
="$enable_protocol_ftp"
4722 if test "$enableval" = yes; then
4723 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=yes'
4725 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP=no'
4730 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
4731 if test "x$LINE" != x
; then
4732 eval "DEFAULT_$LINE"
4737 ac_cv_use_protocol_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
4742 eval "$ac_cv_use_protocol_ftp"
4743 if test "$no_cache" != 1; then
4744 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
4747 if test "$wxUSE_PROTOCOL_FTP" = yes; then
4748 echo "$ac_t""yes" 1>&6
4750 echo "$ac_t""no" 1>&6
4754 echo $ac_n "checking for --enable-protocol_file""... $ac_c" 1>&6
4755 echo "configure:4756: checking for --enable-protocol_file" >&5
4757 # Check whether --enable-protocol_file or --disable-protocol_file was given.
4758 if test "${enable_protocol_file+set}" = set; then
4759 enableval
="$enable_protocol_file"
4761 if test "$enableval" = yes; then
4762 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=yes'
4764 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE=no'
4769 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
4770 if test "x$LINE" != x
; then
4771 eval "DEFAULT_$LINE"
4776 ac_cv_use_protocol_file
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
4781 eval "$ac_cv_use_protocol_file"
4782 if test "$no_cache" != 1; then
4783 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
4786 if test "$wxUSE_PROTOCOL_FILE" = yes; then
4787 echo "$ac_t""yes" 1>&6
4789 echo "$ac_t""no" 1>&6
4796 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4797 echo "configure:4798: checking for --enable-threads" >&5
4799 # Check whether --enable-threads or --disable-threads was given.
4800 if test "${enable_threads+set}" = set; then
4801 enableval
="$enable_threads"
4803 if test "$enableval" = yes; then
4804 ac_cv_use_threads
='wxUSE_THREADS=yes'
4806 ac_cv_use_threads
='wxUSE_THREADS=no'
4811 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4812 if test "x$LINE" != x
; then
4813 eval "DEFAULT_$LINE"
4818 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4823 eval "$ac_cv_use_threads"
4824 if test "$no_cache" != 1; then
4825 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4828 if test "$wxUSE_THREADS" = yes; then
4829 echo "$ac_t""yes" 1>&6
4831 echo "$ac_t""no" 1>&6
4835 if test "$wxUSE_GUI" = "yes"; then
4839 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4840 echo "configure:4841: checking for --enable-docview" >&5
4842 # Check whether --enable-docview or --disable-docview was given.
4843 if test "${enable_docview+set}" = set; then
4844 enableval
="$enable_docview"
4846 if test "$enableval" = yes; then
4847 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4849 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4854 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4855 if test "x$LINE" != x
; then
4856 eval "DEFAULT_$LINE"
4861 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4866 eval "$ac_cv_use_docview"
4867 if test "$no_cache" != 1; then
4868 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4871 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4872 echo "$ac_t""yes" 1>&6
4874 echo "$ac_t""no" 1>&6
4878 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4879 echo "configure:4880: checking for --enable-help" >&5
4881 # Check whether --enable-help or --disable-help was given.
4882 if test "${enable_help+set}" = set; then
4883 enableval
="$enable_help"
4885 if test "$enableval" = yes; then
4886 ac_cv_use_help
='wxUSE_HELP=yes'
4888 ac_cv_use_help
='wxUSE_HELP=no'
4893 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4894 if test "x$LINE" != x
; then
4895 eval "DEFAULT_$LINE"
4900 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4905 eval "$ac_cv_use_help"
4906 if test "$no_cache" != 1; then
4907 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4910 if test "$wxUSE_HELP" = yes; then
4911 echo "$ac_t""yes" 1>&6
4913 echo "$ac_t""no" 1>&6
4917 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4918 echo "configure:4919: checking for --enable-mshtmlhelp" >&5
4920 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4921 if test "${enable_mshtmlhelp+set}" = set; then
4922 enableval
="$enable_mshtmlhelp"
4924 if test "$enableval" = yes; then
4925 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4927 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4932 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4933 if test "x$LINE" != x
; then
4934 eval "DEFAULT_$LINE"
4939 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4944 eval "$ac_cv_use_mshtmlhelp"
4945 if test "$no_cache" != 1; then
4946 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4949 if test "$wxUSE_MS_HTML_HELP" = yes; then
4950 echo "$ac_t""yes" 1>&6
4952 echo "$ac_t""no" 1>&6
4956 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4957 echo "configure:4958: checking for --enable-html" >&5
4959 # Check whether --enable-html or --disable-html was given.
4960 if test "${enable_html+set}" = set; then
4961 enableval
="$enable_html"
4963 if test "$enableval" = yes; then
4964 ac_cv_use_html
='wxUSE_HTML=yes'
4966 ac_cv_use_html
='wxUSE_HTML=no'
4971 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4972 if test "x$LINE" != x
; then
4973 eval "DEFAULT_$LINE"
4978 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4983 eval "$ac_cv_use_html"
4984 if test "$no_cache" != 1; then
4985 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4988 if test "$wxUSE_HTML" = yes; then
4989 echo "$ac_t""yes" 1>&6
4991 echo "$ac_t""no" 1>&6
4995 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4996 echo "configure:4997: checking for --enable-htmlhelp" >&5
4998 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4999 if test "${enable_htmlhelp+set}" = set; then
5000 enableval
="$enable_htmlhelp"
5002 if test "$enableval" = yes; then
5003 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
5005 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
5010 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
5011 if test "x$LINE" != x
; then
5012 eval "DEFAULT_$LINE"
5017 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
5022 eval "$ac_cv_use_htmlhelp"
5023 if test "$no_cache" != 1; then
5024 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
5027 if test "$wxUSE_WXHTML_HELP" = yes; then
5028 echo "$ac_t""yes" 1>&6
5030 echo "$ac_t""no" 1>&6
5034 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
5035 echo "configure:5036: checking for --enable-constraints" >&5
5037 # Check whether --enable-constraints or --disable-constraints was given.
5038 if test "${enable_constraints+set}" = set; then
5039 enableval
="$enable_constraints"
5041 if test "$enableval" = yes; then
5042 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
5044 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
5049 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
5050 if test "x$LINE" != x
; then
5051 eval "DEFAULT_$LINE"
5056 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5061 eval "$ac_cv_use_constraints"
5062 if test "$no_cache" != 1; then
5063 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
5066 if test "$wxUSE_CONSTRAINTS" = yes; then
5067 echo "$ac_t""yes" 1>&6
5069 echo "$ac_t""no" 1>&6
5073 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
5074 echo "configure:5075: checking for --enable-printarch" >&5
5076 # Check whether --enable-printarch or --disable-printarch was given.
5077 if test "${enable_printarch+set}" = set; then
5078 enableval
="$enable_printarch"
5080 if test "$enableval" = yes; then
5081 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
5083 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
5088 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
5089 if test "x$LINE" != x
; then
5090 eval "DEFAULT_$LINE"
5095 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
5100 eval "$ac_cv_use_printarch"
5101 if test "$no_cache" != 1; then
5102 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
5105 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
5106 echo "$ac_t""yes" 1>&6
5108 echo "$ac_t""no" 1>&6
5112 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
5113 echo "configure:5114: checking for --enable-mdi" >&5
5115 # Check whether --enable-mdi or --disable-mdi was given.
5116 if test "${enable_mdi+set}" = set; then
5117 enableval
="$enable_mdi"
5119 if test "$enableval" = yes; then
5120 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
5122 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
5127 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
5128 if test "x$LINE" != x
; then
5129 eval "DEFAULT_$LINE"
5134 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5139 eval "$ac_cv_use_mdi"
5140 if test "$no_cache" != 1; then
5141 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
5144 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
5145 echo "$ac_t""yes" 1>&6
5147 echo "$ac_t""no" 1>&6
5151 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
5152 echo "configure:5153: checking for --enable-loggui" >&5
5154 # Check whether --enable-loggui or --disable-loggui was given.
5155 if test "${enable_loggui+set}" = set; then
5156 enableval
="$enable_loggui"
5158 if test "$enableval" = yes; then
5159 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
5161 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
5166 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
5167 if test "x$LINE" != x
; then
5168 eval "DEFAULT_$LINE"
5173 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
5178 eval "$ac_cv_use_loggui"
5179 if test "$no_cache" != 1; then
5180 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
5183 if test "$wxUSE_LOGGUI" = yes; then
5184 echo "$ac_t""yes" 1>&6
5186 echo "$ac_t""no" 1>&6
5190 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
5191 echo "configure:5192: checking for --enable-logwin" >&5
5193 # Check whether --enable-logwin or --disable-logwin was given.
5194 if test "${enable_logwin+set}" = set; then
5195 enableval
="$enable_logwin"
5197 if test "$enableval" = yes; then
5198 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
5200 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
5205 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
5206 if test "x$LINE" != x
; then
5207 eval "DEFAULT_$LINE"
5212 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5217 eval "$ac_cv_use_logwin"
5218 if test "$no_cache" != 1; then
5219 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5222 if test "$wxUSE_LOGWINDOW" = yes; then
5223 echo "$ac_t""yes" 1>&6
5225 echo "$ac_t""no" 1>&6
5229 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5230 echo "configure:5231: checking for --enable-logdialog" >&5
5232 # Check whether --enable-logdialog or --disable-logdialog was given.
5233 if test "${enable_logdialog+set}" = set; then
5234 enableval
="$enable_logdialog"
5236 if test "$enableval" = yes; then
5237 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5239 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5244 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5245 if test "x$LINE" != x
; then
5246 eval "DEFAULT_$LINE"
5251 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5256 eval "$ac_cv_use_logdialog"
5257 if test "$no_cache" != 1; then
5258 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5261 if test "$wxUSE_LOGDIALOG" = yes; then
5262 echo "$ac_t""yes" 1>&6
5264 echo "$ac_t""no" 1>&6
5269 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5270 echo "configure:5271: checking for --enable-postscript" >&5
5272 # Check whether --enable-postscript or --disable-postscript was given.
5273 if test "${enable_postscript+set}" = set; then
5274 enableval
="$enable_postscript"
5276 if test "$enableval" = yes; then
5277 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5279 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5284 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5285 if test "x$LINE" != x
; then
5286 eval "DEFAULT_$LINE"
5291 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5296 eval "$ac_cv_use_postscript"
5297 if test "$no_cache" != 1; then
5298 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5301 if test "$wxUSE_POSTSCRIPT" = yes; then
5302 echo "$ac_t""yes" 1>&6
5304 echo "$ac_t""no" 1>&6
5311 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5312 echo "configure:5313: checking for --enable-prologio" >&5
5314 # Check whether --enable-prologio or --disable-prologio was given.
5315 if test "${enable_prologio+set}" = set; then
5316 enableval
="$enable_prologio"
5318 if test "$enableval" = yes; then
5319 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5321 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5326 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5327 if test "x$LINE" != x
; then
5328 eval "DEFAULT_$LINE"
5333 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5338 eval "$ac_cv_use_prologio"
5339 if test "$no_cache" != 1; then
5340 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5343 if test "$wxUSE_PROLOGIO" = yes; then
5344 echo "$ac_t""yes" 1>&6
5346 echo "$ac_t""no" 1>&6
5350 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5351 echo "configure:5352: checking for --enable-resources" >&5
5353 # Check whether --enable-resources or --disable-resources was given.
5354 if test "${enable_resources+set}" = set; then
5355 enableval
="$enable_resources"
5357 if test "$enableval" = yes; then
5358 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5360 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5365 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5366 if test "x$LINE" != x
; then
5367 eval "DEFAULT_$LINE"
5372 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5377 eval "$ac_cv_use_resources"
5378 if test "$no_cache" != 1; then
5379 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5382 if test "$wxUSE_RESOURCES" = yes; then
5383 echo "$ac_t""yes" 1>&6
5385 echo "$ac_t""no" 1>&6
5390 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5391 echo "configure:5392: checking for --enable-xresources" >&5
5393 # Check whether --enable-xresources or --disable-xresources was given.
5394 if test "${enable_xresources+set}" = set; then
5395 enableval
="$enable_xresources"
5397 if test "$enableval" = yes; then
5398 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5400 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5405 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5406 if test "x$LINE" != x
; then
5407 eval "DEFAULT_$LINE"
5412 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5417 eval "$ac_cv_use_xresources"
5418 if test "$no_cache" != 1; then
5419 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5422 if test "$wxUSE_X_RESOURCES" = yes; then
5423 echo "$ac_t""yes" 1>&6
5425 echo "$ac_t""no" 1>&6
5431 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5432 echo "configure:5433: checking for --enable-clipboard" >&5
5434 # Check whether --enable-clipboard or --disable-clipboard was given.
5435 if test "${enable_clipboard+set}" = set; then
5436 enableval
="$enable_clipboard"
5438 if test "$enableval" = yes; then
5439 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5441 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5446 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5447 if test "x$LINE" != x
; then
5448 eval "DEFAULT_$LINE"
5453 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5458 eval "$ac_cv_use_clipboard"
5459 if test "$no_cache" != 1; then
5460 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5463 if test "$wxUSE_CLIPBOARD" = yes; then
5464 echo "$ac_t""yes" 1>&6
5466 echo "$ac_t""no" 1>&6
5470 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5471 echo "configure:5472: checking for --enable-dnd" >&5
5473 # Check whether --enable-dnd or --disable-dnd was given.
5474 if test "${enable_dnd+set}" = set; then
5475 enableval
="$enable_dnd"
5477 if test "$enableval" = yes; then
5478 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5480 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5485 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5486 if test "x$LINE" != x
; then
5487 eval "DEFAULT_$LINE"
5492 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5497 eval "$ac_cv_use_dnd"
5498 if test "$no_cache" != 1; then
5499 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5502 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5503 echo "$ac_t""yes" 1>&6
5505 echo "$ac_t""no" 1>&6
5509 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5510 echo "configure:5511: checking for --enable-metafile" >&5
5512 # Check whether --enable-metafile or --disable-metafile was given.
5513 if test "${enable_metafile+set}" = set; then
5514 enableval
="$enable_metafile"
5516 if test "$enableval" = yes; then
5517 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5519 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5524 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5525 if test "x$LINE" != x
; then
5526 eval "DEFAULT_$LINE"
5531 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5536 eval "$ac_cv_use_metafile"
5537 if test "$no_cache" != 1; then
5538 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5541 if test "$wxUSE_METAFILE" = yes; then
5542 echo "$ac_t""yes" 1>&6
5544 echo "$ac_t""no" 1>&6
5549 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5550 echo "configure:5551: checking for --enable-treelayout" >&5
5552 # Check whether --enable-treelayout or --disable-treelayout was given.
5553 if test "${enable_treelayout+set}" = set; then
5554 enableval
="$enable_treelayout"
5556 if test "$enableval" = yes; then
5557 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5559 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5564 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5565 if test "x$LINE" != x
; then
5566 eval "DEFAULT_$LINE"
5571 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5576 eval "$ac_cv_use_treelayout"
5577 if test "$no_cache" != 1; then
5578 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5581 if test "$wxUSE_TREELAYOUT" = yes; then
5582 echo "$ac_t""yes" 1>&6
5584 echo "$ac_t""no" 1>&6
5590 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5591 echo "configure:5592: checking for --enable-controls" >&5
5593 # Check whether --enable-controls or --disable-controls was given.
5594 if test "${enable_controls+set}" = set; then
5595 enableval
="$enable_controls"
5597 if test "$enableval" = yes; then
5598 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5600 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5605 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5606 if test "x$LINE" != x
; then
5607 eval "DEFAULT_$LINE"
5612 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5617 eval "$ac_cv_use_controls"
5618 if test "$no_cache" != 1; then
5619 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5622 if test "$wxUSE_CONTROLS" = yes; then
5623 echo "$ac_t""yes" 1>&6
5625 echo "$ac_t""no" 1>&6
5629 if test "$wxUSE_CONTROLS" = "yes"; then
5630 DEFAULT_wxUSE_ACCEL
=yes
5631 DEFAULT_wxUSE_BMPBUTTON
=yes
5632 DEFAULT_wxUSE_BUTTON
=yes
5633 DEFAULT_wxUSE_CALCTRL
=no
5634 DEFAULT_wxUSE_CARET
=yes
5635 DEFAULT_wxUSE_COMBOBOX
=yes
5636 DEFAULT_wxUSE_CHECKBOX
=yes
5637 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5638 DEFAULT_wxUSE_CHOICE
=yes
5639 DEFAULT_wxUSE_GAUGE
=yes
5640 DEFAULT_wxUSE_GRID
=yes
5641 DEFAULT_wxUSE_NEW_GRID
=yes
5642 DEFAULT_wxUSE_IMAGLIST
=yes
5643 DEFAULT_wxUSE_LISTBOX
=yes
5644 DEFAULT_wxUSE_LISTCTRL
=yes
5645 DEFAULT_wxUSE_NOTEBOOK
=yes
5646 DEFAULT_wxUSE_PROPSHEET
=yes
5647 DEFAULT_wxUSE_RADIOBOX
=yes
5648 DEFAULT_wxUSE_RADIOBTN
=yes
5649 DEFAULT_wxUSE_SASH
=yes
5650 DEFAULT_wxUSE_SCROLLBAR
=yes
5651 DEFAULT_wxUSE_SLIDER
=yes
5652 DEFAULT_wxUSE_SPINBTN
=yes
5653 DEFAULT_wxUSE_SPINCTRL
=yes
5654 DEFAULT_wxUSE_SPLITTER
=yes
5655 DEFAULT_wxUSE_STATBMP
=yes
5656 DEFAULT_wxUSE_STATBOX
=yes
5657 DEFAULT_wxUSE_STATLINE
=yes
5658 DEFAULT_wxUSE_STATUSBAR
=yes
5659 DEFAULT_wxUSE_TAB_DIALOG
=yes
5660 DEFAULT_wxUSE_TOGGLEBTN
=yes
5661 DEFAULT_wxUSE_TOOLBAR
=yes
5662 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5663 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5664 DEFAULT_wxUSE_TOOLTIPS
=yes
5665 DEFAULT_wxUSE_TREECTRL
=yes
5666 DEFAULT_wxUSE_POPUPWIN
=yes
5667 DEFAULT_wxUSE_TIPWINDOW
=yes
5668 elif test "$wxUSE_CONTROLS" = "no"; then
5669 DEFAULT_wxUSE_ACCEL
=no
5670 DEFAULT_wxUSE_BMPBUTTON
=no
5671 DEFAULT_wxUSE_BUTTON
=no
5672 DEFAULT_wxUSE_CALCTRL
=no
5673 DEFAULT_wxUSE_CARET
=no
5674 DEFAULT_wxUSE_COMBOBOX
=no
5675 DEFAULT_wxUSE_CHECKBOX
=no
5676 DEFAULT_wxUSE_CHECKLISTBOX
=no
5677 DEFAULT_wxUSE_CHOICE
=no
5678 DEFAULT_wxUSE_GAUGE
=no
5679 DEFAULT_wxUSE_GRID
=no
5680 DEFAULT_wxUSE_NEW_GRID
=no
5681 DEFAULT_wxUSE_IMAGLIST
=no
5682 DEFAULT_wxUSE_LISTBOX
=no
5683 DEFAULT_wxUSE_LISTCTRL
=no
5684 DEFAULT_wxUSE_NOTEBOOK
=no
5685 DEFAULT_wxUSE_PROPSHEET
=no
5686 DEFAULT_wxUSE_RADIOBOX
=no
5687 DEFAULT_wxUSE_RADIOBTN
=no
5688 DEFAULT_wxUSE_SASH
=no
5689 DEFAULT_wxUSE_SCROLLBAR
=no
5690 DEFAULT_wxUSE_SLIDER
=no
5691 DEFAULT_wxUSE_SPINBTN
=no
5692 DEFAULT_wxUSE_SPINCTRL
=no
5693 DEFAULT_wxUSE_SPLITTER
=no
5694 DEFAULT_wxUSE_STATBMP
=no
5695 DEFAULT_wxUSE_STATBOX
=no
5696 DEFAULT_wxUSE_STATLINE
=no
5697 DEFAULT_wxUSE_STATUSBAR
=no
5698 DEFAULT_wxUSE_TAB_DIALOG
=no
5699 DEFAULT_wxUSE_TOGGLEBTN
=no
5700 DEFAULT_wxUSE_TOOLBAR
=no
5701 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5702 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5703 DEFAULT_wxUSE_TOOLTIPS
=no
5704 DEFAULT_wxUSE_TREECTRL
=no
5705 DEFAULT_wxUSE_POPUPWIN
=no
5706 DEFAULT_wxUSE_TIPWINDOW
=no
5710 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5711 echo "configure:5712: checking for --enable-accel" >&5
5713 # Check whether --enable-accel or --disable-accel was given.
5714 if test "${enable_accel+set}" = set; then
5715 enableval
="$enable_accel"
5717 if test "$enableval" = yes; then
5718 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5720 ac_cv_use_accel
='wxUSE_ACCEL=no'
5725 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5726 if test "x$LINE" != x
; then
5727 eval "DEFAULT_$LINE"
5732 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5737 eval "$ac_cv_use_accel"
5738 if test "$no_cache" != 1; then
5739 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5742 if test "$wxUSE_ACCEL" = yes; then
5743 echo "$ac_t""yes" 1>&6
5745 echo "$ac_t""no" 1>&6
5749 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5750 echo "configure:5751: checking for --enable-button" >&5
5752 # Check whether --enable-button or --disable-button was given.
5753 if test "${enable_button+set}" = set; then
5754 enableval
="$enable_button"
5756 if test "$enableval" = yes; then
5757 ac_cv_use_button
='wxUSE_BUTTON=yes'
5759 ac_cv_use_button
='wxUSE_BUTTON=no'
5764 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5765 if test "x$LINE" != x
; then
5766 eval "DEFAULT_$LINE"
5771 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5776 eval "$ac_cv_use_button"
5777 if test "$no_cache" != 1; then
5778 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5781 if test "$wxUSE_BUTTON" = yes; then
5782 echo "$ac_t""yes" 1>&6
5784 echo "$ac_t""no" 1>&6
5788 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5789 echo "configure:5790: checking for --enable-bmpbutton" >&5
5791 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5792 if test "${enable_bmpbutton+set}" = set; then
5793 enableval
="$enable_bmpbutton"
5795 if test "$enableval" = yes; then
5796 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5798 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5803 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5804 if test "x$LINE" != x
; then
5805 eval "DEFAULT_$LINE"
5810 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5815 eval "$ac_cv_use_bmpbutton"
5816 if test "$no_cache" != 1; then
5817 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5820 if test "$wxUSE_BMPBUTTON" = yes; then
5821 echo "$ac_t""yes" 1>&6
5823 echo "$ac_t""no" 1>&6
5827 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5828 echo "configure:5829: checking for --enable-calendar" >&5
5830 # Check whether --enable-calendar or --disable-calendar was given.
5831 if test "${enable_calendar+set}" = set; then
5832 enableval
="$enable_calendar"
5834 if test "$enableval" = yes; then
5835 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5837 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5842 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5843 if test "x$LINE" != x
; then
5844 eval "DEFAULT_$LINE"
5849 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5854 eval "$ac_cv_use_calendar"
5855 if test "$no_cache" != 1; then
5856 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5859 if test "$wxUSE_CALCTRL" = yes; then
5860 echo "$ac_t""yes" 1>&6
5862 echo "$ac_t""no" 1>&6
5866 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5867 echo "configure:5868: checking for --enable-caret" >&5
5869 # Check whether --enable-caret or --disable-caret was given.
5870 if test "${enable_caret+set}" = set; then
5871 enableval
="$enable_caret"
5873 if test "$enableval" = yes; then
5874 ac_cv_use_caret
='wxUSE_CARET=yes'
5876 ac_cv_use_caret
='wxUSE_CARET=no'
5881 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5882 if test "x$LINE" != x
; then
5883 eval "DEFAULT_$LINE"
5888 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5893 eval "$ac_cv_use_caret"
5894 if test "$no_cache" != 1; then
5895 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5898 if test "$wxUSE_CARET" = yes; then
5899 echo "$ac_t""yes" 1>&6
5901 echo "$ac_t""no" 1>&6
5905 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5906 echo "configure:5907: checking for --enable-checkbox" >&5
5908 # Check whether --enable-checkbox or --disable-checkbox was given.
5909 if test "${enable_checkbox+set}" = set; then
5910 enableval
="$enable_checkbox"
5912 if test "$enableval" = yes; then
5913 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5915 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5920 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5921 if test "x$LINE" != x
; then
5922 eval "DEFAULT_$LINE"
5927 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5932 eval "$ac_cv_use_checkbox"
5933 if test "$no_cache" != 1; then
5934 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5937 if test "$wxUSE_CHECKBOX" = yes; then
5938 echo "$ac_t""yes" 1>&6
5940 echo "$ac_t""no" 1>&6
5944 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5945 echo "configure:5946: checking for --enable-checklst" >&5
5947 # Check whether --enable-checklst or --disable-checklst was given.
5948 if test "${enable_checklst+set}" = set; then
5949 enableval
="$enable_checklst"
5951 if test "$enableval" = yes; then
5952 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5954 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5959 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5960 if test "x$LINE" != x
; then
5961 eval "DEFAULT_$LINE"
5966 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5971 eval "$ac_cv_use_checklst"
5972 if test "$no_cache" != 1; then
5973 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5976 if test "$wxUSE_CHECKLST" = yes; then
5977 echo "$ac_t""yes" 1>&6
5979 echo "$ac_t""no" 1>&6
5983 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5984 echo "configure:5985: checking for --enable-choice" >&5
5986 # Check whether --enable-choice or --disable-choice was given.
5987 if test "${enable_choice+set}" = set; then
5988 enableval
="$enable_choice"
5990 if test "$enableval" = yes; then
5991 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5993 ac_cv_use_choice
='wxUSE_CHOICE=no'
5998 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5999 if test "x$LINE" != x
; then
6000 eval "DEFAULT_$LINE"
6005 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
6010 eval "$ac_cv_use_choice"
6011 if test "$no_cache" != 1; then
6012 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
6015 if test "$wxUSE_CHOICE" = yes; then
6016 echo "$ac_t""yes" 1>&6
6018 echo "$ac_t""no" 1>&6
6022 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
6023 echo "configure:6024: checking for --enable-combobox" >&5
6025 # Check whether --enable-combobox or --disable-combobox was given.
6026 if test "${enable_combobox+set}" = set; then
6027 enableval
="$enable_combobox"
6029 if test "$enableval" = yes; then
6030 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
6032 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
6037 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
6038 if test "x$LINE" != x
; then
6039 eval "DEFAULT_$LINE"
6044 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
6049 eval "$ac_cv_use_combobox"
6050 if test "$no_cache" != 1; then
6051 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
6054 if test "$wxUSE_COMBOBOX" = yes; then
6055 echo "$ac_t""yes" 1>&6
6057 echo "$ac_t""no" 1>&6
6061 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
6062 echo "configure:6063: checking for --enable-gauge" >&5
6064 # Check whether --enable-gauge or --disable-gauge was given.
6065 if test "${enable_gauge+set}" = set; then
6066 enableval
="$enable_gauge"
6068 if test "$enableval" = yes; then
6069 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
6071 ac_cv_use_gauge
='wxUSE_GAUGE=no'
6076 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
6077 if test "x$LINE" != x
; then
6078 eval "DEFAULT_$LINE"
6083 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
6088 eval "$ac_cv_use_gauge"
6089 if test "$no_cache" != 1; then
6090 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
6093 if test "$wxUSE_GAUGE" = yes; then
6094 echo "$ac_t""yes" 1>&6
6096 echo "$ac_t""no" 1>&6
6100 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
6101 echo "configure:6102: checking for --enable-grid" >&5
6103 # Check whether --enable-grid or --disable-grid was given.
6104 if test "${enable_grid+set}" = set; then
6105 enableval
="$enable_grid"
6107 if test "$enableval" = yes; then
6108 ac_cv_use_grid
='wxUSE_GRID=yes'
6110 ac_cv_use_grid
='wxUSE_GRID=no'
6115 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
6116 if test "x$LINE" != x
; then
6117 eval "DEFAULT_$LINE"
6122 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
6127 eval "$ac_cv_use_grid"
6128 if test "$no_cache" != 1; then
6129 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
6132 if test "$wxUSE_GRID" = yes; then
6133 echo "$ac_t""yes" 1>&6
6135 echo "$ac_t""no" 1>&6
6139 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
6140 echo "configure:6141: checking for --enable-newgrid" >&5
6142 # Check whether --enable-newgrid or --disable-newgrid was given.
6143 if test "${enable_newgrid+set}" = set; then
6144 enableval
="$enable_newgrid"
6146 if test "$enableval" = yes; then
6147 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
6149 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
6154 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
6155 if test "x$LINE" != x
; then
6156 eval "DEFAULT_$LINE"
6161 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
6166 eval "$ac_cv_use_newgrid"
6167 if test "$no_cache" != 1; then
6168 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
6171 if test "$wxUSE_NEW_GRID" = yes; then
6172 echo "$ac_t""yes" 1>&6
6174 echo "$ac_t""no" 1>&6
6178 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
6179 echo "configure:6180: checking for --enable-imaglist" >&5
6181 # Check whether --enable-imaglist or --disable-imaglist was given.
6182 if test "${enable_imaglist+set}" = set; then
6183 enableval
="$enable_imaglist"
6185 if test "$enableval" = yes; then
6186 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
6188 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
6193 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
6194 if test "x$LINE" != x
; then
6195 eval "DEFAULT_$LINE"
6200 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
6205 eval "$ac_cv_use_imaglist"
6206 if test "$no_cache" != 1; then
6207 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
6210 if test "$wxUSE_IMAGLIST" = yes; then
6211 echo "$ac_t""yes" 1>&6
6213 echo "$ac_t""no" 1>&6
6217 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6218 echo "configure:6219: checking for --enable-listbox" >&5
6220 # Check whether --enable-listbox or --disable-listbox was given.
6221 if test "${enable_listbox+set}" = set; then
6222 enableval
="$enable_listbox"
6224 if test "$enableval" = yes; then
6225 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6227 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6232 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6233 if test "x$LINE" != x
; then
6234 eval "DEFAULT_$LINE"
6239 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6244 eval "$ac_cv_use_listbox"
6245 if test "$no_cache" != 1; then
6246 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6249 if test "$wxUSE_LISTBOX" = yes; then
6250 echo "$ac_t""yes" 1>&6
6252 echo "$ac_t""no" 1>&6
6256 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6257 echo "configure:6258: checking for --enable-listctrl" >&5
6259 # Check whether --enable-listctrl or --disable-listctrl was given.
6260 if test "${enable_listctrl+set}" = set; then
6261 enableval
="$enable_listctrl"
6263 if test "$enableval" = yes; then
6264 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6266 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6271 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6272 if test "x$LINE" != x
; then
6273 eval "DEFAULT_$LINE"
6278 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6283 eval "$ac_cv_use_listctrl"
6284 if test "$no_cache" != 1; then
6285 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6288 if test "$wxUSE_LISTCTRL" = yes; then
6289 echo "$ac_t""yes" 1>&6
6291 echo "$ac_t""no" 1>&6
6295 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6296 echo "configure:6297: checking for --enable-notebook" >&5
6298 # Check whether --enable-notebook or --disable-notebook was given.
6299 if test "${enable_notebook+set}" = set; then
6300 enableval
="$enable_notebook"
6302 if test "$enableval" = yes; then
6303 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6305 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6310 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6311 if test "x$LINE" != x
; then
6312 eval "DEFAULT_$LINE"
6317 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6322 eval "$ac_cv_use_notebook"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6327 if test "$wxUSE_NOTEBOOK" = yes; then
6328 echo "$ac_t""yes" 1>&6
6330 echo "$ac_t""no" 1>&6
6334 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6335 echo "configure:6336: checking for --enable-propsheet" >&5
6337 # Check whether --enable-propsheet or --disable-propsheet was given.
6338 if test "${enable_propsheet+set}" = set; then
6339 enableval
="$enable_propsheet"
6341 if test "$enableval" = yes; then
6342 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6344 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6349 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x
; then
6351 eval "DEFAULT_$LINE"
6356 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6361 eval "$ac_cv_use_propsheet"
6362 if test "$no_cache" != 1; then
6363 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6366 if test "$wxUSE_PROPSHEET" = yes; then
6367 echo "$ac_t""yes" 1>&6
6369 echo "$ac_t""no" 1>&6
6373 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6374 echo "configure:6375: checking for --enable-radiobox" >&5
6376 # Check whether --enable-radiobox or --disable-radiobox was given.
6377 if test "${enable_radiobox+set}" = set; then
6378 enableval
="$enable_radiobox"
6380 if test "$enableval" = yes; then
6381 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6383 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6388 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6389 if test "x$LINE" != x
; then
6390 eval "DEFAULT_$LINE"
6395 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6400 eval "$ac_cv_use_radiobox"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6405 if test "$wxUSE_RADIOBOX" = yes; then
6406 echo "$ac_t""yes" 1>&6
6408 echo "$ac_t""no" 1>&6
6412 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6413 echo "configure:6414: checking for --enable-radiobtn" >&5
6415 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6416 if test "${enable_radiobtn+set}" = set; then
6417 enableval
="$enable_radiobtn"
6419 if test "$enableval" = yes; then
6420 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6422 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6427 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6428 if test "x$LINE" != x
; then
6429 eval "DEFAULT_$LINE"
6434 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6439 eval "$ac_cv_use_radiobtn"
6440 if test "$no_cache" != 1; then
6441 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6444 if test "$wxUSE_RADIOBTN" = yes; then
6445 echo "$ac_t""yes" 1>&6
6447 echo "$ac_t""no" 1>&6
6451 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6452 echo "configure:6453: checking for --enable-sash" >&5
6454 # Check whether --enable-sash or --disable-sash was given.
6455 if test "${enable_sash+set}" = set; then
6456 enableval
="$enable_sash"
6458 if test "$enableval" = yes; then
6459 ac_cv_use_sash
='wxUSE_SASH=yes'
6461 ac_cv_use_sash
='wxUSE_SASH=no'
6466 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6467 if test "x$LINE" != x
; then
6468 eval "DEFAULT_$LINE"
6473 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6478 eval "$ac_cv_use_sash"
6479 if test "$no_cache" != 1; then
6480 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6483 if test "$wxUSE_SASH" = yes; then
6484 echo "$ac_t""yes" 1>&6
6486 echo "$ac_t""no" 1>&6
6490 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6491 echo "configure:6492: checking for --enable-scrollbar" >&5
6493 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6494 if test "${enable_scrollbar+set}" = set; then
6495 enableval
="$enable_scrollbar"
6497 if test "$enableval" = yes; then
6498 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6500 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6505 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6506 if test "x$LINE" != x
; then
6507 eval "DEFAULT_$LINE"
6512 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6517 eval "$ac_cv_use_scrollbar"
6518 if test "$no_cache" != 1; then
6519 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6522 if test "$wxUSE_SCROLLBAR" = yes; then
6523 echo "$ac_t""yes" 1>&6
6525 echo "$ac_t""no" 1>&6
6529 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6530 echo "configure:6531: checking for --enable-slider" >&5
6532 # Check whether --enable-slider or --disable-slider was given.
6533 if test "${enable_slider+set}" = set; then
6534 enableval
="$enable_slider"
6536 if test "$enableval" = yes; then
6537 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6539 ac_cv_use_slider
='wxUSE_SLIDER=no'
6544 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6545 if test "x$LINE" != x
; then
6546 eval "DEFAULT_$LINE"
6551 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6556 eval "$ac_cv_use_slider"
6557 if test "$no_cache" != 1; then
6558 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6561 if test "$wxUSE_SLIDER" = yes; then
6562 echo "$ac_t""yes" 1>&6
6564 echo "$ac_t""no" 1>&6
6568 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6569 echo "configure:6570: checking for --enable-spinbtn" >&5
6571 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6572 if test "${enable_spinbtn+set}" = set; then
6573 enableval
="$enable_spinbtn"
6575 if test "$enableval" = yes; then
6576 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6578 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6583 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6584 if test "x$LINE" != x
; then
6585 eval "DEFAULT_$LINE"
6590 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6595 eval "$ac_cv_use_spinbtn"
6596 if test "$no_cache" != 1; then
6597 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6600 if test "$wxUSE_SPINBTN" = yes; then
6601 echo "$ac_t""yes" 1>&6
6603 echo "$ac_t""no" 1>&6
6607 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6608 echo "configure:6609: checking for --enable-spinctrl" >&5
6610 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6611 if test "${enable_spinctrl+set}" = set; then
6612 enableval
="$enable_spinctrl"
6614 if test "$enableval" = yes; then
6615 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6617 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6622 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6623 if test "x$LINE" != x
; then
6624 eval "DEFAULT_$LINE"
6629 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6634 eval "$ac_cv_use_spinctrl"
6635 if test "$no_cache" != 1; then
6636 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6639 if test "$wxUSE_SPINCTRL" = yes; then
6640 echo "$ac_t""yes" 1>&6
6642 echo "$ac_t""no" 1>&6
6646 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6647 echo "configure:6648: checking for --enable-splitter" >&5
6649 # Check whether --enable-splitter or --disable-splitter was given.
6650 if test "${enable_splitter+set}" = set; then
6651 enableval
="$enable_splitter"
6653 if test "$enableval" = yes; then
6654 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6656 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6661 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6662 if test "x$LINE" != x
; then
6663 eval "DEFAULT_$LINE"
6668 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6673 eval "$ac_cv_use_splitter"
6674 if test "$no_cache" != 1; then
6675 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6678 if test "$wxUSE_SPLITTER" = yes; then
6679 echo "$ac_t""yes" 1>&6
6681 echo "$ac_t""no" 1>&6
6685 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6686 echo "configure:6687: checking for --enable-statbmp" >&5
6688 # Check whether --enable-statbmp or --disable-statbmp was given.
6689 if test "${enable_statbmp+set}" = set; then
6690 enableval
="$enable_statbmp"
6692 if test "$enableval" = yes; then
6693 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6695 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6700 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6701 if test "x$LINE" != x
; then
6702 eval "DEFAULT_$LINE"
6707 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6712 eval "$ac_cv_use_statbmp"
6713 if test "$no_cache" != 1; then
6714 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6717 if test "$wxUSE_STATBMP" = yes; then
6718 echo "$ac_t""yes" 1>&6
6720 echo "$ac_t""no" 1>&6
6724 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6725 echo "configure:6726: checking for --enable-statbox" >&5
6727 # Check whether --enable-statbox or --disable-statbox was given.
6728 if test "${enable_statbox+set}" = set; then
6729 enableval
="$enable_statbox"
6731 if test "$enableval" = yes; then
6732 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6734 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6739 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6740 if test "x$LINE" != x
; then
6741 eval "DEFAULT_$LINE"
6746 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6751 eval "$ac_cv_use_statbox"
6752 if test "$no_cache" != 1; then
6753 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6756 if test "$wxUSE_STATBOX" = yes; then
6757 echo "$ac_t""yes" 1>&6
6759 echo "$ac_t""no" 1>&6
6763 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6764 echo "configure:6765: checking for --enable-statline" >&5
6766 # Check whether --enable-statline or --disable-statline was given.
6767 if test "${enable_statline+set}" = set; then
6768 enableval
="$enable_statline"
6770 if test "$enableval" = yes; then
6771 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6773 ac_cv_use_statline
='wxUSE_STATLINE=no'
6778 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6779 if test "x$LINE" != x
; then
6780 eval "DEFAULT_$LINE"
6785 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6790 eval "$ac_cv_use_statline"
6791 if test "$no_cache" != 1; then
6792 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6795 if test "$wxUSE_STATLINE" = yes; then
6796 echo "$ac_t""yes" 1>&6
6798 echo "$ac_t""no" 1>&6
6802 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6803 echo "configure:6804: checking for --enable-stattext" >&5
6805 # Check whether --enable-stattext or --disable-stattext was given.
6806 if test "${enable_stattext+set}" = set; then
6807 enableval
="$enable_stattext"
6809 if test "$enableval" = yes; then
6810 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6812 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6817 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x
; then
6819 eval "DEFAULT_$LINE"
6824 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6829 eval "$ac_cv_use_stattext"
6830 if test "$no_cache" != 1; then
6831 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6834 if test "$wxUSE_STATTEXT" = yes; then
6835 echo "$ac_t""yes" 1>&6
6837 echo "$ac_t""no" 1>&6
6841 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6842 echo "configure:6843: checking for --enable-statusbar" >&5
6844 # Check whether --enable-statusbar or --disable-statusbar was given.
6845 if test "${enable_statusbar+set}" = set; then
6846 enableval
="$enable_statusbar"
6848 if test "$enableval" = yes; then
6849 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6851 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6856 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x
; then
6858 eval "DEFAULT_$LINE"
6863 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6868 eval "$ac_cv_use_statusbar"
6869 if test "$no_cache" != 1; then
6870 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6873 if test "$wxUSE_STATUSBAR" = yes; then
6874 echo "$ac_t""yes" 1>&6
6876 echo "$ac_t""no" 1>&6
6880 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6881 echo "configure:6882: checking for --enable-tabdialog" >&5
6883 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6884 if test "${enable_tabdialog+set}" = set; then
6885 enableval
="$enable_tabdialog"
6887 if test "$enableval" = yes; then
6888 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6890 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6895 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x
; then
6897 eval "DEFAULT_$LINE"
6902 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6907 eval "$ac_cv_use_tabdialog"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6912 if test "$wxUSE_TABDIALOG" = yes; then
6913 echo "$ac_t""yes" 1>&6
6915 echo "$ac_t""no" 1>&6
6919 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6920 echo "configure:6921: checking for --enable-textctrl" >&5
6922 # Check whether --enable-textctrl or --disable-textctrl was given.
6923 if test "${enable_textctrl+set}" = set; then
6924 enableval
="$enable_textctrl"
6926 if test "$enableval" = yes; then
6927 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6929 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6934 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x
; then
6936 eval "DEFAULT_$LINE"
6941 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6946 eval "$ac_cv_use_textctrl"
6947 if test "$no_cache" != 1; then
6948 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6951 if test "$wxUSE_TEXTCTRL" = yes; then
6952 echo "$ac_t""yes" 1>&6
6954 echo "$ac_t""no" 1>&6
6958 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6959 echo "configure:6960: checking for --enable-togglebtn" >&5
6961 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6962 if test "${enable_togglebtn+set}" = set; then
6963 enableval
="$enable_togglebtn"
6965 if test "$enableval" = yes; then
6966 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6968 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6973 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6974 if test "x$LINE" != x
; then
6975 eval "DEFAULT_$LINE"
6980 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6985 eval "$ac_cv_use_togglebtn"
6986 if test "$no_cache" != 1; then
6987 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6990 if test "$wxUSE_TOGGLEBTN" = yes; then
6991 echo "$ac_t""yes" 1>&6
6993 echo "$ac_t""no" 1>&6
6997 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6998 echo "configure:6999: checking for --enable-toolbar" >&5
7000 # Check whether --enable-toolbar or --disable-toolbar was given.
7001 if test "${enable_toolbar+set}" = set; then
7002 enableval
="$enable_toolbar"
7004 if test "$enableval" = yes; then
7005 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
7007 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
7012 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
7013 if test "x$LINE" != x
; then
7014 eval "DEFAULT_$LINE"
7019 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
7024 eval "$ac_cv_use_toolbar"
7025 if test "$no_cache" != 1; then
7026 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
7029 if test "$wxUSE_TOOLBAR" = yes; then
7030 echo "$ac_t""yes" 1>&6
7032 echo "$ac_t""no" 1>&6
7036 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
7037 echo "configure:7038: checking for --enable-tbarnative" >&5
7039 # Check whether --enable-tbarnative or --disable-tbarnative was given.
7040 if test "${enable_tbarnative+set}" = set; then
7041 enableval
="$enable_tbarnative"
7043 if test "$enableval" = yes; then
7044 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
7046 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
7051 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
7052 if test "x$LINE" != x
; then
7053 eval "DEFAULT_$LINE"
7058 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
7063 eval "$ac_cv_use_tbarnative"
7064 if test "$no_cache" != 1; then
7065 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
7068 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
7069 echo "$ac_t""yes" 1>&6
7071 echo "$ac_t""no" 1>&6
7075 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
7076 echo "configure:7077: checking for --enable-tbarsmpl" >&5
7078 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
7079 if test "${enable_tbarsmpl+set}" = set; then
7080 enableval
="$enable_tbarsmpl"
7082 if test "$enableval" = yes; then
7083 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
7085 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
7090 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
7091 if test "x$LINE" != x
; then
7092 eval "DEFAULT_$LINE"
7097 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
7102 eval "$ac_cv_use_tbarsmpl"
7103 if test "$no_cache" != 1; then
7104 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
7107 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
7108 echo "$ac_t""yes" 1>&6
7110 echo "$ac_t""no" 1>&6
7114 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
7115 echo "configure:7116: checking for --enable-treectrl" >&5
7117 # Check whether --enable-treectrl or --disable-treectrl was given.
7118 if test "${enable_treectrl+set}" = set; then
7119 enableval
="$enable_treectrl"
7121 if test "$enableval" = yes; then
7122 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
7124 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
7129 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
7130 if test "x$LINE" != x
; then
7131 eval "DEFAULT_$LINE"
7136 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
7141 eval "$ac_cv_use_treectrl"
7142 if test "$no_cache" != 1; then
7143 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
7146 if test "$wxUSE_TREECTRL" = yes; then
7147 echo "$ac_t""yes" 1>&6
7149 echo "$ac_t""no" 1>&6
7153 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
7154 echo "configure:7155: checking for --enable-tipwindow" >&5
7156 # Check whether --enable-tipwindow or --disable-tipwindow was given.
7157 if test "${enable_tipwindow+set}" = set; then
7158 enableval
="$enable_tipwindow"
7160 if test "$enableval" = yes; then
7161 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
7163 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
7168 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
7169 if test "x$LINE" != x
; then
7170 eval "DEFAULT_$LINE"
7175 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
7180 eval "$ac_cv_use_tipwindow"
7181 if test "$no_cache" != 1; then
7182 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
7185 if test "$wxUSE_TIPWINDOW" = yes; then
7186 echo "$ac_t""yes" 1>&6
7188 echo "$ac_t""no" 1>&6
7192 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
7193 echo "configure:7194: checking for --enable-popupwin" >&5
7195 # Check whether --enable-popupwin or --disable-popupwin was given.
7196 if test "${enable_popupwin+set}" = set; then
7197 enableval
="$enable_popupwin"
7199 if test "$enableval" = yes; then
7200 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
7202 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
7207 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
7208 if test "x$LINE" != x
; then
7209 eval "DEFAULT_$LINE"
7214 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7219 eval "$ac_cv_use_popupwin"
7220 if test "$no_cache" != 1; then
7221 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7224 if test "$wxUSE_POPUPWIN" = yes; then
7225 echo "$ac_t""yes" 1>&6
7227 echo "$ac_t""no" 1>&6
7233 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7234 echo "configure:7235: checking for --enable-commondlg" >&5
7236 # Check whether --enable-commondlg or --disable-commondlg was given.
7237 if test "${enable_commondlg+set}" = set; then
7238 enableval
="$enable_commondlg"
7240 if test "$enableval" = yes; then
7241 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7243 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7248 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7249 if test "x$LINE" != x
; then
7250 eval "DEFAULT_$LINE"
7255 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7260 eval "$ac_cv_use_commondlg"
7261 if test "$no_cache" != 1; then
7262 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7265 if test "$wxUSE_COMMONDLGS" = yes; then
7266 echo "$ac_t""yes" 1>&6
7268 echo "$ac_t""no" 1>&6
7272 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7273 echo "configure:7274: checking for --enable-choicedlg" >&5
7275 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7276 if test "${enable_choicedlg+set}" = set; then
7277 enableval
="$enable_choicedlg"
7279 if test "$enableval" = yes; then
7280 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7282 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7287 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7288 if test "x$LINE" != x
; then
7289 eval "DEFAULT_$LINE"
7294 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7299 eval "$ac_cv_use_choicedlg"
7300 if test "$no_cache" != 1; then
7301 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7304 if test "$wxUSE_CHOICEDLG" = yes; then
7305 echo "$ac_t""yes" 1>&6
7307 echo "$ac_t""no" 1>&6
7311 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7312 echo "configure:7313: checking for --enable-coldlg" >&5
7314 # Check whether --enable-coldlg or --disable-coldlg was given.
7315 if test "${enable_coldlg+set}" = set; then
7316 enableval
="$enable_coldlg"
7318 if test "$enableval" = yes; then
7319 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7321 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7326 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7327 if test "x$LINE" != x
; then
7328 eval "DEFAULT_$LINE"
7333 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7338 eval "$ac_cv_use_coldlg"
7339 if test "$no_cache" != 1; then
7340 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7343 if test "$wxUSE_COLOURDLG" = yes; then
7344 echo "$ac_t""yes" 1>&6
7346 echo "$ac_t""no" 1>&6
7350 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7351 echo "configure:7352: checking for --enable-filedlg" >&5
7353 # Check whether --enable-filedlg or --disable-filedlg was given.
7354 if test "${enable_filedlg+set}" = set; then
7355 enableval
="$enable_filedlg"
7357 if test "$enableval" = yes; then
7358 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7360 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7365 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7366 if test "x$LINE" != x
; then
7367 eval "DEFAULT_$LINE"
7372 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7377 eval "$ac_cv_use_filedlg"
7378 if test "$no_cache" != 1; then
7379 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7382 if test "$wxUSE_FILEDLG" = yes; then
7383 echo "$ac_t""yes" 1>&6
7385 echo "$ac_t""no" 1>&6
7389 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7390 echo "configure:7391: checking for --enable-finddlg" >&5
7392 # Check whether --enable-finddlg or --disable-finddlg was given.
7393 if test "${enable_finddlg+set}" = set; then
7394 enableval
="$enable_finddlg"
7396 if test "$enableval" = yes; then
7397 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7399 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7404 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7405 if test "x$LINE" != x
; then
7406 eval "DEFAULT_$LINE"
7411 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7416 eval "$ac_cv_use_finddlg"
7417 if test "$no_cache" != 1; then
7418 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7421 if test "$wxUSE_FINDREPLDLG" = yes; then
7422 echo "$ac_t""yes" 1>&6
7424 echo "$ac_t""no" 1>&6
7428 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7429 echo "configure:7430: checking for --enable-fontdlg" >&5
7431 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7432 if test "${enable_fontdlg+set}" = set; then
7433 enableval
="$enable_fontdlg"
7435 if test "$enableval" = yes; then
7436 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7438 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7443 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7444 if test "x$LINE" != x
; then
7445 eval "DEFAULT_$LINE"
7450 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7455 eval "$ac_cv_use_fontdlg"
7456 if test "$no_cache" != 1; then
7457 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7460 if test "$wxUSE_FONTDLG" = yes; then
7461 echo "$ac_t""yes" 1>&6
7463 echo "$ac_t""no" 1>&6
7467 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7468 echo "configure:7469: checking for --enable-dirdlg" >&5
7470 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7471 if test "${enable_dirdlg+set}" = set; then
7472 enableval
="$enable_dirdlg"
7474 if test "$enableval" = yes; then
7475 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7477 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7482 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7483 if test "x$LINE" != x
; then
7484 eval "DEFAULT_$LINE"
7489 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7494 eval "$ac_cv_use_dirdlg"
7495 if test "$no_cache" != 1; then
7496 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7499 if test "$wxUSE_DIRDLG" = yes; then
7500 echo "$ac_t""yes" 1>&6
7502 echo "$ac_t""no" 1>&6
7506 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7507 echo "configure:7508: checking for --enable-msgdlg" >&5
7509 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7510 if test "${enable_msgdlg+set}" = set; then
7511 enableval
="$enable_msgdlg"
7513 if test "$enableval" = yes; then
7514 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7516 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7521 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7522 if test "x$LINE" != x
; then
7523 eval "DEFAULT_$LINE"
7528 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7533 eval "$ac_cv_use_msgdlg"
7534 if test "$no_cache" != 1; then
7535 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7538 if test "$wxUSE_MSGDLG" = yes; then
7539 echo "$ac_t""yes" 1>&6
7541 echo "$ac_t""no" 1>&6
7545 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7546 echo "configure:7547: checking for --enable-numberdlg" >&5
7548 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7549 if test "${enable_numberdlg+set}" = set; then
7550 enableval
="$enable_numberdlg"
7552 if test "$enableval" = yes; then
7553 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7555 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7560 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7561 if test "x$LINE" != x
; then
7562 eval "DEFAULT_$LINE"
7567 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7572 eval "$ac_cv_use_numberdlg"
7573 if test "$no_cache" != 1; then
7574 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7577 if test "$wxUSE_NUMBERDLG" = yes; then
7578 echo "$ac_t""yes" 1>&6
7580 echo "$ac_t""no" 1>&6
7584 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7585 echo "configure:7586: checking for --enable-splash" >&5
7587 # Check whether --enable-splash or --disable-splash was given.
7588 if test "${enable_splash+set}" = set; then
7589 enableval
="$enable_splash"
7591 if test "$enableval" = yes; then
7592 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7594 ac_cv_use_splash
='wxUSE_SPLASH=no'
7599 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7600 if test "x$LINE" != x
; then
7601 eval "DEFAULT_$LINE"
7606 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7611 eval "$ac_cv_use_splash"
7612 if test "$no_cache" != 1; then
7613 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7616 if test "$wxUSE_SPLASH" = yes; then
7617 echo "$ac_t""yes" 1>&6
7619 echo "$ac_t""no" 1>&6
7623 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7624 echo "configure:7625: checking for --enable-textdlg" >&5
7626 # Check whether --enable-textdlg or --disable-textdlg was given.
7627 if test "${enable_textdlg+set}" = set; then
7628 enableval
="$enable_textdlg"
7630 if test "$enableval" = yes; then
7631 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7633 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7638 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7639 if test "x$LINE" != x
; then
7640 eval "DEFAULT_$LINE"
7645 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7650 eval "$ac_cv_use_textdlg"
7651 if test "$no_cache" != 1; then
7652 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7655 if test "$wxUSE_TEXTDLG" = yes; then
7656 echo "$ac_t""yes" 1>&6
7658 echo "$ac_t""no" 1>&6
7662 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7663 echo "configure:7664: checking for --enable-tipdlg" >&5
7665 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7666 if test "${enable_tipdlg+set}" = set; then
7667 enableval
="$enable_tipdlg"
7669 if test "$enableval" = yes; then
7670 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7672 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7677 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7678 if test "x$LINE" != x
; then
7679 eval "DEFAULT_$LINE"
7684 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7689 eval "$ac_cv_use_tipdlg"
7690 if test "$no_cache" != 1; then
7691 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7694 if test "$wxUSE_STARTUP_TIPS" = yes; then
7695 echo "$ac_t""yes" 1>&6
7697 echo "$ac_t""no" 1>&6
7701 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7702 echo "configure:7703: checking for --enable-progressdlg" >&5
7704 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7705 if test "${enable_progressdlg+set}" = set; then
7706 enableval
="$enable_progressdlg"
7708 if test "$enableval" = yes; then
7709 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7711 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7716 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7717 if test "x$LINE" != x
; then
7718 eval "DEFAULT_$LINE"
7723 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7728 eval "$ac_cv_use_progressdlg"
7729 if test "$no_cache" != 1; then
7730 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7733 if test "$wxUSE_PROGRESSDLG" = yes; then
7734 echo "$ac_t""yes" 1>&6
7736 echo "$ac_t""no" 1>&6
7740 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7741 echo "configure:7742: checking for --enable-wizarddlg" >&5
7743 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7744 if test "${enable_wizarddlg+set}" = set; then
7745 enableval
="$enable_wizarddlg"
7747 if test "$enableval" = yes; then
7748 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7750 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7755 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7756 if test "x$LINE" != x
; then
7757 eval "DEFAULT_$LINE"
7762 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7767 eval "$ac_cv_use_wizarddlg"
7768 if test "$no_cache" != 1; then
7769 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7772 if test "$wxUSE_WIZARDDLG" = yes; then
7773 echo "$ac_t""yes" 1>&6
7775 echo "$ac_t""no" 1>&6
7781 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7782 echo "configure:7783: checking for --enable-menus" >&5
7784 # Check whether --enable-menus or --disable-menus was given.
7785 if test "${enable_menus+set}" = set; then
7786 enableval
="$enable_menus"
7788 if test "$enableval" = yes; then
7789 ac_cv_use_menus
='wxUSE_MENUS=yes'
7791 ac_cv_use_menus
='wxUSE_MENUS=no'
7796 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7797 if test "x$LINE" != x
; then
7798 eval "DEFAULT_$LINE"
7803 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7808 eval "$ac_cv_use_menus"
7809 if test "$no_cache" != 1; then
7810 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7813 if test "$wxUSE_MENUS" = yes; then
7814 echo "$ac_t""yes" 1>&6
7816 echo "$ac_t""no" 1>&6
7820 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7821 echo "configure:7822: checking for --enable-miniframe" >&5
7823 # Check whether --enable-miniframe or --disable-miniframe was given.
7824 if test "${enable_miniframe+set}" = set; then
7825 enableval
="$enable_miniframe"
7827 if test "$enableval" = yes; then
7828 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7830 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7835 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7836 if test "x$LINE" != x
; then
7837 eval "DEFAULT_$LINE"
7842 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7847 eval "$ac_cv_use_miniframe"
7848 if test "$no_cache" != 1; then
7849 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7852 if test "$wxUSE_MINIFRAME" = yes; then
7853 echo "$ac_t""yes" 1>&6
7855 echo "$ac_t""no" 1>&6
7859 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7860 echo "configure:7861: checking for --enable-tooltips" >&5
7862 # Check whether --enable-tooltips or --disable-tooltips was given.
7863 if test "${enable_tooltips+set}" = set; then
7864 enableval
="$enable_tooltips"
7866 if test "$enableval" = yes; then
7867 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7869 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7874 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7875 if test "x$LINE" != x
; then
7876 eval "DEFAULT_$LINE"
7881 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7886 eval "$ac_cv_use_tooltips"
7887 if test "$no_cache" != 1; then
7888 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7891 if test "$wxUSE_TOOLTIPS" = yes; then
7892 echo "$ac_t""yes" 1>&6
7894 echo "$ac_t""no" 1>&6
7898 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7899 echo "configure:7900: checking for --enable-splines" >&5
7901 # Check whether --enable-splines or --disable-splines was given.
7902 if test "${enable_splines+set}" = set; then
7903 enableval
="$enable_splines"
7905 if test "$enableval" = yes; then
7906 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7908 ac_cv_use_splines
='wxUSE_SPLINES=no'
7913 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7914 if test "x$LINE" != x
; then
7915 eval "DEFAULT_$LINE"
7920 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7925 eval "$ac_cv_use_splines"
7926 if test "$no_cache" != 1; then
7927 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7930 if test "$wxUSE_SPLINES" = yes; then
7931 echo "$ac_t""yes" 1>&6
7933 echo "$ac_t""no" 1>&6
7937 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7938 echo "configure:7939: checking for --enable-validators" >&5
7940 # Check whether --enable-validators or --disable-validators was given.
7941 if test "${enable_validators+set}" = set; then
7942 enableval
="$enable_validators"
7944 if test "$enableval" = yes; then
7945 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7947 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7952 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7953 if test "x$LINE" != x
; then
7954 eval "DEFAULT_$LINE"
7959 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7964 eval "$ac_cv_use_validators"
7965 if test "$no_cache" != 1; then
7966 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7969 if test "$wxUSE_VALIDATORS" = yes; then
7970 echo "$ac_t""yes" 1>&6
7972 echo "$ac_t""no" 1>&6
7976 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7977 echo "configure:7978: checking for --enable-busyinfo" >&5
7979 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7980 if test "${enable_busyinfo+set}" = set; then
7981 enableval
="$enable_busyinfo"
7983 if test "$enableval" = yes; then
7984 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7986 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7991 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7992 if test "x$LINE" != x
; then
7993 eval "DEFAULT_$LINE"
7998 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
8003 eval "$ac_cv_use_busyinfo"
8004 if test "$no_cache" != 1; then
8005 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
8008 if test "$wxUSE_BUSYINFO" = yes; then
8009 echo "$ac_t""yes" 1>&6
8011 echo "$ac_t""no" 1>&6
8015 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
8016 echo "configure:8017: checking for --enable-joystick" >&5
8018 # Check whether --enable-joystick or --disable-joystick was given.
8019 if test "${enable_joystick+set}" = set; then
8020 enableval
="$enable_joystick"
8022 if test "$enableval" = yes; then
8023 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
8025 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
8030 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
8031 if test "x$LINE" != x
; then
8032 eval "DEFAULT_$LINE"
8037 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
8042 eval "$ac_cv_use_joystick"
8043 if test "$no_cache" != 1; then
8044 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
8047 if test "$wxUSE_JOYSTICK" = yes; then
8048 echo "$ac_t""yes" 1>&6
8050 echo "$ac_t""no" 1>&6
8054 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
8055 echo "configure:8056: checking for --enable-metafile" >&5
8057 # Check whether --enable-metafile or --disable-metafile was given.
8058 if test "${enable_metafile+set}" = set; then
8059 enableval
="$enable_metafile"
8061 if test "$enableval" = yes; then
8062 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
8064 ac_cv_use_metafile
='wxUSE_METAFILE=no'
8069 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8070 if test "x$LINE" != x
; then
8071 eval "DEFAULT_$LINE"
8076 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8081 eval "$ac_cv_use_metafile"
8082 if test "$no_cache" != 1; then
8083 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8086 if test "$wxUSE_METAFILE" = yes; then
8087 echo "$ac_t""yes" 1>&6
8089 echo "$ac_t""no" 1>&6
8093 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
8094 echo "configure:8095: checking for --enable-dragimage" >&5
8096 # Check whether --enable-dragimage or --disable-dragimage was given.
8097 if test "${enable_dragimage+set}" = set; then
8098 enableval
="$enable_dragimage"
8100 if test "$enableval" = yes; then
8101 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
8103 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
8108 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
8109 if test "x$LINE" != x
; then
8110 eval "DEFAULT_$LINE"
8115 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
8120 eval "$ac_cv_use_dragimage"
8121 if test "$no_cache" != 1; then
8122 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
8125 if test "$wxUSE_DRAGIMAGE" = yes; then
8126 echo "$ac_t""yes" 1>&6
8128 echo "$ac_t""no" 1>&6
8134 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
8135 echo "configure:8136: checking for --enable-palette" >&5
8137 # Check whether --enable-palette or --disable-palette was given.
8138 if test "${enable_palette+set}" = set; then
8139 enableval
="$enable_palette"
8141 if test "$enableval" = yes; then
8142 ac_cv_use_palette
='wxUSE_PALETTE=yes'
8144 ac_cv_use_palette
='wxUSE_PALETTE=no'
8149 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
8150 if test "x$LINE" != x
; then
8151 eval "DEFAULT_$LINE"
8156 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
8161 eval "$ac_cv_use_palette"
8162 if test "$no_cache" != 1; then
8163 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
8166 if test "$wxUSE_PALETTE" = yes; then
8167 echo "$ac_t""yes" 1>&6
8169 echo "$ac_t""no" 1>&6
8173 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
8174 echo "configure:8175: checking for --enable-image" >&5
8176 # Check whether --enable-image or --disable-image was given.
8177 if test "${enable_image+set}" = set; then
8178 enableval
="$enable_image"
8180 if test "$enableval" = yes; then
8181 ac_cv_use_image
='wxUSE_IMAGE=yes'
8183 ac_cv_use_image
='wxUSE_IMAGE=no'
8188 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
8189 if test "x$LINE" != x
; then
8190 eval "DEFAULT_$LINE"
8195 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
8200 eval "$ac_cv_use_image"
8201 if test "$no_cache" != 1; then
8202 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
8205 if test "$wxUSE_IMAGE" = yes; then
8206 echo "$ac_t""yes" 1>&6
8208 echo "$ac_t""no" 1>&6
8212 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
8213 echo "configure:8214: checking for --enable-gif" >&5
8215 # Check whether --enable-gif or --disable-gif was given.
8216 if test "${enable_gif+set}" = set; then
8217 enableval
="$enable_gif"
8219 if test "$enableval" = yes; then
8220 ac_cv_use_gif
='wxUSE_GIF=yes'
8222 ac_cv_use_gif
='wxUSE_GIF=no'
8227 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8228 if test "x$LINE" != x
; then
8229 eval "DEFAULT_$LINE"
8234 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8239 eval "$ac_cv_use_gif"
8240 if test "$no_cache" != 1; then
8241 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8244 if test "$wxUSE_GIF" = yes; then
8245 echo "$ac_t""yes" 1>&6
8247 echo "$ac_t""no" 1>&6
8251 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8252 echo "configure:8253: checking for --enable-pcx" >&5
8254 # Check whether --enable-pcx or --disable-pcx was given.
8255 if test "${enable_pcx+set}" = set; then
8256 enableval
="$enable_pcx"
8258 if test "$enableval" = yes; then
8259 ac_cv_use_pcx
='wxUSE_PCX=yes'
8261 ac_cv_use_pcx
='wxUSE_PCX=no'
8266 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8267 if test "x$LINE" != x
; then
8268 eval "DEFAULT_$LINE"
8273 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8278 eval "$ac_cv_use_pcx"
8279 if test "$no_cache" != 1; then
8280 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8283 if test "$wxUSE_PCX" = yes; then
8284 echo "$ac_t""yes" 1>&6
8286 echo "$ac_t""no" 1>&6
8290 echo $ac_n "checking for --enable-iff""... $ac_c" 1>&6
8291 echo "configure:8292: checking for --enable-iff" >&5
8293 # Check whether --enable-iff or --disable-iff was given.
8294 if test "${enable_iff+set}" = set; then
8295 enableval
="$enable_iff"
8297 if test "$enableval" = yes; then
8298 ac_cv_use_iff
='wxUSE_IFF=yes'
8300 ac_cv_use_iff
='wxUSE_IFF=no'
8305 LINE
=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
8306 if test "x$LINE" != x
; then
8307 eval "DEFAULT_$LINE"
8312 ac_cv_use_iff
='wxUSE_IFF='$DEFAULT_wxUSE_IFF
8317 eval "$ac_cv_use_iff"
8318 if test "$no_cache" != 1; then
8319 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
8322 if test "$wxUSE_IFF" = yes; then
8323 echo "$ac_t""yes" 1>&6
8325 echo "$ac_t""no" 1>&6
8329 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8330 echo "configure:8331: checking for --enable-pnm" >&5
8332 # Check whether --enable-pnm or --disable-pnm was given.
8333 if test "${enable_pnm+set}" = set; then
8334 enableval
="$enable_pnm"
8336 if test "$enableval" = yes; then
8337 ac_cv_use_pnm
='wxUSE_PNM=yes'
8339 ac_cv_use_pnm
='wxUSE_PNM=no'
8344 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8345 if test "x$LINE" != x
; then
8346 eval "DEFAULT_$LINE"
8351 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8356 eval "$ac_cv_use_pnm"
8357 if test "$no_cache" != 1; then
8358 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8361 if test "$wxUSE_PNM" = yes; then
8362 echo "$ac_t""yes" 1>&6
8364 echo "$ac_t""no" 1>&6
8368 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8369 echo "configure:8370: checking for --enable-xpm" >&5
8371 # Check whether --enable-xpm or --disable-xpm was given.
8372 if test "${enable_xpm+set}" = set; then
8373 enableval
="$enable_xpm"
8375 if test "$enableval" = yes; then
8376 ac_cv_use_xpm
='wxUSE_XPM=yes'
8378 ac_cv_use_xpm
='wxUSE_XPM=no'
8383 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8384 if test "x$LINE" != x
; then
8385 eval "DEFAULT_$LINE"
8390 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8395 eval "$ac_cv_use_xpm"
8396 if test "$no_cache" != 1; then
8397 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8400 if test "$wxUSE_XPM" = yes; then
8401 echo "$ac_t""yes" 1>&6
8403 echo "$ac_t""no" 1>&6
8407 echo $ac_n "checking for --enable-ico_cur""... $ac_c" 1>&6
8408 echo "configure:8409: checking for --enable-ico_cur" >&5
8410 # Check whether --enable-ico_cur or --disable-ico_cur was given.
8411 if test "${enable_ico_cur+set}" = set; then
8412 enableval
="$enable_ico_cur"
8414 if test "$enableval" = yes; then
8415 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=yes'
8417 ac_cv_use_ico_cur
='wxUSE_ICO_CUR=no'
8422 LINE
=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
8423 if test "x$LINE" != x
; then
8424 eval "DEFAULT_$LINE"
8429 ac_cv_use_ico_cur
='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
8434 eval "$ac_cv_use_ico_cur"
8435 if test "$no_cache" != 1; then
8436 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
8439 if test "$wxUSE_ICO_CUR" = yes; then
8440 echo "$ac_t""yes" 1>&6
8442 echo "$ac_t""no" 1>&6
8449 *-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
8530 *-pc-os2_emx | *-pc-os2-emx )
8531 LIBS
="$LIBS -lstdcpp"
8532 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
8533 echo $ac_n "checking for drand48 in -lcExt""... $ac_c" 1>&6
8534 echo "configure:8535: checking for drand48 in -lcExt" >&5
8535 ac_lib_var
=`echo cExt'_'drand48 | sed 'y%./+-%__p_%'`
8536 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8537 echo $ac_n "(cached) $ac_c" 1>&6
8539 ac_save_LIBS
="$LIBS"
8541 cat > conftest.
$ac_ext <<EOF
8542 #line 8543 "configure"
8543 #include "confdefs.h"
8544 /* Override any gcc2 internal prototype to avoid an error. */
8545 /* We use char because int might match the return type of a gcc2
8546 builtin and then its argument prototype would still apply. */
8553 if { (eval echo configure
:8554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8555 eval "ac_cv_lib_$ac_lib_var=yes"
8557 echo "configure: failed program was:" >&5
8558 cat conftest.
$ac_ext >&5
8560 eval "ac_cv_lib_$ac_lib_var=no"
8563 LIBS
="$ac_save_LIBS"
8566 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8567 echo "$ac_t""yes" 1>&6
8570 echo "$ac_t""no" 1>&6
8574 RESPROGRAMOBJ
="\${top_srcdir}/include/wx/os2/wx.res"
8583 if test "$wxUSE_MSW" = 1 ; then
8594 if test "$wants_win32" = 1 ; then
8597 cat >> confdefs.h
<<\EOF
8601 cat >> confdefs.h
<<\EOF
8605 cat >> confdefs.h
<<\EOF
8606 #define __WINDOWS__ 1
8609 cat >> confdefs.h
<<\EOF
8610 #define __GNUWIN32__ 1
8613 cat >> confdefs.h
<<\EOF
8617 cat >> confdefs.h
<<\EOF
8618 #define WINVER 0x0400
8622 if test "$doesnt_want_win32" = 1 ; then
8627 if test "$USE_UNIX" = 1 ; then
8629 cat >> confdefs.h
<<\EOF
8636 cat > confcache
<<\EOF
8637 # This file is a shell script that caches the results of configure
8638 # tests run on this system so they can be shared between configure
8639 # scripts and configure runs. It is not useful on other systems.
8640 # If it contains results you don't want to keep, you may remove or edit it.
8642 # By default, configure uses ./config.cache as the cache file,
8643 # creating it if it does not exist already. You can give configure
8644 # the --cache-file=FILE option to use a different cache file; that is
8645 # what configure does when it calls configure scripts in
8646 # subdirectories, so they share the cache.
8647 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8648 # config.status only pays attention to the cache file if you give it the
8649 # --recheck option to rerun configure.
8652 # The following way of writing the cache mishandles newlines in values,
8653 # but we know of no workaround that is simple, portable, and efficient.
8654 # So, don't put newlines in cache variables' values.
8655 # Ultrix sh set writes to stderr and can't be redirected directly,
8656 # and sets the high bit in the cache file unless we assign to the vars.
8658 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8660 # `set' does not quote correctly, so add quotes (double-quote substitution
8661 # turns \\\\ into \\, and sed turns \\ into \).
8663 -e "s/'/'\\\\''/g" \
8664 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8667 # `set' quotes correctly as required by POSIX, so do not add quotes.
8668 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8671 if cmp -s $cache_file confcache
; then
8674 if test -w $cache_file; then
8675 echo "updating cache $cache_file"
8676 cat confcache
> $cache_file
8678 echo "not updating unwritable cache $cache_file"
8684 if test "$build" != "$host" ; then
8685 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 -o "$USE_UNIX"; then
8689 RANLIB
=$host_alias-ranlib
8690 DLLTOOL
=$host_alias-dlltool
8691 RESCOMP
=$host_alias-windres
8694 STRIP
=$host_alias-strip
8696 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8701 # Extract the first word of "gcc", so it can be a program name with args.
8702 set dummy gcc
; ac_word
=$2
8703 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8704 echo "configure:8705: checking for $ac_word" >&5
8705 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8706 echo $ac_n "(cached) $ac_c" 1>&6
8708 if test -n "$CC"; then
8709 ac_cv_prog_CC
="$CC" # Let the user override the test.
8711 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8713 for ac_dir
in $ac_dummy; do
8714 test -z "$ac_dir" && ac_dir
=.
8715 if test -f $ac_dir/$ac_word; then
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 # Extract the first word of "cc", so it can be a program name with args.
8732 set dummy cc
; ac_word
=$2
8733 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8734 echo "configure:8735: checking for $ac_word" >&5
8735 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8736 echo $ac_n "(cached) $ac_c" 1>&6
8738 if test -n "$CC"; then
8739 ac_cv_prog_CC
="$CC" # Let the user override the test.
8741 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8744 for ac_dir
in $ac_dummy; do
8745 test -z "$ac_dir" && ac_dir
=.
8746 if test -f $ac_dir/$ac_word; then
8747 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8748 ac_prog_rejected
=yes
8756 if test $ac_prog_rejected = yes; then
8757 # We found a bogon in the path, so make sure we never use it.
8758 set dummy
$ac_cv_prog_CC
8760 if test $# -gt 0; then
8761 # We chose a different compiler from the bogus one.
8762 # However, it has the same basename, so the bogon will be chosen
8763 # first if we set CC to just the basename; use the full file name.
8765 set dummy
"$ac_dir/$ac_word" "$@"
8773 if test -n "$CC"; then
8774 echo "$ac_t""$CC" 1>&6
8776 echo "$ac_t""no" 1>&6
8779 if test -z "$CC"; then
8780 case "`uname -s`" in
8782 # Extract the first word of "cl", so it can be a program name with args.
8783 set dummy cl
; ac_word
=$2
8784 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8785 echo "configure:8786: checking for $ac_word" >&5
8786 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8787 echo $ac_n "(cached) $ac_c" 1>&6
8789 if test -n "$CC"; then
8790 ac_cv_prog_CC
="$CC" # Let the user override the test.
8792 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8794 for ac_dir
in $ac_dummy; do
8795 test -z "$ac_dir" && ac_dir
=.
8796 if test -f $ac_dir/$ac_word; then
8805 if test -n "$CC"; then
8806 echo "$ac_t""$CC" 1>&6
8808 echo "$ac_t""no" 1>&6
8813 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8816 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8817 echo "configure:8818: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8820 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8821 ac_cpp
='$CPP $CPPFLAGS'
8822 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8823 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8824 cross_compiling
=$ac_cv_prog_cc_cross
8826 cat > conftest.
$ac_ext << EOF
8828 #line 8829 "configure"
8829 #include "confdefs.h"
8833 if { (eval echo configure
:8834: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8834 ac_cv_prog_cc_works
=yes
8835 # If we can't run a trivial program, we are probably using a cross compiler.
8836 if (.
/conftest
; exit) 2>/dev
/null
; then
8837 ac_cv_prog_cc_cross
=no
8839 ac_cv_prog_cc_cross
=yes
8842 echo "configure: failed program was:" >&5
8843 cat conftest.
$ac_ext >&5
8844 ac_cv_prog_cc_works
=no
8848 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8849 ac_cpp
='$CPP $CPPFLAGS'
8850 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8851 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8852 cross_compiling
=$ac_cv_prog_cc_cross
8854 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8855 if test $ac_cv_prog_cc_works = no
; then
8856 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8858 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8859 echo "configure:8860: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8860 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8861 cross_compiling
=$ac_cv_prog_cc_cross
8863 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8864 echo "configure:8865: checking whether we are using GNU C" >&5
8865 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8866 echo $ac_n "(cached) $ac_c" 1>&6
8868 cat > conftest.c
<<EOF
8873 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8880 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8882 if test $ac_cv_prog_gcc = yes; then
8888 ac_test_CFLAGS
="${CFLAGS+set}"
8889 ac_save_CFLAGS
="$CFLAGS"
8891 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8892 echo "configure:8893: checking whether ${CC-cc} accepts -g" >&5
8893 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8894 echo $ac_n "(cached) $ac_c" 1>&6
8896 echo 'void f(){}' > conftest.c
8897 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8906 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8907 if test "$ac_test_CFLAGS" = set; then
8908 CFLAGS
="$ac_save_CFLAGS"
8909 elif test $ac_cv_prog_cc_g = yes; then
8910 if test "$GCC" = yes; then
8916 if test "$GCC" = yes; then
8924 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8925 echo "configure:8926: checking how to run the C preprocessor" >&5
8926 # On Suns, sometimes $CPP names a directory.
8927 if test -n "$CPP" && test -d "$CPP"; then
8930 if test -z "$CPP"; then
8931 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8932 echo $ac_n "(cached) $ac_c" 1>&6
8934 # This must be in double quotes, not single quotes, because CPP may get
8935 # substituted into the Makefile and "${CC-cc}" will confuse make.
8937 # On the NeXT, cc -E runs the code through the compiler's parser,
8938 # not just through cpp.
8939 cat > conftest.
$ac_ext <<EOF
8940 #line 8941 "configure"
8941 #include "confdefs.h"
8945 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8946 { (eval echo configure
:8947: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8947 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8948 if test -z "$ac_err"; then
8952 echo "configure: failed program was:" >&5
8953 cat conftest.
$ac_ext >&5
8955 CPP
="${CC-cc} -E -traditional-cpp"
8956 cat > conftest.
$ac_ext <<EOF
8957 #line 8958 "configure"
8958 #include "confdefs.h"
8962 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8963 { (eval echo configure
:8964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8964 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8965 if test -z "$ac_err"; then
8969 echo "configure: failed program was:" >&5
8970 cat conftest.
$ac_ext >&5
8972 CPP
="${CC-cc} -nologo -E"
8973 cat > conftest.
$ac_ext <<EOF
8974 #line 8975 "configure"
8975 #include "confdefs.h"
8979 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8980 { (eval echo configure
:8981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8981 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8982 if test -z "$ac_err"; then
8986 echo "configure: failed program was:" >&5
8987 cat conftest.
$ac_ext >&5
8996 ac_cv_prog_CPP
="$CPP"
8998 CPP
="$ac_cv_prog_CPP"
9000 ac_cv_prog_CPP
="$CPP"
9002 echo "$ac_t""$CPP" 1>&6
9004 if test $ac_cv_prog_gcc = yes; then
9005 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
9006 echo "configure:9007: checking whether ${CC-cc} needs -traditional" >&5
9007 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
9008 echo $ac_n "(cached) $ac_c" 1>&6
9010 ac_pattern
="Autoconf.*'x'"
9011 cat > conftest.
$ac_ext <<EOF
9012 #line 9013 "configure"
9013 #include "confdefs.h"
9017 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9018 egrep "$ac_pattern" >/dev
/null
2>&1; then
9020 ac_cv_prog_gcc_traditional
=yes
9023 ac_cv_prog_gcc_traditional
=no
9028 if test $ac_cv_prog_gcc_traditional = no
; then
9029 cat > conftest.
$ac_ext <<EOF
9030 #line 9031 "configure"
9031 #include "confdefs.h"
9035 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9036 egrep "$ac_pattern" >/dev
/null
2>&1; then
9038 ac_cv_prog_gcc_traditional
=yes
9045 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
9046 if test $ac_cv_prog_gcc_traditional = yes; then
9047 CC
="$CC -traditional"
9054 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9055 ac_cpp
='$CXXCPP $CPPFLAGS'
9056 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9057 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9058 cross_compiling
=$ac_cv_prog_cxx_cross
9061 CXXFLAGS
=${CXXFLAGS:=}
9062 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
9064 # Extract the first word of "$ac_prog", so it can be a program name with args.
9065 set dummy
$ac_prog; ac_word
=$2
9066 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9067 echo "configure:9068: checking for $ac_word" >&5
9068 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
9069 echo $ac_n "(cached) $ac_c" 1>&6
9071 if test -n "$CXX"; then
9072 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
9074 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9076 for ac_dir
in $ac_dummy; do
9077 test -z "$ac_dir" && ac_dir
=.
9078 if test -f $ac_dir/$ac_word; then
9079 ac_cv_prog_CXX
="$ac_prog"
9086 CXX
="$ac_cv_prog_CXX"
9087 if test -n "$CXX"; then
9088 echo "$ac_t""$CXX" 1>&6
9090 echo "$ac_t""no" 1>&6
9093 test -n "$CXX" && break
9095 test -n "$CXX" || CXX
="gcc"
9098 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
9099 echo "configure:9100: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
9102 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9103 ac_cpp
='$CXXCPP $CPPFLAGS'
9104 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9105 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9106 cross_compiling
=$ac_cv_prog_cxx_cross
9108 cat > conftest.
$ac_ext << EOF
9110 #line 9111 "configure"
9111 #include "confdefs.h"
9113 int main(){return(0);}
9115 if { (eval echo configure
:9116: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9116 ac_cv_prog_cxx_works
=yes
9117 # If we can't run a trivial program, we are probably using a cross compiler.
9118 if (.
/conftest
; exit) 2>/dev
/null
; then
9119 ac_cv_prog_cxx_cross
=no
9121 ac_cv_prog_cxx_cross
=yes
9124 echo "configure: failed program was:" >&5
9125 cat conftest.
$ac_ext >&5
9126 ac_cv_prog_cxx_works
=no
9130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9131 ac_cpp
='$CXXCPP $CPPFLAGS'
9132 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9133 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9134 cross_compiling
=$ac_cv_prog_cxx_cross
9136 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
9137 if test $ac_cv_prog_cxx_works = no
; then
9138 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
9140 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
9141 echo "configure:9142: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
9142 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
9143 cross_compiling
=$ac_cv_prog_cxx_cross
9145 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
9146 echo "configure:9147: checking whether we are using GNU C++" >&5
9147 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
9148 echo $ac_n "(cached) $ac_c" 1>&6
9150 cat > conftest.C
<<EOF
9155 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:9156: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
9162 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
9164 if test $ac_cv_prog_gxx = yes; then
9170 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
9171 ac_save_CXXFLAGS
="$CXXFLAGS"
9173 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
9174 echo "configure:9175: checking whether ${CXX-g++} accepts -g" >&5
9175 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
9176 echo $ac_n "(cached) $ac_c" 1>&6
9178 echo 'void f(){}' > conftest.cc
9179 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
9180 ac_cv_prog_cxx_g
=yes
9188 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9189 if test "$ac_test_CXXFLAGS" = set; then
9190 CXXFLAGS
="$ac_save_CXXFLAGS"
9191 elif test $ac_cv_prog_cxx_g = yes; then
9192 if test "$GXX" = yes; then
9198 if test "$GXX" = yes; then
9207 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9208 ac_cpp
='$CPP $CPPFLAGS'
9209 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9210 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9211 cross_compiling
=$ac_cv_prog_cc_cross
9214 # Extract the first word of "ranlib", so it can be a program name with args.
9215 set dummy ranlib
; ac_word
=$2
9216 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9217 echo "configure:9218: checking for $ac_word" >&5
9218 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9219 echo $ac_n "(cached) $ac_c" 1>&6
9221 if test -n "$RANLIB"; then
9222 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9224 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9226 for ac_dir
in $ac_dummy; do
9227 test -z "$ac_dir" && ac_dir
=.
9228 if test -f $ac_dir/$ac_word; then
9229 ac_cv_prog_RANLIB
="ranlib"
9234 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9237 RANLIB
="$ac_cv_prog_RANLIB"
9238 if test -n "$RANLIB"; then
9239 echo "$ac_t""$RANLIB" 1>&6
9241 echo "$ac_t""no" 1>&6
9245 # Extract the first word of "ar", so it can be a program name with args.
9246 set dummy
ar; ac_word
=$2
9247 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9248 echo "configure:9249: checking for $ac_word" >&5
9249 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9250 echo $ac_n "(cached) $ac_c" 1>&6
9252 if test -n "$AR"; then
9253 ac_cv_prog_AR
="$AR" # Let the user override the test.
9255 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9257 for ac_dir
in $ac_dummy; do
9258 test -z "$ac_dir" && ac_dir
=.
9259 if test -f $ac_dir/$ac_word; then
9265 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9269 if test -n "$AR"; then
9270 echo "$ac_t""$AR" 1>&6
9272 echo "$ac_t""no" 1>&6
9276 # Find a good install program. We prefer a C program (faster),
9277 # so one script is as good as another. But avoid the broken or
9278 # incompatible versions:
9279 # SysV /etc/install, /usr/sbin/install
9280 # SunOS /usr/etc/install
9281 # IRIX /sbin/install
9283 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9284 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9285 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9286 # ./install, which can be erroneously created by make from ./install.sh.
9287 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9288 echo "configure:9289: checking for a BSD compatible install" >&5
9289 if test -z "$INSTALL"; then
9290 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9291 echo $ac_n "(cached) $ac_c" 1>&6
9293 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9294 for ac_dir
in $PATH; do
9295 # Account for people who put trailing slashes in PATH elements.
9297 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9299 # OSF1 and SCO ODT 3.0 have their own names for install.
9300 # Don't use installbsd from OSF since it installs stuff as root
9302 for ac_prog
in ginstall scoinst
install; do
9303 if test -f $ac_dir/$ac_prog; then
9304 if test $ac_prog = install &&
9305 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9306 # AIX install. It has an incompatible calling convention.
9309 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9320 if test "${ac_cv_path_install+set}" = set; then
9321 INSTALL
="$ac_cv_path_install"
9323 # As a last resort, use the slow shell script. We don't cache a
9324 # path for INSTALL within a source directory, because that will
9325 # break other packages using the cache if that directory is
9326 # removed, or if the path is relative.
9327 INSTALL
="$ac_install_sh"
9330 echo "$ac_t""$INSTALL" 1>&6
9332 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9333 # It thinks the first close brace ends the variable substitution.
9334 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9336 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9338 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9345 INSTALL
=`pwd`/${INSTALL} ;;
9352 INSTALL_PROGRAM
="cp -fp"
9353 INSTALL_DATA
="cp -fp"
9359 # Extract the first word of "strip", so it can be a program name with args.
9360 set dummy strip
; ac_word
=$2
9361 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9362 echo "configure:9363: checking for $ac_word" >&5
9363 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9364 echo $ac_n "(cached) $ac_c" 1>&6
9366 if test -n "$STRIP"; then
9367 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9369 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9371 for ac_dir
in $ac_dummy; do
9372 test -z "$ac_dir" && ac_dir
=.
9373 if test -f $ac_dir/$ac_word; then
9374 ac_cv_prog_STRIP
="strip"
9379 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9382 STRIP
="$ac_cv_prog_STRIP"
9383 if test -n "$STRIP"; then
9384 echo "$ac_t""$STRIP" 1>&6
9386 echo "$ac_t""no" 1>&6
9390 echo $ac_n "checking if make is GNU make""... $ac_c" 1>&6
9391 echo "configure:9392: checking if make is GNU make" >&5
9392 if eval "test \"`echo '$''{'wx_cv_prog_makeisgnu'+set}'`\" = set"; then
9393 echo $ac_n "(cached) $ac_c" 1>&6
9396 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev
/null
|
9397 egrep -s GNU
> /dev
/null
); then
9398 wx_cv_prog_makeisgnu
="yes"
9400 wx_cv_prog_makeisgnu
="no"
9405 echo "$ac_t""$wx_cv_prog_makeisgnu" 1>&6
9407 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
9415 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
9416 echo $ac_n "checking if make supports VPATH""... $ac_c" 1>&6
9417 echo "configure:9418: checking if make supports VPATH" >&5
9418 if eval "test \"`echo '$''{'wx_cv_prog_makevpath'+set}'`\" = set"; then
9419 echo $ac_n "(cached) $ac_c" 1>&6
9422 cat - << EOF > confMake
9428 if test ! -d sub
; then
9431 echo dummy
> sub
/file
9432 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9434 rm -f sub
/file check final_file confMake
9436 if test "$RESULT" = 0; then
9437 wx_cv_prog_makevpath
="yes"
9439 wx_cv_prog_makevpath
="no"
9444 echo "$ac_t""$wx_cv_prog_makevpath" 1>&6
9446 if test "x$wx_cv_prog_makevpath" != "xyes"; then
9447 { echo "configure: error:
9448 You need a make-utility that is able to use the variable
9450 If your version of make does not support VPATH correctly,
9451 please install GNU-make (possibly as gmake), and start
9452 configure with the following command:
9453 export MAKE=gmake; ./configure for sh-type shells
9454 setenv MAKE gmake; ./configure for csh-type shells
9455 Also please do remember to use gmake in this case every time
9456 you are trying to compile.
9459 for ac_prog
in 'bison -y' byacc
9461 # Extract the first word of "$ac_prog", so it can be a program name with args.
9462 set dummy
$ac_prog; ac_word
=$2
9463 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9464 echo "configure:9465: checking for $ac_word" >&5
9465 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9466 echo $ac_n "(cached) $ac_c" 1>&6
9468 if test -n "$YACC"; then
9469 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9471 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9473 for ac_dir
in $ac_dummy; do
9474 test -z "$ac_dir" && ac_dir
=.
9475 if test -f $ac_dir/$ac_word; then
9476 ac_cv_prog_YACC
="$ac_prog"
9483 YACC
="$ac_cv_prog_YACC"
9484 if test -n "$YACC"; then
9485 echo "$ac_t""$YACC" 1>&6
9487 echo "$ac_t""no" 1>&6
9490 test -n "$YACC" && break
9492 test -n "$YACC" || YACC
="yacc"
9495 # Extract the first word of "flex", so it can be a program name with args.
9496 set dummy flex
; ac_word
=$2
9497 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9498 echo "configure:9499: checking for $ac_word" >&5
9499 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9500 echo $ac_n "(cached) $ac_c" 1>&6
9502 if test -n "$LEX"; then
9503 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9505 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9507 for ac_dir
in $ac_dummy; do
9508 test -z "$ac_dir" && ac_dir
=.
9509 if test -f $ac_dir/$ac_word; then
9510 ac_cv_prog_LEX
="flex"
9515 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9518 LEX
="$ac_cv_prog_LEX"
9519 if test -n "$LEX"; then
9520 echo "$ac_t""$LEX" 1>&6
9522 echo "$ac_t""no" 1>&6
9525 if test -z "$LEXLIB"
9531 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9532 echo "configure:9533: checking for yywrap in -l$ac_lib" >&5
9533 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9534 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9535 echo $ac_n "(cached) $ac_c" 1>&6
9537 ac_save_LIBS
="$LIBS"
9538 LIBS
="-l$ac_lib $LIBS"
9539 cat > conftest.
$ac_ext <<EOF
9540 #line 9541 "configure"
9541 #include "confdefs.h"
9542 /* Override any gcc2 internal prototype to avoid an error. */
9543 /* We use char because int might match the return type of a gcc2
9544 builtin and then its argument prototype would still apply. */
9551 if { (eval echo configure
:9552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9553 eval "ac_cv_lib_$ac_lib_var=yes"
9555 echo "configure: failed program was:" >&5
9556 cat conftest.
$ac_ext >&5
9558 eval "ac_cv_lib_$ac_lib_var=no"
9561 LIBS
="$ac_save_LIBS"
9564 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9565 echo "$ac_t""yes" 1>&6
9568 echo "$ac_t""no" 1>&6
9574 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9575 echo "configure:9576: checking whether ln -s works" >&5
9576 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9577 echo $ac_n "(cached) $ac_c" 1>&6
9580 if ln -s X conftestdata
2>/dev
/null
9583 ac_cv_prog_LN_S
="ln -s"
9588 LN_S
="$ac_cv_prog_LN_S"
9589 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9590 echo "$ac_t""yes" 1>&6
9592 echo "$ac_t""no" 1>&6
9597 if test "$wxUSE_MAC" != 1; then
9598 for ac_hdr
in strings.h
9600 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9601 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9602 echo "configure:9603: checking for $ac_hdr" >&5
9603 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9604 echo $ac_n "(cached) $ac_c" 1>&6
9606 cat > conftest.
$ac_ext <<EOF
9607 #line 9608 "configure"
9608 #include "confdefs.h"
9611 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9612 { (eval echo configure
:9613: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9613 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9614 if test -z "$ac_err"; then
9616 eval "ac_cv_header_$ac_safe=yes"
9619 echo "configure: failed program was:" >&5
9620 cat conftest.
$ac_ext >&5
9622 eval "ac_cv_header_$ac_safe=no"
9626 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9627 echo "$ac_t""yes" 1>&6
9628 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9629 cat >> confdefs.h
<<EOF
9630 #define $ac_tr_hdr 1
9634 echo "$ac_t""no" 1>&6
9640 for ac_hdr
in stdlib.h
9642 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9643 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9644 echo "configure:9645: checking for $ac_hdr" >&5
9645 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9646 echo $ac_n "(cached) $ac_c" 1>&6
9648 cat > conftest.
$ac_ext <<EOF
9649 #line 9650 "configure"
9650 #include "confdefs.h"
9653 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9654 { (eval echo configure
:9655: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9655 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9656 if test -z "$ac_err"; then
9658 eval "ac_cv_header_$ac_safe=yes"
9661 echo "configure: failed program was:" >&5
9662 cat conftest.
$ac_ext >&5
9664 eval "ac_cv_header_$ac_safe=no"
9668 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9669 echo "$ac_t""yes" 1>&6
9670 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9671 cat >> confdefs.h
<<EOF
9672 #define $ac_tr_hdr 1
9676 echo "$ac_t""no" 1>&6
9680 for ac_hdr
in malloc.h
9682 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9683 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9684 echo "configure:9685: checking for $ac_hdr" >&5
9685 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9686 echo $ac_n "(cached) $ac_c" 1>&6
9688 cat > conftest.
$ac_ext <<EOF
9689 #line 9690 "configure"
9690 #include "confdefs.h"
9693 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9694 { (eval echo configure
:9695: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9695 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9696 if test -z "$ac_err"; then
9698 eval "ac_cv_header_$ac_safe=yes"
9701 echo "configure: failed program was:" >&5
9702 cat conftest.
$ac_ext >&5
9704 eval "ac_cv_header_$ac_safe=no"
9708 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9709 echo "$ac_t""yes" 1>&6
9710 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9711 cat >> confdefs.h
<<EOF
9712 #define $ac_tr_hdr 1
9716 echo "$ac_t""no" 1>&6
9720 for ac_hdr
in unistd.h
9722 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9723 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9724 echo "configure:9725: checking for $ac_hdr" >&5
9725 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9726 echo $ac_n "(cached) $ac_c" 1>&6
9728 cat > conftest.
$ac_ext <<EOF
9729 #line 9730 "configure"
9730 #include "confdefs.h"
9733 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9734 { (eval echo configure
:9735: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9735 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9736 if test -z "$ac_err"; then
9738 eval "ac_cv_header_$ac_safe=yes"
9741 echo "configure: failed program was:" >&5
9742 cat conftest.
$ac_ext >&5
9744 eval "ac_cv_header_$ac_safe=no"
9748 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9749 echo "$ac_t""yes" 1>&6
9750 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9751 cat >> confdefs.h
<<EOF
9752 #define $ac_tr_hdr 1
9756 echo "$ac_t""no" 1>&6
9760 for ac_hdr
in wchar.h
9762 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9763 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9764 echo "configure:9765: checking for $ac_hdr" >&5
9765 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9766 echo $ac_n "(cached) $ac_c" 1>&6
9768 cat > conftest.
$ac_ext <<EOF
9769 #line 9770 "configure"
9770 #include "confdefs.h"
9773 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9774 { (eval echo configure
:9775: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9775 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9776 if test -z "$ac_err"; then
9778 eval "ac_cv_header_$ac_safe=yes"
9781 echo "configure: failed program was:" >&5
9782 cat conftest.
$ac_ext >&5
9784 eval "ac_cv_header_$ac_safe=no"
9788 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9789 echo "$ac_t""yes" 1>&6
9790 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9791 cat >> confdefs.h
<<EOF
9792 #define $ac_tr_hdr 1
9796 echo "$ac_t""no" 1>&6
9801 if test "$ac_cv_header_wchar_h" != "yes"; then
9802 for ac_hdr
in wcstr.h
9804 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9805 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9806 echo "configure:9807: checking for $ac_hdr" >&5
9807 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9808 echo $ac_n "(cached) $ac_c" 1>&6
9810 cat > conftest.
$ac_ext <<EOF
9811 #line 9812 "configure"
9812 #include "confdefs.h"
9815 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9816 { (eval echo configure
:9817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9817 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9818 if test -z "$ac_err"; then
9820 eval "ac_cv_header_$ac_safe=yes"
9823 echo "configure: failed program was:" >&5
9824 cat conftest.
$ac_ext >&5
9826 eval "ac_cv_header_$ac_safe=no"
9830 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9831 echo "$ac_t""yes" 1>&6
9832 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9833 cat >> confdefs.h
<<EOF
9834 #define $ac_tr_hdr 1
9838 echo "$ac_t""no" 1>&6
9844 for ac_hdr
in fnmatch.h
9846 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9847 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9848 echo "configure:9849: checking for $ac_hdr" >&5
9849 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9850 echo $ac_n "(cached) $ac_c" 1>&6
9852 cat > conftest.
$ac_ext <<EOF
9853 #line 9854 "configure"
9854 #include "confdefs.h"
9857 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9858 { (eval echo configure
:9859: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9859 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9860 if test -z "$ac_err"; then
9862 eval "ac_cv_header_$ac_safe=yes"
9865 echo "configure: failed program was:" >&5
9866 cat conftest.
$ac_ext >&5
9868 eval "ac_cv_header_$ac_safe=no"
9872 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9873 echo "$ac_t""yes" 1>&6
9874 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9875 cat >> confdefs.h
<<EOF
9876 #define $ac_tr_hdr 1
9880 echo "$ac_t""no" 1>&6
9885 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
9886 for ac_func
in fnmatch
9888 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9889 echo "configure:9890: checking for $ac_func" >&5
9890 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9891 echo $ac_n "(cached) $ac_c" 1>&6
9893 cat > conftest.
$ac_ext <<EOF
9894 #line 9895 "configure"
9895 #include "confdefs.h"
9896 /* System header to define __stub macros and hopefully few prototypes,
9897 which can conflict with char $ac_func(); below. */
9899 /* Override any gcc2 internal prototype to avoid an error. */
9900 /* We use char because int might match the return type of a gcc2
9901 builtin and then its argument prototype would still apply. */
9906 /* The GNU C library defines this for functions which it implements
9907 to always fail with ENOSYS. Some functions are actually named
9908 something starting with __ and the normal name is an alias. */
9909 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9917 if { (eval echo configure
:9918: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9919 eval "ac_cv_func_$ac_func=yes"
9921 echo "configure: failed program was:" >&5
9922 cat conftest.
$ac_ext >&5
9924 eval "ac_cv_func_$ac_func=no"
9929 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9930 echo "$ac_t""yes" 1>&6
9931 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9932 cat >> confdefs.h
<<EOF
9933 #define $ac_tr_func 1
9937 echo "$ac_t""no" 1>&6
9943 for ac_hdr
in langinfo.h
9945 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9946 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9947 echo "configure:9948: checking for $ac_hdr" >&5
9948 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9949 echo $ac_n "(cached) $ac_c" 1>&6
9951 cat > conftest.
$ac_ext <<EOF
9952 #line 9953 "configure"
9953 #include "confdefs.h"
9956 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9957 { (eval echo configure
:9958: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9958 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9959 if test -z "$ac_err"; then
9961 eval "ac_cv_header_$ac_safe=yes"
9964 echo "configure: failed program was:" >&5
9965 cat conftest.
$ac_ext >&5
9967 eval "ac_cv_header_$ac_safe=no"
9971 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9972 echo "$ac_t""yes" 1>&6
9973 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9974 cat >> confdefs.h
<<EOF
9975 #define $ac_tr_hdr 1
9979 echo "$ac_t""no" 1>&6
9984 if test "$wxUSE_GUI" = "yes"; then
9985 if test "$wxUSE_UNIX" = "yes"; then
9986 for ac_hdr
in X
11/XKBlib.h
9988 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9989 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9990 echo "configure:9991: checking for $ac_hdr" >&5
9991 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9992 echo $ac_n "(cached) $ac_c" 1>&6
9994 cat > conftest.
$ac_ext <<EOF
9995 #line 9996 "configure"
9996 #include "confdefs.h"
9999 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10000 { (eval echo configure
:10001: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10001 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10002 if test -z "$ac_err"; then
10004 eval "ac_cv_header_$ac_safe=yes"
10007 echo "configure: failed program was:" >&5
10008 cat conftest.
$ac_ext >&5
10010 eval "ac_cv_header_$ac_safe=no"
10014 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10015 echo "$ac_t""yes" 1>&6
10016 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10017 cat >> confdefs.h
<<EOF
10018 #define $ac_tr_hdr 1
10022 echo "$ac_t""no" 1>&6
10030 echo $ac_n "checking for working const""... $ac_c" 1>&6
10031 echo "configure:10032: checking for working const" >&5
10032 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
10033 echo $ac_n "(cached) $ac_c" 1>&6
10035 cat > conftest.
$ac_ext <<EOF
10036 #line 10037 "configure"
10037 #include "confdefs.h"
10041 /* Ultrix mips cc rejects this. */
10042 typedef int charset[2]; const charset x;
10043 /* SunOS 4.1.1 cc rejects this. */
10044 char const *const *ccp;
10046 /* NEC SVR4.0.2 mips cc rejects this. */
10047 struct point {int x, y;};
10048 static struct point const zero = {0,0};
10049 /* AIX XL C 1.02.0.0 rejects this.
10050 It does not let you subtract one const X* pointer from another in an arm
10051 of an if-expression whose if-part is not a constant expression */
10052 const char *g = "string";
10053 ccp = &g + (g ? g-g : 0);
10054 /* HPUX 7.0 cc rejects these. */
10057 ccp = (char const *const *) p;
10058 { /* SCO 3.2v4 cc rejects this. */
10060 char const *s = 0 ? (char *) 0 : (char const *) 0;
10064 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10065 int x[] = {25, 17};
10066 const int *foo = &x[0];
10069 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10070 typedef const int *iptr;
10074 { /* AIX XL C 1.02.0.0 rejects this saying
10075 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10076 struct s { int j; const int *ap[3]; };
10077 struct s *b; b->j = 5;
10079 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10080 const int foo = 10;
10085 if { (eval echo configure
:10086: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10089 echo "configure: failed program was:" >&5
10090 cat conftest.
$ac_ext >&5
10097 echo "$ac_t""$ac_cv_c_const" 1>&6
10098 if test $ac_cv_c_const = no
; then
10099 cat >> confdefs.h
<<\EOF
10105 echo $ac_n "checking for inline""... $ac_c" 1>&6
10106 echo "configure:10107: checking for inline" >&5
10107 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10108 echo $ac_n "(cached) $ac_c" 1>&6
10111 for ac_kw
in inline __inline__ __inline
; do
10112 cat > conftest.
$ac_ext <<EOF
10113 #line 10114 "configure"
10114 #include "confdefs.h"
10120 if { (eval echo configure
:10121: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10122 ac_cv_c_inline
=$ac_kw; break
10124 echo "configure: failed program was:" >&5
10125 cat conftest.
$ac_ext >&5
10132 echo "$ac_t""$ac_cv_c_inline" 1>&6
10133 case "$ac_cv_c_inline" in
10135 no
) cat >> confdefs.h
<<\EOF
10139 *) cat >> confdefs.h
<<EOF
10140 #define inline $ac_cv_c_inline
10146 echo $ac_n "checking size of char""... $ac_c" 1>&6
10147 echo "configure:10148: checking size of char" >&5
10148 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10149 echo $ac_n "(cached) $ac_c" 1>&6
10151 if test "$cross_compiling" = yes; then
10152 ac_cv_sizeof_char
=1
10154 cat > conftest.
$ac_ext <<EOF
10155 #line 10156 "configure"
10156 #include "confdefs.h"
10158 #include <sys/types.h>
10161 FILE *f=fopen("conftestval", "w");
10163 fprintf(f, "%d\n", sizeof(char));
10167 if { (eval echo configure
:10168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10169 ac_cv_sizeof_char
=`cat conftestval`
10171 echo "configure: failed program was:" >&5
10172 cat conftest.
$ac_ext >&5
10174 ac_cv_sizeof_char
=0
10180 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10181 cat >> confdefs.h
<<EOF
10182 #define SIZEOF_CHAR $ac_cv_sizeof_char
10186 echo $ac_n "checking size of short""... $ac_c" 1>&6
10187 echo "configure:10188: checking size of short" >&5
10188 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10189 echo $ac_n "(cached) $ac_c" 1>&6
10191 if test "$cross_compiling" = yes; then
10192 ac_cv_sizeof_short
=2
10194 cat > conftest.
$ac_ext <<EOF
10195 #line 10196 "configure"
10196 #include "confdefs.h"
10198 #include <sys/types.h>
10201 FILE *f=fopen("conftestval", "w");
10203 fprintf(f, "%d\n", sizeof(short));
10207 if { (eval echo configure
:10208: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10209 ac_cv_sizeof_short
=`cat conftestval`
10211 echo "configure: failed program was:" >&5
10212 cat conftest.
$ac_ext >&5
10214 ac_cv_sizeof_short
=0
10220 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10221 cat >> confdefs.h
<<EOF
10222 #define SIZEOF_SHORT $ac_cv_sizeof_short
10226 echo $ac_n "checking size of void *""... $ac_c" 1>&6
10227 echo "configure:10228: checking size of void *" >&5
10228 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
10229 echo $ac_n "(cached) $ac_c" 1>&6
10231 if test "$cross_compiling" = yes; then
10232 ac_cv_sizeof_void_p
=4
10234 cat > conftest.
$ac_ext <<EOF
10235 #line 10236 "configure"
10236 #include "confdefs.h"
10238 #include <sys/types.h>
10241 FILE *f=fopen("conftestval", "w");
10243 fprintf(f, "%d\n", sizeof(void *));
10247 if { (eval echo configure
:10248: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10249 ac_cv_sizeof_void_p
=`cat conftestval`
10251 echo "configure: failed program was:" >&5
10252 cat conftest.
$ac_ext >&5
10254 ac_cv_sizeof_void_p
=0
10260 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
10261 cat >> confdefs.h
<<EOF
10262 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
10266 echo $ac_n "checking size of int""... $ac_c" 1>&6
10267 echo "configure:10268: checking size of int" >&5
10268 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10269 echo $ac_n "(cached) $ac_c" 1>&6
10271 if test "$cross_compiling" = yes; then
10274 cat > conftest.
$ac_ext <<EOF
10275 #line 10276 "configure"
10276 #include "confdefs.h"
10278 #include <sys/types.h>
10281 FILE *f=fopen("conftestval", "w");
10283 fprintf(f, "%d\n", sizeof(int));
10287 if { (eval echo configure
:10288: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10289 ac_cv_sizeof_int
=`cat conftestval`
10291 echo "configure: failed program was:" >&5
10292 cat conftest.
$ac_ext >&5
10300 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10301 cat >> confdefs.h
<<EOF
10302 #define SIZEOF_INT $ac_cv_sizeof_int
10306 echo $ac_n "checking size of long""... $ac_c" 1>&6
10307 echo "configure:10308: checking size of long" >&5
10308 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10309 echo $ac_n "(cached) $ac_c" 1>&6
10311 if test "$cross_compiling" = yes; then
10312 ac_cv_sizeof_long
=4
10314 cat > conftest.
$ac_ext <<EOF
10315 #line 10316 "configure"
10316 #include "confdefs.h"
10318 #include <sys/types.h>
10321 FILE *f=fopen("conftestval", "w");
10323 fprintf(f, "%d\n", sizeof(long));
10327 if { (eval echo configure
:10328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10329 ac_cv_sizeof_long
=`cat conftestval`
10331 echo "configure: failed program was:" >&5
10332 cat conftest.
$ac_ext >&5
10334 ac_cv_sizeof_long
=0
10340 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10341 cat >> confdefs.h
<<EOF
10342 #define SIZEOF_LONG $ac_cv_sizeof_long
10349 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10350 echo "configure:10351: checking size of long long" >&5
10351 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10352 echo $ac_n "(cached) $ac_c" 1>&6
10354 if test "$cross_compiling" = yes; then
10355 ac_cv_sizeof_long_long
=8
10357 cat > conftest.
$ac_ext <<EOF
10358 #line 10359 "configure"
10359 #include "confdefs.h"
10361 #include <sys/types.h>
10364 FILE *f=fopen("conftestval", "w");
10366 fprintf(f, "%d\n", sizeof(long long));
10370 if { (eval echo configure
:10371: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10372 ac_cv_sizeof_long_long
=`cat conftestval`
10374 echo "configure: failed program was:" >&5
10375 cat conftest.
$ac_ext >&5
10377 ac_cv_sizeof_long_long
=0
10383 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10384 cat >> confdefs.h
<<EOF
10385 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10391 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10392 echo "configure:10393: checking size of long long" >&5
10393 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10394 echo $ac_n "(cached) $ac_c" 1>&6
10396 if test "$cross_compiling" = yes; then
10397 ac_cv_sizeof_long_long
=0
10399 cat > conftest.
$ac_ext <<EOF
10400 #line 10401 "configure"
10401 #include "confdefs.h"
10403 #include <sys/types.h>
10406 FILE *f=fopen("conftestval", "w");
10408 fprintf(f, "%d\n", sizeof(long long));
10412 if { (eval echo configure
:10413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10414 ac_cv_sizeof_long_long
=`cat conftestval`
10416 echo "configure: failed program was:" >&5
10417 cat conftest.
$ac_ext >&5
10419 ac_cv_sizeof_long_long
=0
10425 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10426 cat >> confdefs.h
<<EOF
10427 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10433 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10434 echo "configure:10435: checking size of wchar_t" >&5
10435 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
10436 echo $ac_n "(cached) $ac_c" 1>&6
10439 if test "$cross_compiling" = yes; then
10440 wx_cv_sizeof_wchar_t
=4
10443 cat > conftest.
$ac_ext <<EOF
10444 #line 10445 "configure"
10445 #include "confdefs.h"
10447 #ifdef HAVE_WCHAR_H
10449 # include <stddef.h>
10451 # include <wchar.h>
10453 #ifdef HAVE_STDLIB_H
10454 # include <stdlib.h>
10459 FILE *f=fopen("conftestval", "w");
10461 fprintf(f, "%i", sizeof(wchar_t));
10466 if { (eval echo configure
:10467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10468 wx_cv_sizeof_wchar_t
=`cat conftestval`
10470 echo "configure: failed program was:" >&5
10471 cat conftest.
$ac_ext >&5
10473 wx_cv_sizeof_wchar_t
=0
10481 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
10483 cat >> confdefs.h
<<EOF
10484 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
10488 # Check whether --enable-largefile or --disable-largefile was given.
10489 if test "${enable_largefile+set}" = set; then
10490 enableval
="$enable_largefile"
10494 if test "$enable_largefile" != no
; then
10497 echo $ac_n "checking for _FILE_OFFSET_BITS value needed for large files""... $ac_c" 1>&6
10498 echo "configure:10499: checking for _FILE_OFFSET_BITS value needed for large files" >&5
10499 if eval "test \"`echo '$''{'ac_cv_sys_file_offset_bits'+set}'`\" = set"; then
10500 echo $ac_n "(cached) $ac_c" 1>&6
10503 cat > conftest.
$ac_ext <<EOF
10504 #line 10505 "configure"
10505 #include "confdefs.h"
10506 #define _FILE_OFFSET_BITS 64
10507 #include <sys/types.h>
10510 unsigned int field: sizeof(off_t) == 8;
10515 if { (eval echo configure
:10516: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10517 ac_cv_sys_file_offset_bits
=64
10519 echo "configure: failed program was:" >&5
10520 cat conftest.
$ac_ext >&5
10522 ac_cv_sys_file_offset_bits
=no
10529 echo "$ac_t""$ac_cv_sys_file_offset_bits" 1>&6
10531 if test "$ac_cv_sys_file_offset_bits" != no
; then
10533 cat >> confdefs.h
<<EOF
10534 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
10539 if test "x$wx_largefile" != "xyes"; then
10541 echo $ac_n "checking for _LARGE_FILES value needed for large files""... $ac_c" 1>&6
10542 echo "configure:10543: checking for _LARGE_FILES value needed for large files" >&5
10543 if eval "test \"`echo '$''{'ac_cv_sys_large_files'+set}'`\" = set"; then
10544 echo $ac_n "(cached) $ac_c" 1>&6
10547 cat > conftest.
$ac_ext <<EOF
10548 #line 10549 "configure"
10549 #include "confdefs.h"
10550 #define _LARGE_FILES 1
10551 #include <sys/types.h>
10554 unsigned int field: sizeof(off_t) == 8;
10559 if { (eval echo configure
:10560: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10561 ac_cv_sys_large_files
=1
10563 echo "configure: failed program was:" >&5
10564 cat conftest.
$ac_ext >&5
10566 ac_cv_sys_large_files
=no
10573 echo "$ac_t""$ac_cv_sys_large_files" 1>&6
10575 if test "$ac_cv_sys_large_files" != no
; then
10577 cat >> confdefs.h
<<EOF
10578 #define _LARGE_FILES $ac_cv_sys_large_files
10585 echo $ac_n "checking if large file support is available""... $ac_c" 1>&6
10586 echo "configure:10587: checking if large file support is available" >&5
10587 if test "x$wx_largefile" = "xyes"; then
10588 cat >> confdefs.h
<<\EOF
10589 #define HAVE_LARGEFILE_SUPPORT 1
10593 echo "$ac_t""$wx_largefile" 1>&6
10597 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10598 echo "configure:10599: checking whether byte ordering is bigendian" >&5
10599 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10600 echo $ac_n "(cached) $ac_c" 1>&6
10602 ac_cv_c_bigendian
=unknown
10603 # See if sys/param.h defines the BYTE_ORDER macro.
10604 cat > conftest.
$ac_ext <<EOF
10605 #line 10606 "configure"
10606 #include "confdefs.h"
10607 #include <sys/types.h>
10608 #include <sys/param.h>
10611 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10612 bogus endian macros
10616 if { (eval echo configure
:10617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10618 # It does; now see whether it defined to BIG_ENDIAN or not.
10619 cat > conftest.
$ac_ext <<EOF
10620 #line 10621 "configure"
10621 #include "confdefs.h"
10622 #include <sys/types.h>
10623 #include <sys/param.h>
10626 #if BYTE_ORDER != BIG_ENDIAN
10631 if { (eval echo configure
:10632: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10633 ac_cv_c_bigendian
=yes
10635 echo "configure: failed program was:" >&5
10636 cat conftest.
$ac_ext >&5
10638 ac_cv_c_bigendian
=no
10642 echo "configure: failed program was:" >&5
10643 cat conftest.
$ac_ext >&5
10646 if test $ac_cv_c_bigendian = unknown
; then
10647 if test "$cross_compiling" = yes; then
10648 ac_cv_c_bigendian
=unknown
10650 cat > conftest.
$ac_ext <<EOF
10651 #line 10652 "configure"
10652 #include "confdefs.h"
10654 /* Are we little or big endian? From Harbison&Steele. */
10658 char c[sizeof (long)];
10661 exit (u.c[sizeof (long) - 1] == 1);
10664 if { (eval echo configure
:10665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10666 ac_cv_c_bigendian
=no
10668 echo "configure: failed program was:" >&5
10669 cat conftest.
$ac_ext >&5
10671 ac_cv_c_bigendian
=yes
10679 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10680 if test $ac_cv_c_bigendian = unknown
; then
10681 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
10683 if test $ac_cv_c_bigendian = yes; then
10684 cat >> confdefs.h
<<\EOF
10685 #define WORDS_BIGENDIAN 1
10691 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
10692 echo "configure:10693: checking how to run the C++ preprocessor" >&5
10693 if test -z "$CXXCPP"; then
10694 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
10695 echo $ac_n "(cached) $ac_c" 1>&6
10698 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10699 ac_cpp
='$CXXCPP $CPPFLAGS'
10700 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10701 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10702 cross_compiling
=$ac_cv_prog_cxx_cross
10703 CXXCPP
="${CXX-g++} -E"
10704 cat > conftest.
$ac_ext <<EOF
10705 #line 10706 "configure"
10706 #include "confdefs.h"
10707 #include <stdlib.h>
10709 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10710 { (eval echo configure
:10711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10711 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10712 if test -z "$ac_err"; then
10716 echo "configure: failed program was:" >&5
10717 cat conftest.
$ac_ext >&5
10722 ac_cv_prog_CXXCPP
="$CXXCPP"
10724 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10725 ac_cpp
='$CXXCPP $CPPFLAGS'
10726 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10727 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10728 cross_compiling
=$ac_cv_prog_cxx_cross
10731 CXXCPP
="$ac_cv_prog_CXXCPP"
10732 echo "$ac_t""$CXXCPP" 1>&6
10735 if test "$cross_compiling" = "yes"; then
10736 cat >> confdefs.h
<<\EOF
10737 #define wxUSE_IOSTREAMH 1
10743 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10744 ac_cpp
='$CXXCPP $CPPFLAGS'
10745 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10746 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10747 cross_compiling
=$ac_cv_prog_cxx_cross
10750 for ac_hdr
in iostream
10752 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10753 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10754 echo "configure:10755: checking for $ac_hdr" >&5
10755 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10756 echo $ac_n "(cached) $ac_c" 1>&6
10758 cat > conftest.
$ac_ext <<EOF
10759 #line 10760 "configure"
10760 #include "confdefs.h"
10763 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10764 { (eval echo configure
:10765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10765 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10766 if test -z "$ac_err"; then
10768 eval "ac_cv_header_$ac_safe=yes"
10771 echo "configure: failed program was:" >&5
10772 cat conftest.
$ac_ext >&5
10774 eval "ac_cv_header_$ac_safe=no"
10778 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10779 echo "$ac_t""yes" 1>&6
10780 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10781 cat >> confdefs.h
<<EOF
10782 #define $ac_tr_hdr 1
10786 echo "$ac_t""no" 1>&6
10791 if test "$ac_cv_header_iostream" = "yes" ; then
10794 cat >> confdefs.h
<<\EOF
10795 #define wxUSE_IOSTREAMH 1
10801 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10802 ac_cpp
='$CPP $CPPFLAGS'
10803 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10804 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10805 cross_compiling
=$ac_cv_prog_cc_cross
10811 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10812 echo "configure:10813: checking if C++ compiler supports bool" >&5
10813 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10814 echo $ac_n "(cached) $ac_c" 1>&6
10819 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10820 ac_cpp
='$CXXCPP $CPPFLAGS'
10821 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10822 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10823 cross_compiling
=$ac_cv_prog_cxx_cross
10826 cat > conftest.
$ac_ext <<EOF
10827 #line 10828 "configure"
10828 #include "confdefs.h"
10839 if { (eval echo configure
:10840: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10845 echo "configure: failed program was:" >&5
10846 cat conftest.
$ac_ext >&5
10856 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10857 ac_cpp
='$CPP $CPPFLAGS'
10858 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10859 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10860 cross_compiling
=$ac_cv_prog_cc_cross
10865 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10867 if test "$wx_cv_cpp_bool" = "yes"; then
10868 cat >> confdefs.h
<<\EOF
10869 #define HAVE_BOOL 1
10876 echo $ac_n "checking if C++ compiler supports the explicit keyword""... $ac_c" 1>&6
10877 echo "configure:10878: checking if C++ compiler supports the explicit keyword" >&5
10878 if eval "test \"`echo '$''{'wx_cv_explicit'+set}'`\" = set"; then
10879 echo $ac_n "(cached) $ac_c" 1>&6
10884 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10885 ac_cpp
='$CXXCPP $CPPFLAGS'
10886 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10887 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10888 cross_compiling
=$ac_cv_prog_cxx_cross
10891 cat > conftest.
$ac_ext <<EOF
10892 #line 10893 "configure"
10893 #include "confdefs.h"
10895 class Foo { public: explicit Foo(int) {} };
10903 if { (eval echo configure
:10904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10906 cat > conftest.
$ac_ext <<EOF
10907 #line 10908 "configure"
10908 #include "confdefs.h"
10910 class Foo { public: explicit Foo(int) {} };
10911 static void TakeFoo(const Foo& foo) { }
10920 if { (eval echo configure
:10921: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10924 echo "configure: failed program was:" >&5
10925 cat conftest.
$ac_ext >&5
10933 echo "configure: failed program was:" >&5
10934 cat conftest.
$ac_ext >&5
10942 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10943 ac_cpp
='$CPP $CPPFLAGS'
10944 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10945 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10946 cross_compiling
=$ac_cv_prog_cc_cross
10951 echo "$ac_t""$wx_cv_explicit" 1>&6
10953 if test "$wx_cv_explicit" = "yes"; then
10954 cat >> confdefs.h
<<\EOF
10955 #define HAVE_EXPLICIT 1
10963 /usr/local/include \
10965 /usr/Motif-1.2/include \
10966 /usr/Motif-2.1/include \
10968 /usr/include/Motif1.2 \
10969 /opt/xpm/include/X11 \
10970 /opt/GBxpm/include/ \
10971 /opt/GBxpm/X11/include/ \
10973 /usr/Motif1.2/include \
10975 /usr/openwin/include \
10979 /usr/X11R6/include \
10980 /usr/X11R6.4/include \
10981 /usr/X11R5/include \
10982 /usr/X11R4/include \
10984 /usr/include/X11R6 \
10985 /usr/include/X11R5 \
10986 /usr/include/X11R4 \
10988 /usr/local/X11R6/include \
10989 /usr/local/X11R5/include \
10990 /usr/local/X11R4/include \
10992 /usr/local/include/X11R6 \
10993 /usr/local/include/X11R5 \
10994 /usr/local/include/X11R4 \
10998 /usr/local/X11/include \
10999 /usr/local/include/X11 \
11001 /usr/X386/include \
11002 /usr/x386/include \
11003 /usr/XFree86/include/X11 \
11005 X:/XFree86/include \
11006 X:/XFree86/include/X11 \
11009 /usr/local/include/gtk \
11010 /usr/include/glib \
11011 /usr/local/include/glib \
11014 /usr/local/include/qt \
11016 /usr/include/windows \
11017 /usr/include/wine \
11018 /usr/local/include/wine \
11020 /usr/unsupported/include \
11021 /usr/athena/include \
11022 /usr/local/x11r5/include \
11023 /usr/lpp/Xamples/include \
11025 /usr/openwin/share/include \
11029 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
11032 cat > confcache
<<\EOF
11033 # This file is a shell script that caches the results of configure
11034 # tests run on this system so they can be shared between configure
11035 # scripts and configure runs. It is not useful on other systems.
11036 # If it contains results you don't want to keep, you may remove or edit it.
11038 # By default, configure uses ./config.cache as the cache file,
11039 # creating it if it does not exist already. You can give configure
11040 # the --cache-file=FILE option to use a different cache file; that is
11041 # what configure does when it calls configure scripts in
11042 # subdirectories, so they share the cache.
11043 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11044 # config.status only pays attention to the cache file if you give it the
11045 # --recheck option to rerun configure.
11048 # The following way of writing the cache mishandles newlines in values,
11049 # but we know of no workaround that is simple, portable, and efficient.
11050 # So, don't put newlines in cache variables' values.
11051 # Ultrix sh set writes to stderr and can't be redirected directly,
11052 # and sets the high bit in the cache file unless we assign to the vars.
11054 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11056 # `set' does not quote correctly, so add quotes (double-quote substitution
11057 # turns \\\\ into \\, and sed turns \\ into \).
11059 -e "s/'/'\\\\''/g" \
11060 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11063 # `set' quotes correctly as required by POSIX, so do not add quotes.
11064 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11067 if cmp -s $cache_file confcache
; then
11070 if test -w $cache_file; then
11071 echo "updating cache $cache_file"
11072 cat confcache
> $cache_file
11074 echo "not updating unwritable cache $cache_file"
11080 if test "$USE_LINUX" = 1; then
11081 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
11082 echo "configure:11083: checking for glibc 2.1 or later" >&5
11083 if eval "test \"`echo '$''{'wx_cv_lib_glibc21'+set}'`\" = set"; then
11084 echo $ac_n "(cached) $ac_c" 1>&6
11087 cat > conftest.
$ac_ext <<EOF
11088 #line 11089 "configure"
11089 #include "confdefs.h"
11090 #include <features.h>
11093 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
11094 #error not glibc2.1
11099 if { (eval echo configure
:11100: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11102 wx_cv_lib_glibc21
=yes
11105 echo "configure: failed program was:" >&5
11106 cat conftest.
$ac_ext >&5
11109 wx_cv_lib_glibc21
=no
11117 echo "$ac_t""$wx_cv_lib_glibc21" 1>&6
11118 if test "$wx_cv_lib_glibc21" = "yes"; then
11119 cat >> confdefs.h
<<\EOF
11120 #define wxHAVE_GLIBC2 1
11126 if test "x$wx_cv_lib_glibc21" = "xyes"; then
11127 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
11128 cat >> confdefs.h
<<\EOF
11129 #define _GNU_SOURCE 1
11138 if test "$wxUSE_REGEX" != "no"; then
11139 cat >> confdefs.h
<<\EOF
11140 #define wxUSE_REGEX 1
11144 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
11145 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
11146 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
11147 echo "configure:11148: checking for regex.h" >&5
11148 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11149 echo $ac_n "(cached) $ac_c" 1>&6
11151 cat > conftest.
$ac_ext <<EOF
11152 #line 11153 "configure"
11153 #include "confdefs.h"
11156 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11157 { (eval echo configure
:11158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11158 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11159 if test -z "$ac_err"; then
11161 eval "ac_cv_header_$ac_safe=yes"
11164 echo "configure: failed program was:" >&5
11165 cat conftest.
$ac_ext >&5
11167 eval "ac_cv_header_$ac_safe=no"
11171 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11172 echo "$ac_t""yes" 1>&6
11173 for ac_func
in regcomp
11175 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11176 echo "configure:11177: checking for $ac_func" >&5
11177 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11178 echo $ac_n "(cached) $ac_c" 1>&6
11180 cat > conftest.
$ac_ext <<EOF
11181 #line 11182 "configure"
11182 #include "confdefs.h"
11183 /* System header to define __stub macros and hopefully few prototypes,
11184 which can conflict with char $ac_func(); below. */
11185 #include <assert.h>
11186 /* Override any gcc2 internal prototype to avoid an error. */
11187 /* We use char because int might match the return type of a gcc2
11188 builtin and then its argument prototype would still apply. */
11193 /* The GNU C library defines this for functions which it implements
11194 to always fail with ENOSYS. Some functions are actually named
11195 something starting with __ and the normal name is an alias. */
11196 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11204 if { (eval echo configure
:11205: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11206 eval "ac_cv_func_$ac_func=yes"
11208 echo "configure: failed program was:" >&5
11209 cat conftest.
$ac_ext >&5
11211 eval "ac_cv_func_$ac_func=no"
11216 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11217 echo "$ac_t""yes" 1>&6
11218 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11219 cat >> confdefs.h
<<EOF
11220 #define $ac_tr_func 1
11224 echo "$ac_t""no" 1>&6
11229 echo "$ac_t""no" 1>&6
11233 if test "x$ac_cv_func_regcomp" != "xyes"; then
11234 if test "$wxUSE_REGEX" = "sys" ; then
11235 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
11237 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
11238 wxUSE_REGEX
=builtin
11245 if test "$wxUSE_REGEX" = "builtin" ; then
11246 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
11253 if test "$wxUSE_ZLIB" != "no" ; then
11254 cat >> confdefs.h
<<\EOF
11255 #define wxUSE_ZLIB 1
11259 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
11260 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
11261 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
11262 echo "configure:11263: checking for zlib.h" >&5
11263 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11264 echo $ac_n "(cached) $ac_c" 1>&6
11266 cat > conftest.
$ac_ext <<EOF
11267 #line 11268 "configure"
11268 #include "confdefs.h"
11271 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11272 { (eval echo configure
:11273: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11273 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11274 if test -z "$ac_err"; then
11276 eval "ac_cv_header_$ac_safe=yes"
11279 echo "configure: failed program was:" >&5
11280 cat conftest.
$ac_ext >&5
11282 eval "ac_cv_header_$ac_safe=no"
11286 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11287 echo "$ac_t""yes" 1>&6
11288 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
11289 echo "configure:11290: checking for deflate in -lz" >&5
11290 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
11291 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11292 echo $ac_n "(cached) $ac_c" 1>&6
11294 ac_save_LIBS
="$LIBS"
11296 cat > conftest.
$ac_ext <<EOF
11297 #line 11298 "configure"
11298 #include "confdefs.h"
11299 /* Override any gcc2 internal prototype to avoid an error. */
11300 /* We use char because int might match the return type of a gcc2
11301 builtin and then its argument prototype would still apply. */
11308 if { (eval echo configure
:11309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11310 eval "ac_cv_lib_$ac_lib_var=yes"
11312 echo "configure: failed program was:" >&5
11313 cat conftest.
$ac_ext >&5
11315 eval "ac_cv_lib_$ac_lib_var=no"
11318 LIBS
="$ac_save_LIBS"
11321 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11322 echo "$ac_t""yes" 1>&6
11325 echo "$ac_t""no" 1>&6
11329 echo "$ac_t""no" 1>&6
11333 if test "x$ZLIB_LINK" = "x" ; then
11334 if test "$wxUSE_ZLIB" = "sys" ; then
11335 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
11337 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
11345 if test "$wxUSE_ZLIB" = "builtin" ; then
11346 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11353 if test "$wxUSE_LIBPNG" != "no" ; then
11354 cat >> confdefs.h
<<\EOF
11355 #define wxUSE_LIBPNG 1
11359 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
11360 echo "configure: warning: wxMGL doesn't work with builtin png library, will use MGL one instead" 1>&2
11364 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
11365 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
11366 wxUSE_LIBPNG
=builtin
11369 if test "$wxUSE_MGL" != 1 ; then
11370 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
11371 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
11372 echo $ac_n "checking for png.h""... $ac_c" 1>&6
11373 echo "configure:11374: checking for png.h" >&5
11374 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11375 echo $ac_n "(cached) $ac_c" 1>&6
11377 cat > conftest.
$ac_ext <<EOF
11378 #line 11379 "configure"
11379 #include "confdefs.h"
11382 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11383 { (eval echo configure
:11384: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11384 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11385 if test -z "$ac_err"; then
11387 eval "ac_cv_header_$ac_safe=yes"
11390 echo "configure: failed program was:" >&5
11391 cat conftest.
$ac_ext >&5
11393 eval "ac_cv_header_$ac_safe=no"
11397 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11398 echo "$ac_t""yes" 1>&6
11399 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
11400 echo "configure:11401: checking for png_check_sig in -lpng" >&5
11401 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
11402 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11403 echo $ac_n "(cached) $ac_c" 1>&6
11405 ac_save_LIBS
="$LIBS"
11406 LIBS
="-lpng -lz -lm $LIBS"
11407 cat > conftest.
$ac_ext <<EOF
11408 #line 11409 "configure"
11409 #include "confdefs.h"
11410 /* Override any gcc2 internal prototype to avoid an error. */
11411 /* We use char because int might match the return type of a gcc2
11412 builtin and then its argument prototype would still apply. */
11413 char png_check_sig();
11419 if { (eval echo configure
:11420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11421 eval "ac_cv_lib_$ac_lib_var=yes"
11423 echo "configure: failed program was:" >&5
11424 cat conftest.
$ac_ext >&5
11426 eval "ac_cv_lib_$ac_lib_var=no"
11429 LIBS
="$ac_save_LIBS"
11432 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11433 echo "$ac_t""yes" 1>&6
11436 echo "$ac_t""no" 1>&6
11441 echo "$ac_t""no" 1>&6
11445 if test "x$PNG_LINK" = "x" ; then
11446 if test "$wxUSE_LIBPNG" = "sys" ; then
11447 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
11449 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
11450 wxUSE_LIBPNG
=builtin
11458 if test "$wxUSE_LIBPNG" = "builtin" ; then
11459 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11462 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11468 if test "$wxUSE_LIBJPEG" != "no" ; then
11469 cat >> confdefs.h
<<\EOF
11470 #define wxUSE_LIBJPEG 1
11474 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
11475 echo "configure: warning: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" 1>&2
11479 if test "$wxUSE_MGL" != 1 ; then
11480 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
11481 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
11482 echo "configure:11483: checking for jpeglib.h" >&5
11483 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
11484 echo $ac_n "(cached) $ac_c" 1>&6
11486 cat > conftest.
$ac_ext <<EOF
11487 #line 11488 "configure"
11488 #include "confdefs.h"
11490 #undef HAVE_STDLIB_H
11492 #include <jpeglib.h>
11499 if { (eval echo configure
:11500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11501 ac_cv_header_jpeglib_h
=yes
11503 echo "configure: failed program was:" >&5
11504 cat conftest.
$ac_ext >&5
11506 ac_cv_header_jpeglib_h
=no
11513 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
11515 if test "$ac_cv_header_jpeglib_h" = "yes"; then
11516 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
11517 echo "configure:11518: checking for jpeg_read_header in -ljpeg" >&5
11518 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
11519 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11520 echo $ac_n "(cached) $ac_c" 1>&6
11522 ac_save_LIBS
="$LIBS"
11523 LIBS
="-ljpeg $LIBS"
11524 cat > conftest.
$ac_ext <<EOF
11525 #line 11526 "configure"
11526 #include "confdefs.h"
11527 /* Override any gcc2 internal prototype to avoid an error. */
11528 /* We use char because int might match the return type of a gcc2
11529 builtin and then its argument prototype would still apply. */
11530 char jpeg_read_header();
11536 if { (eval echo configure
:11537: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11538 eval "ac_cv_lib_$ac_lib_var=yes"
11540 echo "configure: failed program was:" >&5
11541 cat conftest.
$ac_ext >&5
11543 eval "ac_cv_lib_$ac_lib_var=no"
11546 LIBS
="$ac_save_LIBS"
11549 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11550 echo "$ac_t""yes" 1>&6
11551 JPEG_LINK
=" -ljpeg"
11553 echo "$ac_t""no" 1>&6
11558 if test "x$JPEG_LINK" = "x" ; then
11559 if test "$wxUSE_LIBJPEG" = "sys" ; then
11560 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
11562 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
11563 wxUSE_LIBJPEG
=builtin
11571 if test "$wxUSE_LIBJPEG" = "builtin" ; then
11572 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11579 if test "$wxUSE_LIBTIFF" != "no" ; then
11580 cat >> confdefs.h
<<\EOF
11581 #define wxUSE_LIBTIFF 1
11585 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
11586 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
11587 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
11588 echo "configure:11589: checking for tiffio.h" >&5
11589 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11590 echo $ac_n "(cached) $ac_c" 1>&6
11592 cat > conftest.
$ac_ext <<EOF
11593 #line 11594 "configure"
11594 #include "confdefs.h"
11595 #include <tiffio.h>
11597 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11598 { (eval echo configure
:11599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11599 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11600 if test -z "$ac_err"; then
11602 eval "ac_cv_header_$ac_safe=yes"
11605 echo "configure: failed program was:" >&5
11606 cat conftest.
$ac_ext >&5
11608 eval "ac_cv_header_$ac_safe=no"
11612 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11613 echo "$ac_t""yes" 1>&6
11614 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
11615 echo "configure:11616: checking for TIFFError in -ltiff" >&5
11616 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
11617 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11618 echo $ac_n "(cached) $ac_c" 1>&6
11620 ac_save_LIBS
="$LIBS"
11621 LIBS
="-ltiff -lm $LIBS"
11622 cat > conftest.
$ac_ext <<EOF
11623 #line 11624 "configure"
11624 #include "confdefs.h"
11625 /* Override any gcc2 internal prototype to avoid an error. */
11626 /* We use char because int might match the return type of a gcc2
11627 builtin and then its argument prototype would still apply. */
11634 if { (eval echo configure
:11635: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11636 eval "ac_cv_lib_$ac_lib_var=yes"
11638 echo "configure: failed program was:" >&5
11639 cat conftest.
$ac_ext >&5
11641 eval "ac_cv_lib_$ac_lib_var=no"
11644 LIBS
="$ac_save_LIBS"
11647 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11648 echo "$ac_t""yes" 1>&6
11649 TIFF_LINK
=" -ltiff"
11651 echo "$ac_t""no" 1>&6
11656 echo "$ac_t""no" 1>&6
11660 if test "x$TIFF_LINK" = "x" ; then
11661 if test "$wxUSE_LIBTIFF" = "sys" ; then
11662 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
11664 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
11665 wxUSE_LIBTIFF
=builtin
11672 if test "$wxUSE_LIBTIFF" = "builtin" ; then
11673 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11684 if test "$USE_WIN32" = 1 ; then
11685 for ac_hdr
in w32api.h
11687 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11688 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11689 echo "configure:11690: checking for $ac_hdr" >&5
11690 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11691 echo $ac_n "(cached) $ac_c" 1>&6
11693 cat > conftest.
$ac_ext <<EOF
11694 #line 11695 "configure"
11695 #include "confdefs.h"
11698 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11699 { (eval echo configure
:11700: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11700 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11701 if test -z "$ac_err"; then
11703 eval "ac_cv_header_$ac_safe=yes"
11706 echo "configure: failed program was:" >&5
11707 cat conftest.
$ac_ext >&5
11709 eval "ac_cv_header_$ac_safe=no"
11713 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11714 echo "$ac_t""yes" 1>&6
11715 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11716 cat >> confdefs.h
<<EOF
11717 #define $ac_tr_hdr 1
11721 echo "$ac_t""no" 1>&6
11725 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11726 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11727 echo "configure:11728: checking for windows.h" >&5
11728 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11729 echo $ac_n "(cached) $ac_c" 1>&6
11731 cat > conftest.
$ac_ext <<EOF
11732 #line 11733 "configure"
11733 #include "confdefs.h"
11734 #include <windows.h>
11736 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11737 { (eval echo configure
:11738: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11738 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11739 if test -z "$ac_err"; then
11741 eval "ac_cv_header_$ac_safe=yes"
11744 echo "configure: failed program was:" >&5
11745 cat conftest.
$ac_ext >&5
11747 eval "ac_cv_header_$ac_safe=no"
11751 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11752 echo "$ac_t""yes" 1>&6
11755 echo "$ac_t""no" 1>&6
11757 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11762 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
11763 echo "configure:11764: checking if w32api has good enough MSIE support" >&5
11764 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
11765 echo $ac_n "(cached) $ac_c" 1>&6
11768 cat > conftest.
$ac_ext <<EOF
11769 #line 11770 "configure"
11770 #include "confdefs.h"
11771 #include <w32api.h>
11774 #define wxCHECK_W32API_VERSION( major, minor ) \
11775 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
11776 && ( ( __W32API_MAJOR_VERSION > (major) ) \
11777 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
11779 #if !wxCHECK_W32API_VERSION(1,1)
11780 #error You need w32api 1.1 or newer
11785 if { (eval echo configure
:11786: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11788 wx_cv_w32api_win32_ie
=yes
11791 echo "configure: failed program was:" >&5
11792 cat conftest.
$ac_ext >&5
11795 wx_cv_w32api_win32_ie
=no
11802 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
11803 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
11804 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
11807 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
11811 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
11812 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
11815 if test "$wxUSE_ODBC" = "yes" ; then
11816 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
11819 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
11820 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
11823 if test "$wxUSE_GUI" = "yes"; then
11832 if test "$wxUSE_MSW" = 1 ; then
11838 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
11842 if test "$wxUSE_GTK" = 1; then
11843 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
11844 echo "configure:11845: checking for GTK+ version" >&5
11846 gtk_version_cached
=1
11847 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
11848 echo $ac_n "(cached) $ac_c" 1>&6
11851 gtk_version_cached
=0
11852 echo "$ac_t""" 1>&6
11855 if test "$wxUSE_THREADS" = "yes"; then
11856 GTK_MODULES
=gthread
11860 if test "x$wxUSE_GTK2" = "xyes"; then
11861 # Check whether --enable-gtktest or --disable-gtktest was given.
11862 if test "${enable_gtktest+set}" = set; then
11863 enableval
="$enable_gtktest"
11870 pkg_config_args
=gtk
+-2.0
11871 for module
in .
$GTK_MODULES
11875 pkg_config_args
="$pkg_config_args gthread-2.0"
11882 # Extract the first word of "pkg-config", so it can be a program name with args.
11883 set dummy pkg
-config; ac_word
=$2
11884 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
11885 echo "configure:11886: checking for $ac_word" >&5
11886 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
11887 echo $ac_n "(cached) $ac_c" 1>&6
11889 case "$PKG_CONFIG" in
11891 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
11894 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
11897 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
11899 for ac_dir
in $ac_dummy; do
11900 test -z "$ac_dir" && ac_dir
=.
11901 if test -f $ac_dir/$ac_word; then
11902 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
11907 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
11911 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
11912 if test -n "$PKG_CONFIG"; then
11913 echo "$ac_t""$PKG_CONFIG" 1>&6
11915 echo "$ac_t""no" 1>&6
11919 if test x
$PKG_CONFIG != xno
; then
11920 if pkg
-config --atleast-pkgconfig-version 0.7 ; then
11923 echo *** pkg
-config too old
; version
0.7 or better required.
11931 min_gtk_version
=2.0.0
11932 echo $ac_n "checking for GTK+ - version >= $min_gtk_version""... $ac_c" 1>&6
11933 echo "configure:11934: checking for GTK+ - version >= $min_gtk_version" >&5
11935 if test x
$PKG_CONFIG != xno
; then
11936 ## don't try to run the test against uninstalled libtool libs
11937 if $PKG_CONFIG --uninstalled $pkg_config_args; then
11938 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
11942 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
11949 if test x
"$no_gtk" = x
; then
11950 GTK_CFLAGS
=`$PKG_CONFIG $pkg_config_args --cflags`
11951 GTK_LIBS
=`$PKG_CONFIG $pkg_config_args --libs`
11952 gtk_config_major_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11953 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
11954 gtk_config_minor_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11955 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
11956 gtk_config_micro_version
=`$PKG_CONFIG --modversion gtk+-2.0 | \
11957 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
11958 if test "x$enable_gtktest" = "xyes" ; then
11959 ac_save_CFLAGS
="$CFLAGS"
11960 ac_save_LIBS
="$LIBS"
11961 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11962 LIBS
="$GTK_LIBS $LIBS"
11964 if test "$cross_compiling" = yes; then
11965 echo $ac_n "cross compiling; assumed OK... $ac_c"
11967 cat > conftest.
$ac_ext <<EOF
11968 #line 11969 "configure"
11969 #include "confdefs.h"
11971 #include <gtk/gtk.h>
11973 #include <stdlib.h>
11978 int major, minor, micro;
11981 system ("touch conf.gtktest");
11983 /* HP/UX 9 (%@#!) writes to sscanf strings */
11984 tmp_version = g_strdup("$min_gtk_version");
11985 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
11986 printf("%s, bad version string\n", "$min_gtk_version");
11990 if ((gtk_major_version != $gtk_config_major_version) ||
11991 (gtk_minor_version != $gtk_config_minor_version) ||
11992 (gtk_micro_version != $gtk_config_micro_version))
11994 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
11995 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
11996 gtk_major_version, gtk_minor_version, gtk_micro_version);
11997 printf ("*** was found! If pkg-config was correct, then it is best\n");
11998 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
11999 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12000 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12001 printf("*** required on your system.\n");
12002 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
12003 printf("*** to point to the correct configuration files\n");
12005 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12006 (gtk_minor_version != GTK_MINOR_VERSION) ||
12007 (gtk_micro_version != GTK_MICRO_VERSION))
12009 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12010 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12011 printf("*** library (version %d.%d.%d)\n",
12012 gtk_major_version, gtk_minor_version, gtk_micro_version);
12016 if ((gtk_major_version > major) ||
12017 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12018 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12024 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12025 gtk_major_version, gtk_minor_version, gtk_micro_version);
12026 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12027 major, minor, micro);
12028 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12030 printf("*** If you have already installed a sufficiently new version, this error\n");
12031 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
12032 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12033 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
12034 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
12035 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12036 printf("*** so that the correct libraries are found at run-time))\n");
12043 if { (eval echo configure
:12044: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12047 echo "configure: failed program was:" >&5
12048 cat conftest.
$ac_ext >&5
12055 CFLAGS
="$ac_save_CFLAGS"
12056 LIBS
="$ac_save_LIBS"
12059 if test "x$no_gtk" = x
; then
12060 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
12063 echo "$ac_t""no" 1>&6
12064 if test "$PKG_CONFIG" = "no" ; then
12065 echo "*** A new enough version of pkg-config was not found."
12066 echo "*** See http://pkgconfig.sourceforge.net"
12068 if test -f conf.gtktest
; then
12071 echo "*** Could not run GTK+ test program, checking why..."
12072 ac_save_CFLAGS
="$CFLAGS"
12073 ac_save_LIBS
="$LIBS"
12074 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12075 LIBS
="$LIBS $GTK_LIBS"
12076 cat > conftest.
$ac_ext <<EOF
12077 #line 12078 "configure"
12078 #include "confdefs.h"
12080 #include <gtk/gtk.h>
12084 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12087 if { (eval echo configure
:12088: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12089 echo "*** The test program compiled, but did not run. This usually means"
12090 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
12091 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
12092 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12093 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12094 echo "*** is required on your system"
12096 echo "*** If you have an old version installed, it is best to remove it, although"
12097 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12099 echo "configure: failed program was:" >&5
12100 cat conftest.
$ac_ext >&5
12102 echo "*** The test program failed to compile or link. See the file config.log for the"
12103 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
12106 CFLAGS
="$ac_save_CFLAGS"
12107 LIBS
="$ac_save_LIBS"
12120 if test -z "$wx_cv_lib_gtk"; then
12121 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12122 if test "${with_gtk_prefix+set}" = set; then
12123 withval
="$with_gtk_prefix"
12124 gtk_config_prefix
="$withval"
12126 gtk_config_prefix
=""
12129 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12130 if test "${with_gtk_exec_prefix+set}" = set; then
12131 withval
="$with_gtk_exec_prefix"
12132 gtk_config_exec_prefix
="$withval"
12134 gtk_config_exec_prefix
=""
12137 # Check whether --enable-gtktest or --disable-gtktest was given.
12138 if test "${enable_gtktest+set}" = set; then
12139 enableval
="$enable_gtktest"
12146 for module
in .
$GTK_MODULES
12150 gtk_config_args
="$gtk_config_args gthread"
12155 if test x
$gtk_config_exec_prefix != x
; then
12156 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12157 if test x
${GTK_CONFIG+set} != xset
; then
12158 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12161 if test x
$gtk_config_prefix != x
; then
12162 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12163 if test x
${GTK_CONFIG+set} != xset
; then
12164 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12168 # Extract the first word of "gtk-config", so it can be a program name with args.
12169 set dummy gtk
-config; ac_word
=$2
12170 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12171 echo "configure:12172: checking for $ac_word" >&5
12172 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12173 echo $ac_n "(cached) $ac_c" 1>&6
12175 case "$GTK_CONFIG" in
12177 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12180 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12183 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12185 for ac_dir
in $ac_dummy; do
12186 test -z "$ac_dir" && ac_dir
=.
12187 if test -f $ac_dir/$ac_word; then
12188 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12193 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12197 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12198 if test -n "$GTK_CONFIG"; then
12199 echo "$ac_t""$GTK_CONFIG" 1>&6
12201 echo "$ac_t""no" 1>&6
12204 min_gtk_version
=1.2.7
12205 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12206 echo "configure:12207: checking for GTK - version >= $min_gtk_version" >&5
12208 if test "$GTK_CONFIG" = "no" ; then
12211 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12212 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12213 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12214 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12215 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12216 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12217 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12218 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12219 if test "x$enable_gtktest" = "xyes" ; then
12220 ac_save_CFLAGS
="$CFLAGS"
12221 ac_save_LIBS
="$LIBS"
12222 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12223 LIBS
="$GTK_LIBS $LIBS"
12225 if test "$cross_compiling" = yes; then
12226 echo $ac_n "cross compiling; assumed OK... $ac_c"
12228 cat > conftest.
$ac_ext <<EOF
12229 #line 12230 "configure"
12230 #include "confdefs.h"
12232 #include <gtk/gtk.h>
12234 #include <stdlib.h>
12239 int major, minor, micro;
12242 system ("touch conf.gtktest");
12244 /* HP/UX 9 (%@#!) writes to sscanf strings */
12245 tmp_version = g_strdup("$min_gtk_version");
12246 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12247 printf("%s, bad version string\n", "$min_gtk_version");
12251 if ((gtk_major_version != $gtk_config_major_version) ||
12252 (gtk_minor_version != $gtk_config_minor_version) ||
12253 (gtk_micro_version != $gtk_config_micro_version))
12255 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12256 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12257 gtk_major_version, gtk_minor_version, gtk_micro_version);
12258 printf ("*** was found! If gtk-config was correct, then it is best\n");
12259 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12260 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12261 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12262 printf("*** required on your system.\n");
12263 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12264 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12265 printf("*** before re-running configure\n");
12267 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12268 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12269 (gtk_minor_version != GTK_MINOR_VERSION) ||
12270 (gtk_micro_version != GTK_MICRO_VERSION))
12272 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12273 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12274 printf("*** library (version %d.%d.%d)\n",
12275 gtk_major_version, gtk_minor_version, gtk_micro_version);
12277 #endif /* defined (GTK_MAJOR_VERSION) ... */
12280 if ((gtk_major_version > major) ||
12281 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12282 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12288 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12289 gtk_major_version, gtk_minor_version, gtk_micro_version);
12290 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12291 major, minor, micro);
12292 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12294 printf("*** If you have already installed a sufficiently new version, this error\n");
12295 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12296 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12297 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12298 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12299 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12300 printf("*** so that the correct libraries are found at run-time))\n");
12307 if { (eval echo configure
:12308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12311 echo "configure: failed program was:" >&5
12312 cat conftest.
$ac_ext >&5
12319 CFLAGS
="$ac_save_CFLAGS"
12320 LIBS
="$ac_save_LIBS"
12323 if test "x$no_gtk" = x
; then
12324 echo "$ac_t""yes" 1>&6
12325 wx_cv_lib_gtk
=1.2.7
12327 echo "$ac_t""no" 1>&6
12328 if test "$GTK_CONFIG" = "no" ; then
12329 echo "*** The gtk-config script installed by GTK could not be found"
12330 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12331 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12332 echo "*** full path to gtk-config."
12334 if test -f conf.gtktest
; then
12337 echo "*** Could not run GTK test program, checking why..."
12338 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12339 LIBS
="$LIBS $GTK_LIBS"
12340 cat > conftest.
$ac_ext <<EOF
12341 #line 12342 "configure"
12342 #include "confdefs.h"
12344 #include <gtk/gtk.h>
12348 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12351 if { (eval echo configure
:12352: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12353 echo "*** The test program compiled, but did not run. This usually means"
12354 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12355 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12356 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12357 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12358 echo "*** is required on your system"
12360 echo "*** If you have an old version installed, it is best to remove it, although"
12361 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12363 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12364 echo "*** came with the system with the command"
12366 echo "*** rpm --erase --nodeps gtk gtk-devel"
12368 echo "configure: failed program was:" >&5
12369 cat conftest.
$ac_ext >&5
12371 echo "*** The test program failed to compile or link. See the file config.log for the"
12372 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12373 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12374 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12377 CFLAGS
="$ac_save_CFLAGS"
12378 LIBS
="$ac_save_LIBS"
12391 if test -z "$wx_cv_lib_gtk"; then
12392 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
12393 if test "${with_gtk_prefix+set}" = set; then
12394 withval
="$with_gtk_prefix"
12395 gtk_config_prefix
="$withval"
12397 gtk_config_prefix
=""
12400 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
12401 if test "${with_gtk_exec_prefix+set}" = set; then
12402 withval
="$with_gtk_exec_prefix"
12403 gtk_config_exec_prefix
="$withval"
12405 gtk_config_exec_prefix
=""
12408 # Check whether --enable-gtktest or --disable-gtktest was given.
12409 if test "${enable_gtktest+set}" = set; then
12410 enableval
="$enable_gtktest"
12417 for module
in .
$GTK_MODULES
12421 gtk_config_args
="$gtk_config_args gthread"
12426 if test x
$gtk_config_exec_prefix != x
; then
12427 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
12428 if test x
${GTK_CONFIG+set} != xset
; then
12429 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
12432 if test x
$gtk_config_prefix != x
; then
12433 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
12434 if test x
${GTK_CONFIG+set} != xset
; then
12435 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
12439 # Extract the first word of "gtk-config", so it can be a program name with args.
12440 set dummy gtk
-config; ac_word
=$2
12441 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12442 echo "configure:12443: checking for $ac_word" >&5
12443 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
12444 echo $ac_n "(cached) $ac_c" 1>&6
12446 case "$GTK_CONFIG" in
12448 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
12451 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
12454 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12456 for ac_dir
in $ac_dummy; do
12457 test -z "$ac_dir" && ac_dir
=.
12458 if test -f $ac_dir/$ac_word; then
12459 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
12464 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
12468 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
12469 if test -n "$GTK_CONFIG"; then
12470 echo "$ac_t""$GTK_CONFIG" 1>&6
12472 echo "$ac_t""no" 1>&6
12475 min_gtk_version
=1.2.3
12476 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
12477 echo "configure:12478: checking for GTK - version >= $min_gtk_version" >&5
12479 if test "$GTK_CONFIG" = "no" ; then
12482 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
12483 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
12484 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
12485 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
12486 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
12487 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
12488 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
12489 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
12490 if test "x$enable_gtktest" = "xyes" ; then
12491 ac_save_CFLAGS
="$CFLAGS"
12492 ac_save_LIBS
="$LIBS"
12493 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12494 LIBS
="$GTK_LIBS $LIBS"
12496 if test "$cross_compiling" = yes; then
12497 echo $ac_n "cross compiling; assumed OK... $ac_c"
12499 cat > conftest.
$ac_ext <<EOF
12500 #line 12501 "configure"
12501 #include "confdefs.h"
12503 #include <gtk/gtk.h>
12505 #include <stdlib.h>
12510 int major, minor, micro;
12513 system ("touch conf.gtktest");
12515 /* HP/UX 9 (%@#!) writes to sscanf strings */
12516 tmp_version = g_strdup("$min_gtk_version");
12517 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
12518 printf("%s, bad version string\n", "$min_gtk_version");
12522 if ((gtk_major_version != $gtk_config_major_version) ||
12523 (gtk_minor_version != $gtk_config_minor_version) ||
12524 (gtk_micro_version != $gtk_config_micro_version))
12526 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
12527 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
12528 gtk_major_version, gtk_minor_version, gtk_micro_version);
12529 printf ("*** was found! If gtk-config was correct, then it is best\n");
12530 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
12531 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
12532 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
12533 printf("*** required on your system.\n");
12534 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
12535 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
12536 printf("*** before re-running configure\n");
12538 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
12539 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
12540 (gtk_minor_version != GTK_MINOR_VERSION) ||
12541 (gtk_micro_version != GTK_MICRO_VERSION))
12543 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
12544 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
12545 printf("*** library (version %d.%d.%d)\n",
12546 gtk_major_version, gtk_minor_version, gtk_micro_version);
12548 #endif /* defined (GTK_MAJOR_VERSION) ... */
12551 if ((gtk_major_version > major) ||
12552 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
12553 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
12559 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
12560 gtk_major_version, gtk_minor_version, gtk_micro_version);
12561 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
12562 major, minor, micro);
12563 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
12565 printf("*** If you have already installed a sufficiently new version, this error\n");
12566 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
12567 printf("*** being found. The easiest way to fix this is to remove the old version\n");
12568 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
12569 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
12570 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
12571 printf("*** so that the correct libraries are found at run-time))\n");
12578 if { (eval echo configure
:12579: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
12582 echo "configure: failed program was:" >&5
12583 cat conftest.
$ac_ext >&5
12590 CFLAGS
="$ac_save_CFLAGS"
12591 LIBS
="$ac_save_LIBS"
12594 if test "x$no_gtk" = x
; then
12595 echo "$ac_t""yes" 1>&6
12596 wx_cv_lib_gtk
=1.2.3
12598 echo "$ac_t""no" 1>&6
12599 if test "$GTK_CONFIG" = "no" ; then
12600 echo "*** The gtk-config script installed by GTK could not be found"
12601 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
12602 echo "*** your path, or set the GTK_CONFIG environment variable to the"
12603 echo "*** full path to gtk-config."
12605 if test -f conf.gtktest
; then
12608 echo "*** Could not run GTK test program, checking why..."
12609 CFLAGS
="$CFLAGS $GTK_CFLAGS"
12610 LIBS
="$LIBS $GTK_LIBS"
12611 cat > conftest.
$ac_ext <<EOF
12612 #line 12613 "configure"
12613 #include "confdefs.h"
12615 #include <gtk/gtk.h>
12619 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
12622 if { (eval echo configure
:12623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12624 echo "*** The test program compiled, but did not run. This usually means"
12625 echo "*** that the run-time linker is not finding GTK or finding the wrong"
12626 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
12627 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
12628 echo "*** to the installed location Also, make sure you have run ldconfig if that"
12629 echo "*** is required on your system"
12631 echo "*** If you have an old version installed, it is best to remove it, although"
12632 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
12634 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
12635 echo "*** came with the system with the command"
12637 echo "*** rpm --erase --nodeps gtk gtk-devel"
12639 echo "configure: failed program was:" >&5
12640 cat conftest.
$ac_ext >&5
12642 echo "*** The test program failed to compile or link. See the file config.log for the"
12643 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
12644 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
12645 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
12648 CFLAGS
="$ac_save_CFLAGS"
12649 LIBS
="$ac_save_LIBS"
12662 if test -z "$wx_cv_lib_gtk"; then
12665 wx_cv_cflags_gtk
=$GTK_CFLAGS
12666 wx_cv_libs_gtk
=$GTK_LIBS
12673 if test "$gtk_version_cached" = 1; then
12674 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
12677 case "$wx_cv_lib_gtk" in
12685 *) { echo "configure: error:
12686 Please check that gtk-config is in path, the directory
12687 where GTK+ libraries are installed (returned by
12688 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
12689 equivalent variable and GTK+ is version 1.2.3 or above.
12694 if test "$WXGTK20" = 1; then
12695 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12699 if test -z "$PKG_CONFIG"; then
12700 # Extract the first word of "pkg-config", so it can be a program name with args.
12701 set dummy pkg
-config; ac_word
=$2
12702 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12703 echo "configure:12704: checking for $ac_word" >&5
12704 if eval "test \"`echo '$''{'ac_cv_path_PKG_CONFIG'+set}'`\" = set"; then
12705 echo $ac_n "(cached) $ac_c" 1>&6
12707 case "$PKG_CONFIG" in
12709 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
12712 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a dos path.
12715 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12717 for ac_dir
in $ac_dummy; do
12718 test -z "$ac_dir" && ac_dir
=.
12719 if test -f $ac_dir/$ac_word; then
12720 ac_cv_path_PKG_CONFIG
="$ac_dir/$ac_word"
12725 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG
="no"
12729 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
12730 if test -n "$PKG_CONFIG"; then
12731 echo "$ac_t""$PKG_CONFIG" 1>&6
12733 echo "$ac_t""no" 1>&6
12738 if test "$PKG_CONFIG" = "no" ; then
12739 echo "*** The pkg-config script could not be found. Make sure it is"
12740 echo "*** in your path, or set the PKG_CONFIG environment variable"
12741 echo "*** to the full path to pkg-config."
12742 echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
12744 PKG_CONFIG_MIN_VERSION
=0.9.0
12745 if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
12746 echo $ac_n "checking for pangoft2""... $ac_c" 1>&6
12747 echo "configure:12748: checking for pangoft2" >&5
12749 if $PKG_CONFIG --exists "pangoft2" ; then
12750 echo "$ac_t""yes" 1>&6
12753 echo $ac_n "checking PANGOFT2_CFLAGS""... $ac_c" 1>&6
12754 echo "configure:12755: checking PANGOFT2_CFLAGS" >&5
12755 PANGOFT2_CFLAGS
=`$PKG_CONFIG --cflags "pangoft2"`
12756 echo "$ac_t""$PANGOFT2_CFLAGS" 1>&6
12758 echo $ac_n "checking PANGOFT2_LIBS""... $ac_c" 1>&6
12759 echo "configure:12760: checking PANGOFT2_LIBS" >&5
12760 PANGOFT2_LIBS
=`$PKG_CONFIG --libs "pangoft2"`
12761 echo "$ac_t""$PANGOFT2_LIBS" 1>&6
12765 ## If we have a custom action on failure, don't print errors, but
12766 ## do set a variable so people can do so.
12767 PANGOFT2_PKG_ERRORS
=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
12774 echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
12775 echo "*** See http://www.freedesktop.org/software/pkgconfig"
12779 if test $succeeded = yes; then
12781 CXXFLAGS
="$CXXFLAGS $PANGOFT2_CFLAGS"
12782 LIBS
="$LIBS $PANGOFT2_LIBS"
12786 echo "configure: warning: pangoft2 library not found, library will be compiled without printing support" 1>&2
12787 wxUSE_PRINTING_ARCHITECTURE
="no"
12795 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
12796 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
12798 AFMINSTALL
=afminstall
12802 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
12803 echo "configure:12804: checking for gdk_im_open in -lgdk" >&5
12804 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
12805 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12806 echo $ac_n "(cached) $ac_c" 1>&6
12808 ac_save_LIBS
="$LIBS"
12810 cat > conftest.
$ac_ext <<EOF
12811 #line 12812 "configure"
12812 #include "confdefs.h"
12813 /* Override any gcc2 internal prototype to avoid an error. */
12814 /* We use char because int might match the return type of a gcc2
12815 builtin and then its argument prototype would still apply. */
12816 char gdk_im_open();
12822 if { (eval echo configure
:12823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12824 eval "ac_cv_lib_$ac_lib_var=yes"
12826 echo "configure: failed program was:" >&5
12827 cat conftest.
$ac_ext >&5
12829 eval "ac_cv_lib_$ac_lib_var=no"
12832 LIBS
="$ac_save_LIBS"
12835 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12836 echo "$ac_t""yes" 1>&6
12837 cat >> confdefs.h
<<\EOF
12842 echo "$ac_t""no" 1>&6
12847 if test "$wxUSE_MGL" = 1; then
12848 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
12849 echo "configure:12850: checking for SciTech MGL library" >&5
12850 if test "x$MGL_ROOT" = x
; then
12851 echo "$ac_t""not found" 1>&6
12852 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
12854 echo "$ac_t""$MGL_ROOT" 1>&6
12859 mgl_os
=linux
/gcc
/glibc
12865 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
12870 if test "$wxUSE_DEBUG_FLAG" = yes ; then
12871 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
12872 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
12876 if test "x$mgl_lib_type" = x
; then
12877 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
12878 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
12879 mgl_lib_type
=release
12881 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
12885 wxUSE_UNIVERSAL
="yes"
12887 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
12888 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
12890 AFMINSTALL
=afminstall
12895 if test "$wxUSE_MICROWIN" = 1; then
12896 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
12897 echo "configure:12898: checking for MicroWindows" >&5
12898 if test "x$MICROWINDOWS" = x
; then
12899 echo "$ac_t""not found" 1>&6
12900 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
12902 echo "$ac_t""$MICROWINDOWS" 1>&6
12905 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
12906 echo "$ac_t""MicroWindows' libraries found." 1>&6
12908 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
12911 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
12912 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
12914 wxUSE_UNIVERSAL
="yes"
12916 AFMINSTALL
=afminstall
12918 GUIDIST
=MICROWIN_DIST
12920 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
12923 if test "$wxUSE_X11" = 1; then
12924 # If we find X, set shell vars x_includes and x_libraries to the
12925 # paths, otherwise set no_x=yes.
12926 # Uses ac_ vars as temps to allow command line to override cache and checks.
12927 # --without-x overrides everything else, but does not touch the cache.
12928 echo $ac_n "checking for X""... $ac_c" 1>&6
12929 echo "configure:12930: checking for X" >&5
12931 # Check whether --with-x or --without-x was given.
12932 if test "${with_x+set}" = set; then
12937 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
12938 if test "x$with_x" = xno
; then
12939 # The user explicitly disabled X.
12942 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
12943 # Both variables are already set.
12946 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
12947 echo $ac_n "(cached) $ac_c" 1>&6
12949 # One or both of the vars are not set, and there is no cached value.
12950 ac_x_includes
=NO ac_x_libraries
=NO
12952 if mkdir conftestdir
; then
12954 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
12955 cat > Imakefile
<<'EOF'
12957 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
12959 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
12960 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12961 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
12962 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
12963 for ac_extension
in a so sl
; do
12964 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
12965 test -f $ac_im_libdir/libX11.
$ac_extension; then
12966 ac_im_usrlibdir
=$ac_im_libdir; break
12969 # Screen out bogus values from the imake configuration. They are
12970 # bogus both because they are the default anyway, and because
12971 # using them would break gcc on systems where it needs fixed includes.
12972 case "$ac_im_incroot" in
12974 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
12976 case "$ac_im_usrlibdir" in
12977 /usr
/lib
| /lib
) ;;
12978 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
12985 if test "$ac_x_includes" = NO
; then
12986 # Guess where to find include files, by looking for this one X11 .h file.
12987 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
12989 # First, try using that file with no special directory specified.
12990 cat > conftest.
$ac_ext <<EOF
12991 #line 12992 "configure"
12992 #include "confdefs.h"
12993 #include <$x_direct_test_include>
12995 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12996 { (eval echo configure
:12997: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12997 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12998 if test -z "$ac_err"; then
13000 # We can compile using X headers with no special include directory.
13004 echo "configure: failed program was:" >&5
13005 cat conftest.
$ac_ext >&5
13007 # Look for the header file in a standard set of common directories.
13008 # Check X11 before X11Rn because it is often a symlink to the current release.
13011 /usr
/X
11R
6/include \
13012 /usr
/X
11R
5/include \
13013 /usr
/X
11R
4/include \
13016 /usr
/include
/X11R6 \
13017 /usr
/include
/X11R5 \
13018 /usr
/include
/X11R4 \
13020 /usr
/local
/X
11/include \
13021 /usr
/local
/X
11R
6/include \
13022 /usr
/local
/X
11R
5/include \
13023 /usr
/local
/X
11R
4/include \
13025 /usr
/local
/include
/X11 \
13026 /usr
/local
/include
/X11R6 \
13027 /usr
/local
/include
/X11R5 \
13028 /usr
/local
/include
/X11R4 \
13030 /usr
/X
386/include \
13031 /usr
/x
386/include \
13032 /usr
/XFree
86/include
/X11 \
13035 /usr
/local
/include \
13036 /usr
/unsupported
/include \
13037 /usr
/athena
/include \
13038 /usr
/local
/x
11r
5/include \
13039 /usr
/lpp
/Xamples
/include \
13041 /usr
/openwin
/include \
13042 /usr
/openwin
/share
/include \
13045 if test -r "$ac_dir/$x_direct_test_include"; then
13046 ac_x_includes
=$ac_dir
13052 fi # $ac_x_includes = NO
13054 if test "$ac_x_libraries" = NO
; then
13055 # Check for the libraries.
13057 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
13058 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
13060 # See if we find them without any special options.
13061 # Don't add to $LIBS permanently.
13062 ac_save_LIBS
="$LIBS"
13063 LIBS
="-l$x_direct_test_library $LIBS"
13064 cat > conftest.
$ac_ext <<EOF
13065 #line 13066 "configure"
13066 #include "confdefs.h"
13069 ${x_direct_test_function}()
13072 if { (eval echo configure
:13073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13074 LIBS
="$ac_save_LIBS"
13075 # We can link X programs with no special library path.
13078 echo "configure: failed program was:" >&5
13079 cat conftest.
$ac_ext >&5
13081 LIBS
="$ac_save_LIBS"
13082 # First see if replacing the include by lib works.
13083 # Check X11 before X11Rn because it is often a symlink to the current release.
13084 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
13095 /usr
/local
/X
11/lib \
13096 /usr
/local
/X
11R
6/lib \
13097 /usr
/local
/X
11R
5/lib \
13098 /usr
/local
/X
11R
4/lib \
13100 /usr
/local
/lib
/X11 \
13101 /usr
/local
/lib
/X11R6 \
13102 /usr
/local
/lib
/X11R5 \
13103 /usr
/local
/lib
/X11R4 \
13107 /usr
/XFree
86/lib
/X11 \
13111 /usr
/unsupported
/lib \
13113 /usr
/local
/x
11r
5/lib \
13114 /usr
/lpp
/Xamples
/lib \
13118 /usr
/openwin
/share
/lib \
13121 for ac_extension
in a so sl
; do
13122 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
13123 ac_x_libraries
=$ac_dir
13130 fi # $ac_x_libraries = NO
13132 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
13133 # Didn't find X anywhere. Cache the known absence of X.
13134 ac_cv_have_x
="have_x=no"
13136 # Record where we found X for the cache.
13137 ac_cv_have_x
="have_x=yes \
13138 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
13142 eval "$ac_cv_have_x"
13145 if test "$have_x" != yes; then
13146 echo "$ac_t""$have_x" 1>&6
13149 # If each of the values was on the command line, it overrides each guess.
13150 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
13151 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
13152 # Update the cache value to reflect the command line values.
13153 ac_cv_have_x
="have_x=yes \
13154 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
13155 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
13158 if test "$no_x" = yes; then
13159 # Not all programs may use this symbol, but it does not hurt to define it.
13160 cat >> confdefs.h
<<\EOF
13161 #define X_DISPLAY_MISSING 1
13164 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13166 if test -n "$x_includes"; then
13167 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13170 # It would also be nice to do this for all -L options, not just this one.
13171 if test -n "$x_libraries"; then
13172 X_LIBS
="$X_LIBS -L$x_libraries"
13173 # For Solaris; some versions of Sun CC require a space after -R and
13174 # others require no space. Words are not sufficient . . . .
13175 case "`(uname -sr) 2>/dev/null`" in
13177 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13178 echo "configure:13179: checking whether -R must be followed by a space" >&5
13179 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13180 cat > conftest.
$ac_ext <<EOF
13181 #line 13182 "configure"
13182 #include "confdefs.h"
13188 if { (eval echo configure
:13189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13192 echo "configure: failed program was:" >&5
13193 cat conftest.
$ac_ext >&5
13198 if test $ac_R_nospace = yes; then
13199 echo "$ac_t""no" 1>&6
13200 X_LIBS
="$X_LIBS -R$x_libraries"
13202 LIBS
="$ac_xsave_LIBS -R $x_libraries"
13203 cat > conftest.
$ac_ext <<EOF
13204 #line 13205 "configure"
13205 #include "confdefs.h"
13211 if { (eval echo configure
:13212: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13215 echo "configure: failed program was:" >&5
13216 cat conftest.
$ac_ext >&5
13221 if test $ac_R_space = yes; then
13222 echo "$ac_t""yes" 1>&6
13223 X_LIBS
="$X_LIBS -R $x_libraries"
13225 echo "$ac_t""neither works" 1>&6
13228 LIBS
="$ac_xsave_LIBS"
13232 # Check for system-dependent libraries X programs must link with.
13233 # Do this before checking for the system-independent R6 libraries
13234 # (-lICE), since we may need -lsocket or whatever for X linking.
13236 if test "$ISC" = yes; then
13237 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
13239 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
13240 # libraries were built with DECnet support. And karl@cs.umb.edu says
13241 # the Alpha needs dnet_stub (dnet does not exist).
13242 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
13243 echo "configure:13244: checking for dnet_ntoa in -ldnet" >&5
13244 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13245 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13246 echo $ac_n "(cached) $ac_c" 1>&6
13248 ac_save_LIBS
="$LIBS"
13249 LIBS
="-ldnet $LIBS"
13250 cat > conftest.
$ac_ext <<EOF
13251 #line 13252 "configure"
13252 #include "confdefs.h"
13253 /* Override any gcc2 internal prototype to avoid an error. */
13254 /* We use char because int might match the return type of a gcc2
13255 builtin and then its argument prototype would still apply. */
13262 if { (eval echo configure
:13263: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13264 eval "ac_cv_lib_$ac_lib_var=yes"
13266 echo "configure: failed program was:" >&5
13267 cat conftest.
$ac_ext >&5
13269 eval "ac_cv_lib_$ac_lib_var=no"
13272 LIBS
="$ac_save_LIBS"
13275 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13276 echo "$ac_t""yes" 1>&6
13277 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
13279 echo "$ac_t""no" 1>&6
13282 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
13283 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
13284 echo "configure:13285: checking for dnet_ntoa in -ldnet_stub" >&5
13285 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
13286 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13287 echo $ac_n "(cached) $ac_c" 1>&6
13289 ac_save_LIBS
="$LIBS"
13290 LIBS
="-ldnet_stub $LIBS"
13291 cat > conftest.
$ac_ext <<EOF
13292 #line 13293 "configure"
13293 #include "confdefs.h"
13294 /* Override any gcc2 internal prototype to avoid an error. */
13295 /* We use char because int might match the return type of a gcc2
13296 builtin and then its argument prototype would still apply. */
13303 if { (eval echo configure
:13304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13305 eval "ac_cv_lib_$ac_lib_var=yes"
13307 echo "configure: failed program was:" >&5
13308 cat conftest.
$ac_ext >&5
13310 eval "ac_cv_lib_$ac_lib_var=no"
13313 LIBS
="$ac_save_LIBS"
13316 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13317 echo "$ac_t""yes" 1>&6
13318 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
13320 echo "$ac_t""no" 1>&6
13325 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13326 # to get the SysV transport functions.
13327 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
13329 # The nsl library prevents programs from opening the X display
13330 # on Irix 5.2, according to dickey@clark.net.
13331 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
13332 echo "configure:13333: checking for gethostbyname" >&5
13333 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
13334 echo $ac_n "(cached) $ac_c" 1>&6
13336 cat > conftest.
$ac_ext <<EOF
13337 #line 13338 "configure"
13338 #include "confdefs.h"
13339 /* System header to define __stub macros and hopefully few prototypes,
13340 which can conflict with char gethostbyname(); below. */
13341 #include <assert.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();
13349 /* The GNU C library defines this for functions which it implements
13350 to always fail with ENOSYS. Some functions are actually named
13351 something starting with __ and the normal name is an alias. */
13352 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
13360 if { (eval echo configure
:13361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13362 eval "ac_cv_func_gethostbyname=yes"
13364 echo "configure: failed program was:" >&5
13365 cat conftest.
$ac_ext >&5
13367 eval "ac_cv_func_gethostbyname=no"
13372 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
13373 echo "$ac_t""yes" 1>&6
13376 echo "$ac_t""no" 1>&6
13379 if test $ac_cv_func_gethostbyname = no
; then
13380 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
13381 echo "configure:13382: checking for gethostbyname in -lnsl" >&5
13382 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
13383 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13384 echo $ac_n "(cached) $ac_c" 1>&6
13386 ac_save_LIBS
="$LIBS"
13388 cat > conftest.
$ac_ext <<EOF
13389 #line 13390 "configure"
13390 #include "confdefs.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. */
13394 char gethostbyname();
13400 if { (eval echo configure
:13401: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13402 eval "ac_cv_lib_$ac_lib_var=yes"
13404 echo "configure: failed program was:" >&5
13405 cat conftest.
$ac_ext >&5
13407 eval "ac_cv_lib_$ac_lib_var=no"
13410 LIBS
="$ac_save_LIBS"
13413 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13414 echo "$ac_t""yes" 1>&6
13415 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
13417 echo "$ac_t""no" 1>&6
13422 # lieder@skyler.mavd.honeywell.com says without -lsocket,
13423 # socket/setsockopt and other routines are undefined under SCO ODT
13424 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
13425 # on later versions), says simon@lia.di.epfl.ch: it contains
13426 # gethostby* variants that don't use the nameserver (or something).
13427 # -lsocket must be given before -lnsl if both are needed.
13428 # We assume that if connect needs -lnsl, so does gethostbyname.
13429 echo $ac_n "checking for connect""... $ac_c" 1>&6
13430 echo "configure:13431: checking for connect" >&5
13431 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
13432 echo $ac_n "(cached) $ac_c" 1>&6
13434 cat > conftest.
$ac_ext <<EOF
13435 #line 13436 "configure"
13436 #include "confdefs.h"
13437 /* System header to define __stub macros and hopefully few prototypes,
13438 which can conflict with char connect(); below. */
13439 #include <assert.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. */
13447 /* The GNU C library defines this for functions which it implements
13448 to always fail with ENOSYS. Some functions are actually named
13449 something starting with __ and the normal name is an alias. */
13450 #if defined (__stub_connect) || defined (__stub___connect)
13458 if { (eval echo configure
:13459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13460 eval "ac_cv_func_connect=yes"
13462 echo "configure: failed program was:" >&5
13463 cat conftest.
$ac_ext >&5
13465 eval "ac_cv_func_connect=no"
13470 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
13471 echo "$ac_t""yes" 1>&6
13474 echo "$ac_t""no" 1>&6
13477 if test $ac_cv_func_connect = no
; then
13478 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
13479 echo "configure:13480: checking for connect in -lsocket" >&5
13480 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
13481 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13482 echo $ac_n "(cached) $ac_c" 1>&6
13484 ac_save_LIBS
="$LIBS"
13485 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
13486 cat > conftest.
$ac_ext <<EOF
13487 #line 13488 "configure"
13488 #include "confdefs.h"
13489 /* Override any gcc2 internal prototype to avoid an error. */
13490 /* We use char because int might match the return type of a gcc2
13491 builtin and then its argument prototype would still apply. */
13498 if { (eval echo configure
:13499: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13500 eval "ac_cv_lib_$ac_lib_var=yes"
13502 echo "configure: failed program was:" >&5
13503 cat conftest.
$ac_ext >&5
13505 eval "ac_cv_lib_$ac_lib_var=no"
13508 LIBS
="$ac_save_LIBS"
13511 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13512 echo "$ac_t""yes" 1>&6
13513 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
13515 echo "$ac_t""no" 1>&6
13520 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
13521 echo $ac_n "checking for remove""... $ac_c" 1>&6
13522 echo "configure:13523: checking for remove" >&5
13523 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
13524 echo $ac_n "(cached) $ac_c" 1>&6
13526 cat > conftest.
$ac_ext <<EOF
13527 #line 13528 "configure"
13528 #include "confdefs.h"
13529 /* System header to define __stub macros and hopefully few prototypes,
13530 which can conflict with char remove(); below. */
13531 #include <assert.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. */
13539 /* The GNU C library defines this for functions which it implements
13540 to always fail with ENOSYS. Some functions are actually named
13541 something starting with __ and the normal name is an alias. */
13542 #if defined (__stub_remove) || defined (__stub___remove)
13550 if { (eval echo configure
:13551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13552 eval "ac_cv_func_remove=yes"
13554 echo "configure: failed program was:" >&5
13555 cat conftest.
$ac_ext >&5
13557 eval "ac_cv_func_remove=no"
13562 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
13563 echo "$ac_t""yes" 1>&6
13566 echo "$ac_t""no" 1>&6
13569 if test $ac_cv_func_remove = no
; then
13570 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
13571 echo "configure:13572: checking for remove in -lposix" >&5
13572 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
13573 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13574 echo $ac_n "(cached) $ac_c" 1>&6
13576 ac_save_LIBS
="$LIBS"
13577 LIBS
="-lposix $LIBS"
13578 cat > conftest.
$ac_ext <<EOF
13579 #line 13580 "configure"
13580 #include "confdefs.h"
13581 /* Override any gcc2 internal prototype to avoid an error. */
13582 /* We use char because int might match the return type of a gcc2
13583 builtin and then its argument prototype would still apply. */
13590 if { (eval echo configure
:13591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13592 eval "ac_cv_lib_$ac_lib_var=yes"
13594 echo "configure: failed program was:" >&5
13595 cat conftest.
$ac_ext >&5
13597 eval "ac_cv_lib_$ac_lib_var=no"
13600 LIBS
="$ac_save_LIBS"
13603 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13604 echo "$ac_t""yes" 1>&6
13605 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
13607 echo "$ac_t""no" 1>&6
13612 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
13613 echo $ac_n "checking for shmat""... $ac_c" 1>&6
13614 echo "configure:13615: checking for shmat" >&5
13615 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
13616 echo $ac_n "(cached) $ac_c" 1>&6
13618 cat > conftest.
$ac_ext <<EOF
13619 #line 13620 "configure"
13620 #include "confdefs.h"
13621 /* System header to define __stub macros and hopefully few prototypes,
13622 which can conflict with char shmat(); below. */
13623 #include <assert.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. */
13631 /* The GNU C library defines this for functions which it implements
13632 to always fail with ENOSYS. Some functions are actually named
13633 something starting with __ and the normal name is an alias. */
13634 #if defined (__stub_shmat) || defined (__stub___shmat)
13642 if { (eval echo configure
:13643: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13644 eval "ac_cv_func_shmat=yes"
13646 echo "configure: failed program was:" >&5
13647 cat conftest.
$ac_ext >&5
13649 eval "ac_cv_func_shmat=no"
13654 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
13655 echo "$ac_t""yes" 1>&6
13658 echo "$ac_t""no" 1>&6
13661 if test $ac_cv_func_shmat = no
; then
13662 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
13663 echo "configure:13664: checking for shmat in -lipc" >&5
13664 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
13665 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13666 echo $ac_n "(cached) $ac_c" 1>&6
13668 ac_save_LIBS
="$LIBS"
13670 cat > conftest.
$ac_ext <<EOF
13671 #line 13672 "configure"
13672 #include "confdefs.h"
13673 /* Override any gcc2 internal prototype to avoid an error. */
13674 /* We use char because int might match the return type of a gcc2
13675 builtin and then its argument prototype would still apply. */
13682 if { (eval echo configure
:13683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13684 eval "ac_cv_lib_$ac_lib_var=yes"
13686 echo "configure: failed program was:" >&5
13687 cat conftest.
$ac_ext >&5
13689 eval "ac_cv_lib_$ac_lib_var=no"
13692 LIBS
="$ac_save_LIBS"
13695 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13696 echo "$ac_t""yes" 1>&6
13697 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
13699 echo "$ac_t""no" 1>&6
13705 # Check for libraries that X11R6 Xt/Xaw programs need.
13706 ac_save_LDFLAGS
="$LDFLAGS"
13707 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
13708 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
13709 # check for ICE first), but we must link in the order -lSM -lICE or
13710 # we get undefined symbols. So assume we have SM if we have ICE.
13711 # These have to be linked with before -lX11, unlike the other
13712 # libraries we check for below, so use a different variable.
13713 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
13714 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
13715 echo "configure:13716: checking for IceConnectionNumber in -lICE" >&5
13716 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
13717 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13718 echo $ac_n "(cached) $ac_c" 1>&6
13720 ac_save_LIBS
="$LIBS"
13721 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
13722 cat > conftest.
$ac_ext <<EOF
13723 #line 13724 "configure"
13724 #include "confdefs.h"
13725 /* Override any gcc2 internal prototype to avoid an error. */
13726 /* We use char because int might match the return type of a gcc2
13727 builtin and then its argument prototype would still apply. */
13728 char IceConnectionNumber();
13731 IceConnectionNumber()
13734 if { (eval echo configure
:13735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13736 eval "ac_cv_lib_$ac_lib_var=yes"
13738 echo "configure: failed program was:" >&5
13739 cat conftest.
$ac_ext >&5
13741 eval "ac_cv_lib_$ac_lib_var=no"
13744 LIBS
="$ac_save_LIBS"
13747 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13748 echo "$ac_t""yes" 1>&6
13749 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
13751 echo "$ac_t""no" 1>&6
13754 LDFLAGS
="$ac_save_LDFLAGS"
13759 if test "$no_x" = "yes"; then
13760 { echo "configure: error: X11 not found" 1>&2; exit 1; }
13763 GUI_TK_LIBRARY
="$X_LIBS"
13764 TOOLKIT_INCLUDE
="$X_CFLAGS"
13765 AFMINSTALL
=afminstall
13766 COMPILED_X_PROGRAM
=0
13768 if test "$wxUSE_NANOX" = "yes"; then
13769 echo $ac_n "checking for MicroWindows/NanoX distribution""... $ac_c" 1>&6
13770 echo "configure:13771: checking for MicroWindows/NanoX distribution" >&5
13771 if test "x$MICROWIN" = x
; then
13772 echo "$ac_t""not found" 1>&6
13773 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWIN is set." 1>&2; exit 1; }
13775 echo "$ac_t""$MICROWIN" 1>&6
13776 cat >> confdefs.h
<<\EOF
13777 #define wxUSE_NANOX 1
13784 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13785 echo "configure:13786: checking for Xpm library" >&5
13788 for ac_dir
in $SEARCH_LIB;
13790 for ac_extension
in a so sl dylib
; do
13791 if test -f "$ac_dir/libXpm.$ac_extension"; then
13792 ac_find_libraries
=$ac_dir
13798 if test "$ac_find_libraries" != "" ; then
13800 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
13802 if test $result = 0; then
13805 ac_path_to_link
=" -L$ac_find_libraries"
13808 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
13810 cat >> confdefs.h
<<\EOF
13811 #define wxHAVE_LIB_XPM 1
13814 echo "$ac_t""found at $ac_find_libraries" 1>&6
13816 cat > conftest.
$ac_ext <<EOF
13817 #line 13818 "configure"
13818 #include "confdefs.h"
13820 #include <X11/xpm.h>
13825 version = XpmLibraryVersion();
13829 if { (eval echo configure
:13830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13833 cat >> confdefs.h
<<\EOF
13834 #define wxHAVE_LIB_XPM 1
13837 echo "$ac_t""found in default search path" 1>&6
13838 COMPILED_X_PROGRAM
=0
13841 echo "configure: failed program was:" >&5
13842 cat conftest.
$ac_ext >&5
13845 echo "$ac_t""no" 1>&6
13846 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13853 wxUSE_UNIVERSAL
="yes"
13855 if test "$wxUSE_NANOX" = "yes"; then
13856 TOOLKIT_INCLUDE
="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
13857 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"
13858 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
13860 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lX11$xpm_link"
13863 TOOLKIT_VPATH
="\${top_srcdir}/src/x11"
13868 if test "$wxUSE_WINE" = 1; then
13869 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
13870 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
13871 echo "configure:13872: checking for windows.h" >&5
13872 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13873 echo $ac_n "(cached) $ac_c" 1>&6
13875 cat > conftest.
$ac_ext <<EOF
13876 #line 13877 "configure"
13877 #include "confdefs.h"
13878 #include <windows.h>
13880 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13881 { (eval echo configure
:13882: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13882 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13883 if test -z "$ac_err"; then
13885 eval "ac_cv_header_$ac_safe=yes"
13888 echo "configure: failed program was:" >&5
13889 cat conftest.
$ac_ext >&5
13891 eval "ac_cv_header_$ac_safe=no"
13895 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13896 echo "$ac_t""yes" 1>&6
13899 echo "$ac_t""no" 1>&6
13901 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
13907 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
13908 echo "configure:13909: checking for Xpm library" >&5
13911 for ac_dir
in $SEARCH_LIB;
13913 for ac_extension
in a so sl dylib
; do
13914 if test -f "$ac_dir/libXpm.$ac_extension"; then
13915 ac_find_libraries
=$ac_dir
13921 if test "$ac_find_libraries" != "" ; then
13922 GUI_TK_LIBRARY
="-L$ac_find_libraries"
13924 cat >> confdefs.h
<<\EOF
13925 #define wxHAVE_LIB_XPM 1
13928 echo "$ac_t""found at $ac_find_libraries" 1>&6
13930 echo "$ac_t""no" 1>&6
13931 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
13935 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
13936 echo "configure:13937: checking for Mesa library" >&5
13939 for ac_dir
in $SEARCH_LIB;
13941 for ac_extension
in a so sl dylib
; do
13942 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
13943 ac_find_libraries
=$ac_dir
13949 if test "$ac_find_libraries" != "" ; then
13950 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
13951 mesa_link
=" -lMesaGL"
13952 echo "$ac_t""found at $ac_find_libraries" 1>&6
13954 { echo "configure: error: no" 1>&2; exit 1; }
13957 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
13960 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
13963 if test "$wxUSE_MOTIF" = 1; then
13964 if test "$no_x" = yes; then
13965 # Not all programs may use this symbol, but it does not hurt to define it.
13966 cat >> confdefs.h
<<\EOF
13967 #define X_DISPLAY_MISSING 1
13970 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
13972 if test -n "$x_includes"; then
13973 X_CFLAGS
="$X_CFLAGS -I$x_includes"
13976 # It would also be nice to do this for all -L options, not just this one.
13977 if test -n "$x_libraries"; then
13978 X_LIBS
="$X_LIBS -L$x_libraries"
13979 # For Solaris; some versions of Sun CC require a space after -R and
13980 # others require no space. Words are not sufficient . . . .
13981 case "`(uname -sr) 2>/dev/null`" in
13983 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
13984 echo "configure:13985: checking whether -R must be followed by a space" >&5
13985 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
13986 cat > conftest.
$ac_ext <<EOF
13987 #line 13988 "configure"
13988 #include "confdefs.h"
13994 if { (eval echo configure
:13995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13998 echo "configure: failed program was:" >&5
13999 cat conftest.
$ac_ext >&5
14004 if test $ac_R_nospace = yes; then
14005 echo "$ac_t""no" 1>&6
14006 X_LIBS
="$X_LIBS -R$x_libraries"
14008 LIBS
="$ac_xsave_LIBS -R $x_libraries"
14009 cat > conftest.
$ac_ext <<EOF
14010 #line 14011 "configure"
14011 #include "confdefs.h"
14017 if { (eval echo configure
:14018: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14021 echo "configure: failed program was:" >&5
14022 cat conftest.
$ac_ext >&5
14027 if test $ac_R_space = yes; then
14028 echo "$ac_t""yes" 1>&6
14029 X_LIBS
="$X_LIBS -R $x_libraries"
14031 echo "$ac_t""neither works" 1>&6
14034 LIBS
="$ac_xsave_LIBS"
14038 # Check for system-dependent libraries X programs must link with.
14039 # Do this before checking for the system-independent R6 libraries
14040 # (-lICE), since we may need -lsocket or whatever for X linking.
14042 if test "$ISC" = yes; then
14043 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
14045 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
14046 # libraries were built with DECnet support. And karl@cs.umb.edu says
14047 # the Alpha needs dnet_stub (dnet does not exist).
14048 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
14049 echo "configure:14050: checking for dnet_ntoa in -ldnet" >&5
14050 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14051 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14052 echo $ac_n "(cached) $ac_c" 1>&6
14054 ac_save_LIBS
="$LIBS"
14055 LIBS
="-ldnet $LIBS"
14056 cat > conftest.
$ac_ext <<EOF
14057 #line 14058 "configure"
14058 #include "confdefs.h"
14059 /* Override any gcc2 internal prototype to avoid an error. */
14060 /* We use char because int might match the return type of a gcc2
14061 builtin and then its argument prototype would still apply. */
14068 if { (eval echo configure
:14069: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14070 eval "ac_cv_lib_$ac_lib_var=yes"
14072 echo "configure: failed program was:" >&5
14073 cat conftest.
$ac_ext >&5
14075 eval "ac_cv_lib_$ac_lib_var=no"
14078 LIBS
="$ac_save_LIBS"
14081 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14082 echo "$ac_t""yes" 1>&6
14083 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
14085 echo "$ac_t""no" 1>&6
14088 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
14089 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
14090 echo "configure:14091: checking for dnet_ntoa in -ldnet_stub" >&5
14091 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
14092 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14093 echo $ac_n "(cached) $ac_c" 1>&6
14095 ac_save_LIBS
="$LIBS"
14096 LIBS
="-ldnet_stub $LIBS"
14097 cat > conftest.
$ac_ext <<EOF
14098 #line 14099 "configure"
14099 #include "confdefs.h"
14100 /* Override any gcc2 internal prototype to avoid an error. */
14101 /* We use char because int might match the return type of a gcc2
14102 builtin and then its argument prototype would still apply. */
14109 if { (eval echo configure
:14110: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14111 eval "ac_cv_lib_$ac_lib_var=yes"
14113 echo "configure: failed program was:" >&5
14114 cat conftest.
$ac_ext >&5
14116 eval "ac_cv_lib_$ac_lib_var=no"
14119 LIBS
="$ac_save_LIBS"
14122 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14123 echo "$ac_t""yes" 1>&6
14124 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
14126 echo "$ac_t""no" 1>&6
14131 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14132 # to get the SysV transport functions.
14133 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
14135 # The nsl library prevents programs from opening the X display
14136 # on Irix 5.2, according to dickey@clark.net.
14137 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
14138 echo "configure:14139: checking for gethostbyname" >&5
14139 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
14140 echo $ac_n "(cached) $ac_c" 1>&6
14142 cat > conftest.
$ac_ext <<EOF
14143 #line 14144 "configure"
14144 #include "confdefs.h"
14145 /* System header to define __stub macros and hopefully few prototypes,
14146 which can conflict with char gethostbyname(); below. */
14147 #include <assert.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();
14155 /* The GNU C library defines this for functions which it implements
14156 to always fail with ENOSYS. Some functions are actually named
14157 something starting with __ and the normal name is an alias. */
14158 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
14166 if { (eval echo configure
:14167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14168 eval "ac_cv_func_gethostbyname=yes"
14170 echo "configure: failed program was:" >&5
14171 cat conftest.
$ac_ext >&5
14173 eval "ac_cv_func_gethostbyname=no"
14178 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
14179 echo "$ac_t""yes" 1>&6
14182 echo "$ac_t""no" 1>&6
14185 if test $ac_cv_func_gethostbyname = no
; then
14186 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
14187 echo "configure:14188: checking for gethostbyname in -lnsl" >&5
14188 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
14189 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14190 echo $ac_n "(cached) $ac_c" 1>&6
14192 ac_save_LIBS
="$LIBS"
14194 cat > conftest.
$ac_ext <<EOF
14195 #line 14196 "configure"
14196 #include "confdefs.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. */
14200 char gethostbyname();
14206 if { (eval echo configure
:14207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14208 eval "ac_cv_lib_$ac_lib_var=yes"
14210 echo "configure: failed program was:" >&5
14211 cat conftest.
$ac_ext >&5
14213 eval "ac_cv_lib_$ac_lib_var=no"
14216 LIBS
="$ac_save_LIBS"
14219 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14220 echo "$ac_t""yes" 1>&6
14221 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
14223 echo "$ac_t""no" 1>&6
14228 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14229 # socket/setsockopt and other routines are undefined under SCO ODT
14230 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14231 # on later versions), says simon@lia.di.epfl.ch: it contains
14232 # gethostby* variants that don't use the nameserver (or something).
14233 # -lsocket must be given before -lnsl if both are needed.
14234 # We assume that if connect needs -lnsl, so does gethostbyname.
14235 echo $ac_n "checking for connect""... $ac_c" 1>&6
14236 echo "configure:14237: checking for connect" >&5
14237 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
14238 echo $ac_n "(cached) $ac_c" 1>&6
14240 cat > conftest.
$ac_ext <<EOF
14241 #line 14242 "configure"
14242 #include "confdefs.h"
14243 /* System header to define __stub macros and hopefully few prototypes,
14244 which can conflict with char connect(); below. */
14245 #include <assert.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. */
14253 /* The GNU C library defines this for functions which it implements
14254 to always fail with ENOSYS. Some functions are actually named
14255 something starting with __ and the normal name is an alias. */
14256 #if defined (__stub_connect) || defined (__stub___connect)
14264 if { (eval echo configure
:14265: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14266 eval "ac_cv_func_connect=yes"
14268 echo "configure: failed program was:" >&5
14269 cat conftest.
$ac_ext >&5
14271 eval "ac_cv_func_connect=no"
14276 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
14277 echo "$ac_t""yes" 1>&6
14280 echo "$ac_t""no" 1>&6
14283 if test $ac_cv_func_connect = no
; then
14284 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
14285 echo "configure:14286: checking for connect in -lsocket" >&5
14286 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
14287 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14288 echo $ac_n "(cached) $ac_c" 1>&6
14290 ac_save_LIBS
="$LIBS"
14291 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
14292 cat > conftest.
$ac_ext <<EOF
14293 #line 14294 "configure"
14294 #include "confdefs.h"
14295 /* Override any gcc2 internal prototype to avoid an error. */
14296 /* We use char because int might match the return type of a gcc2
14297 builtin and then its argument prototype would still apply. */
14304 if { (eval echo configure
:14305: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14306 eval "ac_cv_lib_$ac_lib_var=yes"
14308 echo "configure: failed program was:" >&5
14309 cat conftest.
$ac_ext >&5
14311 eval "ac_cv_lib_$ac_lib_var=no"
14314 LIBS
="$ac_save_LIBS"
14317 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14318 echo "$ac_t""yes" 1>&6
14319 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
14321 echo "$ac_t""no" 1>&6
14326 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
14327 echo $ac_n "checking for remove""... $ac_c" 1>&6
14328 echo "configure:14329: checking for remove" >&5
14329 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
14330 echo $ac_n "(cached) $ac_c" 1>&6
14332 cat > conftest.
$ac_ext <<EOF
14333 #line 14334 "configure"
14334 #include "confdefs.h"
14335 /* System header to define __stub macros and hopefully few prototypes,
14336 which can conflict with char remove(); below. */
14337 #include <assert.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. */
14345 /* The GNU C library defines this for functions which it implements
14346 to always fail with ENOSYS. Some functions are actually named
14347 something starting with __ and the normal name is an alias. */
14348 #if defined (__stub_remove) || defined (__stub___remove)
14356 if { (eval echo configure
:14357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14358 eval "ac_cv_func_remove=yes"
14360 echo "configure: failed program was:" >&5
14361 cat conftest.
$ac_ext >&5
14363 eval "ac_cv_func_remove=no"
14368 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
14369 echo "$ac_t""yes" 1>&6
14372 echo "$ac_t""no" 1>&6
14375 if test $ac_cv_func_remove = no
; then
14376 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
14377 echo "configure:14378: checking for remove in -lposix" >&5
14378 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
14379 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14380 echo $ac_n "(cached) $ac_c" 1>&6
14382 ac_save_LIBS
="$LIBS"
14383 LIBS
="-lposix $LIBS"
14384 cat > conftest.
$ac_ext <<EOF
14385 #line 14386 "configure"
14386 #include "confdefs.h"
14387 /* Override any gcc2 internal prototype to avoid an error. */
14388 /* We use char because int might match the return type of a gcc2
14389 builtin and then its argument prototype would still apply. */
14396 if { (eval echo configure
:14397: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14398 eval "ac_cv_lib_$ac_lib_var=yes"
14400 echo "configure: failed program was:" >&5
14401 cat conftest.
$ac_ext >&5
14403 eval "ac_cv_lib_$ac_lib_var=no"
14406 LIBS
="$ac_save_LIBS"
14409 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14410 echo "$ac_t""yes" 1>&6
14411 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
14413 echo "$ac_t""no" 1>&6
14418 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14419 echo $ac_n "checking for shmat""... $ac_c" 1>&6
14420 echo "configure:14421: checking for shmat" >&5
14421 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
14422 echo $ac_n "(cached) $ac_c" 1>&6
14424 cat > conftest.
$ac_ext <<EOF
14425 #line 14426 "configure"
14426 #include "confdefs.h"
14427 /* System header to define __stub macros and hopefully few prototypes,
14428 which can conflict with char shmat(); below. */
14429 #include <assert.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. */
14437 /* The GNU C library defines this for functions which it implements
14438 to always fail with ENOSYS. Some functions are actually named
14439 something starting with __ and the normal name is an alias. */
14440 #if defined (__stub_shmat) || defined (__stub___shmat)
14448 if { (eval echo configure
:14449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14450 eval "ac_cv_func_shmat=yes"
14452 echo "configure: failed program was:" >&5
14453 cat conftest.
$ac_ext >&5
14455 eval "ac_cv_func_shmat=no"
14460 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
14461 echo "$ac_t""yes" 1>&6
14464 echo "$ac_t""no" 1>&6
14467 if test $ac_cv_func_shmat = no
; then
14468 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
14469 echo "configure:14470: checking for shmat in -lipc" >&5
14470 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
14471 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14472 echo $ac_n "(cached) $ac_c" 1>&6
14474 ac_save_LIBS
="$LIBS"
14476 cat > conftest.
$ac_ext <<EOF
14477 #line 14478 "configure"
14478 #include "confdefs.h"
14479 /* Override any gcc2 internal prototype to avoid an error. */
14480 /* We use char because int might match the return type of a gcc2
14481 builtin and then its argument prototype would still apply. */
14488 if { (eval echo configure
:14489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14490 eval "ac_cv_lib_$ac_lib_var=yes"
14492 echo "configure: failed program was:" >&5
14493 cat conftest.
$ac_ext >&5
14495 eval "ac_cv_lib_$ac_lib_var=no"
14498 LIBS
="$ac_save_LIBS"
14501 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14502 echo "$ac_t""yes" 1>&6
14503 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
14505 echo "$ac_t""no" 1>&6
14511 # Check for libraries that X11R6 Xt/Xaw programs need.
14512 ac_save_LDFLAGS
="$LDFLAGS"
14513 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
14514 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14515 # check for ICE first), but we must link in the order -lSM -lICE or
14516 # we get undefined symbols. So assume we have SM if we have ICE.
14517 # These have to be linked with before -lX11, unlike the other
14518 # libraries we check for below, so use a different variable.
14519 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
14520 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
14521 echo "configure:14522: checking for IceConnectionNumber in -lICE" >&5
14522 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
14523 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14524 echo $ac_n "(cached) $ac_c" 1>&6
14526 ac_save_LIBS
="$LIBS"
14527 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
14528 cat > conftest.
$ac_ext <<EOF
14529 #line 14530 "configure"
14530 #include "confdefs.h"
14531 /* Override any gcc2 internal prototype to avoid an error. */
14532 /* We use char because int might match the return type of a gcc2
14533 builtin and then its argument prototype would still apply. */
14534 char IceConnectionNumber();
14537 IceConnectionNumber()
14540 if { (eval echo configure
:14541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14542 eval "ac_cv_lib_$ac_lib_var=yes"
14544 echo "configure: failed program was:" >&5
14545 cat conftest.
$ac_ext >&5
14547 eval "ac_cv_lib_$ac_lib_var=no"
14550 LIBS
="$ac_save_LIBS"
14553 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14554 echo "$ac_t""yes" 1>&6
14555 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
14557 echo "$ac_t""no" 1>&6
14560 LDFLAGS
="$ac_save_LDFLAGS"
14565 if test "$no_x" = "yes"; then
14566 { echo "configure: error: X11 not found" 1>&2; exit 1; }
14569 GUI_TK_LIBRARY
="$X_LIBS"
14570 TOOLKIT_INCLUDE
="$X_CFLAGS"
14571 AFMINSTALL
=afminstall
14572 COMPILED_X_PROGRAM
=0
14574 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
14575 echo "configure:14576: checking for Motif/Lesstif headers" >&5
14578 for ac_dir
in $SEARCH_INCLUDE;
14580 if test -f "$ac_dir/Xm/Xm.h"; then
14581 ac_find_includes
=$ac_dir
14586 if test "$ac_find_includes" != "" ; then
14587 echo "$ac_t""found in $ac_find_includes" 1>&6
14589 ac_path_to_include
=$ac_find_includes
14590 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
14592 if test $result = 0; then
14593 ac_path_to_include
=""
14595 ac_path_to_include
=" -I$ac_find_includes"
14598 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
14600 cat > conftest.
$ac_ext <<EOF
14601 #line 14602 "configure"
14602 #include "confdefs.h"
14609 version = xmUseVersion;
14613 if { (eval echo configure
:14614: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14616 echo "$ac_t""found in default search path" 1>&6
14617 COMPILED_X_PROGRAM
=1
14620 echo "configure: failed program was:" >&5
14621 cat conftest.
$ac_ext >&5
14624 echo "$ac_t""no" 1>&6
14625 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
14632 if test "$COMPILED_X_PROGRAM" = 0; then
14633 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
14634 echo "configure:14635: checking for Motif/Lesstif library" >&5
14637 for ac_dir
in $SEARCH_LIB;
14639 for ac_extension
in a so sl dylib
; do
14640 if test -f "$ac_dir/libXm.$ac_extension"; then
14641 ac_find_libraries
=$ac_dir
14647 if test "$ac_find_libraries" != "" ; then
14648 echo "$ac_t""found at $ac_find_libraries" 1>&6
14651 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14653 if test $result = 0; then
14656 ac_path_to_link
=" -L$ac_find_libraries"
14659 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14661 save_CFLAGS
=$CFLAGS
14662 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
14664 cat > conftest.
$ac_ext <<EOF
14665 #line 14666 "configure"
14666 #include "confdefs.h"
14673 version = xmUseVersion;
14677 if { (eval echo configure
:14678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14680 echo "$ac_t""found in default search path" 1>&6
14681 COMPILED_X_PROGRAM
=1
14684 echo "configure: failed program was:" >&5
14685 cat conftest.
$ac_ext >&5
14688 echo "$ac_t""no" 1>&6
14689 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
14695 CFLAGS
=$save_CFLAGS
14700 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
14701 echo "configure:14702: checking for Xpm library" >&5
14704 for ac_dir
in $SEARCH_LIB;
14706 for ac_extension
in a so sl dylib
; do
14707 if test -f "$ac_dir/libXpm.$ac_extension"; then
14708 ac_find_libraries
=$ac_dir
14714 if test "$ac_find_libraries" != "" ; then
14716 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
14718 if test $result = 0; then
14721 ac_path_to_link
=" -L$ac_find_libraries"
14724 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
14727 cat >> confdefs.h
<<\EOF
14728 #define wxHAVE_LIB_XPM 1
14731 echo "$ac_t""found at $ac_find_libraries" 1>&6
14733 save_CFLAGS
=$CFLAGS
14734 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
14736 cat > conftest.
$ac_ext <<EOF
14737 #line 14738 "configure"
14738 #include "confdefs.h"
14740 #include <X11/xpm.h>
14745 version = XpmLibraryVersion();
14749 if { (eval echo configure
:14750: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14753 cat >> confdefs.h
<<\EOF
14754 #define wxHAVE_LIB_XPM 1
14757 echo "$ac_t""found in default search path" 1>&6
14758 COMPILED_X_PROGRAM
=0
14761 echo "configure: failed program was:" >&5
14762 cat conftest.
$ac_ext >&5
14765 echo "$ac_t""no" 1>&6
14766 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
14772 CFLAGS
=$save_CFLAGS
14775 echo $ac_n "checking if we need -lXp and/or -lSM -lICE""... $ac_c" 1>&6
14776 echo "configure:14777: checking if we need -lXp and/or -lSM -lICE" >&5
14780 for libp
in "" " -lXp"; do
14781 if test "$libs_found" = "0"; then
14782 for libsm_ice
in " -lSM -lICE"; do
14783 if test "$libs_found" = "0"; then
14785 LIBS
="$GUI_TK_LIBRARY -lXm${xpm_link} ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
14786 save_CFLAGS
=$CFLAGS
14787 CFLAGS
="$CFLAGS $TOOLKIT_INCLUDE"
14789 cat > conftest.
$ac_ext <<EOF
14790 #line 14791 "configure"
14791 #include "confdefs.h"
14794 #include <Xm/List.h>
14798 XmString string = NULL;
14801 XmListAddItem(w, string, position);
14805 if { (eval echo configure
:14806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14809 libsm_ice_link
="$libsm_ice"
14810 echo "$ac_t""need${libp_link}${libsm_ice_link}" 1>&6
14814 echo "configure: failed program was:" >&5
14815 cat conftest.
$ac_ext >&5
14823 CFLAGS
=$save_CFLAGS
14829 if test "$libs_found" = "0"; then
14830 echo "$ac_t""can't find the right libraries" 1>&6
14831 { echo "configure: error: can't link a simple motif program" 1>&2; exit 1; }
14834 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
14835 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
14840 if test "$wxUSE_MAC" = 1; then
14841 if test "$wxUSE_PRECOMP" = "yes"; then
14842 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
14844 CPPFLAGS
="$CPPFLAGS -no-cpp-precomp"
14846 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
14847 CFLAGS
="$CFLAGS -fpascal-strings"
14848 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
14850 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
14855 if test "$wxUSE_PM" = 1; then
14860 if test "$TOOLKIT" = "PM" ; then
14863 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
14866 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
14868 if test "$wxUSE_UNIVERSAL" = "yes"; then
14869 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
14871 ALL_SOURCES
="\$(ALL_SOURCES) \${UNIV_SOURCES}"
14872 ALL_HEADERS
="\$(ALL_HEADERS) \${UNIV_HEADERS}"
14874 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
14875 if test "$wxUSE_X11" = 1; then
14876 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}${PATH_IFS}\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
14878 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
14880 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
14883 ALL_OBJECTS
="\$(GUIOBJS)"
14884 ALL_SOURCES
="\$(ALL_SOURCES)"
14885 ALL_HEADERS
="\$(ALL_HEADERS)"
14888 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
14890 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
14891 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
14894 if test "$wxUSE_HTML" = "yes"; then
14895 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
14898 if test "$wxUSE_LIBJPEG" = "builtin" ; then
14899 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
14901 if test "$wxUSE_LIBTIFF" = "builtin" ; then
14902 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
14904 if test "$wxUSE_LIBPNG" = "builtin" ; then
14905 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
14908 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
14909 DISTDIR
="wx\$(TOOLKIT)"
14915 if test "$USE_WIN32" = 1 ; then
14916 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
14917 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
14921 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
14922 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
14925 ALL_SOURCES
="\$(ALL_SOURCES)"
14926 ALL_HEADERS
="\$(ALL_HEADERS)"
14928 PORT_FILES
="\${top_srcdir}/src/files.lst"
14930 GUIDIST
="BASE_DIST"
14935 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
14936 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
14939 if test "$wxUSE_REGEX" = "builtin" ; then
14940 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
14942 if test "$wxUSE_ZLIB" = "builtin" ; then
14943 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
14947 if test "$wxUSE_OPENGL" = "yes"; then
14948 if test "$wxUSE_MAC" = 1; then
14949 OPENGL_LIBS
="-framework OpenGL -framework AGL"
14950 elif test "$wxUSE_MSW" = 1; then
14951 OPENGL_LIBS
="-lopengl32 -lglu32"
14953 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14954 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14955 echo "configure:14956: checking for GL/gl.h" >&5
14956 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14957 echo $ac_n "(cached) $ac_c" 1>&6
14959 cat > conftest.
$ac_ext <<EOF
14960 #line 14961 "configure"
14961 #include "confdefs.h"
14964 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14965 { (eval echo configure
:14966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14966 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14967 if test -z "$ac_err"; then
14969 eval "ac_cv_header_$ac_safe=yes"
14972 echo "configure: failed program was:" >&5
14973 cat conftest.
$ac_ext >&5
14975 eval "ac_cv_header_$ac_safe=no"
14979 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14980 echo "$ac_t""yes" 1>&6
14982 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
14983 echo "configure:14984: checking for -lGL" >&5
14986 for ac_dir
in $SEARCH_LIB;
14988 for ac_extension
in a so sl dylib
; do
14989 if test -f "$ac_dir/libGL.$ac_extension"; then
14990 ac_find_libraries
=$ac_dir
14996 if test "$ac_find_libraries" != "" ; then
14998 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15000 if test $result = 0; then
15003 ac_path_to_link
=" -L$ac_find_libraries"
15006 if test "$ac_path_to_link" = " -L/usr/lib" ; then
15007 LDFLAGS_GL
="$LDFLAGS"
15009 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15011 OPENGL_LIBS
="-lGL -lGLU"
15012 echo "$ac_t""yes" 1>&6
15014 echo "$ac_t""no" 1>&6
15015 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
15016 echo "configure:15017: checking for -lMesaGL" >&5
15019 for ac_dir
in $SEARCH_LIB;
15021 for ac_extension
in a so sl dylib
; do
15022 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
15023 ac_find_libraries
=$ac_dir
15029 if test "$ac_find_libraries" != "" ; then
15031 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
15033 if test $result = 0; then
15036 ac_path_to_link
=" -L$ac_find_libraries"
15039 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
15040 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
15041 echo "$ac_t""yes" 1>&6
15043 echo "$ac_t""no" 1>&6
15048 echo "$ac_t""no" 1>&6
15052 if test "x$OPENGL_LIBS" = "x"; then
15053 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
15057 if test "$wxUSE_OPENGL" = "yes"; then
15058 cat >> confdefs.h
<<\EOF
15059 #define wxUSE_OPENGL 1
15062 cat >> confdefs.h
<<\EOF
15063 #define wxUSE_GLCANVAS 1
15066 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
15070 if test -z "$TOOLKIT_VPATH" ; then
15071 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
15074 if test -n "$TOOLKIT" ; then
15075 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
15078 lib_unicode_suffix
=
15079 if test "$wxUSE_UNICODE" = "yes"; then
15080 lib_unicode_suffix
=u
15084 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
15088 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
15089 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
15091 if test "$cross_compiling" = "yes"; then
15092 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
15093 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
15096 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
15097 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
15099 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15100 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
15102 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
15103 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15104 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
15105 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15108 *-*-cygwin* | *-*-mingw32* )
15112 if test "$cross_compiling" != "yes" -a "$TOOLKIT_DIR" = "msw"; then
15113 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15114 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
15115 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
15116 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
15118 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
15119 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
15124 if test "$wxUSE_MAC" = 1; then
15125 WX_RESOURCES_MACOSX_ASCII
="lib${WX_LIBRARY}.r"
15126 WX_RESOURCES_MACOSX_DATA
="lib${WX_LIBRARY}.rsrc"
15131 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
15132 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
15134 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
15135 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
15137 if test "$wxUSE_OPENGL" = "yes"; then
15138 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
15139 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
15144 if test "$wxUSE_SHARED" = "yes"; then
15146 *-pc-os2_emx | *-pc-os2-emx | \
15149 echo "configure: warning: Host system doesn't support shared libraries, disabling" 1>&2
15154 if test "$wxUSE_SHARED" = "yes"; then
15156 if test "$wxUSE_OPENGL" = "yes"; then
15157 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
15158 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
15160 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
15161 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
15164 if test "$GCC" = "yes"; then
15168 SHARED_LD
="${CXX} -shared -o"
15172 if test "$GCC" == "yes"; then
15173 SHARED_LD
="${SHARED_LD} ${PIC_FLAG}"
15175 LDFLAGS
="$LDFLAGS -L/usr/lib"
15177 SHARED_LD
="${CXX} -b -o"
15181 if test "$wxUSE_OPENGL" = "yes"; then
15182 WX_ALL_INSTALLED
="preinstall_gl"
15183 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15185 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15190 if test "$GCC" != "yes"; then
15191 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
15192 echo "configure:15193: checking for Intel compiler" >&5
15193 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
15194 echo $ac_n "(cached) $ac_c" 1>&6
15197 cat > conftest.
$ac_ext <<EOF
15198 #line 15199 "configure"
15199 #include "confdefs.h"
15203 #ifndef __INTEL_COMPILER
15209 if { (eval echo configure
:15210: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15213 echo "configure: failed program was:" >&5
15214 cat conftest.
$ac_ext >&5
15223 echo "$ac_t""$wx_cv_prog_icc" 1>&6
15224 if test "$wx_cv_prog_icc" = "yes"; then
15229 if test "$wxUSE_SONAME" = "yes" ; then
15230 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
15231 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
15232 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
15237 if test "$GCC" = yes ; then
15238 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
15240 SHARED_LD
="${CXX} -G -o"
15242 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
15243 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED_GL}"
15248 CFLAGS
="$CFLAGS -fno-common -DWXMAKINGDLL"
15249 CXXFLAGS
="$CXXFLAGS -fno-common -DWXMAKINGDLL"
15250 SHARED_LD
="\${top_srcdir}/distrib/mac/shared-ld-sh -undefined suppress -flat_namespace -o"
15251 PIC_FLAG
="-dynamic -fPIC"
15252 SONAME_FLAGS
="-compatibility_version ${WX_RELEASE} -current_version ${WX_VERSION}"
15253 SONAME_FLAGS_GL
=${SONAME_FLAGS}
15257 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
15258 set dummy makeC
++SharedLib
; ac_word
=$2
15259 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15260 echo "configure:15261: checking for $ac_word" >&5
15261 if eval "test \"`echo '$''{'ac_cv_prog_AIX_CXX_LD'+set}'`\" = set"; then
15262 echo $ac_n "(cached) $ac_c" 1>&6
15264 if test -n "$AIX_CXX_LD"; then
15265 ac_cv_prog_AIX_CXX_LD
="$AIX_CXX_LD" # Let the user override the test.
15267 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15269 for ac_dir
in $ac_dummy; do
15270 test -z "$ac_dir" && ac_dir
=.
15271 if test -f $ac_dir/$ac_word; then
15272 ac_cv_prog_AIX_CXX_LD
="makeC++SharedLib"
15277 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD
="/usr/lpp/xlC/bin/makeC++SharedLib"
15280 AIX_CXX_LD
="$ac_cv_prog_AIX_CXX_LD"
15281 if test -n "$AIX_CXX_LD"; then
15282 echo "$ac_t""$AIX_CXX_LD" 1>&6
15284 echo "$ac_t""no" 1>&6
15288 SHARED_LD
="$(AIX_CXX_LD) -p 0 -o"
15291 *-*-cygwin* | *-*-mingw32* )
15293 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
15295 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
15296 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
15298 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
15300 if test "$wxUSE_OPENGL" = "yes"; then
15301 WX_ALL_INSTALLED
="preinstall_gl"
15302 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
15304 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
15309 SHARED_LD
="${LD} -shared -o"
15312 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
15314 *-*-irix5* | *-*-irix6* | \
15321 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
15324 if test "x$WX_TARGET_LIBRARY" = "x"; then
15325 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
15326 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
15329 WX_TARGET_LIBRARY_TYPE
="so"
15330 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
15333 if test "$wxUSE_SHARED" = "no"; then
15335 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
15336 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15339 if test "$wxUSE_MAC" = 1; then
15340 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
15343 if test "$wxUSE_OPENGL" = "yes"; then
15344 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
15345 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
15347 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
15350 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
15351 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
15353 WX_TARGET_LIBRARY_TYPE
="a"
15354 INSTALL_LIBRARY
='$(INSTALL_DATA)'
15357 if test "$wxUSE_MAC" = 1; then
15358 LIBWXMACRES
="\$(top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
15359 WX_ALL
="${WX_ALL} ${LIBWXMACRES}"
15360 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
15361 # Extract the first word of "Rez", so it can be a program name with args.
15362 set dummy Rez
; ac_word
=$2
15363 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15364 echo "configure:15365: checking for $ac_word" >&5
15365 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
15366 echo $ac_n "(cached) $ac_c" 1>&6
15368 if test -n "$RESCOMP"; then
15369 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
15371 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15373 for ac_dir
in $ac_dummy; do
15374 test -z "$ac_dir" && ac_dir
=.
15375 if test -f $ac_dir/$ac_word; then
15376 ac_cv_prog_RESCOMP
="Rez"
15381 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
15384 RESCOMP
="$ac_cv_prog_RESCOMP"
15385 if test -n "$RESCOMP"; then
15386 echo "$ac_t""$RESCOMP" 1>&6
15388 echo "$ac_t""no" 1>&6
15391 # Extract the first word of "DeRez", so it can be a program name with args.
15392 set dummy DeRez
; ac_word
=$2
15393 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
15394 echo "configure:15395: checking for $ac_word" >&5
15395 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
15396 echo $ac_n "(cached) $ac_c" 1>&6
15398 if test -n "$DEREZ"; then
15399 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
15401 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
15403 for ac_dir
in $ac_dummy; do
15404 test -z "$ac_dir" && ac_dir
=.
15405 if test -f $ac_dir/$ac_word; then
15406 ac_cv_prog_DEREZ
="DeRez"
15411 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
15414 DEREZ
="$ac_cv_prog_DEREZ"
15415 if test -n "$DEREZ"; then
15416 echo "$ac_t""$DEREZ" 1>&6
15418 echo "$ac_t""no" 1>&6
15421 MACOSX_BUNDLE
="bundle"
15422 if test "$wxUSE_SHARED" = "yes"; then
15423 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r -o \$(BIN_PROGRAM)"
15424 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r -o"
15426 LIBWXMACRESCOMP
="\$(RESCOMP) -t APPL Carbon.r ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
15427 LIBWXMACRESWXCONFIG
="${RESCOMP} -t APPL Carbon.r \${prefix}/lib/${WX_RESOURCES_MACOSX_ASCII} -o"
15430 if test "$wxUSE_PM" = 1; then
15431 LIBWXMACRESCOMP
="emxbind -ep \$(BIN_PROGRAM)"
15436 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
15437 echo "configure:15438: checking for ANSI C header files" >&5
15438 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
15439 echo $ac_n "(cached) $ac_c" 1>&6
15441 cat > conftest.
$ac_ext <<EOF
15442 #line 15443 "configure"
15443 #include "confdefs.h"
15444 #include <stdlib.h>
15445 #include <stdarg.h>
15446 #include <string.h>
15449 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15450 { (eval echo configure
:15451: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15451 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15452 if test -z "$ac_err"; then
15454 ac_cv_header_stdc
=yes
15457 echo "configure: failed program was:" >&5
15458 cat conftest.
$ac_ext >&5
15460 ac_cv_header_stdc
=no
15464 if test $ac_cv_header_stdc = yes; then
15465 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15466 cat > conftest.
$ac_ext <<EOF
15467 #line 15468 "configure"
15468 #include "confdefs.h"
15469 #include <string.h>
15471 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15472 egrep "memchr" >/dev
/null
2>&1; then
15476 ac_cv_header_stdc
=no
15482 if test $ac_cv_header_stdc = yes; then
15483 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15484 cat > conftest.
$ac_ext <<EOF
15485 #line 15486 "configure"
15486 #include "confdefs.h"
15487 #include <stdlib.h>
15489 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15490 egrep "free" >/dev
/null
2>&1; then
15494 ac_cv_header_stdc
=no
15500 if test $ac_cv_header_stdc = yes; then
15501 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15502 if test "$cross_compiling" = yes; then
15505 cat > conftest.
$ac_ext <<EOF
15506 #line 15507 "configure"
15507 #include "confdefs.h"
15509 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
15510 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
15511 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
15512 int main () { int i; for (i = 0; i < 256; i++)
15513 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
15517 if { (eval echo configure
:15518: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
15521 echo "configure: failed program was:" >&5
15522 cat conftest.
$ac_ext >&5
15524 ac_cv_header_stdc
=no
15532 echo "$ac_t""$ac_cv_header_stdc" 1>&6
15533 if test $ac_cv_header_stdc = yes; then
15534 cat >> confdefs.h
<<\EOF
15535 #define STDC_HEADERS 1
15540 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
15541 echo "configure:15542: checking for mode_t" >&5
15542 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
15543 echo $ac_n "(cached) $ac_c" 1>&6
15545 cat > conftest.
$ac_ext <<EOF
15546 #line 15547 "configure"
15547 #include "confdefs.h"
15548 #include <sys/types.h>
15550 #include <stdlib.h>
15551 #include <stddef.h>
15554 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15555 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15557 ac_cv_type_mode_t
=yes
15560 ac_cv_type_mode_t
=no
15565 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
15566 if test $ac_cv_type_mode_t = no
; then
15567 cat >> confdefs.h
<<\EOF
15573 echo $ac_n "checking for off_t""... $ac_c" 1>&6
15574 echo "configure:15575: checking for off_t" >&5
15575 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
15576 echo $ac_n "(cached) $ac_c" 1>&6
15578 cat > conftest.
$ac_ext <<EOF
15579 #line 15580 "configure"
15580 #include "confdefs.h"
15581 #include <sys/types.h>
15583 #include <stdlib.h>
15584 #include <stddef.h>
15587 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15588 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15590 ac_cv_type_off_t
=yes
15593 ac_cv_type_off_t
=no
15598 echo "$ac_t""$ac_cv_type_off_t" 1>&6
15599 if test $ac_cv_type_off_t = no
; then
15600 cat >> confdefs.h
<<\EOF
15606 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
15607 echo "configure:15608: checking for pid_t" >&5
15608 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
15609 echo $ac_n "(cached) $ac_c" 1>&6
15611 cat > conftest.
$ac_ext <<EOF
15612 #line 15613 "configure"
15613 #include "confdefs.h"
15614 #include <sys/types.h>
15616 #include <stdlib.h>
15617 #include <stddef.h>
15620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15621 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15623 ac_cv_type_pid_t
=yes
15626 ac_cv_type_pid_t
=no
15631 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
15632 if test $ac_cv_type_pid_t = no
; then
15633 cat >> confdefs.h
<<\EOF
15639 echo $ac_n "checking for size_t""... $ac_c" 1>&6
15640 echo "configure:15641: checking for size_t" >&5
15641 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
15642 echo $ac_n "(cached) $ac_c" 1>&6
15644 cat > conftest.
$ac_ext <<EOF
15645 #line 15646 "configure"
15646 #include "confdefs.h"
15647 #include <sys/types.h>
15649 #include <stdlib.h>
15650 #include <stddef.h>
15653 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15654 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
15656 ac_cv_type_size_t
=yes
15659 ac_cv_type_size_t
=no
15664 echo "$ac_t""$ac_cv_type_size_t" 1>&6
15665 if test $ac_cv_type_size_t = no
; then
15666 cat >> confdefs.h
<<\EOF
15667 #define size_t unsigned
15672 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
15673 echo "configure:15674: checking for uid_t in sys/types.h" >&5
15674 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
15675 echo $ac_n "(cached) $ac_c" 1>&6
15677 cat > conftest.
$ac_ext <<EOF
15678 #line 15679 "configure"
15679 #include "confdefs.h"
15680 #include <sys/types.h>
15682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15683 egrep "uid_t" >/dev
/null
2>&1; then
15685 ac_cv_type_uid_t
=yes
15688 ac_cv_type_uid_t
=no
15694 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
15695 if test $ac_cv_type_uid_t = no
; then
15696 cat >> confdefs.h
<<\EOF
15700 cat >> confdefs.h
<<\EOF
15709 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15710 ac_cpp
='$CXXCPP $CPPFLAGS'
15711 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15712 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15713 cross_compiling
=$ac_cv_prog_cxx_cross
15715 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
15716 echo "configure:15717: checking if size_t is unsigned int" >&5
15717 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
15718 echo $ac_n "(cached) $ac_c" 1>&6
15720 cat > conftest.
$ac_ext <<EOF
15721 #line 15722 "configure"
15722 #include "confdefs.h"
15723 #include <stddef.h>
15728 struct Foo { void foo(size_t); void foo(unsigned int); };
15734 if { (eval echo configure
:15735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15736 wx_cv_size_t_is_uint
=no
15738 echo "configure: failed program was:" >&5
15739 cat conftest.
$ac_ext >&5
15741 wx_cv_size_t_is_uint
=yes
15748 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
15750 if test "$wx_cv_size_t_is_uint" = "yes"; then
15751 cat >> confdefs.h
<<\EOF
15752 #define wxSIZE_T_IS_UINT 1
15756 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
15757 echo "configure:15758: checking if size_t is unsigned long" >&5
15758 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
15759 echo $ac_n "(cached) $ac_c" 1>&6
15761 cat > conftest.
$ac_ext <<EOF
15762 #line 15763 "configure"
15763 #include "confdefs.h"
15764 #include <stddef.h>
15769 struct Foo { void foo(size_t); void foo(unsigned long); };
15775 if { (eval echo configure
:15776: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15777 wx_cv_size_t_is_ulong
=no
15779 echo "configure: failed program was:" >&5
15780 cat conftest.
$ac_ext >&5
15782 wx_cv_size_t_is_ulong
=yes
15789 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
15791 if test "$wx_cv_size_t_is_ulong" = "yes"; then
15792 cat >> confdefs.h
<<\EOF
15793 #define wxSIZE_T_IS_ULONG 1
15800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15801 ac_cpp
='$CPP $CPPFLAGS'
15802 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15803 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15804 cross_compiling
=$ac_cv_prog_cc_cross
15808 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
15809 echo "configure:15810: checking for pw_gecos in struct passwd" >&5
15810 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
15811 echo $ac_n "(cached) $ac_c" 1>&6
15814 cat > conftest.
$ac_ext <<EOF
15815 #line 15816 "configure"
15816 #include "confdefs.h"
15826 if { (eval echo configure
:15827: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15829 wx_cv_struct_pw_gecos
=yes
15832 echo "configure: failed program was:" >&5
15833 cat conftest.
$ac_ext >&5
15836 wx_cv_struct_pw_gecos
=no
15845 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
15847 if test "$wx_cv_struct_pw_gecos" = "yes"; then
15848 cat >> confdefs.h
<<\EOF
15849 #define HAVE_PW_GECOS 1
15855 if test "$wx_cv_sizeof_wchar_t" != "0"; then
15856 cat >> confdefs.h
<<\EOF
15857 #define wxUSE_WCHAR_T 1
15863 for ac_func
in wcslen
15865 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15866 echo "configure:15867: checking for $ac_func" >&5
15867 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15868 echo $ac_n "(cached) $ac_c" 1>&6
15870 cat > conftest.
$ac_ext <<EOF
15871 #line 15872 "configure"
15872 #include "confdefs.h"
15873 /* System header to define __stub macros and hopefully few prototypes,
15874 which can conflict with char $ac_func(); below. */
15875 #include <assert.h>
15876 /* Override any gcc2 internal prototype to avoid an error. */
15877 /* We use char because int might match the return type of a gcc2
15878 builtin and then its argument prototype would still apply. */
15883 /* The GNU C library defines this for functions which it implements
15884 to always fail with ENOSYS. Some functions are actually named
15885 something starting with __ and the normal name is an alias. */
15886 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15894 if { (eval echo configure
:15895: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15896 eval "ac_cv_func_$ac_func=yes"
15898 echo "configure: failed program was:" >&5
15899 cat conftest.
$ac_ext >&5
15901 eval "ac_cv_func_$ac_func=no"
15906 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15907 echo "$ac_t""yes" 1>&6
15908 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15909 cat >> confdefs.h
<<EOF
15910 #define $ac_tr_func 1
15914 echo "$ac_t""no" 1>&6
15919 if test "$WCSLEN_FOUND" = 0; then
15920 if test "$TOOLKIT" = "MSW"; then
15921 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
15922 echo "configure:15923: checking for wcslen in -lmsvcrt" >&5
15923 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
15924 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15925 echo $ac_n "(cached) $ac_c" 1>&6
15927 ac_save_LIBS
="$LIBS"
15928 LIBS
="-lmsvcrt $LIBS"
15929 cat > conftest.
$ac_ext <<EOF
15930 #line 15931 "configure"
15931 #include "confdefs.h"
15932 /* Override any gcc2 internal prototype to avoid an error. */
15933 /* We use char because int might match the return type of a gcc2
15934 builtin and then its argument prototype would still apply. */
15941 if { (eval echo configure
:15942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15943 eval "ac_cv_lib_$ac_lib_var=yes"
15945 echo "configure: failed program was:" >&5
15946 cat conftest.
$ac_ext >&5
15948 eval "ac_cv_lib_$ac_lib_var=no"
15951 LIBS
="$ac_save_LIBS"
15954 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15955 echo "$ac_t""yes" 1>&6
15958 echo "$ac_t""no" 1>&6
15962 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
15963 echo "configure:15964: checking for wcslen in -lw" >&5
15964 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
15965 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15966 echo $ac_n "(cached) $ac_c" 1>&6
15968 ac_save_LIBS
="$LIBS"
15970 cat > conftest.
$ac_ext <<EOF
15971 #line 15972 "configure"
15972 #include "confdefs.h"
15973 /* Override any gcc2 internal prototype to avoid an error. */
15974 /* We use char because int might match the return type of a gcc2
15975 builtin and then its argument prototype would still apply. */
15982 if { (eval echo configure
:15983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15984 eval "ac_cv_lib_$ac_lib_var=yes"
15986 echo "configure: failed program was:" >&5
15987 cat conftest.
$ac_ext >&5
15989 eval "ac_cv_lib_$ac_lib_var=no"
15992 LIBS
="$ac_save_LIBS"
15995 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15996 echo "$ac_t""yes" 1>&6
16002 echo "$ac_t""no" 1>&6
16008 if test "$WCSLEN_FOUND" = 1; then
16009 cat >> confdefs.h
<<\EOF
16010 #define HAVE_WCSLEN 1
16015 for ac_func
in wcsrtombs
16017 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16018 echo "configure:16019: checking for $ac_func" >&5
16019 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16020 echo $ac_n "(cached) $ac_c" 1>&6
16022 cat > conftest.
$ac_ext <<EOF
16023 #line 16024 "configure"
16024 #include "confdefs.h"
16025 /* System header to define __stub macros and hopefully few prototypes,
16026 which can conflict with char $ac_func(); below. */
16027 #include <assert.h>
16028 /* Override any gcc2 internal prototype to avoid an error. */
16029 /* We use char because int might match the return type of a gcc2
16030 builtin and then its argument prototype would still apply. */
16035 /* The GNU C library defines this for functions which it implements
16036 to always fail with ENOSYS. Some functions are actually named
16037 something starting with __ and the normal name is an alias. */
16038 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16046 if { (eval echo configure
:16047: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16048 eval "ac_cv_func_$ac_func=yes"
16050 echo "configure: failed program was:" >&5
16051 cat conftest.
$ac_ext >&5
16053 eval "ac_cv_func_$ac_func=no"
16058 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16059 echo "$ac_t""yes" 1>&6
16060 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16061 cat >> confdefs.h
<<EOF
16062 #define $ac_tr_func 1
16066 echo "$ac_t""no" 1>&6
16071 echo "configure: warning: Wide character support is unavailable" 1>&2
16076 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16077 ac_cpp
='$CXXCPP $CPPFLAGS'
16078 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16079 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16080 cross_compiling
=$ac_cv_prog_cxx_cross
16083 for ac_func
in vsnprintf
16085 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16086 echo "configure:16087: checking for $ac_func" >&5
16087 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16088 echo $ac_n "(cached) $ac_c" 1>&6
16090 cat > conftest.
$ac_ext <<EOF
16091 #line 16092 "configure"
16092 #include "confdefs.h"
16093 /* System header to define __stub macros and hopefully few prototypes,
16094 which can conflict with char $ac_func(); below. */
16095 #include <assert.h>
16096 /* Override any gcc2 internal prototype to avoid an error. */
16100 /* We use char because int might match the return type of a gcc2
16101 builtin and then its argument prototype would still apply. */
16106 /* The GNU C library defines this for functions which it implements
16107 to always fail with ENOSYS. Some functions are actually named
16108 something starting with __ and the normal name is an alias. */
16109 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16117 if { (eval echo configure
:16118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16119 eval "ac_cv_func_$ac_func=yes"
16121 echo "configure: failed program was:" >&5
16122 cat conftest.
$ac_ext >&5
16124 eval "ac_cv_func_$ac_func=no"
16129 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16130 echo "$ac_t""yes" 1>&6
16131 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16132 cat >> confdefs.h
<<EOF
16133 #define $ac_tr_func 1
16137 echo "$ac_t""no" 1>&6
16142 if test "$wxUSE_UNICODE" = yes; then
16143 for ac_func
in fputwc wprintf vswprintf
16145 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16146 echo "configure:16147: checking for $ac_func" >&5
16147 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16148 echo $ac_n "(cached) $ac_c" 1>&6
16150 cat > conftest.
$ac_ext <<EOF
16151 #line 16152 "configure"
16152 #include "confdefs.h"
16153 /* System header to define __stub macros and hopefully few prototypes,
16154 which can conflict with char $ac_func(); below. */
16155 #include <assert.h>
16156 /* Override any gcc2 internal prototype to avoid an error. */
16160 /* We use char because int might match the return type of a gcc2
16161 builtin and then its argument prototype would still apply. */
16166 /* The GNU C library defines this for functions which it implements
16167 to always fail with ENOSYS. Some functions are actually named
16168 something starting with __ and the normal name is an alias. */
16169 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16177 if { (eval echo configure
:16178: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16179 eval "ac_cv_func_$ac_func=yes"
16181 echo "configure: failed program was:" >&5
16182 cat conftest.
$ac_ext >&5
16184 eval "ac_cv_func_$ac_func=no"
16189 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16190 echo "$ac_t""yes" 1>&6
16191 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16192 cat >> confdefs.h
<<EOF
16193 #define $ac_tr_func 1
16197 echo "$ac_t""no" 1>&6
16204 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16205 ac_cpp
='$CPP $CPPFLAGS'
16206 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16207 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16208 cross_compiling
=$ac_cv_prog_cc_cross
16213 if test "$TOOLKIT" != "MSW"; then
16218 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16219 ac_cpp
='$CXXCPP $CPPFLAGS'
16220 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16221 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16222 cross_compiling
=$ac_cv_prog_cxx_cross
16226 # Check whether --with-libiconv-prefix or --without-libiconv-prefix was given.
16227 if test "${with_libiconv_prefix+set}" = set; then
16228 withval
="$with_libiconv_prefix"
16230 for dir
in `echo "$withval" | tr : ' '`; do
16231 if test -d $dir/include
; then CPPFLAGS
="$CPPFLAGS -I$dir/include"; fi
16232 if test -d $dir/lib
; then LDFLAGS
="$LDFLAGS -L$dir/lib"; fi
16238 echo $ac_n "checking for iconv""... $ac_c" 1>&6
16239 echo "configure:16240: checking for iconv" >&5
16240 if eval "test \"`echo '$''{'am_cv_func_iconv'+set}'`\" = set"; then
16241 echo $ac_n "(cached) $ac_c" 1>&6
16244 am_cv_func_iconv
="no, consider installing GNU libiconv"
16246 cat > conftest.
$ac_ext <<EOF
16247 #line 16248 "configure"
16248 #include "confdefs.h"
16249 #include <stdlib.h>
16252 iconv_t cd = iconv_open("","");
16253 iconv(cd,NULL,NULL,NULL,NULL);
16257 if { (eval echo configure
:16258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16259 am_cv_func_iconv
=yes
16261 echo "configure: failed program was:" >&5
16262 cat conftest.
$ac_ext >&5
16265 if test "$am_cv_func_iconv" != yes; then
16266 am_save_LIBS
="$LIBS"
16267 LIBS
="$LIBS -liconv"
16268 cat > conftest.
$ac_ext <<EOF
16269 #line 16270 "configure"
16270 #include "confdefs.h"
16271 #include <stdlib.h>
16274 iconv_t cd = iconv_open("","");
16275 iconv(cd,NULL,NULL,NULL,NULL);
16279 if { (eval echo configure
:16280: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16281 am_cv_lib_iconv
=yes
16282 am_cv_func_iconv
=yes
16284 echo "configure: failed program was:" >&5
16285 cat conftest.
$ac_ext >&5
16288 LIBS
="$am_save_LIBS"
16293 echo "$ac_t""$am_cv_func_iconv" 1>&6
16294 if test "$am_cv_func_iconv" = yes; then
16295 cat >> confdefs.h
<<\EOF
16296 #define HAVE_ICONV 1
16299 echo $ac_n "checking if iconv needs const""... $ac_c" 1>&6
16300 echo "configure:16301: checking if iconv needs const" >&5
16301 if eval "test \"`echo '$''{'wx_cv_func_iconv_const'+set}'`\" = set"; then
16302 echo $ac_n "(cached) $ac_c" 1>&6
16304 cat > conftest.
$ac_ext <<EOF
16305 #line 16306 "configure"
16306 #include "confdefs.h"
16308 #include <stdlib.h>
16314 #if defined(__STDC__) || defined(__cplusplus)
16315 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
16324 if { (eval echo configure
:16325: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16326 wx_cv_func_iconv_const
="no"
16328 echo "configure: failed program was:" >&5
16329 cat conftest.
$ac_ext >&5
16331 wx_cv_func_iconv_const
="yes"
16338 echo "$ac_t""$wx_cv_func_iconv_const" 1>&6
16341 if test "x$wx_cv_func_iconv_const" = "xyes"; then
16342 iconv_const
="const"
16345 cat >> confdefs.h
<<EOF
16346 #define ICONV_CONST $iconv_const
16351 if test "$am_cv_lib_iconv" = yes; then
16356 LIBS
="$LIBICONV $LIBS"
16358 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16359 ac_cpp
='$CPP $CPPFLAGS'
16360 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16361 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16362 cross_compiling
=$ac_cv_prog_cc_cross
16365 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
16366 for ac_func
in sigaction
16368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16369 echo "configure:16370: checking for $ac_func" >&5
16370 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16371 echo $ac_n "(cached) $ac_c" 1>&6
16373 cat > conftest.
$ac_ext <<EOF
16374 #line 16375 "configure"
16375 #include "confdefs.h"
16376 /* System header to define __stub macros and hopefully few prototypes,
16377 which can conflict with char $ac_func(); below. */
16378 #include <assert.h>
16379 /* Override any gcc2 internal prototype to avoid an error. */
16380 /* We use char because int might match the return type of a gcc2
16381 builtin and then its argument prototype would still apply. */
16386 /* The GNU C library defines this for functions which it implements
16387 to always fail with ENOSYS. Some functions are actually named
16388 something starting with __ and the normal name is an alias. */
16389 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16397 if { (eval echo configure
:16398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16399 eval "ac_cv_func_$ac_func=yes"
16401 echo "configure: failed program was:" >&5
16402 cat conftest.
$ac_ext >&5
16404 eval "ac_cv_func_$ac_func=no"
16409 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16410 echo "$ac_t""yes" 1>&6
16411 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16412 cat >> confdefs.h
<<EOF
16413 #define $ac_tr_func 1
16417 echo "$ac_t""no" 1>&6
16422 if test "$ac_cv_func_sigaction" = "no"; then
16423 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
16424 wxUSE_ON_FATAL_EXCEPTION
=no
16427 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16430 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16431 ac_cpp
='$CXXCPP $CPPFLAGS'
16432 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16433 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16434 cross_compiling
=$ac_cv_prog_cxx_cross
16437 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
16438 echo "configure:16439: checking for sa_handler type" >&5
16439 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
16440 echo $ac_n "(cached) $ac_c" 1>&6
16443 cat > conftest.
$ac_ext <<EOF
16444 #line 16445 "configure"
16445 #include "confdefs.h"
16446 #include <signal.h>
16449 extern void testSigHandler(int);
16451 struct sigaction sa;
16452 sa.sa_handler = testSigHandler;
16456 if { (eval echo configure
:16457: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16459 wx_cv_type_sa_handler
=int
16462 echo "configure: failed program was:" >&5
16463 cat conftest.
$ac_ext >&5
16466 wx_cv_type_sa_handler
=void
16473 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
16476 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
16477 ac_cpp
='$CPP $CPPFLAGS'
16478 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
16479 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
16480 cross_compiling
=$ac_cv_prog_cc_cross
16483 cat >> confdefs.h
<<EOF
16484 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
16490 for ac_func
in vfork
16492 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16493 echo "configure:16494: checking for $ac_func" >&5
16494 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16495 echo $ac_n "(cached) $ac_c" 1>&6
16497 cat > conftest.
$ac_ext <<EOF
16498 #line 16499 "configure"
16499 #include "confdefs.h"
16500 /* System header to define __stub macros and hopefully few prototypes,
16501 which can conflict with char $ac_func(); below. */
16502 #include <assert.h>
16503 /* Override any gcc2 internal prototype to avoid an error. */
16504 /* We use char because int might match the return type of a gcc2
16505 builtin and then its argument prototype would still apply. */
16510 /* The GNU C library defines this for functions which it implements
16511 to always fail with ENOSYS. Some functions are actually named
16512 something starting with __ and the normal name is an alias. */
16513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16521 if { (eval echo configure
:16522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16523 eval "ac_cv_func_$ac_func=yes"
16525 echo "configure: failed program was:" >&5
16526 cat conftest.
$ac_ext >&5
16528 eval "ac_cv_func_$ac_func=no"
16533 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16534 echo "$ac_t""yes" 1>&6
16535 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16536 cat >> confdefs.h
<<EOF
16537 #define $ac_tr_func 1
16541 echo "$ac_t""no" 1>&6
16546 for ac_func
in mkstemp mktemp
16548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16549 echo "configure:16550: checking for $ac_func" >&5
16550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16551 echo $ac_n "(cached) $ac_c" 1>&6
16553 cat > conftest.
$ac_ext <<EOF
16554 #line 16555 "configure"
16555 #include "confdefs.h"
16556 /* System header to define __stub macros and hopefully few prototypes,
16557 which can conflict with char $ac_func(); below. */
16558 #include <assert.h>
16559 /* Override any gcc2 internal prototype to avoid an error. */
16560 /* We use char because int might match the return type of a gcc2
16561 builtin and then its argument prototype would still apply. */
16566 /* The GNU C library defines this for functions which it implements
16567 to always fail with ENOSYS. Some functions are actually named
16568 something starting with __ and the normal name is an alias. */
16569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16577 if { (eval echo configure
:16578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16579 eval "ac_cv_func_$ac_func=yes"
16581 echo "configure: failed program was:" >&5
16582 cat conftest.
$ac_ext >&5
16584 eval "ac_cv_func_$ac_func=no"
16589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16590 echo "$ac_t""yes" 1>&6
16591 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16592 cat >> confdefs.h
<<EOF
16593 #define $ac_tr_func 1
16597 echo "$ac_t""no" 1>&6
16602 echo $ac_n "checking for statfs""... $ac_c" 1>&6
16603 echo "configure:16604: checking for statfs" >&5
16604 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
16605 echo $ac_n "(cached) $ac_c" 1>&6
16607 cat > conftest.
$ac_ext <<EOF
16608 #line 16609 "configure"
16609 #include "confdefs.h"
16611 #if defined(__BSD__)
16612 #include <sys/param.h>
16613 #include <sys/mount.h>
16615 #include <sys/vfs.h>
16629 if { (eval echo configure
:16630: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16632 wx_cv_func_statfs
=yes
16635 echo "configure: failed program was:" >&5
16636 cat conftest.
$ac_ext >&5
16639 wx_cv_func_statfs
=no
16647 echo "$ac_t""$wx_cv_func_statfs" 1>&6
16649 if test "$wx_cv_func_statfs" = "yes"; then
16650 cat >> confdefs.h
<<\EOF
16651 #define HAVE_STATFS 1
16655 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
16656 echo "configure:16657: checking for statvfs" >&5
16657 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
16658 echo $ac_n "(cached) $ac_c" 1>&6
16660 cat > conftest.
$ac_ext <<EOF
16661 #line 16662 "configure"
16662 #include "confdefs.h"
16664 #include <sys/statvfs.h>
16677 if { (eval echo configure
:16678: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16680 wx_cv_func_statvfs
=yes
16683 echo "configure: failed program was:" >&5
16684 cat conftest.
$ac_ext >&5
16687 wx_cv_func_statvfs
=no
16695 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
16697 if test "$wx_cv_func_statvfs" = "yes"; then
16698 cat >> confdefs.h
<<\EOF
16699 #define HAVE_STATVFS 1
16703 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
16707 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16708 for ac_func
in fcntl flock
16710 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16711 echo "configure:16712: checking for $ac_func" >&5
16712 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16713 echo $ac_n "(cached) $ac_c" 1>&6
16715 cat > conftest.
$ac_ext <<EOF
16716 #line 16717 "configure"
16717 #include "confdefs.h"
16718 /* System header to define __stub macros and hopefully few prototypes,
16719 which can conflict with char $ac_func(); below. */
16720 #include <assert.h>
16721 /* Override any gcc2 internal prototype to avoid an error. */
16722 /* We use char because int might match the return type of a gcc2
16723 builtin and then its argument prototype would still apply. */
16728 /* The GNU C library defines this for functions which it implements
16729 to always fail with ENOSYS. Some functions are actually named
16730 something starting with __ and the normal name is an alias. */
16731 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16739 if { (eval echo configure
:16740: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16741 eval "ac_cv_func_$ac_func=yes"
16743 echo "configure: failed program was:" >&5
16744 cat conftest.
$ac_ext >&5
16746 eval "ac_cv_func_$ac_func=no"
16751 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16752 echo "$ac_t""yes" 1>&6
16753 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16754 cat >> confdefs.h
<<EOF
16755 #define $ac_tr_func 1
16759 echo "$ac_t""no" 1>&6
16764 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
16765 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
16766 wxUSE_SNGLINST_CHECKER
=no
16770 for ac_func
in timegm
16772 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16773 echo "configure:16774: checking for $ac_func" >&5
16774 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16775 echo $ac_n "(cached) $ac_c" 1>&6
16777 cat > conftest.
$ac_ext <<EOF
16778 #line 16779 "configure"
16779 #include "confdefs.h"
16780 /* System header to define __stub macros and hopefully few prototypes,
16781 which can conflict with char $ac_func(); below. */
16782 #include <assert.h>
16783 /* Override any gcc2 internal prototype to avoid an error. */
16784 /* We use char because int might match the return type of a gcc2
16785 builtin and then its argument prototype would still apply. */
16790 /* The GNU C library defines this for functions which it implements
16791 to always fail with ENOSYS. Some functions are actually named
16792 something starting with __ and the normal name is an alias. */
16793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16801 if { (eval echo configure
:16802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16803 eval "ac_cv_func_$ac_func=yes"
16805 echo "configure: failed program was:" >&5
16806 cat conftest.
$ac_ext >&5
16808 eval "ac_cv_func_$ac_func=no"
16813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16814 echo "$ac_t""yes" 1>&6
16815 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16816 cat >> confdefs.h
<<EOF
16817 #define $ac_tr_func 1
16821 echo "$ac_t""no" 1>&6
16826 for ac_func
in putenv setenv
16828 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16829 echo "configure:16830: checking for $ac_func" >&5
16830 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16831 echo $ac_n "(cached) $ac_c" 1>&6
16833 cat > conftest.
$ac_ext <<EOF
16834 #line 16835 "configure"
16835 #include "confdefs.h"
16836 /* System header to define __stub macros and hopefully few prototypes,
16837 which can conflict with char $ac_func(); below. */
16838 #include <assert.h>
16839 /* Override any gcc2 internal prototype to avoid an error. */
16840 /* We use char because int might match the return type of a gcc2
16841 builtin and then its argument prototype would still apply. */
16846 /* The GNU C library defines this for functions which it implements
16847 to always fail with ENOSYS. Some functions are actually named
16848 something starting with __ and the normal name is an alias. */
16849 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16857 if { (eval echo configure
:16858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16859 eval "ac_cv_func_$ac_func=yes"
16861 echo "configure: failed program was:" >&5
16862 cat conftest.
$ac_ext >&5
16864 eval "ac_cv_func_$ac_func=no"
16869 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16870 echo "$ac_t""yes" 1>&6
16871 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16872 cat >> confdefs.h
<<EOF
16873 #define $ac_tr_func 1
16877 echo "$ac_t""no" 1>&6
16882 HAVE_SOME_SLEEP_FUNC
=0
16883 if test "$USE_BEOS" = 1; then
16884 cat >> confdefs.h
<<\EOF
16885 #define HAVE_SLEEP 1
16888 HAVE_SOME_SLEEP_FUNC
=1
16891 if test "$USE_DARWIN" = 1; then
16892 cat >> confdefs.h
<<\EOF
16893 #define HAVE_USLEEP 1
16896 HAVE_SOME_SLEEP_FUNC
=1
16899 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
16901 for ac_func
in nanosleep
16903 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16904 echo "configure:16905: checking for $ac_func" >&5
16905 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16906 echo $ac_n "(cached) $ac_c" 1>&6
16908 cat > conftest.
$ac_ext <<EOF
16909 #line 16910 "configure"
16910 #include "confdefs.h"
16911 /* System header to define __stub macros and hopefully few prototypes,
16912 which can conflict with char $ac_func(); below. */
16913 #include <assert.h>
16914 /* Override any gcc2 internal prototype to avoid an error. */
16915 /* We use char because int might match the return type of a gcc2
16916 builtin and then its argument prototype would still apply. */
16921 /* The GNU C library defines this for functions which it implements
16922 to always fail with ENOSYS. Some functions are actually named
16923 something starting with __ and the normal name is an alias. */
16924 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16932 if { (eval echo configure
:16933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16934 eval "ac_cv_func_$ac_func=yes"
16936 echo "configure: failed program was:" >&5
16937 cat conftest.
$ac_ext >&5
16939 eval "ac_cv_func_$ac_func=no"
16944 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16945 echo "$ac_t""yes" 1>&6
16946 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16947 cat >> confdefs.h
<<EOF
16948 #define $ac_tr_func 1
16950 cat >> confdefs.h
<<\EOF
16951 #define HAVE_NANOSLEEP 1
16955 echo "$ac_t""no" 1>&6
16956 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
16957 echo "configure:16958: checking for nanosleep in -lposix4" >&5
16958 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
16959 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16960 echo $ac_n "(cached) $ac_c" 1>&6
16962 ac_save_LIBS
="$LIBS"
16963 LIBS
="-lposix4 $LIBS"
16964 cat > conftest.
$ac_ext <<EOF
16965 #line 16966 "configure"
16966 #include "confdefs.h"
16967 /* Override any gcc2 internal prototype to avoid an error. */
16968 /* We use char because int might match the return type of a gcc2
16969 builtin and then its argument prototype would still apply. */
16976 if { (eval echo configure
:16977: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16978 eval "ac_cv_lib_$ac_lib_var=yes"
16980 echo "configure: failed program was:" >&5
16981 cat conftest.
$ac_ext >&5
16983 eval "ac_cv_lib_$ac_lib_var=no"
16986 LIBS
="$ac_save_LIBS"
16989 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16990 echo "$ac_t""yes" 1>&6
16992 cat >> confdefs.h
<<\EOF
16993 #define HAVE_NANOSLEEP 1
16996 POSIX4_LINK
=" -lposix4"
16999 echo "$ac_t""no" 1>&6
17001 for ac_func
in usleep
17003 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17004 echo "configure:17005: checking for $ac_func" >&5
17005 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17006 echo $ac_n "(cached) $ac_c" 1>&6
17008 cat > conftest.
$ac_ext <<EOF
17009 #line 17010 "configure"
17010 #include "confdefs.h"
17011 /* System header to define __stub macros and hopefully few prototypes,
17012 which can conflict with char $ac_func(); below. */
17013 #include <assert.h>
17014 /* Override any gcc2 internal prototype to avoid an error. */
17015 /* We use char because int might match the return type of a gcc2
17016 builtin and then its argument prototype would still apply. */
17021 /* The GNU C library defines this for functions which it implements
17022 to always fail with ENOSYS. Some functions are actually named
17023 something starting with __ and the normal name is an alias. */
17024 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17032 if { (eval echo configure
:17033: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17034 eval "ac_cv_func_$ac_func=yes"
17036 echo "configure: failed program was:" >&5
17037 cat conftest.
$ac_ext >&5
17039 eval "ac_cv_func_$ac_func=no"
17044 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17045 echo "$ac_t""yes" 1>&6
17046 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17047 cat >> confdefs.h
<<EOF
17048 #define $ac_tr_func 1
17050 cat >> confdefs.h
<<\EOF
17051 #define HAVE_USLEEP 1
17055 echo "$ac_t""no" 1>&6
17056 echo "configure: warning: wxSleep() function will not work" 1>&2
17072 for ac_func
in uname gethostname
17074 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17075 echo "configure:17076: checking for $ac_func" >&5
17076 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17077 echo $ac_n "(cached) $ac_c" 1>&6
17079 cat > conftest.
$ac_ext <<EOF
17080 #line 17081 "configure"
17081 #include "confdefs.h"
17082 /* System header to define __stub macros and hopefully few prototypes,
17083 which can conflict with char $ac_func(); below. */
17084 #include <assert.h>
17085 /* Override any gcc2 internal prototype to avoid an error. */
17086 /* We use char because int might match the return type of a gcc2
17087 builtin and then its argument prototype would still apply. */
17092 /* The GNU C library defines this for functions which it implements
17093 to always fail with ENOSYS. Some functions are actually named
17094 something starting with __ and the normal name is an alias. */
17095 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17103 if { (eval echo configure
:17104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17105 eval "ac_cv_func_$ac_func=yes"
17107 echo "configure: failed program was:" >&5
17108 cat conftest.
$ac_ext >&5
17110 eval "ac_cv_func_$ac_func=no"
17115 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17116 echo "$ac_t""yes" 1>&6
17117 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17118 cat >> confdefs.h
<<EOF
17119 #define $ac_tr_func 1
17123 echo "$ac_t""no" 1>&6
17130 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17131 ac_cpp
='$CXXCPP $CPPFLAGS'
17132 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17133 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17134 cross_compiling
=$ac_cv_prog_cxx_cross
17137 for ac_func
in strtok_r
17139 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17140 echo "configure:17141: checking for $ac_func" >&5
17141 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17142 echo $ac_n "(cached) $ac_c" 1>&6
17144 cat > conftest.
$ac_ext <<EOF
17145 #line 17146 "configure"
17146 #include "confdefs.h"
17147 /* System header to define __stub macros and hopefully few prototypes,
17148 which can conflict with char $ac_func(); below. */
17149 #include <assert.h>
17150 /* Override any gcc2 internal prototype to avoid an error. */
17154 /* We use char because int might match the return type of a gcc2
17155 builtin and then its argument prototype would still apply. */
17160 /* The GNU C library defines this for functions which it implements
17161 to always fail with ENOSYS. Some functions are actually named
17162 something starting with __ and the normal name is an alias. */
17163 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17171 if { (eval echo configure
:17172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17173 eval "ac_cv_func_$ac_func=yes"
17175 echo "configure: failed program was:" >&5
17176 cat conftest.
$ac_ext >&5
17178 eval "ac_cv_func_$ac_func=no"
17183 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17184 echo "$ac_t""yes" 1>&6
17185 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17186 cat >> confdefs.h
<<EOF
17187 #define $ac_tr_func 1
17191 echo "$ac_t""no" 1>&6
17197 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17198 ac_cpp
='$CPP $CPPFLAGS'
17199 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17200 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17201 cross_compiling
=$ac_cv_prog_cc_cross
17205 for ac_func
in inet_addr
17207 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17208 echo "configure:17209: checking for $ac_func" >&5
17209 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17210 echo $ac_n "(cached) $ac_c" 1>&6
17212 cat > conftest.
$ac_ext <<EOF
17213 #line 17214 "configure"
17214 #include "confdefs.h"
17215 /* System header to define __stub macros and hopefully few prototypes,
17216 which can conflict with char $ac_func(); below. */
17217 #include <assert.h>
17218 /* Override any gcc2 internal prototype to avoid an error. */
17219 /* We use char because int might match the return type of a gcc2
17220 builtin and then its argument prototype would still apply. */
17225 /* The GNU C library defines this for functions which it implements
17226 to always fail with ENOSYS. Some functions are actually named
17227 something starting with __ and the normal name is an alias. */
17228 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17236 if { (eval echo configure
:17237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17238 eval "ac_cv_func_$ac_func=yes"
17240 echo "configure: failed program was:" >&5
17241 cat conftest.
$ac_ext >&5
17243 eval "ac_cv_func_$ac_func=no"
17248 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17249 echo "$ac_t""yes" 1>&6
17250 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17251 cat >> confdefs.h
<<EOF
17252 #define $ac_tr_func 1
17254 cat >> confdefs.h
<<\EOF
17255 #define HAVE_INET_ADDR 1
17259 echo "$ac_t""no" 1>&6
17260 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
17261 echo "configure:17262: checking for inet_addr in -lnsl" >&5
17262 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
17263 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17264 echo $ac_n "(cached) $ac_c" 1>&6
17266 ac_save_LIBS
="$LIBS"
17268 cat > conftest.
$ac_ext <<EOF
17269 #line 17270 "configure"
17270 #include "confdefs.h"
17271 /* Override any gcc2 internal prototype to avoid an error. */
17272 /* We use char because int might match the return type of a gcc2
17273 builtin and then its argument prototype would still apply. */
17280 if { (eval echo configure
:17281: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17282 eval "ac_cv_lib_$ac_lib_var=yes"
17284 echo "configure: failed program was:" >&5
17285 cat conftest.
$ac_ext >&5
17287 eval "ac_cv_lib_$ac_lib_var=no"
17290 LIBS
="$ac_save_LIBS"
17293 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17294 echo "$ac_t""yes" 1>&6
17297 echo "$ac_t""no" 1>&6
17298 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
17299 echo "configure:17300: checking for inet_addr in -lresolv" >&5
17300 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
17301 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17302 echo $ac_n "(cached) $ac_c" 1>&6
17304 ac_save_LIBS
="$LIBS"
17305 LIBS
="-lresolv $LIBS"
17306 cat > conftest.
$ac_ext <<EOF
17307 #line 17308 "configure"
17308 #include "confdefs.h"
17309 /* Override any gcc2 internal prototype to avoid an error. */
17310 /* We use char because int might match the return type of a gcc2
17311 builtin and then its argument prototype would still apply. */
17318 if { (eval echo configure
:17319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17320 eval "ac_cv_lib_$ac_lib_var=yes"
17322 echo "configure: failed program was:" >&5
17323 cat conftest.
$ac_ext >&5
17325 eval "ac_cv_lib_$ac_lib_var=no"
17328 LIBS
="$ac_save_LIBS"
17331 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17332 echo "$ac_t""yes" 1>&6
17335 echo "$ac_t""no" 1>&6
17336 echo $ac_n "checking for inet_addr in -lsocket""... $ac_c" 1>&6
17337 echo "configure:17338: checking for inet_addr in -lsocket" >&5
17338 ac_lib_var
=`echo socket'_'inet_addr | sed 'y%./+-%__p_%'`
17339 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17340 echo $ac_n "(cached) $ac_c" 1>&6
17342 ac_save_LIBS
="$LIBS"
17343 LIBS
="-lsocket $LIBS"
17344 cat > conftest.
$ac_ext <<EOF
17345 #line 17346 "configure"
17346 #include "confdefs.h"
17347 /* Override any gcc2 internal prototype to avoid an error. */
17348 /* We use char because int might match the return type of a gcc2
17349 builtin and then its argument prototype would still apply. */
17356 if { (eval echo configure
:17357: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17358 eval "ac_cv_lib_$ac_lib_var=yes"
17360 echo "configure: failed program was:" >&5
17361 cat conftest.
$ac_ext >&5
17363 eval "ac_cv_lib_$ac_lib_var=no"
17366 LIBS
="$ac_save_LIBS"
17369 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17370 echo "$ac_t""yes" 1>&6
17374 echo "$ac_t""no" 1>&6
17389 for ac_func
in inet_aton
17391 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17392 echo "configure:17393: checking for $ac_func" >&5
17393 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17394 echo $ac_n "(cached) $ac_c" 1>&6
17396 cat > conftest.
$ac_ext <<EOF
17397 #line 17398 "configure"
17398 #include "confdefs.h"
17399 /* System header to define __stub macros and hopefully few prototypes,
17400 which can conflict with char $ac_func(); below. */
17401 #include <assert.h>
17402 /* Override any gcc2 internal prototype to avoid an error. */
17403 /* We use char because int might match the return type of a gcc2
17404 builtin and then its argument prototype would still apply. */
17409 /* The GNU C library defines this for functions which it implements
17410 to always fail with ENOSYS. Some functions are actually named
17411 something starting with __ and the normal name is an alias. */
17412 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17420 if { (eval echo configure
:17421: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17422 eval "ac_cv_func_$ac_func=yes"
17424 echo "configure: failed program was:" >&5
17425 cat conftest.
$ac_ext >&5
17427 eval "ac_cv_func_$ac_func=no"
17432 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17433 echo "$ac_t""yes" 1>&6
17434 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17435 cat >> confdefs.h
<<EOF
17436 #define $ac_tr_func 1
17438 cat >> confdefs.h
<<\EOF
17439 #define HAVE_INET_ATON 1
17443 echo "$ac_t""no" 1>&6
17444 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
17445 echo "configure:17446: checking for inet_aton in -l$INET_LINK" >&5
17446 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
17447 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17448 echo $ac_n "(cached) $ac_c" 1>&6
17450 ac_save_LIBS
="$LIBS"
17451 LIBS
="-l$INET_LINK $LIBS"
17452 cat > conftest.
$ac_ext <<EOF
17453 #line 17454 "configure"
17454 #include "confdefs.h"
17455 /* Override any gcc2 internal prototype to avoid an error. */
17456 /* We use char because int might match the return type of a gcc2
17457 builtin and then its argument prototype would still apply. */
17464 if { (eval echo configure
:17465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17466 eval "ac_cv_lib_$ac_lib_var=yes"
17468 echo "configure: failed program was:" >&5
17469 cat conftest.
$ac_ext >&5
17471 eval "ac_cv_lib_$ac_lib_var=no"
17474 LIBS
="$ac_save_LIBS"
17477 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17478 echo "$ac_t""yes" 1>&6
17479 cat >> confdefs.h
<<\EOF
17480 #define HAVE_INET_ATON 1
17484 echo "$ac_t""no" 1>&6
17492 if test "x$INET_LINK" != "x"; then
17493 cat >> confdefs.h
<<\EOF
17494 #define HAVE_INET_ADDR 1
17497 INET_LINK
=" -l$INET_LINK"
17503 cat > confcache
<<\EOF
17504 # This file is a shell script that caches the results of configure
17505 # tests run on this system so they can be shared between configure
17506 # scripts and configure runs. It is not useful on other systems.
17507 # If it contains results you don't want to keep, you may remove or edit it.
17509 # By default, configure uses ./config.cache as the cache file,
17510 # creating it if it does not exist already. You can give configure
17511 # the --cache-file=FILE option to use a different cache file; that is
17512 # what configure does when it calls configure scripts in
17513 # subdirectories, so they share the cache.
17514 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17515 # config.status only pays attention to the cache file if you give it the
17516 # --recheck option to rerun configure.
17519 # The following way of writing the cache mishandles newlines in values,
17520 # but we know of no workaround that is simple, portable, and efficient.
17521 # So, don't put newlines in cache variables' values.
17522 # Ultrix sh set writes to stderr and can't be redirected directly,
17523 # and sets the high bit in the cache file unless we assign to the vars.
17525 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17527 # `set' does not quote correctly, so add quotes (double-quote substitution
17528 # turns \\\\ into \\, and sed turns \\ into \).
17530 -e "s/'/'\\\\''/g" \
17531 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17534 # `set' quotes correctly as required by POSIX, so do not add quotes.
17535 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17538 if cmp -s $cache_file confcache
; then
17541 if test -w $cache_file; then
17542 echo "updating cache $cache_file"
17543 cat confcache
> $cache_file
17545 echo "not updating unwritable cache $cache_file"
17553 COMMON_THREADCPPFLAGS
=
17554 if test "$TOOLKIT" != "MSW"; then
17560 if test "$wxUSE_THREADS" = "yes" ; then
17561 if test "$wxUSE_WINE" = 1 ; then
17562 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
17564 elif test "$USE_BEOS" = 1; then
17565 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
17570 if test "$wxUSE_THREADS" = "yes" ; then
17573 THREAD_OPTS
="-pthread"
17575 *-*-solaris2* | *-*-sunos4* )
17576 if test "x$GCC" = "xyes"; then
17577 THREAD_OPTS
="-pthreads $THREAD_OPTS"
17579 THREAD_OPTS
="-mt $THREAD_OPTS"
17583 THREAD_OPTS
="-kthread lthread $THREAD_OPTS c_r"
17585 *-*-darwin* | *-*-cygwin* )
17589 THREAD_OPTS
="pthreads"
17593 THREAD_OPTS
="$THREAD_OPTS pthread none"
17596 for flag
in $THREAD_OPTS; do
17599 echo $ac_n "checking whether pthreads work without any flags""... $ac_c" 1>&6
17600 echo "configure:17601: checking whether pthreads work without any flags" >&5
17604 echo $ac_n "checking whether pthreads work with $flag""... $ac_c" 1>&6
17605 echo "configure:17606: checking whether pthreads work with $flag" >&5
17606 THREADS_CFLAGS
="$flag"
17610 echo $ac_n "checking for the pthreads library -l$flag""... $ac_c" 1>&6
17611 echo "configure:17612: checking for the pthreads library -l$flag" >&5
17612 THREADS_LINK
="-l$flag"
17617 save_CFLAGS
="$CFLAGS"
17618 LIBS
="$THREADS_LINK $LIBS"
17619 CFLAGS
="$THREADS_CFLAGS $CFLAGS"
17621 cat > conftest.
$ac_ext <<EOF
17622 #line 17623 "configure"
17623 #include "confdefs.h"
17624 #include <pthread.h>
17626 pthread_create(0,0,0,0);
17629 if { (eval echo configure
:17630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17633 echo "configure: failed program was:" >&5
17634 cat conftest.
$ac_ext >&5
17639 CFLAGS
="$save_CFLAGS"
17641 echo "$ac_t""$THREADS_OK" 1>&6
17642 if test "x$THREADS_OK" = "xyes"; then
17650 if test "x$THREADS_OK" != "xyes"; then
17652 echo "configure: warning: No thread support on this system... disabled" 1>&2
17654 LIBS
="$THREADS_LINK $THREADS_CFLAGS $LIBS"
17656 echo $ac_n "checking if more special flags are required for pthreads""... $ac_c" 1>&6
17657 echo "configure:17658: checking if more special flags are required for pthreads" >&5
17660 *-aix* | *-freebsd*)
17661 flag
="-D_THREAD_SAFE"
17663 *solaris
* | alpha
*-osf*)
17664 flag
="-D_REENTRANT"
17667 echo "$ac_t""${flag}" 1>&6
17668 if test "x$flag" != xno
; then
17669 THREADS_CFLAGS
="$THREADS_CFLAGS $flag"
17672 if test "x$THREADS_CFLAGS" != "x"; then
17673 CFLAGS
="$CFLAGS $THREADS_CFLAGS"
17674 CXXFLAGS
="$CXXFLAGS $THREADS_CFLAGS"
17679 if test "$wxUSE_THREADS" = "yes" ; then
17680 for ac_func
in thr_setconcurrency
17682 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17683 echo "configure:17684: checking for $ac_func" >&5
17684 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17685 echo $ac_n "(cached) $ac_c" 1>&6
17687 cat > conftest.
$ac_ext <<EOF
17688 #line 17689 "configure"
17689 #include "confdefs.h"
17690 /* System header to define __stub macros and hopefully few prototypes,
17691 which can conflict with char $ac_func(); below. */
17692 #include <assert.h>
17693 /* Override any gcc2 internal prototype to avoid an error. */
17694 /* We use char because int might match the return type of a gcc2
17695 builtin and then its argument prototype would still apply. */
17700 /* The GNU C library defines this for functions which it implements
17701 to always fail with ENOSYS. Some functions are actually named
17702 something starting with __ and the normal name is an alias. */
17703 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17711 if { (eval echo configure
:17712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17713 eval "ac_cv_func_$ac_func=yes"
17715 echo "configure: failed program was:" >&5
17716 cat conftest.
$ac_ext >&5
17718 eval "ac_cv_func_$ac_func=no"
17723 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17724 echo "$ac_t""yes" 1>&6
17725 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17726 cat >> confdefs.h
<<EOF
17727 #define $ac_tr_func 1
17731 echo "$ac_t""no" 1>&6
17736 for ac_hdr
in sched.h
17738 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17739 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17740 echo "configure:17741: checking for $ac_hdr" >&5
17741 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17742 echo $ac_n "(cached) $ac_c" 1>&6
17744 cat > conftest.
$ac_ext <<EOF
17745 #line 17746 "configure"
17746 #include "confdefs.h"
17749 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17750 { (eval echo configure
:17751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17751 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17752 if test -z "$ac_err"; then
17754 eval "ac_cv_header_$ac_safe=yes"
17757 echo "configure: failed program was:" >&5
17758 cat conftest.
$ac_ext >&5
17760 eval "ac_cv_header_$ac_safe=no"
17764 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17765 echo "$ac_t""yes" 1>&6
17766 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17767 cat >> confdefs.h
<<EOF
17768 #define $ac_tr_hdr 1
17772 echo "$ac_t""no" 1>&6
17776 if test "$ac_cv_header_sched_h" = "yes"; then
17777 echo $ac_n "checking for sched_yield""... $ac_c" 1>&6
17778 echo "configure:17779: checking for sched_yield" >&5
17779 if eval "test \"`echo '$''{'ac_cv_func_sched_yield'+set}'`\" = set"; then
17780 echo $ac_n "(cached) $ac_c" 1>&6
17782 cat > conftest.
$ac_ext <<EOF
17783 #line 17784 "configure"
17784 #include "confdefs.h"
17785 /* System header to define __stub macros and hopefully few prototypes,
17786 which can conflict with char sched_yield(); below. */
17787 #include <assert.h>
17788 /* Override any gcc2 internal prototype to avoid an error. */
17789 /* We use char because int might match the return type of a gcc2
17790 builtin and then its argument prototype would still apply. */
17791 char sched_yield();
17795 /* The GNU C library defines this for functions which it implements
17796 to always fail with ENOSYS. Some functions are actually named
17797 something starting with __ and the normal name is an alias. */
17798 #if defined (__stub_sched_yield) || defined (__stub___sched_yield)
17806 if { (eval echo configure
:17807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17808 eval "ac_cv_func_sched_yield=yes"
17810 echo "configure: failed program was:" >&5
17811 cat conftest.
$ac_ext >&5
17813 eval "ac_cv_func_sched_yield=no"
17818 if eval "test \"`echo '$ac_cv_func_'sched_yield`\" = yes"; then
17819 echo "$ac_t""yes" 1>&6
17820 cat >> confdefs.h
<<\EOF
17821 #define HAVE_SCHED_YIELD 1
17825 echo "$ac_t""no" 1>&6
17827 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
17828 echo "configure:17829: checking for sched_yield in -lposix4" >&5
17829 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
17830 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17831 echo $ac_n "(cached) $ac_c" 1>&6
17833 ac_save_LIBS
="$LIBS"
17834 LIBS
="-lposix4 $LIBS"
17835 cat > conftest.
$ac_ext <<EOF
17836 #line 17837 "configure"
17837 #include "confdefs.h"
17838 /* Override any gcc2 internal prototype to avoid an error. */
17839 /* We use char because int might match the return type of a gcc2
17840 builtin and then its argument prototype would still apply. */
17841 char sched_yield();
17847 if { (eval echo configure
:17848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17849 eval "ac_cv_lib_$ac_lib_var=yes"
17851 echo "configure: failed program was:" >&5
17852 cat conftest.
$ac_ext >&5
17854 eval "ac_cv_lib_$ac_lib_var=no"
17857 LIBS
="$ac_save_LIBS"
17860 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17861 echo "$ac_t""yes" 1>&6
17862 cat >> confdefs.h
<<\EOF
17863 #define HAVE_SCHED_YIELD 1
17865 POSIX4_LINK
=" -lposix4"
17867 echo "$ac_t""no" 1>&6
17868 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
17879 echo $ac_n "checking for pthread_attr_getschedpolicy""... $ac_c" 1>&6
17880 echo "configure:17881: checking for pthread_attr_getschedpolicy" >&5
17881 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_getschedpolicy'+set}'`\" = set"; then
17882 echo $ac_n "(cached) $ac_c" 1>&6
17884 cat > conftest.
$ac_ext <<EOF
17885 #line 17886 "configure"
17886 #include "confdefs.h"
17887 /* System header to define __stub macros and hopefully few prototypes,
17888 which can conflict with char pthread_attr_getschedpolicy(); below. */
17889 #include <assert.h>
17890 /* Override any gcc2 internal prototype to avoid an error. */
17891 /* We use char because int might match the return type of a gcc2
17892 builtin and then its argument prototype would still apply. */
17893 char pthread_attr_getschedpolicy();
17897 /* The GNU C library defines this for functions which it implements
17898 to always fail with ENOSYS. Some functions are actually named
17899 something starting with __ and the normal name is an alias. */
17900 #if defined (__stub_pthread_attr_getschedpolicy) || defined (__stub___pthread_attr_getschedpolicy)
17903 pthread_attr_getschedpolicy();
17908 if { (eval echo configure
:17909: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17910 eval "ac_cv_func_pthread_attr_getschedpolicy=yes"
17912 echo "configure: failed program was:" >&5
17913 cat conftest.
$ac_ext >&5
17915 eval "ac_cv_func_pthread_attr_getschedpolicy=no"
17920 if eval "test \"`echo '$ac_cv_func_'pthread_attr_getschedpolicy`\" = yes"; then
17921 echo "$ac_t""yes" 1>&6
17922 echo $ac_n "checking for pthread_attr_setschedparam""... $ac_c" 1>&6
17923 echo "configure:17924: checking for pthread_attr_setschedparam" >&5
17924 if eval "test \"`echo '$''{'ac_cv_func_pthread_attr_setschedparam'+set}'`\" = set"; then
17925 echo $ac_n "(cached) $ac_c" 1>&6
17927 cat > conftest.
$ac_ext <<EOF
17928 #line 17929 "configure"
17929 #include "confdefs.h"
17930 /* System header to define __stub macros and hopefully few prototypes,
17931 which can conflict with char pthread_attr_setschedparam(); below. */
17932 #include <assert.h>
17933 /* Override any gcc2 internal prototype to avoid an error. */
17934 /* We use char because int might match the return type of a gcc2
17935 builtin and then its argument prototype would still apply. */
17936 char pthread_attr_setschedparam();
17940 /* The GNU C library defines this for functions which it implements
17941 to always fail with ENOSYS. Some functions are actually named
17942 something starting with __ and the normal name is an alias. */
17943 #if defined (__stub_pthread_attr_setschedparam) || defined (__stub___pthread_attr_setschedparam)
17946 pthread_attr_setschedparam();
17951 if { (eval echo configure
:17952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17953 eval "ac_cv_func_pthread_attr_setschedparam=yes"
17955 echo "configure: failed program was:" >&5
17956 cat conftest.
$ac_ext >&5
17958 eval "ac_cv_func_pthread_attr_setschedparam=no"
17963 if eval "test \"`echo '$ac_cv_func_'pthread_attr_setschedparam`\" = yes"; then
17964 echo "$ac_t""yes" 1>&6
17965 echo $ac_n "checking for sched_get_priority_max""... $ac_c" 1>&6
17966 echo "configure:17967: checking for sched_get_priority_max" >&5
17967 if eval "test \"`echo '$''{'ac_cv_func_sched_get_priority_max'+set}'`\" = set"; then
17968 echo $ac_n "(cached) $ac_c" 1>&6
17970 cat > conftest.
$ac_ext <<EOF
17971 #line 17972 "configure"
17972 #include "confdefs.h"
17973 /* System header to define __stub macros and hopefully few prototypes
17975 echo "$ac_t""no" 1>&6
17976 which can conflict with char sched_get_priority_max(); below. */
17977 #include <assert.h>
17978 /* Override any gcc2 internal prototype to avoid an error. */
17979 /* We use char because int might match the return type of a gcc2
17980 builtin and then its argument prototype would still apply. */
17981 char sched_get_priority_max();
17985 /* The GNU C library defines this for functions which it implements
17986 to always fail with ENOSYS. Some functions are actually named
17987 something starting with __ and the normal name is an alias. */
17988 #if defined (__stub_sched_get_priority_max) || defined (__stub___sched_get_priority_max)
17991 sched_get_priority_max();
17996 if { (eval echo configure
:17997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17998 eval "ac_cv_func_sched_get_priority_max=yes"
18000 echo "configure: failed program was:" >&5
18001 cat conftest.
$ac_ext >&5
18003 eval "ac_cv_func_sched_get_priority_max=no"
18008 if eval "test \"`echo '$ac_cv_func_'sched_get_priority_max`\" = yes"; then
18009 echo "$ac_t""yes" 1>&6
18012 echo "$ac_t""no" 1>&6
18013 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
18014 echo "configure:18015: checking for sched_get_priority_max in -lposix4" >&5
18015 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
18016 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18017 echo $ac_n "(cached) $ac_c" 1>&6
18019 ac_save_LIBS
="$LIBS"
18020 LIBS
="-lposix4 $LIBS"
18021 cat > conftest.
$ac_ext <<EOF
18022 #line 18023 "configure"
18023 #include "confdefs.h"
18024 /* Override any gcc2 internal prototype to avoid an error. */
18025 /* We use char because int might match the return type of a gcc2
18026 builtin and then its argument prototype would still apply. */
18027 char sched_get_priority_max();
18030 sched_get_priority_max()
18033 if { (eval echo configure
:18034: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18035 eval "ac_cv_lib_$ac_lib_var=yes"
18037 echo "configure: failed program was:" >&5
18038 cat conftest.
$ac_ext >&5
18040 eval "ac_cv_lib_$ac_lib_var=no"
18043 LIBS
="$ac_save_LIBS"
18046 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18047 echo "$ac_t""yes" 1>&6
18050 POSIX4_LINK
=" -lposix4"
18053 echo "$ac_t""no" 1>&6
18061 echo "$ac_t""no" 1>&6
18068 if test "$HAVE_PRIOR_FUNCS" = 1; then
18069 cat >> confdefs.h
<<\EOF
18070 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
18074 echo "configure: warning: Setting thread priority will not work" 1>&2
18077 echo $ac_n "checking for pthread_cancel""... $ac_c" 1>&6
18078 echo "configure:18079: checking for pthread_cancel" >&5
18079 if eval "test \"`echo '$''{'ac_cv_func_pthread_cancel'+set}'`\" = set"; then
18080 echo $ac_n "(cached) $ac_c" 1>&6
18082 cat > conftest.
$ac_ext <<EOF
18083 #line 18084 "configure"
18084 #include "confdefs.h"
18085 /* System header to define __stub macros and hopefully few prototypes,
18086 which can conflict with char pthread_cancel(); below. */
18087 #include <assert.h>
18088 /* Override any gcc2 internal prototype to avoid an error. */
18089 /* We use char because int might match the return type of a gcc2
18090 builtin and then its argument prototype would still apply. */
18091 char pthread_cancel();
18095 /* The GNU C library defines this for functions which it implements
18096 to always fail with ENOSYS. Some functions are actually named
18097 something starting with __ and the normal name is an alias. */
18098 #if defined (__stub_pthread_cancel) || defined (__stub___pthread_cancel)
18106 if { (eval echo configure
:18107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18108 eval "ac_cv_func_pthread_cancel=yes"
18110 echo "configure: failed program was:" >&5
18111 cat conftest.
$ac_ext >&5
18113 eval "ac_cv_func_pthread_cancel=no"
18118 if eval "test \"`echo '$ac_cv_func_'pthread_cancel`\" = yes"; then
18119 echo "$ac_t""yes" 1>&6
18120 cat >> confdefs.h
<<\EOF
18121 #define HAVE_PTHREAD_CANCEL 1
18125 echo "$ac_t""no" 1>&6
18126 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
18130 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
18131 echo "configure:18132: checking for pthread_cleanup_push/pop" >&5
18132 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
18133 echo $ac_n "(cached) $ac_c" 1>&6
18136 cat > conftest.
$ac_ext <<EOF
18137 #line 18138 "configure"
18138 #include "confdefs.h"
18139 #include <pthread.h>
18142 pthread_cleanup_push(NULL, NULL);
18143 pthread_cleanup_pop(0);
18147 if { (eval echo configure
:18148: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18150 wx_cv_func_pthread_cleanup_push
=yes
18153 echo "configure: failed program was:" >&5
18154 cat conftest.
$ac_ext >&5
18157 wx_cv_func_pthread_cleanup_push
=no
18164 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
18166 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
18167 cat >> confdefs.h
<<\EOF
18168 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
18174 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
18175 echo "configure:18176: checking for pthread_mutexattr_t" >&5
18176 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
18177 echo $ac_n "(cached) $ac_c" 1>&6
18180 cat > conftest.
$ac_ext <<EOF
18181 #line 18182 "configure"
18182 #include "confdefs.h"
18183 #include <pthread.h>
18186 pthread_mutexattr_t attr;
18187 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
18191 if { (eval echo configure
:18192: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18194 wx_cv_type_pthread_mutexattr_t
=yes
18197 echo "configure: failed program was:" >&5
18198 cat conftest.
$ac_ext >&5
18201 wx_cv_type_pthread_mutexattr_t
=no
18209 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
18211 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
18212 cat >> confdefs.h
<<\EOF
18213 #define HAVE_PTHREAD_MUTEXATTR_T 1
18217 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
18218 echo "configure:18219: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
18219 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
18220 echo $ac_n "(cached) $ac_c" 1>&6
18223 cat > conftest.
$ac_ext <<EOF
18224 #line 18225 "configure"
18225 #include "confdefs.h"
18226 #include <pthread.h>
18229 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
18233 if { (eval echo configure
:18234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18236 wx_cv_type_pthread_rec_mutex_init
=yes
18239 echo "configure: failed program was:" >&5
18240 cat conftest.
$ac_ext >&5
18243 wx_cv_type_pthread_rec_mutex_init
=no
18251 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
18252 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
18253 cat >> confdefs.h
<<\EOF
18254 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
18258 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
18264 if test "$wxUSE_THREADS" = "yes" ; then
18267 CFLAGS
="$CFLAGS -mthreads"
18268 CXXFLAGS
="$CXXFLAGS -mthreads"
18269 COMMON_THREADCPPFLAGS
="-mthreads"
18270 LDFLAGS
="$LDFLAGS -mthreads"
18276 if test "$wxUSE_THREADS" = "yes"; then
18277 cat >> confdefs.h
<<\EOF
18278 #define wxUSE_THREADS 1
18282 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
18284 if test "$ac_cv_func_strtok_r" = "yes"; then
18285 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
18286 echo "configure:18287: checking if -D_REENTRANT is needed" >&5
18287 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
18288 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
18289 echo "$ac_t""yes" 1>&6
18291 echo "$ac_t""no" 1>&6
18296 if test "$WXGTK20" = 1 ; then
18297 cat >> confdefs.h
<<EOF
18298 #define __WXGTK20__ $WXGTK20
18304 if test "$WXGTK12" = 1 ; then
18305 cat >> confdefs.h
<<EOF
18306 #define __WXGTK12__ $WXGTK12
18311 if test "$WXGTK127" = 1 ; then
18312 cat >> confdefs.h
<<EOF
18313 #define __WXGTK127__ $WXGTK127
18320 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
18325 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
18326 wxUSE_DEBUG_INFO
=yes
18330 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
18331 cat >> confdefs.h
<<\EOF
18335 WXDEBUG_DEFINE
="-D__WXDEBUG__"
18337 if test "$wxUSE_GTK" = 1 ; then
18338 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
18342 if test "$wxUSE_MEM_TRACING" = "yes" ; then
18343 cat >> confdefs.h
<<\EOF
18344 #define wxUSE_MEMORY_TRACING 1
18347 cat >> confdefs.h
<<\EOF
18348 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
18351 cat >> confdefs.h
<<\EOF
18352 #define wxUSE_DEBUG_NEW_ALWAYS 1
18355 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
18358 if test "$wxUSE_DMALLOC" = "yes" ; then
18359 DMALLOC_LIBS
="-ldmalloc"
18363 if test "$wxUSE_PROFILE" = "yes" ; then
18368 CODE_GEN_FLAGS_CXX
=
18369 if test "$GCC" = "yes" ; then
18370 if test "$wxUSE_NO_RTTI" = "yes" ; then
18371 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
18373 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
18374 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
18376 if test "$wxUSE_PERMISSIVE" = "yes" ; then
18377 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
18379 if test "$USE_WIN32" = 1 ; then
18380 # I'm not even really sure what this was ever added to solve,
18381 # but someone added it for mingw native builds, so I guess
18382 # they had a reason, right??
18383 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
18388 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -mminimal-toc"
18393 if test "$wxUSE_OPTIMISE" = "no" ; then
18396 if test "$GCC" = yes ; then
18399 i586
-*-*|i686
-*-* )
18400 OPTIMISE
="${OPTIMISE} "
18408 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
18409 cat >> confdefs.h
<<\EOF
18410 #define WXWIN_COMPATIBILITY_2 1
18414 WXWIN_COMPATIBILITY_2_2
="yes"
18417 if test "x$WXWIN_COMPATIBILITY_2_2" != "xno"; then
18418 cat >> confdefs.h
<<\EOF
18419 #define WXWIN_COMPATIBILITY_2_2 1
18425 if test "$wxUSE_GUI" = "yes"; then
18426 cat >> confdefs.h
<<\EOF
18427 #define wxUSE_GUI 1
18432 cat >> confdefs.h
<<\EOF
18433 #define wxUSE_NOGUI 1
18439 if test "$wxUSE_UNIX" = "yes"; then
18440 cat >> confdefs.h
<<\EOF
18441 #define wxUSE_UNIX 1
18447 if test "$wxUSE_APPLE_IEEE" = "yes"; then
18448 cat >> confdefs.h
<<\EOF
18449 #define wxUSE_APPLE_IEEE 1
18454 if test "$wxUSE_TIMER" = "yes"; then
18455 cat >> confdefs.h
<<\EOF
18456 #define wxUSE_TIMER 1
18461 if test "$wxUSE_WAVE" = "yes"; then
18462 cat >> confdefs.h
<<\EOF
18463 #define wxUSE_WAVE 1
18468 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
18469 cat >> confdefs.h
<<\EOF
18470 #define wxUSE_CMDLINE_PARSER 1
18475 if test "$wxUSE_STOPWATCH" = "yes"; then
18476 cat >> confdefs.h
<<\EOF
18477 #define wxUSE_STOPWATCH 1
18482 if test "$wxUSE_DATETIME" = "yes"; then
18483 cat >> confdefs.h
<<\EOF
18484 #define wxUSE_DATETIME 1
18489 if test "$wxUSE_TIMEDATE" = "yes"; then
18490 cat >> confdefs.h
<<\EOF
18491 #define wxUSE_TIMEDATE 1
18496 if test "$wxUSE_FILE" = "yes"; then
18497 cat >> confdefs.h
<<\EOF
18498 #define wxUSE_FILE 1
18503 if test "$wxUSE_FFILE" = "yes"; then
18504 cat >> confdefs.h
<<\EOF
18505 #define wxUSE_FFILE 1
18510 if test "$wxUSE_FILESYSTEM" = "yes"; then
18511 cat >> confdefs.h
<<\EOF
18512 #define wxUSE_FILESYSTEM 1
18517 if test "$wxUSE_FS_INET" = "yes"; then
18518 cat >> confdefs.h
<<\EOF
18519 #define wxUSE_FS_INET 1
18524 if test "$wxUSE_FS_ZIP" = "yes"; then
18525 cat >> confdefs.h
<<\EOF
18526 #define wxUSE_FS_ZIP 1
18531 if test "$wxUSE_ZIPSTREAM" = "yes"; then
18532 cat >> confdefs.h
<<\EOF
18533 #define wxUSE_ZIPSTREAM 1
18538 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
18539 cat >> confdefs.h
<<\EOF
18540 #define wxUSE_ON_FATAL_EXCEPTION 1
18545 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
18546 cat >> confdefs.h
<<\EOF
18547 #define wxUSE_SNGLINST_CHECKER 1
18552 if test "$wxUSE_BUSYINFO" = "yes"; then
18553 cat >> confdefs.h
<<\EOF
18554 #define wxUSE_BUSYINFO 1
18559 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
18560 cat >> confdefs.h
<<\EOF
18561 #define wxUSE_STD_IOSTREAM 1
18566 if test "$wxUSE_TEXTBUFFER" = "yes"; then
18567 cat >> confdefs.h
<<\EOF
18568 #define wxUSE_TEXTBUFFER 1
18573 if test "$wxUSE_TEXTFILE" = "yes"; then
18574 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
18575 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
18577 cat >> confdefs.h
<<\EOF
18578 #define wxUSE_TEXTFILE 1
18584 if test "$wxUSE_CONFIG" = "yes" ; then
18585 if test "$wxUSE_TEXTFILE" != "yes"; then
18586 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
18588 cat >> confdefs.h
<<\EOF
18589 #define wxUSE_CONFIG 1
18592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
18596 if test "$wxUSE_INTL" = "yes" ; then
18597 if test "$wxUSE_FILE" != "yes"; then
18598 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
18600 cat >> confdefs.h
<<\EOF
18601 #define wxUSE_INTL 1
18604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
18605 GUIDIST
="$GUIDIST INTL_DIST"
18609 if test "$wxUSE_LOG" = "yes"; then
18610 cat >> confdefs.h
<<\EOF
18611 #define wxUSE_LOG 1
18615 if test "$wxUSE_LOGGUI" = "yes"; then
18616 cat >> confdefs.h
<<\EOF
18617 #define wxUSE_LOGGUI 1
18622 if test "$wxUSE_LOGWINDOW" = "yes"; then
18623 cat >> confdefs.h
<<\EOF
18624 #define wxUSE_LOGWINDOW 1
18629 if test "$wxUSE_LOGDIALOG" = "yes"; then
18630 cat >> confdefs.h
<<\EOF
18631 #define wxUSE_LOG_DIALOG 1
18637 if test "$wxUSE_LONGLONG" = "yes"; then
18638 cat >> confdefs.h
<<\EOF
18639 #define wxUSE_LONGLONG 1
18644 if test "$wxUSE_GEOMETRY" = "yes"; then
18645 cat >> confdefs.h
<<\EOF
18646 #define wxUSE_GEOMETRY 1
18651 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
18652 cat >> confdefs.h
<<\EOF
18653 #define wxUSE_DIALUP_MANAGER 1
18656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
18659 if test "$wxUSE_STREAMS" = "yes" ; then
18660 cat >> confdefs.h
<<\EOF
18661 #define wxUSE_STREAMS 1
18667 if test "$wxUSE_DATETIME" = "yes"; then
18668 for ac_func
in strptime
18670 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18671 echo "configure:18672: checking for $ac_func" >&5
18672 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18673 echo $ac_n "(cached) $ac_c" 1>&6
18675 cat > conftest.
$ac_ext <<EOF
18676 #line 18677 "configure"
18677 #include "confdefs.h"
18678 /* System header to define __stub macros and hopefully few prototypes,
18679 which can conflict with char $ac_func(); below. */
18680 #include <assert.h>
18681 /* Override any gcc2 internal prototype to avoid an error. */
18682 /* We use char because int might match the return type of a gcc2
18683 builtin and then its argument prototype would still apply. */
18688 /* The GNU C library defines this for functions which it implements
18689 to always fail with ENOSYS. Some functions are actually named
18690 something starting with __ and the normal name is an alias. */
18691 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18699 if { (eval echo configure
:18700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18701 eval "ac_cv_func_$ac_func=yes"
18703 echo "configure: failed program was:" >&5
18704 cat conftest.
$ac_ext >&5
18706 eval "ac_cv_func_$ac_func=no"
18711 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18712 echo "$ac_t""yes" 1>&6
18713 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18714 cat >> confdefs.h
<<EOF
18715 #define $ac_tr_func 1
18719 echo "$ac_t""no" 1>&6
18724 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
18725 echo "configure:18726: checking for timezone variable in <time.h>" >&5
18726 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
18727 echo $ac_n "(cached) $ac_c" 1>&6
18730 cat > conftest.
$ac_ext <<EOF
18731 #line 18732 "configure"
18732 #include "confdefs.h"
18743 if { (eval echo configure
:18744: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18746 wx_cv_var_timezone
=timezone
18749 echo "configure: failed program was:" >&5
18750 cat conftest.
$ac_ext >&5
18753 cat > conftest.
$ac_ext <<EOF
18754 #line 18755 "configure"
18755 #include "confdefs.h"
18766 if { (eval echo configure
:18767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18769 wx_cv_var_timezone
=_timezone
18772 echo "configure: failed program was:" >&5
18773 cat conftest.
$ac_ext >&5
18776 cat > conftest.
$ac_ext <<EOF
18777 #line 18778 "configure"
18778 #include "confdefs.h"
18789 if { (eval echo configure
:18790: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18792 wx_cv_var_timezone
=__timezone
18795 echo "configure: failed program was:" >&5
18796 cat conftest.
$ac_ext >&5
18799 if test "$USE_DOS" = 0 ; then
18800 echo "configure: warning: no timezone variable" 1>&2
18818 echo "$ac_t""$wx_cv_var_timezone" 1>&6
18820 if test "x$wx_cv_var_timezone" != x
; then
18821 cat >> confdefs.h
<<EOF
18822 #define WX_TIMEZONE $wx_cv_var_timezone
18827 for ac_func
in localtime
18829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18830 echo "configure:18831: checking for $ac_func" >&5
18831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18832 echo $ac_n "(cached) $ac_c" 1>&6
18834 cat > conftest.
$ac_ext <<EOF
18835 #line 18836 "configure"
18836 #include "confdefs.h"
18837 /* System header to define __stub macros and hopefully few prototypes,
18838 which can conflict with char $ac_func(); below. */
18839 #include <assert.h>
18840 /* Override any gcc2 internal prototype to avoid an error. */
18841 /* We use char because int might match the return type of a gcc2
18842 builtin and then its argument prototype would still apply. */
18847 /* The GNU C library defines this for functions which it implements
18848 to always fail with ENOSYS. Some functions are actually named
18849 something starting with __ and the normal name is an alias. */
18850 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18858 if { (eval echo configure
:18859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18860 eval "ac_cv_func_$ac_func=yes"
18862 echo "configure: failed program was:" >&5
18863 cat conftest.
$ac_ext >&5
18865 eval "ac_cv_func_$ac_func=no"
18870 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18871 echo "$ac_t""yes" 1>&6
18872 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18873 cat >> confdefs.h
<<EOF
18874 #define $ac_tr_func 1
18878 echo "$ac_t""no" 1>&6
18883 if test "$ac_cv_func_localtime" = "yes"; then
18884 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
18885 echo "configure:18886: checking for tm_gmtoff in struct tm" >&5
18886 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
18887 echo $ac_n "(cached) $ac_c" 1>&6
18890 cat > conftest.
$ac_ext <<EOF
18891 #line 18892 "configure"
18892 #include "confdefs.h"
18903 if { (eval echo configure
:18904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
18906 wx_cv_struct_tm_has_gmtoff
=yes
18909 echo "configure: failed program was:" >&5
18910 cat conftest.
$ac_ext >&5
18912 wx_cv_struct_tm_has_gmtoff
=no
18919 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
18922 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
18923 cat >> confdefs.h
<<\EOF
18924 #define WX_GMTOFF_IN_TM 1
18929 for ac_func
in gettimeofday ftime
18931 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18932 echo "configure:18933: checking for $ac_func" >&5
18933 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18934 echo $ac_n "(cached) $ac_c" 1>&6
18936 cat > conftest.
$ac_ext <<EOF
18937 #line 18938 "configure"
18938 #include "confdefs.h"
18939 /* System header to define __stub macros and hopefully few prototypes,
18940 which can conflict with char $ac_func(); below. */
18941 #include <assert.h>
18942 /* Override any gcc2 internal prototype to avoid an error. */
18943 /* We use char because int might match the return type of a gcc2
18944 builtin and then its argument prototype would still apply. */
18949 /* The GNU C library defines this for functions which it implements
18950 to always fail with ENOSYS. Some functions are actually named
18951 something starting with __ and the normal name is an alias. */
18952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18960 if { (eval echo configure
:18961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18962 eval "ac_cv_func_$ac_func=yes"
18964 echo "configure: failed program was:" >&5
18965 cat conftest.
$ac_ext >&5
18967 eval "ac_cv_func_$ac_func=no"
18972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18973 echo "$ac_t""yes" 1>&6
18974 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18975 cat >> confdefs.h
<<EOF
18976 #define $ac_tr_func 1
18980 echo "$ac_t""no" 1>&6
18985 if test "$ac_cv_func_gettimeofday" = "yes"; then
18986 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
18987 echo "configure:18988: checking whether gettimeofday takes two arguments" >&5
18988 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
18989 echo $ac_n "(cached) $ac_c" 1>&6
18994 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
18995 ac_cpp
='$CXXCPP $CPPFLAGS'
18996 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
18997 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
18998 cross_compiling
=$ac_cv_prog_cxx_cross
19001 cat > conftest.
$ac_ext <<EOF
19002 #line 19003 "configure"
19003 #include "confdefs.h"
19005 #include <sys/time.h>
19006 #include <unistd.h>
19011 gettimeofday(&tv, NULL);
19015 if { (eval echo configure
:19016: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19017 wx_cv_func_gettimeofday_has_2_args
=yes
19019 echo "configure: failed program was:" >&5
19020 cat conftest.
$ac_ext >&5
19022 cat > conftest.
$ac_ext <<EOF
19023 #line 19024 "configure"
19024 #include "confdefs.h"
19026 #include <sys/time.h>
19027 #include <unistd.h>
19036 if { (eval echo configure
:19037: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19038 wx_cv_func_gettimeofday_has_2_args
=no
19040 echo "configure: failed program was:" >&5
19041 cat conftest.
$ac_ext >&5
19044 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
19045 wx_cv_func_gettimeofday_has_2_args
=unknown
19054 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19055 ac_cpp
='$CPP $CPPFLAGS'
19056 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19057 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19058 cross_compiling
=$ac_cv_prog_cc_cross
19063 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
19065 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
19066 cat >> confdefs.h
<<\EOF
19067 #define WX_GETTIMEOFDAY_NO_TZ 1
19073 cat >> confdefs.h
<<\EOF
19074 #define wxUSE_TIMEDATE 1
19077 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
19081 if test "$wxUSE_SOCKETS" = "yes"; then
19082 if test "$wxUSE_MGL" = "1"; then
19083 echo "configure: warning: wxSocket not yet supported under MGL... disabled" 1>&2
19088 if test "$wxUSE_SOCKETS" = "yes"; then
19089 if test "$TOOLKIT" != "MSW"; then
19090 echo $ac_n "checking for socket""... $ac_c" 1>&6
19091 echo "configure:19092: checking for socket" >&5
19092 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
19093 echo $ac_n "(cached) $ac_c" 1>&6
19095 cat > conftest.
$ac_ext <<EOF
19096 #line 19097 "configure"
19097 #include "confdefs.h"
19098 /* System header to define __stub macros and hopefully few prototypes,
19099 which can conflict with char socket(); below. */
19100 #include <assert.h>
19101 /* Override any gcc2 internal prototype to avoid an error. */
19102 /* We use char because int might match the return type of a gcc2
19103 builtin and then its argument prototype would still apply. */
19108 /* The GNU C library defines this for functions which it implements
19109 to always fail with ENOSYS. Some functions are actually named
19110 something starting with __ and the normal name is an alias. */
19111 #if defined (__stub_socket) || defined (__stub___socket)
19119 if { (eval echo configure
:19120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19121 eval "ac_cv_func_socket=yes"
19123 echo "configure: failed program was:" >&5
19124 cat conftest.
$ac_ext >&5
19126 eval "ac_cv_func_socket=no"
19131 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
19132 echo "$ac_t""yes" 1>&6
19135 echo "$ac_t""no" 1>&6
19136 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
19137 echo "configure:19138: checking for socket in -lsocket" >&5
19138 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
19139 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19140 echo $ac_n "(cached) $ac_c" 1>&6
19142 ac_save_LIBS
="$LIBS"
19143 LIBS
="-lsocket $LIBS"
19144 cat > conftest.
$ac_ext <<EOF
19145 #line 19146 "configure"
19146 #include "confdefs.h"
19147 /* Override any gcc2 internal prototype to avoid an error. */
19148 /* We use char because int might match the return type of a gcc2
19149 builtin and then its argument prototype would still apply. */
19156 if { (eval echo configure
:19157: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19158 eval "ac_cv_lib_$ac_lib_var=yes"
19160 echo "configure: failed program was:" >&5
19161 cat conftest.
$ac_ext >&5
19163 eval "ac_cv_lib_$ac_lib_var=no"
19166 LIBS
="$ac_save_LIBS"
19169 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19170 echo "$ac_t""yes" 1>&6
19171 if test "$INET_LINK" != " -lsocket"; then
19172 INET_LINK
="$INET_LINK -lsocket"
19175 echo "$ac_t""no" 1>&6
19177 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
19189 if test "$wxUSE_SOCKETS" = "yes" ; then
19190 if test "$TOOLKIT" != "MSW"; then
19191 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
19192 echo "configure:19193: checking what is the type of the third argument of getsockname" >&5
19193 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
19194 echo $ac_n "(cached) $ac_c" 1>&6
19199 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19200 ac_cpp
='$CXXCPP $CPPFLAGS'
19201 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19202 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19203 cross_compiling
=$ac_cv_prog_cxx_cross
19206 cat > conftest.
$ac_ext <<EOF
19207 #line 19208 "configure"
19208 #include "confdefs.h"
19210 #include <sys/types.h>
19211 #include <sys/socket.h>
19216 getsockname(0, 0, &len);
19220 if { (eval echo configure
:19221: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19222 wx_cv_type_getsockname3
=socklen_t
19224 echo "configure: failed program was:" >&5
19225 cat conftest.
$ac_ext >&5
19227 cat > conftest.
$ac_ext <<EOF
19228 #line 19229 "configure"
19229 #include "confdefs.h"
19231 #include <sys/types.h>
19232 #include <sys/socket.h>
19237 getsockname(0, 0, &len);
19241 if { (eval echo configure
:19242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19243 wx_cv_type_getsockname3
=size_t
19245 echo "configure: failed program was:" >&5
19246 cat conftest.
$ac_ext >&5
19248 cat > conftest.
$ac_ext <<EOF
19249 #line 19250 "configure"
19250 #include "confdefs.h"
19252 #include <sys/types.h>
19253 #include <sys/socket.h>
19258 getsockname(0, 0, &len);
19262 if { (eval echo configure
:19263: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
19264 wx_cv_type_getsockname3
=int
19266 echo "configure: failed program was:" >&5
19267 cat conftest.
$ac_ext >&5
19269 wx_cv_type_getsockname3
=unknown
19281 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19282 ac_cpp
='$CPP $CPPFLAGS'
19283 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19284 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
19285 cross_compiling
=$ac_cv_prog_cc_cross
19290 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
19292 if test "$wx_cv_type_getsockname3" = "unknown"; then
19294 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
19296 cat >> confdefs.h
<<EOF
19297 #define SOCKLEN_T $wx_cv_type_getsockname3
19304 if test "$wxUSE_SOCKETS" = "yes" ; then
19305 cat >> confdefs.h
<<\EOF
19306 #define wxUSE_SOCKETS 1
19309 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
19313 if test "$wxUSE_GUI" = "yes"; then
19315 if test "$TOOLKIT" = "MAC"; then
19316 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
19319 if test "$TOOLKIT" = "MOTIF"; then
19320 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
19323 if test "$TOOLKIT" = "X11"; then
19324 echo "configure: warning: Joystick not yet supported under X11... disabled" 1>&2
19328 if test "$TOOLKIT" != "MSW"; then
19329 if test "$wxUSE_JOYSTICK" = "yes"; then
19330 for ac_hdr
in linux
/joystick.h
19332 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19333 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19334 echo "configure:19335: checking for $ac_hdr" >&5
19335 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19336 echo $ac_n "(cached) $ac_c" 1>&6
19338 cat > conftest.
$ac_ext <<EOF
19339 #line 19340 "configure"
19340 #include "confdefs.h"
19343 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19344 { (eval echo configure
:19345: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19345 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19346 if test -z "$ac_err"; then
19348 eval "ac_cv_header_$ac_safe=yes"
19351 echo "configure: failed program was:" >&5
19352 cat conftest.
$ac_ext >&5
19354 eval "ac_cv_header_$ac_safe=no"
19358 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19359 echo "$ac_t""yes" 1>&6
19360 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19361 cat >> confdefs.h
<<EOF
19362 #define $ac_tr_hdr 1
19366 echo "$ac_t""no" 1>&6
19370 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
19372 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
19377 if test "$wxUSE_JOYSTICK" = "yes"; then
19378 cat >> confdefs.h
<<\EOF
19379 #define wxUSE_JOYSTICK 1
19382 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
19387 if test "$TOOLKIT" != "MSW"; then
19391 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19392 if test "$USE_DARWIN" = 1; then
19395 for ac_func
in dlopen
19397 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19398 echo "configure:19399: checking for $ac_func" >&5
19399 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19400 echo $ac_n "(cached) $ac_c" 1>&6
19402 cat > conftest.
$ac_ext <<EOF
19403 #line 19404 "configure"
19404 #include "confdefs.h"
19405 /* System header to define __stub macros and hopefully few prototypes,
19406 which can conflict with char $ac_func(); below. */
19407 #include <assert.h>
19408 /* Override any gcc2 internal prototype to avoid an error. */
19409 /* We use char because int might match the return type of a gcc2
19410 builtin and then its argument prototype would still apply. */
19415 /* The GNU C library defines this for functions which it implements
19416 to always fail with ENOSYS. Some functions are actually named
19417 something starting with __ and the normal name is an alias. */
19418 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19426 if { (eval echo configure
:19427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19428 eval "ac_cv_func_$ac_func=yes"
19430 echo "configure: failed program was:" >&5
19431 cat conftest.
$ac_ext >&5
19433 eval "ac_cv_func_$ac_func=no"
19438 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19439 echo "$ac_t""yes" 1>&6
19440 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19441 cat >> confdefs.h
<<EOF
19442 #define $ac_tr_func 1
19445 cat >> confdefs.h
<<\EOF
19446 #define HAVE_DLOPEN 1
19452 echo "$ac_t""no" 1>&6
19453 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
19454 echo "configure:19455: checking for dlopen in -ldl" >&5
19455 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
19456 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19457 echo $ac_n "(cached) $ac_c" 1>&6
19459 ac_save_LIBS
="$LIBS"
19461 cat > conftest.
$ac_ext <<EOF
19462 #line 19463 "configure"
19463 #include "confdefs.h"
19464 /* Override any gcc2 internal prototype to avoid an error. */
19465 /* We use char because int might match the return type of a gcc2
19466 builtin and then its argument prototype would still apply. */
19473 if { (eval echo configure
:19474: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19475 eval "ac_cv_lib_$ac_lib_var=yes"
19477 echo "configure: failed program was:" >&5
19478 cat conftest.
$ac_ext >&5
19480 eval "ac_cv_lib_$ac_lib_var=no"
19483 LIBS
="$ac_save_LIBS"
19486 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19487 echo "$ac_t""yes" 1>&6
19489 cat >> confdefs.h
<<\EOF
19490 #define HAVE_DLOPEN 1
19494 DL_LINK
=" -ldl$DL_LINK"
19497 echo "$ac_t""no" 1>&6
19499 for ac_func
in shl_load
19501 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19502 echo "configure:19503: checking for $ac_func" >&5
19503 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19504 echo $ac_n "(cached) $ac_c" 1>&6
19506 cat > conftest.
$ac_ext <<EOF
19507 #line 19508 "configure"
19508 #include "confdefs.h"
19509 /* System header to define __stub macros and hopefully few prototypes,
19510 which can conflict with char $ac_func(); below. */
19511 #include <assert.h>
19512 /* Override any gcc2 internal prototype to avoid an error. */
19513 /* We use char because int might match the return type of a gcc2
19514 builtin and then its argument prototype would still apply. */
19519 /* The GNU C library defines this for functions which it implements
19520 to always fail with ENOSYS. Some functions are actually named
19521 something starting with __ and the normal name is an alias. */
19522 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19530 if { (eval echo configure
:19531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19532 eval "ac_cv_func_$ac_func=yes"
19534 echo "configure: failed program was:" >&5
19535 cat conftest.
$ac_ext >&5
19537 eval "ac_cv_func_$ac_func=no"
19542 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19543 echo "$ac_t""yes" 1>&6
19544 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19545 cat >> confdefs.h
<<EOF
19546 #define $ac_tr_func 1
19549 cat >> confdefs.h
<<\EOF
19550 #define HAVE_SHL_LOAD 1
19556 echo "$ac_t""no" 1>&6
19557 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
19558 echo "configure:19559: checking for dld in -lshl_load" >&5
19559 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
19560 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19561 echo $ac_n "(cached) $ac_c" 1>&6
19563 ac_save_LIBS
="$LIBS"
19564 LIBS
="-lshl_load $LIBS"
19565 cat > conftest.
$ac_ext <<EOF
19566 #line 19567 "configure"
19567 #include "confdefs.h"
19568 /* Override any gcc2 internal prototype to avoid an error. */
19569 /* We use char because int might match the return type of a gcc2
19570 builtin and then its argument prototype would still apply. */
19577 if { (eval echo configure
:19578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19579 eval "ac_cv_lib_$ac_lib_var=yes"
19581 echo "configure: failed program was:" >&5
19582 cat conftest.
$ac_ext >&5
19584 eval "ac_cv_lib_$ac_lib_var=no"
19587 LIBS
="$ac_save_LIBS"
19590 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19591 echo "$ac_t""yes" 1>&6
19594 DL_LINK
=" -ldld$DL_LINK"
19597 echo "$ac_t""no" 1>&6
19612 if test "$HAVE_DL_FUNCS" = 1; then
19613 for ac_func
in dlerror
19615 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
19616 echo "configure:19617: checking for $ac_func" >&5
19617 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
19618 echo $ac_n "(cached) $ac_c" 1>&6
19620 cat > conftest.
$ac_ext <<EOF
19621 #line 19622 "configure"
19622 #include "confdefs.h"
19623 /* System header to define __stub macros and hopefully few prototypes,
19624 which can conflict with char $ac_func(); below. */
19625 #include <assert.h>
19626 /* Override any gcc2 internal prototype to avoid an error. */
19627 /* We use char because int might match the return type of a gcc2
19628 builtin and then its argument prototype would still apply. */
19633 /* The GNU C library defines this for functions which it implements
19634 to always fail with ENOSYS. Some functions are actually named
19635 something starting with __ and the normal name is an alias. */
19636 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
19644 if { (eval echo configure
:19645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19646 eval "ac_cv_func_$ac_func=yes"
19648 echo "configure: failed program was:" >&5
19649 cat conftest.
$ac_ext >&5
19651 eval "ac_cv_func_$ac_func=no"
19656 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
19657 echo "$ac_t""yes" 1>&6
19658 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
19659 cat >> confdefs.h
<<EOF
19660 #define $ac_tr_func 1
19662 cat >> confdefs.h
<<\EOF
19663 #define HAVE_DLERROR 1
19667 echo "$ac_t""no" 1>&6
19668 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
19669 echo "configure:19670: checking for dlerror in -ldl" >&5
19670 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
19671 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19672 echo $ac_n "(cached) $ac_c" 1>&6
19674 ac_save_LIBS
="$LIBS"
19676 cat > conftest.
$ac_ext <<EOF
19677 #line 19678 "configure"
19678 #include "confdefs.h"
19679 /* Override any gcc2 internal prototype to avoid an error. */
19680 /* We use char because int might match the return type of a gcc2
19681 builtin and then its argument prototype would still apply. */
19688 if { (eval echo configure
:19689: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19690 eval "ac_cv_lib_$ac_lib_var=yes"
19692 echo "configure: failed program was:" >&5
19693 cat conftest.
$ac_ext >&5
19695 eval "ac_cv_lib_$ac_lib_var=no"
19698 LIBS
="$ac_save_LIBS"
19701 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19702 echo "$ac_t""yes" 1>&6
19703 cat >> confdefs.h
<<\EOF
19704 #define HAVE_DLERROR 1
19708 echo "$ac_t""no" 1>&6
19717 if test "$HAVE_DL_FUNCS" = 0; then
19718 if test "$HAVE_SHL_FUNCS" = 0; then
19719 if test "$USE_UNIX" = 1; then
19720 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
19721 wxUSE_DYNAMIC_LOADER
=no
19722 wxUSE_DYNLIB_CLASS
=no
19724 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
19731 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
19732 cat >> confdefs.h
<<\EOF
19733 #define wxUSE_DYNAMIC_LOADER 1
19736 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
19737 cat >> confdefs.h
<<\EOF
19738 #define wxUSE_DYNLIB_CLASS 1
19744 if test "$wxUSE_FONTMAP" = "yes" ; then
19745 cat >> confdefs.h
<<\EOF
19746 #define wxUSE_FONTMAP 1
19751 if test "$wxUSE_UNICODE" = "yes" ; then
19752 cat >> confdefs.h
<<\EOF
19753 #define wxUSE_UNICODE 1
19757 if test "$wxUSE_MSW" != 1; then
19758 wxUSE_UNICODE_MSLU
=no
19761 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
19762 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
19763 echo "configure:19764: checking for main in -lunicows" >&5
19764 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
19765 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
19766 echo $ac_n "(cached) $ac_c" 1>&6
19768 ac_save_LIBS
="$LIBS"
19769 LIBS
="-lunicows $LIBS"
19770 cat > conftest.
$ac_ext <<EOF
19771 #line 19772 "configure"
19772 #include "confdefs.h"
19778 if { (eval echo configure
:19779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
19780 eval "ac_cv_lib_$ac_lib_var=yes"
19782 echo "configure: failed program was:" >&5
19783 cat conftest.
$ac_ext >&5
19785 eval "ac_cv_lib_$ac_lib_var=no"
19788 LIBS
="$ac_save_LIBS"
19791 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
19792 echo "$ac_t""yes" 1>&6
19794 cat >> confdefs.h
<<\EOF
19795 #define wxUSE_UNICODE_MSLU 1
19800 echo "$ac_t""no" 1>&6
19802 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
19803 Applications will only run on Windows NT/2000/XP!" 1>&2
19804 wxUSE_UNICODE_MSLU
=no
19811 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
19812 cat >> confdefs.h
<<\EOF
19813 #define wxUSE_EXPERIMENTAL_PRINTF 1
19821 if test "$wxUSE_ODBC" = "yes" ; then
19822 cat >> confdefs.h
<<\EOF
19823 #define wxUSE_ODBC 1
19826 WXODBCFLAG
="-D_IODBC_"
19827 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
19831 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
19832 cat >> confdefs.h
<<\EOF
19833 #define wxUSE_POSTSCRIPT 1
19838 cat >> confdefs.h
<<\EOF
19839 #define wxUSE_AFM_FOR_POSTSCRIPT 1
19843 cat >> confdefs.h
<<\EOF
19844 #define wxUSE_NORMALIZED_PS_FONTS 1
19849 if test "$wxUSE_CONSTRAINTS" = "yes"; then
19850 cat >> confdefs.h
<<\EOF
19851 #define wxUSE_CONSTRAINTS 1
19854 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
19857 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19860 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19861 cat >> confdefs.h
<<\EOF
19862 #define wxUSE_MDI_ARCHITECTURE 1
19865 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
19869 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
19870 cat >> confdefs.h
<<\EOF
19871 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
19874 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
19875 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
19876 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
19880 if test "$wxUSE_HELP" = "yes"; then
19881 cat >> confdefs.h
<<\EOF
19882 #define wxUSE_HELP 1
19885 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
19887 if test "$wxUSE_MSW" = 1; then
19888 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
19889 cat >> confdefs.h
<<\EOF
19890 #define wxUSE_MS_HTML_HELP 1
19896 if test "$wxUSE_WXHTML_HELP" = "yes"; then
19897 if test "$wxUSE_HTML" = "yes"; then
19898 cat >> confdefs.h
<<\EOF
19899 #define wxUSE_WXHTML_HELP 1
19903 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
19904 wxUSE_WXHTML_HELP
=no
19909 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
19910 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19911 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
19913 cat >> confdefs.h
<<\EOF
19914 #define wxUSE_PRINTING_ARCHITECTURE 1
19918 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
19921 if test "$wxUSE_PROLOGIO" = "yes" ; then
19922 cat >> confdefs.h
<<\EOF
19923 #define wxUSE_PROLOGIO 1
19928 if test "$wxUSE_RESOURCES" = "yes" ; then
19929 if test "$wxUSE_NANOX" = "yes"; then
19930 echo "configure: warning: Cannot use resource database functions in NanoX" 1>&2
19932 cat >> confdefs.h
<<\EOF
19933 #define wxUSE_RESOURCES 1
19936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
19940 if test "$wxUSE_X_RESOURCES" = "yes"; then
19941 cat >> confdefs.h
<<\EOF
19942 #define wxUSE_X_RESOURCES 1
19948 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
19949 -o "$wxUSE_CLIPBOARD" = "yes" \
19950 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
19951 for ac_hdr
in ole2.h
19953 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
19954 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
19955 echo "configure:19956: checking for $ac_hdr" >&5
19956 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
19957 echo $ac_n "(cached) $ac_c" 1>&6
19959 cat > conftest.
$ac_ext <<EOF
19960 #line 19961 "configure"
19961 #include "confdefs.h"
19964 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
19965 { (eval echo configure
:19966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
19966 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
19967 if test -z "$ac_err"; then
19969 eval "ac_cv_header_$ac_safe=yes"
19972 echo "configure: failed program was:" >&5
19973 cat conftest.
$ac_ext >&5
19975 eval "ac_cv_header_$ac_safe=no"
19979 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
19980 echo "$ac_t""yes" 1>&6
19981 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
19982 cat >> confdefs.h
<<EOF
19983 #define $ac_tr_hdr 1
19987 echo "$ac_t""no" 1>&6
19992 if test "$ac_cv_header_ole2_h" = "yes" ; then
19993 if test "$GCC" = yes ; then
19996 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
19997 ac_cpp
='$CXXCPP $CPPFLAGS'
19998 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
19999 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20000 cross_compiling
=$ac_cv_prog_cxx_cross
20003 echo $ac_n "checking if g++ requires -fvtable-thunks""... $ac_c" 1>&6
20004 echo "configure:20005: checking if g++ requires -fvtable-thunks" >&5
20005 cat > conftest.
$ac_ext <<EOF
20006 #line 20007 "configure"
20007 #include "confdefs.h"
20008 #include <windows.h>
20014 if { (eval echo configure
:20015: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
20016 echo "$ac_t""no" 1>&6
20018 echo "configure: failed program was:" >&5
20019 cat conftest.
$ac_ext >&5
20021 echo "$ac_t""yes" 1>&6
20022 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
20026 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
20027 ac_cpp
='$CPP $CPPFLAGS'
20028 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
20029 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
20030 cross_compiling
=$ac_cv_prog_cc_cross
20032 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
20033 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
20034 cat >> confdefs.h
<<\EOF
20035 #define wxUSE_OLE 1
20041 cat >> confdefs.h
<<\EOF
20042 #define wxUSE_DATAOBJ 1
20046 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
20049 wxUSE_DRAG_AND_DROP
=no
20053 if test "$wxUSE_METAFILE" = "yes"; then
20054 cat >> confdefs.h
<<\EOF
20055 #define wxUSE_METAFILE 1
20059 cat >> confdefs.h
<<\EOF
20060 #define wxUSE_ENH_METAFILE 1
20066 if test "$wxUSE_IPC" = "yes"; then
20067 if test "$wxUSE_SOCKETS" != "yes"; then
20068 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
20071 cat >> confdefs.h
<<\EOF
20072 #define wxUSE_IPC 1
20077 if test "$wxUSE_CLIPBOARD" = "yes"; then
20078 if test "$wxUSE_MGL" = 1; then
20079 echo "configure: warning: Clipboard not yet supported under MGL... disabled" 1>&2
20083 if test "$wxUSE_CLIPBOARD" = "yes"; then
20084 cat >> confdefs.h
<<\EOF
20085 #define wxUSE_CLIPBOARD 1
20089 cat >> confdefs.h
<<\EOF
20090 #define wxUSE_DATAOBJ 1
20096 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
20097 if test "$wxUSE_GTK" = 1; then
20098 if test "$WXGTK12" != 1; then
20099 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
20100 wxUSE_DRAG_AND_DROP
=no
20104 if test "$wxUSE_MOTIF" = 1; then
20105 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
20106 wxUSE_DRAG_AND_DROP
=no
20109 if test "$wxUSE_X11" = 1; then
20110 echo "configure: warning: Drag and drop not yet supported under X11... disabled" 1>&2
20111 wxUSE_DRAG_AND_DROP
=no
20114 if test "$wxUSE_MGL" = 1; then
20115 echo "configure: warning: Drag and drop not yet supported under MGL... disabled" 1>&2
20116 wxUSE_DRAG_AND_DROP
=no
20119 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
20120 cat >> confdefs.h
<<\EOF
20121 #define wxUSE_DRAG_AND_DROP 1
20124 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
20129 if test "$wxUSE_SPLINES" = "yes" ; then
20130 cat >> confdefs.h
<<\EOF
20131 #define wxUSE_SPLINES 1
20138 if test "$wxUSE_CONTROLS" = "yes"; then
20142 if test "$wxUSE_ACCEL" = "yes"; then
20143 cat >> confdefs.h
<<\EOF
20144 #define wxUSE_ACCEL 1
20150 if test "$wxUSE_BUTTON" = "yes"; then
20151 cat >> confdefs.h
<<\EOF
20152 #define wxUSE_BUTTON 1
20158 if test "$wxUSE_BMPBUTTON" = "yes"; then
20159 cat >> confdefs.h
<<\EOF
20160 #define wxUSE_BMPBUTTON 1
20166 if test "$wxUSE_CALCTRL" = "yes"; then
20167 cat >> confdefs.h
<<\EOF
20168 #define wxUSE_CALENDARCTRL 1
20172 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
20175 if test "$wxUSE_CARET" = "yes"; then
20176 cat >> confdefs.h
<<\EOF
20177 #define wxUSE_CARET 1
20181 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
20184 if test "$wxUSE_COMBOBOX" = "yes"; then
20185 cat >> confdefs.h
<<\EOF
20186 #define wxUSE_COMBOBOX 1
20192 if test "$wxUSE_CHOICE" = "yes"; then
20193 cat >> confdefs.h
<<\EOF
20194 #define wxUSE_CHOICE 1
20200 if test "$wxUSE_CHECKBOX" = "yes"; then
20201 cat >> confdefs.h
<<\EOF
20202 #define wxUSE_CHECKBOX 1
20208 if test "$wxUSE_CHECKLST" = "yes"; then
20209 cat >> confdefs.h
<<\EOF
20210 #define wxUSE_CHECKLISTBOX 1
20214 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
20217 if test "$wxUSE_GAUGE" = "yes"; then
20218 cat >> confdefs.h
<<\EOF
20219 #define wxUSE_GAUGE 1
20225 if test "$wxUSE_NEW_GRID" = "yes"; then
20227 cat >> confdefs.h
<<\EOF
20228 #define wxUSE_NEW_GRID 1
20232 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
20235 if test "$wxUSE_GRID" = "yes"; then
20236 cat >> confdefs.h
<<\EOF
20237 #define wxUSE_GRID 1
20241 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
20244 if test "$wxUSE_IMAGLIST" = "yes"; then
20245 cat >> confdefs.h
<<\EOF
20246 #define wxUSE_IMAGLIST 1
20251 if test "$wxUSE_LISTBOX" = "yes"; then
20252 cat >> confdefs.h
<<\EOF
20253 #define wxUSE_LISTBOX 1
20259 if test "$wxUSE_LISTCTRL" = "yes"; then
20260 if test "$wxUSE_IMAGLIST" = "yes"; then
20261 cat >> confdefs.h
<<\EOF
20262 #define wxUSE_LISTCTRL 1
20266 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
20268 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
20272 if test "$wxUSE_NOTEBOOK" = "yes"; then
20273 cat >> confdefs.h
<<\EOF
20274 #define wxUSE_NOTEBOOK 1
20278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
20281 if test "$wxUSE_PROPSHEET" = "yes"; then
20282 cat >> confdefs.h
<<\EOF
20283 #define wxUSE_PROPSHEET 1
20287 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
20290 if test "$wxUSE_RADIOBOX" = "yes"; then
20291 cat >> confdefs.h
<<\EOF
20292 #define wxUSE_RADIOBOX 1
20298 if test "$wxUSE_RADIOBTN" = "yes"; then
20299 cat >> confdefs.h
<<\EOF
20300 #define wxUSE_RADIOBTN 1
20306 if test "$wxUSE_SASH" = "yes"; then
20307 cat >> confdefs.h
<<\EOF
20308 #define wxUSE_SASH 1
20311 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
20314 if test "$wxUSE_SCROLLBAR" = "yes"; then
20315 cat >> confdefs.h
<<\EOF
20316 #define wxUSE_SCROLLBAR 1
20320 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
20323 if test "$wxUSE_SLIDER" = "yes"; then
20324 cat >> confdefs.h
<<\EOF
20325 #define wxUSE_SLIDER 1
20331 if test "$wxUSE_SPINBTN" = "yes"; then
20332 cat >> confdefs.h
<<\EOF
20333 #define wxUSE_SPINBTN 1
20339 if test "$wxUSE_SPINCTRL" = "yes"; then
20340 cat >> confdefs.h
<<\EOF
20341 #define wxUSE_SPINCTRL 1
20347 if test "$wxUSE_SPLITTER" = "yes"; then
20348 cat >> confdefs.h
<<\EOF
20349 #define wxUSE_SPLITTER 1
20352 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
20355 if test "$wxUSE_STATBMP" = "yes"; then
20356 cat >> confdefs.h
<<\EOF
20357 #define wxUSE_STATBMP 1
20363 if test "$wxUSE_STATBOX" = "yes"; then
20364 cat >> confdefs.h
<<\EOF
20365 #define wxUSE_STATBOX 1
20371 if test "$wxUSE_STATTEXT" = "yes"; then
20372 cat >> confdefs.h
<<\EOF
20373 #define wxUSE_STATTEXT 1
20379 if test "$wxUSE_STATLINE" = "yes"; then
20380 if test "$wxUSE_WINE" = 1 ; then
20381 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
20383 cat >> confdefs.h
<<\EOF
20384 #define wxUSE_STATLINE 1
20391 if test "$wxUSE_STATUSBAR" = "yes"; then
20392 cat >> confdefs.h
<<\EOF
20393 #define wxUSE_STATUSBAR 1
20398 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
20401 if test "$wxUSE_TABDIALOG" = "yes"; then
20402 cat >> confdefs.h
<<\EOF
20403 #define wxUSE_TAB_DIALOG 1
20406 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
20409 if test "$wxUSE_TEXTCTRL" = "yes"; then
20410 cat >> confdefs.h
<<\EOF
20411 #define wxUSE_TEXTCTRL 1
20415 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
20418 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20419 if test "$wxUSE_MAC" = 1; then
20420 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
20423 if test "$wxUSE_UNIVERSAL" = "yes"; then
20424 echo "configure: warning: Toggle button not yet supported under wxUniversal... disabled" 1>&2
20428 if test "$wxUSE_TOGGLEBTN" = "yes"; then
20429 cat >> confdefs.h
<<\EOF
20430 #define wxUSE_TOGGLEBTN 1
20437 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
20438 cat >> confdefs.h
<<\EOF
20439 #define wxUSE_TOOLBAR_SIMPLE 1
20442 wxUSE_TOOLBAR
="yes"
20446 if test "$wxUSE_TOOLBAR" = "yes"; then
20447 cat >> confdefs.h
<<\EOF
20448 #define wxUSE_TOOLBAR 1
20453 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
20454 wxUSE_TOOLBAR_NATIVE
="yes"
20457 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
20458 cat >> confdefs.h
<<\EOF
20459 #define wxUSE_TOOLBAR_NATIVE 1
20465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
20468 if test "$wxUSE_TOOLTIPS" = "yes"; then
20469 if test "$wxUSE_MOTIF" = 1; then
20470 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
20472 if test "$wxUSE_WINE" = 1; then
20473 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
20475 if test "$wxUSE_UNIVERSAL" = "yes"; then
20476 echo "configure: warning: wxTooltip not supported yet in wxUniversal... disabled" 1>&2
20478 cat >> confdefs.h
<<\EOF
20479 #define wxUSE_TOOLTIPS 1
20487 if test "$wxUSE_TREECTRL" = "yes"; then
20488 if test "$wxUSE_IMAGLIST" = "yes"; then
20489 cat >> confdefs.h
<<\EOF
20490 #define wxUSE_TREECTRL 1
20494 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
20496 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
20500 if test "$wxUSE_POPUPWIN" = "yes"; then
20501 if test "$wxUSE_MAC" = 1; then
20502 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
20504 if test "$wxUSE_MOTIF" = 1; then
20505 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
20507 if test "$wxUSE_PM" = 1; then
20508 echo "configure: warning: wxPopupWindow not yet supported under PM... disabled" 1>&2
20510 cat >> confdefs.h
<<\EOF
20511 #define wxUSE_POPUPWIN 1
20521 if test "$wxUSE_TIPWINDOW" = "yes"; then
20522 if test "$wxUSE_PM" = 1; then
20523 echo "configure: warning: wxTipWindow not yet supported under PM... disabled" 1>&2
20525 cat >> confdefs.h
<<\EOF
20526 #define wxUSE_TIPWINDOW 1
20532 if test "$USES_CONTROLS" = 1; then
20533 cat >> confdefs.h
<<\EOF
20534 #define wxUSE_CONTROLS 1
20540 if test "$wxUSE_TREELAYOUT" = "yes"; then
20541 cat >> confdefs.h
<<\EOF
20542 #define wxUSE_TREELAYOUT 1
20545 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
20548 if test "$wxUSE_DRAGIMAGE" = "yes"; then
20549 cat >> confdefs.h
<<\EOF
20550 #define wxUSE_DRAGIMAGE 1
20553 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
20556 if test "$wxUSE_MENUS" = "yes"; then
20557 cat >> confdefs.h
<<\EOF
20558 #define wxUSE_MENUS 1
20561 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
20564 if test "$wxUSE_METAFILE" = "yes"; then
20565 cat >> confdefs.h
<<\EOF
20566 #define wxUSE_METAFILE 1
20571 if test "$wxUSE_MIMETYPE" = "yes"; then
20572 cat >> confdefs.h
<<\EOF
20573 #define wxUSE_MIMETYPE 1
20578 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
20579 cat >> confdefs.h
<<\EOF
20580 #define wxUSE_SYSTEM_OPTIONS 1
20583 if test "$TOOLKIT" = "MSW"; then
20584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS taskbar"
20589 if test "$wxUSE_PROTOCOL" = "yes"; then
20590 if test "$wxUSE_SOCKETS" != "yes"; then
20591 echo "configure: warning: Protocol classes require sockets... disabled" 1>&2
20595 if test "$wxUSE_PROTOCOL" = "yes"; then
20596 cat >> confdefs.h
<<\EOF
20597 #define wxUSE_PROTOCOL 1
20601 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
20602 cat >> confdefs.h
<<\EOF
20603 #define wxUSE_PROTOCOL_HTTP 1
20607 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
20608 cat >> confdefs.h
<<\EOF
20609 #define wxUSE_PROTOCOL_FTP 1
20613 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
20614 cat >> confdefs.h
<<\EOF
20615 #define wxUSE_PROTOCOL_FILE 1
20622 if test "$wxUSE_URL" = "yes"; then
20623 if test "$wxUSE_PROTOCOL" != "yes"; then
20624 echo "configure: warning: wxURL class requires wxProtocol... disabled" 1>&2
20627 if test "$wxUSE_URL" = "yes"; then
20628 cat >> confdefs.h
<<\EOF
20629 #define wxUSE_URL 1
20635 if test "$wxUSE_MINIFRAME" = "yes"; then
20636 cat >> confdefs.h
<<\EOF
20637 #define wxUSE_MINIFRAME 1
20640 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
20643 if test "$wxUSE_HTML" = "yes"; then
20644 cat >> confdefs.h
<<\EOF
20645 #define wxUSE_HTML 1
20648 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
20651 if test "$wxUSE_VALIDATORS" = "yes"; then
20652 cat >> confdefs.h
<<\EOF
20653 #define wxUSE_VALIDATORS 1
20656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
20659 if test "$wxUSE_PALETTE" = "yes" ; then
20660 cat >> confdefs.h
<<\EOF
20661 #define wxUSE_PALETTE 1
20666 if test "$wxUSE_IMAGE" = "yes" ; then
20667 cat >> confdefs.h
<<\EOF
20668 #define wxUSE_IMAGE 1
20673 if test "$wxUSE_GIF" = "yes" ; then
20674 cat >> confdefs.h
<<\EOF
20675 #define wxUSE_GIF 1
20680 if test "$wxUSE_PCX" = "yes" ; then
20681 cat >> confdefs.h
<<\EOF
20682 #define wxUSE_PCX 1
20687 if test "$wxUSE_IFF" = "yes" ; then
20688 cat >> confdefs.h
<<\EOF
20689 #define wxUSE_IFF 1
20694 if test "$wxUSE_PNM" = "yes" ; then
20695 cat >> confdefs.h
<<\EOF
20696 #define wxUSE_PNM 1
20701 if test "$wxUSE_XPM" = "yes" ; then
20702 cat >> confdefs.h
<<\EOF
20703 #define wxUSE_XPM 1
20708 if test "$wxUSE_ICO_CUR" = "yes" ; then
20709 cat >> confdefs.h
<<\EOF
20710 #define wxUSE_ICO_CUR 1
20715 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
20716 LIBS
=" -lunicows $LIBS"
20720 if test "$wxUSE_CHOICEDLG" = "yes"; then
20721 cat >> confdefs.h
<<\EOF
20722 #define wxUSE_CHOICEDLG 1
20727 if test "$wxUSE_COLOURDLG" = "yes"; then
20728 cat >> confdefs.h
<<\EOF
20729 #define wxUSE_COLOURDLG 1
20734 if test "$wxUSE_FILEDLG" = "yes"; then
20735 cat >> confdefs.h
<<\EOF
20736 #define wxUSE_FILEDLG 1
20741 if test "$wxUSE_FINDREPLDLG" = "yes"; then
20742 cat >> confdefs.h
<<\EOF
20743 #define wxUSE_FINDREPLDLG 1
20748 if test "$wxUSE_FONTDLG" = "yes"; then
20749 cat >> confdefs.h
<<\EOF
20750 #define wxUSE_FONTDLG 1
20755 if test "$wxUSE_DIRDLG" = "yes"; then
20756 if test "$wxUSE_TREECTRL" != "yes"; then
20757 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
20759 cat >> confdefs.h
<<\EOF
20760 #define wxUSE_DIRDLG 1
20766 if test "$wxUSE_MSGDLG" = "yes"; then
20767 cat >> confdefs.h
<<\EOF
20768 #define wxUSE_MSGDLG 1
20773 if test "$wxUSE_NUMBERDLG" = "yes"; then
20774 cat >> confdefs.h
<<\EOF
20775 #define wxUSE_NUMBERDLG 1
20780 if test "$wxUSE_PROGRESSDLG" = "yes"; then
20781 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20782 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
20784 cat >> confdefs.h
<<\EOF
20785 #define wxUSE_PROGRESSDLG 1
20791 if test "$wxUSE_SPLASH" = "yes"; then
20792 cat >> confdefs.h
<<\EOF
20793 #define wxUSE_SPLASH 1
20798 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
20799 if test "$wxUSE_CONSTRAINTS" != "yes"; then
20800 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
20802 cat >> confdefs.h
<<\EOF
20803 #define wxUSE_STARTUP_TIPS 1
20809 if test "$wxUSE_TEXTDLG" = "yes"; then
20810 cat >> confdefs.h
<<\EOF
20811 #define wxUSE_TEXTDLG 1
20816 if test "$wxUSE_WIZARDDLG" = "yes"; then
20817 cat >> confdefs.h
<<\EOF
20818 #define wxUSE_WIZARDDLG 1
20821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
20825 if test "$cross_compiling" = "yes"; then
20828 OSINFO
=`uname -s -r -m`
20829 OSINFO
="\"$OSINFO\""
20832 cat >> confdefs.h
<<EOF
20833 #define WXWIN_OS_DESCRIPTION $OSINFO
20838 if test "x$prefix" != "xNONE"; then
20841 wxPREFIX
=$ac_default_prefix
20844 cat >> confdefs.h
<<EOF
20845 #define wxINSTALL_PREFIX "$wxPREFIX"
20852 if test "$wxUSE_MAC" = 1 ; then
20853 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
20857 LIBS
="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK -lm $LIBS"
20859 if test "$wxUSE_GUI" = "yes"; then
20861 LIBS
="$GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $LIBS"
20864 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS artprov controls dialogs \
20865 drawing dynamic erase event exec font image \
20866 minimal propsize rotate widgets"
20868 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
20870 SAMPLES_SUBDIRS
="console"
20874 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} \
20875 -I\${top_srcdir}/include \
20876 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
20879 if test "$wxUSE_GTK" = 1; then
20882 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
20885 if test "$GXX" = yes ; then
20886 CXXWARNINGS
="-Wall"
20888 if test "$wxUSE_NO_DEPS" = "no" ; then
20889 CFLAGS
="-MMD $CFLAGS"
20890 CXXFLAGS
="-MMD $CXXFLAGS"
20894 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
20896 CFLAGS
=`echo $EXTRA_CFLAGS $CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
20897 CXXFLAGS
=`echo $EXTRA_CFLAGS $CXXFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
20898 LIBS
=`echo $LIBS | sed 's/ \+/ /g'`
20900 LDFLAGS
="$LDFLAGS $PROFILE"
20902 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
20994 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
20995 echo "configure:20996: checking whether ${MAKE-make} sets \${MAKE}" >&5
20996 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
20997 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
20998 echo $ac_n "(cached) $ac_c" 1>&6
21000 cat > conftestmake
<<\EOF
21002 @
echo 'ac_maketemp="${MAKE}"'
21004 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
21005 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
21006 if test -n "$ac_maketemp"; then
21007 eval ac_cv_prog_make_
${ac_make}_set
=yes
21009 eval ac_cv_prog_make_
${ac_make}_set
=no
21013 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
21014 echo "$ac_t""yes" 1>&6
21017 echo "$ac_t""no" 1>&6
21018 SET_MAKE
="MAKE=${MAKE-make}"
21022 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
21023 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
21028 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
21029 wx_cv_if_gnu_make
=$IF_GNU_MAKE
21030 wx_cv_path_ifs
=$PATH_IFS
21031 wx_cv_program_ext
=$PROGRAM_EXT
21032 wx_cv_target_library
=$WX_TARGET_LIBRARY
21033 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
21034 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
21035 export wx_cv_path_samplesubdirs wx_cv_if_gnu_make \
21036 wx_cv_path_ifs wx_cv_program_ext \
21037 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
21039 subdirs
="demos samples utils contrib"
21043 cat > confcache
<<\EOF
21044 # This file is a shell script that caches the results of configure
21045 # tests run on this system so they can be shared between configure
21046 # scripts and configure runs. It is not useful on other systems.
21047 # If it contains results you don't want to keep, you may remove or edit it.
21049 # By default, configure uses ./config.cache as the cache file,
21050 # creating it if it does not exist already. You can give configure
21051 # the --cache-file=FILE option to use a different cache file; that is
21052 # what configure does when it calls configure scripts in
21053 # subdirectories, so they share the cache.
21054 # Giving --cache-file=/dev/null disables caching, for debugging configure.
21055 # config.status only pays attention to the cache file if you give it the
21056 # --recheck option to rerun configure.
21059 # The following way of writing the cache mishandles newlines in values,
21060 # but we know of no workaround that is simple, portable, and efficient.
21061 # So, don't put newlines in cache variables' values.
21062 # Ultrix sh set writes to stderr and can't be redirected directly,
21063 # and sets the high bit in the cache file unless we assign to the vars.
21065 case `(ac_space=' '; set | grep ac_space) 2>&1` in
21067 # `set' does not quote correctly, so add quotes (double-quote substitution
21068 # turns \\\\ into \\, and sed turns \\ into \).
21070 -e "s/'/'\\\\''/g" \
21071 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
21074 # `set' quotes correctly as required by POSIX, so do not add quotes.
21075 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
21078 if cmp -s $cache_file confcache
; then
21081 if test -w $cache_file; then
21082 echo "updating cache $cache_file"
21083 cat confcache
> $cache_file
21085 echo "not updating unwritable cache $cache_file"
21090 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
21092 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
21093 # Let make expand exec_prefix.
21094 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
21096 # Any assignment to VPATH causes Sun make to only execute
21097 # the first set of double-colon rules, so remove it if not needed.
21098 # If there is a colon in the path, we need to keep it.
21099 if test "x$srcdir" = x.
; then
21100 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
21103 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
21105 DEFS
=-DHAVE_CONFIG_H
21107 # Without the "./", some shells look in PATH for config.status.
21108 : ${CONFIG_STATUS=./config.status}
21110 echo creating
$CONFIG_STATUS
21111 rm -f $CONFIG_STATUS
21112 cat > $CONFIG_STATUS <<EOF
21114 # Generated automatically by configure.
21115 # Run this file to recreate the current configuration.
21116 # This directory was configured as follows,
21117 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
21119 # $0 $ac_configure_args
21121 # Compiler output produced by configure, useful for debugging
21122 # configure, is in ./config.log if it exists.
21124 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
21127 case "\$ac_option" in
21128 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21129 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
21130 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
21131 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
21132 echo "$CONFIG_STATUS generated by autoconf version 2.13"
21134 -help | --help | --hel | --he | --h)
21135 echo "\$ac_cs_usage"; exit 0 ;;
21136 *) echo "\$ac_cs_usage"; exit 1 ;;
21140 ac_given_srcdir=$srcdir
21141 ac_given_INSTALL="$INSTALL"
21143 trap 'rm -fr `echo "
21149 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
21151 cat >> $CONFIG_STATUS <<EOF
21153 # Protect against being on the right side of a sed subst in config.status.
21154 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
21155 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
21159 s%@CFLAGS@%$CFLAGS%g
21160 s%@CPPFLAGS@%$CPPFLAGS%g
21161 s%@CXXFLAGS@%$CXXFLAGS%g
21162 s%@FFLAGS@%$FFLAGS%g
21164 s%@LDFLAGS@%$LDFLAGS%g
21166 s%@exec_prefix@%$exec_prefix%g
21167 s%@prefix@%$prefix%g
21168 s%@program_transform_name@%$program_transform_name%g
21169 s%@bindir@%$bindir%g
21170 s%@sbindir@%$sbindir%g
21171 s%@libexecdir@%$libexecdir%g
21172 s%@datadir@%$datadir%g
21173 s%@sysconfdir@%$sysconfdir%g
21174 s%@sharedstatedir@%$sharedstatedir%g
21175 s%@localstatedir@%$localstatedir%g
21176 s%@libdir@%$libdir%g
21177 s%@includedir@%$includedir%g
21178 s%@oldincludedir@%$oldincludedir%g
21179 s%@infodir@%$infodir%g
21180 s%@mandir@%$mandir%g
21182 s%@host_alias@%$host_alias%g
21183 s%@host_cpu@%$host_cpu%g
21184 s%@host_vendor@%$host_vendor%g
21185 s%@host_os@%$host_os%g
21186 s%@target@%$target%g
21187 s%@target_alias@%$target_alias%g
21188 s%@target_cpu@%$target_cpu%g
21189 s%@target_vendor@%$target_vendor%g
21190 s%@target_os@%$target_os%g
21192 s%@build_alias@%$build_alias%g
21193 s%@build_cpu@%$build_cpu%g
21194 s%@build_vendor@%$build_vendor%g
21195 s%@build_os@%$build_os%g
21199 s%@RANLIB@%$RANLIB%g
21201 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
21202 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
21203 s%@INSTALL_DATA@%$INSTALL_DATA%g
21205 s%@IF_GNU_MAKE@%$IF_GNU_MAKE%g
21208 s%@LEXLIB@%$LEXLIB%g
21210 s%@CXXCPP@%$CXXCPP%g
21211 s%@PKG_CONFIG@%$PKG_CONFIG%g
21212 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
21213 s%@GTK_LIBS@%$GTK_LIBS%g
21214 s%@GTK_CONFIG@%$GTK_CONFIG%g
21215 s%@PANGOFT2_CFLAGS@%$PANGOFT2_CFLAGS%g
21216 s%@PANGOFT2_LIBS@%$PANGOFT2_LIBS%g
21217 s%@X_CFLAGS@%$X_CFLAGS%g
21218 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
21219 s%@X_LIBS@%$X_LIBS%g
21220 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
21221 s%@AIX_CXX_LD@%$AIX_CXX_LD%g
21222 s%@RESCOMP@%$RESCOMP%g
21224 s%@LIBICONV@%$LIBICONV%g
21225 s%@LEX_STEM@%$LEX_STEM%g
21226 s%@PATH_IFS@%$PATH_IFS%g
21227 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
21228 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
21229 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
21230 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
21231 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
21232 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
21233 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
21234 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
21235 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
21236 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
21237 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
21238 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
21239 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
21240 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
21241 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
21242 s%@WX_ALL@%$WX_ALL%g
21243 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
21244 s%@SHARED_LD@%$SHARED_LD%g
21245 s%@PIC_FLAG@%$PIC_FLAG%g
21246 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
21247 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
21248 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
21249 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
21250 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
21251 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
21252 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
21253 s%@USE_GUI@%$USE_GUI%g
21254 s%@AFMINSTALL@%$AFMINSTALL%g
21255 s%@TOOLKIT@%$TOOLKIT%g
21256 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
21257 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
21258 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
21259 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
21260 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
21261 s%@cross_compiling@%$cross_compiling%g
21262 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
21263 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
21264 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
21265 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
21266 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
21267 s%@WXCONFIG_RPATH@%$WXCONFIG_RPATH%g
21268 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
21269 s%@ALL_HEADERS@%$ALL_HEADERS%g
21270 s%@ALL_SOURCES@%$ALL_SOURCES%g
21271 s%@GUIDIST@%$GUIDIST%g
21272 s%@PORT_FILES@%$PORT_FILES%g
21273 s%@DISTDIR@%$DISTDIR%g
21274 s%@COMMON_THREADCPPFLAGS@%$COMMON_THREADCPPFLAGS%g
21275 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
21276 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
21277 s%@LDFLAGS_EXE@%$LDFLAGS_EXE%g
21278 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
21279 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
21280 s%@EXTRADEFS@%$EXTRADEFS%g
21281 s%@RESFLAGS@%$RESFLAGS%g
21282 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
21283 s%@WX_RESOURCES_MACOSX_ASCII@%$WX_RESOURCES_MACOSX_ASCII%g
21284 s%@WX_RESOURCES_MACOSX_DATA@%$WX_RESOURCES_MACOSX_DATA%g
21285 s%@MACOSX_BUNDLE@%$MACOSX_BUNDLE%g
21286 s%@LIBWXMACRES@%$LIBWXMACRES%g
21287 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
21288 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
21289 s%@DLLTOOL@%$DLLTOOL%g
21293 s%@MAKEINFO@%$MAKEINFO%g
21294 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
21295 s%@SET_MAKE@%$SET_MAKE%g
21296 s%@subdirs@%$subdirs%g
21301 cat >> $CONFIG_STATUS <<\EOF
21303 # Split the substitutions into bite-sized pieces for seds with
21304 # small command number limits, like on Digital OSF/1 and HP-UX.
21305 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
21306 ac_file
=1 # Number of current file.
21307 ac_beg
=1 # First line for current file.
21308 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
21311 while $ac_more_lines; do
21312 if test $ac_beg -gt 1; then
21313 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
21315 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
21317 if test ! -s conftest.s
$ac_file; then
21318 ac_more_lines
=false
21319 rm -f conftest.s
$ac_file
21321 if test -z "$ac_sed_cmds"; then
21322 ac_sed_cmds
="sed -f conftest.s$ac_file"
21324 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
21326 ac_file
=`expr $ac_file + 1`
21328 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
21331 if test -z "$ac_sed_cmds"; then
21336 cat >> $CONFIG_STATUS <<EOF
21338 CONFIG_FILES=\${CONFIG_FILES-"wx-config
21345 cat >> $CONFIG_STATUS <<\EOF
21346 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
21347 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21349 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21350 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21351 *) ac_file_in
="${ac_file}.in" ;;
21354 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
21356 # Remove last slash and all that follows it. Not all systems have dirname.
21357 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21358 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
21359 # The file is in a subdirectory.
21360 test ! -d "$ac_dir" && mkdir "$ac_dir"
21361 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
21362 # A "../" for each directory in $ac_dir_suffix.
21363 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
21365 ac_dir_suffix
= ac_dots
=
21368 case "$ac_given_srcdir" in
21370 if test -z "$ac_dots"; then top_srcdir
=.
21371 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
21372 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
21373 *) # Relative path.
21374 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
21375 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
21378 case "$ac_given_INSTALL" in
21379 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
21380 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
21383 echo creating
"$ac_file"
21385 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
21387 *Makefile
*) ac_comsub
="1i\\
21388 # $configure_input" ;;
21392 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21394 s%@configure_input@%$configure_input%g
21395 s%@srcdir@%$srcdir%g
21396 s%@top_srcdir@%$top_srcdir%g
21397 s%@INSTALL@%$INSTALL%g
21398 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
21402 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
21403 # NAME is the cpp macro being defined and VALUE is the value it is being given.
21405 # ac_d sets the value in "#define NAME VALUE" lines.
21406 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
21407 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
21410 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
21411 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21412 ac_uB
='\([ ]\)%\1#\2define\3'
21415 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
21416 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
21417 ac_eB
='$%\1#\2define\3'
21421 if test "${CONFIG_HEADERS+set}" != set; then
21423 cat >> $CONFIG_STATUS <<EOF
21424 CONFIG_HEADERS="setup.h:setup.h.in"
21426 cat >> $CONFIG_STATUS <<\EOF
21428 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
21429 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
21431 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
21432 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
21433 *) ac_file_in
="${ac_file}.in" ;;
21436 echo creating
$ac_file
21438 rm -f conftest.frag conftest.
in conftest.out
21439 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
21440 cat $ac_file_inputs > conftest.
in
21444 # Transform confdefs.h into a sed script conftest.vals that substitutes
21445 # the proper values into config.h.in to produce config.h. And first:
21446 # Protect against being on the right side of a sed subst in config.status.
21447 # Protect against being in an unquoted here document in config.status.
21448 rm -f conftest.vals
21449 cat > conftest.hdr
<<\EOF
21452 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
21456 sed -n -f conftest.hdr confdefs.h > conftest.vals
21459 # This sed command replaces #undef with comments. This is necessary, for
21460 # example, in the case of _POSIX_SOURCE, which is predefined and required
21461 # on some systems where configure will not decide to define it.
21462 cat >> conftest.vals <<\EOF
21463 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
21466 # Break up conftest.vals because some shells have a limit on
21467 # the size of here documents, and old seds have small limits too.
21469 rm -f conftest.tail
21472 ac_lines=`grep -c . conftest.vals
`
21473 # grep -c gives empty output for an empty file on some AIX systems.
21474 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
21475 # Write a limited-size here document to conftest.frag.
21476 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
21477 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
21479 sed -f conftest.frag conftest.in > conftest.out
21481 mv conftest.out conftest.in
21482 ' >> $CONFIG_STATUS
21483 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
21484 rm -f conftest.vals
21485 mv conftest.tail conftest.vals
21487 rm -f conftest.vals
21489 cat >> $CONFIG_STATUS <<\EOF
21490 rm -f conftest.frag conftest.h
21491 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
21492 cat conftest.in >> conftest.h
21494 if cmp -s $ac_file conftest.h 2>/dev/null; then
21495 echo "$ac_file is unchanged"
21498 # Remove last slash and all that follows it. Not all systems have dirname.
21499 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
21500 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
21501 # The file is in a subdirectory.
21502 test ! -d "$ac_dir" && mkdir "$ac_dir"
21505 mv conftest.h $ac_file
21510 cat >> $CONFIG_STATUS <<EOF
21512 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
21517 cat >> $CONFIG_STATUS <<\EOF
21519 if test ! -h wx-config; then
21521 mv wx-config wx${TOOLCHAIN_NAME}-config
21522 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
21525 if test ! -d lib; then
21528 if test ! -d lib/wx; then
21531 if test ! -d lib/wx/include; then
21532 mkdir lib/wx/include
21534 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
21535 mkdir lib/wx/include/${TOOLCHAIN_NAME}
21537 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
21538 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
21540 if test -f setup.h; then
21541 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
21546 chmod +x $CONFIG_STATUS
21547 rm -fr confdefs* $ac_clean_files
21548 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
21550 if test "$no_recursion" != yes; then
21552 # Remove --cache-file and --srcdir arguments so they do not pile up.
21553 ac_sub_configure_args=
21555 for ac_arg in $ac_configure_args; do
21556 if test -n "$ac_prev"; then
21561 -cache-file | --cache-file | --cache-fil | --cache-fi \
21562 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
21563 ac_prev=cache_file ;;
21564 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
21565 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
21567 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
21569 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
21571 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
21575 for ac_config_dir in demos samples utils contrib; do
21577 # Do not complain, so a configure script can configure whichever
21578 # parts of a large source tree are present.
21579 if test ! -d $srcdir/$ac_config_dir; then
21583 echo configuring in $ac_config_dir
21588 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
21590 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
21598 # A "../" for each directory in /$ac_config_dir.
21599 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
21602 .) # No --srcdir option. We are building in place.
21603 ac_sub_srcdir=$srcdir ;;
21604 /*) # Absolute path.
21605 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
21606 *) # Relative path.
21607 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
21610 # Check for guested configure; otherwise get Cygnus style configure.
21611 if test -f $ac_sub_srcdir/configure; then
21612 ac_sub_configure=$ac_sub_srcdir/configure
21613 elif test -f $ac_sub_srcdir/configure.in; then
21614 ac_sub_configure=$ac_configure
21616 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
21620 # The recursion is here.
21621 if test -n "$ac_sub_configure"; then
21623 # Make the cache file name correct relative to the subdirectory.
21624 case "$cache_file" in
21625 /*) ac_sub_cache_file=$cache_file ;;
21626 *) # Relative path.
21627 ac_sub_cache_file="$ac_dots$cache_file" ;;
21629 case "$ac_given_INSTALL" in
21630 [/$]*) INSTALL="$ac_given_INSTALL" ;;
21631 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
21634 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
21635 # The eval makes quoting arguments work.
21636 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
21639 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }