3 # From configure.in Id: configure.in
44 # Guess values for system-dependent variables and create Makefiles.
45 # Generated automatically using autoconf version 2.13
46 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
48 # This configure script is free software; the Free Software Foundation
49 # gives unlimited permission to copy, distribute and modify it.
53 ac_default_prefix
=/usr
/local
54 # Any additions from configure.in:
56 --enable-gui use GUI classes"
58 --enable-universal use wxWindows GUI controls instead of native ones"
62 --with-motif use Motif/Lesstif"
64 --with-mac use Mac OS X"
68 --with-msw use MS-Windows"
70 --with-pm use OS/2 Presentation Manager"
72 --with-mgl use SciTech MGL"
74 --with-microwin use MicroWindows"
76 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
78 --with-libpng use libpng (PNG image format)"
80 --with-libjpeg use libjpeg (JPEG file format)"
82 --with-libtiff use libtiff (TIFF file format)"
84 --with-freetype use freetype (font rasterizer)"
86 --with-opengl use OpenGL (or Mesa)"
88 --with-dmalloc use dmalloc library (http://dmalloc.com/)"
90 --with-regex enable support for wxRegEx class"
92 --with-zlib use zlib for LZW compression"
94 --with-odbc use the IODBC and wxODBC classes"
96 --enable-shared create shared library code"
98 --enable-soname set the DT_SONAME field in ELF shared libraries"
100 --enable-optimise create optimised code"
102 --enable-debug same as debug_flag and debug_info"
104 --enable-precomp enable use of precompiled headers (Mac OS X)"
106 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
108 --enable-debug_info create code with debugging information"
110 --enable-debug_gdb create code with extra GDB debugging information"
112 --enable-debug_cntxt use wxDebugContext"
114 --enable-mem_tracing create code with memory tracing"
116 --enable-profile create code with profiling information"
118 --enable-no_rtti create code without RTTI information"
120 --enable-no_exceptions create code without C++ exceptions handling"
122 --enable-permissive compile code disregarding strict ANSI"
124 --enable-no_deps create code without dependency information"
126 --enable-compat20 enable wxWindows 2.0 compatibility"
128 --enable-compat22 enable wxWindows 2.2 compatibility"
130 --enable-intl use internationalization system"
132 --enable-config use wxConfig (and derived) classes"
134 --enable-protocols use wxProtocol and derived classes"
136 --enable-ftp use wxFTP (requires wxProtocol"
138 --enable-http use wxHTTP (requires wxProtocol"
140 --enable-fileproto use wxFileProto class (requires wxProtocol"
142 --enable-sockets use socket/network classes"
144 --enable-ipc use interprocess communication (wxSocket etc.)"
146 --enable-cmdline use wxCmdLineParser class"
148 --enable-datetime use wxDateTime class"
150 --enable-timedate use obsolete wxDate/wxTime classes"
152 --enable-stopwatch use wxStopWatch class"
154 --enable-dialupman use dialup network classes"
156 --enable-apple_ieee use the Apple IEEE codec"
158 --enable-timer use wxTimer class"
160 --enable-wave use wxWave class"
162 --enable-fraction use wxFraction class"
164 --enable-dynlib use wxLibrary class for DLL loading"
166 --enable-dynamicloader use (new) wxDynamicLibrary class"
168 --enable-longlong use wxLongLong class"
170 --enable-geometry use geometry class"
172 --enable-log use logging system"
174 --enable-streams use wxStream etc classes"
176 --enable-file use wxFile classes"
178 --enable-ffile use wxFFile classes"
180 --enable-textbuf use wxTextBuffer class"
182 --enable-textfile use wxTextFile class"
184 --enable-fontmap use font encodings conversion classes"
186 --enable-unicode compile wxString with Unicode support"
188 --enable-mslu use MS Layer for Unicode on Windows 9x (win32 only)"
190 --enable-wxprintfv use wxWindows implementation of vprintf()"
192 --enable-std_iostreams use standard C++ stream classes"
194 --enable-filesystem use virtual file systems classes"
196 --enable-fs_inet use virtual HTTP/FTP filesystems"
198 --enable-fs_zip use virtual ZIP filesystems"
200 --enable-zipstream use wxZipInputStream"
202 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
204 --enable-snglinst use wxSingleInstanceChecker class"
206 --enable-mimetype use wxMimeTypesManager"
208 --enable-sysoptions use wxSystemOptions"
210 --enable-url use wxURL class"
212 --enable-protocol use wxProtocol class"
214 --enable-protocol-http HTTP support in wxProtocol"
216 --enable-protocol-ftp FTP support in wxProtocol"
218 --enable-protocol-file FILE support in wxProtocol"
220 --enable-threads use threads"
222 --enable-docview use document view architecture"
224 --enable-help use help subsystem"
226 --enable-mshtmlhelp use MS HTML Help (win32)"
228 --enable-html use wxHTML sub-library"
230 --enable-htmlhelp use wxHTML-based help"
232 --enable-constraints use layout-constraints system"
234 --enable-printarch use printing architecture"
236 --enable-mdi use multiple document interface architecture"
238 --enable-loggui use standard GUI logger"
240 --enable-logwin use wxLogWindow"
242 --enable-logdialog use wxLogDialog"
244 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
246 --enable-prologio use Prolog IO library"
248 --enable-resources use wxWindows resources"
250 --enable-xresources use X resources for save (default for gtk+)"
252 --enable-clipboard use wxClipboard classes"
254 --enable-dnd use Drag'n'Drop classes"
256 --enable-metafile use win32 metafiles"
258 --enable-treelayout use wxTreeLayout classes"
260 --enable-controls use all usual controls"
262 --enable-accel use accelerators"
264 --enable-button use wxButton class"
266 --enable-bmpbutton use wxBitmapButton class"
268 --enable-calendar use wxCalendarCtrl class"
270 --enable-caret use wxCaret class"
272 --enable-checkbox use wxCheckBox class"
274 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
276 --enable-choice use wxChoice class"
278 --enable-combobox use wxComboBox classes"
280 --enable-gauge use wxGauge class"
282 --enable-grid use wxGrid class"
284 --enable-newgrid use new wxGrid class"
286 --enable-imaglist use wxImageList class"
288 --enable-listbox use wxListBox class"
290 --enable-listctrl use wxListCtrl class"
292 --enable-notebook use wxNotebook class"
294 --enable-propsheet use wxPropertySheet class"
296 --enable-radiobox use wxRadioBox class"
298 --enable-radiobtn use wxRadioButton class"
300 --enable-sash use wxSashWindow class"
302 --enable-scrollbar use wxScrollBar class and scrollable windows"
304 --enable-slider use wxSlider class"
306 --enable-spinbtn use wxSpinButton class"
308 --enable-spinctrl use wxSpinCtrl class"
310 --enable-splitter use wxSplitterWindow class"
312 --enable-statbmp use wxStaticBitmap class"
314 --enable-statbox use wxStaticBox class"
316 --enable-statline use wxStaticLine class"
318 --enable-stattext use wxStaticText class"
320 --enable-statusbar use wxStatusBar class"
322 --enable-tabdialog use wxTabControl class"
324 --enable-textctrl use wxTextCtrl class"
326 --enable-togglebtn use wxToggleButton class"
328 --enable-toolbar use wxToolBar class"
330 --enable-tbarnative use native wxToolBar class"
332 --enable-tbarsmpl use wxToolBarSimple class"
334 --enable-treectrl use wxTreeCtrl class"
336 --enable-tipwindow use wxTipWindow class"
338 --enable-popupwin use wxPopUpWindow class"
340 --enable-commondlg use all common dialogs"
342 --enable-choicedlg use wxChoiceDialog"
344 --enable-coldlg use wxColourDialog"
346 --enable-filedlg use wxFileDialog"
348 --enable-finddlg use wxFindReplaceDialog"
350 --enable-fontdlg use wxFontDialog"
352 --enable-dirdlg use wxDirDialog"
354 --enable-msgdlg use wxMessageDialog"
356 --enable-numberdlg use wxNumberEntryDialog"
358 --enable-splash use wxSplashScreen"
360 --enable-textdlg use wxTextDialog"
362 --enable-tipdlg use startup tips"
364 --enable-progressdlg use wxProgressDialog"
366 --enable-wizarddlg use wxWizard"
368 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
370 --enable-miniframe use wxMiniFrame class"
372 --enable-tooltips use wxToolTip class"
374 --enable-splines use spline drawing code"
376 --enable-validators use wxValidator and derived classes"
378 --enable-busyinfo use wxBusyInfo"
380 --enable-joystick use wxJoystick (Linux only)"
382 --enable-metafiles use wxMetaFile (Windows only)"
384 --enable-dragimage use wxDragImage"
386 --enable-palette use wxPalette class"
388 --enable-image use wxImage class"
390 --enable-gif use gif images (GIF file format)"
392 --enable-pcx use pcx images (PCX file format)"
394 --enable-pnm use pnm images (PNM file format)"
396 --enable-xpm use xpm images (XPM file format)"
398 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
400 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
402 --disable-gtktest Do not try to compile and run a test GTK program"
404 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
406 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
408 --disable-gtktest Do not try to compile and run a test GTK program"
410 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
412 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
414 --disable-gtktest Do not try to compile and run a test GTK program"
416 --with-x use the X Window System"
418 # Initialize some variables set by options.
419 # The variables have the same names as the options, with
420 # dashes changed to underlines.
422 cache_file
=.
/config.cache
431 program_transform_name
=s
,x
,x
,
439 bindir
='${exec_prefix}/bin'
440 sbindir
='${exec_prefix}/sbin'
441 libexecdir
='${exec_prefix}/libexec'
442 datadir
='${prefix}/share'
443 sysconfdir
='${prefix}/etc'
444 sharedstatedir
='${prefix}/com'
445 localstatedir
='${prefix}/var'
446 libdir
='${exec_prefix}/lib'
447 includedir
='${prefix}/include'
448 oldincludedir
='/usr/include'
449 infodir
='${prefix}/info'
450 mandir
='${prefix}/man'
452 # Initialize some other variables.
455 SHELL
=${CONFIG_SHELL-/bin/sh}
456 # Maximum number of lines to put in a shell here document.
463 # If the previous option needs an argument, assign it.
464 if test -n "$ac_prev"; then
465 eval "$ac_prev=\$ac_option"
471 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
475 # Accept the important Cygnus configure options, so we can diagnose typos.
479 -bindir | --bindir | --bindi | --bind | --bin | --bi)
481 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
482 bindir
="$ac_optarg" ;;
484 -build | --build | --buil | --bui | --bu)
486 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
487 build
="$ac_optarg" ;;
489 -cache-file | --cache-file | --cache-fil | --cache-fi \
490 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
491 ac_prev
=cache_file
;;
492 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
493 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
494 cache_file
="$ac_optarg" ;;
496 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
498 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
500 datadir
="$ac_optarg" ;;
502 -disable-* | --disable-*)
503 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
504 # Reject names that are not valid shell variable names.
505 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
506 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
508 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
509 eval "enable_${ac_feature}=no" ;;
511 -enable-* | --enable-*)
512 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
513 # Reject names that are not valid shell variable names.
514 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
515 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
517 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
522 eval "enable_${ac_feature}='$ac_optarg'" ;;
524 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
525 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
526 | --exec | --exe | --ex)
527 ac_prev
=exec_prefix
;;
528 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
529 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
530 | --exec=* | --exe=* | --ex=*)
531 exec_prefix
="$ac_optarg" ;;
533 -gas | --gas | --ga | --g)
534 # Obsolete; use --with-gas.
537 -help | --help | --hel | --he)
538 # Omit some internal or obsolete options to make the list less imposing.
539 # This message is too long to be a string in the A/UX 3.1 sh.
541 Usage: configure [options] [host]
542 Options: [defaults in brackets after descriptions]
544 --cache-file=FILE cache test results in FILE
545 --help print this message
546 --no-create do not create output files
547 --quiet, --silent do not print \`checking...' messages
548 --version print the version of autoconf that created configure
549 Directory and file names:
550 --prefix=PREFIX install architecture-independent files in PREFIX
552 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
554 --bindir=DIR user executables in DIR [EPREFIX/bin]
555 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
556 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
557 --datadir=DIR read-only architecture-independent data in DIR
559 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
560 --sharedstatedir=DIR modifiable architecture-independent data in DIR
562 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
563 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
564 --includedir=DIR C header files in DIR [PREFIX/include]
565 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
566 --infodir=DIR info documentation in DIR [PREFIX/info]
567 --mandir=DIR man documentation in DIR [PREFIX/man]
568 --srcdir=DIR find the sources in DIR [configure dir or ..]
569 --program-prefix=PREFIX prepend PREFIX to installed program names
570 --program-suffix=SUFFIX append SUFFIX to installed program names
571 --program-transform-name=PROGRAM
572 run sed PROGRAM on installed program names
576 --build=BUILD configure for building on BUILD [BUILD=HOST]
577 --host=HOST configure for HOST [guessed]
578 --target=TARGET configure for TARGET [TARGET=HOST]
579 Features and packages:
580 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
581 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
582 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
583 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
584 --x-includes=DIR X include files are in DIR
585 --x-libraries=DIR X library files are in DIR
587 if test -n "$ac_help"; then
588 echo "--enable and --with options recognized:$ac_help"
592 -host | --host | --hos | --ho)
594 -host=* | --host=* | --hos=* | --ho=*)
597 -includedir | --includedir | --includedi | --included | --include \
598 | --includ | --inclu | --incl | --inc)
599 ac_prev
=includedir
;;
600 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
601 | --includ=* | --inclu=* | --incl=* | --inc=*)
602 includedir
="$ac_optarg" ;;
604 -infodir | --infodir | --infodi | --infod | --info | --inf)
606 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
607 infodir
="$ac_optarg" ;;
609 -libdir | --libdir | --libdi | --libd)
611 -libdir=* | --libdir=* | --libdi=* | --libd=*)
612 libdir
="$ac_optarg" ;;
614 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
615 | --libexe | --libex | --libe)
616 ac_prev
=libexecdir
;;
617 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
618 | --libexe=* | --libex=* | --libe=*)
619 libexecdir
="$ac_optarg" ;;
621 -localstatedir | --localstatedir | --localstatedi | --localstated \
622 | --localstate | --localstat | --localsta | --localst \
623 | --locals | --local | --loca | --loc | --lo)
624 ac_prev
=localstatedir
;;
625 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
626 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
627 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
628 localstatedir
="$ac_optarg" ;;
630 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
632 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
633 mandir
="$ac_optarg" ;;
636 # Obsolete; use --without-fp.
639 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
643 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
644 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
647 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
648 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
649 | --oldin | --oldi | --old | --ol | --o)
650 ac_prev
=oldincludedir
;;
651 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
652 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
653 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
654 oldincludedir
="$ac_optarg" ;;
656 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
658 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
659 prefix
="$ac_optarg" ;;
661 -program-prefix | --program-prefix | --program-prefi | --program-pref \
662 | --program-pre | --program-pr | --program-p)
663 ac_prev
=program_prefix
;;
664 -program-prefix=* | --program-prefix=* | --program-prefi=* \
665 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
666 program_prefix
="$ac_optarg" ;;
668 -program-suffix | --program-suffix | --program-suffi | --program-suff \
669 | --program-suf | --program-su | --program-s)
670 ac_prev
=program_suffix
;;
671 -program-suffix=* | --program-suffix=* | --program-suffi=* \
672 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
673 program_suffix
="$ac_optarg" ;;
675 -program-transform-name | --program-transform-name \
676 | --program-transform-nam | --program-transform-na \
677 | --program-transform-n | --program-transform- \
678 | --program-transform | --program-transfor \
679 | --program-transfo | --program-transf \
680 | --program-trans | --program-tran \
681 | --progr-tra | --program-tr | --program-t)
682 ac_prev
=program_transform_name
;;
683 -program-transform-name=* | --program-transform-name=* \
684 | --program-transform-nam=* | --program-transform-na=* \
685 | --program-transform-n=* | --program-transform-=* \
686 | --program-transform=* | --program-transfor=* \
687 | --program-transfo=* | --program-transf=* \
688 | --program-trans=* | --program-tran=* \
689 | --progr-tra=* | --program-tr=* | --program-t=*)
690 program_transform_name
="$ac_optarg" ;;
692 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
693 | -silent | --silent | --silen | --sile | --sil)
696 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
698 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
700 sbindir
="$ac_optarg" ;;
702 -sharedstatedir | --sharedstatedir | --sharedstatedi \
703 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
704 | --sharedst | --shareds | --shared | --share | --shar \
706 ac_prev
=sharedstatedir
;;
707 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
708 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
709 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
711 sharedstatedir
="$ac_optarg" ;;
713 -site | --site | --sit)
715 -site=* | --site=* | --sit=*)
718 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
720 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
721 srcdir
="$ac_optarg" ;;
723 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
724 | --syscon | --sysco | --sysc | --sys | --sy)
725 ac_prev
=sysconfdir
;;
726 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
727 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
728 sysconfdir
="$ac_optarg" ;;
730 -target | --target | --targe | --targ | --tar | --ta | --t)
732 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
733 target
="$ac_optarg" ;;
735 -v | -verbose | --verbose | --verbos | --verbo | --verb)
738 -version | --version | --versio | --versi | --vers)
739 echo "configure generated by autoconf version 2.13"
743 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
744 # Reject names that are not valid shell variable names.
745 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
746 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
748 ac_package
=`echo $ac_package| sed 's/-/_/g'`
753 eval "with_${ac_package}='$ac_optarg'" ;;
755 -without-* | --without-*)
756 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
757 # Reject names that are not valid shell variable names.
758 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
759 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
761 ac_package
=`echo $ac_package| sed 's/-/_/g'`
762 eval "with_${ac_package}=no" ;;
765 # Obsolete; use --with-x.
768 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
769 | --x-incl | --x-inc | --x-in | --x-i)
770 ac_prev
=x_includes
;;
771 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
772 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
773 x_includes
="$ac_optarg" ;;
775 -x-libraries | --x-libraries | --x-librarie | --x-librari \
776 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
777 ac_prev
=x_libraries
;;
778 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
779 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
780 x_libraries
="$ac_optarg" ;;
782 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
786 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
787 echo "configure: warning: $ac_option: invalid host type" 1>&2
789 if test "x$nonopt" != xNONE
; then
790 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
798 if test -n "$ac_prev"; then
799 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
802 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
804 # File descriptor usage:
807 # 2 errors and warnings
808 # 3 some systems may open it to /dev/tty
809 # 4 used on the Kubota Titan
810 # 6 checking for... messages and results
811 # 5 compiler messages saved in config.log
812 if test "$silent" = yes; then
820 This file contains any messages produced by compilers while
821 running configure, to aid debugging if configure makes a mistake.
824 # Strip out --no-create and --no-recursion so they do not pile up.
825 # Also quote any args containing shell metacharacters.
830 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
831 | --no-cr | --no-c) ;;
832 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
833 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
834 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
835 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
836 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
841 # Only set these to C if already set. These must not be set unconditionally
842 # because not all systems understand e.g. LANG=C (notably SCO).
843 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
844 # Non-C LC_CTYPE values break the ctype check.
845 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
846 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
847 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
848 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
850 # confdefs.h avoids OS command line length limits that DEFS can exceed.
851 rm -rf conftest
* confdefs.h
852 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
855 # A filename unique to this package, relative to the directory that
856 # configure is in, which we can look for to find out if srcdir is correct.
857 ac_unique_file
=wx
-config.
in
859 # Find the source files, if location was not specified.
860 if test -z "$srcdir"; then
861 ac_srcdir_defaulted
=yes
862 # Try the directory containing this script, then its parent.
864 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
865 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
867 if test ! -r $srcdir/$ac_unique_file; then
871 ac_srcdir_defaulted
=no
873 if test ! -r $srcdir/$ac_unique_file; then
874 if test "$ac_srcdir_defaulted" = yes; then
875 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
877 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
880 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
882 # Prefer explicitly selected file to automatically selected ones.
883 if test -z "$CONFIG_SITE"; then
884 if test "x$prefix" != xNONE
; then
885 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
887 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
890 for ac_site_file
in $CONFIG_SITE; do
891 if test -r "$ac_site_file"; then
892 echo "loading site script $ac_site_file"
897 if test -r "$cache_file"; then
898 echo "loading cache $cache_file"
901 echo "creating cache $cache_file"
906 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
907 ac_cpp
='$CPP $CPPFLAGS'
908 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
909 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
910 cross_compiling
=$ac_cv_prog_cc_cross
914 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
915 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
916 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
923 ac_n
= ac_c
='\c' ac_t
=
929 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
930 if test -f $ac_dir/install-sh; then
932 ac_install_sh
="$ac_aux_dir/install-sh -c"
934 elif test -f $ac_dir/install.sh
; then
936 ac_install_sh
="$ac_aux_dir/install.sh -c"
940 if test -z "$ac_aux_dir"; then
941 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
943 ac_config_guess
=$ac_aux_dir/config.guess
944 ac_config_sub
=$ac_aux_dir/config.sub
945 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
948 # Do some error checking and defaulting for the host and target type.
950 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
953 # 1. You are not allowed to specify --host, --target, and nonopt at the
955 # 2. Host defaults to nonopt.
956 # 3. If nonopt is not specified, then host defaults to the current host,
957 # as determined by config.guess.
958 # 4. Target and build default to nonopt.
959 # 5. If nonopt is not specified, then target and build default to host.
961 # The aliases save the names the user supplied, while $host etc.
962 # will get canonicalized.
963 case $host---$target---$nonopt in
964 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
965 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
969 # Make sure we can run config.sub.
970 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
971 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
974 echo $ac_n "checking host system type""... $ac_c" 1>&6
975 echo "configure:976: checking host system type" >&5
978 case "$host_alias" in
982 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
983 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
985 *) host_alias
=$nonopt ;;
989 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
990 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
991 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
992 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
993 echo "$ac_t""$host" 1>&6
995 echo $ac_n "checking target system type""... $ac_c" 1>&6
996 echo "configure:997: checking target system type" >&5
999 case "$target_alias" in
1002 NONE
) target_alias
=$host_alias ;;
1003 *) target_alias
=$nonopt ;;
1007 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
1008 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1009 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1010 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1011 echo "$ac_t""$target" 1>&6
1013 echo $ac_n "checking build system type""... $ac_c" 1>&6
1014 echo "configure:1015: checking build system type" >&5
1017 case "$build_alias" in
1020 NONE
) build_alias
=$host_alias ;;
1021 *) build_alias
=$nonopt ;;
1025 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1026 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1027 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1028 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1029 echo "$ac_t""$build" 1>&6
1031 test "$host_alias" != "$target_alias" &&
1032 test "$program_prefix$program_suffix$program_transform_name" = \
1034 program_prefix
=${target_alias}-
1038 WX_MAJOR_VERSION_NUMBER
=2
1039 WX_MINOR_VERSION_NUMBER
=3
1042 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1043 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1045 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1079 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1081 CPP_MT_FLAG
=-D_REENTRANT
1083 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE"
1088 DEFAULT_wxUSE_MICROWIN
=0
1089 DEFAULT_wxUSE_MOTIF
=0
1092 DEFAULT_wxUSE_WINE
=0
1094 DEFAULT_DEFAULT_wxUSE_GTK
=0
1095 DEFAULT_DEFAULT_wxUSE_MAC
=0
1096 DEFAULT_DEFAULT_wxUSE_MGL
=0
1097 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1098 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1099 DEFAULT_DEFAULT_wxUSE_MSW
=0
1100 DEFAULT_DEFAULT_wxUSE_PM
=0
1101 DEFAULT_DEFAULT_wxUSE_WINE
=0
1109 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1110 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1112 cat >> confdefs.h
<<\EOF
1119 cat >> confdefs.h
<<\EOF
1124 if test "x$TMP" = "xalpha"; then
1126 cat >> confdefs.h
<<\EOF
1131 DEFAULT_DEFAULT_wxUSE_GTK
=1
1133 *-*-irix5* | *-*-irix6* )
1136 cat >> confdefs.h
<<\EOF
1140 cat >> confdefs.h
<<\EOF
1144 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1150 cat >> confdefs.h
<<\EOF
1154 cat >> confdefs.h
<<\EOF
1155 #define __SOLARIS__ 1
1158 cat >> confdefs.h
<<\EOF
1162 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1163 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1169 cat >> confdefs.h
<<\EOF
1173 cat >> confdefs.h
<<\EOF
1177 cat >> confdefs.h
<<\EOF
1181 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1186 CPP_MT_FLAG
=-D_THREAD_SAFE
1187 cat >> confdefs.h
<<\EOF
1188 #define __FREEBSD__ 1
1191 cat >> confdefs.h
<<\EOF
1195 DEFAULT_DEFAULT_wxUSE_GTK
=1
1200 cat >> confdefs.h
<<\EOF
1201 #define __FREEBSD__ 1
1204 cat >> confdefs.h
<<\EOF
1205 #define __OPENBSD__ 1
1208 DEFAULT_DEFAULT_wxUSE_GTK
=1
1213 cat >> confdefs.h
<<\EOF
1214 #define __FREEBSD__ 1
1217 cat >> confdefs.h
<<\EOF
1218 #define __NETBSD__ 1
1221 DEFAULT_DEFAULT_wxUSE_GTK
=1
1226 cat >> confdefs.h
<<\EOF
1230 cat >> confdefs.h
<<\EOF
1234 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1235 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1240 cat >> confdefs.h
<<\EOF
1244 cat >> confdefs.h
<<\EOF
1248 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1253 cat >> confdefs.h
<<\EOF
1257 cat >> confdefs.h
<<\EOF
1261 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1267 cat >> confdefs.h
<<\EOF
1271 cat >> confdefs.h
<<\EOF
1275 cat >> confdefs.h
<<\EOF
1279 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1282 *-*-cygwin* | *-*-mingw32* )
1286 cat >> confdefs.h
<<\EOF
1290 cat >> confdefs.h
<<\EOF
1294 cat >> confdefs.h
<<\EOF
1295 #define __WINDOWS__ 1
1298 cat >> confdefs.h
<<\EOF
1299 #define __GNUWIN32__ 1
1302 cat >> confdefs.h
<<\EOF
1306 cat >> confdefs.h
<<\EOF
1307 #define WINVER 0x0400
1312 DEFAULT_DEFAULT_wxUSE_MSW
=1
1318 cat >> confdefs.h
<<\EOF
1323 DEFAULT_DEFAULT_wxUSE_MGL
=1
1324 DEFAULT_DEFAULT_wxUSE_SHARED
=0
1327 *-pc-os2_emx | *-pc-os2-emx )
1328 cat >> confdefs.h
<<\EOF
1333 DEFAULT_DEFAULT_wxUSE_PM
=1
1341 cat >> confdefs.h
<<\EOF
1345 cat >> confdefs.h
<<\EOF
1346 #define __DARWIN__ 1
1349 cat >> confdefs.h
<<\EOF
1350 #define __POWERPC__ 1
1353 DEFAULT_DEFAULT_wxUSE_MAC
=1
1358 cat >> confdefs.h
<<\EOF
1365 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1368 if test "$USE_UNIX" = 1 ; then
1370 cat >> confdefs.h
<<\EOF
1376 if test "$USE_LINUX" = 1; then
1377 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1378 echo "configure:1379: checking for glibc 2.1 or later" >&5
1379 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1380 echo $ac_n "(cached) $ac_c" 1>&6
1383 cat > conftest.
$ac_ext <<EOF
1384 #line 1385 "configure"
1385 #include "confdefs.h"
1386 #include <features.h>
1389 #if !__GLIBC_PREREQ(2, 1)
1395 if { (eval echo configure
:1396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1401 echo "configure: failed program was:" >&5
1402 cat conftest.
$ac_ext >&5
1413 echo "$ac_t""$wx_lib_glibc21" 1>&6
1414 if test "$wx_lib_glibc21" = "yes"; then
1415 cat >> confdefs.h
<<\EOF
1416 #define wxHAVE_GLIBC2 1
1425 wx_arg_cache_file
="configarg.cache"
1426 echo "loading argument cache $wx_arg_cache_file"
1427 rm -f ${wx_arg_cache_file}.tmp
1428 touch ${wx_arg_cache_file}.tmp
1429 touch ${wx_arg_cache_file}
1433 if test $DEBUG_CONFIGURE = 1; then
1434 DEFAULT_wxUSE_UNIVERSAL
=no
1436 DEFAULT_wxUSE_THREADS
=yes
1438 DEFAULT_wxUSE_SHARED
=yes
1439 DEFAULT_wxUSE_SONAME
=no
1440 DEFAULT_wxUSE_OPTIMISE
=no
1441 DEFAULT_wxUSE_PROFILE
=no
1442 DEFAULT_wxUSE_NO_DEPS
=no
1443 DEFAULT_wxUSE_NO_RTTI
=yes
1444 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1445 DEFAULT_wxUSE_PERMISSIVE
=no
1446 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1447 DEFAULT_wxUSE_DEBUG_INFO
=yes
1448 DEFAULT_wxUSE_DEBUG_GDB
=yes
1449 DEFAULT_wxUSE_MEM_TRACING
=no
1450 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1451 DEFAULT_wxUSE_DMALLOC
=no
1452 DEFAULT_wxUSE_PRECOMP
=yes
1453 DEFAULT_wxUSE_APPLE_IEEE
=no
1455 DEFAULT_wxUSE_LOG
=yes
1456 DEFAULT_wxUSE_LOGWINDOW
=no
1457 DEFAULT_wxUSE_LOGGUI
=no
1458 DEFAULT_wxUSE_LOGDIALOG
=no
1460 DEFAULT_wxUSE_GUI
=yes
1461 DEFAULT_wxUSE_CONTROLS
=no
1463 DEFAULT_wxUSE_REGEX
=no
1464 DEFAULT_wxUSE_ZLIB
=no
1465 DEFAULT_wxUSE_LIBPNG
=no
1466 DEFAULT_wxUSE_LIBJPEG
=no
1467 DEFAULT_wxUSE_LIBTIFF
=no
1468 DEFAULT_wxUSE_ODBC
=no
1469 DEFAULT_wxUSE_FREETYPE
=no
1470 DEFAULT_wxUSE_OPENGL
=no
1472 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1473 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1474 DEFAULT_wxUSE_STD_IOSTREAM
=no
1475 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1476 DEFAULT_wxUSE_DATETIME
=no
1477 DEFAULT_wxUSE_TIMEDATE
=no
1478 DEFAULT_wxUSE_TIMER
=no
1479 DEFAULT_wxUSE_STOPWATCH
=no
1480 DEFAULT_wxUSE_FILE
=no
1481 DEFAULT_wxUSE_FFILE
=no
1482 DEFAULT_wxUSE_TEXTBUFFER
=no
1483 DEFAULT_wxUSE_TEXTFILE
=no
1484 DEFAULT_wxUSE_WAVE
=no
1485 DEFAULT_wxUSE_INTL
=no
1486 DEFAULT_wxUSE_CONFIG
=no
1487 DEFAULT_wxUSE_FONTMAP
=no
1488 DEFAULT_wxUSE_STREAMS
=no
1489 DEFAULT_wxUSE_SOCKETS
=no
1490 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1491 DEFAULT_wxUSE_JOYSTICK
=no
1492 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1493 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1494 DEFAULT_wxUSE_LONGLONG
=no
1495 DEFAULT_wxUSE_GEOMETRY
=no
1497 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1498 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1499 DEFAULT_wxUSE_POSTSCRIPT
=no
1501 DEFAULT_wxUSE_X_RESOURCES
=no
1502 DEFAULT_wxUSE_CLIPBOARD
=no
1503 DEFAULT_wxUSE_TOOLTIPS
=no
1504 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1505 DEFAULT_wxUSE_DRAGIMAGE
=no
1506 DEFAULT_wxUSE_SPLINES
=no
1508 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1509 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1510 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1512 DEFAULT_wxUSE_PROLOGIO
=no
1513 DEFAULT_wxUSE_RESOURCES
=no
1514 DEFAULT_wxUSE_CONSTRAINTS
=no
1515 DEFAULT_wxUSE_IPC
=no
1516 DEFAULT_wxUSE_HELP
=no
1517 DEFAULT_wxUSE_MS_HTML_HELP
=no
1518 DEFAULT_wxUSE_WXHTML_HELP
=no
1519 DEFAULT_wxUSE_TREELAYOUT
=no
1520 DEFAULT_wxUSE_METAFILE
=no
1521 DEFAULT_wxUSE_MIMETYPE
=no
1522 DEFAULT_wxUSE_SYSTEM_OPTIONS
=no
1523 DEFAULT_wxUSE_PROTOCOL
=no
1524 DEFAULT_wxUSE_PROTOCOL_HTTP
=no
1525 DEFAULT_wxUSE_PROTOCOL_FTP
=no
1526 DEFAULT_wxUSE_PROTOCOL_FILE
=no
1527 DEFAULT_wxUSE_URL
=no
1529 DEFAULT_wxUSE_COMMONDLGS
=no
1530 DEFAULT_wxUSE_CHOICEDLG
=no
1531 DEFAULT_wxUSE_COLOURDLG
=no
1532 DEFAULT_wxUSE_DIRDLG
=no
1533 DEFAULT_wxUSE_FILEDLG
=no
1534 DEFAULT_wxUSE_FINDREPLDLG
=no
1535 DEFAULT_wxUSE_FONTDLG
=no
1536 DEFAULT_wxUSE_MSGDLG
=no
1537 DEFAULT_wxUSE_NUMBERDLG
=no
1538 DEFAULT_wxUSE_TEXTDLG
=no
1539 DEFAULT_wxUSE_SPLASH
=no
1540 DEFAULT_wxUSE_STARTUP_TIPS
=no
1541 DEFAULT_wxUSE_PROGRESSDLG
=no
1542 DEFAULT_wxUSE_WIZARDDLG
=no
1544 DEFAULT_wxUSE_MENUS
=no
1545 DEFAULT_wxUSE_MINIFRAME
=no
1546 DEFAULT_wxUSE_HTML
=no
1547 DEFAULT_wxUSE_FILESYSTEM
=no
1548 DEFAULT_wxUSE_FS_INET
=no
1549 DEFAULT_wxUSE_FS_ZIP
=no
1550 DEFAULT_wxUSE_BUSYINFO
=no
1551 DEFAULT_wxUSE_ZIPSTREAM
=no
1552 DEFAULT_wxUSE_VALIDATORS
=no
1554 DEFAULT_wxUSE_ACCEL
=no
1555 DEFAULT_wxUSE_BUTTON
=no
1556 DEFAULT_wxUSE_BMPBUTTON
=no
1557 DEFAULT_wxUSE_CALCTRL
=no
1558 DEFAULT_wxUSE_CARET
=no
1559 DEFAULT_wxUSE_CHECKBOX
=no
1560 DEFAULT_wxUSE_CHECKLST
=no
1561 DEFAULT_wxUSE_CHOICE
=no
1562 DEFAULT_wxUSE_COMBOBOX
=no
1563 DEFAULT_wxUSE_GAUGE
=no
1564 DEFAULT_wxUSE_GRID
=no
1565 DEFAULT_wxUSE_NEW_GRID
=no
1566 DEFAULT_wxUSE_IMAGLIST
=no
1567 DEFAULT_wxUSE_LISTBOX
=no
1568 DEFAULT_wxUSE_LISTCTRL
=no
1569 DEFAULT_wxUSE_NOTEBOOK
=no
1570 DEFAULT_wxUSE_PROPSHEET
=no
1571 DEFAULT_wxUSE_RADIOBOX
=no
1572 DEFAULT_wxUSE_RADIOBTN
=no
1573 DEFAULT_wxUSE_SASH
=no
1574 DEFAULT_wxUSE_SCROLLBAR
=no
1575 DEFAULT_wxUSE_SLIDER
=no
1576 DEFAULT_wxUSE_SPINBTN
=no
1577 DEFAULT_wxUSE_SPINCTRL
=no
1578 DEFAULT_wxUSE_SPLITTER
=no
1579 DEFAULT_wxUSE_STATBMP
=no
1580 DEFAULT_wxUSE_STATBOX
=no
1581 DEFAULT_wxUSE_STATLINE
=no
1582 DEFAULT_wxUSE_STATTEXT
=no
1583 DEFAULT_wxUSE_STATUSBAR
=yes
1584 DEFAULT_wxUSE_TABDIALOG
=no
1585 DEFAULT_wxUSE_TEXTCTRL
=no
1586 DEFAULT_wxUSE_TOGGLEBTN
=no
1587 DEFAULT_wxUSE_TOOLBAR
=no
1588 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1589 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1590 DEFAULT_wxUSE_TREECTRL
=no
1591 DEFAULT_wxUSE_POPUPWIN
=no
1592 DEFAULT_wxUSE_TIPWINDOW
=no
1594 DEFAULT_wxUSE_UNICODE
=no
1595 DEFAULT_wxUSE_UNICODE_MSLU
=no
1596 DEFAULT_wxUSE_WCSRTOMBS
=no
1598 DEFAULT_wxUSE_PALETTE
=no
1599 DEFAULT_wxUSE_IMAGE
=no
1600 DEFAULT_wxUSE_GIF
=no
1601 DEFAULT_wxUSE_PCX
=no
1602 DEFAULT_wxUSE_PNM
=no
1603 DEFAULT_wxUSE_XPM
=no
1605 DEFAULT_wxUSE_UNIVERSAL
=no
1607 DEFAULT_wxUSE_THREADS
=yes
1609 DEFAULT_wxUSE_SHARED
=yes
1610 DEFAULT_wxUSE_SONAME
=no
1611 DEFAULT_wxUSE_OPTIMISE
=yes
1612 DEFAULT_wxUSE_PROFILE
=no
1613 DEFAULT_wxUSE_NO_DEPS
=no
1614 DEFAULT_wxUSE_NO_RTTI
=yes
1615 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1616 DEFAULT_wxUSE_PERMISSIVE
=no
1617 DEFAULT_wxUSE_DEBUG_FLAG
=no
1618 DEFAULT_wxUSE_DEBUG_INFO
=no
1619 DEFAULT_wxUSE_DEBUG_GDB
=no
1620 DEFAULT_wxUSE_MEM_TRACING
=no
1621 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1622 DEFAULT_wxUSE_DMALLOC
=no
1623 DEFAULT_wxUSE_PRECOMP
=yes
1624 DEFAULT_wxUSE_APPLE_IEEE
=yes
1626 DEFAULT_wxUSE_LOG
=yes
1627 DEFAULT_wxUSE_LOGWINDOW
=yes
1628 DEFAULT_wxUSE_LOGGUI
=yes
1629 DEFAULT_wxUSE_LOGDIALOG
=yes
1631 DEFAULT_wxUSE_GUI
=yes
1633 DEFAULT_wxUSE_REGEX
=yes
1634 DEFAULT_wxUSE_ZLIB
=yes
1635 DEFAULT_wxUSE_LIBPNG
=yes
1636 DEFAULT_wxUSE_LIBJPEG
=yes
1637 DEFAULT_wxUSE_LIBTIFF
=yes
1638 DEFAULT_wxUSE_ODBC
=no
1639 DEFAULT_wxUSE_FREETYPE
=no
1640 DEFAULT_wxUSE_OPENGL
=no
1642 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1643 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1644 DEFAULT_wxUSE_STD_IOSTREAM
=no
1645 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1646 DEFAULT_wxUSE_DATETIME
=yes
1647 DEFAULT_wxUSE_TIMEDATE
=no
1648 DEFAULT_wxUSE_TIMER
=yes
1649 DEFAULT_wxUSE_STOPWATCH
=yes
1650 DEFAULT_wxUSE_FILE
=yes
1651 DEFAULT_wxUSE_FFILE
=yes
1652 DEFAULT_wxUSE_TEXTBUFFER
=yes
1653 DEFAULT_wxUSE_TEXTFILE
=yes
1654 DEFAULT_wxUSE_WAVE
=no
1655 DEFAULT_wxUSE_INTL
=yes
1656 DEFAULT_wxUSE_CONFIG
=yes
1657 DEFAULT_wxUSE_FONTMAP
=yes
1658 DEFAULT_wxUSE_STREAMS
=yes
1659 DEFAULT_wxUSE_SOCKETS
=yes
1660 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1661 DEFAULT_wxUSE_JOYSTICK
=yes
1662 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1663 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1664 DEFAULT_wxUSE_LONGLONG
=yes
1665 DEFAULT_wxUSE_GEOMETRY
=yes
1667 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1668 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1669 DEFAULT_wxUSE_POSTSCRIPT
=yes
1671 DEFAULT_wxUSE_X_RESOURCES
=no
1672 DEFAULT_wxUSE_CLIPBOARD
=yes
1673 DEFAULT_wxUSE_TOOLTIPS
=yes
1674 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1675 DEFAULT_wxUSE_DRAGIMAGE
=yes
1676 DEFAULT_wxUSE_SPLINES
=yes
1678 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1679 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1680 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1682 DEFAULT_wxUSE_PROLOGIO
=yes
1683 DEFAULT_wxUSE_RESOURCES
=yes
1684 DEFAULT_wxUSE_CONSTRAINTS
=yes
1685 DEFAULT_wxUSE_IPC
=yes
1686 DEFAULT_wxUSE_HELP
=yes
1687 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1688 DEFAULT_wxUSE_WXHTML_HELP
=yes
1689 DEFAULT_wxUSE_TREELAYOUT
=yes
1690 DEFAULT_wxUSE_METAFILE
=yes
1691 DEFAULT_wxUSE_MIMETYPE
=yes
1692 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1693 DEFAULT_wxUSE_PROTOCOL
=yes
1694 DEFAULT_wxUSE_PROTOCOL_HTTP
=yes
1695 DEFAULT_wxUSE_PROTOCOL_FTP
=yes
1696 DEFAULT_wxUSE_PROTOCOL_FILE
=yes
1697 DEFAULT_wxUSE_URL
=yes
1699 DEFAULT_wxUSE_COMMONDLGS
=yes
1700 DEFAULT_wxUSE_CHOICEDLG
=yes
1701 DEFAULT_wxUSE_COLOURDLG
=yes
1702 DEFAULT_wxUSE_DIRDLG
=yes
1703 DEFAULT_wxUSE_FILEDLG
=yes
1704 DEFAULT_wxUSE_FINDREPLDLG
=yes
1705 DEFAULT_wxUSE_FONTDLG
=yes
1706 DEFAULT_wxUSE_MSGDLG
=yes
1707 DEFAULT_wxUSE_NUMBERDLG
=yes
1708 DEFAULT_wxUSE_TEXTDLG
=yes
1709 DEFAULT_wxUSE_SPLASH
=yes
1710 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1711 DEFAULT_wxUSE_PROGRESSDLG
=yes
1712 DEFAULT_wxUSE_WIZARDDLG
=yes
1714 DEFAULT_wxUSE_MENUS
=yes
1715 DEFAULT_wxUSE_MINIFRAME
=yes
1716 DEFAULT_wxUSE_HTML
=yes
1717 DEFAULT_wxUSE_FILESYSTEM
=yes
1718 DEFAULT_wxUSE_FS_INET
=yes
1719 DEFAULT_wxUSE_FS_ZIP
=yes
1720 DEFAULT_wxUSE_BUSYINFO
=yes
1721 DEFAULT_wxUSE_ZIPSTREAM
=yes
1722 DEFAULT_wxUSE_VALIDATORS
=yes
1724 DEFAULT_wxUSE_ACCEL
=yes
1725 DEFAULT_wxUSE_BUTTON
=yes
1726 DEFAULT_wxUSE_BMPBUTTON
=yes
1727 DEFAULT_wxUSE_CALCTRL
=yes
1728 DEFAULT_wxUSE_CARET
=yes
1729 DEFAULT_wxUSE_CHECKBOX
=yes
1730 DEFAULT_wxUSE_CHECKLST
=yes
1731 DEFAULT_wxUSE_CHOICE
=yes
1732 DEFAULT_wxUSE_COMBOBOX
=yes
1733 DEFAULT_wxUSE_GAUGE
=yes
1734 DEFAULT_wxUSE_GRID
=yes
1735 DEFAULT_wxUSE_NEW_GRID
=yes
1736 DEFAULT_wxUSE_IMAGLIST
=yes
1737 DEFAULT_wxUSE_LISTBOX
=yes
1738 DEFAULT_wxUSE_LISTCTRL
=yes
1739 DEFAULT_wxUSE_NOTEBOOK
=yes
1740 DEFAULT_wxUSE_PROPSHEET
=yes
1741 DEFAULT_wxUSE_RADIOBOX
=yes
1742 DEFAULT_wxUSE_RADIOBTN
=yes
1743 DEFAULT_wxUSE_SASH
=yes
1744 DEFAULT_wxUSE_SCROLLBAR
=yes
1745 DEFAULT_wxUSE_SLIDER
=yes
1746 DEFAULT_wxUSE_SPINBTN
=yes
1747 DEFAULT_wxUSE_SPINCTRL
=yes
1748 DEFAULT_wxUSE_SPLITTER
=yes
1749 DEFAULT_wxUSE_STATBMP
=yes
1750 DEFAULT_wxUSE_STATBOX
=yes
1751 DEFAULT_wxUSE_STATLINE
=yes
1752 DEFAULT_wxUSE_STATTEXT
=yes
1753 DEFAULT_wxUSE_STATUSBAR
=yes
1754 DEFAULT_wxUSE_TABDIALOG
=no
1755 DEFAULT_wxUSE_TEXTCTRL
=yes
1756 DEFAULT_wxUSE_TOGGLEBTN
=yes
1757 DEFAULT_wxUSE_TOOLBAR
=yes
1758 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1759 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1760 DEFAULT_wxUSE_TREECTRL
=yes
1761 DEFAULT_wxUSE_POPUPWIN
=yes
1762 DEFAULT_wxUSE_TIPWINDOW
=yes
1764 DEFAULT_wxUSE_UNICODE
=no
1765 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1766 DEFAULT_wxUSE_WCSRTOMBS
=no
1768 DEFAULT_wxUSE_PALETTE
=yes
1769 DEFAULT_wxUSE_IMAGE
=yes
1770 DEFAULT_wxUSE_GIF
=yes
1771 DEFAULT_wxUSE_PCX
=yes
1772 DEFAULT_wxUSE_PNM
=yes
1773 DEFAULT_wxUSE_XPM
=yes
1778 for toolkit
in `echo $ALL_TOOLKITS`; do
1779 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1780 if test "x$LINE" != x
; then
1781 has_toolkit_in_cache
=1
1782 eval "DEFAULT_$LINE"
1783 eval "CACHE_$toolkit=1"
1789 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1790 echo "configure:1791: checking for --enable-gui" >&5
1792 # Check whether --enable-gui or --disable-gui was given.
1793 if test "${enable_gui+set}" = set; then
1794 enableval
="$enable_gui"
1796 if test "$enableval" = yes; then
1797 ac_cv_use_gui
='wxUSE_GUI=yes'
1799 ac_cv_use_gui
='wxUSE_GUI=no'
1804 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1805 if test "x$LINE" != x
; then
1806 eval "DEFAULT_$LINE"
1811 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1816 eval "$ac_cv_use_gui"
1817 if test "$no_cache" != 1; then
1818 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1821 if test "$wxUSE_GUI" = yes; then
1822 echo "$ac_t""yes" 1>&6
1824 echo "$ac_t""no" 1>&6
1828 if test "$wxUSE_GUI" = "yes"; then
1831 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1832 echo "configure:1833: checking for --enable-universal" >&5
1834 # Check whether --enable-universal or --disable-universal was given.
1835 if test "${enable_universal+set}" = set; then
1836 enableval
="$enable_universal"
1838 if test "$enableval" = yes; then
1839 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1841 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1846 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1847 if test "x$LINE" != x
; then
1848 eval "DEFAULT_$LINE"
1853 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1858 eval "$ac_cv_use_universal"
1859 if test "$no_cache" != 1; then
1860 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1863 if test "$wxUSE_UNIVERSAL" = yes; then
1864 echo "$ac_t""yes" 1>&6
1866 echo "$ac_t""no" 1>&6
1869 # Check whether --with-gtk or --without-gtk was given.
1870 if test "${with_gtk+set}" = set; then
1872 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1875 # Check whether --with-motif or --without-motif was given.
1876 if test "${with_motif+set}" = set; then
1877 withval
="$with_motif"
1878 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1881 # Check whether --with-mac or --without-mac was given.
1882 if test "${with_mac+set}" = set; then
1884 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1887 # Check whether --with-wine or --without-wine was given.
1888 if test "${with_wine+set}" = set; then
1889 withval
="$with_wine"
1890 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1893 # Check whether --with-msw or --without-msw was given.
1894 if test "${with_msw+set}" = set; then
1896 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1899 # Check whether --with-pm or --without-pm was given.
1900 if test "${with_pm+set}" = set; then
1902 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1905 # Check whether --with-mgl or --without-mgl was given.
1906 if test "${with_mgl+set}" = set; then
1908 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1911 # Check whether --with-microwin or --without-microwin was given.
1912 if test "${with_microwin+set}" = set; then
1913 withval
="$with_microwin"
1914 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1918 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1919 if test "${enable_gtk2+set}" = set; then
1920 enableval
="$enable_gtk2"
1928 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1929 echo "configure:1930: checking for --with-libpng" >&5
1931 # Check whether --with-libpng or --without-libpng was given.
1932 if test "${with_libpng+set}" = set; then
1933 withval
="$with_libpng"
1935 if test "$withval" = yes; then
1936 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1937 elif test "$withval" = no
; then
1938 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1939 elif test "$withval" = sys
; then
1940 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1941 elif test "$withval" = builtin; then
1942 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1944 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1949 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1950 if test "x$LINE" != x
; then
1951 eval "DEFAULT_$LINE"
1956 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1961 eval "$ac_cv_use_libpng"
1962 if test "$no_cache" != 1; then
1963 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1966 if test "$wxUSE_LIBPNG" = yes; then
1967 echo "$ac_t""yes" 1>&6
1968 elif test "$wxUSE_LIBPNG" = no
; then
1969 echo "$ac_t""no" 1>&6
1970 elif test "$wxUSE_LIBPNG" = sys
; then
1971 echo "$ac_t""system version" 1>&6
1972 elif test "$wxUSE_LIBPNG" = builtin; then
1973 echo "$ac_t""builtin version" 1>&6
1975 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1979 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1980 echo "configure:1981: checking for --with-libjpeg" >&5
1982 # Check whether --with-libjpeg or --without-libjpeg was given.
1983 if test "${with_libjpeg+set}" = set; then
1984 withval
="$with_libjpeg"
1986 if test "$withval" = yes; then
1987 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1988 elif test "$withval" = no
; then
1989 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1990 elif test "$withval" = sys
; then
1991 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1992 elif test "$withval" = builtin; then
1993 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1995 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2000 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
2001 if test "x$LINE" != x
; then
2002 eval "DEFAULT_$LINE"
2007 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
2012 eval "$ac_cv_use_libjpeg"
2013 if test "$no_cache" != 1; then
2014 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
2017 if test "$wxUSE_LIBJPEG" = yes; then
2018 echo "$ac_t""yes" 1>&6
2019 elif test "$wxUSE_LIBJPEG" = no
; then
2020 echo "$ac_t""no" 1>&6
2021 elif test "$wxUSE_LIBJPEG" = sys
; then
2022 echo "$ac_t""system version" 1>&6
2023 elif test "$wxUSE_LIBJPEG" = builtin; then
2024 echo "$ac_t""builtin version" 1>&6
2026 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2030 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2031 echo "configure:2032: checking for --with-libtiff" >&5
2033 # Check whether --with-libtiff or --without-libtiff was given.
2034 if test "${with_libtiff+set}" = set; then
2035 withval
="$with_libtiff"
2037 if test "$withval" = yes; then
2038 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2039 elif test "$withval" = no
; then
2040 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2041 elif test "$withval" = sys
; then
2042 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2043 elif test "$withval" = builtin; then
2044 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2046 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2051 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2052 if test "x$LINE" != x
; then
2053 eval "DEFAULT_$LINE"
2058 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2063 eval "$ac_cv_use_libtiff"
2064 if test "$no_cache" != 1; then
2065 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2068 if test "$wxUSE_LIBTIFF" = yes; then
2069 echo "$ac_t""yes" 1>&6
2070 elif test "$wxUSE_LIBTIFF" = no
; then
2071 echo "$ac_t""no" 1>&6
2072 elif test "$wxUSE_LIBTIFF" = sys
; then
2073 echo "$ac_t""system version" 1>&6
2074 elif test "$wxUSE_LIBTIFF" = builtin; then
2075 echo "$ac_t""builtin version" 1>&6
2077 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2081 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2082 echo "configure:2083: checking for --with-freetype" >&5
2084 # Check whether --with-freetype or --without-freetype was given.
2085 if test "${with_freetype+set}" = set; then
2086 withval
="$with_freetype"
2088 if test "$withval" = yes; then
2089 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2090 elif test "$withval" = no
; then
2091 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2092 elif test "$withval" = sys
; then
2093 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2094 elif test "$withval" = builtin; then
2095 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2097 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2102 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2103 if test "x$LINE" != x
; then
2104 eval "DEFAULT_$LINE"
2109 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2114 eval "$ac_cv_use_freetype"
2115 if test "$no_cache" != 1; then
2116 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2119 if test "$wxUSE_FREETYPE" = yes; then
2120 echo "$ac_t""yes" 1>&6
2121 elif test "$wxUSE_FREETYPE" = no
; then
2122 echo "$ac_t""no" 1>&6
2123 elif test "$wxUSE_FREETYPE" = sys
; then
2124 echo "$ac_t""system version" 1>&6
2125 elif test "$wxUSE_FREETYPE" = builtin; then
2126 echo "$ac_t""builtin version" 1>&6
2128 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2132 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2133 echo "configure:2134: checking for --with-opengl" >&5
2135 # Check whether --with-opengl or --without-opengl was given.
2136 if test "${with_opengl+set}" = set; then
2137 withval
="$with_opengl"
2139 if test "$withval" = yes; then
2140 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2142 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2147 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2148 if test "x$LINE" != x
; then
2149 eval "DEFAULT_$LINE"
2154 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2159 eval "$ac_cv_use_opengl"
2160 if test "$no_cache" != 1; then
2161 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2164 if test "$wxUSE_OPENGL" = yes; then
2165 echo "$ac_t""yes" 1>&6
2167 echo "$ac_t""no" 1>&6
2174 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2175 echo "configure:2176: checking for --with-dmalloc" >&5
2177 # Check whether --with-dmalloc or --without-dmalloc was given.
2178 if test "${with_dmalloc+set}" = set; then
2179 withval
="$with_dmalloc"
2181 if test "$withval" = yes; then
2182 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2184 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2189 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2190 if test "x$LINE" != x
; then
2191 eval "DEFAULT_$LINE"
2196 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2201 eval "$ac_cv_use_dmalloc"
2202 if test "$no_cache" != 1; then
2203 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2206 if test "$wxUSE_DMALLOC" = yes; then
2207 echo "$ac_t""yes" 1>&6
2209 echo "$ac_t""no" 1>&6
2213 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2214 echo "configure:2215: checking for --with-regex" >&5
2216 # Check whether --with-regex or --without-regex was given.
2217 if test "${with_regex+set}" = set; then
2218 withval
="$with_regex"
2220 if test "$withval" = yes; then
2221 ac_cv_use_regex
='wxUSE_REGEX=yes'
2222 elif test "$withval" = no
; then
2223 ac_cv_use_regex
='wxUSE_REGEX=no'
2224 elif test "$withval" = sys
; then
2225 ac_cv_use_regex
='wxUSE_REGEX=sys'
2226 elif test "$withval" = builtin; then
2227 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2229 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2234 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2235 if test "x$LINE" != x
; then
2236 eval "DEFAULT_$LINE"
2241 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2246 eval "$ac_cv_use_regex"
2247 if test "$no_cache" != 1; then
2248 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2251 if test "$wxUSE_REGEX" = yes; then
2252 echo "$ac_t""yes" 1>&6
2253 elif test "$wxUSE_REGEX" = no
; then
2254 echo "$ac_t""no" 1>&6
2255 elif test "$wxUSE_REGEX" = sys
; then
2256 echo "$ac_t""system version" 1>&6
2257 elif test "$wxUSE_REGEX" = builtin; then
2258 echo "$ac_t""builtin version" 1>&6
2260 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2264 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2265 echo "configure:2266: checking for --with-zlib" >&5
2267 # Check whether --with-zlib or --without-zlib was given.
2268 if test "${with_zlib+set}" = set; then
2269 withval
="$with_zlib"
2271 if test "$withval" = yes; then
2272 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2273 elif test "$withval" = no
; then
2274 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2275 elif test "$withval" = sys
; then
2276 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2277 elif test "$withval" = builtin; then
2278 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2280 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2285 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2286 if test "x$LINE" != x
; then
2287 eval "DEFAULT_$LINE"
2292 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2297 eval "$ac_cv_use_zlib"
2298 if test "$no_cache" != 1; then
2299 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2302 if test "$wxUSE_ZLIB" = yes; then
2303 echo "$ac_t""yes" 1>&6
2304 elif test "$wxUSE_ZLIB" = no
; then
2305 echo "$ac_t""no" 1>&6
2306 elif test "$wxUSE_ZLIB" = sys
; then
2307 echo "$ac_t""system version" 1>&6
2308 elif test "$wxUSE_ZLIB" = builtin; then
2309 echo "$ac_t""builtin version" 1>&6
2311 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2315 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2316 echo "configure:2317: checking for --with-odbc" >&5
2318 # Check whether --with-odbc or --without-odbc was given.
2319 if test "${with_odbc+set}" = set; then
2320 withval
="$with_odbc"
2322 if test "$withval" = yes; then
2323 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2325 ac_cv_use_odbc
='wxUSE_ODBC=no'
2330 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2331 if test "x$LINE" != x
; then
2332 eval "DEFAULT_$LINE"
2337 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2342 eval "$ac_cv_use_odbc"
2343 if test "$no_cache" != 1; then
2344 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2347 if test "$wxUSE_ODBC" = yes; then
2348 echo "$ac_t""yes" 1>&6
2350 echo "$ac_t""no" 1>&6
2356 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2357 echo "configure:2358: checking for --enable-shared" >&5
2359 # Check whether --enable-shared or --disable-shared was given.
2360 if test "${enable_shared+set}" = set; then
2361 enableval
="$enable_shared"
2363 if test "$enableval" = yes; then
2364 ac_cv_use_shared
='wxUSE_SHARED=yes'
2366 ac_cv_use_shared
='wxUSE_SHARED=no'
2371 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2372 if test "x$LINE" != x
; then
2373 eval "DEFAULT_$LINE"
2378 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2383 eval "$ac_cv_use_shared"
2384 if test "$no_cache" != 1; then
2385 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2388 if test "$wxUSE_SHARED" = yes; then
2389 echo "$ac_t""yes" 1>&6
2391 echo "$ac_t""no" 1>&6
2395 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2396 echo "configure:2397: checking for --enable-soname" >&5
2398 # Check whether --enable-soname or --disable-soname was given.
2399 if test "${enable_soname+set}" = set; then
2400 enableval
="$enable_soname"
2402 if test "$enableval" = yes; then
2403 ac_cv_use_soname
='wxUSE_SONAME=yes'
2405 ac_cv_use_soname
='wxUSE_SONAME=no'
2410 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2411 if test "x$LINE" != x
; then
2412 eval "DEFAULT_$LINE"
2417 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2422 eval "$ac_cv_use_soname"
2423 if test "$no_cache" != 1; then
2424 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2427 if test "$wxUSE_SONAME" = yes; then
2428 echo "$ac_t""yes" 1>&6
2430 echo "$ac_t""no" 1>&6
2434 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2435 echo "configure:2436: checking for --enable-optimise" >&5
2437 # Check whether --enable-optimise or --disable-optimise was given.
2438 if test "${enable_optimise+set}" = set; then
2439 enableval
="$enable_optimise"
2441 if test "$enableval" = yes; then
2442 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2444 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2449 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2450 if test "x$LINE" != x
; then
2451 eval "DEFAULT_$LINE"
2456 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2461 eval "$ac_cv_use_optimise"
2462 if test "$no_cache" != 1; then
2463 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2466 if test "$wxUSE_OPTIMISE" = yes; then
2467 echo "$ac_t""yes" 1>&6
2469 echo "$ac_t""no" 1>&6
2473 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2474 echo "configure:2475: checking for --enable-debug" >&5
2476 # Check whether --enable-debug or --disable-debug was given.
2477 if test "${enable_debug+set}" = set; then
2478 enableval
="$enable_debug"
2480 if test "$enableval" = yes; then
2481 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2483 ac_cv_use_debug
='wxUSE_DEBUG=no'
2488 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2489 if test "x$LINE" != x
; then
2490 eval "DEFAULT_$LINE"
2495 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2500 eval "$ac_cv_use_debug"
2501 if test "$no_cache" != 1; then
2502 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2505 if test "$wxUSE_DEBUG" = yes; then
2506 echo "$ac_t""yes" 1>&6
2508 echo "$ac_t""no" 1>&6
2513 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2514 echo "configure:2515: checking for --enable-precomp" >&5
2516 # Check whether --enable-precomp or --disable-precomp was given.
2517 if test "${enable_precomp+set}" = set; then
2518 enableval
="$enable_precomp"
2520 if test "$enableval" = yes; then
2521 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2523 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2528 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2529 if test "x$LINE" != x
; then
2530 eval "DEFAULT_$LINE"
2535 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2540 eval "$ac_cv_use_precomp"
2541 if test "$no_cache" != 1; then
2542 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2545 if test "$wxUSE_PRECOMP" = yes; then
2546 echo "$ac_t""yes" 1>&6
2548 echo "$ac_t""no" 1>&6
2552 if test "$wxUSE_DEBUG" = "yes"; then
2553 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2554 DEFAULT_wxUSE_DEBUG_INFO
=yes
2555 elif test "$wxUSE_DEBUG" = "no"; then
2556 DEFAULT_wxUSE_DEBUG_FLAG
=no
2557 DEFAULT_wxUSE_DEBUG_INFO
=no
2561 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2562 echo "configure:2563: checking for --enable-debug_flag" >&5
2564 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2565 if test "${enable_debug_flag+set}" = set; then
2566 enableval
="$enable_debug_flag"
2568 if test "$enableval" = yes; then
2569 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2571 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2576 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2577 if test "x$LINE" != x
; then
2578 eval "DEFAULT_$LINE"
2583 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2588 eval "$ac_cv_use_debug_flag"
2589 if test "$no_cache" != 1; then
2590 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2593 if test "$wxUSE_DEBUG_FLAG" = yes; then
2594 echo "$ac_t""yes" 1>&6
2596 echo "$ac_t""no" 1>&6
2600 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2601 echo "configure:2602: checking for --enable-debug_info" >&5
2603 # Check whether --enable-debug_info or --disable-debug_info was given.
2604 if test "${enable_debug_info+set}" = set; then
2605 enableval
="$enable_debug_info"
2607 if test "$enableval" = yes; then
2608 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2610 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2615 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2616 if test "x$LINE" != x
; then
2617 eval "DEFAULT_$LINE"
2622 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2627 eval "$ac_cv_use_debug_info"
2628 if test "$no_cache" != 1; then
2629 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2632 if test "$wxUSE_DEBUG_INFO" = yes; then
2633 echo "$ac_t""yes" 1>&6
2635 echo "$ac_t""no" 1>&6
2639 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2640 echo "configure:2641: checking for --enable-debug_gdb" >&5
2642 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2643 if test "${enable_debug_gdb+set}" = set; then
2644 enableval
="$enable_debug_gdb"
2646 if test "$enableval" = yes; then
2647 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2649 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2654 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2655 if test "x$LINE" != x
; then
2656 eval "DEFAULT_$LINE"
2661 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2666 eval "$ac_cv_use_debug_gdb"
2667 if test "$no_cache" != 1; then
2668 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2671 if test "$wxUSE_DEBUG_GDB" = yes; then
2672 echo "$ac_t""yes" 1>&6
2674 echo "$ac_t""no" 1>&6
2678 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2679 echo "configure:2680: checking for --enable-debug_cntxt" >&5
2681 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2682 if test "${enable_debug_cntxt+set}" = set; then
2683 enableval
="$enable_debug_cntxt"
2685 if test "$enableval" = yes; then
2686 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2688 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2693 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2694 if test "x$LINE" != x
; then
2695 eval "DEFAULT_$LINE"
2700 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2705 eval "$ac_cv_use_debug_cntxt"
2706 if test "$no_cache" != 1; then
2707 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2710 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2711 echo "$ac_t""yes" 1>&6
2713 echo "$ac_t""no" 1>&6
2717 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2718 echo "configure:2719: checking for --enable-mem_tracing" >&5
2720 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2721 if test "${enable_mem_tracing+set}" = set; then
2722 enableval
="$enable_mem_tracing"
2724 if test "$enableval" = yes; then
2725 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2727 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2732 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2733 if test "x$LINE" != x
; then
2734 eval "DEFAULT_$LINE"
2739 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2744 eval "$ac_cv_use_mem_tracing"
2745 if test "$no_cache" != 1; then
2746 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2749 if test "$wxUSE_MEM_TRACING" = yes; then
2750 echo "$ac_t""yes" 1>&6
2752 echo "$ac_t""no" 1>&6
2756 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2757 echo "configure:2758: checking for --enable-profile" >&5
2759 # Check whether --enable-profile or --disable-profile was given.
2760 if test "${enable_profile+set}" = set; then
2761 enableval
="$enable_profile"
2763 if test "$enableval" = yes; then
2764 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2766 ac_cv_use_profile
='wxUSE_PROFILE=no'
2771 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2772 if test "x$LINE" != x
; then
2773 eval "DEFAULT_$LINE"
2778 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2783 eval "$ac_cv_use_profile"
2784 if test "$no_cache" != 1; then
2785 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2788 if test "$wxUSE_PROFILE" = yes; then
2789 echo "$ac_t""yes" 1>&6
2791 echo "$ac_t""no" 1>&6
2795 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2796 echo "configure:2797: checking for --enable-no_rtti" >&5
2798 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2799 if test "${enable_no_rtti+set}" = set; then
2800 enableval
="$enable_no_rtti"
2802 if test "$enableval" = yes; then
2803 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2805 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2810 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2811 if test "x$LINE" != x
; then
2812 eval "DEFAULT_$LINE"
2817 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2822 eval "$ac_cv_use_no_rtti"
2823 if test "$no_cache" != 1; then
2824 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2827 if test "$wxUSE_NO_RTTI" = yes; then
2828 echo "$ac_t""yes" 1>&6
2830 echo "$ac_t""no" 1>&6
2834 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2835 echo "configure:2836: checking for --enable-no_exceptions" >&5
2837 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2838 if test "${enable_no_exceptions+set}" = set; then
2839 enableval
="$enable_no_exceptions"
2841 if test "$enableval" = yes; then
2842 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2844 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2849 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2850 if test "x$LINE" != x
; then
2851 eval "DEFAULT_$LINE"
2856 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2861 eval "$ac_cv_use_no_exceptions"
2862 if test "$no_cache" != 1; then
2863 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2866 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2867 echo "$ac_t""yes" 1>&6
2869 echo "$ac_t""no" 1>&6
2873 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2874 echo "configure:2875: checking for --enable-permissive" >&5
2876 # Check whether --enable-permissive or --disable-permissive was given.
2877 if test "${enable_permissive+set}" = set; then
2878 enableval
="$enable_permissive"
2880 if test "$enableval" = yes; then
2881 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2883 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2888 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2889 if test "x$LINE" != x
; then
2890 eval "DEFAULT_$LINE"
2895 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2900 eval "$ac_cv_use_permissive"
2901 if test "$no_cache" != 1; then
2902 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2905 if test "$wxUSE_PERMISSIVE" = yes; then
2906 echo "$ac_t""yes" 1>&6
2908 echo "$ac_t""no" 1>&6
2912 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2913 echo "configure:2914: checking for --enable-no_deps" >&5
2915 # Check whether --enable-no_deps or --disable-no_deps was given.
2916 if test "${enable_no_deps+set}" = set; then
2917 enableval
="$enable_no_deps"
2919 if test "$enableval" = yes; then
2920 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2922 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2927 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2928 if test "x$LINE" != x
; then
2929 eval "DEFAULT_$LINE"
2934 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2939 eval "$ac_cv_use_no_deps"
2940 if test "$no_cache" != 1; then
2941 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2944 if test "$wxUSE_NO_DEPS" = yes; then
2945 echo "$ac_t""yes" 1>&6
2947 echo "$ac_t""no" 1>&6
2952 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2953 echo "configure:2954: checking for --enable-compat20" >&5
2955 # Check whether --enable-compat20 or --disable-compat20 was given.
2956 if test "${enable_compat20+set}" = set; then
2957 enableval
="$enable_compat20"
2959 if test "$enableval" = yes; then
2960 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2962 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2967 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2968 if test "x$LINE" != x
; then
2969 eval "DEFAULT_$LINE"
2974 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2979 eval "$ac_cv_use_compat20"
2980 if test "$no_cache" != 1; then
2981 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2984 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2985 echo "$ac_t""yes" 1>&6
2987 echo "$ac_t""no" 1>&6
2991 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2992 echo "configure:2993: checking for --enable-compat22" >&5
2994 # Check whether --enable-compat22 or --disable-compat22 was given.
2995 if test "${enable_compat22+set}" = set; then
2996 enableval
="$enable_compat22"
2998 if test "$enableval" = yes; then
2999 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
3001 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
3006 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
3007 if test "x$LINE" != x
; then
3008 eval "DEFAULT_$LINE"
3013 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
3018 eval "$ac_cv_use_compat22"
3019 if test "$no_cache" != 1; then
3020 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3023 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3024 echo "$ac_t""yes" 1>&6
3026 echo "$ac_t""no" 1>&6
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-pnm""... $ac_c" 1>&6
8291 echo "configure:8292: checking for --enable-pnm" >&5
8293 # Check whether --enable-pnm or --disable-pnm was given.
8294 if test "${enable_pnm+set}" = set; then
8295 enableval
="$enable_pnm"
8297 if test "$enableval" = yes; then
8298 ac_cv_use_pnm
='wxUSE_PNM=yes'
8300 ac_cv_use_pnm
='wxUSE_PNM=no'
8305 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8306 if test "x$LINE" != x
; then
8307 eval "DEFAULT_$LINE"
8312 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8317 eval "$ac_cv_use_pnm"
8318 if test "$no_cache" != 1; then
8319 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8322 if test "$wxUSE_PNM" = yes; then
8323 echo "$ac_t""yes" 1>&6
8325 echo "$ac_t""no" 1>&6
8329 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8330 echo "configure:8331: checking for --enable-xpm" >&5
8332 # Check whether --enable-xpm or --disable-xpm was given.
8333 if test "${enable_xpm+set}" = set; then
8334 enableval
="$enable_xpm"
8336 if test "$enableval" = yes; then
8337 ac_cv_use_xpm
='wxUSE_XPM=yes'
8339 ac_cv_use_xpm
='wxUSE_XPM=no'
8344 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8345 if test "x$LINE" != x
; then
8346 eval "DEFAULT_$LINE"
8351 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8356 eval "$ac_cv_use_xpm"
8357 if test "$no_cache" != 1; then
8358 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8361 if test "$wxUSE_XPM" = yes; then
8362 echo "$ac_t""yes" 1>&6
8364 echo "$ac_t""no" 1>&6
8371 echo "saving argument cache $wx_arg_cache_file"
8372 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8376 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8377 echo "configure:8378: checking for toolkit" >&5
8379 if test "$wxUSE_GUI" = "yes"; then
8381 if test "$USE_BEOS" = 1; then
8382 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8385 if test "$TOOLKIT_GIVEN" = 1; then
8386 for toolkit
in `echo $ALL_TOOLKITS`; do
8388 eval "value=\$${var}"
8389 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8392 for toolkit
in `echo $ALL_TOOLKITS`; do
8393 if test "$has_toolkit_in_cache" != 1; then
8394 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8396 var
=DEFAULT_wxUSE_
$toolkit
8398 eval "wxUSE_$toolkit=\$${var}"
8402 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8403 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0}`
8406 *-pc-os2_emx | *-pc-os2-emx )
8407 # PATH_IFS is autodetected by OS/2's configure (usually ';')
8408 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8417 case "$NUM_TOOLKITS" in
8421 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8424 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8427 for toolkit
in `echo $ALL_TOOLKITS`; do
8429 eval "value=\$${var}"
8430 if test "x$value" != x
; then
8431 cache_var
=CACHE_
$toolkit
8432 eval "cache=\$${cache_var}"
8433 if test "$cache" = 1; then
8434 echo "$var=$value" >> ${wx_arg_cache_file}
8436 if test "$value" = 1; then
8437 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8438 echo "$ac_t""$toolkit_echo" 1>&6
8444 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8448 cat > confcache
<<\EOF
8449 # This file is a shell script that caches the results of configure
8450 # tests run on this system so they can be shared between configure
8451 # scripts and configure runs. It is not useful on other systems.
8452 # If it contains results you don't want to keep, you may remove or edit it.
8454 # By default, configure uses ./config.cache as the cache file,
8455 # creating it if it does not exist already. You can give configure
8456 # the --cache-file=FILE option to use a different cache file; that is
8457 # what configure does when it calls configure scripts in
8458 # subdirectories, so they share the cache.
8459 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8460 # config.status only pays attention to the cache file if you give it the
8461 # --recheck option to rerun configure.
8464 # The following way of writing the cache mishandles newlines in values,
8465 # but we know of no workaround that is simple, portable, and efficient.
8466 # So, don't put newlines in cache variables' values.
8467 # Ultrix sh set writes to stderr and can't be redirected directly,
8468 # and sets the high bit in the cache file unless we assign to the vars.
8470 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8472 # `set' does not quote correctly, so add quotes (double-quote substitution
8473 # turns \\\\ into \\, and sed turns \\ into \).
8475 -e "s/'/'\\\\''/g" \
8476 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8479 # `set' quotes correctly as required by POSIX, so do not add quotes.
8480 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8483 if cmp -s $cache_file confcache
; then
8486 if test -w $cache_file; then
8487 echo "updating cache $cache_file"
8488 cat confcache
> $cache_file
8490 echo "not updating unwritable cache $cache_file"
8496 if test "$build" != "$host" ; then
8497 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8501 RANLIB
=$host_alias-ranlib
8502 DLLTOOL
=$host_alias-dlltool
8503 RESCOMP
=$host_alias-windres
8506 STRIP
=$host_alias-strip
8508 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8512 # Extract the first word of "gcc", so it can be a program name with args.
8513 set dummy gcc
; ac_word
=$2
8514 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8515 echo "configure:8516: checking for $ac_word" >&5
8516 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8517 echo $ac_n "(cached) $ac_c" 1>&6
8519 if test -n "$CC"; then
8520 ac_cv_prog_CC
="$CC" # Let the user override the test.
8522 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8524 for ac_dir
in $ac_dummy; do
8525 test -z "$ac_dir" && ac_dir
=.
8526 if test -f $ac_dir/$ac_word; then
8535 if test -n "$CC"; then
8536 echo "$ac_t""$CC" 1>&6
8538 echo "$ac_t""no" 1>&6
8541 if test -z "$CC"; then
8542 # Extract the first word of "cc", so it can be a program name with args.
8543 set dummy cc
; ac_word
=$2
8544 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8545 echo "configure:8546: checking for $ac_word" >&5
8546 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8547 echo $ac_n "(cached) $ac_c" 1>&6
8549 if test -n "$CC"; then
8550 ac_cv_prog_CC
="$CC" # Let the user override the test.
8552 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8555 for ac_dir
in $ac_dummy; do
8556 test -z "$ac_dir" && ac_dir
=.
8557 if test -f $ac_dir/$ac_word; then
8558 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8559 ac_prog_rejected
=yes
8567 if test $ac_prog_rejected = yes; then
8568 # We found a bogon in the path, so make sure we never use it.
8569 set dummy
$ac_cv_prog_CC
8571 if test $# -gt 0; then
8572 # We chose a different compiler from the bogus one.
8573 # However, it has the same basename, so the bogon will be chosen
8574 # first if we set CC to just the basename; use the full file name.
8576 set dummy
"$ac_dir/$ac_word" "$@"
8584 if test -n "$CC"; then
8585 echo "$ac_t""$CC" 1>&6
8587 echo "$ac_t""no" 1>&6
8590 if test -z "$CC"; then
8591 case "`uname -s`" in
8593 # Extract the first word of "cl", so it can be a program name with args.
8594 set dummy cl
; ac_word
=$2
8595 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8596 echo "configure:8597: checking for $ac_word" >&5
8597 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8598 echo $ac_n "(cached) $ac_c" 1>&6
8600 if test -n "$CC"; then
8601 ac_cv_prog_CC
="$CC" # Let the user override the test.
8603 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8605 for ac_dir
in $ac_dummy; do
8606 test -z "$ac_dir" && ac_dir
=.
8607 if test -f $ac_dir/$ac_word; then
8616 if test -n "$CC"; then
8617 echo "$ac_t""$CC" 1>&6
8619 echo "$ac_t""no" 1>&6
8624 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8627 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8628 echo "configure:8629: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8631 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8632 ac_cpp
='$CPP $CPPFLAGS'
8633 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8634 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8635 cross_compiling
=$ac_cv_prog_cc_cross
8637 cat > conftest.
$ac_ext << EOF
8639 #line 8640 "configure"
8640 #include "confdefs.h"
8644 if { (eval echo configure
:8645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8645 ac_cv_prog_cc_works
=yes
8646 # If we can't run a trivial program, we are probably using a cross compiler.
8647 if (.
/conftest
; exit) 2>/dev
/null
; then
8648 ac_cv_prog_cc_cross
=no
8650 ac_cv_prog_cc_cross
=yes
8653 echo "configure: failed program was:" >&5
8654 cat conftest.
$ac_ext >&5
8655 ac_cv_prog_cc_works
=no
8659 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8660 ac_cpp
='$CPP $CPPFLAGS'
8661 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8662 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8663 cross_compiling
=$ac_cv_prog_cc_cross
8665 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8666 if test $ac_cv_prog_cc_works = no
; then
8667 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8669 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8670 echo "configure:8671: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8671 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8672 cross_compiling
=$ac_cv_prog_cc_cross
8674 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8675 echo "configure:8676: checking whether we are using GNU C" >&5
8676 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8677 echo $ac_n "(cached) $ac_c" 1>&6
8679 cat > conftest.c
<<EOF
8684 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8691 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8693 if test $ac_cv_prog_gcc = yes; then
8699 ac_test_CFLAGS
="${CFLAGS+set}"
8700 ac_save_CFLAGS
="$CFLAGS"
8702 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8703 echo "configure:8704: checking whether ${CC-cc} accepts -g" >&5
8704 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8705 echo $ac_n "(cached) $ac_c" 1>&6
8707 echo 'void f(){}' > conftest.c
8708 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8717 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8718 if test "$ac_test_CFLAGS" = set; then
8719 CFLAGS
="$ac_save_CFLAGS"
8720 elif test $ac_cv_prog_cc_g = yes; then
8721 if test "$GCC" = yes; then
8727 if test "$GCC" = yes; then
8735 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8737 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8738 echo "configure:8739: checking how to run the C preprocessor" >&5
8739 # On Suns, sometimes $CPP names a directory.
8740 if test -n "$CPP" && test -d "$CPP"; then
8743 if test -z "$CPP"; then
8744 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8745 echo $ac_n "(cached) $ac_c" 1>&6
8747 # This must be in double quotes, not single quotes, because CPP may get
8748 # substituted into the Makefile and "${CC-cc}" will confuse make.
8750 # On the NeXT, cc -E runs the code through the compiler's parser,
8751 # not just through cpp.
8752 cat > conftest.
$ac_ext <<EOF
8753 #line 8754 "configure"
8754 #include "confdefs.h"
8758 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8759 { (eval echo configure
:8760: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8760 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8761 if test -z "$ac_err"; then
8765 echo "configure: failed program was:" >&5
8766 cat conftest.
$ac_ext >&5
8768 CPP
="${CC-cc} -E -traditional-cpp"
8769 cat > conftest.
$ac_ext <<EOF
8770 #line 8771 "configure"
8771 #include "confdefs.h"
8775 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8776 { (eval echo configure
:8777: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8777 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8778 if test -z "$ac_err"; then
8782 echo "configure: failed program was:" >&5
8783 cat conftest.
$ac_ext >&5
8785 CPP
="${CC-cc} -nologo -E"
8786 cat > conftest.
$ac_ext <<EOF
8787 #line 8788 "configure"
8788 #include "confdefs.h"
8792 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8793 { (eval echo configure
:8794: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8794 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8795 if test -z "$ac_err"; then
8799 echo "configure: failed program was:" >&5
8800 cat conftest.
$ac_ext >&5
8809 ac_cv_prog_CPP
="$CPP"
8811 CPP
="$ac_cv_prog_CPP"
8813 ac_cv_prog_CPP
="$CPP"
8815 echo "$ac_t""$CPP" 1>&6
8817 if test $ac_cv_prog_gcc = yes; then
8818 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8819 echo "configure:8820: checking whether ${CC-cc} needs -traditional" >&5
8820 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8821 echo $ac_n "(cached) $ac_c" 1>&6
8823 ac_pattern
="Autoconf.*'x'"
8824 cat > conftest.
$ac_ext <<EOF
8825 #line 8826 "configure"
8826 #include "confdefs.h"
8830 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8831 egrep "$ac_pattern" >/dev
/null
2>&1; then
8833 ac_cv_prog_gcc_traditional
=yes
8836 ac_cv_prog_gcc_traditional
=no
8841 if test $ac_cv_prog_gcc_traditional = no
; then
8842 cat > conftest.
$ac_ext <<EOF
8843 #line 8844 "configure"
8844 #include "confdefs.h"
8848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8849 egrep "$ac_pattern" >/dev
/null
2>&1; then
8851 ac_cv_prog_gcc_traditional
=yes
8858 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8859 if test $ac_cv_prog_gcc_traditional = yes; then
8860 CC
="$CC -traditional"
8867 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8868 ac_cpp
='$CXXCPP $CPPFLAGS'
8869 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8870 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8871 cross_compiling
=$ac_cv_prog_cxx_cross
8874 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8876 # Extract the first word of "$ac_prog", so it can be a program name with args.
8877 set dummy
$ac_prog; ac_word
=$2
8878 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8879 echo "configure:8880: checking for $ac_word" >&5
8880 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8881 echo $ac_n "(cached) $ac_c" 1>&6
8883 if test -n "$CXX"; then
8884 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8886 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8888 for ac_dir
in $ac_dummy; do
8889 test -z "$ac_dir" && ac_dir
=.
8890 if test -f $ac_dir/$ac_word; then
8891 ac_cv_prog_CXX
="$ac_prog"
8898 CXX
="$ac_cv_prog_CXX"
8899 if test -n "$CXX"; then
8900 echo "$ac_t""$CXX" 1>&6
8902 echo "$ac_t""no" 1>&6
8905 test -n "$CXX" && break
8907 test -n "$CXX" || CXX
="gcc"
8910 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8911 echo "configure:8912: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8914 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8915 ac_cpp
='$CXXCPP $CPPFLAGS'
8916 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8917 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8918 cross_compiling
=$ac_cv_prog_cxx_cross
8920 cat > conftest.
$ac_ext << EOF
8922 #line 8923 "configure"
8923 #include "confdefs.h"
8925 int main(){return(0);}
8927 if { (eval echo configure
:8928: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8928 ac_cv_prog_cxx_works
=yes
8929 # If we can't run a trivial program, we are probably using a cross compiler.
8930 if (.
/conftest
; exit) 2>/dev
/null
; then
8931 ac_cv_prog_cxx_cross
=no
8933 ac_cv_prog_cxx_cross
=yes
8936 echo "configure: failed program was:" >&5
8937 cat conftest.
$ac_ext >&5
8938 ac_cv_prog_cxx_works
=no
8942 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8943 ac_cpp
='$CXXCPP $CPPFLAGS'
8944 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8945 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8946 cross_compiling
=$ac_cv_prog_cxx_cross
8948 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8949 if test $ac_cv_prog_cxx_works = no
; then
8950 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8952 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8953 echo "configure:8954: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8954 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8955 cross_compiling
=$ac_cv_prog_cxx_cross
8957 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8958 echo "configure:8959: checking whether we are using GNU C++" >&5
8959 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8960 echo $ac_n "(cached) $ac_c" 1>&6
8962 cat > conftest.C
<<EOF
8967 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8968: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8974 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8976 if test $ac_cv_prog_gxx = yes; then
8982 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8983 ac_save_CXXFLAGS
="$CXXFLAGS"
8985 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8986 echo "configure:8987: checking whether ${CXX-g++} accepts -g" >&5
8987 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8988 echo $ac_n "(cached) $ac_c" 1>&6
8990 echo 'void f(){}' > conftest.cc
8991 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8992 ac_cv_prog_cxx_g
=yes
9000 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
9001 if test "$ac_test_CXXFLAGS" = set; then
9002 CXXFLAGS
="$ac_save_CXXFLAGS"
9003 elif test $ac_cv_prog_cxx_g = yes; then
9004 if test "$GXX" = yes; then
9010 if test "$GXX" = yes; then
9018 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
9021 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9022 ac_cpp
='$CPP $CPPFLAGS'
9023 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9024 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9025 cross_compiling
=$ac_cv_prog_cc_cross
9028 # Extract the first word of "ranlib", so it can be a program name with args.
9029 set dummy ranlib
; ac_word
=$2
9030 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9031 echo "configure:9032: checking for $ac_word" >&5
9032 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
9033 echo $ac_n "(cached) $ac_c" 1>&6
9035 if test -n "$RANLIB"; then
9036 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
9038 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9040 for ac_dir
in $ac_dummy; do
9041 test -z "$ac_dir" && ac_dir
=.
9042 if test -f $ac_dir/$ac_word; then
9043 ac_cv_prog_RANLIB
="ranlib"
9048 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
9051 RANLIB
="$ac_cv_prog_RANLIB"
9052 if test -n "$RANLIB"; then
9053 echo "$ac_t""$RANLIB" 1>&6
9055 echo "$ac_t""no" 1>&6
9059 # Extract the first word of "ar", so it can be a program name with args.
9060 set dummy
ar; ac_word
=$2
9061 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9062 echo "configure:9063: checking for $ac_word" >&5
9063 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
9064 echo $ac_n "(cached) $ac_c" 1>&6
9066 if test -n "$AR"; then
9067 ac_cv_prog_AR
="$AR" # Let the user override the test.
9069 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9071 for ac_dir
in $ac_dummy; do
9072 test -z "$ac_dir" && ac_dir
=.
9073 if test -f $ac_dir/$ac_word; then
9079 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
9083 if test -n "$AR"; then
9084 echo "$ac_t""$AR" 1>&6
9086 echo "$ac_t""no" 1>&6
9090 # Find a good install program. We prefer a C program (faster),
9091 # so one script is as good as another. But avoid the broken or
9092 # incompatible versions:
9093 # SysV /etc/install, /usr/sbin/install
9094 # SunOS /usr/etc/install
9095 # IRIX /sbin/install
9097 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
9098 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
9099 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
9100 # ./install, which can be erroneously created by make from ./install.sh.
9101 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
9102 echo "configure:9103: checking for a BSD compatible install" >&5
9103 if test -z "$INSTALL"; then
9104 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
9105 echo $ac_n "(cached) $ac_c" 1>&6
9107 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
9108 for ac_dir
in $PATH; do
9109 # Account for people who put trailing slashes in PATH elements.
9111 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
9113 # OSF1 and SCO ODT 3.0 have their own names for install.
9114 # Don't use installbsd from OSF since it installs stuff as root
9116 for ac_prog
in ginstall scoinst
install; do
9117 if test -f $ac_dir/$ac_prog; then
9118 if test $ac_prog = install &&
9119 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
9120 # AIX install. It has an incompatible calling convention.
9123 ac_cv_path_install
="$ac_dir/$ac_prog -c"
9134 if test "${ac_cv_path_install+set}" = set; then
9135 INSTALL
="$ac_cv_path_install"
9137 # As a last resort, use the slow shell script. We don't cache a
9138 # path for INSTALL within a source directory, because that will
9139 # break other packages using the cache if that directory is
9140 # removed, or if the path is relative.
9141 INSTALL
="$ac_install_sh"
9144 echo "$ac_t""$INSTALL" 1>&6
9146 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
9147 # It thinks the first close brace ends the variable substitution.
9148 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
9150 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
9152 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
9157 INSTALL_PROGRAM
="cp -fp"
9158 INSTALL_DATA
="cp -fp"
9164 # Extract the first word of "strip", so it can be a program name with args.
9165 set dummy strip
; ac_word
=$2
9166 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9167 echo "configure:9168: checking for $ac_word" >&5
9168 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
9169 echo $ac_n "(cached) $ac_c" 1>&6
9171 if test -n "$STRIP"; then
9172 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
9174 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9176 for ac_dir
in $ac_dummy; do
9177 test -z "$ac_dir" && ac_dir
=.
9178 if test -f $ac_dir/$ac_word; then
9179 ac_cv_prog_STRIP
="strip"
9184 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
9187 STRIP
="$ac_cv_prog_STRIP"
9188 if test -n "$STRIP"; then
9189 echo "$ac_t""$STRIP" 1>&6
9191 echo "$ac_t""no" 1>&6
9195 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
9196 echo "configure:9197: checking make for VPATH support" >&5
9197 cat - << EOF > confMake
9203 if test ! -d sub
; then
9206 echo dummy
> sub
/file
9207 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
9209 rm -f sub
/file check final_file confMake
9211 if test "$RESULT" = 0; then
9212 echo "$ac_t""yes" 1>&6
9214 echo "$ac_t""no" 1>&6
9215 { echo "configure: error:
9216 You need a make-utility that is able to use the variable
9218 If your version of make does not support VPATH correctly,
9219 please install GNU-make (possibly as gmake), and start
9220 configure with the following command:
9221 export MAKE=gmake; ./configure for sh-type shells
9222 setenv MAKE gmake; ./configure for csh-type shells
9223 Also please do remember to use gmake in this case every time
9224 you are trying to compile.
9228 for ac_prog
in 'bison -y' byacc
9230 # Extract the first word of "$ac_prog", so it can be a program name with args.
9231 set dummy
$ac_prog; ac_word
=$2
9232 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9233 echo "configure:9234: checking for $ac_word" >&5
9234 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9235 echo $ac_n "(cached) $ac_c" 1>&6
9237 if test -n "$YACC"; then
9238 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9240 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9242 for ac_dir
in $ac_dummy; do
9243 test -z "$ac_dir" && ac_dir
=.
9244 if test -f $ac_dir/$ac_word; then
9245 ac_cv_prog_YACC
="$ac_prog"
9252 YACC
="$ac_cv_prog_YACC"
9253 if test -n "$YACC"; then
9254 echo "$ac_t""$YACC" 1>&6
9256 echo "$ac_t""no" 1>&6
9259 test -n "$YACC" && break
9261 test -n "$YACC" || YACC
="yacc"
9264 # Extract the first word of "flex", so it can be a program name with args.
9265 set dummy flex
; ac_word
=$2
9266 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9267 echo "configure:9268: checking for $ac_word" >&5
9268 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9269 echo $ac_n "(cached) $ac_c" 1>&6
9271 if test -n "$LEX"; then
9272 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9274 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9276 for ac_dir
in $ac_dummy; do
9277 test -z "$ac_dir" && ac_dir
=.
9278 if test -f $ac_dir/$ac_word; then
9279 ac_cv_prog_LEX
="flex"
9284 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9287 LEX
="$ac_cv_prog_LEX"
9288 if test -n "$LEX"; then
9289 echo "$ac_t""$LEX" 1>&6
9291 echo "$ac_t""no" 1>&6
9294 if test -z "$LEXLIB"
9300 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9301 echo "configure:9302: checking for yywrap in -l$ac_lib" >&5
9302 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9303 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9304 echo $ac_n "(cached) $ac_c" 1>&6
9306 ac_save_LIBS
="$LIBS"
9307 LIBS
="-l$ac_lib $LIBS"
9308 cat > conftest.
$ac_ext <<EOF
9309 #line 9310 "configure"
9310 #include "confdefs.h"
9311 /* Override any gcc2 internal prototype to avoid an error. */
9312 /* We use char because int might match the return type of a gcc2
9313 builtin and then its argument prototype would still apply. */
9320 if { (eval echo configure
:9321: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9322 eval "ac_cv_lib_$ac_lib_var=yes"
9324 echo "configure: failed program was:" >&5
9325 cat conftest.
$ac_ext >&5
9327 eval "ac_cv_lib_$ac_lib_var=no"
9330 LIBS
="$ac_save_LIBS"
9333 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9334 echo "$ac_t""yes" 1>&6
9337 echo "$ac_t""no" 1>&6
9343 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9344 echo "configure:9345: checking whether ln -s works" >&5
9345 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9346 echo $ac_n "(cached) $ac_c" 1>&6
9349 if ln -s X conftestdata
2>/dev
/null
9352 ac_cv_prog_LN_S
="ln -s"
9357 LN_S
="$ac_cv_prog_LN_S"
9358 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9359 echo "$ac_t""yes" 1>&6
9361 echo "$ac_t""no" 1>&6
9367 /usr/local/include \
9369 /usr/Motif-1.2/include \
9370 /usr/Motif-2.1/include \
9372 /usr/include/Motif1.2 \
9373 /opt/xpm/include/X11 \
9374 /opt/GBxpm/include/ \
9375 /opt/GBxpm/X11/include/ \
9377 /usr/Motif1.2/include \
9379 /usr/openwin/include \
9383 /usr/X11R6/include \
9384 /usr/X11R6.4/include \
9385 /usr/X11R5/include \
9386 /usr/X11R4/include \
9388 /usr/include/X11R6 \
9389 /usr/include/X11R5 \
9390 /usr/include/X11R4 \
9392 /usr/local/X11R6/include \
9393 /usr/local/X11R5/include \
9394 /usr/local/X11R4/include \
9396 /usr/local/include/X11R6 \
9397 /usr/local/include/X11R5 \
9398 /usr/local/include/X11R4 \
9402 /usr/local/X11/include \
9403 /usr/local/include/X11 \
9407 /usr/XFree86/include/X11 \
9409 X:/XFree86/include \
9410 X:/XFree86/include/X11 \
9413 /usr/local/include/gtk \
9415 /usr/local/include/glib \
9418 /usr/local/include/qt \
9420 /usr/include/windows \
9422 /usr/local/include/wine \
9424 /usr/unsupported/include \
9425 /usr/athena/include \
9426 /usr/local/x11r5/include \
9427 /usr/lpp/Xamples/include \
9429 /usr/openwin/share/include \
9433 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9436 cat > confcache
<<\EOF
9437 # This file is a shell script that caches the results of configure
9438 # tests run on this system so they can be shared between configure
9439 # scripts and configure runs. It is not useful on other systems.
9440 # If it contains results you don't want to keep, you may remove or edit it.
9442 # By default, configure uses ./config.cache as the cache file,
9443 # creating it if it does not exist already. You can give configure
9444 # the --cache-file=FILE option to use a different cache file; that is
9445 # what configure does when it calls configure scripts in
9446 # subdirectories, so they share the cache.
9447 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9448 # config.status only pays attention to the cache file if you give it the
9449 # --recheck option to rerun configure.
9452 # The following way of writing the cache mishandles newlines in values,
9453 # but we know of no workaround that is simple, portable, and efficient.
9454 # So, don't put newlines in cache variables' values.
9455 # Ultrix sh set writes to stderr and can't be redirected directly,
9456 # and sets the high bit in the cache file unless we assign to the vars.
9458 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9460 # `set' does not quote correctly, so add quotes (double-quote substitution
9461 # turns \\\\ into \\, and sed turns \\ into \).
9463 -e "s/'/'\\\\''/g" \
9464 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9467 # `set' quotes correctly as required by POSIX, so do not add quotes.
9468 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9471 if cmp -s $cache_file confcache
; then
9474 if test -w $cache_file; then
9475 echo "updating cache $cache_file"
9476 cat confcache
> $cache_file
9478 echo "not updating unwritable cache $cache_file"
9487 if test "$wxUSE_REGEX" != "no"; then
9488 cat >> confdefs.h
<<\EOF
9489 #define wxUSE_REGEX 1
9493 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9494 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9495 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9496 echo "configure:9497: checking for regex.h" >&5
9497 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9498 echo $ac_n "(cached) $ac_c" 1>&6
9500 cat > conftest.
$ac_ext <<EOF
9501 #line 9502 "configure"
9502 #include "confdefs.h"
9505 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9506 { (eval echo configure
:9507: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9507 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9508 if test -z "$ac_err"; then
9510 eval "ac_cv_header_$ac_safe=yes"
9513 echo "configure: failed program was:" >&5
9514 cat conftest.
$ac_ext >&5
9516 eval "ac_cv_header_$ac_safe=no"
9520 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9521 echo "$ac_t""yes" 1>&6
9522 for ac_func
in regcomp
9524 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9525 echo "configure:9526: checking for $ac_func" >&5
9526 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9527 echo $ac_n "(cached) $ac_c" 1>&6
9529 cat > conftest.
$ac_ext <<EOF
9530 #line 9531 "configure"
9531 #include "confdefs.h"
9532 /* System header to define __stub macros and hopefully few prototypes,
9533 which can conflict with char $ac_func(); below. */
9535 /* Override any gcc2 internal prototype to avoid an error. */
9536 /* We use char because int might match the return type of a gcc2
9537 builtin and then its argument prototype would still apply. */
9542 /* The GNU C library defines this for functions which it implements
9543 to always fail with ENOSYS. Some functions are actually named
9544 something starting with __ and the normal name is an alias. */
9545 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9553 if { (eval echo configure
:9554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9555 eval "ac_cv_func_$ac_func=yes"
9557 echo "configure: failed program was:" >&5
9558 cat conftest.
$ac_ext >&5
9560 eval "ac_cv_func_$ac_func=no"
9565 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9566 echo "$ac_t""yes" 1>&6
9567 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9568 cat >> confdefs.h
<<EOF
9569 #define $ac_tr_func 1
9573 echo "$ac_t""no" 1>&6
9578 echo "$ac_t""no" 1>&6
9582 if test "x$ac_cv_func_regcomp" != "xyes"; then
9583 if test "$wxUSE_REGEX" = "sys" ; then
9584 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9586 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9594 if test "$wxUSE_REGEX" = "builtin" ; then
9595 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9602 if test "$wxUSE_ZLIB" != "no" ; then
9603 cat >> confdefs.h
<<\EOF
9604 #define wxUSE_ZLIB 1
9608 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9609 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9610 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9611 echo "configure:9612: checking for zlib.h" >&5
9612 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9613 echo $ac_n "(cached) $ac_c" 1>&6
9615 cat > conftest.
$ac_ext <<EOF
9616 #line 9617 "configure"
9617 #include "confdefs.h"
9620 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9621 { (eval echo configure
:9622: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9622 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9623 if test -z "$ac_err"; then
9625 eval "ac_cv_header_$ac_safe=yes"
9628 echo "configure: failed program was:" >&5
9629 cat conftest.
$ac_ext >&5
9631 eval "ac_cv_header_$ac_safe=no"
9635 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9636 echo "$ac_t""yes" 1>&6
9637 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9638 echo "configure:9639: checking for deflate in -lz" >&5
9639 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9640 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9641 echo $ac_n "(cached) $ac_c" 1>&6
9643 ac_save_LIBS
="$LIBS"
9645 cat > conftest.
$ac_ext <<EOF
9646 #line 9647 "configure"
9647 #include "confdefs.h"
9648 /* Override any gcc2 internal prototype to avoid an error. */
9649 /* We use char because int might match the return type of a gcc2
9650 builtin and then its argument prototype would still apply. */
9657 if { (eval echo configure
:9658: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9659 eval "ac_cv_lib_$ac_lib_var=yes"
9661 echo "configure: failed program was:" >&5
9662 cat conftest.
$ac_ext >&5
9664 eval "ac_cv_lib_$ac_lib_var=no"
9667 LIBS
="$ac_save_LIBS"
9670 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9671 echo "$ac_t""yes" 1>&6
9674 echo "$ac_t""no" 1>&6
9678 echo "$ac_t""no" 1>&6
9682 if test "x$ZLIB_LINK" = "x" ; then
9683 if test "$wxUSE_ZLIB" = "sys" ; then
9684 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9686 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9694 if test "$wxUSE_ZLIB" = "builtin" ; then
9695 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9702 if test "$wxUSE_LIBPNG" != "no" ; then
9703 cat >> confdefs.h
<<\EOF
9704 #define wxUSE_LIBPNG 1
9708 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9709 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9710 wxUSE_LIBPNG
=builtin
9713 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9714 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9715 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9716 echo "configure:9717: checking for png.h" >&5
9717 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9718 echo $ac_n "(cached) $ac_c" 1>&6
9720 cat > conftest.
$ac_ext <<EOF
9721 #line 9722 "configure"
9722 #include "confdefs.h"
9725 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9726 { (eval echo configure
:9727: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9727 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9728 if test -z "$ac_err"; then
9730 eval "ac_cv_header_$ac_safe=yes"
9733 echo "configure: failed program was:" >&5
9734 cat conftest.
$ac_ext >&5
9736 eval "ac_cv_header_$ac_safe=no"
9740 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9741 echo "$ac_t""yes" 1>&6
9742 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9743 echo "configure:9744: checking for png_check_sig in -lpng" >&5
9744 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9745 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9746 echo $ac_n "(cached) $ac_c" 1>&6
9748 ac_save_LIBS
="$LIBS"
9749 LIBS
="-lpng -lz -lm $LIBS"
9750 cat > conftest.
$ac_ext <<EOF
9751 #line 9752 "configure"
9752 #include "confdefs.h"
9753 /* Override any gcc2 internal prototype to avoid an error. */
9754 /* We use char because int might match the return type of a gcc2
9755 builtin and then its argument prototype would still apply. */
9756 char png_check_sig();
9762 if { (eval echo configure
:9763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9764 eval "ac_cv_lib_$ac_lib_var=yes"
9766 echo "configure: failed program was:" >&5
9767 cat conftest.
$ac_ext >&5
9769 eval "ac_cv_lib_$ac_lib_var=no"
9772 LIBS
="$ac_save_LIBS"
9775 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9776 echo "$ac_t""yes" 1>&6
9779 echo "$ac_t""no" 1>&6
9784 echo "$ac_t""no" 1>&6
9788 if test "x$PNG_LINK" = "x" ; then
9789 if test "$wxUSE_LIBPNG" = "sys" ; then
9790 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9792 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9793 wxUSE_LIBPNG
=builtin
9800 if test "$wxUSE_LIBPNG" = "builtin" ; then
9801 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9804 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9810 if test "$wxUSE_LIBJPEG" != "no" ; then
9811 cat >> confdefs.h
<<\EOF
9812 #define wxUSE_LIBJPEG 1
9816 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9817 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9818 echo "configure:9819: checking for jpeglib.h" >&5
9819 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9820 echo $ac_n "(cached) $ac_c" 1>&6
9822 cat > conftest.
$ac_ext <<EOF
9823 #line 9824 "configure"
9824 #include "confdefs.h"
9826 #undef HAVE_STDLIB_H
9828 #include <jpeglib.h>
9835 if { (eval echo configure
:9836: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9837 ac_cv_header_jpeglib_h
=yes
9839 echo "configure: failed program was:" >&5
9840 cat conftest.
$ac_ext >&5
9842 ac_cv_header_jpeglib_h
=no
9849 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9851 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9852 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9853 echo "configure:9854: checking for jpeg_read_header in -ljpeg" >&5
9854 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9855 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9856 echo $ac_n "(cached) $ac_c" 1>&6
9858 ac_save_LIBS
="$LIBS"
9860 cat > conftest.
$ac_ext <<EOF
9861 #line 9862 "configure"
9862 #include "confdefs.h"
9863 /* Override any gcc2 internal prototype to avoid an error. */
9864 /* We use char because int might match the return type of a gcc2
9865 builtin and then its argument prototype would still apply. */
9866 char jpeg_read_header();
9872 if { (eval echo configure
:9873: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9874 eval "ac_cv_lib_$ac_lib_var=yes"
9876 echo "configure: failed program was:" >&5
9877 cat conftest.
$ac_ext >&5
9879 eval "ac_cv_lib_$ac_lib_var=no"
9882 LIBS
="$ac_save_LIBS"
9885 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9886 echo "$ac_t""yes" 1>&6
9889 echo "$ac_t""no" 1>&6
9894 if test "x$JPEG_LINK" = "x" ; then
9895 if test "$wxUSE_LIBJPEG" = "sys" ; then
9896 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9898 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9899 wxUSE_LIBJPEG
=builtin
9906 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9907 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
9914 if test "$wxUSE_LIBTIFF" != "no" ; then
9915 cat >> confdefs.h
<<\EOF
9916 #define wxUSE_LIBTIFF 1
9920 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9921 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9922 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9923 echo "configure:9924: checking for tiffio.h" >&5
9924 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9925 echo $ac_n "(cached) $ac_c" 1>&6
9927 cat > conftest.
$ac_ext <<EOF
9928 #line 9929 "configure"
9929 #include "confdefs.h"
9932 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9933 { (eval echo configure
:9934: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9934 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9935 if test -z "$ac_err"; then
9937 eval "ac_cv_header_$ac_safe=yes"
9940 echo "configure: failed program was:" >&5
9941 cat conftest.
$ac_ext >&5
9943 eval "ac_cv_header_$ac_safe=no"
9947 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9948 echo "$ac_t""yes" 1>&6
9949 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9950 echo "configure:9951: checking for TIFFError in -ltiff" >&5
9951 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9952 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9953 echo $ac_n "(cached) $ac_c" 1>&6
9955 ac_save_LIBS
="$LIBS"
9956 LIBS
="-ltiff -lm $LIBS"
9957 cat > conftest.
$ac_ext <<EOF
9958 #line 9959 "configure"
9959 #include "confdefs.h"
9960 /* Override any gcc2 internal prototype to avoid an error. */
9961 /* We use char because int might match the return type of a gcc2
9962 builtin and then its argument prototype would still apply. */
9969 if { (eval echo configure
:9970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9971 eval "ac_cv_lib_$ac_lib_var=yes"
9973 echo "configure: failed program was:" >&5
9974 cat conftest.
$ac_ext >&5
9976 eval "ac_cv_lib_$ac_lib_var=no"
9979 LIBS
="$ac_save_LIBS"
9982 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9983 echo "$ac_t""yes" 1>&6
9986 echo "$ac_t""no" 1>&6
9991 echo "$ac_t""no" 1>&6
9995 if test "x$TIFF_LINK" = "x" ; then
9996 if test "$wxUSE_LIBTIFF" = "sys" ; then
9997 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9999 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
10000 wxUSE_LIBTIFF
=builtin
10007 if test "$wxUSE_LIBTIFF" = "builtin" ; then
10008 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
10015 if test "$wxUSE_FREETYPE" != "no" ; then
10016 cat >> confdefs.h
<<\EOF
10017 #define wxUSE_FREETYPE 1
10021 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
10022 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
10023 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
10024 echo "configure:10025: checking for freetype.h" >&5
10025 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10026 echo $ac_n "(cached) $ac_c" 1>&6
10028 cat > conftest.
$ac_ext <<EOF
10029 #line 10030 "configure"
10030 #include "confdefs.h"
10031 #include <freetype.h>
10033 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10034 { (eval echo configure
:10035: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10035 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10036 if test -z "$ac_err"; then
10038 eval "ac_cv_header_$ac_safe=yes"
10041 echo "configure: failed program was:" >&5
10042 cat conftest.
$ac_ext >&5
10044 eval "ac_cv_header_$ac_safe=no"
10048 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10049 echo "$ac_t""yes" 1>&6
10050 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
10051 echo "configure:10052: checking for FT_Render_Glyph in -lfreetype" >&5
10052 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
10053 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10054 echo $ac_n "(cached) $ac_c" 1>&6
10056 ac_save_LIBS
="$LIBS"
10057 LIBS
="-lfreetype -lm $LIBS"
10058 cat > conftest.
$ac_ext <<EOF
10059 #line 10060 "configure"
10060 #include "confdefs.h"
10061 /* Override any gcc2 internal prototype to avoid an error. */
10062 /* We use char because int might match the return type of a gcc2
10063 builtin and then its argument prototype would still apply. */
10064 char FT_Render_Glyph();
10070 if { (eval echo configure
:10071: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10072 eval "ac_cv_lib_$ac_lib_var=yes"
10074 echo "configure: failed program was:" >&5
10075 cat conftest.
$ac_ext >&5
10077 eval "ac_cv_lib_$ac_lib_var=no"
10080 LIBS
="$ac_save_LIBS"
10083 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10084 echo "$ac_t""yes" 1>&6
10085 FREETYPE_LINK
=" -lfreetype"
10087 echo "$ac_t""no" 1>&6
10092 echo "$ac_t""no" 1>&6
10096 if test "x$FREETYPE_LINK" = "x" ; then
10097 if test "$wxUSE_FREETYPE" = "sys" ; then
10098 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
10100 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
10101 wxUSE_FREETYPE
=builtin
10108 if test "$wxUSE_FREETYPE" = "builtin" ; then
10109 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
10120 if test "$USE_WIN32" = 1 ; then
10121 for ac_hdr
in w32api.h
10123 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10124 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10125 echo "configure:10126: checking for $ac_hdr" >&5
10126 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10127 echo $ac_n "(cached) $ac_c" 1>&6
10129 cat > conftest.
$ac_ext <<EOF
10130 #line 10131 "configure"
10131 #include "confdefs.h"
10134 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10135 { (eval echo configure
:10136: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10136 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10137 if test -z "$ac_err"; then
10139 eval "ac_cv_header_$ac_safe=yes"
10142 echo "configure: failed program was:" >&5
10143 cat conftest.
$ac_ext >&5
10145 eval "ac_cv_header_$ac_safe=no"
10149 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10150 echo "$ac_t""yes" 1>&6
10151 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10152 cat >> confdefs.h
<<EOF
10153 #define $ac_tr_hdr 1
10157 echo "$ac_t""no" 1>&6
10161 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
10162 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
10163 echo "configure:10164: checking for windows.h" >&5
10164 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10165 echo $ac_n "(cached) $ac_c" 1>&6
10167 cat > conftest.
$ac_ext <<EOF
10168 #line 10169 "configure"
10169 #include "confdefs.h"
10170 #include <windows.h>
10172 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10173 { (eval echo configure
:10174: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10174 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10175 if test -z "$ac_err"; then
10177 eval "ac_cv_header_$ac_safe=yes"
10180 echo "configure: failed program was:" >&5
10181 cat conftest.
$ac_ext >&5
10183 eval "ac_cv_header_$ac_safe=no"
10187 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10188 echo "$ac_t""yes" 1>&6
10191 echo "$ac_t""no" 1>&6
10193 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
10198 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
10199 echo "configure:10200: checking if w32api has good enough MSIE support" >&5
10200 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
10201 echo $ac_n "(cached) $ac_c" 1>&6
10204 cat > conftest.
$ac_ext <<EOF
10205 #line 10206 "configure"
10206 #include "confdefs.h"
10207 #include <w32api.h>
10210 #define wxCHECK_W32API_VERSION( major, minor ) \
10211 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
10212 && ( ( __W32API_MAJOR_VERSION > (major) ) \
10213 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
10215 #if !wxCHECK_W32API_VERSION(1,1)
10216 #error You need w32api 1.1 or newer
10221 if { (eval echo configure
:10222: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10224 wx_cv_w32api_win32_ie
=yes
10227 echo "configure: failed program was:" >&5
10228 cat conftest.
$ac_ext >&5
10231 wx_cv_w32api_win32_ie
=no
10238 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10239 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10240 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
10243 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10247 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10248 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
10251 if test "$wxUSE_ODBC" = "yes" ; then
10252 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
10255 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10256 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
10259 if test "$wxUSE_GUI" = "yes"; then
10268 if test "$wxUSE_MSW" = 1 ; then
10274 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10278 if test "$wxUSE_GTK" = 1; then
10279 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10280 echo "configure:10281: checking for GTK+ version" >&5
10282 gtk_version_cached
=1
10283 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10284 echo $ac_n "(cached) $ac_c" 1>&6
10287 gtk_version_cached
=0
10288 echo "$ac_t""" 1>&6
10291 if test "$wxUSE_THREADS" = "yes"; then
10292 GTK_MODULES
=gthread
10296 if test "x$wxUSE_GTK2" = "xyes"; then
10297 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10298 if test "${with_gtk_prefix+set}" = set; then
10299 withval
="$with_gtk_prefix"
10300 gtk_config_prefix
="$withval"
10302 gtk_config_prefix
=""
10305 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10306 if test "${with_gtk_exec_prefix+set}" = set; then
10307 withval
="$with_gtk_exec_prefix"
10308 gtk_config_exec_prefix
="$withval"
10310 gtk_config_exec_prefix
=""
10313 # Check whether --enable-gtktest or --disable-gtktest was given.
10314 if test "${enable_gtktest+set}" = set; then
10315 enableval
="$enable_gtktest"
10322 for module
in .
$GTK_MODULES
10326 gtk_config_args
="$gtk_config_args gthread"
10331 if test x
$gtk_config_exec_prefix != x
; then
10332 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10333 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10334 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
10337 if test x
$gtk_config_prefix != x
; then
10338 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10339 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10340 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
10344 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
10345 set dummy gtk
-config-2.0
; ac_word
=$2
10346 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10347 echo "configure:10348: checking for $ac_word" >&5
10348 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
10349 echo $ac_n "(cached) $ac_c" 1>&6
10351 case "$GTK_CONFIG_2_0" in
10353 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
10356 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
10359 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10361 for ac_dir
in $ac_dummy; do
10362 test -z "$ac_dir" && ac_dir
=.
10363 if test -f $ac_dir/$ac_word; then
10364 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
10369 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
10373 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
10374 if test -n "$GTK_CONFIG_2_0"; then
10375 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
10377 echo "$ac_t""no" 1>&6
10380 min_gtk_version
=1.3.1
10381 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10382 echo "configure:10383: checking for GTK - version >= $min_gtk_version" >&5
10384 if test "$GTK_CONFIG_2_0" = "no" ; then
10387 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
10388 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
10389 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10390 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10391 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10392 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10393 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10394 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10395 if test "x$enable_gtktest" = "xyes" ; then
10396 ac_save_CFLAGS
="$CFLAGS"
10397 ac_save_LIBS
="$LIBS"
10398 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10399 LIBS
="$GTK_LIBS $LIBS"
10401 if test "$cross_compiling" = yes; then
10402 echo $ac_n "cross compiling; assumed OK... $ac_c"
10404 cat > conftest.
$ac_ext <<EOF
10405 #line 10406 "configure"
10406 #include "confdefs.h"
10408 #include <gtk/gtk.h>
10410 #include <stdlib.h>
10415 int major, minor, micro;
10418 system ("touch conf.gtktest");
10420 /* HP/UX 9 (%@#!) writes to sscanf strings */
10421 tmp_version = g_strdup("$min_gtk_version");
10422 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10423 printf("%s, bad version string\n", "$min_gtk_version");
10427 if ((gtk_major_version != $gtk_config_major_version) ||
10428 (gtk_minor_version != $gtk_config_minor_version) ||
10429 (gtk_micro_version != $gtk_config_micro_version))
10431 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10432 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10433 gtk_major_version, gtk_minor_version, gtk_micro_version);
10434 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10435 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10436 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10437 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10438 printf("*** required on your system.\n");
10439 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10440 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10441 printf("*** before re-running configure\n");
10443 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10444 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10445 (gtk_minor_version != GTK_MINOR_VERSION) ||
10446 (gtk_micro_version != GTK_MICRO_VERSION))
10448 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10449 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10450 printf("*** library (version %d.%d.%d)\n",
10451 gtk_major_version, gtk_minor_version, gtk_micro_version);
10453 #endif /* defined (GTK_MAJOR_VERSION) ... */
10456 if ((gtk_major_version > major) ||
10457 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10458 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10464 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10465 gtk_major_version, gtk_minor_version, gtk_micro_version);
10466 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10467 major, minor, micro);
10468 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10470 printf("*** If you have already installed a sufficiently new version, this error\n");
10471 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10472 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10473 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10474 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10475 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10476 printf("*** so that the correct libraries are found at run-time))\n");
10483 if { (eval echo configure
:10484: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10487 echo "configure: failed program was:" >&5
10488 cat conftest.
$ac_ext >&5
10495 CFLAGS
="$ac_save_CFLAGS"
10496 LIBS
="$ac_save_LIBS"
10499 if test "x$no_gtk" = x
; then
10500 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10503 echo "$ac_t""no" 1>&6
10504 if test "$GTK_CONFIG_2_0" = "no" ; then
10505 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10506 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10507 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10508 echo "*** full path to gtk-config-2.0."
10510 if test -f conf.gtktest
; then
10513 echo "*** Could not run GTK test program, checking why..."
10514 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10515 LIBS
="$LIBS $GTK_LIBS"
10516 cat > conftest.
$ac_ext <<EOF
10517 #line 10518 "configure"
10518 #include "confdefs.h"
10520 #include <gtk/gtk.h>
10524 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10527 if { (eval echo configure
:10528: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10529 echo "*** The test program compiled, but did not run. This usually means"
10530 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10531 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10532 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10533 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10534 echo "*** is required on your system"
10536 echo "*** If you have an old version installed, it is best to remove it, although"
10537 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10539 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10540 echo "*** came with the system with the command"
10542 echo "*** rpm --erase --nodeps gtk gtk-devel"
10544 echo "configure: failed program was:" >&5
10545 cat conftest.
$ac_ext >&5
10547 echo "*** The test program failed to compile or link. See the file config.log for the"
10548 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10549 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10550 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10553 CFLAGS
="$ac_save_CFLAGS"
10554 LIBS
="$ac_save_LIBS"
10567 if test -z "$wx_cv_lib_gtk"; then
10568 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10569 if test "${with_gtk_prefix+set}" = set; then
10570 withval
="$with_gtk_prefix"
10571 gtk_config_prefix
="$withval"
10573 gtk_config_prefix
=""
10576 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10577 if test "${with_gtk_exec_prefix+set}" = set; then
10578 withval
="$with_gtk_exec_prefix"
10579 gtk_config_exec_prefix
="$withval"
10581 gtk_config_exec_prefix
=""
10584 # Check whether --enable-gtktest or --disable-gtktest was given.
10585 if test "${enable_gtktest+set}" = set; then
10586 enableval
="$enable_gtktest"
10593 for module
in .
$GTK_MODULES
10597 gtk_config_args
="$gtk_config_args gthread"
10602 if test x
$gtk_config_exec_prefix != x
; then
10603 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10604 if test x
${GTK_CONFIG+set} != xset
; then
10605 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10608 if test x
$gtk_config_prefix != x
; then
10609 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10610 if test x
${GTK_CONFIG+set} != xset
; then
10611 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10615 # Extract the first word of "gtk-config", so it can be a program name with args.
10616 set dummy gtk
-config; ac_word
=$2
10617 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10618 echo "configure:10619: checking for $ac_word" >&5
10619 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10620 echo $ac_n "(cached) $ac_c" 1>&6
10622 case "$GTK_CONFIG" in
10624 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10627 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10630 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10632 for ac_dir
in $ac_dummy; do
10633 test -z "$ac_dir" && ac_dir
=.
10634 if test -f $ac_dir/$ac_word; then
10635 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10640 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10644 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10645 if test -n "$GTK_CONFIG"; then
10646 echo "$ac_t""$GTK_CONFIG" 1>&6
10648 echo "$ac_t""no" 1>&6
10651 min_gtk_version
=1.2.7
10652 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10653 echo "configure:10654: checking for GTK - version >= $min_gtk_version" >&5
10655 if test "$GTK_CONFIG" = "no" ; then
10658 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10659 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10660 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10661 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10662 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10663 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10664 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10665 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10666 if test "x$enable_gtktest" = "xyes" ; then
10667 ac_save_CFLAGS
="$CFLAGS"
10668 ac_save_LIBS
="$LIBS"
10669 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10670 LIBS
="$GTK_LIBS $LIBS"
10672 if test "$cross_compiling" = yes; then
10673 echo $ac_n "cross compiling; assumed OK... $ac_c"
10675 cat > conftest.
$ac_ext <<EOF
10676 #line 10677 "configure"
10677 #include "confdefs.h"
10679 #include <gtk/gtk.h>
10681 #include <stdlib.h>
10686 int major, minor, micro;
10689 system ("touch conf.gtktest");
10691 /* HP/UX 9 (%@#!) writes to sscanf strings */
10692 tmp_version = g_strdup("$min_gtk_version");
10693 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10694 printf("%s, bad version string\n", "$min_gtk_version");
10698 if ((gtk_major_version != $gtk_config_major_version) ||
10699 (gtk_minor_version != $gtk_config_minor_version) ||
10700 (gtk_micro_version != $gtk_config_micro_version))
10702 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10703 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10704 gtk_major_version, gtk_minor_version, gtk_micro_version);
10705 printf ("*** was found! If gtk-config was correct, then it is best\n");
10706 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10707 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10708 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10709 printf("*** required on your system.\n");
10710 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10711 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10712 printf("*** before re-running configure\n");
10714 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10715 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10716 (gtk_minor_version != GTK_MINOR_VERSION) ||
10717 (gtk_micro_version != GTK_MICRO_VERSION))
10719 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10720 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10721 printf("*** library (version %d.%d.%d)\n",
10722 gtk_major_version, gtk_minor_version, gtk_micro_version);
10724 #endif /* defined (GTK_MAJOR_VERSION) ... */
10727 if ((gtk_major_version > major) ||
10728 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10729 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10735 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10736 gtk_major_version, gtk_minor_version, gtk_micro_version);
10737 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10738 major, minor, micro);
10739 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10741 printf("*** If you have already installed a sufficiently new version, this error\n");
10742 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10743 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10744 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10745 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10746 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10747 printf("*** so that the correct libraries are found at run-time))\n");
10754 if { (eval echo configure
:10755: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10758 echo "configure: failed program was:" >&5
10759 cat conftest.
$ac_ext >&5
10766 CFLAGS
="$ac_save_CFLAGS"
10767 LIBS
="$ac_save_LIBS"
10770 if test "x$no_gtk" = x
; then
10771 echo "$ac_t""yes" 1>&6
10772 wx_cv_lib_gtk
=1.2.7
10774 echo "$ac_t""no" 1>&6
10775 if test "$GTK_CONFIG" = "no" ; then
10776 echo "*** The gtk-config script installed by GTK could not be found"
10777 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10778 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10779 echo "*** full path to gtk-config."
10781 if test -f conf.gtktest
; then
10784 echo "*** Could not run GTK test program, checking why..."
10785 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10786 LIBS
="$LIBS $GTK_LIBS"
10787 cat > conftest.
$ac_ext <<EOF
10788 #line 10789 "configure"
10789 #include "confdefs.h"
10791 #include <gtk/gtk.h>
10795 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10798 if { (eval echo configure
:10799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10800 echo "*** The test program compiled, but did not run. This usually means"
10801 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10802 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10803 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10804 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10805 echo "*** is required on your system"
10807 echo "*** If you have an old version installed, it is best to remove it, although"
10808 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10810 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10811 echo "*** came with the system with the command"
10813 echo "*** rpm --erase --nodeps gtk gtk-devel"
10815 echo "configure: failed program was:" >&5
10816 cat conftest.
$ac_ext >&5
10818 echo "*** The test program failed to compile or link. See the file config.log for the"
10819 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10820 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10821 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10824 CFLAGS
="$ac_save_CFLAGS"
10825 LIBS
="$ac_save_LIBS"
10838 if test -z "$wx_cv_lib_gtk"; then
10839 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10840 if test "${with_gtk_prefix+set}" = set; then
10841 withval
="$with_gtk_prefix"
10842 gtk_config_prefix
="$withval"
10844 gtk_config_prefix
=""
10847 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10848 if test "${with_gtk_exec_prefix+set}" = set; then
10849 withval
="$with_gtk_exec_prefix"
10850 gtk_config_exec_prefix
="$withval"
10852 gtk_config_exec_prefix
=""
10855 # Check whether --enable-gtktest or --disable-gtktest was given.
10856 if test "${enable_gtktest+set}" = set; then
10857 enableval
="$enable_gtktest"
10864 for module
in .
$GTK_MODULES
10868 gtk_config_args
="$gtk_config_args gthread"
10873 if test x
$gtk_config_exec_prefix != x
; then
10874 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10875 if test x
${GTK_CONFIG+set} != xset
; then
10876 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10879 if test x
$gtk_config_prefix != x
; then
10880 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10881 if test x
${GTK_CONFIG+set} != xset
; then
10882 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10886 # Extract the first word of "gtk-config", so it can be a program name with args.
10887 set dummy gtk
-config; ac_word
=$2
10888 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10889 echo "configure:10890: checking for $ac_word" >&5
10890 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10891 echo $ac_n "(cached) $ac_c" 1>&6
10893 case "$GTK_CONFIG" in
10895 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10898 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10901 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10903 for ac_dir
in $ac_dummy; do
10904 test -z "$ac_dir" && ac_dir
=.
10905 if test -f $ac_dir/$ac_word; then
10906 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10911 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10915 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10916 if test -n "$GTK_CONFIG"; then
10917 echo "$ac_t""$GTK_CONFIG" 1>&6
10919 echo "$ac_t""no" 1>&6
10922 min_gtk_version
=1.2.3
10923 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10924 echo "configure:10925: checking for GTK - version >= $min_gtk_version" >&5
10926 if test "$GTK_CONFIG" = "no" ; then
10929 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10930 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10931 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10932 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10933 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10934 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10935 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10936 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10937 if test "x$enable_gtktest" = "xyes" ; then
10938 ac_save_CFLAGS
="$CFLAGS"
10939 ac_save_LIBS
="$LIBS"
10940 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10941 LIBS
="$GTK_LIBS $LIBS"
10943 if test "$cross_compiling" = yes; then
10944 echo $ac_n "cross compiling; assumed OK... $ac_c"
10946 cat > conftest.
$ac_ext <<EOF
10947 #line 10948 "configure"
10948 #include "confdefs.h"
10950 #include <gtk/gtk.h>
10952 #include <stdlib.h>
10957 int major, minor, micro;
10960 system ("touch conf.gtktest");
10962 /* HP/UX 9 (%@#!) writes to sscanf strings */
10963 tmp_version = g_strdup("$min_gtk_version");
10964 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10965 printf("%s, bad version string\n", "$min_gtk_version");
10969 if ((gtk_major_version != $gtk_config_major_version) ||
10970 (gtk_minor_version != $gtk_config_minor_version) ||
10971 (gtk_micro_version != $gtk_config_micro_version))
10973 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10974 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10975 gtk_major_version, gtk_minor_version, gtk_micro_version);
10976 printf ("*** was found! If gtk-config was correct, then it is best\n");
10977 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10978 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10979 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10980 printf("*** required on your system.\n");
10981 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10982 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10983 printf("*** before re-running configure\n");
10985 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10986 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10987 (gtk_minor_version != GTK_MINOR_VERSION) ||
10988 (gtk_micro_version != GTK_MICRO_VERSION))
10990 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10991 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10992 printf("*** library (version %d.%d.%d)\n",
10993 gtk_major_version, gtk_minor_version, gtk_micro_version);
10995 #endif /* defined (GTK_MAJOR_VERSION) ... */
10998 if ((gtk_major_version > major) ||
10999 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
11000 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
11006 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
11007 gtk_major_version, gtk_minor_version, gtk_micro_version);
11008 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
11009 major, minor, micro);
11010 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
11012 printf("*** If you have already installed a sufficiently new version, this error\n");
11013 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
11014 printf("*** being found. The easiest way to fix this is to remove the old version\n");
11015 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
11016 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
11017 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
11018 printf("*** so that the correct libraries are found at run-time))\n");
11025 if { (eval echo configure
:11026: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11029 echo "configure: failed program was:" >&5
11030 cat conftest.
$ac_ext >&5
11037 CFLAGS
="$ac_save_CFLAGS"
11038 LIBS
="$ac_save_LIBS"
11041 if test "x$no_gtk" = x
; then
11042 echo "$ac_t""yes" 1>&6
11043 wx_cv_lib_gtk
=1.2.3
11045 echo "$ac_t""no" 1>&6
11046 if test "$GTK_CONFIG" = "no" ; then
11047 echo "*** The gtk-config script installed by GTK could not be found"
11048 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
11049 echo "*** your path, or set the GTK_CONFIG environment variable to the"
11050 echo "*** full path to gtk-config."
11052 if test -f conf.gtktest
; then
11055 echo "*** Could not run GTK test program, checking why..."
11056 CFLAGS
="$CFLAGS $GTK_CFLAGS"
11057 LIBS
="$LIBS $GTK_LIBS"
11058 cat > conftest.
$ac_ext <<EOF
11059 #line 11060 "configure"
11060 #include "confdefs.h"
11062 #include <gtk/gtk.h>
11066 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
11069 if { (eval echo configure
:11070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11071 echo "*** The test program compiled, but did not run. This usually means"
11072 echo "*** that the run-time linker is not finding GTK or finding the wrong"
11073 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
11074 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
11075 echo "*** to the installed location Also, make sure you have run ldconfig if that"
11076 echo "*** is required on your system"
11078 echo "*** If you have an old version installed, it is best to remove it, although"
11079 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
11081 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
11082 echo "*** came with the system with the command"
11084 echo "*** rpm --erase --nodeps gtk gtk-devel"
11086 echo "configure: failed program was:" >&5
11087 cat conftest.
$ac_ext >&5
11089 echo "*** The test program failed to compile or link. See the file config.log for the"
11090 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
11091 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
11092 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
11095 CFLAGS
="$ac_save_CFLAGS"
11096 LIBS
="$ac_save_LIBS"
11109 if test -z "$wx_cv_lib_gtk"; then
11112 wx_cv_cflags_gtk
=$GTK_CFLAGS
11113 wx_cv_libs_gtk
=$GTK_LIBS
11120 if test "$gtk_version_cached" = 1; then
11121 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
11124 case "$wx_cv_lib_gtk" in
11132 *) { echo "configure: error:
11133 Please check that gtk-config is in path, the directory
11134 where GTK+ libraries are installed (returned by
11135 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
11136 equivalent variable and GTK+ is version 1.2.3 or above.
11141 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
11142 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
11144 AFMINSTALL
=afminstall
11148 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
11149 echo "configure:11150: checking for gdk_im_open in -lgdk" >&5
11150 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
11151 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11152 echo $ac_n "(cached) $ac_c" 1>&6
11154 ac_save_LIBS
="$LIBS"
11156 cat > conftest.
$ac_ext <<EOF
11157 #line 11158 "configure"
11158 #include "confdefs.h"
11159 /* Override any gcc2 internal prototype to avoid an error. */
11160 /* We use char because int might match the return type of a gcc2
11161 builtin and then its argument prototype would still apply. */
11162 char gdk_im_open();
11168 if { (eval echo configure
:11169: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11170 eval "ac_cv_lib_$ac_lib_var=yes"
11172 echo "configure: failed program was:" >&5
11173 cat conftest.
$ac_ext >&5
11175 eval "ac_cv_lib_$ac_lib_var=no"
11178 LIBS
="$ac_save_LIBS"
11181 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11182 echo "$ac_t""yes" 1>&6
11183 cat >> confdefs.h
<<\EOF
11188 echo "$ac_t""no" 1>&6
11193 if test "$wxUSE_MGL" = 1; then
11194 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
11195 echo "configure:11196: checking for SciTech MGL library" >&5
11196 if test "x$MGL_ROOT" = x
; then
11197 echo "$ac_t""not found" 1>&6
11198 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
11200 echo "$ac_t""$MGL_ROOT" 1>&6
11205 mgl_os
=linux
/gcc
/glibc
11211 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
11216 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11217 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
11218 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
11222 if test "x$mgl_lib_type" = x
; then
11223 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
11224 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
11225 mgl_lib_type
=release
11227 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11231 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
11232 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11234 AFMINSTALL
=afminstall
11239 if test "$wxUSE_MICROWIN" = 1; then
11240 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11241 echo "configure:11242: checking for MicroWindows" >&5
11242 if test "x$MICROWINDOWS" = x
; then
11243 echo "$ac_t""not found" 1>&6
11244 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11246 echo "$ac_t""$MICROWINDOWS" 1>&6
11249 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
11250 echo "$ac_t""MicroWindows' libraries found." 1>&6
11252 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11255 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
11256 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11258 AFMINSTALL
=afminstall
11260 GUIDIST
=MICROWIN_DIST
11262 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11265 if test "$wxUSE_WINE" = 1; then
11266 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11267 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11268 echo "configure:11269: checking for windows.h" >&5
11269 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11270 echo $ac_n "(cached) $ac_c" 1>&6
11272 cat > conftest.
$ac_ext <<EOF
11273 #line 11274 "configure"
11274 #include "confdefs.h"
11275 #include <windows.h>
11277 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11278 { (eval echo configure
:11279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11279 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11280 if test -z "$ac_err"; then
11282 eval "ac_cv_header_$ac_safe=yes"
11285 echo "configure: failed program was:" >&5
11286 cat conftest.
$ac_ext >&5
11288 eval "ac_cv_header_$ac_safe=no"
11292 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11293 echo "$ac_t""yes" 1>&6
11296 echo "$ac_t""no" 1>&6
11298 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11304 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11305 echo "configure:11306: checking for Xpm library" >&5
11308 for ac_dir
in $SEARCH_LIB;
11310 for ac_extension
in a so sl dylib
; do
11311 if test -f "$ac_dir/libXpm.$ac_extension"; then
11312 ac_find_libraries
=$ac_dir
11318 if test "$ac_find_libraries" != "" ; then
11319 GUI_TK_LIBRARY
="-L$ac_find_libraries"
11321 cat >> confdefs.h
<<\EOF
11322 #define wxHAVE_LIB_XPM 1
11325 echo "$ac_t""found at $ac_find_libraries" 1>&6
11327 echo "$ac_t""no" 1>&6
11328 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11332 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
11333 echo "configure:11334: checking for Mesa library" >&5
11336 for ac_dir
in $SEARCH_LIB;
11338 for ac_extension
in a so sl dylib
; do
11339 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
11340 ac_find_libraries
=$ac_dir
11346 if test "$ac_find_libraries" != "" ; then
11347 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
11348 mesa_link
=" -lMesaGL"
11349 echo "$ac_t""found at $ac_find_libraries" 1>&6
11351 { echo "configure: error: no" 1>&2; exit 1; }
11354 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
11357 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
11360 if test "$wxUSE_MOTIF" = 1; then
11361 # If we find X, set shell vars x_includes and x_libraries to the
11362 # paths, otherwise set no_x=yes.
11363 # Uses ac_ vars as temps to allow command line to override cache and checks.
11364 # --without-x overrides everything else, but does not touch the cache.
11365 echo $ac_n "checking for X""... $ac_c" 1>&6
11366 echo "configure:11367: checking for X" >&5
11368 # Check whether --with-x or --without-x was given.
11369 if test "${with_x+set}" = set; then
11374 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11375 if test "x$with_x" = xno
; then
11376 # The user explicitly disabled X.
11379 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
11380 # Both variables are already set.
11383 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11384 echo $ac_n "(cached) $ac_c" 1>&6
11386 # One or both of the vars are not set, and there is no cached value.
11387 ac_x_includes
=NO ac_x_libraries
=NO
11389 if mkdir conftestdir
; then
11391 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11392 cat > Imakefile
<<'EOF'
11394 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11396 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11397 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11398 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11399 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11400 for ac_extension
in a so sl
; do
11401 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
11402 test -f $ac_im_libdir/libX11.
$ac_extension; then
11403 ac_im_usrlibdir
=$ac_im_libdir; break
11406 # Screen out bogus values from the imake configuration. They are
11407 # bogus both because they are the default anyway, and because
11408 # using them would break gcc on systems where it needs fixed includes.
11409 case "$ac_im_incroot" in
11411 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
11413 case "$ac_im_usrlibdir" in
11414 /usr
/lib
| /lib
) ;;
11415 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
11422 if test "$ac_x_includes" = NO
; then
11423 # Guess where to find include files, by looking for this one X11 .h file.
11424 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11426 # First, try using that file with no special directory specified.
11427 cat > conftest.
$ac_ext <<EOF
11428 #line 11429 "configure"
11429 #include "confdefs.h"
11430 #include <$x_direct_test_include>
11432 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11433 { (eval echo configure
:11434: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11434 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11435 if test -z "$ac_err"; then
11437 # We can compile using X headers with no special include directory.
11441 echo "configure: failed program was:" >&5
11442 cat conftest.
$ac_ext >&5
11444 # Look for the header file in a standard set of common directories.
11445 # Check X11 before X11Rn because it is often a symlink to the current release.
11448 /usr
/X
11R
6/include \
11449 /usr
/X
11R
5/include \
11450 /usr
/X
11R
4/include \
11453 /usr
/include
/X11R6 \
11454 /usr
/include
/X11R5 \
11455 /usr
/include
/X11R4 \
11457 /usr
/local
/X
11/include \
11458 /usr
/local
/X
11R
6/include \
11459 /usr
/local
/X
11R
5/include \
11460 /usr
/local
/X
11R
4/include \
11462 /usr
/local
/include
/X11 \
11463 /usr
/local
/include
/X11R6 \
11464 /usr
/local
/include
/X11R5 \
11465 /usr
/local
/include
/X11R4 \
11467 /usr
/X
386/include \
11468 /usr
/x
386/include \
11469 /usr
/XFree
86/include
/X11 \
11472 /usr
/local
/include \
11473 /usr
/unsupported
/include \
11474 /usr
/athena
/include \
11475 /usr
/local
/x
11r
5/include \
11476 /usr
/lpp
/Xamples
/include \
11478 /usr
/openwin
/include \
11479 /usr
/openwin
/share
/include \
11482 if test -r "$ac_dir/$x_direct_test_include"; then
11483 ac_x_includes
=$ac_dir
11489 fi # $ac_x_includes = NO
11491 if test "$ac_x_libraries" = NO
; then
11492 # Check for the libraries.
11494 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11495 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11497 # See if we find them without any special options.
11498 # Don't add to $LIBS permanently.
11499 ac_save_LIBS
="$LIBS"
11500 LIBS
="-l$x_direct_test_library $LIBS"
11501 cat > conftest.
$ac_ext <<EOF
11502 #line 11503 "configure"
11503 #include "confdefs.h"
11506 ${x_direct_test_function}()
11509 if { (eval echo configure
:11510: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11511 LIBS
="$ac_save_LIBS"
11512 # We can link X programs with no special library path.
11515 echo "configure: failed program was:" >&5
11516 cat conftest.
$ac_ext >&5
11518 LIBS
="$ac_save_LIBS"
11519 # First see if replacing the include by lib works.
11520 # Check X11 before X11Rn because it is often a symlink to the current release.
11521 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11532 /usr
/local
/X
11/lib \
11533 /usr
/local
/X
11R
6/lib \
11534 /usr
/local
/X
11R
5/lib \
11535 /usr
/local
/X
11R
4/lib \
11537 /usr
/local
/lib
/X11 \
11538 /usr
/local
/lib
/X11R6 \
11539 /usr
/local
/lib
/X11R5 \
11540 /usr
/local
/lib
/X11R4 \
11544 /usr
/XFree
86/lib
/X11 \
11548 /usr
/unsupported
/lib \
11550 /usr
/local
/x
11r
5/lib \
11551 /usr
/lpp
/Xamples
/lib \
11555 /usr
/openwin
/share
/lib \
11558 for ac_extension
in a so sl
; do
11559 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11560 ac_x_libraries
=$ac_dir
11567 fi # $ac_x_libraries = NO
11569 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11570 # Didn't find X anywhere. Cache the known absence of X.
11571 ac_cv_have_x
="have_x=no"
11573 # Record where we found X for the cache.
11574 ac_cv_have_x
="have_x=yes \
11575 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11579 eval "$ac_cv_have_x"
11582 if test "$have_x" != yes; then
11583 echo "$ac_t""$have_x" 1>&6
11586 # If each of the values was on the command line, it overrides each guess.
11587 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11588 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11589 # Update the cache value to reflect the command line values.
11590 ac_cv_have_x
="have_x=yes \
11591 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11592 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11595 if test "$no_x" = yes; then
11596 # Not all programs may use this symbol, but it does not hurt to define it.
11597 cat >> confdefs.h
<<\EOF
11598 #define X_DISPLAY_MISSING 1
11601 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11603 if test -n "$x_includes"; then
11604 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11607 # It would also be nice to do this for all -L options, not just this one.
11608 if test -n "$x_libraries"; then
11609 X_LIBS
="$X_LIBS -L$x_libraries"
11610 # For Solaris; some versions of Sun CC require a space after -R and
11611 # others require no space. Words are not sufficient . . . .
11612 case "`(uname -sr) 2>/dev/null`" in
11614 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11615 echo "configure:11616: checking whether -R must be followed by a space" >&5
11616 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11617 cat > conftest.
$ac_ext <<EOF
11618 #line 11619 "configure"
11619 #include "confdefs.h"
11625 if { (eval echo configure
:11626: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11629 echo "configure: failed program was:" >&5
11630 cat conftest.
$ac_ext >&5
11635 if test $ac_R_nospace = yes; then
11636 echo "$ac_t""no" 1>&6
11637 X_LIBS
="$X_LIBS -R$x_libraries"
11639 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11640 cat > conftest.
$ac_ext <<EOF
11641 #line 11642 "configure"
11642 #include "confdefs.h"
11648 if { (eval echo configure
:11649: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11652 echo "configure: failed program was:" >&5
11653 cat conftest.
$ac_ext >&5
11658 if test $ac_R_space = yes; then
11659 echo "$ac_t""yes" 1>&6
11660 X_LIBS
="$X_LIBS -R $x_libraries"
11662 echo "$ac_t""neither works" 1>&6
11665 LIBS
="$ac_xsave_LIBS"
11669 # Check for system-dependent libraries X programs must link with.
11670 # Do this before checking for the system-independent R6 libraries
11671 # (-lICE), since we may need -lsocket or whatever for X linking.
11673 if test "$ISC" = yes; then
11674 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11676 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11677 # libraries were built with DECnet support. And karl@cs.umb.edu says
11678 # the Alpha needs dnet_stub (dnet does not exist).
11679 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11680 echo "configure:11681: checking for dnet_ntoa in -ldnet" >&5
11681 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11682 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11683 echo $ac_n "(cached) $ac_c" 1>&6
11685 ac_save_LIBS
="$LIBS"
11686 LIBS
="-ldnet $LIBS"
11687 cat > conftest.
$ac_ext <<EOF
11688 #line 11689 "configure"
11689 #include "confdefs.h"
11690 /* Override any gcc2 internal prototype to avoid an error. */
11691 /* We use char because int might match the return type of a gcc2
11692 builtin and then its argument prototype would still apply. */
11699 if { (eval echo configure
:11700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11701 eval "ac_cv_lib_$ac_lib_var=yes"
11703 echo "configure: failed program was:" >&5
11704 cat conftest.
$ac_ext >&5
11706 eval "ac_cv_lib_$ac_lib_var=no"
11709 LIBS
="$ac_save_LIBS"
11712 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11713 echo "$ac_t""yes" 1>&6
11714 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11716 echo "$ac_t""no" 1>&6
11719 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11720 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11721 echo "configure:11722: checking for dnet_ntoa in -ldnet_stub" >&5
11722 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11723 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11724 echo $ac_n "(cached) $ac_c" 1>&6
11726 ac_save_LIBS
="$LIBS"
11727 LIBS
="-ldnet_stub $LIBS"
11728 cat > conftest.
$ac_ext <<EOF
11729 #line 11730 "configure"
11730 #include "confdefs.h"
11731 /* Override any gcc2 internal prototype to avoid an error. */
11732 /* We use char because int might match the return type of a gcc2
11733 builtin and then its argument prototype would still apply. */
11740 if { (eval echo configure
:11741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11742 eval "ac_cv_lib_$ac_lib_var=yes"
11744 echo "configure: failed program was:" >&5
11745 cat conftest.
$ac_ext >&5
11747 eval "ac_cv_lib_$ac_lib_var=no"
11750 LIBS
="$ac_save_LIBS"
11753 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11754 echo "$ac_t""yes" 1>&6
11755 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11757 echo "$ac_t""no" 1>&6
11762 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11763 # to get the SysV transport functions.
11764 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11766 # The nsl library prevents programs from opening the X display
11767 # on Irix 5.2, according to dickey@clark.net.
11768 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11769 echo "configure:11770: checking for gethostbyname" >&5
11770 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11771 echo $ac_n "(cached) $ac_c" 1>&6
11773 cat > conftest.
$ac_ext <<EOF
11774 #line 11775 "configure"
11775 #include "confdefs.h"
11776 /* System header to define __stub macros and hopefully few prototypes,
11777 which can conflict with char gethostbyname(); below. */
11778 #include <assert.h>
11779 /* Override any gcc2 internal prototype to avoid an error. */
11780 /* We use char because int might match the return type of a gcc2
11781 builtin and then its argument prototype would still apply. */
11782 char gethostbyname();
11786 /* The GNU C library defines this for functions which it implements
11787 to always fail with ENOSYS. Some functions are actually named
11788 something starting with __ and the normal name is an alias. */
11789 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11797 if { (eval echo configure
:11798: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11799 eval "ac_cv_func_gethostbyname=yes"
11801 echo "configure: failed program was:" >&5
11802 cat conftest.
$ac_ext >&5
11804 eval "ac_cv_func_gethostbyname=no"
11809 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11810 echo "$ac_t""yes" 1>&6
11813 echo "$ac_t""no" 1>&6
11816 if test $ac_cv_func_gethostbyname = no
; then
11817 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11818 echo "configure:11819: checking for gethostbyname in -lnsl" >&5
11819 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11820 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11821 echo $ac_n "(cached) $ac_c" 1>&6
11823 ac_save_LIBS
="$LIBS"
11825 cat > conftest.
$ac_ext <<EOF
11826 #line 11827 "configure"
11827 #include "confdefs.h"
11828 /* Override any gcc2 internal prototype to avoid an error. */
11829 /* We use char because int might match the return type of a gcc2
11830 builtin and then its argument prototype would still apply. */
11831 char gethostbyname();
11837 if { (eval echo configure
:11838: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11839 eval "ac_cv_lib_$ac_lib_var=yes"
11841 echo "configure: failed program was:" >&5
11842 cat conftest.
$ac_ext >&5
11844 eval "ac_cv_lib_$ac_lib_var=no"
11847 LIBS
="$ac_save_LIBS"
11850 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11851 echo "$ac_t""yes" 1>&6
11852 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11854 echo "$ac_t""no" 1>&6
11859 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11860 # socket/setsockopt and other routines are undefined under SCO ODT
11861 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11862 # on later versions), says simon@lia.di.epfl.ch: it contains
11863 # gethostby* variants that don't use the nameserver (or something).
11864 # -lsocket must be given before -lnsl if both are needed.
11865 # We assume that if connect needs -lnsl, so does gethostbyname.
11866 echo $ac_n "checking for connect""... $ac_c" 1>&6
11867 echo "configure:11868: checking for connect" >&5
11868 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11869 echo $ac_n "(cached) $ac_c" 1>&6
11871 cat > conftest.
$ac_ext <<EOF
11872 #line 11873 "configure"
11873 #include "confdefs.h"
11874 /* System header to define __stub macros and hopefully few prototypes,
11875 which can conflict with char connect(); below. */
11876 #include <assert.h>
11877 /* Override any gcc2 internal prototype to avoid an error. */
11878 /* We use char because int might match the return type of a gcc2
11879 builtin and then its argument prototype would still apply. */
11884 /* The GNU C library defines this for functions which it implements
11885 to always fail with ENOSYS. Some functions are actually named
11886 something starting with __ and the normal name is an alias. */
11887 #if defined (__stub_connect) || defined (__stub___connect)
11895 if { (eval echo configure
:11896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11897 eval "ac_cv_func_connect=yes"
11899 echo "configure: failed program was:" >&5
11900 cat conftest.
$ac_ext >&5
11902 eval "ac_cv_func_connect=no"
11907 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11908 echo "$ac_t""yes" 1>&6
11911 echo "$ac_t""no" 1>&6
11914 if test $ac_cv_func_connect = no
; then
11915 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11916 echo "configure:11917: checking for connect in -lsocket" >&5
11917 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11918 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11919 echo $ac_n "(cached) $ac_c" 1>&6
11921 ac_save_LIBS
="$LIBS"
11922 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11923 cat > conftest.
$ac_ext <<EOF
11924 #line 11925 "configure"
11925 #include "confdefs.h"
11926 /* Override any gcc2 internal prototype to avoid an error. */
11927 /* We use char because int might match the return type of a gcc2
11928 builtin and then its argument prototype would still apply. */
11935 if { (eval echo configure
:11936: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11937 eval "ac_cv_lib_$ac_lib_var=yes"
11939 echo "configure: failed program was:" >&5
11940 cat conftest.
$ac_ext >&5
11942 eval "ac_cv_lib_$ac_lib_var=no"
11945 LIBS
="$ac_save_LIBS"
11948 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11949 echo "$ac_t""yes" 1>&6
11950 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11952 echo "$ac_t""no" 1>&6
11957 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11958 echo $ac_n "checking for remove""... $ac_c" 1>&6
11959 echo "configure:11960: checking for remove" >&5
11960 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11961 echo $ac_n "(cached) $ac_c" 1>&6
11963 cat > conftest.
$ac_ext <<EOF
11964 #line 11965 "configure"
11965 #include "confdefs.h"
11966 /* System header to define __stub macros and hopefully few prototypes,
11967 which can conflict with char remove(); below. */
11968 #include <assert.h>
11969 /* Override any gcc2 internal prototype to avoid an error. */
11970 /* We use char because int might match the return type of a gcc2
11971 builtin and then its argument prototype would still apply. */
11976 /* The GNU C library defines this for functions which it implements
11977 to always fail with ENOSYS. Some functions are actually named
11978 something starting with __ and the normal name is an alias. */
11979 #if defined (__stub_remove) || defined (__stub___remove)
11987 if { (eval echo configure
:11988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11989 eval "ac_cv_func_remove=yes"
11991 echo "configure: failed program was:" >&5
11992 cat conftest.
$ac_ext >&5
11994 eval "ac_cv_func_remove=no"
11999 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
12000 echo "$ac_t""yes" 1>&6
12003 echo "$ac_t""no" 1>&6
12006 if test $ac_cv_func_remove = no
; then
12007 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
12008 echo "configure:12009: checking for remove in -lposix" >&5
12009 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
12010 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12011 echo $ac_n "(cached) $ac_c" 1>&6
12013 ac_save_LIBS
="$LIBS"
12014 LIBS
="-lposix $LIBS"
12015 cat > conftest.
$ac_ext <<EOF
12016 #line 12017 "configure"
12017 #include "confdefs.h"
12018 /* Override any gcc2 internal prototype to avoid an error. */
12019 /* We use char because int might match the return type of a gcc2
12020 builtin and then its argument prototype would still apply. */
12027 if { (eval echo configure
:12028: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12029 eval "ac_cv_lib_$ac_lib_var=yes"
12031 echo "configure: failed program was:" >&5
12032 cat conftest.
$ac_ext >&5
12034 eval "ac_cv_lib_$ac_lib_var=no"
12037 LIBS
="$ac_save_LIBS"
12040 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12041 echo "$ac_t""yes" 1>&6
12042 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
12044 echo "$ac_t""no" 1>&6
12049 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
12050 echo $ac_n "checking for shmat""... $ac_c" 1>&6
12051 echo "configure:12052: checking for shmat" >&5
12052 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
12053 echo $ac_n "(cached) $ac_c" 1>&6
12055 cat > conftest.
$ac_ext <<EOF
12056 #line 12057 "configure"
12057 #include "confdefs.h"
12058 /* System header to define __stub macros and hopefully few prototypes,
12059 which can conflict with char shmat(); below. */
12060 #include <assert.h>
12061 /* Override any gcc2 internal prototype to avoid an error. */
12062 /* We use char because int might match the return type of a gcc2
12063 builtin and then its argument prototype would still apply. */
12068 /* The GNU C library defines this for functions which it implements
12069 to always fail with ENOSYS. Some functions are actually named
12070 something starting with __ and the normal name is an alias. */
12071 #if defined (__stub_shmat) || defined (__stub___shmat)
12079 if { (eval echo configure
:12080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12081 eval "ac_cv_func_shmat=yes"
12083 echo "configure: failed program was:" >&5
12084 cat conftest.
$ac_ext >&5
12086 eval "ac_cv_func_shmat=no"
12091 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
12092 echo "$ac_t""yes" 1>&6
12095 echo "$ac_t""no" 1>&6
12098 if test $ac_cv_func_shmat = no
; then
12099 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
12100 echo "configure:12101: checking for shmat in -lipc" >&5
12101 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
12102 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12103 echo $ac_n "(cached) $ac_c" 1>&6
12105 ac_save_LIBS
="$LIBS"
12107 cat > conftest.
$ac_ext <<EOF
12108 #line 12109 "configure"
12109 #include "confdefs.h"
12110 /* Override any gcc2 internal prototype to avoid an error. */
12111 /* We use char because int might match the return type of a gcc2
12112 builtin and then its argument prototype would still apply. */
12119 if { (eval echo configure
:12120: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12121 eval "ac_cv_lib_$ac_lib_var=yes"
12123 echo "configure: failed program was:" >&5
12124 cat conftest.
$ac_ext >&5
12126 eval "ac_cv_lib_$ac_lib_var=no"
12129 LIBS
="$ac_save_LIBS"
12132 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12133 echo "$ac_t""yes" 1>&6
12134 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
12136 echo "$ac_t""no" 1>&6
12142 # Check for libraries that X11R6 Xt/Xaw programs need.
12143 ac_save_LDFLAGS
="$LDFLAGS"
12144 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
12145 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
12146 # check for ICE first), but we must link in the order -lSM -lICE or
12147 # we get undefined symbols. So assume we have SM if we have ICE.
12148 # These have to be linked with before -lX11, unlike the other
12149 # libraries we check for below, so use a different variable.
12150 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
12151 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
12152 echo "configure:12153: checking for IceConnectionNumber in -lICE" >&5
12153 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
12154 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12155 echo $ac_n "(cached) $ac_c" 1>&6
12157 ac_save_LIBS
="$LIBS"
12158 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
12159 cat > conftest.
$ac_ext <<EOF
12160 #line 12161 "configure"
12161 #include "confdefs.h"
12162 /* Override any gcc2 internal prototype to avoid an error. */
12163 /* We use char because int might match the return type of a gcc2
12164 builtin and then its argument prototype would still apply. */
12165 char IceConnectionNumber();
12168 IceConnectionNumber()
12171 if { (eval echo configure
:12172: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12173 eval "ac_cv_lib_$ac_lib_var=yes"
12175 echo "configure: failed program was:" >&5
12176 cat conftest.
$ac_ext >&5
12178 eval "ac_cv_lib_$ac_lib_var=no"
12181 LIBS
="$ac_save_LIBS"
12184 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12185 echo "$ac_t""yes" 1>&6
12186 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
12188 echo "$ac_t""no" 1>&6
12191 LDFLAGS
="$ac_save_LDFLAGS"
12196 if test "$no_x" = "yes"; then
12197 { echo "configure: error: X11 not found" 1>&2; exit 1; }
12200 GUI_TK_LIBRARY
="$X_LIBS"
12201 TOOLKIT_INCLUDE
="$X_CFLAGS"
12202 AFMINSTALL
=afminstall
12203 COMPILED_X_PROGRAM
=0
12205 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
12206 echo "configure:12207: checking for Motif/Lesstif headers" >&5
12209 for ac_dir
in $SEARCH_INCLUDE;
12211 if test -f "$ac_dir/Xm/Xm.h"; then
12212 ac_find_includes
=$ac_dir
12217 if test "$ac_find_includes" != "" ; then
12218 echo "$ac_t""found $ac_find_includes" 1>&6
12220 cat > conftest.
$ac_ext <<EOF
12221 #line 12222 "configure"
12222 #include "confdefs.h"
12229 version = xmUseVersion;
12233 if { (eval echo configure
:12234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12236 echo "$ac_t""found in default search path" 1>&6
12237 COMPILED_X_PROGRAM
=1
12240 echo "configure: failed program was:" >&5
12241 cat conftest.
$ac_ext >&5
12244 echo "$ac_t""no" 1>&6
12245 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
12252 if test "$COMPILED_X_PROGRAM" = 0; then
12253 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
12254 echo "configure:12255: checking for Motif/Lesstif library" >&5
12257 for ac_dir
in $SEARCH_LIB;
12259 for ac_extension
in a so sl dylib
; do
12260 if test -f "$ac_dir/libXm.$ac_extension"; then
12261 ac_find_libraries
=$ac_dir
12267 if test "$ac_find_libraries" != "" ; then
12269 ac_path_to_include
=$ac_find_includes
12270 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
12272 if test $result = 0; then
12273 ac_path_to_include
=""
12275 ac_path_to_include
=" -I$ac_find_includes"
12279 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12281 if test $result = 0; then
12284 ac_path_to_link
=" -L$ac_find_libraries"
12288 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12289 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
12290 echo "$ac_t""found at $ac_find_libraries" 1>&6
12292 cat > conftest.
$ac_ext <<EOF
12293 #line 12294 "configure"
12294 #include "confdefs.h"
12301 version = xmUseVersion;
12305 if { (eval echo configure
:12306: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12308 echo "$ac_t""found in default search path" 1>&6
12309 COMPILED_X_PROGRAM
=1
12312 echo "configure: failed program was:" >&5
12313 cat conftest.
$ac_ext >&5
12316 echo "$ac_t""no" 1>&6
12317 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
12326 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12327 echo "configure:12328: checking for Xpm library" >&5
12330 for ac_dir
in $SEARCH_LIB;
12332 for ac_extension
in a so sl dylib
; do
12333 if test -f "$ac_dir/libXpm.$ac_extension"; then
12334 ac_find_libraries
=$ac_dir
12340 if test "$ac_find_libraries" != "" ; then
12342 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12344 if test $result = 0; then
12347 ac_path_to_link
=" -L$ac_find_libraries"
12350 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12352 cat >> confdefs.h
<<\EOF
12353 #define wxHAVE_LIB_XPM 1
12356 echo "$ac_t""found at $ac_find_libraries" 1>&6
12358 cat > conftest.
$ac_ext <<EOF
12359 #line 12360 "configure"
12360 #include "confdefs.h"
12362 #include <X11/xpm.h>
12367 version = XpmLibraryVersion();
12371 if { (eval echo configure
:12372: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12375 cat >> confdefs.h
<<\EOF
12376 #define wxHAVE_LIB_XPM 1
12379 echo "$ac_t""found in default search path" 1>&6
12380 COMPILED_X_PROGRAM
=0
12383 echo "configure: failed program was:" >&5
12384 cat conftest.
$ac_ext >&5
12387 echo "$ac_t""no" 1>&6
12388 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12395 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
12396 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
12401 if test "$wxUSE_MAC" = 1; then
12402 if test "$wxUSE_PRECOMP" = "yes"; then
12403 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12405 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
12406 CFLAGS
="$CFLAGS -fpascal-strings"
12407 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
12408 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -DTARGET_CARBON"
12410 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
12415 if test "$wxUSE_PM" = 1; then
12420 if test "$TOOLKIT" = "PM" ; then
12423 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
12426 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
12428 if test "$wxUSE_UNIVERSAL" = "yes"; then
12429 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
12430 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
12431 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
12432 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
12435 ALL_OBJECTS
="\$(GUIOBJS)"
12438 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
12440 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
12441 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
12444 if test "$wxUSE_HTML" = "yes"; then
12445 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
12448 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
12449 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
12451 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12452 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
12454 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12455 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
12457 if test "$wxUSE_LIBPNG" = "builtin" ; then
12458 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
12460 if test "$wxUSE_FREETYPE" = "builtin" ; then
12461 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
12464 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
12465 DISTDIR
="wx\$(TOOLKIT)"
12471 if test "$USE_WIN32" = 1 ; then
12472 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
12473 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
12477 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
12478 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
12481 PORT_FILES
="\${top_srcdir}/src/files.lst"
12483 GUIDIST
="BASE_DIST"
12487 if test "$wxUSE_REGEX" = "builtin" ; then
12488 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
12490 if test "$wxUSE_ZLIB" = "builtin" ; then
12491 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
12494 if test "$wxUSE_OPENGL" = "yes"; then
12495 if test "$wxUSE_MAC" = 1; then
12496 OPENGL_LIBS
="-framework OpenGL -framework AGL"
12499 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12500 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12501 echo "configure:12502: checking for GL/gl.h" >&5
12502 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12503 echo $ac_n "(cached) $ac_c" 1>&6
12505 cat > conftest.
$ac_ext <<EOF
12506 #line 12507 "configure"
12507 #include "confdefs.h"
12510 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12511 { (eval echo configure
:12512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12512 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12513 if test -z "$ac_err"; then
12515 eval "ac_cv_header_$ac_safe=yes"
12518 echo "configure: failed program was:" >&5
12519 cat conftest.
$ac_ext >&5
12521 eval "ac_cv_header_$ac_safe=no"
12525 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12526 echo "$ac_t""yes" 1>&6
12528 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
12529 echo "configure:12530: checking for -lGL" >&5
12532 for ac_dir
in $SEARCH_LIB;
12534 for ac_extension
in a so sl dylib
; do
12535 if test -f "$ac_dir/libGL.$ac_extension"; then
12536 ac_find_libraries
=$ac_dir
12542 if test "$ac_find_libraries" != "" ; then
12544 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12546 if test $result = 0; then
12549 ac_path_to_link
=" -L$ac_find_libraries"
12552 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12553 OPENGL_LIBS
="-lGL -lGLU"
12554 echo "$ac_t""yes" 1>&6
12556 echo "$ac_t""no" 1>&6
12557 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
12558 echo "configure:12559: checking for -lMesaGL" >&5
12561 for ac_dir
in $SEARCH_LIB;
12563 for ac_extension
in a so sl dylib
; do
12564 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12565 ac_find_libraries
=$ac_dir
12571 if test "$ac_find_libraries" != "" ; then
12573 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12575 if test $result = 0; then
12578 ac_path_to_link
=" -L$ac_find_libraries"
12581 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12582 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
12583 echo "$ac_t""yes" 1>&6
12585 echo "$ac_t""no" 1>&6
12590 echo "$ac_t""no" 1>&6
12595 # AC_CHECK_HEADER(GL/gl.h,
12597 # AC_CHECK_LIB(GL, glFlush,
12599 # OPENGL_LIBS="-lGL -lGLU"
12602 # AC_CHECK_LIB(MesaGL, glFlush,
12604 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
12612 if test "x$OPENGL_LIBS" = "x"; then
12613 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
12617 if test "$wxUSE_OPENGL" = "yes"; then
12618 cat >> confdefs.h
<<\EOF
12619 #define wxUSE_OPENGL 1
12622 cat >> confdefs.h
<<\EOF
12623 #define wxUSE_GLCANVAS 1
12626 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
12630 if test -z "$TOOLKIT_VPATH" ; then
12631 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
12634 if test -n "$TOOLKIT" ; then
12635 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
12638 lib_unicode_suffix
=
12639 if test "$wxUSE_UNICODE" = "yes"; then
12640 lib_unicode_suffix
=u
12644 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
12648 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
12649 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
12651 if test "$cross_compiling" = "yes"; then
12652 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
12653 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
12656 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
12657 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
12659 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12660 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12662 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
12663 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12664 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
12665 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12667 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
12668 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
12671 *-*-cygwin* | *-*-mingw32* )
12675 if test "$cross_compiling" != "yes"; then
12676 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12677 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12678 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
12679 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
12681 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12682 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12687 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
12688 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
12690 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
12691 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
12693 if test "$wxUSE_OPENGL" = "yes"; then
12694 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
12695 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
12700 if test "$wxUSE_SHARED" = "yes"; then
12702 if test "$wxUSE_OPENGL" = "yes"; then
12703 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
12704 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
12706 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
12707 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
12710 if test "$GCC" = "yes"; then
12714 SHARED_LD
="${CXX} -shared -o"
12718 if test "$GCC" != "yes"; then
12719 LDFLAGS
="$LDFLAGS -L/usr/lib"
12721 SHARED_LD
="${CXX} -b -o"
12725 if test "$wxUSE_OPENGL" = "yes"; then
12726 WX_ALL_INSTALLED
="preinstall_gl"
12727 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12729 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12734 if test "$GCC" != "yes"; then
12735 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
12736 echo "configure:12737: checking for Intel compiler" >&5
12737 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
12738 echo $ac_n "(cached) $ac_c" 1>&6
12741 cat > conftest.
$ac_ext <<EOF
12742 #line 12743 "configure"
12743 #include "confdefs.h"
12747 #ifndef __INTEL_COMPILER
12753 if { (eval echo configure
:12754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12757 echo "configure: failed program was:" >&5
12758 cat conftest.
$ac_ext >&5
12767 echo "$ac_t""$wx_cv_prog_icc" 1>&6
12768 if test "$wx_cv_prog_icc" = "yes"; then
12773 if test "$wxUSE_SONAME" = "yes" ; then
12774 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
12775 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
12776 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
12781 if test "$GCC" = yes ; then
12782 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
12784 SHARED_LD
="${CXX} -G -o"
12786 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
12787 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
12792 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
12793 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
12794 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12795 PIC_FLAG
="-dynamic -fPIC"
12799 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12802 *-*-cygwin* | *-*-mingw32* )
12804 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
12806 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12807 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12809 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12811 if test "$wxUSE_OPENGL" = "yes"; then
12812 WX_ALL_INSTALLED
="preinstall_gl"
12813 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12815 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12819 *-pc-os2_emx | *-pc-os2-emx )
12824 SHARED_LD
="${LD} -shared -o"
12827 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12829 *-*-irix5* | *-*-irix6* | \
12836 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12839 if test "x$WX_TARGET_LIBRARY" = "x"; then
12840 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
12841 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
12844 WX_TARGET_LIBRARY_TYPE
="so"
12845 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
12848 if test "$wxUSE_SHARED" = "no"; then
12850 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12851 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12854 if test "$wxUSE_MAC" = 1; then
12855 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12858 if test "$wxUSE_OPENGL" = "yes"; then
12859 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
12860 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12862 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12865 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
12866 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
12868 WX_TARGET_LIBRARY_TYPE
="a"
12869 INSTALL_LIBRARY
='$(INSTALL_DATA)'
12872 if test "$wxUSE_MAC" = 1; then
12873 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12874 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
12875 # Extract the first word of "Rez", so it can be a program name with args.
12876 set dummy Rez
; ac_word
=$2
12877 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12878 echo "configure:12879: checking for $ac_word" >&5
12879 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12880 echo $ac_n "(cached) $ac_c" 1>&6
12882 if test -n "$RESCOMP"; then
12883 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
12885 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12887 for ac_dir
in $ac_dummy; do
12888 test -z "$ac_dir" && ac_dir
=.
12889 if test -f $ac_dir/$ac_word; then
12890 ac_cv_prog_RESCOMP
="Rez"
12895 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
12898 RESCOMP
="$ac_cv_prog_RESCOMP"
12899 if test -n "$RESCOMP"; then
12900 echo "$ac_t""$RESCOMP" 1>&6
12902 echo "$ac_t""no" 1>&6
12905 # Extract the first word of "DeRez", so it can be a program name with args.
12906 set dummy DeRez
; ac_word
=$2
12907 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12908 echo "configure:12909: checking for $ac_word" >&5
12909 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12910 echo $ac_n "(cached) $ac_c" 1>&6
12912 if test -n "$DEREZ"; then
12913 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
12915 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12917 for ac_dir
in $ac_dummy; do
12918 test -z "$ac_dir" && ac_dir
=.
12919 if test -f $ac_dir/$ac_word; then
12920 ac_cv_prog_DEREZ
="DeRez"
12925 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
12928 DEREZ
="$ac_cv_prog_DEREZ"
12929 if test -n "$DEREZ"; then
12930 echo "$ac_t""$DEREZ" 1>&6
12932 echo "$ac_t""no" 1>&6
12935 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12936 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12937 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12941 if test "$wxUSE_MAC" != 1; then
12942 for ac_hdr
in strings.h
12944 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12945 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12946 echo "configure:12947: checking for $ac_hdr" >&5
12947 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12948 echo $ac_n "(cached) $ac_c" 1>&6
12950 cat > conftest.
$ac_ext <<EOF
12951 #line 12952 "configure"
12952 #include "confdefs.h"
12955 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12956 { (eval echo configure
:12957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12957 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12958 if test -z "$ac_err"; then
12960 eval "ac_cv_header_$ac_safe=yes"
12963 echo "configure: failed program was:" >&5
12964 cat conftest.
$ac_ext >&5
12966 eval "ac_cv_header_$ac_safe=no"
12970 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12971 echo "$ac_t""yes" 1>&6
12972 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12973 cat >> confdefs.h
<<EOF
12974 #define $ac_tr_hdr 1
12978 echo "$ac_t""no" 1>&6
12984 for ac_hdr
in stdlib.h
12986 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12987 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12988 echo "configure:12989: checking for $ac_hdr" >&5
12989 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12990 echo $ac_n "(cached) $ac_c" 1>&6
12992 cat > conftest.
$ac_ext <<EOF
12993 #line 12994 "configure"
12994 #include "confdefs.h"
12997 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12998 { (eval echo configure
:12999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12999 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13000 if test -z "$ac_err"; then
13002 eval "ac_cv_header_$ac_safe=yes"
13005 echo "configure: failed program was:" >&5
13006 cat conftest.
$ac_ext >&5
13008 eval "ac_cv_header_$ac_safe=no"
13012 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13013 echo "$ac_t""yes" 1>&6
13014 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13015 cat >> confdefs.h
<<EOF
13016 #define $ac_tr_hdr 1
13020 echo "$ac_t""no" 1>&6
13024 for ac_hdr
in malloc.h
13026 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13027 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13028 echo "configure:13029: checking for $ac_hdr" >&5
13029 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13030 echo $ac_n "(cached) $ac_c" 1>&6
13032 cat > conftest.
$ac_ext <<EOF
13033 #line 13034 "configure"
13034 #include "confdefs.h"
13037 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13038 { (eval echo configure
:13039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13039 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13040 if test -z "$ac_err"; then
13042 eval "ac_cv_header_$ac_safe=yes"
13045 echo "configure: failed program was:" >&5
13046 cat conftest.
$ac_ext >&5
13048 eval "ac_cv_header_$ac_safe=no"
13052 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13053 echo "$ac_t""yes" 1>&6
13054 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13055 cat >> confdefs.h
<<EOF
13056 #define $ac_tr_hdr 1
13060 echo "$ac_t""no" 1>&6
13064 for ac_hdr
in unistd.h
13066 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13067 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13068 echo "configure:13069: checking for $ac_hdr" >&5
13069 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13070 echo $ac_n "(cached) $ac_c" 1>&6
13072 cat > conftest.
$ac_ext <<EOF
13073 #line 13074 "configure"
13074 #include "confdefs.h"
13077 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13078 { (eval echo configure
:13079: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13079 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13080 if test -z "$ac_err"; then
13082 eval "ac_cv_header_$ac_safe=yes"
13085 echo "configure: failed program was:" >&5
13086 cat conftest.
$ac_ext >&5
13088 eval "ac_cv_header_$ac_safe=no"
13092 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13093 echo "$ac_t""yes" 1>&6
13094 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13095 cat >> confdefs.h
<<EOF
13096 #define $ac_tr_hdr 1
13100 echo "$ac_t""no" 1>&6
13104 for ac_hdr
in wchar.h
13106 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13107 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13108 echo "configure:13109: checking for $ac_hdr" >&5
13109 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13110 echo $ac_n "(cached) $ac_c" 1>&6
13112 cat > conftest.
$ac_ext <<EOF
13113 #line 13114 "configure"
13114 #include "confdefs.h"
13117 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13118 { (eval echo configure
:13119: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13119 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13120 if test -z "$ac_err"; then
13122 eval "ac_cv_header_$ac_safe=yes"
13125 echo "configure: failed program was:" >&5
13126 cat conftest.
$ac_ext >&5
13128 eval "ac_cv_header_$ac_safe=no"
13132 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13133 echo "$ac_t""yes" 1>&6
13134 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13135 cat >> confdefs.h
<<EOF
13136 #define $ac_tr_hdr 1
13140 echo "$ac_t""no" 1>&6
13144 for ac_hdr
in wcstr.h
13146 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13147 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13148 echo "configure:13149: checking for $ac_hdr" >&5
13149 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13150 echo $ac_n "(cached) $ac_c" 1>&6
13152 cat > conftest.
$ac_ext <<EOF
13153 #line 13154 "configure"
13154 #include "confdefs.h"
13157 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13158 { (eval echo configure
:13159: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13159 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13160 if test -z "$ac_err"; then
13162 eval "ac_cv_header_$ac_safe=yes"
13165 echo "configure: failed program was:" >&5
13166 cat conftest.
$ac_ext >&5
13168 eval "ac_cv_header_$ac_safe=no"
13172 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13173 echo "$ac_t""yes" 1>&6
13174 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13175 cat >> confdefs.h
<<EOF
13176 #define $ac_tr_hdr 1
13180 echo "$ac_t""no" 1>&6
13184 for ac_hdr
in wctype.h
13186 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13187 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13188 echo "configure:13189: checking for $ac_hdr" >&5
13189 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13190 echo $ac_n "(cached) $ac_c" 1>&6
13192 cat > conftest.
$ac_ext <<EOF
13193 #line 13194 "configure"
13194 #include "confdefs.h"
13197 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13198 { (eval echo configure
:13199: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13199 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13200 if test -z "$ac_err"; then
13202 eval "ac_cv_header_$ac_safe=yes"
13205 echo "configure: failed program was:" >&5
13206 cat conftest.
$ac_ext >&5
13208 eval "ac_cv_header_$ac_safe=no"
13212 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13213 echo "$ac_t""yes" 1>&6
13214 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13215 cat >> confdefs.h
<<EOF
13216 #define $ac_tr_hdr 1
13220 echo "$ac_t""no" 1>&6
13224 for ac_hdr
in fnmatch.h
13226 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13227 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13228 echo "configure:13229: checking for $ac_hdr" >&5
13229 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13230 echo $ac_n "(cached) $ac_c" 1>&6
13232 cat > conftest.
$ac_ext <<EOF
13233 #line 13234 "configure"
13234 #include "confdefs.h"
13237 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13238 { (eval echo configure
:13239: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13239 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13240 if test -z "$ac_err"; then
13242 eval "ac_cv_header_$ac_safe=yes"
13245 echo "configure: failed program was:" >&5
13246 cat conftest.
$ac_ext >&5
13248 eval "ac_cv_header_$ac_safe=no"
13252 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13253 echo "$ac_t""yes" 1>&6
13254 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13255 cat >> confdefs.h
<<EOF
13256 #define $ac_tr_hdr 1
13260 echo "$ac_t""no" 1>&6
13264 for ac_hdr
in iconv.h
13266 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13267 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13268 echo "configure:13269: checking for $ac_hdr" >&5
13269 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13270 echo $ac_n "(cached) $ac_c" 1>&6
13272 cat > conftest.
$ac_ext <<EOF
13273 #line 13274 "configure"
13274 #include "confdefs.h"
13277 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13278 { (eval echo configure
:13279: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13279 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13280 if test -z "$ac_err"; then
13282 eval "ac_cv_header_$ac_safe=yes"
13285 echo "configure: failed program was:" >&5
13286 cat conftest.
$ac_ext >&5
13288 eval "ac_cv_header_$ac_safe=no"
13292 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13293 echo "$ac_t""yes" 1>&6
13294 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13295 cat >> confdefs.h
<<EOF
13296 #define $ac_tr_hdr 1
13300 echo "$ac_t""no" 1>&6
13304 for ac_hdr
in langinfo.h
13306 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13307 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13308 echo "configure:13309: checking for $ac_hdr" >&5
13309 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13310 echo $ac_n "(cached) $ac_c" 1>&6
13312 cat > conftest.
$ac_ext <<EOF
13313 #line 13314 "configure"
13314 #include "confdefs.h"
13317 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13318 { (eval echo configure
:13319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13319 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13320 if test -z "$ac_err"; then
13322 eval "ac_cv_header_$ac_safe=yes"
13325 echo "configure: failed program was:" >&5
13326 cat conftest.
$ac_ext >&5
13328 eval "ac_cv_header_$ac_safe=no"
13332 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13333 echo "$ac_t""yes" 1>&6
13334 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13335 cat >> confdefs.h
<<EOF
13336 #define $ac_tr_hdr 1
13340 echo "$ac_t""no" 1>&6
13345 if test "$wxUSE_GUI" = "yes"; then
13346 if test "$wxUSE_UNIX" = "yes"; then
13347 for ac_hdr
in X
11/XKBlib.h
13349 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13350 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13351 echo "configure:13352: checking for $ac_hdr" >&5
13352 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13353 echo $ac_n "(cached) $ac_c" 1>&6
13355 cat > conftest.
$ac_ext <<EOF
13356 #line 13357 "configure"
13357 #include "confdefs.h"
13360 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13361 { (eval echo configure
:13362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13362 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13363 if test -z "$ac_err"; then
13365 eval "ac_cv_header_$ac_safe=yes"
13368 echo "configure: failed program was:" >&5
13369 cat conftest.
$ac_ext >&5
13371 eval "ac_cv_header_$ac_safe=no"
13375 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13376 echo "$ac_t""yes" 1>&6
13377 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13378 cat >> confdefs.h
<<EOF
13379 #define $ac_tr_hdr 1
13383 echo "$ac_t""no" 1>&6
13391 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
13392 echo "configure:13393: checking for ANSI C header files" >&5
13393 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
13394 echo $ac_n "(cached) $ac_c" 1>&6
13396 cat > conftest.
$ac_ext <<EOF
13397 #line 13398 "configure"
13398 #include "confdefs.h"
13399 #include <stdlib.h>
13400 #include <stdarg.h>
13401 #include <string.h>
13404 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13405 { (eval echo configure
:13406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13406 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13407 if test -z "$ac_err"; then
13409 ac_cv_header_stdc
=yes
13412 echo "configure: failed program was:" >&5
13413 cat conftest.
$ac_ext >&5
13415 ac_cv_header_stdc
=no
13419 if test $ac_cv_header_stdc = yes; then
13420 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13421 cat > conftest.
$ac_ext <<EOF
13422 #line 13423 "configure"
13423 #include "confdefs.h"
13424 #include <string.h>
13426 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13427 egrep "memchr" >/dev
/null
2>&1; then
13431 ac_cv_header_stdc
=no
13437 if test $ac_cv_header_stdc = yes; then
13438 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13439 cat > conftest.
$ac_ext <<EOF
13440 #line 13441 "configure"
13441 #include "confdefs.h"
13442 #include <stdlib.h>
13444 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13445 egrep "free" >/dev
/null
2>&1; then
13449 ac_cv_header_stdc
=no
13455 if test $ac_cv_header_stdc = yes; then
13456 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13457 if test "$cross_compiling" = yes; then
13460 cat > conftest.
$ac_ext <<EOF
13461 #line 13462 "configure"
13462 #include "confdefs.h"
13464 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13465 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13466 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13467 int main () { int i; for (i = 0; i < 256; i++)
13468 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
13472 if { (eval echo configure
:13473: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13476 echo "configure: failed program was:" >&5
13477 cat conftest.
$ac_ext >&5
13479 ac_cv_header_stdc
=no
13487 echo "$ac_t""$ac_cv_header_stdc" 1>&6
13488 if test $ac_cv_header_stdc = yes; then
13489 cat >> confdefs.h
<<\EOF
13490 #define STDC_HEADERS 1
13495 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
13496 echo "configure:13497: checking for mode_t" >&5
13497 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
13498 echo $ac_n "(cached) $ac_c" 1>&6
13500 cat > conftest.
$ac_ext <<EOF
13501 #line 13502 "configure"
13502 #include "confdefs.h"
13503 #include <sys/types.h>
13505 #include <stdlib.h>
13506 #include <stddef.h>
13509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13510 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13512 ac_cv_type_mode_t
=yes
13515 ac_cv_type_mode_t
=no
13520 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
13521 if test $ac_cv_type_mode_t = no
; then
13522 cat >> confdefs.h
<<\EOF
13528 echo $ac_n "checking for off_t""... $ac_c" 1>&6
13529 echo "configure:13530: checking for off_t" >&5
13530 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
13531 echo $ac_n "(cached) $ac_c" 1>&6
13533 cat > conftest.
$ac_ext <<EOF
13534 #line 13535 "configure"
13535 #include "confdefs.h"
13536 #include <sys/types.h>
13538 #include <stdlib.h>
13539 #include <stddef.h>
13542 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13543 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13545 ac_cv_type_off_t
=yes
13548 ac_cv_type_off_t
=no
13553 echo "$ac_t""$ac_cv_type_off_t" 1>&6
13554 if test $ac_cv_type_off_t = no
; then
13555 cat >> confdefs.h
<<\EOF
13561 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
13562 echo "configure:13563: checking for pid_t" >&5
13563 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
13564 echo $ac_n "(cached) $ac_c" 1>&6
13566 cat > conftest.
$ac_ext <<EOF
13567 #line 13568 "configure"
13568 #include "confdefs.h"
13569 #include <sys/types.h>
13571 #include <stdlib.h>
13572 #include <stddef.h>
13575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13576 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13578 ac_cv_type_pid_t
=yes
13581 ac_cv_type_pid_t
=no
13586 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
13587 if test $ac_cv_type_pid_t = no
; then
13588 cat >> confdefs.h
<<\EOF
13594 echo $ac_n "checking for size_t""... $ac_c" 1>&6
13595 echo "configure:13596: checking for size_t" >&5
13596 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13597 echo $ac_n "(cached) $ac_c" 1>&6
13599 cat > conftest.
$ac_ext <<EOF
13600 #line 13601 "configure"
13601 #include "confdefs.h"
13602 #include <sys/types.h>
13604 #include <stdlib.h>
13605 #include <stddef.h>
13608 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13609 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13611 ac_cv_type_size_t
=yes
13614 ac_cv_type_size_t
=no
13619 echo "$ac_t""$ac_cv_type_size_t" 1>&6
13620 if test $ac_cv_type_size_t = no
; then
13621 cat >> confdefs.h
<<\EOF
13622 #define size_t unsigned
13627 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
13628 echo "configure:13629: checking for uid_t in sys/types.h" >&5
13629 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
13630 echo $ac_n "(cached) $ac_c" 1>&6
13632 cat > conftest.
$ac_ext <<EOF
13633 #line 13634 "configure"
13634 #include "confdefs.h"
13635 #include <sys/types.h>
13637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13638 egrep "uid_t" >/dev
/null
2>&1; then
13640 ac_cv_type_uid_t
=yes
13643 ac_cv_type_uid_t
=no
13649 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
13650 if test $ac_cv_type_uid_t = no
; then
13651 cat >> confdefs.h
<<\EOF
13655 cat >> confdefs.h
<<\EOF
13662 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
13663 echo "configure:13664: checking for wchar_t" >&5
13664 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
13665 echo $ac_n "(cached) $ac_c" 1>&6
13668 cat > conftest.
$ac_ext <<EOF
13669 #line 13670 "configure"
13670 #include "confdefs.h"
13672 #ifdef HAVE_WCHAR_H
13674 # include <stddef.h>
13676 # include <wchar.h>
13678 #ifdef HAVE_STDLIB_H
13679 # include <stdlib.h>
13686 ws = L"Hello, world!";
13690 if { (eval echo configure
:13691: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13692 wx_cv_type_wchar_t
=yes
13694 echo "configure: failed program was:" >&5
13695 cat conftest.
$ac_ext >&5
13697 wx_cv_type_wchar_t
=no
13704 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
13706 if test "$wx_cv_type_wchar_t" = "yes"; then
13707 cat >> confdefs.h
<<\EOF
13708 #define wxUSE_WCHAR_T 1
13715 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13716 ac_cpp
='$CXXCPP $CPPFLAGS'
13717 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13718 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13719 cross_compiling
=$ac_cv_prog_cxx_cross
13721 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
13722 echo "configure:13723: checking if size_t is unsigned int" >&5
13723 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
13724 echo $ac_n "(cached) $ac_c" 1>&6
13726 cat > conftest.
$ac_ext <<EOF
13727 #line 13728 "configure"
13728 #include "confdefs.h"
13729 #include <stddef.h>
13734 struct Foo { void foo(size_t); void foo(unsigned int); };
13740 if { (eval echo configure
:13741: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13742 wx_cv_size_t_is_uint
=no
13744 echo "configure: failed program was:" >&5
13745 cat conftest.
$ac_ext >&5
13747 wx_cv_size_t_is_uint
=yes
13754 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
13756 if test "$wx_cv_size_t_is_uint" = "yes"; then
13757 cat >> confdefs.h
<<\EOF
13758 #define wxSIZE_T_IS_UINT 1
13762 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
13763 echo "configure:13764: checking if size_t is unsigned long" >&5
13764 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
13765 echo $ac_n "(cached) $ac_c" 1>&6
13767 cat > conftest.
$ac_ext <<EOF
13768 #line 13769 "configure"
13769 #include "confdefs.h"
13770 #include <stddef.h>
13775 struct Foo { void foo(size_t); void foo(unsigned long); };
13781 if { (eval echo configure
:13782: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13783 wx_cv_size_t_is_ulong
=no
13785 echo "configure: failed program was:" >&5
13786 cat conftest.
$ac_ext >&5
13788 wx_cv_size_t_is_ulong
=yes
13795 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13797 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13798 cat >> confdefs.h
<<\EOF
13799 #define wxSIZE_T_IS_ULONG 1
13806 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13807 ac_cpp
='$CPP $CPPFLAGS'
13808 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13809 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13810 cross_compiling
=$ac_cv_prog_cc_cross
13814 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13815 echo "configure:13816: checking for pw_gecos in struct passwd" >&5
13816 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13817 echo $ac_n "(cached) $ac_c" 1>&6
13820 cat > conftest.
$ac_ext <<EOF
13821 #line 13822 "configure"
13822 #include "confdefs.h"
13832 if { (eval echo configure
:13833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13835 wx_cv_struct_pw_gecos
=yes
13838 echo "configure: failed program was:" >&5
13839 cat conftest.
$ac_ext >&5
13842 wx_cv_struct_pw_gecos
=no
13851 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13853 if test "$wx_cv_struct_pw_gecos" = "yes"; then
13854 cat >> confdefs.h
<<\EOF
13855 #define HAVE_PW_GECOS 1
13861 echo $ac_n "checking for working const""... $ac_c" 1>&6
13862 echo "configure:13863: checking for working const" >&5
13863 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13864 echo $ac_n "(cached) $ac_c" 1>&6
13866 cat > conftest.
$ac_ext <<EOF
13867 #line 13868 "configure"
13868 #include "confdefs.h"
13872 /* Ultrix mips cc rejects this. */
13873 typedef int charset[2]; const charset x;
13874 /* SunOS 4.1.1 cc rejects this. */
13875 char const *const *ccp;
13877 /* NEC SVR4.0.2 mips cc rejects this. */
13878 struct point {int x, y;};
13879 static struct point const zero = {0,0};
13880 /* AIX XL C 1.02.0.0 rejects this.
13881 It does not let you subtract one const X* pointer from another in an arm
13882 of an if-expression whose if-part is not a constant expression */
13883 const char *g = "string";
13884 ccp = &g + (g ? g-g : 0);
13885 /* HPUX 7.0 cc rejects these. */
13888 ccp = (char const *const *) p;
13889 { /* SCO 3.2v4 cc rejects this. */
13891 char const *s = 0 ? (char *) 0 : (char const *) 0;
13895 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13896 int x[] = {25, 17};
13897 const int *foo = &x[0];
13900 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13901 typedef const int *iptr;
13905 { /* AIX XL C 1.02.0.0 rejects this saying
13906 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13907 struct s { int j; const int *ap[3]; };
13908 struct s *b; b->j = 5;
13910 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13911 const int foo = 10;
13916 if { (eval echo configure
:13917: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13920 echo "configure: failed program was:" >&5
13921 cat conftest.
$ac_ext >&5
13928 echo "$ac_t""$ac_cv_c_const" 1>&6
13929 if test $ac_cv_c_const = no
; then
13930 cat >> confdefs.h
<<\EOF
13936 echo $ac_n "checking for inline""... $ac_c" 1>&6
13937 echo "configure:13938: checking for inline" >&5
13938 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13939 echo $ac_n "(cached) $ac_c" 1>&6
13942 for ac_kw
in inline __inline__ __inline
; do
13943 cat > conftest.
$ac_ext <<EOF
13944 #line 13945 "configure"
13945 #include "confdefs.h"
13951 if { (eval echo configure
:13952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13953 ac_cv_c_inline
=$ac_kw; break
13955 echo "configure: failed program was:" >&5
13956 cat conftest.
$ac_ext >&5
13963 echo "$ac_t""$ac_cv_c_inline" 1>&6
13964 case "$ac_cv_c_inline" in
13966 no
) cat >> confdefs.h
<<\EOF
13970 *) cat >> confdefs.h
<<EOF
13971 #define inline $ac_cv_c_inline
13977 echo $ac_n "checking size of char""... $ac_c" 1>&6
13978 echo "configure:13979: checking size of char" >&5
13979 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
13980 echo $ac_n "(cached) $ac_c" 1>&6
13982 if test "$cross_compiling" = yes; then
13983 ac_cv_sizeof_char
=1
13985 cat > conftest.
$ac_ext <<EOF
13986 #line 13987 "configure"
13987 #include "confdefs.h"
13991 FILE *f=fopen("conftestval", "w");
13993 fprintf(f, "%d\n", sizeof(char));
13997 if { (eval echo configure
:13998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13999 ac_cv_sizeof_char
=`cat conftestval`
14001 echo "configure: failed program was:" >&5
14002 cat conftest.
$ac_ext >&5
14004 ac_cv_sizeof_char
=0
14010 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
14011 cat >> confdefs.h
<<EOF
14012 #define SIZEOF_CHAR $ac_cv_sizeof_char
14016 echo $ac_n "checking size of short""... $ac_c" 1>&6
14017 echo "configure:14018: checking size of short" >&5
14018 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
14019 echo $ac_n "(cached) $ac_c" 1>&6
14021 if test "$cross_compiling" = yes; then
14022 ac_cv_sizeof_short
=2
14024 cat > conftest.
$ac_ext <<EOF
14025 #line 14026 "configure"
14026 #include "confdefs.h"
14030 FILE *f=fopen("conftestval", "w");
14032 fprintf(f, "%d\n", sizeof(short));
14036 if { (eval echo configure
:14037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14038 ac_cv_sizeof_short
=`cat conftestval`
14040 echo "configure: failed program was:" >&5
14041 cat conftest.
$ac_ext >&5
14043 ac_cv_sizeof_short
=0
14049 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
14050 cat >> confdefs.h
<<EOF
14051 #define SIZEOF_SHORT $ac_cv_sizeof_short
14055 echo $ac_n "checking size of int *""... $ac_c" 1>&6
14056 echo "configure:14057: checking size of int *" >&5
14057 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
14058 echo $ac_n "(cached) $ac_c" 1>&6
14060 if test "$cross_compiling" = yes; then
14061 ac_cv_sizeof_int_p
=4
14063 cat > conftest.
$ac_ext <<EOF
14064 #line 14065 "configure"
14065 #include "confdefs.h"
14069 FILE *f=fopen("conftestval", "w");
14071 fprintf(f, "%d\n", sizeof(int *));
14075 if { (eval echo configure
:14076: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14077 ac_cv_sizeof_int_p
=`cat conftestval`
14079 echo "configure: failed program was:" >&5
14080 cat conftest.
$ac_ext >&5
14082 ac_cv_sizeof_int_p
=0
14088 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
14089 cat >> confdefs.h
<<EOF
14090 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
14094 echo $ac_n "checking size of int""... $ac_c" 1>&6
14095 echo "configure:14096: checking size of int" >&5
14096 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
14097 echo $ac_n "(cached) $ac_c" 1>&6
14099 if test "$cross_compiling" = yes; then
14102 cat > conftest.
$ac_ext <<EOF
14103 #line 14104 "configure"
14104 #include "confdefs.h"
14108 FILE *f=fopen("conftestval", "w");
14110 fprintf(f, "%d\n", sizeof(int));
14114 if { (eval echo configure
:14115: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14116 ac_cv_sizeof_int
=`cat conftestval`
14118 echo "configure: failed program was:" >&5
14119 cat conftest.
$ac_ext >&5
14127 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
14128 cat >> confdefs.h
<<EOF
14129 #define SIZEOF_INT $ac_cv_sizeof_int
14133 echo $ac_n "checking size of long""... $ac_c" 1>&6
14134 echo "configure:14135: checking size of long" >&5
14135 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
14136 echo $ac_n "(cached) $ac_c" 1>&6
14138 if test "$cross_compiling" = yes; then
14139 ac_cv_sizeof_long
=4
14141 cat > conftest.
$ac_ext <<EOF
14142 #line 14143 "configure"
14143 #include "confdefs.h"
14147 FILE *f=fopen("conftestval", "w");
14149 fprintf(f, "%d\n", sizeof(long));
14153 if { (eval echo configure
:14154: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14155 ac_cv_sizeof_long
=`cat conftestval`
14157 echo "configure: failed program was:" >&5
14158 cat conftest.
$ac_ext >&5
14160 ac_cv_sizeof_long
=0
14166 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
14167 cat >> confdefs.h
<<EOF
14168 #define SIZEOF_LONG $ac_cv_sizeof_long
14172 echo $ac_n "checking size of long long""... $ac_c" 1>&6
14173 echo "configure:14174: checking size of long long" >&5
14174 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
14175 echo $ac_n "(cached) $ac_c" 1>&6
14177 if test "$cross_compiling" = yes; then
14178 ac_cv_sizeof_long_long
=0
14180 cat > conftest.
$ac_ext <<EOF
14181 #line 14182 "configure"
14182 #include "confdefs.h"
14186 FILE *f=fopen("conftestval", "w");
14188 fprintf(f, "%d\n", sizeof(long long));
14192 if { (eval echo configure
:14193: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14194 ac_cv_sizeof_long_long
=`cat conftestval`
14196 echo "configure: failed program was:" >&5
14197 cat conftest.
$ac_ext >&5
14199 ac_cv_sizeof_long_long
=0
14205 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
14206 cat >> confdefs.h
<<EOF
14207 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
14212 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
14213 echo "configure:14214: checking size of wchar_t" >&5
14214 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
14215 echo $ac_n "(cached) $ac_c" 1>&6
14218 if test "$cross_compiling" = yes; then
14219 wx_cv_sizeof_wchar_t
=4
14222 cat > conftest.
$ac_ext <<EOF
14223 #line 14224 "configure"
14224 #include "confdefs.h"
14226 #ifdef HAVE_WCHAR_H
14228 # include <stddef.h>
14230 # include <wchar.h>
14232 #ifdef HAVE_STDLIB_H
14233 # include <stdlib.h>
14238 FILE *f=fopen("conftestval", "w");
14240 fprintf(f, "%i", sizeof(wchar_t));
14245 if { (eval echo configure
:14246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14247 wx_cv_sizeof_wchar_t
=`cat conftestval`
14249 echo "configure: failed program was:" >&5
14250 cat conftest.
$ac_ext >&5
14252 wx_cv_sizeof_wchar_t
=0
14260 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
14262 cat >> confdefs.h
<<EOF
14263 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
14267 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
14268 echo "configure:14269: checking whether byte ordering is bigendian" >&5
14269 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
14270 echo $ac_n "(cached) $ac_c" 1>&6
14272 ac_cv_c_bigendian
=unknown
14273 # See if sys/param.h defines the BYTE_ORDER macro.
14274 cat > conftest.
$ac_ext <<EOF
14275 #line 14276 "configure"
14276 #include "confdefs.h"
14277 #include <sys/types.h>
14278 #include <sys/param.h>
14281 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14282 bogus endian macros
14286 if { (eval echo configure
:14287: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14288 # It does; now see whether it defined to BIG_ENDIAN or not.
14289 cat > conftest.
$ac_ext <<EOF
14290 #line 14291 "configure"
14291 #include "confdefs.h"
14292 #include <sys/types.h>
14293 #include <sys/param.h>
14296 #if BYTE_ORDER != BIG_ENDIAN
14301 if { (eval echo configure
:14302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14303 ac_cv_c_bigendian
=yes
14305 echo "configure: failed program was:" >&5
14306 cat conftest.
$ac_ext >&5
14308 ac_cv_c_bigendian
=no
14312 echo "configure: failed program was:" >&5
14313 cat conftest.
$ac_ext >&5
14316 if test $ac_cv_c_bigendian = unknown
; then
14317 if test "$cross_compiling" = yes; then
14318 ac_cv_c_bigendian
=unknown
14320 cat > conftest.
$ac_ext <<EOF
14321 #line 14322 "configure"
14322 #include "confdefs.h"
14324 /* Are we little or big endian? From Harbison&Steele. */
14328 char c[sizeof (long)];
14331 exit (u.c[sizeof (long) - 1] == 1);
14334 if { (eval echo configure
:14335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14336 ac_cv_c_bigendian
=no
14338 echo "configure: failed program was:" >&5
14339 cat conftest.
$ac_ext >&5
14341 ac_cv_c_bigendian
=yes
14349 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
14350 if test $ac_cv_c_bigendian = unknown
; then
14351 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
14353 if test $ac_cv_c_bigendian = yes; then
14354 cat >> confdefs.h
<<\EOF
14355 #define WORDS_BIGENDIAN 1
14361 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
14362 echo "configure:14363: checking how to run the C++ preprocessor" >&5
14363 if test -z "$CXXCPP"; then
14364 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
14365 echo $ac_n "(cached) $ac_c" 1>&6
14368 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14369 ac_cpp
='$CXXCPP $CPPFLAGS'
14370 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14371 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14372 cross_compiling
=$ac_cv_prog_cxx_cross
14373 CXXCPP
="${CXX-g++} -E"
14374 cat > conftest.
$ac_ext <<EOF
14375 #line 14376 "configure"
14376 #include "confdefs.h"
14377 #include <stdlib.h>
14379 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14380 { (eval echo configure
:14381: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14381 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14382 if test -z "$ac_err"; then
14386 echo "configure: failed program was:" >&5
14387 cat conftest.
$ac_ext >&5
14392 ac_cv_prog_CXXCPP
="$CXXCPP"
14394 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14395 ac_cpp
='$CXXCPP $CPPFLAGS'
14396 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14397 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14398 cross_compiling
=$ac_cv_prog_cxx_cross
14401 CXXCPP
="$ac_cv_prog_CXXCPP"
14402 echo "$ac_t""$CXXCPP" 1>&6
14405 if test "$cross_compiling" = "yes"; then
14406 cat >> confdefs.h
<<\EOF
14407 #define wxUSE_IOSTREAMH 1
14413 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14414 ac_cpp
='$CXXCPP $CPPFLAGS'
14415 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14416 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14417 cross_compiling
=$ac_cv_prog_cxx_cross
14420 for ac_hdr
in iostream
14422 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14423 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14424 echo "configure:14425: checking for $ac_hdr" >&5
14425 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14426 echo $ac_n "(cached) $ac_c" 1>&6
14428 cat > conftest.
$ac_ext <<EOF
14429 #line 14430 "configure"
14430 #include "confdefs.h"
14433 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14434 { (eval echo configure
:14435: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14435 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14436 if test -z "$ac_err"; then
14438 eval "ac_cv_header_$ac_safe=yes"
14441 echo "configure: failed program was:" >&5
14442 cat conftest.
$ac_ext >&5
14444 eval "ac_cv_header_$ac_safe=no"
14448 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14449 echo "$ac_t""yes" 1>&6
14450 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14451 cat >> confdefs.h
<<EOF
14452 #define $ac_tr_hdr 1
14456 echo "$ac_t""no" 1>&6
14461 if test "$ac_cv_header_iostream" = "yes" ; then
14464 cat >> confdefs.h
<<\EOF
14465 #define wxUSE_IOSTREAMH 1
14471 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14472 ac_cpp
='$CPP $CPPFLAGS'
14473 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14474 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14475 cross_compiling
=$ac_cv_prog_cc_cross
14481 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
14482 echo "configure:14483: checking if C++ compiler supports bool" >&5
14483 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
14484 echo $ac_n "(cached) $ac_c" 1>&6
14489 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14490 ac_cpp
='$CXXCPP $CPPFLAGS'
14491 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14492 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14493 cross_compiling
=$ac_cv_prog_cxx_cross
14496 cat > conftest.
$ac_ext <<EOF
14497 #line 14498 "configure"
14498 #include "confdefs.h"
14509 if { (eval echo configure
:14510: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14515 echo "configure: failed program was:" >&5
14516 cat conftest.
$ac_ext >&5
14526 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14527 ac_cpp
='$CPP $CPPFLAGS'
14528 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14529 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14530 cross_compiling
=$ac_cv_prog_cc_cross
14535 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
14537 if test "$wx_cv_cpp_bool" = "yes"; then
14538 cat >> confdefs.h
<<\EOF
14539 #define HAVE_BOOL 1
14546 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
14547 echo "configure:14548: checking for wcslen in -lc" >&5
14548 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
14549 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14550 echo $ac_n "(cached) $ac_c" 1>&6
14552 ac_save_LIBS
="$LIBS"
14554 cat > conftest.
$ac_ext <<EOF
14555 #line 14556 "configure"
14556 #include "confdefs.h"
14557 /* Override any gcc2 internal prototype to avoid an error. */
14558 /* We use char because int might match the return type of a gcc2
14559 builtin and then its argument prototype would still apply. */
14566 if { (eval echo configure
:14567: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14568 eval "ac_cv_lib_$ac_lib_var=yes"
14570 echo "configure: failed program was:" >&5
14571 cat conftest.
$ac_ext >&5
14573 eval "ac_cv_lib_$ac_lib_var=no"
14576 LIBS
="$ac_save_LIBS"
14579 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14580 echo "$ac_t""yes" 1>&6
14582 cat >> confdefs.h
<<\EOF
14583 #define HAVE_WCSLEN 1
14589 echo "$ac_t""no" 1>&6
14591 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
14592 echo "configure:14593: checking for wcslen in -lw" >&5
14593 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
14594 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14595 echo $ac_n "(cached) $ac_c" 1>&6
14597 ac_save_LIBS
="$LIBS"
14599 cat > conftest.
$ac_ext <<EOF
14600 #line 14601 "configure"
14601 #include "confdefs.h"
14602 /* Override any gcc2 internal prototype to avoid an error. */
14603 /* We use char because int might match the return type of a gcc2
14604 builtin and then its argument prototype would still apply. */
14611 if { (eval echo configure
:14612: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14613 eval "ac_cv_lib_$ac_lib_var=yes"
14615 echo "configure: failed program was:" >&5
14616 cat conftest.
$ac_ext >&5
14618 eval "ac_cv_lib_$ac_lib_var=no"
14621 LIBS
="$ac_save_LIBS"
14624 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14625 echo "$ac_t""yes" 1>&6
14627 cat >> confdefs.h
<<\EOF
14628 #define HAVE_WCSLEN 1
14634 echo "$ac_t""no" 1>&6
14636 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
14637 echo "configure:14638: checking for wcslen in -lmsvcrt" >&5
14638 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
14639 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14640 echo $ac_n "(cached) $ac_c" 1>&6
14642 ac_save_LIBS
="$LIBS"
14643 LIBS
="-lmsvcrt $LIBS"
14644 cat > conftest.
$ac_ext <<EOF
14645 #line 14646 "configure"
14646 #include "confdefs.h"
14647 /* Override any gcc2 internal prototype to avoid an error. */
14648 /* We use char because int might match the return type of a gcc2
14649 builtin and then its argument prototype would still apply. */
14656 if { (eval echo configure
:14657: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14658 eval "ac_cv_lib_$ac_lib_var=yes"
14660 echo "configure: failed program was:" >&5
14661 cat conftest.
$ac_ext >&5
14663 eval "ac_cv_lib_$ac_lib_var=no"
14666 LIBS
="$ac_save_LIBS"
14669 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14670 echo "$ac_t""yes" 1>&6
14672 cat >> confdefs.h
<<\EOF
14673 #define HAVE_WCSLEN 1
14679 echo "$ac_t""no" 1>&6
14689 for ac_func
in wcsrtombs
14691 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14692 echo "configure:14693: checking for $ac_func" >&5
14693 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14694 echo $ac_n "(cached) $ac_c" 1>&6
14696 cat > conftest.
$ac_ext <<EOF
14697 #line 14698 "configure"
14698 #include "confdefs.h"
14699 /* System header to define __stub macros and hopefully few prototypes,
14700 which can conflict with char $ac_func(); below. */
14701 #include <assert.h>
14702 /* Override any gcc2 internal prototype to avoid an error. */
14703 /* We use char because int might match the return type of a gcc2
14704 builtin and then its argument prototype would still apply. */
14709 /* The GNU C library defines this for functions which it implements
14710 to always fail with ENOSYS. Some functions are actually named
14711 something starting with __ and the normal name is an alias. */
14712 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14720 if { (eval echo configure
:14721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14722 eval "ac_cv_func_$ac_func=yes"
14724 echo "configure: failed program was:" >&5
14725 cat conftest.
$ac_ext >&5
14727 eval "ac_cv_func_$ac_func=no"
14732 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14733 echo "$ac_t""yes" 1>&6
14734 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14735 cat >> confdefs.h
<<EOF
14736 #define $ac_tr_func 1
14740 echo "$ac_t""no" 1>&6
14745 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
14746 echo "configure:14747: checking for vprintf" >&5
14747 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
14748 echo $ac_n "(cached) $ac_c" 1>&6
14750 cat > conftest.
$ac_ext <<EOF
14751 #line 14752 "configure"
14752 #include "confdefs.h"
14753 /* System header to define __stub macros and hopefully few prototypes,
14754 which can conflict with char vprintf(); below. */
14755 #include <assert.h>
14756 /* Override any gcc2 internal prototype to avoid an error. */
14757 /* We use char because int might match the return type of a gcc2
14758 builtin and then its argument prototype would still apply. */
14763 /* The GNU C library defines this for functions which it implements
14764 to always fail with ENOSYS. Some functions are actually named
14765 something starting with __ and the normal name is an alias. */
14766 #if defined (__stub_vprintf) || defined (__stub___vprintf)
14774 if { (eval echo configure
:14775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14776 eval "ac_cv_func_vprintf=yes"
14778 echo "configure: failed program was:" >&5
14779 cat conftest.
$ac_ext >&5
14781 eval "ac_cv_func_vprintf=no"
14786 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14787 echo "$ac_t""yes" 1>&6
14788 cat >> confdefs.h
<<\EOF
14789 #define HAVE_VPRINTF 1
14793 echo "$ac_t""no" 1>&6
14796 if test "$ac_cv_func_vprintf" != yes; then
14797 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14798 echo "configure:14799: checking for _doprnt" >&5
14799 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14800 echo $ac_n "(cached) $ac_c" 1>&6
14802 cat > conftest.
$ac_ext <<EOF
14803 #line 14804 "configure"
14804 #include "confdefs.h"
14805 /* System header to define __stub macros and hopefully few prototypes,
14806 which can conflict with char _doprnt(); below. */
14807 #include <assert.h>
14808 /* Override any gcc2 internal prototype to avoid an error. */
14809 /* We use char because int might match the return type of a gcc2
14810 builtin and then its argument prototype would still apply. */
14815 /* The GNU C library defines this for functions which it implements
14816 to always fail with ENOSYS. Some functions are actually named
14817 something starting with __ and the normal name is an alias. */
14818 #if defined (__stub__doprnt) || defined (__stub____doprnt)
14826 if { (eval echo configure
:14827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14828 eval "ac_cv_func__doprnt=yes"
14830 echo "configure: failed program was:" >&5
14831 cat conftest.
$ac_ext >&5
14833 eval "ac_cv_func__doprnt=no"
14838 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14839 echo "$ac_t""yes" 1>&6
14840 cat >> confdefs.h
<<\EOF
14841 #define HAVE_DOPRNT 1
14845 echo "$ac_t""no" 1>&6
14855 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14856 echo "configure:14857: checking for vsnprintf" >&5
14857 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14858 echo $ac_n "(cached) $ac_c" 1>&6
14861 cat > conftest.
$ac_ext <<EOF
14862 #line 14863 "configure"
14863 #include "confdefs.h"
14866 #include <stdarg.h>
14870 int wx_test_vsnprintf(const char *, ...);
14872 wx_test_vsnprintf("%s");
14876 int wx_test_vsnprintf(const char *fmt, ...)
14881 va_start(argp, fmt);
14882 vsnprintf(s, 42, fmt, argp);
14887 if { (eval echo configure
:14888: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14890 wx_cv_func_vsnprintf
=yes
14893 echo "configure: failed program was:" >&5
14894 cat conftest.
$ac_ext >&5
14897 cat > conftest.
$ac_ext <<EOF
14898 #line 14899 "configure"
14899 #include "confdefs.h"
14902 #include <stdarg.h>
14906 int wx_test_vsnprintf(const char *, ...);
14908 wx_test_vsnprintf("%s");
14912 int wx_test_vsnprintf(const char *fmt, ...)
14917 va_start(argp, fmt);
14918 _vsnprintf(s, 42, fmt, argp);
14923 if { (eval echo configure
:14924: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14926 wx_cv_func_vsnprintf
=yes
14929 echo "configure: failed program was:" >&5
14930 cat conftest.
$ac_ext >&5
14933 wx_cv_func_vsnprintf
=no
14943 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14945 if test "$wx_cv_func_vsnprintf" = yes; then
14946 cat >> confdefs.h
<<\EOF
14947 #define HAVE_VSNPRINTF 1
14951 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
14954 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14955 echo "configure:14956: checking for vsscanf" >&5
14956 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
14957 echo $ac_n "(cached) $ac_c" 1>&6
14960 cat > conftest.
$ac_ext <<EOF
14961 #line 14962 "configure"
14962 #include "confdefs.h"
14965 #include <stdarg.h>
14969 int wx_test_vsscanf(const char *, ...);
14971 wx_test_vsscanf("%d");
14975 int wx_test_vsscanf(const char *fmt, ...)
14978 va_start(argp, fmt);
14979 vsscanf("42", fmt, argp);
14984 if { (eval echo configure
:14985: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14987 wx_cv_func_vsscanf
=yes
14990 echo "configure: failed program was:" >&5
14991 cat conftest.
$ac_ext >&5
14994 wx_cv_func_vsscanf
=no
15001 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
15003 if test "$wx_cv_func_vsscanf" = yes; then
15004 cat >> confdefs.h
<<\EOF
15005 #define HAVE_VSSCANF 1
15010 if test "$TOOLKIT" != "MSW"; then
15015 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15016 ac_cpp
='$CXXCPP $CPPFLAGS'
15017 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15018 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15019 cross_compiling
=$ac_cv_prog_cxx_cross
15021 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
15022 echo "configure:15023: checking if iconv() takes char**" >&5
15023 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
15024 echo $ac_n "(cached) $ac_c" 1>&6
15027 cat > conftest.
$ac_ext <<EOF
15028 #line 15029 "configure"
15029 #include "confdefs.h"
15033 char **inbuf, **outbuf;
15035 size_t insz, outsz;
15036 iconv(cd, inbuf, &insz, outbuf, &outsz);
15040 if { (eval echo configure
:15041: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15042 wx_cv_iconv_takes_char
=yes
15044 echo "configure: failed program was:" >&5
15045 cat conftest.
$ac_ext >&5
15047 wx_cv_iconv_takes_char
=no
15053 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
15055 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15056 ac_cpp
='$CPP $CPPFLAGS'
15057 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15058 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15059 cross_compiling
=$ac_cv_prog_cc_cross
15061 if test "$wx_cv_iconv_takes_char" = yes ; then
15062 cat >> confdefs.h
<<\EOF
15063 #define WX_ICONV_TAKES_CHAR 1
15069 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
15070 for ac_func
in sigaction
15072 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15073 echo "configure:15074: checking for $ac_func" >&5
15074 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15075 echo $ac_n "(cached) $ac_c" 1>&6
15077 cat > conftest.
$ac_ext <<EOF
15078 #line 15079 "configure"
15079 #include "confdefs.h"
15080 /* System header to define __stub macros and hopefully few prototypes,
15081 which can conflict with char $ac_func(); below. */
15082 #include <assert.h>
15083 /* Override any gcc2 internal prototype to avoid an error. */
15084 /* We use char because int might match the return type of a gcc2
15085 builtin and then its argument prototype would still apply. */
15090 /* The GNU C library defines this for functions which it implements
15091 to always fail with ENOSYS. Some functions are actually named
15092 something starting with __ and the normal name is an alias. */
15093 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15101 if { (eval echo configure
:15102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15103 eval "ac_cv_func_$ac_func=yes"
15105 echo "configure: failed program was:" >&5
15106 cat conftest.
$ac_ext >&5
15108 eval "ac_cv_func_$ac_func=no"
15113 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15114 echo "$ac_t""yes" 1>&6
15115 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15116 cat >> confdefs.h
<<EOF
15117 #define $ac_tr_func 1
15121 echo "$ac_t""no" 1>&6
15126 if test "$ac_cv_func_sigaction" = "no"; then
15127 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
15128 wxUSE_ON_FATAL_EXCEPTION
=no
15131 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15134 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15135 ac_cpp
='$CXXCPP $CPPFLAGS'
15136 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15137 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15138 cross_compiling
=$ac_cv_prog_cxx_cross
15141 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
15142 echo "configure:15143: checking for sa_handler type" >&5
15143 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
15144 echo $ac_n "(cached) $ac_c" 1>&6
15147 cat > conftest.
$ac_ext <<EOF
15148 #line 15149 "configure"
15149 #include "confdefs.h"
15150 #include <signal.h>
15153 extern void testSigHandler(int);
15155 struct sigaction sa;
15156 sa.sa_handler = testSigHandler;
15160 if { (eval echo configure
:15161: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15163 wx_cv_type_sa_handler
=int
15166 echo "configure: failed program was:" >&5
15167 cat conftest.
$ac_ext >&5
15170 wx_cv_type_sa_handler
=void
15177 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
15180 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15181 ac_cpp
='$CPP $CPPFLAGS'
15182 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15183 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15184 cross_compiling
=$ac_cv_prog_cc_cross
15187 cat >> confdefs.h
<<EOF
15188 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
15194 for ac_func
in vfork
15196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15197 echo "configure:15198: checking for $ac_func" >&5
15198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15199 echo $ac_n "(cached) $ac_c" 1>&6
15201 cat > conftest.
$ac_ext <<EOF
15202 #line 15203 "configure"
15203 #include "confdefs.h"
15204 /* System header to define __stub macros and hopefully few prototypes,
15205 which can conflict with char $ac_func(); below. */
15206 #include <assert.h>
15207 /* Override any gcc2 internal prototype to avoid an error. */
15208 /* We use char because int might match the return type of a gcc2
15209 builtin and then its argument prototype would still apply. */
15214 /* The GNU C library defines this for functions which it implements
15215 to always fail with ENOSYS. Some functions are actually named
15216 something starting with __ and the normal name is an alias. */
15217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15225 if { (eval echo configure
:15226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15227 eval "ac_cv_func_$ac_func=yes"
15229 echo "configure: failed program was:" >&5
15230 cat conftest.
$ac_ext >&5
15232 eval "ac_cv_func_$ac_func=no"
15237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15238 echo "$ac_t""yes" 1>&6
15239 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15240 cat >> confdefs.h
<<EOF
15241 #define $ac_tr_func 1
15245 echo "$ac_t""no" 1>&6
15250 for ac_func
in mkstemp mktemp
15252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15253 echo "configure:15254: checking for $ac_func" >&5
15254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15255 echo $ac_n "(cached) $ac_c" 1>&6
15257 cat > conftest.
$ac_ext <<EOF
15258 #line 15259 "configure"
15259 #include "confdefs.h"
15260 /* System header to define __stub macros and hopefully few prototypes,
15261 which can conflict with char $ac_func(); below. */
15262 #include <assert.h>
15263 /* Override any gcc2 internal prototype to avoid an error. */
15264 /* We use char because int might match the return type of a gcc2
15265 builtin and then its argument prototype would still apply. */
15270 /* The GNU C library defines this for functions which it implements
15271 to always fail with ENOSYS. Some functions are actually named
15272 something starting with __ and the normal name is an alias. */
15273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15281 if { (eval echo configure
:15282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15283 eval "ac_cv_func_$ac_func=yes"
15285 echo "configure: failed program was:" >&5
15286 cat conftest.
$ac_ext >&5
15288 eval "ac_cv_func_$ac_func=no"
15293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15294 echo "$ac_t""yes" 1>&6
15295 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15296 cat >> confdefs.h
<<EOF
15297 #define $ac_tr_func 1
15301 echo "$ac_t""no" 1>&6
15306 echo $ac_n "checking for statfs""... $ac_c" 1>&6
15307 echo "configure:15308: checking for statfs" >&5
15308 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
15309 echo $ac_n "(cached) $ac_c" 1>&6
15311 cat > conftest.
$ac_ext <<EOF
15312 #line 15313 "configure"
15313 #include "confdefs.h"
15315 #if defined(__BSD__)
15316 #include <sys/param.h>
15317 #include <sys/mount.h>
15319 #include <sys/vfs.h>
15333 if { (eval echo configure
:15334: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15336 wx_cv_func_statfs
=yes
15339 echo "configure: failed program was:" >&5
15340 cat conftest.
$ac_ext >&5
15343 wx_cv_func_statfs
=no
15351 echo "$ac_t""$wx_cv_func_statfs" 1>&6
15353 if test "$wx_cv_func_statfs" = "yes"; then
15354 cat >> confdefs.h
<<\EOF
15355 #define HAVE_STATFS 1
15359 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
15360 echo "configure:15361: checking for statvfs" >&5
15361 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
15362 echo $ac_n "(cached) $ac_c" 1>&6
15364 cat > conftest.
$ac_ext <<EOF
15365 #line 15366 "configure"
15366 #include "confdefs.h"
15368 #include <sys/statvfs.h>
15381 if { (eval echo configure
:15382: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15384 wx_cv_func_statvfs
=yes
15387 echo "configure: failed program was:" >&5
15388 cat conftest.
$ac_ext >&5
15391 wx_cv_func_statvfs
=no
15399 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
15401 if test "$wx_cv_func_statvfs" = "yes"; then
15402 cat >> confdefs.h
<<\EOF
15403 #define HAVE_STATVFS 1
15407 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
15411 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15412 for ac_func
in fcntl flock
15414 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15415 echo "configure:15416: checking for $ac_func" >&5
15416 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15417 echo $ac_n "(cached) $ac_c" 1>&6
15419 cat > conftest.
$ac_ext <<EOF
15420 #line 15421 "configure"
15421 #include "confdefs.h"
15422 /* System header to define __stub macros and hopefully few prototypes,
15423 which can conflict with char $ac_func(); below. */
15424 #include <assert.h>
15425 /* Override any gcc2 internal prototype to avoid an error. */
15426 /* We use char because int might match the return type of a gcc2
15427 builtin and then its argument prototype would still apply. */
15432 /* The GNU C library defines this for functions which it implements
15433 to always fail with ENOSYS. Some functions are actually named
15434 something starting with __ and the normal name is an alias. */
15435 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15443 if { (eval echo configure
:15444: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15445 eval "ac_cv_func_$ac_func=yes"
15447 echo "configure: failed program was:" >&5
15448 cat conftest.
$ac_ext >&5
15450 eval "ac_cv_func_$ac_func=no"
15455 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15456 echo "$ac_t""yes" 1>&6
15457 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15458 cat >> confdefs.h
<<EOF
15459 #define $ac_tr_func 1
15463 echo "$ac_t""no" 1>&6
15468 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
15469 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
15470 wxUSE_SNGLINST_CHECKER
=no
15474 for ac_func
in timegm
15476 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15477 echo "configure:15478: checking for $ac_func" >&5
15478 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15479 echo $ac_n "(cached) $ac_c" 1>&6
15481 cat > conftest.
$ac_ext <<EOF
15482 #line 15483 "configure"
15483 #include "confdefs.h"
15484 /* System header to define __stub macros and hopefully few prototypes,
15485 which can conflict with char $ac_func(); below. */
15486 #include <assert.h>
15487 /* Override any gcc2 internal prototype to avoid an error. */
15488 /* We use char because int might match the return type of a gcc2
15489 builtin and then its argument prototype would still apply. */
15494 /* The GNU C library defines this for functions which it implements
15495 to always fail with ENOSYS. Some functions are actually named
15496 something starting with __ and the normal name is an alias. */
15497 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15505 if { (eval echo configure
:15506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15507 eval "ac_cv_func_$ac_func=yes"
15509 echo "configure: failed program was:" >&5
15510 cat conftest.
$ac_ext >&5
15512 eval "ac_cv_func_$ac_func=no"
15517 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15518 echo "$ac_t""yes" 1>&6
15519 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15520 cat >> confdefs.h
<<EOF
15521 #define $ac_tr_func 1
15525 echo "$ac_t""no" 1>&6
15530 for ac_func
in putenv setenv
15532 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15533 echo "configure:15534: checking for $ac_func" >&5
15534 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15535 echo $ac_n "(cached) $ac_c" 1>&6
15537 cat > conftest.
$ac_ext <<EOF
15538 #line 15539 "configure"
15539 #include "confdefs.h"
15540 /* System header to define __stub macros and hopefully few prototypes,
15541 which can conflict with char $ac_func(); below. */
15542 #include <assert.h>
15543 /* Override any gcc2 internal prototype to avoid an error. */
15544 /* We use char because int might match the return type of a gcc2
15545 builtin and then its argument prototype would still apply. */
15550 /* The GNU C library defines this for functions which it implements
15551 to always fail with ENOSYS. Some functions are actually named
15552 something starting with __ and the normal name is an alias. */
15553 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15561 if { (eval echo configure
:15562: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15563 eval "ac_cv_func_$ac_func=yes"
15565 echo "configure: failed program was:" >&5
15566 cat conftest.
$ac_ext >&5
15568 eval "ac_cv_func_$ac_func=no"
15573 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15574 echo "$ac_t""yes" 1>&6
15575 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15576 cat >> confdefs.h
<<EOF
15577 #define $ac_tr_func 1
15581 echo "$ac_t""no" 1>&6
15586 HAVE_SOME_SLEEP_FUNC
=0
15587 if test "$USE_BEOS" = 1; then
15588 cat >> confdefs.h
<<\EOF
15589 #define HAVE_SLEEP 1
15592 HAVE_SOME_SLEEP_FUNC
=1
15595 if test "$USE_DARWIN" = 1; then
15596 cat >> confdefs.h
<<\EOF
15597 #define HAVE_USLEEP 1
15600 HAVE_SOME_SLEEP_FUNC
=1
15603 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
15605 for ac_func
in nanosleep
15607 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15608 echo "configure:15609: checking for $ac_func" >&5
15609 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15610 echo $ac_n "(cached) $ac_c" 1>&6
15612 cat > conftest.
$ac_ext <<EOF
15613 #line 15614 "configure"
15614 #include "confdefs.h"
15615 /* System header to define __stub macros and hopefully few prototypes,
15616 which can conflict with char $ac_func(); below. */
15617 #include <assert.h>
15618 /* Override any gcc2 internal prototype to avoid an error. */
15619 /* We use char because int might match the return type of a gcc2
15620 builtin and then its argument prototype would still apply. */
15625 /* The GNU C library defines this for functions which it implements
15626 to always fail with ENOSYS. Some functions are actually named
15627 something starting with __ and the normal name is an alias. */
15628 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15636 if { (eval echo configure
:15637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15638 eval "ac_cv_func_$ac_func=yes"
15640 echo "configure: failed program was:" >&5
15641 cat conftest.
$ac_ext >&5
15643 eval "ac_cv_func_$ac_func=no"
15648 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15649 echo "$ac_t""yes" 1>&6
15650 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15651 cat >> confdefs.h
<<EOF
15652 #define $ac_tr_func 1
15654 cat >> confdefs.h
<<\EOF
15655 #define HAVE_NANOSLEEP 1
15659 echo "$ac_t""no" 1>&6
15660 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
15661 echo "configure:15662: checking for nanosleep in -lposix4" >&5
15662 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
15663 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15664 echo $ac_n "(cached) $ac_c" 1>&6
15666 ac_save_LIBS
="$LIBS"
15667 LIBS
="-lposix4 $LIBS"
15668 cat > conftest.
$ac_ext <<EOF
15669 #line 15670 "configure"
15670 #include "confdefs.h"
15671 /* Override any gcc2 internal prototype to avoid an error. */
15672 /* We use char because int might match the return type of a gcc2
15673 builtin and then its argument prototype would still apply. */
15680 if { (eval echo configure
:15681: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15682 eval "ac_cv_lib_$ac_lib_var=yes"
15684 echo "configure: failed program was:" >&5
15685 cat conftest.
$ac_ext >&5
15687 eval "ac_cv_lib_$ac_lib_var=no"
15690 LIBS
="$ac_save_LIBS"
15693 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15694 echo "$ac_t""yes" 1>&6
15696 cat >> confdefs.h
<<\EOF
15697 #define HAVE_NANOSLEEP 1
15700 POSIX4_LINK
=" -lposix4"
15703 echo "$ac_t""no" 1>&6
15705 for ac_func
in usleep
15707 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15708 echo "configure:15709: checking for $ac_func" >&5
15709 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15710 echo $ac_n "(cached) $ac_c" 1>&6
15712 cat > conftest.
$ac_ext <<EOF
15713 #line 15714 "configure"
15714 #include "confdefs.h"
15715 /* System header to define __stub macros and hopefully few prototypes,
15716 which can conflict with char $ac_func(); below. */
15717 #include <assert.h>
15718 /* Override any gcc2 internal prototype to avoid an error. */
15719 /* We use char because int might match the return type of a gcc2
15720 builtin and then its argument prototype would still apply. */
15725 /* The GNU C library defines this for functions which it implements
15726 to always fail with ENOSYS. Some functions are actually named
15727 something starting with __ and the normal name is an alias. */
15728 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15736 if { (eval echo configure
:15737: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15738 eval "ac_cv_func_$ac_func=yes"
15740 echo "configure: failed program was:" >&5
15741 cat conftest.
$ac_ext >&5
15743 eval "ac_cv_func_$ac_func=no"
15748 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15749 echo "$ac_t""yes" 1>&6
15750 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15751 cat >> confdefs.h
<<EOF
15752 #define $ac_tr_func 1
15754 cat >> confdefs.h
<<\EOF
15755 #define HAVE_USLEEP 1
15759 echo "$ac_t""no" 1>&6
15760 echo "configure: warning: wxSleep() function will not work" 1>&2
15776 for ac_func
in uname gethostname
15778 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15779 echo "configure:15780: checking for $ac_func" >&5
15780 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15781 echo $ac_n "(cached) $ac_c" 1>&6
15783 cat > conftest.
$ac_ext <<EOF
15784 #line 15785 "configure"
15785 #include "confdefs.h"
15786 /* System header to define __stub macros and hopefully few prototypes,
15787 which can conflict with char $ac_func(); below. */
15788 #include <assert.h>
15789 /* Override any gcc2 internal prototype to avoid an error. */
15790 /* We use char because int might match the return type of a gcc2
15791 builtin and then its argument prototype would still apply. */
15796 /* The GNU C library defines this for functions which it implements
15797 to always fail with ENOSYS. Some functions are actually named
15798 something starting with __ and the normal name is an alias. */
15799 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15807 if { (eval echo configure
:15808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15809 eval "ac_cv_func_$ac_func=yes"
15811 echo "configure: failed program was:" >&5
15812 cat conftest.
$ac_ext >&5
15814 eval "ac_cv_func_$ac_func=no"
15819 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15820 echo "$ac_t""yes" 1>&6
15821 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15822 cat >> confdefs.h
<<EOF
15823 #define $ac_tr_func 1
15827 echo "$ac_t""no" 1>&6
15834 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15835 ac_cpp
='$CXXCPP $CPPFLAGS'
15836 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15837 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15838 cross_compiling
=$ac_cv_prog_cxx_cross
15841 for ac_func
in strtok_r
15843 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15844 echo "configure:15845: checking for $ac_func" >&5
15845 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15846 echo $ac_n "(cached) $ac_c" 1>&6
15848 cat > conftest.
$ac_ext <<EOF
15849 #line 15850 "configure"
15850 #include "confdefs.h"
15851 /* System header to define __stub macros and hopefully few prototypes,
15852 which can conflict with char $ac_func(); below. */
15853 #include <assert.h>
15854 /* Override any gcc2 internal prototype to avoid an error. */
15858 /* We use char because int might match the return type of a gcc2
15859 builtin and then its argument prototype would still apply. */
15864 /* The GNU C library defines this for functions which it implements
15865 to always fail with ENOSYS. Some functions are actually named
15866 something starting with __ and the normal name is an alias. */
15867 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15875 if { (eval echo configure
:15876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15877 eval "ac_cv_func_$ac_func=yes"
15879 echo "configure: failed program was:" >&5
15880 cat conftest.
$ac_ext >&5
15882 eval "ac_cv_func_$ac_func=no"
15887 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15888 echo "$ac_t""yes" 1>&6
15889 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15890 cat >> confdefs.h
<<EOF
15891 #define $ac_tr_func 1
15895 echo "$ac_t""no" 1>&6
15901 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15902 ac_cpp
='$CPP $CPPFLAGS'
15903 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15904 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15905 cross_compiling
=$ac_cv_prog_cc_cross
15909 for ac_func
in inet_addr
15911 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15912 echo "configure:15913: checking for $ac_func" >&5
15913 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15914 echo $ac_n "(cached) $ac_c" 1>&6
15916 cat > conftest.
$ac_ext <<EOF
15917 #line 15918 "configure"
15918 #include "confdefs.h"
15919 /* System header to define __stub macros and hopefully few prototypes,
15920 which can conflict with char $ac_func(); below. */
15921 #include <assert.h>
15922 /* Override any gcc2 internal prototype to avoid an error. */
15923 /* We use char because int might match the return type of a gcc2
15924 builtin and then its argument prototype would still apply. */
15929 /* The GNU C library defines this for functions which it implements
15930 to always fail with ENOSYS. Some functions are actually named
15931 something starting with __ and the normal name is an alias. */
15932 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15940 if { (eval echo configure
:15941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15942 eval "ac_cv_func_$ac_func=yes"
15944 echo "configure: failed program was:" >&5
15945 cat conftest.
$ac_ext >&5
15947 eval "ac_cv_func_$ac_func=no"
15952 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15953 echo "$ac_t""yes" 1>&6
15954 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15955 cat >> confdefs.h
<<EOF
15956 #define $ac_tr_func 1
15958 cat >> confdefs.h
<<\EOF
15959 #define HAVE_INET_ADDR 1
15963 echo "$ac_t""no" 1>&6
15964 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
15965 echo "configure:15966: checking for inet_addr in -lnsl" >&5
15966 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
15967 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15968 echo $ac_n "(cached) $ac_c" 1>&6
15970 ac_save_LIBS
="$LIBS"
15972 cat > conftest.
$ac_ext <<EOF
15973 #line 15974 "configure"
15974 #include "confdefs.h"
15975 /* Override any gcc2 internal prototype to avoid an error. */
15976 /* We use char because int might match the return type of a gcc2
15977 builtin and then its argument prototype would still apply. */
15984 if { (eval echo configure
:15985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15986 eval "ac_cv_lib_$ac_lib_var=yes"
15988 echo "configure: failed program was:" >&5
15989 cat conftest.
$ac_ext >&5
15991 eval "ac_cv_lib_$ac_lib_var=no"
15994 LIBS
="$ac_save_LIBS"
15997 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15998 echo "$ac_t""yes" 1>&6
16001 echo "$ac_t""no" 1>&6
16002 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
16003 echo "configure:16004: checking for inet_addr in -lresolv" >&5
16004 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
16005 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16006 echo $ac_n "(cached) $ac_c" 1>&6
16008 ac_save_LIBS
="$LIBS"
16009 LIBS
="-lresolv $LIBS"
16010 cat > conftest.
$ac_ext <<EOF
16011 #line 16012 "configure"
16012 #include "confdefs.h"
16013 /* Override any gcc2 internal prototype to avoid an error. */
16014 /* We use char because int might match the return type of a gcc2
16015 builtin and then its argument prototype would still apply. */
16022 if { (eval echo configure
:16023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16024 eval "ac_cv_lib_$ac_lib_var=yes"
16026 echo "configure: failed program was:" >&5
16027 cat conftest.
$ac_ext >&5
16029 eval "ac_cv_lib_$ac_lib_var=no"
16032 LIBS
="$ac_save_LIBS"
16035 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16036 echo "$ac_t""yes" 1>&6
16040 echo "$ac_t""no" 1>&6
16052 for ac_func
in inet_aton
16054 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16055 echo "configure:16056: checking for $ac_func" >&5
16056 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16057 echo $ac_n "(cached) $ac_c" 1>&6
16059 cat > conftest.
$ac_ext <<EOF
16060 #line 16061 "configure"
16061 #include "confdefs.h"
16062 /* System header to define __stub macros and hopefully few prototypes,
16063 which can conflict with char $ac_func(); below. */
16064 #include <assert.h>
16065 /* Override any gcc2 internal prototype to avoid an error. */
16066 /* We use char because int might match the return type of a gcc2
16067 builtin and then its argument prototype would still apply. */
16072 /* The GNU C library defines this for functions which it implements
16073 to always fail with ENOSYS. Some functions are actually named
16074 something starting with __ and the normal name is an alias. */
16075 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16083 if { (eval echo configure
:16084: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16085 eval "ac_cv_func_$ac_func=yes"
16087 echo "configure: failed program was:" >&5
16088 cat conftest.
$ac_ext >&5
16090 eval "ac_cv_func_$ac_func=no"
16095 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16096 echo "$ac_t""yes" 1>&6
16097 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16098 cat >> confdefs.h
<<EOF
16099 #define $ac_tr_func 1
16101 cat >> confdefs.h
<<\EOF
16102 #define HAVE_INET_ATON 1
16106 echo "$ac_t""no" 1>&6
16107 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
16108 echo "configure:16109: checking for inet_aton in -l$INET_LINK" >&5
16109 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
16110 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16111 echo $ac_n "(cached) $ac_c" 1>&6
16113 ac_save_LIBS
="$LIBS"
16114 LIBS
="-l$INET_LINK $LIBS"
16115 cat > conftest.
$ac_ext <<EOF
16116 #line 16117 "configure"
16117 #include "confdefs.h"
16118 /* Override any gcc2 internal prototype to avoid an error. */
16119 /* We use char because int might match the return type of a gcc2
16120 builtin and then its argument prototype would still apply. */
16127 if { (eval echo configure
:16128: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16129 eval "ac_cv_lib_$ac_lib_var=yes"
16131 echo "configure: failed program was:" >&5
16132 cat conftest.
$ac_ext >&5
16134 eval "ac_cv_lib_$ac_lib_var=no"
16137 LIBS
="$ac_save_LIBS"
16140 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16141 echo "$ac_t""yes" 1>&6
16142 cat >> confdefs.h
<<\EOF
16143 #define HAVE_INET_ATON 1
16147 echo "$ac_t""no" 1>&6
16155 if test "x$INET_LINK" != "x"; then
16156 cat >> confdefs.h
<<\EOF
16157 #define HAVE_INET_ADDR 1
16160 INET_LINK
=" -l$INET_LINK"
16166 cat > confcache
<<\EOF
16167 # This file is a shell script that caches the results of configure
16168 # tests run on this system so they can be shared between configure
16169 # scripts and configure runs. It is not useful on other systems.
16170 # If it contains results you don't want to keep, you may remove or edit it.
16172 # By default, configure uses ./config.cache as the cache file,
16173 # creating it if it does not exist already. You can give configure
16174 # the --cache-file=FILE option to use a different cache file; that is
16175 # what configure does when it calls configure scripts in
16176 # subdirectories, so they share the cache.
16177 # Giving --cache-file=/dev/null disables caching, for debugging configure.
16178 # config.status only pays attention to the cache file if you give it the
16179 # --recheck option to rerun configure.
16182 # The following way of writing the cache mishandles newlines in values,
16183 # but we know of no workaround that is simple, portable, and efficient.
16184 # So, don't put newlines in cache variables' values.
16185 # Ultrix sh set writes to stderr and can't be redirected directly,
16186 # and sets the high bit in the cache file unless we assign to the vars.
16188 case `(ac_space=' '; set | grep ac_space) 2>&1` in
16190 # `set' does not quote correctly, so add quotes (double-quote substitution
16191 # turns \\\\ into \\, and sed turns \\ into \).
16193 -e "s/'/'\\\\''/g" \
16194 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
16197 # `set' quotes correctly as required by POSIX, so do not add quotes.
16198 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
16201 if cmp -s $cache_file confcache
; then
16204 if test -w $cache_file; then
16205 echo "updating cache $cache_file"
16206 cat confcache
> $cache_file
16208 echo "not updating unwritable cache $cache_file"
16215 if test "$TOOLKIT" != "MSW"; then
16221 CODE_GEN_FLAGS_CXX
=
16223 if test "$wxUSE_THREADS" = "yes" ; then
16224 if test "$wxUSE_WINE" = 1 ; then
16225 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
16227 elif test "$USE_BEOS" = 1; then
16228 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
16233 if test "$wxUSE_THREADS" = "yes" ; then
16235 if test "$USE_AIX" = 1; then
16236 THREADS_LIB
=pthreads
16238 THREADS_LIB
=pthread
16241 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
16242 echo "configure:16243: checking for pthread_create in -l$THREADS_LIB" >&5
16243 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
16244 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16245 echo $ac_n "(cached) $ac_c" 1>&6
16247 ac_save_LIBS
="$LIBS"
16248 LIBS
="-l$THREADS_LIB $LIBS"
16249 cat > conftest.
$ac_ext <<EOF
16250 #line 16251 "configure"
16251 #include "confdefs.h"
16252 /* Override any gcc2 internal prototype to avoid an error. */
16253 /* We use char because int might match the return type of a gcc2
16254 builtin and then its argument prototype would still apply. */
16255 char pthread_create();
16261 if { (eval echo configure
:16262: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16263 eval "ac_cv_lib_$ac_lib_var=yes"
16265 echo "configure: failed program was:" >&5
16266 cat conftest.
$ac_ext >&5
16268 eval "ac_cv_lib_$ac_lib_var=no"
16271 LIBS
="$ac_save_LIBS"
16274 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16275 echo "$ac_t""yes" 1>&6
16277 THREADS_OBJ
="threadpsx.lo"
16278 THREADS_LINK
=$THREADS_LIB
16281 echo "$ac_t""no" 1>&6
16283 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
16284 echo "configure:16285: checking for pthread_create in -lc_r" >&5
16285 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
16286 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16287 echo $ac_n "(cached) $ac_c" 1>&6
16289 ac_save_LIBS
="$LIBS"
16291 cat > conftest.
$ac_ext <<EOF
16292 #line 16293 "configure"
16293 #include "confdefs.h"
16294 /* Override any gcc2 internal prototype to avoid an error. */
16295 /* We use char because int might match the return type of a gcc2
16296 builtin and then its argument prototype would still apply. */
16297 char pthread_create();
16303 if { (eval echo configure
:16304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16305 eval "ac_cv_lib_$ac_lib_var=yes"
16307 echo "configure: failed program was:" >&5
16308 cat conftest.
$ac_ext >&5
16310 eval "ac_cv_lib_$ac_lib_var=no"
16313 LIBS
="$ac_save_LIBS"
16316 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16317 echo "$ac_t""yes" 1>&6
16319 THREADS_OBJ
="threadpsx.lo"
16323 echo "$ac_t""no" 1>&6
16325 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
16326 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
16327 echo "configure:16328: checking for sys/prctl.h" >&5
16328 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16329 echo $ac_n "(cached) $ac_c" 1>&6
16331 cat > conftest.
$ac_ext <<EOF
16332 #line 16333 "configure"
16333 #include "confdefs.h"
16334 #include <sys/prctl.h>
16336 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16337 { (eval echo configure
:16338: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16338 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16339 if test -z "$ac_err"; then
16341 eval "ac_cv_header_$ac_safe=yes"
16344 echo "configure: failed program was:" >&5
16345 cat conftest.
$ac_ext >&5
16347 eval "ac_cv_header_$ac_safe=no"
16351 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16352 echo "$ac_t""yes" 1>&6
16354 THREADS_OBJ
="threadsgi.lo"
16357 echo "$ac_t""no" 1>&6
16367 if test -z "$THREADS_OBJ" ; then
16369 echo "configure: warning: No thread support on this system... disabled" 1>&2
16373 if test "$wxUSE_THREADS" = "yes" ; then
16374 for ac_func
in thr_setconcurrency
16376 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16377 echo "configure:16378: checking for $ac_func" >&5
16378 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16379 echo $ac_n "(cached) $ac_c" 1>&6
16381 cat > conftest.
$ac_ext <<EOF
16382 #line 16383 "configure"
16383 #include "confdefs.h"
16384 /* System header to define __stub macros and hopefully few prototypes,
16385 which can conflict with char $ac_func(); below. */
16386 #include <assert.h>
16387 /* Override any gcc2 internal prototype to avoid an error. */
16388 /* We use char because int might match the return type of a gcc2
16389 builtin and then its argument prototype would still apply. */
16394 /* The GNU C library defines this for functions which it implements
16395 to always fail with ENOSYS. Some functions are actually named
16396 something starting with __ and the normal name is an alias. */
16397 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16405 if { (eval echo configure
:16406: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16407 eval "ac_cv_func_$ac_func=yes"
16409 echo "configure: failed program was:" >&5
16410 cat conftest.
$ac_ext >&5
16412 eval "ac_cv_func_$ac_func=no"
16417 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16418 echo "$ac_t""yes" 1>&6
16419 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16420 cat >> confdefs.h
<<EOF
16421 #define $ac_tr_func 1
16425 echo "$ac_t""no" 1>&6
16431 for ac_hdr
in sched.h
16433 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16434 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16435 echo "configure:16436: checking for $ac_hdr" >&5
16436 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16437 echo $ac_n "(cached) $ac_c" 1>&6
16439 cat > conftest.
$ac_ext <<EOF
16440 #line 16441 "configure"
16441 #include "confdefs.h"
16444 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16445 { (eval echo configure
:16446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16446 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16447 if test -z "$ac_err"; then
16449 eval "ac_cv_header_$ac_safe=yes"
16452 echo "configure: failed program was:" >&5
16453 cat conftest.
$ac_ext >&5
16455 eval "ac_cv_header_$ac_safe=no"
16459 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16460 echo "$ac_t""yes" 1>&6
16461 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16462 cat >> confdefs.h
<<EOF
16463 #define $ac_tr_hdr 1
16467 echo "$ac_t""no" 1>&6
16472 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
16473 echo "configure:16474: checking for sched_yield in -l$THREADS_LINK" >&5
16474 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
16475 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16476 echo $ac_n "(cached) $ac_c" 1>&6
16478 ac_save_LIBS
="$LIBS"
16479 LIBS
="-l$THREADS_LINK $LIBS"
16480 cat > conftest.
$ac_ext <<EOF
16481 #line 16482 "configure"
16482 #include "confdefs.h"
16483 /* Override any gcc2 internal prototype to avoid an error. */
16484 /* We use char because int might match the return type of a gcc2
16485 builtin and then its argument prototype would still apply. */
16486 char sched_yield();
16492 if { (eval echo configure
:16493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16494 eval "ac_cv_lib_$ac_lib_var=yes"
16496 echo "configure: failed program was:" >&5
16497 cat conftest.
$ac_ext >&5
16499 eval "ac_cv_lib_$ac_lib_var=no"
16502 LIBS
="$ac_save_LIBS"
16505 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16506 echo "$ac_t""yes" 1>&6
16507 cat >> confdefs.h
<<\EOF
16508 #define HAVE_SCHED_YIELD 1
16512 echo "$ac_t""no" 1>&6
16513 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
16514 echo "configure:16515: checking for sched_yield in -lposix4" >&5
16515 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
16516 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16517 echo $ac_n "(cached) $ac_c" 1>&6
16519 ac_save_LIBS
="$LIBS"
16520 LIBS
="-lposix4 $LIBS"
16521 cat > conftest.
$ac_ext <<EOF
16522 #line 16523 "configure"
16523 #include "confdefs.h"
16524 /* Override any gcc2 internal prototype to avoid an error. */
16525 /* We use char because int might match the return type of a gcc2
16526 builtin and then its argument prototype would still apply. */
16527 char sched_yield();
16533 if { (eval echo configure
:16534: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16535 eval "ac_cv_lib_$ac_lib_var=yes"
16537 echo "configure: failed program was:" >&5
16538 cat conftest.
$ac_ext >&5
16540 eval "ac_cv_lib_$ac_lib_var=no"
16543 LIBS
="$ac_save_LIBS"
16546 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16547 echo "$ac_t""yes" 1>&6
16548 cat >> confdefs.h
<<\EOF
16549 #define HAVE_SCHED_YIELD 1
16551 POSIX4_LINK
=" -lposix4"
16553 echo "$ac_t""no" 1>&6
16554 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
16563 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
16564 echo "configure:16565: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
16565 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
16566 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16567 echo $ac_n "(cached) $ac_c" 1>&6
16569 ac_save_LIBS
="$LIBS"
16570 LIBS
="-l$THREADS_LINK $LIBS"
16571 cat > conftest.
$ac_ext <<EOF
16572 #line 16573 "configure"
16573 #include "confdefs.h"
16574 /* Override any gcc2 internal prototype to avoid an error. */
16575 /* We use char because int might match the return type of a gcc2
16576 builtin and then its argument prototype would still apply. */
16577 char pthread_attr_getschedpolicy();
16580 pthread_attr_getschedpolicy()
16583 if { (eval echo configure
:16584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16585 eval "ac_cv_lib_$ac_lib_var=yes"
16587 echo "configure: failed program was:" >&5
16588 cat conftest.
$ac_ext >&5
16590 eval "ac_cv_lib_$ac_lib_var=no"
16593 LIBS
="$ac_save_LIBS"
16596 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16597 echo "$ac_t""yes" 1>&6
16598 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
16599 echo "configure:16600: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
16600 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
16601 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16602 echo $ac_n "(cached) $ac_c" 1>&6
16604 ac_save_LIBS
="$LIBS"
16605 LIBS
="-l$THREADS_LINK $LIBS"
16606 cat > conftest.
$ac_ext <<EOF
16607 #line 16608 "configure"
16608 #include "confdefs.h"
16609 /* Override any gcc2 internal prototype to avoid an error. */
16610 /* We use char because int might match the return type of a gcc2
16611 builtin and then its argument prototype would still apply. */
16612 char pthread_attr_setschedparam();
16615 pthread_attr_setschedparam()
16618 if { (eval echo configure
:16619: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16620 eval "ac_cv_lib_$ac_lib_var=yes"
16622 echo "configure: failed program was:" >&5
16623 cat conftest.
$ac_ext >&5
16625 eval "ac_cv_lib_$ac_lib_var=no"
16628 LIBS
="$ac_save_LIBS"
16631 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16632 echo "$ac_t""yes" 1>&6
16633 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
16634 echo "configure:16635: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
16635 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16636 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16637 echo $ac_n "(cached) $ac_c" 1>&6
16639 ac_save_LIBS
="$LIBS"
16640 LIBS
="-l$THREADS_LINK $LIBS"
16641 cat > conftest.
$ac_ext <<EOF
16642 #line 16643 "configure"
16643 #include "confdefs.h"
16644 /* Override any gcc2 internal prototype to avoid an error. */
16645 /* We use char because int might match the return type of a gcc2
16646 builtin and then its argument prototype would still apply. */
16647 char sched_get_priority_max();
16650 sched_get_priority_max()
16653 if { (eval echo configure
:16654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16655 eval "ac_cv_lib_$ac_lib_var=yes"
16657 echo "configure: failed program was:" >&5
16658 cat conftest.
$ac_ext >&5
16660 eval "ac_cv_lib_$ac_lib_var=no"
16663 LIBS
="$ac_save_LIBS"
16666 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16667 echo "$ac_t""yes" 1>&6
16670 echo "$ac_t""no" 1>&6
16671 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
16672 echo "configure:16673: checking for sched_get_priority_max in -lposix4" >&5
16673 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16674 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16675 echo $ac_n "(cached) $ac_c" 1>&6
16677 ac_save_LIBS
="$LIBS"
16678 LIBS
="-lposix4 $LIBS"
16679 cat > conftest.
$ac_ext <<EOF
16680 #line 16681 "configure"
16681 #include "confdefs.h"
16682 /* Override any gcc2 internal prototype to avoid an error. */
16683 /* We use char because int might match the return type of a gcc2
16684 builtin and then its argument prototype would still apply. */
16685 char sched_get_priority_max();
16688 sched_get_priority_max()
16691 if { (eval echo configure
:16692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16693 eval "ac_cv_lib_$ac_lib_var=yes"
16695 echo "configure: failed program was:" >&5
16696 cat conftest.
$ac_ext >&5
16698 eval "ac_cv_lib_$ac_lib_var=no"
16701 LIBS
="$ac_save_LIBS"
16704 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16705 echo "$ac_t""yes" 1>&6
16708 POSIX4_LINK
=" -lposix4"
16711 echo "$ac_t""no" 1>&6
16719 echo "$ac_t""no" 1>&6
16724 echo "$ac_t""no" 1>&6
16728 if test "$HAVE_PRIOR_FUNCS" = 1; then
16729 cat >> confdefs.h
<<\EOF
16730 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
16734 echo "configure: warning: Setting thread priority will not work" 1>&2
16737 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
16738 echo "configure:16739: checking for pthread_cancel in -l$THREADS_LINK" >&5
16739 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
16740 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16741 echo $ac_n "(cached) $ac_c" 1>&6
16743 ac_save_LIBS
="$LIBS"
16744 LIBS
="-l$THREADS_LINK $LIBS"
16745 cat > conftest.
$ac_ext <<EOF
16746 #line 16747 "configure"
16747 #include "confdefs.h"
16748 /* Override any gcc2 internal prototype to avoid an error. */
16749 /* We use char because int might match the return type of a gcc2
16750 builtin and then its argument prototype would still apply. */
16751 char pthread_cancel();
16757 if { (eval echo configure
:16758: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16759 eval "ac_cv_lib_$ac_lib_var=yes"
16761 echo "configure: failed program was:" >&5
16762 cat conftest.
$ac_ext >&5
16764 eval "ac_cv_lib_$ac_lib_var=no"
16767 LIBS
="$ac_save_LIBS"
16770 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16771 echo "$ac_t""yes" 1>&6
16772 cat >> confdefs.h
<<\EOF
16773 #define HAVE_PTHREAD_CANCEL 1
16777 echo "$ac_t""no" 1>&6
16778 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
16782 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
16783 echo "configure:16784: checking for pthread_cleanup_push/pop" >&5
16784 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
16785 echo $ac_n "(cached) $ac_c" 1>&6
16788 cat > conftest.
$ac_ext <<EOF
16789 #line 16790 "configure"
16790 #include "confdefs.h"
16791 #include <pthread.h>
16794 pthread_cleanup_push(NULL, NULL);
16795 pthread_cleanup_pop(0);
16799 if { (eval echo configure
:16800: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16802 wx_cv_func_pthread_cleanup_push
=yes
16805 echo "configure: failed program was:" >&5
16806 cat conftest.
$ac_ext >&5
16809 wx_cv_func_pthread_cleanup_push
=no
16816 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
16818 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
16819 cat >> confdefs.h
<<\EOF
16820 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
16826 if test "x$wx_lib_glibc21" = "xyes"; then
16827 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
16830 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
16831 echo "configure:16832: checking for pthread_mutexattr_t" >&5
16832 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
16833 echo $ac_n "(cached) $ac_c" 1>&6
16836 cat > conftest.
$ac_ext <<EOF
16837 #line 16838 "configure"
16838 #include "confdefs.h"
16839 #include <pthread.h>
16842 pthread_mutexattr_t attr;
16843 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
16847 if { (eval echo configure
:16848: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16850 wx_cv_type_pthread_mutexattr_t
=yes
16853 echo "configure: failed program was:" >&5
16854 cat conftest.
$ac_ext >&5
16857 wx_cv_type_pthread_mutexattr_t
=no
16865 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
16867 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
16868 cat >> confdefs.h
<<\EOF
16869 #define HAVE_PTHREAD_MUTEXATTR_T 1
16873 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
16874 echo "configure:16875: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
16875 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
16876 echo $ac_n "(cached) $ac_c" 1>&6
16879 cat > conftest.
$ac_ext <<EOF
16880 #line 16881 "configure"
16881 #include "confdefs.h"
16882 #include <pthread.h>
16885 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
16889 if { (eval echo configure
:16890: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16892 wx_cv_type_pthread_rec_mutex_init
=yes
16895 echo "configure: failed program was:" >&5
16896 cat conftest.
$ac_ext >&5
16899 wx_cv_type_pthread_rec_mutex_init
=no
16907 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
16908 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
16909 cat >> confdefs.h
<<\EOF
16910 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
16914 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
16918 THREADS_LINK
=" -l$THREADS_LINK"
16920 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
16921 CPPFLAGS
="$CFLAGS -mt"
16922 CXXFLAGS
="$CXXFLAGS -mt"
16923 LDFLAGS
="$LDFLAGS -mt"
16929 if test "$wxUSE_THREADS" = "yes"; then
16930 cat >> confdefs.h
<<\EOF
16931 #define wxUSE_THREADS 1
16935 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
16937 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
16939 if test "$ac_cv_func_strtok_r" = "yes"; then
16940 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
16941 echo "configure:16942: checking if -D_REENTRANT is needed" >&5
16942 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
16943 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
16944 echo "$ac_t""yes" 1>&6
16946 echo "$ac_t""no" 1>&6
16951 if test "$WXGTK20" = 1 ; then
16952 cat >> confdefs.h
<<EOF
16953 #define __WXGTK20__ $WXGTK20
16959 if test "$WXGTK12" = 1 ; then
16960 cat >> confdefs.h
<<EOF
16961 #define __WXGTK12__ $WXGTK12
16966 if test "$WXGTK127" = 1 ; then
16967 cat >> confdefs.h
<<EOF
16968 #define __WXGTK127__ $WXGTK127
16975 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
16980 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
16981 wxUSE_DEBUG_INFO
=yes
16985 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
16986 cat >> confdefs.h
<<\EOF
16990 WXDEBUG_DEFINE
="-D__WXDEBUG__"
16992 if test "$wxUSE_GTK" = 1 ; then
16993 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
16997 if test "$wxUSE_MEM_TRACING" = "yes" ; then
16998 cat >> confdefs.h
<<\EOF
16999 #define wxUSE_MEMORY_TRACING 1
17002 cat >> confdefs.h
<<\EOF
17003 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
17006 cat >> confdefs.h
<<\EOF
17007 #define wxUSE_DEBUG_NEW_ALWAYS 1
17010 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
17013 if test "$wxUSE_DMALLOC" = "yes" ; then
17014 DMALLOC_LIBS
="-ldmalloc"
17018 if test "$wxUSE_PROFILE" = "yes" ; then
17022 if test "$GCC" = "yes" ; then
17023 if test "$wxUSE_NO_RTTI" = "yes" ; then
17024 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
17026 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
17027 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
17029 if test "$wxUSE_PERMISSIVE" = "yes" ; then
17030 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
17032 if test "$USE_WIN32" = 1 ; then
17033 # I'm not even really sure what this was ever added to solve,
17034 # but someone added it for mingw native builds, so I guess
17035 # they had a reason, right??
17036 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
17041 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
17042 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
17043 if test "$wxUSE_OPTIMISE" = "no" ; then
17046 if test "$GCC" = yes ; then
17049 i586
-*-*|i686
-*-* )
17050 OPTIMISE
="${OPTIMISE} "
17058 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
17059 cat >> confdefs.h
<<\EOF
17060 #define WXWIN_COMPATIBILITY_2 1
17064 WXWIN_COMPATIBILITY_2_2
="yes"
17067 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
17068 cat >> confdefs.h
<<\EOF
17069 #define WXWIN_COMPATIBILITY_2_2 1
17075 if test "$wxUSE_GUI" = "yes"; then
17076 cat >> confdefs.h
<<\EOF
17077 #define wxUSE_GUI 1
17082 cat >> confdefs.h
<<\EOF
17083 #define wxUSE_NOGUI 1
17089 if test "$wxUSE_UNIX" = "yes"; then
17090 cat >> confdefs.h
<<\EOF
17091 #define wxUSE_UNIX 1
17097 if test "$wxUSE_APPLE_IEEE" = "yes"; then
17098 cat >> confdefs.h
<<\EOF
17099 #define wxUSE_APPLE_IEEE 1
17104 if test "$wxUSE_TIMER" = "yes"; then
17105 cat >> confdefs.h
<<\EOF
17106 #define wxUSE_TIMER 1
17111 if test "$wxUSE_WAVE" = "yes"; then
17112 cat >> confdefs.h
<<\EOF
17113 #define wxUSE_WAVE 1
17118 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
17119 cat >> confdefs.h
<<\EOF
17120 #define wxUSE_CMDLINE_PARSER 1
17125 if test "$wxUSE_STOPWATCH" = "yes"; then
17126 cat >> confdefs.h
<<\EOF
17127 #define wxUSE_STOPWATCH 1
17132 if test "$wxUSE_DATETIME" = "yes"; then
17133 cat >> confdefs.h
<<\EOF
17134 #define wxUSE_DATETIME 1
17139 if test "$wxUSE_TIMEDATE" = "yes"; then
17140 cat >> confdefs.h
<<\EOF
17141 #define wxUSE_TIMEDATE 1
17146 if test "$wxUSE_FILE" = "yes"; then
17147 cat >> confdefs.h
<<\EOF
17148 #define wxUSE_FILE 1
17153 if test "$wxUSE_FFILE" = "yes"; then
17154 cat >> confdefs.h
<<\EOF
17155 #define wxUSE_FFILE 1
17160 if test "$wxUSE_FILESYSTEM" = "yes"; then
17161 cat >> confdefs.h
<<\EOF
17162 #define wxUSE_FILESYSTEM 1
17167 if test "$wxUSE_FS_INET" = "yes"; then
17168 cat >> confdefs.h
<<\EOF
17169 #define wxUSE_FS_INET 1
17174 if test "$wxUSE_FS_ZIP" = "yes"; then
17175 cat >> confdefs.h
<<\EOF
17176 #define wxUSE_FS_ZIP 1
17181 if test "$wxUSE_ZIPSTREAM" = "yes"; then
17182 cat >> confdefs.h
<<\EOF
17183 #define wxUSE_ZIPSTREAM 1
17188 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
17189 cat >> confdefs.h
<<\EOF
17190 #define wxUSE_ON_FATAL_EXCEPTION 1
17195 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
17196 cat >> confdefs.h
<<\EOF
17197 #define wxUSE_SNGLINST_CHECKER 1
17202 if test "$wxUSE_BUSYINFO" = "yes"; then
17203 cat >> confdefs.h
<<\EOF
17204 #define wxUSE_BUSYINFO 1
17209 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
17210 cat >> confdefs.h
<<\EOF
17211 #define wxUSE_STD_IOSTREAM 1
17216 if test "$wxUSE_TEXTBUFFER" = "yes"; then
17217 cat >> confdefs.h
<<\EOF
17218 #define wxUSE_TEXTBUFFER 1
17223 if test "$wxUSE_TEXTFILE" = "yes"; then
17224 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
17225 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
17227 cat >> confdefs.h
<<\EOF
17228 #define wxUSE_TEXTFILE 1
17234 if test "$wxUSE_CONFIG" = "yes" ; then
17235 if test "$wxUSE_TEXTFILE" != "yes"; then
17236 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
17238 cat >> confdefs.h
<<\EOF
17239 #define wxUSE_CONFIG 1
17242 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
17246 if test "$wxUSE_INTL" = "yes" ; then
17247 if test "$wxUSE_FILE" != "yes"; then
17248 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
17250 cat >> confdefs.h
<<\EOF
17251 #define wxUSE_INTL 1
17254 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
17255 GUIDIST
="$GUIDIST INTL_DIST"
17259 if test "$wxUSE_LOG" = "yes"; then
17260 cat >> confdefs.h
<<\EOF
17261 #define wxUSE_LOG 1
17265 if test "$wxUSE_LOGGUI" = "yes"; then
17266 cat >> confdefs.h
<<\EOF
17267 #define wxUSE_LOGGUI 1
17272 if test "$wxUSE_LOGWINDOW" = "yes"; then
17273 cat >> confdefs.h
<<\EOF
17274 #define wxUSE_LOGWINDOW 1
17279 if test "$wxUSE_LOGDIALOG" = "yes"; then
17280 cat >> confdefs.h
<<\EOF
17281 #define wxUSE_LOG_DIALOG 1
17287 if test "$wxUSE_LONGLONG" = "yes"; then
17288 cat >> confdefs.h
<<\EOF
17289 #define wxUSE_LONGLONG 1
17294 if test "$wxUSE_GEOMETRY" = "yes"; then
17295 cat >> confdefs.h
<<\EOF
17296 #define wxUSE_GEOMETRY 1
17301 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
17302 cat >> confdefs.h
<<\EOF
17303 #define wxUSE_DIALUP_MANAGER 1
17306 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
17309 if test "$wxUSE_STREAMS" = "yes" ; then
17310 cat >> confdefs.h
<<\EOF
17311 #define wxUSE_STREAMS 1
17317 if test "$wxUSE_DATETIME" = "yes"; then
17318 for ac_func
in strptime
17320 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17321 echo "configure:17322: checking for $ac_func" >&5
17322 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17323 echo $ac_n "(cached) $ac_c" 1>&6
17325 cat > conftest.
$ac_ext <<EOF
17326 #line 17327 "configure"
17327 #include "confdefs.h"
17328 /* System header to define __stub macros and hopefully few prototypes,
17329 which can conflict with char $ac_func(); below. */
17330 #include <assert.h>
17331 /* Override any gcc2 internal prototype to avoid an error. */
17332 /* We use char because int might match the return type of a gcc2
17333 builtin and then its argument prototype would still apply. */
17338 /* The GNU C library defines this for functions which it implements
17339 to always fail with ENOSYS. Some functions are actually named
17340 something starting with __ and the normal name is an alias. */
17341 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17349 if { (eval echo configure
:17350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17351 eval "ac_cv_func_$ac_func=yes"
17353 echo "configure: failed program was:" >&5
17354 cat conftest.
$ac_ext >&5
17356 eval "ac_cv_func_$ac_func=no"
17361 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17362 echo "$ac_t""yes" 1>&6
17363 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17364 cat >> confdefs.h
<<EOF
17365 #define $ac_tr_func 1
17369 echo "$ac_t""no" 1>&6
17374 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
17375 echo "configure:17376: checking for timezone variable in <time.h>" >&5
17376 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
17377 echo $ac_n "(cached) $ac_c" 1>&6
17380 cat > conftest.
$ac_ext <<EOF
17381 #line 17382 "configure"
17382 #include "confdefs.h"
17393 if { (eval echo configure
:17394: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17396 wx_cv_var_timezone
=timezone
17399 echo "configure: failed program was:" >&5
17400 cat conftest.
$ac_ext >&5
17403 cat > conftest.
$ac_ext <<EOF
17404 #line 17405 "configure"
17405 #include "confdefs.h"
17416 if { (eval echo configure
:17417: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17419 wx_cv_var_timezone
=_timezone
17422 echo "configure: failed program was:" >&5
17423 cat conftest.
$ac_ext >&5
17426 cat > conftest.
$ac_ext <<EOF
17427 #line 17428 "configure"
17428 #include "confdefs.h"
17439 if { (eval echo configure
:17440: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17442 wx_cv_var_timezone
=__timezone
17445 echo "configure: failed program was:" >&5
17446 cat conftest.
$ac_ext >&5
17449 if test "$USE_DOS" = 0 ; then
17450 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
17468 echo "$ac_t""$wx_cv_var_timezone" 1>&6
17470 if test "x$wx_cv_var_timezone" != x
; then
17471 cat >> confdefs.h
<<EOF
17472 #define WX_TIMEZONE $wx_cv_var_timezone
17477 for ac_func
in localtime
17479 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17480 echo "configure:17481: checking for $ac_func" >&5
17481 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17482 echo $ac_n "(cached) $ac_c" 1>&6
17484 cat > conftest.
$ac_ext <<EOF
17485 #line 17486 "configure"
17486 #include "confdefs.h"
17487 /* System header to define __stub macros and hopefully few prototypes,
17488 which can conflict with char $ac_func(); below. */
17489 #include <assert.h>
17490 /* Override any gcc2 internal prototype to avoid an error. */
17491 /* We use char because int might match the return type of a gcc2
17492 builtin and then its argument prototype would still apply. */
17497 /* The GNU C library defines this for functions which it implements
17498 to always fail with ENOSYS. Some functions are actually named
17499 something starting with __ and the normal name is an alias. */
17500 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17508 if { (eval echo configure
:17509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17510 eval "ac_cv_func_$ac_func=yes"
17512 echo "configure: failed program was:" >&5
17513 cat conftest.
$ac_ext >&5
17515 eval "ac_cv_func_$ac_func=no"
17520 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17521 echo "$ac_t""yes" 1>&6
17522 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17523 cat >> confdefs.h
<<EOF
17524 #define $ac_tr_func 1
17528 echo "$ac_t""no" 1>&6
17533 if test "$ac_cv_func_localtime" = "yes"; then
17534 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
17535 echo "configure:17536: checking for tm_gmtoff in struct tm" >&5
17536 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
17537 echo $ac_n "(cached) $ac_c" 1>&6
17540 cat > conftest.
$ac_ext <<EOF
17541 #line 17542 "configure"
17542 #include "confdefs.h"
17553 if { (eval echo configure
:17554: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17556 wx_cv_struct_tm_has_gmtoff
=yes
17559 echo "configure: failed program was:" >&5
17560 cat conftest.
$ac_ext >&5
17562 wx_cv_struct_tm_has_gmtoff
=no
17569 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
17572 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
17573 cat >> confdefs.h
<<\EOF
17574 #define WX_GMTOFF_IN_TM 1
17579 for ac_func
in gettimeofday ftime
17581 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17582 echo "configure:17583: checking for $ac_func" >&5
17583 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17584 echo $ac_n "(cached) $ac_c" 1>&6
17586 cat > conftest.
$ac_ext <<EOF
17587 #line 17588 "configure"
17588 #include "confdefs.h"
17589 /* System header to define __stub macros and hopefully few prototypes,
17590 which can conflict with char $ac_func(); below. */
17591 #include <assert.h>
17592 /* Override any gcc2 internal prototype to avoid an error. */
17593 /* We use char because int might match the return type of a gcc2
17594 builtin and then its argument prototype would still apply. */
17599 /* The GNU C library defines this for functions which it implements
17600 to always fail with ENOSYS. Some functions are actually named
17601 something starting with __ and the normal name is an alias. */
17602 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17610 if { (eval echo configure
:17611: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17612 eval "ac_cv_func_$ac_func=yes"
17614 echo "configure: failed program was:" >&5
17615 cat conftest.
$ac_ext >&5
17617 eval "ac_cv_func_$ac_func=no"
17622 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17623 echo "$ac_t""yes" 1>&6
17624 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17625 cat >> confdefs.h
<<EOF
17626 #define $ac_tr_func 1
17630 echo "$ac_t""no" 1>&6
17635 if test "$ac_cv_func_gettimeofday" = "yes"; then
17636 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
17637 echo "configure:17638: checking whether gettimeofday takes two arguments" >&5
17638 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
17639 echo $ac_n "(cached) $ac_c" 1>&6
17644 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17645 ac_cpp
='$CXXCPP $CPPFLAGS'
17646 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17647 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17648 cross_compiling
=$ac_cv_prog_cxx_cross
17651 cat > conftest.
$ac_ext <<EOF
17652 #line 17653 "configure"
17653 #include "confdefs.h"
17655 #include <sys/time.h>
17656 #include <unistd.h>
17661 gettimeofday(&tv, NULL);
17665 if { (eval echo configure
:17666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17667 wx_cv_func_gettimeofday_has_2_args
=yes
17669 echo "configure: failed program was:" >&5
17670 cat conftest.
$ac_ext >&5
17672 cat > conftest.
$ac_ext <<EOF
17673 #line 17674 "configure"
17674 #include "confdefs.h"
17676 #include <sys/time.h>
17677 #include <unistd.h>
17686 if { (eval echo configure
:17687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17688 wx_cv_func_gettimeofday_has_2_args
=no
17690 echo "configure: failed program was:" >&5
17691 cat conftest.
$ac_ext >&5
17694 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
17695 wx_cv_func_gettimeofday_has_2_args
=unknown
17704 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17705 ac_cpp
='$CPP $CPPFLAGS'
17706 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17707 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17708 cross_compiling
=$ac_cv_prog_cc_cross
17713 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
17715 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
17716 cat >> confdefs.h
<<\EOF
17717 #define WX_GETTIMEOFDAY_NO_TZ 1
17723 cat >> confdefs.h
<<\EOF
17724 #define wxUSE_TIMEDATE 1
17727 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
17731 if test "$TOOLKIT" != "MSW"; then
17733 if test "$wxUSE_SOCKETS" = "yes"; then
17734 echo $ac_n "checking for socket""... $ac_c" 1>&6
17735 echo "configure:17736: checking for socket" >&5
17736 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
17737 echo $ac_n "(cached) $ac_c" 1>&6
17739 cat > conftest.
$ac_ext <<EOF
17740 #line 17741 "configure"
17741 #include "confdefs.h"
17742 /* System header to define __stub macros and hopefully few prototypes,
17743 which can conflict with char socket(); below. */
17744 #include <assert.h>
17745 /* Override any gcc2 internal prototype to avoid an error. */
17746 /* We use char because int might match the return type of a gcc2
17747 builtin and then its argument prototype would still apply. */
17752 /* The GNU C library defines this for functions which it implements
17753 to always fail with ENOSYS. Some functions are actually named
17754 something starting with __ and the normal name is an alias. */
17755 #if defined (__stub_socket) || defined (__stub___socket)
17763 if { (eval echo configure
:17764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17765 eval "ac_cv_func_socket=yes"
17767 echo "configure: failed program was:" >&5
17768 cat conftest.
$ac_ext >&5
17770 eval "ac_cv_func_socket=no"
17775 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
17776 echo "$ac_t""yes" 1>&6
17779 echo "$ac_t""no" 1>&6
17780 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
17781 echo "configure:17782: checking for socket in -lsocket" >&5
17782 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
17783 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17784 echo $ac_n "(cached) $ac_c" 1>&6
17786 ac_save_LIBS
="$LIBS"
17787 LIBS
="-lsocket $LIBS"
17788 cat > conftest.
$ac_ext <<EOF
17789 #line 17790 "configure"
17790 #include "confdefs.h"
17791 /* Override any gcc2 internal prototype to avoid an error. */
17792 /* We use char because int might match the return type of a gcc2
17793 builtin and then its argument prototype would still apply. */
17800 if { (eval echo configure
:17801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17802 eval "ac_cv_lib_$ac_lib_var=yes"
17804 echo "configure: failed program was:" >&5
17805 cat conftest.
$ac_ext >&5
17807 eval "ac_cv_lib_$ac_lib_var=no"
17810 LIBS
="$ac_save_LIBS"
17813 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17814 echo "$ac_t""yes" 1>&6
17815 INET_LINK
="$INET_LINK -lsocket"
17817 echo "$ac_t""no" 1>&6
17819 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
17831 if test "$wxUSE_SOCKETS" = "yes" ; then
17832 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
17833 echo "configure:17834: checking what is the type of the third argument of getsockname" >&5
17834 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
17835 echo $ac_n "(cached) $ac_c" 1>&6
17840 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17841 ac_cpp
='$CXXCPP $CPPFLAGS'
17842 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17843 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17844 cross_compiling
=$ac_cv_prog_cxx_cross
17847 cat > conftest.
$ac_ext <<EOF
17848 #line 17849 "configure"
17849 #include "confdefs.h"
17851 #include <sys/types.h>
17852 #include <sys/socket.h>
17857 getsockname(0, 0, &len);
17861 if { (eval echo configure
:17862: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17863 wx_cv_type_getsockname3
=socklen_t
17865 echo "configure: failed program was:" >&5
17866 cat conftest.
$ac_ext >&5
17868 cat > conftest.
$ac_ext <<EOF
17869 #line 17870 "configure"
17870 #include "confdefs.h"
17872 #include <sys/types.h>
17873 #include <sys/socket.h>
17878 getsockname(0, 0, &len);
17882 if { (eval echo configure
:17883: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17884 wx_cv_type_getsockname3
=size_t
17886 echo "configure: failed program was:" >&5
17887 cat conftest.
$ac_ext >&5
17889 cat > conftest.
$ac_ext <<EOF
17890 #line 17891 "configure"
17891 #include "confdefs.h"
17893 #include <sys/types.h>
17894 #include <sys/socket.h>
17899 getsockname(0, 0, &len);
17903 if { (eval echo configure
:17904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17905 wx_cv_type_getsockname3
=int
17907 echo "configure: failed program was:" >&5
17908 cat conftest.
$ac_ext >&5
17910 wx_cv_type_getsockname3
=unknown
17922 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17923 ac_cpp
='$CPP $CPPFLAGS'
17924 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17925 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17926 cross_compiling
=$ac_cv_prog_cc_cross
17931 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
17933 if test "$wx_cv_type_getsockname3" = "unknown"; then
17935 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
17937 cat >> confdefs.h
<<EOF
17938 #define SOCKLEN_T $wx_cv_type_getsockname3
17945 if test "$wxUSE_SOCKETS" = "yes" ; then
17946 cat >> confdefs.h
<<\EOF
17947 #define wxUSE_SOCKETS 1
17950 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
17954 if test "$wxUSE_GUI" = "yes"; then
17956 if test "$TOOLKIT" = "MAC"; then
17957 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
17960 if test "$TOOLKIT" = "MOTIF"; then
17961 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
17965 if test "$TOOLKIT" != "MSW"; then
17966 if test "$wxUSE_JOYSTICK" = "yes"; then
17967 for ac_hdr
in linux
/joystick.h
17969 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17970 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17971 echo "configure:17972: checking for $ac_hdr" >&5
17972 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17973 echo $ac_n "(cached) $ac_c" 1>&6
17975 cat > conftest.
$ac_ext <<EOF
17976 #line 17977 "configure"
17977 #include "confdefs.h"
17980 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17981 { (eval echo configure
:17982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17982 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17983 if test -z "$ac_err"; then
17985 eval "ac_cv_header_$ac_safe=yes"
17988 echo "configure: failed program was:" >&5
17989 cat conftest.
$ac_ext >&5
17991 eval "ac_cv_header_$ac_safe=no"
17995 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17996 echo "$ac_t""yes" 1>&6
17997 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17998 cat >> confdefs.h
<<EOF
17999 #define $ac_tr_hdr 1
18003 echo "$ac_t""no" 1>&6
18007 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
18009 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
18014 if test "$wxUSE_JOYSTICK" = "yes"; then
18015 cat >> confdefs.h
<<\EOF
18016 #define wxUSE_JOYSTICK 1
18019 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
18024 if test "$TOOLKIT" != "MSW"; then
18028 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18029 if test "$USE_DARWIN" = 1; then
18032 for ac_func
in dlopen
18034 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18035 echo "configure:18036: checking for $ac_func" >&5
18036 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18037 echo $ac_n "(cached) $ac_c" 1>&6
18039 cat > conftest.
$ac_ext <<EOF
18040 #line 18041 "configure"
18041 #include "confdefs.h"
18042 /* System header to define __stub macros and hopefully few prototypes,
18043 which can conflict with char $ac_func(); below. */
18044 #include <assert.h>
18045 /* Override any gcc2 internal prototype to avoid an error. */
18046 /* We use char because int might match the return type of a gcc2
18047 builtin and then its argument prototype would still apply. */
18052 /* The GNU C library defines this for functions which it implements
18053 to always fail with ENOSYS. Some functions are actually named
18054 something starting with __ and the normal name is an alias. */
18055 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18063 if { (eval echo configure
:18064: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18065 eval "ac_cv_func_$ac_func=yes"
18067 echo "configure: failed program was:" >&5
18068 cat conftest.
$ac_ext >&5
18070 eval "ac_cv_func_$ac_func=no"
18075 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18076 echo "$ac_t""yes" 1>&6
18077 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18078 cat >> confdefs.h
<<EOF
18079 #define $ac_tr_func 1
18082 cat >> confdefs.h
<<\EOF
18083 #define HAVE_DLOPEN 1
18089 echo "$ac_t""no" 1>&6
18090 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
18091 echo "configure:18092: checking for dlopen in -ldl" >&5
18092 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
18093 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18094 echo $ac_n "(cached) $ac_c" 1>&6
18096 ac_save_LIBS
="$LIBS"
18098 cat > conftest.
$ac_ext <<EOF
18099 #line 18100 "configure"
18100 #include "confdefs.h"
18101 /* Override any gcc2 internal prototype to avoid an error. */
18102 /* We use char because int might match the return type of a gcc2
18103 builtin and then its argument prototype would still apply. */
18110 if { (eval echo configure
:18111: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18112 eval "ac_cv_lib_$ac_lib_var=yes"
18114 echo "configure: failed program was:" >&5
18115 cat conftest.
$ac_ext >&5
18117 eval "ac_cv_lib_$ac_lib_var=no"
18120 LIBS
="$ac_save_LIBS"
18123 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18124 echo "$ac_t""yes" 1>&6
18126 cat >> confdefs.h
<<\EOF
18127 #define HAVE_DLOPEN 1
18131 DL_LINK
=" -ldl$DL_LINK"
18134 echo "$ac_t""no" 1>&6
18136 for ac_func
in shl_load
18138 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18139 echo "configure:18140: checking for $ac_func" >&5
18140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18141 echo $ac_n "(cached) $ac_c" 1>&6
18143 cat > conftest.
$ac_ext <<EOF
18144 #line 18145 "configure"
18145 #include "confdefs.h"
18146 /* System header to define __stub macros and hopefully few prototypes,
18147 which can conflict with char $ac_func(); below. */
18148 #include <assert.h>
18149 /* Override any gcc2 internal prototype to avoid an error. */
18150 /* We use char because int might match the return type of a gcc2
18151 builtin and then its argument prototype would still apply. */
18156 /* The GNU C library defines this for functions which it implements
18157 to always fail with ENOSYS. Some functions are actually named
18158 something starting with __ and the normal name is an alias. */
18159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18167 if { (eval echo configure
:18168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18169 eval "ac_cv_func_$ac_func=yes"
18171 echo "configure: failed program was:" >&5
18172 cat conftest.
$ac_ext >&5
18174 eval "ac_cv_func_$ac_func=no"
18179 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18180 echo "$ac_t""yes" 1>&6
18181 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18182 cat >> confdefs.h
<<EOF
18183 #define $ac_tr_func 1
18186 cat >> confdefs.h
<<\EOF
18187 #define HAVE_SHL_LOAD 1
18193 echo "$ac_t""no" 1>&6
18194 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
18195 echo "configure:18196: checking for dld in -lshl_load" >&5
18196 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
18197 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18198 echo $ac_n "(cached) $ac_c" 1>&6
18200 ac_save_LIBS
="$LIBS"
18201 LIBS
="-lshl_load $LIBS"
18202 cat > conftest.
$ac_ext <<EOF
18203 #line 18204 "configure"
18204 #include "confdefs.h"
18205 /* Override any gcc2 internal prototype to avoid an error. */
18206 /* We use char because int might match the return type of a gcc2
18207 builtin and then its argument prototype would still apply. */
18214 if { (eval echo configure
:18215: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18216 eval "ac_cv_lib_$ac_lib_var=yes"
18218 echo "configure: failed program was:" >&5
18219 cat conftest.
$ac_ext >&5
18221 eval "ac_cv_lib_$ac_lib_var=no"
18224 LIBS
="$ac_save_LIBS"
18227 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18228 echo "$ac_t""yes" 1>&6
18231 DL_LINK
=" -ldld$DL_LINK"
18234 echo "$ac_t""no" 1>&6
18249 if test "$HAVE_DL_FUNCS" = 1; then
18250 for ac_func
in dlerror
18252 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18253 echo "configure:18254: checking for $ac_func" >&5
18254 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18255 echo $ac_n "(cached) $ac_c" 1>&6
18257 cat > conftest.
$ac_ext <<EOF
18258 #line 18259 "configure"
18259 #include "confdefs.h"
18260 /* System header to define __stub macros and hopefully few prototypes,
18261 which can conflict with char $ac_func(); below. */
18262 #include <assert.h>
18263 /* Override any gcc2 internal prototype to avoid an error. */
18264 /* We use char because int might match the return type of a gcc2
18265 builtin and then its argument prototype would still apply. */
18270 /* The GNU C library defines this for functions which it implements
18271 to always fail with ENOSYS. Some functions are actually named
18272 something starting with __ and the normal name is an alias. */
18273 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18281 if { (eval echo configure
:18282: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18283 eval "ac_cv_func_$ac_func=yes"
18285 echo "configure: failed program was:" >&5
18286 cat conftest.
$ac_ext >&5
18288 eval "ac_cv_func_$ac_func=no"
18293 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18294 echo "$ac_t""yes" 1>&6
18295 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18296 cat >> confdefs.h
<<EOF
18297 #define $ac_tr_func 1
18299 cat >> confdefs.h
<<\EOF
18300 #define HAVE_DLERROR 1
18304 echo "$ac_t""no" 1>&6
18305 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
18306 echo "configure:18307: checking for dlerror in -ldl" >&5
18307 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
18308 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18309 echo $ac_n "(cached) $ac_c" 1>&6
18311 ac_save_LIBS
="$LIBS"
18313 cat > conftest.
$ac_ext <<EOF
18314 #line 18315 "configure"
18315 #include "confdefs.h"
18316 /* Override any gcc2 internal prototype to avoid an error. */
18317 /* We use char because int might match the return type of a gcc2
18318 builtin and then its argument prototype would still apply. */
18325 if { (eval echo configure
:18326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18327 eval "ac_cv_lib_$ac_lib_var=yes"
18329 echo "configure: failed program was:" >&5
18330 cat conftest.
$ac_ext >&5
18332 eval "ac_cv_lib_$ac_lib_var=no"
18335 LIBS
="$ac_save_LIBS"
18338 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18339 echo "$ac_t""yes" 1>&6
18340 cat >> confdefs.h
<<\EOF
18341 #define HAVE_DLERROR 1
18345 echo "$ac_t""no" 1>&6
18354 if test "$HAVE_DL_FUNCS" = 0; then
18355 if test "$HAVE_SHL_FUNCS" = 0; then
18356 if test "$USE_UNIX" = 1; then
18357 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
18358 wxUSE_DYNAMIC_LOADER
=no
18359 wxUSE_DYNLIB_CLASS
=no
18361 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
18368 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
18369 cat >> confdefs.h
<<\EOF
18370 #define wxUSE_DYNAMIC_LOADER 1
18373 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18374 cat >> confdefs.h
<<\EOF
18375 #define wxUSE_DYNLIB_CLASS 1
18381 if test "$wxUSE_FONTMAP" = "yes" ; then
18382 cat >> confdefs.h
<<\EOF
18383 #define wxUSE_FONTMAP 1
18388 if test "$wxUSE_UNICODE" = "yes" ; then
18389 cat >> confdefs.h
<<\EOF
18390 #define wxUSE_UNICODE 1
18394 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
18395 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
18396 echo "configure:18397: checking for main in -lunicows" >&5
18397 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
18398 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18399 echo $ac_n "(cached) $ac_c" 1>&6
18401 ac_save_LIBS
="$LIBS"
18402 LIBS
="-lunicows $LIBS"
18403 cat > conftest.
$ac_ext <<EOF
18404 #line 18405 "configure"
18405 #include "confdefs.h"
18411 if { (eval echo configure
:18412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18413 eval "ac_cv_lib_$ac_lib_var=yes"
18415 echo "configure: failed program was:" >&5
18416 cat conftest.
$ac_ext >&5
18418 eval "ac_cv_lib_$ac_lib_var=no"
18421 LIBS
="$ac_save_LIBS"
18424 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18425 echo "$ac_t""yes" 1>&6
18427 cat >> confdefs.h
<<\EOF
18428 #define wxUSE_UNICODE_MSLU 1
18433 echo "$ac_t""no" 1>&6
18435 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
18436 Applications will only run on Windows NT/2000/XP!" 1>&2
18437 wxUSE_UNICODE_MSLU
=no
18444 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
18445 cat >> confdefs.h
<<\EOF
18446 #define wxUSE_EXPERIMENTAL_PRINTF 1
18454 if test "$wxUSE_ODBC" = "yes" ; then
18455 cat >> confdefs.h
<<\EOF
18456 #define wxUSE_ODBC 1
18459 WXODBCFLAG
="-D_IODBC_"
18460 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
18464 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
18465 cat >> confdefs.h
<<\EOF
18466 #define wxUSE_POSTSCRIPT 1
18471 cat >> confdefs.h
<<\EOF
18472 #define wxUSE_AFM_FOR_POSTSCRIPT 1
18476 cat >> confdefs.h
<<\EOF
18477 #define wxUSE_NORMALIZED_PS_FONTS 1
18482 if test "$wxUSE_CONSTRAINTS" = "yes"; then
18483 cat >> confdefs.h
<<\EOF
18484 #define wxUSE_CONSTRAINTS 1
18487 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
18490 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18491 if test "$wxUSE_UNIVERSAL" = "yes"; then
18492 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
18493 wxUSE_MDI_ARCHITECTURE
=no
18496 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18497 cat >> confdefs.h
<<\EOF
18498 #define wxUSE_MDI_ARCHITECTURE 1
18501 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
18505 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
18506 cat >> confdefs.h
<<\EOF
18507 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
18510 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
18511 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
18516 if test "$wxUSE_HELP" = "yes"; then
18517 cat >> confdefs.h
<<\EOF
18518 #define wxUSE_HELP 1
18521 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
18523 if test "$wxUSE_MSW" = 1; then
18524 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
18525 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
18526 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
18527 echo "configure:18528: checking for htmlhelp.h" >&5
18528 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18529 echo $ac_n "(cached) $ac_c" 1>&6
18531 cat > conftest.
$ac_ext <<EOF
18532 #line 18533 "configure"
18533 #include "confdefs.h"
18534 #include <htmlhelp.h>
18536 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18537 { (eval echo configure
:18538: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18538 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18539 if test -z "$ac_err"; then
18541 eval "ac_cv_header_$ac_safe=yes"
18544 echo "configure: failed program was:" >&5
18545 cat conftest.
$ac_ext >&5
18547 eval "ac_cv_header_$ac_safe=no"
18551 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18552 echo "$ac_t""yes" 1>&6
18554 cat >> confdefs.h
<<\EOF
18555 #define wxUSE_MS_HTML_HELP 1
18560 echo "$ac_t""no" 1>&6
18562 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
18563 wxUSE_MS_HTML_HELP
=no
18570 if test "$wxUSE_WXHTML_HELP" = "yes"; then
18571 if test "$wxUSE_HTML" = "yes"; then
18572 cat >> confdefs.h
<<\EOF
18573 #define wxUSE_WXHTML_HELP 1
18577 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
18578 wxUSE_WXHTML_HELP
=no
18583 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
18584 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18585 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
18587 cat >> confdefs.h
<<\EOF
18588 #define wxUSE_PRINTING_ARCHITECTURE 1
18592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
18595 if test "$wxUSE_PROLOGIO" = "yes" ; then
18596 cat >> confdefs.h
<<\EOF
18597 #define wxUSE_PROLOGIO 1
18602 if test "$wxUSE_RESOURCES" = "yes" ; then
18603 cat >> confdefs.h
<<\EOF
18604 #define wxUSE_RESOURCES 1
18607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
18610 if test "$wxUSE_X_RESOURCES" = "yes"; then
18611 cat >> confdefs.h
<<\EOF
18612 #define wxUSE_X_RESOURCES 1
18618 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
18619 -o "$wxUSE_CLIPBOARD" = "yes" \
18620 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
18621 for ac_hdr
in ole2.h
18623 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18624 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18625 echo "configure:18626: checking for $ac_hdr" >&5
18626 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18627 echo $ac_n "(cached) $ac_c" 1>&6
18629 cat > conftest.
$ac_ext <<EOF
18630 #line 18631 "configure"
18631 #include "confdefs.h"
18634 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18635 { (eval echo configure
:18636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18636 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18637 if test -z "$ac_err"; then
18639 eval "ac_cv_header_$ac_safe=yes"
18642 echo "configure: failed program was:" >&5
18643 cat conftest.
$ac_ext >&5
18645 eval "ac_cv_header_$ac_safe=no"
18649 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18650 echo "$ac_t""yes" 1>&6
18651 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18652 cat >> confdefs.h
<<EOF
18653 #define $ac_tr_hdr 1
18657 echo "$ac_t""no" 1>&6
18662 if test "$ac_cv_header_ole2_h" = "yes" ; then
18663 if test "$GCC" = yes ; then
18664 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
18665 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
18666 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
18667 cat >> confdefs.h
<<\EOF
18668 #define wxUSE_OLE 1
18674 cat >> confdefs.h
<<\EOF
18675 #define wxUSE_DATAOBJ 1
18679 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
18682 wxUSE_DRAG_AND_DROP
=no
18686 if test "$wxUSE_METAFILE" = "yes"; then
18687 cat >> confdefs.h
<<\EOF
18688 #define wxUSE_METAFILE 1
18692 cat >> confdefs.h
<<\EOF
18693 #define wxUSE_ENH_METAFILE 1
18699 if test "$wxUSE_IPC" = "yes"; then
18700 if test "$wxUSE_SOCKETS" != "yes"; then
18701 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
18704 cat >> confdefs.h
<<\EOF
18705 #define wxUSE_IPC 1
18710 if test "$wxUSE_CLIPBOARD" = "yes"; then
18711 cat >> confdefs.h
<<\EOF
18712 #define wxUSE_CLIPBOARD 1
18716 cat >> confdefs.h
<<\EOF
18717 #define wxUSE_DATAOBJ 1
18722 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
18723 if test "$wxUSE_GTK" = 1; then
18724 if test "$WXGTK12" != 1; then
18725 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
18726 wxUSE_DRAG_AND_DROP
=no
18730 if test "$wxUSE_MOTIF" = 1; then
18731 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
18732 wxUSE_DRAG_AND_DROP
=no
18735 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
18736 cat >> confdefs.h
<<\EOF
18737 #define wxUSE_DRAG_AND_DROP 1
18740 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
18745 if test "$wxUSE_SPLINES" = "yes" ; then
18746 cat >> confdefs.h
<<\EOF
18747 #define wxUSE_SPLINES 1
18754 if test "$wxUSE_CONTROLS" = "yes"; then
18758 if test "$wxUSE_ACCEL" = "yes"; then
18759 cat >> confdefs.h
<<\EOF
18760 #define wxUSE_ACCEL 1
18766 if test "$wxUSE_BUTTON" = "yes"; then
18767 cat >> confdefs.h
<<\EOF
18768 #define wxUSE_BUTTON 1
18774 if test "$wxUSE_BMPBUTTON" = "yes"; then
18775 cat >> confdefs.h
<<\EOF
18776 #define wxUSE_BMPBUTTON 1
18782 if test "$wxUSE_CALCTRL" = "yes"; then
18783 cat >> confdefs.h
<<\EOF
18784 #define wxUSE_CALENDARCTRL 1
18788 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
18791 if test "$wxUSE_CARET" = "yes"; then
18792 cat >> confdefs.h
<<\EOF
18793 #define wxUSE_CARET 1
18797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
18800 if test "$wxUSE_COMBOBOX" = "yes"; then
18801 cat >> confdefs.h
<<\EOF
18802 #define wxUSE_COMBOBOX 1
18808 if test "$wxUSE_CHOICE" = "yes"; then
18809 cat >> confdefs.h
<<\EOF
18810 #define wxUSE_CHOICE 1
18816 if test "$wxUSE_CHECKBOX" = "yes"; then
18817 cat >> confdefs.h
<<\EOF
18818 #define wxUSE_CHECKBOX 1
18824 if test "$wxUSE_CHECKLST" = "yes"; then
18825 cat >> confdefs.h
<<\EOF
18826 #define wxUSE_CHECKLISTBOX 1
18830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
18833 if test "$wxUSE_GAUGE" = "yes"; then
18834 cat >> confdefs.h
<<\EOF
18835 #define wxUSE_GAUGE 1
18841 if test "$wxUSE_NEW_GRID" = "yes"; then
18843 cat >> confdefs.h
<<\EOF
18844 #define wxUSE_NEW_GRID 1
18848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
18851 if test "$wxUSE_GRID" = "yes"; then
18852 cat >> confdefs.h
<<\EOF
18853 #define wxUSE_GRID 1
18857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
18860 if test "$wxUSE_IMAGLIST" = "yes"; then
18861 cat >> confdefs.h
<<\EOF
18862 #define wxUSE_IMAGLIST 1
18867 if test "$wxUSE_LISTBOX" = "yes"; then
18868 cat >> confdefs.h
<<\EOF
18869 #define wxUSE_LISTBOX 1
18875 if test "$wxUSE_LISTCTRL" = "yes"; then
18876 if test "$wxUSE_IMAGLIST" = "yes"; then
18877 cat >> confdefs.h
<<\EOF
18878 #define wxUSE_LISTCTRL 1
18882 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
18884 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
18888 if test "$wxUSE_NOTEBOOK" = "yes"; then
18889 cat >> confdefs.h
<<\EOF
18890 #define wxUSE_NOTEBOOK 1
18894 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
18897 if test "$wxUSE_PROPSHEET" = "yes"; then
18898 cat >> confdefs.h
<<\EOF
18899 #define wxUSE_PROPSHEET 1
18903 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
18906 if test "$wxUSE_RADIOBOX" = "yes"; then
18907 cat >> confdefs.h
<<\EOF
18908 #define wxUSE_RADIOBOX 1
18914 if test "$wxUSE_RADIOBTN" = "yes"; then
18915 cat >> confdefs.h
<<\EOF
18916 #define wxUSE_RADIOBTN 1
18922 if test "$wxUSE_SASH" = "yes"; then
18923 cat >> confdefs.h
<<\EOF
18924 #define wxUSE_SASH 1
18927 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
18930 if test "$wxUSE_SCROLLBAR" = "yes"; then
18931 cat >> confdefs.h
<<\EOF
18932 #define wxUSE_SCROLLBAR 1
18936 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
18939 if test "$wxUSE_SLIDER" = "yes"; then
18940 cat >> confdefs.h
<<\EOF
18941 #define wxUSE_SLIDER 1
18947 if test "$wxUSE_SPINBTN" = "yes"; then
18948 cat >> confdefs.h
<<\EOF
18949 #define wxUSE_SPINBTN 1
18955 if test "$wxUSE_SPINCTRL" = "yes"; then
18956 cat >> confdefs.h
<<\EOF
18957 #define wxUSE_SPINCTRL 1
18963 if test "$wxUSE_SPLITTER" = "yes"; then
18964 cat >> confdefs.h
<<\EOF
18965 #define wxUSE_SPLITTER 1
18968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
18971 if test "$wxUSE_STATBMP" = "yes"; then
18972 cat >> confdefs.h
<<\EOF
18973 #define wxUSE_STATBMP 1
18979 if test "$wxUSE_STATBOX" = "yes"; then
18980 cat >> confdefs.h
<<\EOF
18981 #define wxUSE_STATBOX 1
18987 if test "$wxUSE_STATTEXT" = "yes"; then
18988 cat >> confdefs.h
<<\EOF
18989 #define wxUSE_STATTEXT 1
18995 if test "$wxUSE_STATLINE" = "yes"; then
18996 if test "$wxUSE_WINE" = 1 ; then
18997 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
18999 cat >> confdefs.h
<<\EOF
19000 #define wxUSE_STATLINE 1
19007 if test "$wxUSE_STATUSBAR" = "yes"; then
19008 cat >> confdefs.h
<<\EOF
19009 #define wxUSE_STATUSBAR 1
19014 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
19017 if test "$wxUSE_TABDIALOG" = "yes"; then
19018 cat >> confdefs.h
<<\EOF
19019 #define wxUSE_TAB_DIALOG 1
19022 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
19025 if test "$wxUSE_TEXTCTRL" = "yes"; then
19026 cat >> confdefs.h
<<\EOF
19027 #define wxUSE_TEXTCTRL 1
19031 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
19034 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19035 if test "$wxUSE_MAC" = 1; then
19036 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
19039 if test "$wxUSE_UNIVERSAL" = "yes"; then
19040 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
19044 if test "$wxUSE_TOGGLEBTN" = "yes"; then
19045 cat >> confdefs.h
<<\EOF
19046 #define wxUSE_TOGGLEBTN 1
19053 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
19054 cat >> confdefs.h
<<\EOF
19055 #define wxUSE_TOOLBAR_SIMPLE 1
19058 wxUSE_TOOLBAR
="yes"
19062 if test "$wxUSE_TOOLBAR" = "yes"; then
19063 cat >> confdefs.h
<<\EOF
19064 #define wxUSE_TOOLBAR 1
19069 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
19070 wxUSE_TOOLBAR_NATIVE
="yes"
19073 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
19074 cat >> confdefs.h
<<\EOF
19075 #define wxUSE_TOOLBAR_NATIVE 1
19081 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
19084 if test "$wxUSE_TOOLTIPS" = "yes"; then
19085 if test "$wxUSE_MOTIF" = 1; then
19086 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
19088 if test "$wxUSE_WINE" = 1; then
19089 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
19091 if test "$wxUSE_UNIVERSAL" = "yes"; then
19092 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
19094 cat >> confdefs.h
<<\EOF
19095 #define wxUSE_TOOLTIPS 1
19103 if test "$wxUSE_TREECTRL" = "yes"; then
19104 if test "$wxUSE_IMAGLIST" = "yes"; then
19105 cat >> confdefs.h
<<\EOF
19106 #define wxUSE_TREECTRL 1
19110 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
19112 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
19116 if test "$wxUSE_POPUPWIN" = "yes"; then
19117 if test "$wxUSE_MAC" = 1; then
19118 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
19120 if test "$wxUSE_MOTIF" = 1; then
19121 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
19123 cat >> confdefs.h
<<\EOF
19124 #define wxUSE_POPUPWIN 1
19133 if test "$wxUSE_TIPWINDOW" = "yes"; then
19134 cat >> confdefs.h
<<\EOF
19135 #define wxUSE_TIPWINDOW 1
19140 if test "$USES_CONTROLS" = 1; then
19141 cat >> confdefs.h
<<\EOF
19142 #define wxUSE_CONTROLS 1
19148 if test "$wxUSE_TREELAYOUT" = "yes"; then
19149 cat >> confdefs.h
<<\EOF
19150 #define wxUSE_TREELAYOUT 1
19153 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
19156 if test "$wxUSE_DRAGIMAGE" = "yes"; then
19157 cat >> confdefs.h
<<\EOF
19158 #define wxUSE_DRAGIMAGE 1
19161 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
19164 if test "$wxUSE_MENUS" = "yes"; then
19165 cat >> confdefs.h
<<\EOF
19166 #define wxUSE_MENUS 1
19169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
19172 if test "$wxUSE_METAFILE" = "yes"; then
19173 cat >> confdefs.h
<<\EOF
19174 #define wxUSE_METAFILE 1
19179 if test "$wxUSE_MIMETYPE" = "yes"; then
19180 cat >> confdefs.h
<<\EOF
19181 #define wxUSE_MIMETYPE 1
19186 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
19187 cat >> confdefs.h
<<\EOF
19188 #define wxUSE_SYSTEM_OPTIONS 1
19193 if test "$wxUSE_URL" = "yes"; then
19194 cat >> confdefs.h
<<\EOF
19195 #define wxUSE_URL 1
19200 if test "$wxUSE_PROTOCOL" = "yes"; then
19201 cat >> confdefs.h
<<\EOF
19202 #define wxUSE_PROTOCOL 1
19206 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
19207 cat >> confdefs.h
<<\EOF
19208 #define wxUSE_PROTOCOL_HTTP 1
19212 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
19213 cat >> confdefs.h
<<\EOF
19214 #define wxUSE_PROTOCOL_FTP 1
19218 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
19219 cat >> confdefs.h
<<\EOF
19220 #define wxUSE_PROTOCOL_FILE 1
19226 if test "$wxUSE_MINIFRAME" = "yes"; then
19227 cat >> confdefs.h
<<\EOF
19228 #define wxUSE_MINIFRAME 1
19231 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
19234 if test "$wxUSE_HTML" = "yes"; then
19235 cat >> confdefs.h
<<\EOF
19236 #define wxUSE_HTML 1
19239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
19242 if test "$wxUSE_VALIDATORS" = "yes"; then
19243 cat >> confdefs.h
<<\EOF
19244 #define wxUSE_VALIDATORS 1
19247 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
19250 if test "$wxUSE_PALETTE" = "yes" ; then
19251 cat >> confdefs.h
<<\EOF
19252 #define wxUSE_PALETTE 1
19257 if test "$wxUSE_IMAGE" = "yes" ; then
19258 cat >> confdefs.h
<<\EOF
19259 #define wxUSE_IMAGE 1
19264 if test "$wxUSE_GIF" = "yes" ; then
19265 cat >> confdefs.h
<<\EOF
19266 #define wxUSE_GIF 1
19271 if test "$wxUSE_PCX" = "yes" ; then
19272 cat >> confdefs.h
<<\EOF
19273 #define wxUSE_PCX 1
19278 if test "$wxUSE_PNM" = "yes" ; then
19279 cat >> confdefs.h
<<\EOF
19280 #define wxUSE_PNM 1
19285 if test "$wxUSE_XPM" = "yes" ; then
19286 cat >> confdefs.h
<<\EOF
19287 #define wxUSE_XPM 1
19292 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
19293 LIBS
=" -lunicows $LIBS"
19297 if test "$wxUSE_CHOICEDLG" = "yes"; then
19298 cat >> confdefs.h
<<\EOF
19299 #define wxUSE_CHOICEDLG 1
19304 if test "$wxUSE_COLOURDLG" = "yes"; then
19305 cat >> confdefs.h
<<\EOF
19306 #define wxUSE_COLOURDLG 1
19311 if test "$wxUSE_FILEDLG" = "yes"; then
19312 cat >> confdefs.h
<<\EOF
19313 #define wxUSE_FILEDLG 1
19318 if test "$wxUSE_FINDREPLDLG" = "yes"; then
19319 cat >> confdefs.h
<<\EOF
19320 #define wxUSE_FINDREPLDLG 1
19325 if test "$wxUSE_FONTDLG" = "yes"; then
19326 cat >> confdefs.h
<<\EOF
19327 #define wxUSE_FONTDLG 1
19332 if test "$wxUSE_DIRDLG" = "yes"; then
19333 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19334 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
19336 if test "$wxUSE_TREECTRL" != "yes"; then
19337 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
19339 cat >> confdefs.h
<<\EOF
19340 #define wxUSE_DIRDLG 1
19347 if test "$wxUSE_MSGDLG" = "yes"; then
19348 cat >> confdefs.h
<<\EOF
19349 #define wxUSE_MSGDLG 1
19354 if test "$wxUSE_NUMBERDLG" = "yes"; then
19355 cat >> confdefs.h
<<\EOF
19356 #define wxUSE_NUMBERDLG 1
19361 if test "$wxUSE_PROGRESSDLG" = "yes"; then
19362 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19363 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
19365 cat >> confdefs.h
<<\EOF
19366 #define wxUSE_PROGRESSDLG 1
19372 if test "$wxUSE_SPLASH" = "yes"; then
19373 cat >> confdefs.h
<<\EOF
19374 #define wxUSE_SPLASH 1
19379 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
19380 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19381 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
19383 cat >> confdefs.h
<<\EOF
19384 #define wxUSE_STARTUP_TIPS 1
19390 if test "$wxUSE_TEXTDLG" = "yes"; then
19391 cat >> confdefs.h
<<\EOF
19392 #define wxUSE_TEXTDLG 1
19397 if test "$wxUSE_WIZARDDLG" = "yes"; then
19398 cat >> confdefs.h
<<\EOF
19399 #define wxUSE_WIZARDDLG 1
19402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
19406 if test "$cross_compiling" = "yes"; then
19409 OSINFO
=`uname -s -r -m`
19410 OSINFO
="\"$OSINFO\""
19413 cat >> confdefs.h
<<EOF
19414 #define WXWIN_OS_DESCRIPTION $OSINFO
19419 if test "x$prefix" != "xNONE"; then
19422 wxPREFIX
=$ac_default_prefix
19425 cat >> confdefs.h
<<EOF
19426 #define wxINSTALL_PREFIX "$wxPREFIX"
19433 if test "$wxUSE_MAC" = 1 ; then
19434 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
19438 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
19440 if test "$wxUSE_GUI" = "yes"; then
19442 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
19445 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
19446 drawing dynamic erase event exec font image \
19447 minimal richedit rotate widgets"
19449 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
19451 SAMPLES_SUBDIRS
="console"
19455 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
19456 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
19457 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
19459 if test "$wxUSE_GTK" = 1; then
19462 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
19465 if test "$GXX" = yes ; then
19466 CXXWARNINGS
="-Wall"
19468 if test "$wxUSE_NO_DEPS" = "no" ; then
19469 CFLAGS
="-MMD $CFLAGS"
19470 CXXFLAGS
="-MMD $CXXFLAGS"
19474 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
19476 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
19477 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
19479 LDFLAGS
="$LDFLAGS$PROFILE"
19481 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
19567 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
19568 echo "configure:19569: checking whether ${MAKE-make} sets \${MAKE}" >&5
19569 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
19570 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
19571 echo $ac_n "(cached) $ac_c" 1>&6
19573 cat > conftestmake
<<\EOF
19575 @
echo 'ac_maketemp="${MAKE}"'
19577 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19578 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
19579 if test -n "$ac_maketemp"; then
19580 eval ac_cv_prog_make_
${ac_make}_set
=yes
19582 eval ac_cv_prog_make_
${ac_make}_set
=no
19586 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19587 echo "$ac_t""yes" 1>&6
19590 echo "$ac_t""no" 1>&6
19591 SET_MAKE
="MAKE=${MAKE-make}"
19595 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
19596 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
19601 if test "$wxUSE_GUI" = "yes"; then
19602 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
19603 wx_cv_path_ifs
=$PATH_IFS
19604 wx_cv_program_ext
=$PROGRAM_EXT
19605 wx_cv_target_library
=$WX_TARGET_LIBRARY
19606 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
19607 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
19608 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
19609 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
19610 subdirs
="demos samples utils contrib"
19615 cat > confcache
<<\EOF
19616 # This file is a shell script that caches the results of configure
19617 # tests run on this system so they can be shared between configure
19618 # scripts and configure runs. It is not useful on other systems.
19619 # If it contains results you don't want to keep, you may remove or edit it.
19621 # By default, configure uses ./config.cache as the cache file,
19622 # creating it if it does not exist already. You can give configure
19623 # the --cache-file=FILE option to use a different cache file; that is
19624 # what configure does when it calls configure scripts in
19625 # subdirectories, so they share the cache.
19626 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19627 # config.status only pays attention to the cache file if you give it the
19628 # --recheck option to rerun configure.
19631 # The following way of writing the cache mishandles newlines in values,
19632 # but we know of no workaround that is simple, portable, and efficient.
19633 # So, don't put newlines in cache variables' values.
19634 # Ultrix sh set writes to stderr and can't be redirected directly,
19635 # and sets the high bit in the cache file unless we assign to the vars.
19637 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19639 # `set' does not quote correctly, so add quotes (double-quote substitution
19640 # turns \\\\ into \\, and sed turns \\ into \).
19642 -e "s/'/'\\\\''/g" \
19643 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19646 # `set' quotes correctly as required by POSIX, so do not add quotes.
19647 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19650 if cmp -s $cache_file confcache
; then
19653 if test -w $cache_file; then
19654 echo "updating cache $cache_file"
19655 cat confcache
> $cache_file
19657 echo "not updating unwritable cache $cache_file"
19662 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19664 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19665 # Let make expand exec_prefix.
19666 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19668 # Any assignment to VPATH causes Sun make to only execute
19669 # the first set of double-colon rules, so remove it if not needed.
19670 # If there is a colon in the path, we need to keep it.
19671 if test "x$srcdir" = x.
; then
19672 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
19675 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19677 DEFS
=-DHAVE_CONFIG_H
19679 # Without the "./", some shells look in PATH for config.status.
19680 : ${CONFIG_STATUS=./config.status}
19682 echo creating
$CONFIG_STATUS
19683 rm -f $CONFIG_STATUS
19684 cat > $CONFIG_STATUS <<EOF
19686 # Generated automatically by configure.
19687 # Run this file to recreate the current configuration.
19688 # This directory was configured as follows,
19689 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19691 # $0 $ac_configure_args
19693 # Compiler output produced by configure, useful for debugging
19694 # configure, is in ./config.log if it exists.
19696 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19699 case "\$ac_option" in
19700 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19701 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19702 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19703 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19704 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19706 -help | --help | --hel | --he | --h)
19707 echo "\$ac_cs_usage"; exit 0 ;;
19708 *) echo "\$ac_cs_usage"; exit 1 ;;
19712 ac_given_srcdir=$srcdir
19713 ac_given_INSTALL="$INSTALL"
19715 trap 'rm -fr `echo "
19721 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19723 cat >> $CONFIG_STATUS <<EOF
19725 # Protect against being on the right side of a sed subst in config.status.
19726 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19727 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19731 s%@CFLAGS@%$CFLAGS%g
19732 s%@CPPFLAGS@%$CPPFLAGS%g
19733 s%@CXXFLAGS@%$CXXFLAGS%g
19734 s%@FFLAGS@%$FFLAGS%g
19736 s%@LDFLAGS@%$LDFLAGS%g
19738 s%@exec_prefix@%$exec_prefix%g
19739 s%@prefix@%$prefix%g
19740 s%@program_transform_name@%$program_transform_name%g
19741 s%@bindir@%$bindir%g
19742 s%@sbindir@%$sbindir%g
19743 s%@libexecdir@%$libexecdir%g
19744 s%@datadir@%$datadir%g
19745 s%@sysconfdir@%$sysconfdir%g
19746 s%@sharedstatedir@%$sharedstatedir%g
19747 s%@localstatedir@%$localstatedir%g
19748 s%@libdir@%$libdir%g
19749 s%@includedir@%$includedir%g
19750 s%@oldincludedir@%$oldincludedir%g
19751 s%@infodir@%$infodir%g
19752 s%@mandir@%$mandir%g
19754 s%@host_alias@%$host_alias%g
19755 s%@host_cpu@%$host_cpu%g
19756 s%@host_vendor@%$host_vendor%g
19757 s%@host_os@%$host_os%g
19758 s%@target@%$target%g
19759 s%@target_alias@%$target_alias%g
19760 s%@target_cpu@%$target_cpu%g
19761 s%@target_vendor@%$target_vendor%g
19762 s%@target_os@%$target_os%g
19764 s%@build_alias@%$build_alias%g
19765 s%@build_cpu@%$build_cpu%g
19766 s%@build_vendor@%$build_vendor%g
19767 s%@build_os@%$build_os%g
19771 s%@RANLIB@%$RANLIB%g
19773 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19774 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19775 s%@INSTALL_DATA@%$INSTALL_DATA%g
19779 s%@LEXLIB@%$LEXLIB%g
19781 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
19782 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
19783 s%@GTK_LIBS@%$GTK_LIBS%g
19784 s%@GTK_CONFIG@%$GTK_CONFIG%g
19785 s%@X_CFLAGS@%$X_CFLAGS%g
19786 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
19787 s%@X_LIBS@%$X_LIBS%g
19788 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
19789 s%@RESCOMP@%$RESCOMP%g
19791 s%@CXXCPP@%$CXXCPP%g
19792 s%@LEX_STEM@%$LEX_STEM%g
19793 s%@PATH_IFS@%$PATH_IFS%g
19794 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
19795 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
19796 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
19797 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
19798 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
19799 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
19800 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
19801 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
19802 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
19803 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
19804 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
19805 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
19806 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
19807 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
19808 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
19809 s%@WX_ALL@%$WX_ALL%g
19810 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
19811 s%@SHARED_LD@%$SHARED_LD%g
19812 s%@PIC_FLAG@%$PIC_FLAG%g
19813 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
19814 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
19815 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
19816 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
19817 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
19818 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
19819 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
19820 s%@USE_GUI@%$USE_GUI%g
19821 s%@AFMINSTALL@%$AFMINSTALL%g
19822 s%@TOOLKIT@%$TOOLKIT%g
19823 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
19824 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
19825 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
19826 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
19827 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
19828 s%@cross_compiling@%$cross_compiling%g
19829 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
19830 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
19831 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
19832 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
19833 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
19834 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
19835 s%@GUIDIST@%$GUIDIST%g
19836 s%@PORT_FILES@%$PORT_FILES%g
19837 s%@DISTDIR@%$DISTDIR%g
19838 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
19839 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
19840 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
19841 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
19842 s%@EXTRADEFS@%$EXTRADEFS%g
19843 s%@RESFLAGS@%$RESFLAGS%g
19844 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
19845 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
19846 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
19847 s%@LIBWXMACRES@%$LIBWXMACRES%g
19848 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
19849 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
19850 s%@DLLTOOL@%$DLLTOOL%g
19854 s%@MAKEINFO@%$MAKEINFO%g
19855 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
19856 s%@SET_MAKE@%$SET_MAKE%g
19857 s%@subdirs@%$subdirs%g
19862 cat >> $CONFIG_STATUS <<\EOF
19864 # Split the substitutions into bite-sized pieces for seds with
19865 # small command number limits, like on Digital OSF/1 and HP-UX.
19866 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
19867 ac_file
=1 # Number of current file.
19868 ac_beg
=1 # First line for current file.
19869 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
19872 while $ac_more_lines; do
19873 if test $ac_beg -gt 1; then
19874 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
19876 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
19878 if test ! -s conftest.s
$ac_file; then
19879 ac_more_lines
=false
19880 rm -f conftest.s
$ac_file
19882 if test -z "$ac_sed_cmds"; then
19883 ac_sed_cmds
="sed -f conftest.s$ac_file"
19885 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
19887 ac_file
=`expr $ac_file + 1`
19889 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
19892 if test -z "$ac_sed_cmds"; then
19897 cat >> $CONFIG_STATUS <<EOF
19899 CONFIG_FILES=\${CONFIG_FILES-"wx-config
19906 cat >> $CONFIG_STATUS <<\EOF
19907 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
19908 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19910 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19911 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19912 *) ac_file_in
="${ac_file}.in" ;;
19915 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19917 # Remove last slash and all that follows it. Not all systems have dirname.
19918 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19919 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
19920 # The file is in a subdirectory.
19921 test ! -d "$ac_dir" && mkdir "$ac_dir"
19922 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
19923 # A "../" for each directory in $ac_dir_suffix.
19924 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19926 ac_dir_suffix
= ac_dots
=
19929 case "$ac_given_srcdir" in
19931 if test -z "$ac_dots"; then top_srcdir
=.
19932 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19933 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
19934 *) # Relative path.
19935 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19936 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
19939 case "$ac_given_INSTALL" in
19940 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
19941 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
19944 echo creating
"$ac_file"
19946 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19948 *Makefile
*) ac_comsub
="1i\\
19949 # $configure_input" ;;
19953 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19955 s%@configure_input@%$configure_input%g
19956 s%@srcdir@%$srcdir%g
19957 s%@top_srcdir@%$top_srcdir%g
19958 s%@INSTALL@%$INSTALL%g
19959 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19963 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19964 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19966 # ac_d sets the value in "#define NAME VALUE" lines.
19967 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19968 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
19971 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19972 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19973 ac_uB
='\([ ]\)%\1#\2define\3'
19976 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19977 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19978 ac_eB
='$%\1#\2define\3'
19982 if test "${CONFIG_HEADERS+set}" != set; then
19984 cat >> $CONFIG_STATUS <<EOF
19985 CONFIG_HEADERS="setup.h:setup.h.in"
19987 cat >> $CONFIG_STATUS <<\EOF
19989 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
19990 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19992 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19993 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19994 *) ac_file_in
="${ac_file}.in" ;;
19997 echo creating
$ac_file
19999 rm -f conftest.frag conftest.
in conftest.out
20000 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
20001 cat $ac_file_inputs > conftest.
in
20005 # Transform confdefs.h into a sed script conftest.vals that substitutes
20006 # the proper values into config.h.in to produce config.h. And first:
20007 # Protect against being on the right side of a sed subst in config.status.
20008 # Protect against being in an unquoted here document in config.status.
20009 rm -f conftest.vals
20010 cat > conftest.hdr
<<\EOF
20013 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
20017 sed -n -f conftest.hdr confdefs.h > conftest.vals
20020 # This sed command replaces #undef with comments. This is necessary, for
20021 # example, in the case of _POSIX_SOURCE, which is predefined and required
20022 # on some systems where configure will not decide to define it.
20023 cat >> conftest.vals <<\EOF
20024 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
20027 # Break up conftest.vals because some shells have a limit on
20028 # the size of here documents, and old seds have small limits too.
20030 rm -f conftest.tail
20033 ac_lines=`grep -c . conftest.vals
`
20034 # grep -c gives empty output for an empty file on some AIX systems.
20035 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
20036 # Write a limited-size here document to conftest.frag.
20037 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
20038 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
20040 sed -f conftest.frag conftest.in > conftest.out
20042 mv conftest.out conftest.in
20043 ' >> $CONFIG_STATUS
20044 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
20045 rm -f conftest.vals
20046 mv conftest.tail conftest.vals
20048 rm -f conftest.vals
20050 cat >> $CONFIG_STATUS <<\EOF
20051 rm -f conftest.frag conftest.h
20052 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
20053 cat conftest.in >> conftest.h
20055 if cmp -s $ac_file conftest.h 2>/dev/null; then
20056 echo "$ac_file is unchanged"
20059 # Remove last slash and all that follows it. Not all systems have dirname.
20060 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
20061 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
20062 # The file is in a subdirectory.
20063 test ! -d "$ac_dir" && mkdir "$ac_dir"
20066 mv conftest.h $ac_file
20071 cat >> $CONFIG_STATUS <<EOF
20073 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
20078 cat >> $CONFIG_STATUS <<\EOF
20080 if test ! -h wx-config; then
20082 mv wx-config wx${TOOLCHAIN_NAME}-config
20083 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
20086 if test ! -d lib; then
20089 if test ! -d lib/wx; then
20092 if test ! -d lib/wx/include; then
20093 mkdir lib/wx/include
20095 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
20096 mkdir lib/wx/include/${TOOLCHAIN_NAME}
20098 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
20099 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
20101 if test -f setup.h; then
20102 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
20107 chmod +x $CONFIG_STATUS
20108 rm -fr confdefs* $ac_clean_files
20109 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
20111 if test "$no_recursion" != yes; then
20113 # Remove --cache-file and --srcdir arguments so they do not pile up.
20114 ac_sub_configure_args=
20116 for ac_arg in $ac_configure_args; do
20117 if test -n "$ac_prev"; then
20122 -cache-file | --cache-file | --cache-fil | --cache-fi \
20123 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
20124 ac_prev=cache_file ;;
20125 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
20126 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
20128 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
20130 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
20132 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
20136 for ac_config_dir in demos samples utils contrib; do
20138 # Do not complain, so a configure script can configure whichever
20139 # parts of a large source tree are present.
20140 if test ! -d $srcdir/$ac_config_dir; then
20144 echo configuring in $ac_config_dir
20149 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
20151 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
20159 # A "../" for each directory in /$ac_config_dir.
20160 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
20163 .) # No --srcdir option. We are building in place.
20164 ac_sub_srcdir=$srcdir ;;
20165 /*) # Absolute path.
20166 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
20167 *) # Relative path.
20168 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
20171 # Check for guested configure; otherwise get Cygnus style configure.
20172 if test -f $ac_sub_srcdir/configure; then
20173 ac_sub_configure=$ac_sub_srcdir/configure
20174 elif test -f $ac_sub_srcdir/configure.in; then
20175 ac_sub_configure=$ac_configure
20177 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
20181 # The recursion is here.
20182 if test -n "$ac_sub_configure"; then
20184 # Make the cache file name correct relative to the subdirectory.
20185 case "$cache_file" in
20186 /*) ac_sub_cache_file=$cache_file ;;
20187 *) # Relative path.
20188 ac_sub_cache_file="$ac_dots$cache_file" ;;
20190 case "$ac_given_INSTALL" in
20191 [/$]*) INSTALL="$ac_given_INSTALL" ;;
20192 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
20195 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
20196 # The eval makes quoting arguments work.
20197 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
20200 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }