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-threads use threads"
212 --enable-docview use document view architecture"
214 --enable-help use help subsystem"
216 --enable-mshtmlhelp use MS HTML Help (win32)"
218 --enable-html use wxHTML sub-library"
220 --enable-htmlhelp use wxHTML-based help"
222 --enable-constraints use layout-constraints system"
224 --enable-printarch use printing architecture"
226 --enable-mdi use multiple document interface architecture"
228 --enable-loggui use standard GUI logger"
230 --enable-logwin use wxLogWindow"
232 --enable-logdialog use wxLogDialog"
234 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
236 --enable-prologio use Prolog IO library"
238 --enable-resources use wxWindows resources"
240 --enable-xresources use X resources for save (default for gtk+)"
242 --enable-clipboard use wxClipboard classes"
244 --enable-dnd use Drag'n'Drop classes"
246 --enable-metafile use win32 metafiles"
248 --enable-treelayout use wxTreeLayout classes"
250 --enable-controls use all usual controls"
252 --enable-accel use accelerators"
254 --enable-button use wxButton class"
256 --enable-bmpbutton use wxBitmapButton class"
258 --enable-calendar use wxCalendarCtrl class"
260 --enable-caret use wxCaret class"
262 --enable-checkbox use wxCheckBox class"
264 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
266 --enable-choice use wxChoice class"
268 --enable-combobox use wxComboBox classes"
270 --enable-gauge use wxGauge class"
272 --enable-grid use wxGrid class"
274 --enable-newgrid use new wxGrid class"
276 --enable-imaglist use wxImageList class"
278 --enable-listbox use wxListBox class"
280 --enable-listctrl use wxListCtrl class"
282 --enable-notebook use wxNotebook class"
284 --enable-propsheet use wxPropertySheet class"
286 --enable-radiobox use wxRadioBox class"
288 --enable-radiobtn use wxRadioButton class"
290 --enable-sash use wxSashWindow class"
292 --enable-scrollbar use wxScrollBar class and scrollable windows"
294 --enable-slider use wxSlider class"
296 --enable-spinbtn use wxSpinButton class"
298 --enable-spinctrl use wxSpinCtrl class"
300 --enable-splitter use wxSplitterWindow class"
302 --enable-statbmp use wxStaticBitmap class"
304 --enable-statbox use wxStaticBox class"
306 --enable-statline use wxStaticLine class"
308 --enable-stattext use wxStaticText class"
310 --enable-statusbar use wxStatusBar class"
312 --enable-tabdialog use wxTabControl class"
314 --enable-textctrl use wxTextCtrl class"
316 --enable-togglebtn use wxToggleButton class"
318 --enable-toolbar use wxToolBar class"
320 --enable-tbarnative use native wxToolBar class"
322 --enable-tbarsmpl use wxToolBarSimple class"
324 --enable-treectrl use wxTreeCtrl class"
326 --enable-tipwindow use wxTipWindow class"
328 --enable-popupwin use wxPopUpWindow class"
330 --enable-commondlg use all common dialogs"
332 --enable-choicedlg use wxChoiceDialog"
334 --enable-coldlg use wxColourDialog"
336 --enable-filedlg use wxFileDialog"
338 --enable-finddlg use wxFindReplaceDialog"
340 --enable-fontdlg use wxFontDialog"
342 --enable-dirdlg use wxDirDialog"
344 --enable-msgdlg use wxMessageDialog"
346 --enable-numberdlg use wxNumberEntryDialog"
348 --enable-splash use wxSplashScreen"
350 --enable-textdlg use wxTextDialog"
352 --enable-tipdlg use startup tips"
354 --enable-progressdlg use wxProgressDialog"
356 --enable-wizarddlg use wxWizard"
358 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
360 --enable-miniframe use wxMiniFrame class"
362 --enable-tooltips use wxToolTip class"
364 --enable-splines use spline drawing code"
366 --enable-validators use wxValidator and derived classes"
368 --enable-busyinfo use wxBusyInfo"
370 --enable-joystick use wxJoystick (Linux only)"
372 --enable-metafiles use wxMetaFile (Windows only)"
374 --enable-dragimage use wxDragImage"
376 --enable-palette use wxPalette class"
378 --enable-image use wxImage class"
380 --enable-gif use gif images (GIF file format)"
382 --enable-pcx use pcx images (PCX file format)"
384 --enable-pnm use pnm images (PNM file format)"
386 --enable-xpm use xpm images (XPM file format)"
388 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
390 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
392 --disable-gtktest Do not try to compile and run a test GTK program"
394 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
396 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
398 --disable-gtktest Do not try to compile and run a test GTK program"
400 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
402 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
404 --disable-gtktest Do not try to compile and run a test GTK program"
406 --with-x use the X Window System"
408 # Initialize some variables set by options.
409 # The variables have the same names as the options, with
410 # dashes changed to underlines.
412 cache_file
=.
/config.cache
421 program_transform_name
=s
,x
,x
,
429 bindir
='${exec_prefix}/bin'
430 sbindir
='${exec_prefix}/sbin'
431 libexecdir
='${exec_prefix}/libexec'
432 datadir
='${prefix}/share'
433 sysconfdir
='${prefix}/etc'
434 sharedstatedir
='${prefix}/com'
435 localstatedir
='${prefix}/var'
436 libdir
='${exec_prefix}/lib'
437 includedir
='${prefix}/include'
438 oldincludedir
='/usr/include'
439 infodir
='${prefix}/info'
440 mandir
='${prefix}/man'
442 # Initialize some other variables.
445 SHELL
=${CONFIG_SHELL-/bin/sh}
446 # Maximum number of lines to put in a shell here document.
453 # If the previous option needs an argument, assign it.
454 if test -n "$ac_prev"; then
455 eval "$ac_prev=\$ac_option"
461 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
465 # Accept the important Cygnus configure options, so we can diagnose typos.
469 -bindir | --bindir | --bindi | --bind | --bin | --bi)
471 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
472 bindir
="$ac_optarg" ;;
474 -build | --build | --buil | --bui | --bu)
476 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
477 build
="$ac_optarg" ;;
479 -cache-file | --cache-file | --cache-fil | --cache-fi \
480 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
481 ac_prev
=cache_file
;;
482 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
483 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
484 cache_file
="$ac_optarg" ;;
486 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
488 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
490 datadir
="$ac_optarg" ;;
492 -disable-* | --disable-*)
493 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
494 # Reject names that are not valid shell variable names.
495 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
496 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
498 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
499 eval "enable_${ac_feature}=no" ;;
501 -enable-* | --enable-*)
502 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
503 # Reject names that are not valid shell variable names.
504 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
505 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
507 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
512 eval "enable_${ac_feature}='$ac_optarg'" ;;
514 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
515 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
516 | --exec | --exe | --ex)
517 ac_prev
=exec_prefix
;;
518 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
519 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
520 | --exec=* | --exe=* | --ex=*)
521 exec_prefix
="$ac_optarg" ;;
523 -gas | --gas | --ga | --g)
524 # Obsolete; use --with-gas.
527 -help | --help | --hel | --he)
528 # Omit some internal or obsolete options to make the list less imposing.
529 # This message is too long to be a string in the A/UX 3.1 sh.
531 Usage: configure [options] [host]
532 Options: [defaults in brackets after descriptions]
534 --cache-file=FILE cache test results in FILE
535 --help print this message
536 --no-create do not create output files
537 --quiet, --silent do not print \`checking...' messages
538 --version print the version of autoconf that created configure
539 Directory and file names:
540 --prefix=PREFIX install architecture-independent files in PREFIX
542 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
544 --bindir=DIR user executables in DIR [EPREFIX/bin]
545 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
546 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
547 --datadir=DIR read-only architecture-independent data in DIR
549 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
550 --sharedstatedir=DIR modifiable architecture-independent data in DIR
552 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
553 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
554 --includedir=DIR C header files in DIR [PREFIX/include]
555 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
556 --infodir=DIR info documentation in DIR [PREFIX/info]
557 --mandir=DIR man documentation in DIR [PREFIX/man]
558 --srcdir=DIR find the sources in DIR [configure dir or ..]
559 --program-prefix=PREFIX prepend PREFIX to installed program names
560 --program-suffix=SUFFIX append SUFFIX to installed program names
561 --program-transform-name=PROGRAM
562 run sed PROGRAM on installed program names
566 --build=BUILD configure for building on BUILD [BUILD=HOST]
567 --host=HOST configure for HOST [guessed]
568 --target=TARGET configure for TARGET [TARGET=HOST]
569 Features and packages:
570 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
571 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
572 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
573 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
574 --x-includes=DIR X include files are in DIR
575 --x-libraries=DIR X library files are in DIR
577 if test -n "$ac_help"; then
578 echo "--enable and --with options recognized:$ac_help"
582 -host | --host | --hos | --ho)
584 -host=* | --host=* | --hos=* | --ho=*)
587 -includedir | --includedir | --includedi | --included | --include \
588 | --includ | --inclu | --incl | --inc)
589 ac_prev
=includedir
;;
590 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
591 | --includ=* | --inclu=* | --incl=* | --inc=*)
592 includedir
="$ac_optarg" ;;
594 -infodir | --infodir | --infodi | --infod | --info | --inf)
596 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
597 infodir
="$ac_optarg" ;;
599 -libdir | --libdir | --libdi | --libd)
601 -libdir=* | --libdir=* | --libdi=* | --libd=*)
602 libdir
="$ac_optarg" ;;
604 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
605 | --libexe | --libex | --libe)
606 ac_prev
=libexecdir
;;
607 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
608 | --libexe=* | --libex=* | --libe=*)
609 libexecdir
="$ac_optarg" ;;
611 -localstatedir | --localstatedir | --localstatedi | --localstated \
612 | --localstate | --localstat | --localsta | --localst \
613 | --locals | --local | --loca | --loc | --lo)
614 ac_prev
=localstatedir
;;
615 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
616 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
617 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
618 localstatedir
="$ac_optarg" ;;
620 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
622 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
623 mandir
="$ac_optarg" ;;
626 # Obsolete; use --without-fp.
629 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
633 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
634 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
637 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
638 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
639 | --oldin | --oldi | --old | --ol | --o)
640 ac_prev
=oldincludedir
;;
641 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
642 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
643 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
644 oldincludedir
="$ac_optarg" ;;
646 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
648 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
649 prefix
="$ac_optarg" ;;
651 -program-prefix | --program-prefix | --program-prefi | --program-pref \
652 | --program-pre | --program-pr | --program-p)
653 ac_prev
=program_prefix
;;
654 -program-prefix=* | --program-prefix=* | --program-prefi=* \
655 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
656 program_prefix
="$ac_optarg" ;;
658 -program-suffix | --program-suffix | --program-suffi | --program-suff \
659 | --program-suf | --program-su | --program-s)
660 ac_prev
=program_suffix
;;
661 -program-suffix=* | --program-suffix=* | --program-suffi=* \
662 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
663 program_suffix
="$ac_optarg" ;;
665 -program-transform-name | --program-transform-name \
666 | --program-transform-nam | --program-transform-na \
667 | --program-transform-n | --program-transform- \
668 | --program-transform | --program-transfor \
669 | --program-transfo | --program-transf \
670 | --program-trans | --program-tran \
671 | --progr-tra | --program-tr | --program-t)
672 ac_prev
=program_transform_name
;;
673 -program-transform-name=* | --program-transform-name=* \
674 | --program-transform-nam=* | --program-transform-na=* \
675 | --program-transform-n=* | --program-transform-=* \
676 | --program-transform=* | --program-transfor=* \
677 | --program-transfo=* | --program-transf=* \
678 | --program-trans=* | --program-tran=* \
679 | --progr-tra=* | --program-tr=* | --program-t=*)
680 program_transform_name
="$ac_optarg" ;;
682 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
683 | -silent | --silent | --silen | --sile | --sil)
686 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
688 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
690 sbindir
="$ac_optarg" ;;
692 -sharedstatedir | --sharedstatedir | --sharedstatedi \
693 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
694 | --sharedst | --shareds | --shared | --share | --shar \
696 ac_prev
=sharedstatedir
;;
697 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
698 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
699 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
701 sharedstatedir
="$ac_optarg" ;;
703 -site | --site | --sit)
705 -site=* | --site=* | --sit=*)
708 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
710 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
711 srcdir
="$ac_optarg" ;;
713 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
714 | --syscon | --sysco | --sysc | --sys | --sy)
715 ac_prev
=sysconfdir
;;
716 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
717 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
718 sysconfdir
="$ac_optarg" ;;
720 -target | --target | --targe | --targ | --tar | --ta | --t)
722 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
723 target
="$ac_optarg" ;;
725 -v | -verbose | --verbose | --verbos | --verbo | --verb)
728 -version | --version | --versio | --versi | --vers)
729 echo "configure generated by autoconf version 2.13"
733 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
734 # Reject names that are not valid shell variable names.
735 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
736 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
738 ac_package
=`echo $ac_package| sed 's/-/_/g'`
743 eval "with_${ac_package}='$ac_optarg'" ;;
745 -without-* | --without-*)
746 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
747 # Reject names that are not valid shell variable names.
748 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
749 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
751 ac_package
=`echo $ac_package| sed 's/-/_/g'`
752 eval "with_${ac_package}=no" ;;
755 # Obsolete; use --with-x.
758 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
759 | --x-incl | --x-inc | --x-in | --x-i)
760 ac_prev
=x_includes
;;
761 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
762 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
763 x_includes
="$ac_optarg" ;;
765 -x-libraries | --x-libraries | --x-librarie | --x-librari \
766 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
767 ac_prev
=x_libraries
;;
768 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
769 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
770 x_libraries
="$ac_optarg" ;;
772 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
776 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
777 echo "configure: warning: $ac_option: invalid host type" 1>&2
779 if test "x$nonopt" != xNONE
; then
780 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
788 if test -n "$ac_prev"; then
789 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
792 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
794 # File descriptor usage:
797 # 2 errors and warnings
798 # 3 some systems may open it to /dev/tty
799 # 4 used on the Kubota Titan
800 # 6 checking for... messages and results
801 # 5 compiler messages saved in config.log
802 if test "$silent" = yes; then
810 This file contains any messages produced by compilers while
811 running configure, to aid debugging if configure makes a mistake.
814 # Strip out --no-create and --no-recursion so they do not pile up.
815 # Also quote any args containing shell metacharacters.
820 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
821 | --no-cr | --no-c) ;;
822 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
823 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
824 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
825 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
826 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
831 # Only set these to C if already set. These must not be set unconditionally
832 # because not all systems understand e.g. LANG=C (notably SCO).
833 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
834 # Non-C LC_CTYPE values break the ctype check.
835 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
836 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
837 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
838 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
840 # confdefs.h avoids OS command line length limits that DEFS can exceed.
841 rm -rf conftest
* confdefs.h
842 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
845 # A filename unique to this package, relative to the directory that
846 # configure is in, which we can look for to find out if srcdir is correct.
847 ac_unique_file
=wx
-config.
in
849 # Find the source files, if location was not specified.
850 if test -z "$srcdir"; then
851 ac_srcdir_defaulted
=yes
852 # Try the directory containing this script, then its parent.
854 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
855 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
857 if test ! -r $srcdir/$ac_unique_file; then
861 ac_srcdir_defaulted
=no
863 if test ! -r $srcdir/$ac_unique_file; then
864 if test "$ac_srcdir_defaulted" = yes; then
865 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
867 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
870 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
872 # Prefer explicitly selected file to automatically selected ones.
873 if test -z "$CONFIG_SITE"; then
874 if test "x$prefix" != xNONE
; then
875 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
877 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
880 for ac_site_file
in $CONFIG_SITE; do
881 if test -r "$ac_site_file"; then
882 echo "loading site script $ac_site_file"
887 if test -r "$cache_file"; then
888 echo "loading cache $cache_file"
891 echo "creating cache $cache_file"
896 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
897 ac_cpp
='$CPP $CPPFLAGS'
898 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
899 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
900 cross_compiling
=$ac_cv_prog_cc_cross
904 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
905 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
906 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
913 ac_n
= ac_c
='\c' ac_t
=
919 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
920 if test -f $ac_dir/install-sh; then
922 ac_install_sh
="$ac_aux_dir/install-sh -c"
924 elif test -f $ac_dir/install.sh
; then
926 ac_install_sh
="$ac_aux_dir/install.sh -c"
930 if test -z "$ac_aux_dir"; then
931 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
933 ac_config_guess
=$ac_aux_dir/config.guess
934 ac_config_sub
=$ac_aux_dir/config.sub
935 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
938 # Do some error checking and defaulting for the host and target type.
940 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
943 # 1. You are not allowed to specify --host, --target, and nonopt at the
945 # 2. Host defaults to nonopt.
946 # 3. If nonopt is not specified, then host defaults to the current host,
947 # as determined by config.guess.
948 # 4. Target and build default to nonopt.
949 # 5. If nonopt is not specified, then target and build default to host.
951 # The aliases save the names the user supplied, while $host etc.
952 # will get canonicalized.
953 case $host---$target---$nonopt in
954 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
955 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
959 # Make sure we can run config.sub.
960 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
961 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
964 echo $ac_n "checking host system type""... $ac_c" 1>&6
965 echo "configure:966: checking host system type" >&5
968 case "$host_alias" in
972 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
973 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
975 *) host_alias
=$nonopt ;;
979 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
980 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
981 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
982 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
983 echo "$ac_t""$host" 1>&6
985 echo $ac_n "checking target system type""... $ac_c" 1>&6
986 echo "configure:987: checking target system type" >&5
989 case "$target_alias" in
992 NONE
) target_alias
=$host_alias ;;
993 *) target_alias
=$nonopt ;;
997 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
998 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
999 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1000 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1001 echo "$ac_t""$target" 1>&6
1003 echo $ac_n "checking build system type""... $ac_c" 1>&6
1004 echo "configure:1005: checking build system type" >&5
1007 case "$build_alias" in
1010 NONE
) build_alias
=$host_alias ;;
1011 *) build_alias
=$nonopt ;;
1015 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1016 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1017 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1018 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1019 echo "$ac_t""$build" 1>&6
1021 test "$host_alias" != "$target_alias" &&
1022 test "$program_prefix$program_suffix$program_transform_name" = \
1024 program_prefix
=${target_alias}-
1028 WX_MAJOR_VERSION_NUMBER
=2
1029 WX_MINOR_VERSION_NUMBER
=3
1032 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
1033 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1035 WX_MSW_VERSION
=$WX_MAJOR_VERSION_NUMBER$WX_MINOR_VERSION_NUMBER$WX_RELEASE_NUMBER
1069 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1071 CPP_MT_FLAG
=-D_REENTRANT
1073 ALL_TOOLKITS
="GTK MAC MGL MICROWIN MOTIF MSW PM WINE"
1078 DEFAULT_wxUSE_MICROWIN
=0
1079 DEFAULT_wxUSE_MOTIF
=0
1082 DEFAULT_wxUSE_WINE
=0
1084 DEFAULT_DEFAULT_wxUSE_GTK
=0
1085 DEFAULT_DEFAULT_wxUSE_MAC
=0
1086 DEFAULT_DEFAULT_wxUSE_MGL
=0
1087 DEFAULT_DEFAULT_wxUSE_MICROWIN
=0
1088 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1089 DEFAULT_DEFAULT_wxUSE_MSW
=0
1090 DEFAULT_DEFAULT_wxUSE_PM
=0
1091 DEFAULT_DEFAULT_wxUSE_WINE
=0
1099 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1100 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1102 cat >> confdefs.h
<<\EOF
1109 cat >> confdefs.h
<<\EOF
1114 if test "x$TMP" = "xalpha"; then
1116 cat >> confdefs.h
<<\EOF
1121 DEFAULT_DEFAULT_wxUSE_GTK
=1
1123 *-*-irix5* | *-*-irix6* )
1126 cat >> confdefs.h
<<\EOF
1130 cat >> confdefs.h
<<\EOF
1134 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1140 cat >> confdefs.h
<<\EOF
1144 cat >> confdefs.h
<<\EOF
1145 #define __SOLARIS__ 1
1148 cat >> confdefs.h
<<\EOF
1152 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1153 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1159 cat >> confdefs.h
<<\EOF
1163 cat >> confdefs.h
<<\EOF
1167 cat >> confdefs.h
<<\EOF
1171 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1176 CPP_MT_FLAG
=-D_THREAD_SAFE
1177 cat >> confdefs.h
<<\EOF
1178 #define __FREEBSD__ 1
1181 cat >> confdefs.h
<<\EOF
1185 DEFAULT_DEFAULT_wxUSE_GTK
=1
1190 cat >> confdefs.h
<<\EOF
1191 #define __FREEBSD__ 1
1194 cat >> confdefs.h
<<\EOF
1195 #define __OPENBSD__ 1
1198 DEFAULT_DEFAULT_wxUSE_GTK
=1
1203 cat >> confdefs.h
<<\EOF
1204 #define __FREEBSD__ 1
1207 cat >> confdefs.h
<<\EOF
1208 #define __NETBSD__ 1
1211 DEFAULT_DEFAULT_wxUSE_GTK
=1
1216 cat >> confdefs.h
<<\EOF
1220 cat >> confdefs.h
<<\EOF
1224 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1225 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1230 cat >> confdefs.h
<<\EOF
1234 cat >> confdefs.h
<<\EOF
1238 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1243 cat >> confdefs.h
<<\EOF
1247 cat >> confdefs.h
<<\EOF
1251 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1257 cat >> confdefs.h
<<\EOF
1261 cat >> confdefs.h
<<\EOF
1265 cat >> confdefs.h
<<\EOF
1269 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1272 *-*-cygwin* | *-*-mingw32* )
1276 cat >> confdefs.h
<<\EOF
1280 cat >> confdefs.h
<<\EOF
1284 cat >> confdefs.h
<<\EOF
1285 #define __WINDOWS__ 1
1288 cat >> confdefs.h
<<\EOF
1289 #define __GNUWIN32__ 1
1292 cat >> confdefs.h
<<\EOF
1296 cat >> confdefs.h
<<\EOF
1297 #define WINVER 0x0400
1302 DEFAULT_DEFAULT_wxUSE_MSW
=1
1308 cat >> confdefs.h
<<\EOF
1313 DEFAULT_DEFAULT_wxUSE_MGL
=1
1314 DEFAULT_DEFAULT_wxUSE_SHARED
=0
1317 *-pc-os2_emx | *-pc-os2-emx )
1318 cat >> confdefs.h
<<\EOF
1323 DEFAULT_DEFAULT_wxUSE_PM
=1
1331 cat >> confdefs.h
<<\EOF
1335 cat >> confdefs.h
<<\EOF
1336 #define __DARWIN__ 1
1339 cat >> confdefs.h
<<\EOF
1340 #define __POWERPC__ 1
1343 DEFAULT_DEFAULT_wxUSE_MAC
=1
1348 cat >> confdefs.h
<<\EOF
1355 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1358 if test "$USE_UNIX" = 1 ; then
1360 cat >> confdefs.h
<<\EOF
1366 if test "$USE_LINUX" = 1; then
1367 echo $ac_n "checking for glibc 2.1 or later""... $ac_c" 1>&6
1368 echo "configure:1369: checking for glibc 2.1 or later" >&5
1369 if eval "test \"`echo '$''{'wx_lib_glibc21'+set}'`\" = set"; then
1370 echo $ac_n "(cached) $ac_c" 1>&6
1373 cat > conftest.
$ac_ext <<EOF
1374 #line 1375 "configure"
1375 #include "confdefs.h"
1376 #include <features.h>
1379 #if !__GLIBC_PREREQ(2, 1)
1385 if { (eval echo configure
:1386: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1391 echo "configure: failed program was:" >&5
1392 cat conftest.
$ac_ext >&5
1403 echo "$ac_t""$wx_lib_glibc21" 1>&6
1404 if test "$wx_lib_glibc21" = "yes"; then
1405 cat >> confdefs.h
<<\EOF
1406 #define wxHAVE_GLIBC2 1
1415 wx_arg_cache_file
="configarg.cache"
1416 echo "loading argument cache $wx_arg_cache_file"
1417 rm -f ${wx_arg_cache_file}.tmp
1418 touch ${wx_arg_cache_file}.tmp
1419 touch ${wx_arg_cache_file}
1423 if test $DEBUG_CONFIGURE = 1; then
1424 DEFAULT_wxUSE_UNIVERSAL
=no
1426 DEFAULT_wxUSE_THREADS
=yes
1428 DEFAULT_wxUSE_SHARED
=yes
1429 DEFAULT_wxUSE_SONAME
=no
1430 DEFAULT_wxUSE_OPTIMISE
=no
1431 DEFAULT_wxUSE_PROFILE
=no
1432 DEFAULT_wxUSE_NO_DEPS
=no
1433 DEFAULT_wxUSE_NO_RTTI
=yes
1434 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1435 DEFAULT_wxUSE_PERMISSIVE
=no
1436 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1437 DEFAULT_wxUSE_DEBUG_INFO
=yes
1438 DEFAULT_wxUSE_DEBUG_GDB
=yes
1439 DEFAULT_wxUSE_MEM_TRACING
=no
1440 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1441 DEFAULT_wxUSE_DMALLOC
=no
1442 DEFAULT_wxUSE_PRECOMP
=yes
1443 DEFAULT_wxUSE_APPLE_IEEE
=no
1445 DEFAULT_wxUSE_LOG
=yes
1446 DEFAULT_wxUSE_LOGWINDOW
=no
1447 DEFAULT_wxUSE_LOGGUI
=no
1448 DEFAULT_wxUSE_LOGDIALOG
=no
1450 DEFAULT_wxUSE_GUI
=yes
1451 DEFAULT_wxUSE_CONTROLS
=no
1453 DEFAULT_wxUSE_REGEX
=no
1454 DEFAULT_wxUSE_ZLIB
=no
1455 DEFAULT_wxUSE_LIBPNG
=no
1456 DEFAULT_wxUSE_LIBJPEG
=no
1457 DEFAULT_wxUSE_LIBTIFF
=no
1458 DEFAULT_wxUSE_ODBC
=no
1459 DEFAULT_wxUSE_FREETYPE
=no
1460 DEFAULT_wxUSE_OPENGL
=no
1462 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1463 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1464 DEFAULT_wxUSE_STD_IOSTREAM
=no
1465 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1466 DEFAULT_wxUSE_DATETIME
=no
1467 DEFAULT_wxUSE_TIMEDATE
=no
1468 DEFAULT_wxUSE_TIMER
=no
1469 DEFAULT_wxUSE_STOPWATCH
=no
1470 DEFAULT_wxUSE_FILE
=no
1471 DEFAULT_wxUSE_FFILE
=no
1472 DEFAULT_wxUSE_TEXTBUFFER
=no
1473 DEFAULT_wxUSE_TEXTFILE
=no
1474 DEFAULT_wxUSE_WAVE
=no
1475 DEFAULT_wxUSE_INTL
=no
1476 DEFAULT_wxUSE_CONFIG
=no
1477 DEFAULT_wxUSE_FONTMAP
=no
1478 DEFAULT_wxUSE_STREAMS
=no
1479 DEFAULT_wxUSE_SOCKETS
=no
1480 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1481 DEFAULT_wxUSE_JOYSTICK
=no
1482 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1483 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1484 DEFAULT_wxUSE_LONGLONG
=no
1485 DEFAULT_wxUSE_GEOMETRY
=no
1487 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1488 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1489 DEFAULT_wxUSE_POSTSCRIPT
=no
1491 DEFAULT_wxUSE_X_RESOURCES
=no
1492 DEFAULT_wxUSE_CLIPBOARD
=no
1493 DEFAULT_wxUSE_TOOLTIPS
=no
1494 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1495 DEFAULT_wxUSE_DRAGIMAGE
=no
1496 DEFAULT_wxUSE_SPLINES
=no
1498 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1499 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1500 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1502 DEFAULT_wxUSE_PROLOGIO
=no
1503 DEFAULT_wxUSE_RESOURCES
=no
1504 DEFAULT_wxUSE_CONSTRAINTS
=no
1505 DEFAULT_wxUSE_IPC
=no
1506 DEFAULT_wxUSE_HELP
=no
1507 DEFAULT_wxUSE_MS_HTML_HELP
=no
1508 DEFAULT_wxUSE_WXHTML_HELP
=no
1509 DEFAULT_wxUSE_TREELAYOUT
=no
1510 DEFAULT_wxUSE_METAFILE
=no
1511 DEFAULT_wxUSE_MIMETYPE
=no
1512 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1514 DEFAULT_wxUSE_COMMONDLGS
=no
1515 DEFAULT_wxUSE_CHOICEDLG
=no
1516 DEFAULT_wxUSE_COLOURDLG
=no
1517 DEFAULT_wxUSE_DIRDLG
=no
1518 DEFAULT_wxUSE_FILEDLG
=no
1519 DEFAULT_wxUSE_FINDREPLDLG
=no
1520 DEFAULT_wxUSE_FONTDLG
=no
1521 DEFAULT_wxUSE_MSGDLG
=no
1522 DEFAULT_wxUSE_NUMBERDLG
=no
1523 DEFAULT_wxUSE_TEXTDLG
=no
1524 DEFAULT_wxUSE_SPLASH
=no
1525 DEFAULT_wxUSE_STARTUP_TIPS
=no
1526 DEFAULT_wxUSE_PROGRESSDLG
=no
1527 DEFAULT_wxUSE_WIZARDDLG
=no
1529 DEFAULT_wxUSE_MENUS
=no
1530 DEFAULT_wxUSE_MINIFRAME
=no
1531 DEFAULT_wxUSE_HTML
=no
1532 DEFAULT_wxUSE_FILESYSTEM
=no
1533 DEFAULT_wxUSE_FS_INET
=no
1534 DEFAULT_wxUSE_FS_ZIP
=no
1535 DEFAULT_wxUSE_BUSYINFO
=no
1536 DEFAULT_wxUSE_ZIPSTREAM
=no
1537 DEFAULT_wxUSE_VALIDATORS
=no
1539 DEFAULT_wxUSE_ACCEL
=no
1540 DEFAULT_wxUSE_BUTTON
=no
1541 DEFAULT_wxUSE_BMPBUTTON
=no
1542 DEFAULT_wxUSE_CALCTRL
=no
1543 DEFAULT_wxUSE_CARET
=no
1544 DEFAULT_wxUSE_CHECKBOX
=no
1545 DEFAULT_wxUSE_CHECKLST
=no
1546 DEFAULT_wxUSE_CHOICE
=no
1547 DEFAULT_wxUSE_COMBOBOX
=no
1548 DEFAULT_wxUSE_GAUGE
=no
1549 DEFAULT_wxUSE_GRID
=no
1550 DEFAULT_wxUSE_NEW_GRID
=no
1551 DEFAULT_wxUSE_IMAGLIST
=no
1552 DEFAULT_wxUSE_LISTBOX
=no
1553 DEFAULT_wxUSE_LISTCTRL
=no
1554 DEFAULT_wxUSE_NOTEBOOK
=no
1555 DEFAULT_wxUSE_PROPSHEET
=no
1556 DEFAULT_wxUSE_RADIOBOX
=no
1557 DEFAULT_wxUSE_RADIOBTN
=no
1558 DEFAULT_wxUSE_SASH
=no
1559 DEFAULT_wxUSE_SCROLLBAR
=no
1560 DEFAULT_wxUSE_SLIDER
=no
1561 DEFAULT_wxUSE_SPINBTN
=no
1562 DEFAULT_wxUSE_SPINCTRL
=no
1563 DEFAULT_wxUSE_SPLITTER
=no
1564 DEFAULT_wxUSE_STATBMP
=no
1565 DEFAULT_wxUSE_STATBOX
=no
1566 DEFAULT_wxUSE_STATLINE
=no
1567 DEFAULT_wxUSE_STATTEXT
=no
1568 DEFAULT_wxUSE_STATUSBAR
=yes
1569 DEFAULT_wxUSE_TABDIALOG
=no
1570 DEFAULT_wxUSE_TEXTCTRL
=no
1571 DEFAULT_wxUSE_TOGGLEBTN
=no
1572 DEFAULT_wxUSE_TOOLBAR
=no
1573 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1574 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1575 DEFAULT_wxUSE_TREECTRL
=no
1576 DEFAULT_wxUSE_POPUPWIN
=no
1577 DEFAULT_wxUSE_TIPWINDOW
=no
1579 DEFAULT_wxUSE_UNICODE
=no
1580 DEFAULT_wxUSE_UNICODE_MSLU
=no
1581 DEFAULT_wxUSE_WCSRTOMBS
=no
1583 DEFAULT_wxUSE_PALETTE
=no
1584 DEFAULT_wxUSE_IMAGE
=no
1585 DEFAULT_wxUSE_GIF
=no
1586 DEFAULT_wxUSE_PCX
=no
1587 DEFAULT_wxUSE_PNM
=no
1588 DEFAULT_wxUSE_XPM
=no
1590 DEFAULT_wxUSE_UNIVERSAL
=no
1592 DEFAULT_wxUSE_THREADS
=yes
1594 DEFAULT_wxUSE_SHARED
=yes
1595 DEFAULT_wxUSE_SONAME
=no
1596 DEFAULT_wxUSE_OPTIMISE
=yes
1597 DEFAULT_wxUSE_PROFILE
=no
1598 DEFAULT_wxUSE_NO_DEPS
=no
1599 DEFAULT_wxUSE_NO_RTTI
=yes
1600 DEFAULT_wxUSE_NO_EXCEPTIONS
=yes
1601 DEFAULT_wxUSE_PERMISSIVE
=no
1602 DEFAULT_wxUSE_DEBUG_FLAG
=no
1603 DEFAULT_wxUSE_DEBUG_INFO
=no
1604 DEFAULT_wxUSE_DEBUG_GDB
=no
1605 DEFAULT_wxUSE_MEM_TRACING
=no
1606 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1607 DEFAULT_wxUSE_DMALLOC
=no
1608 DEFAULT_wxUSE_PRECOMP
=yes
1609 DEFAULT_wxUSE_APPLE_IEEE
=yes
1611 DEFAULT_wxUSE_LOG
=yes
1612 DEFAULT_wxUSE_LOGWINDOW
=yes
1613 DEFAULT_wxUSE_LOGGUI
=yes
1614 DEFAULT_wxUSE_LOGDIALOG
=yes
1616 DEFAULT_wxUSE_GUI
=yes
1618 DEFAULT_wxUSE_REGEX
=yes
1619 DEFAULT_wxUSE_ZLIB
=yes
1620 DEFAULT_wxUSE_LIBPNG
=yes
1621 DEFAULT_wxUSE_LIBJPEG
=yes
1622 DEFAULT_wxUSE_LIBTIFF
=yes
1623 DEFAULT_wxUSE_ODBC
=no
1624 DEFAULT_wxUSE_FREETYPE
=no
1625 DEFAULT_wxUSE_OPENGL
=no
1627 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1628 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1629 DEFAULT_wxUSE_STD_IOSTREAM
=no
1630 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1631 DEFAULT_wxUSE_DATETIME
=yes
1632 DEFAULT_wxUSE_TIMEDATE
=no
1633 DEFAULT_wxUSE_TIMER
=yes
1634 DEFAULT_wxUSE_STOPWATCH
=yes
1635 DEFAULT_wxUSE_FILE
=yes
1636 DEFAULT_wxUSE_FFILE
=yes
1637 DEFAULT_wxUSE_TEXTBUFFER
=yes
1638 DEFAULT_wxUSE_TEXTFILE
=yes
1639 DEFAULT_wxUSE_WAVE
=no
1640 DEFAULT_wxUSE_INTL
=yes
1641 DEFAULT_wxUSE_CONFIG
=yes
1642 DEFAULT_wxUSE_FONTMAP
=yes
1643 DEFAULT_wxUSE_STREAMS
=yes
1644 DEFAULT_wxUSE_SOCKETS
=yes
1645 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1646 DEFAULT_wxUSE_JOYSTICK
=yes
1647 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1648 DEFAULT_wxUSE_DYNAMIC_LOADER
=no
1649 DEFAULT_wxUSE_LONGLONG
=yes
1650 DEFAULT_wxUSE_GEOMETRY
=yes
1652 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1653 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1654 DEFAULT_wxUSE_POSTSCRIPT
=yes
1656 DEFAULT_wxUSE_X_RESOURCES
=no
1657 DEFAULT_wxUSE_CLIPBOARD
=yes
1658 DEFAULT_wxUSE_TOOLTIPS
=yes
1659 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1660 DEFAULT_wxUSE_DRAGIMAGE
=yes
1661 DEFAULT_wxUSE_SPLINES
=yes
1663 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1664 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1665 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1667 DEFAULT_wxUSE_PROLOGIO
=yes
1668 DEFAULT_wxUSE_RESOURCES
=yes
1669 DEFAULT_wxUSE_CONSTRAINTS
=yes
1670 DEFAULT_wxUSE_IPC
=yes
1671 DEFAULT_wxUSE_HELP
=yes
1672 DEFAULT_wxUSE_MS_HTML_HELP
=yes
1673 DEFAULT_wxUSE_WXHTML_HELP
=yes
1674 DEFAULT_wxUSE_TREELAYOUT
=yes
1675 DEFAULT_wxUSE_METAFILE
=yes
1676 DEFAULT_wxUSE_MIMETYPE
=yes
1677 DEFAULT_wxUSE_SYSTEM_OPTIONS
=yes
1679 DEFAULT_wxUSE_COMMONDLGS
=yes
1680 DEFAULT_wxUSE_CHOICEDLG
=yes
1681 DEFAULT_wxUSE_COLOURDLG
=yes
1682 DEFAULT_wxUSE_DIRDLG
=yes
1683 DEFAULT_wxUSE_FILEDLG
=yes
1684 DEFAULT_wxUSE_FINDREPLDLG
=yes
1685 DEFAULT_wxUSE_FONTDLG
=yes
1686 DEFAULT_wxUSE_MSGDLG
=yes
1687 DEFAULT_wxUSE_NUMBERDLG
=yes
1688 DEFAULT_wxUSE_TEXTDLG
=yes
1689 DEFAULT_wxUSE_SPLASH
=yes
1690 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1691 DEFAULT_wxUSE_PROGRESSDLG
=yes
1692 DEFAULT_wxUSE_WIZARDDLG
=yes
1694 DEFAULT_wxUSE_MENUS
=yes
1695 DEFAULT_wxUSE_MINIFRAME
=yes
1696 DEFAULT_wxUSE_HTML
=yes
1697 DEFAULT_wxUSE_FILESYSTEM
=yes
1698 DEFAULT_wxUSE_FS_INET
=yes
1699 DEFAULT_wxUSE_FS_ZIP
=yes
1700 DEFAULT_wxUSE_BUSYINFO
=yes
1701 DEFAULT_wxUSE_ZIPSTREAM
=yes
1702 DEFAULT_wxUSE_VALIDATORS
=yes
1704 DEFAULT_wxUSE_ACCEL
=yes
1705 DEFAULT_wxUSE_BUTTON
=yes
1706 DEFAULT_wxUSE_BMPBUTTON
=yes
1707 DEFAULT_wxUSE_CALCTRL
=yes
1708 DEFAULT_wxUSE_CARET
=yes
1709 DEFAULT_wxUSE_CHECKBOX
=yes
1710 DEFAULT_wxUSE_CHECKLST
=yes
1711 DEFAULT_wxUSE_CHOICE
=yes
1712 DEFAULT_wxUSE_COMBOBOX
=yes
1713 DEFAULT_wxUSE_GAUGE
=yes
1714 DEFAULT_wxUSE_GRID
=yes
1715 DEFAULT_wxUSE_NEW_GRID
=yes
1716 DEFAULT_wxUSE_IMAGLIST
=yes
1717 DEFAULT_wxUSE_LISTBOX
=yes
1718 DEFAULT_wxUSE_LISTCTRL
=yes
1719 DEFAULT_wxUSE_NOTEBOOK
=yes
1720 DEFAULT_wxUSE_PROPSHEET
=yes
1721 DEFAULT_wxUSE_RADIOBOX
=yes
1722 DEFAULT_wxUSE_RADIOBTN
=yes
1723 DEFAULT_wxUSE_SASH
=yes
1724 DEFAULT_wxUSE_SCROLLBAR
=yes
1725 DEFAULT_wxUSE_SLIDER
=yes
1726 DEFAULT_wxUSE_SPINBTN
=yes
1727 DEFAULT_wxUSE_SPINCTRL
=yes
1728 DEFAULT_wxUSE_SPLITTER
=yes
1729 DEFAULT_wxUSE_STATBMP
=yes
1730 DEFAULT_wxUSE_STATBOX
=yes
1731 DEFAULT_wxUSE_STATLINE
=yes
1732 DEFAULT_wxUSE_STATTEXT
=yes
1733 DEFAULT_wxUSE_STATUSBAR
=yes
1734 DEFAULT_wxUSE_TABDIALOG
=no
1735 DEFAULT_wxUSE_TEXTCTRL
=yes
1736 DEFAULT_wxUSE_TOGGLEBTN
=yes
1737 DEFAULT_wxUSE_TOOLBAR
=yes
1738 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1739 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1740 DEFAULT_wxUSE_TREECTRL
=yes
1741 DEFAULT_wxUSE_POPUPWIN
=yes
1742 DEFAULT_wxUSE_TIPWINDOW
=yes
1744 DEFAULT_wxUSE_UNICODE
=no
1745 DEFAULT_wxUSE_UNICODE_MSLU
=yes
1746 DEFAULT_wxUSE_WCSRTOMBS
=no
1748 DEFAULT_wxUSE_PALETTE
=yes
1749 DEFAULT_wxUSE_IMAGE
=yes
1750 DEFAULT_wxUSE_GIF
=yes
1751 DEFAULT_wxUSE_PCX
=yes
1752 DEFAULT_wxUSE_PNM
=yes
1753 DEFAULT_wxUSE_XPM
=yes
1758 for toolkit
in `echo $ALL_TOOLKITS`; do
1759 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1760 if test "x$LINE" != x
; then
1761 has_toolkit_in_cache
=1
1762 eval "DEFAULT_$LINE"
1763 eval "CACHE_$toolkit=1"
1769 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1770 echo "configure:1771: checking for --enable-gui" >&5
1772 # Check whether --enable-gui or --disable-gui was given.
1773 if test "${enable_gui+set}" = set; then
1774 enableval
="$enable_gui"
1776 if test "$enableval" = yes; then
1777 ac_cv_use_gui
='wxUSE_GUI=yes'
1779 ac_cv_use_gui
='wxUSE_GUI=no'
1784 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1785 if test "x$LINE" != x
; then
1786 eval "DEFAULT_$LINE"
1791 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1796 eval "$ac_cv_use_gui"
1797 if test "$no_cache" != 1; then
1798 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1801 if test "$wxUSE_GUI" = yes; then
1802 echo "$ac_t""yes" 1>&6
1804 echo "$ac_t""no" 1>&6
1808 if test "$wxUSE_GUI" = "yes"; then
1811 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1812 echo "configure:1813: checking for --enable-universal" >&5
1814 # Check whether --enable-universal or --disable-universal was given.
1815 if test "${enable_universal+set}" = set; then
1816 enableval
="$enable_universal"
1818 if test "$enableval" = yes; then
1819 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1821 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1826 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1827 if test "x$LINE" != x
; then
1828 eval "DEFAULT_$LINE"
1833 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1838 eval "$ac_cv_use_universal"
1839 if test "$no_cache" != 1; then
1840 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1843 if test "$wxUSE_UNIVERSAL" = yes; then
1844 echo "$ac_t""yes" 1>&6
1846 echo "$ac_t""no" 1>&6
1849 # Check whether --with-gtk or --without-gtk was given.
1850 if test "${with_gtk+set}" = set; then
1852 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1855 # Check whether --with-motif or --without-motif was given.
1856 if test "${with_motif+set}" = set; then
1857 withval
="$with_motif"
1858 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1861 # Check whether --with-mac or --without-mac was given.
1862 if test "${with_mac+set}" = set; then
1864 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1867 # Check whether --with-wine or --without-wine was given.
1868 if test "${with_wine+set}" = set; then
1869 withval
="$with_wine"
1870 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1873 # Check whether --with-msw or --without-msw was given.
1874 if test "${with_msw+set}" = set; then
1876 wxUSE_MSW
="$withval" CACHE_MSW TOOLKIT_GIVEN
=1
1879 # Check whether --with-pm or --without-pm was given.
1880 if test "${with_pm+set}" = set; then
1882 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1885 # Check whether --with-mgl or --without-mgl was given.
1886 if test "${with_mgl+set}" = set; then
1888 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1891 # Check whether --with-microwin or --without-microwin was given.
1892 if test "${with_microwin+set}" = set; then
1893 withval
="$with_microwin"
1894 wxUSE_MICROWIN
="$withval" CACHE_MICROWIN
=1 TOOLKIT_GIVEN
=1
1898 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1899 if test "${enable_gtk2+set}" = set; then
1900 enableval
="$enable_gtk2"
1908 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1909 echo "configure:1910: checking for --with-libpng" >&5
1911 # Check whether --with-libpng or --without-libpng was given.
1912 if test "${with_libpng+set}" = set; then
1913 withval
="$with_libpng"
1915 if test "$withval" = yes; then
1916 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1917 elif test "$withval" = no
; then
1918 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1919 elif test "$withval" = sys
; then
1920 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1921 elif test "$withval" = builtin; then
1922 ac_cv_use_libpng
='wxUSE_LIBPNG=builtin'
1924 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1929 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1930 if test "x$LINE" != x
; then
1931 eval "DEFAULT_$LINE"
1936 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1941 eval "$ac_cv_use_libpng"
1942 if test "$no_cache" != 1; then
1943 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1946 if test "$wxUSE_LIBPNG" = yes; then
1947 echo "$ac_t""yes" 1>&6
1948 elif test "$wxUSE_LIBPNG" = no
; then
1949 echo "$ac_t""no" 1>&6
1950 elif test "$wxUSE_LIBPNG" = sys
; then
1951 echo "$ac_t""system version" 1>&6
1952 elif test "$wxUSE_LIBPNG" = builtin; then
1953 echo "$ac_t""builtin version" 1>&6
1955 { echo "configure: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1959 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1960 echo "configure:1961: checking for --with-libjpeg" >&5
1962 # Check whether --with-libjpeg or --without-libjpeg was given.
1963 if test "${with_libjpeg+set}" = set; then
1964 withval
="$with_libjpeg"
1966 if test "$withval" = yes; then
1967 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1968 elif test "$withval" = no
; then
1969 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1970 elif test "$withval" = sys
; then
1971 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1972 elif test "$withval" = builtin; then
1973 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=builtin'
1975 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
1980 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1981 if test "x$LINE" != x
; then
1982 eval "DEFAULT_$LINE"
1987 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1992 eval "$ac_cv_use_libjpeg"
1993 if test "$no_cache" != 1; then
1994 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1997 if test "$wxUSE_LIBJPEG" = yes; then
1998 echo "$ac_t""yes" 1>&6
1999 elif test "$wxUSE_LIBJPEG" = no
; then
2000 echo "$ac_t""no" 1>&6
2001 elif test "$wxUSE_LIBJPEG" = sys
; then
2002 echo "$ac_t""system version" 1>&6
2003 elif test "$wxUSE_LIBJPEG" = builtin; then
2004 echo "$ac_t""builtin version" 1>&6
2006 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2010 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
2011 echo "configure:2012: checking for --with-libtiff" >&5
2013 # Check whether --with-libtiff or --without-libtiff was given.
2014 if test "${with_libtiff+set}" = set; then
2015 withval
="$with_libtiff"
2017 if test "$withval" = yes; then
2018 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
2019 elif test "$withval" = no
; then
2020 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
2021 elif test "$withval" = sys
; then
2022 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
2023 elif test "$withval" = builtin; then
2024 ac_cv_use_libtiff
='wxUSE_LIBTIFF=builtin'
2026 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2031 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
2032 if test "x$LINE" != x
; then
2033 eval "DEFAULT_$LINE"
2038 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
2043 eval "$ac_cv_use_libtiff"
2044 if test "$no_cache" != 1; then
2045 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
2048 if test "$wxUSE_LIBTIFF" = yes; then
2049 echo "$ac_t""yes" 1>&6
2050 elif test "$wxUSE_LIBTIFF" = no
; then
2051 echo "$ac_t""no" 1>&6
2052 elif test "$wxUSE_LIBTIFF" = sys
; then
2053 echo "$ac_t""system version" 1>&6
2054 elif test "$wxUSE_LIBTIFF" = builtin; then
2055 echo "$ac_t""builtin version" 1>&6
2057 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2061 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
2062 echo "configure:2063: checking for --with-freetype" >&5
2064 # Check whether --with-freetype or --without-freetype was given.
2065 if test "${with_freetype+set}" = set; then
2066 withval
="$with_freetype"
2068 if test "$withval" = yes; then
2069 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
2070 elif test "$withval" = no
; then
2071 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
2072 elif test "$withval" = sys
; then
2073 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
2074 elif test "$withval" = builtin; then
2075 ac_cv_use_freetype
='wxUSE_FREETYPE=builtin'
2077 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2082 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
2083 if test "x$LINE" != x
; then
2084 eval "DEFAULT_$LINE"
2089 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
2094 eval "$ac_cv_use_freetype"
2095 if test "$no_cache" != 1; then
2096 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
2099 if test "$wxUSE_FREETYPE" = yes; then
2100 echo "$ac_t""yes" 1>&6
2101 elif test "$wxUSE_FREETYPE" = no
; then
2102 echo "$ac_t""no" 1>&6
2103 elif test "$wxUSE_FREETYPE" = sys
; then
2104 echo "$ac_t""system version" 1>&6
2105 elif test "$wxUSE_FREETYPE" = builtin; then
2106 echo "$ac_t""builtin version" 1>&6
2108 { echo "configure: error: Invalid value for --with-freetype: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2112 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
2113 echo "configure:2114: checking for --with-opengl" >&5
2115 # Check whether --with-opengl or --without-opengl was given.
2116 if test "${with_opengl+set}" = set; then
2117 withval
="$with_opengl"
2119 if test "$withval" = yes; then
2120 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2122 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2127 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2128 if test "x$LINE" != x
; then
2129 eval "DEFAULT_$LINE"
2134 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2139 eval "$ac_cv_use_opengl"
2140 if test "$no_cache" != 1; then
2141 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2144 if test "$wxUSE_OPENGL" = yes; then
2145 echo "$ac_t""yes" 1>&6
2147 echo "$ac_t""no" 1>&6
2154 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2155 echo "configure:2156: checking for --with-dmalloc" >&5
2157 # Check whether --with-dmalloc or --without-dmalloc was given.
2158 if test "${with_dmalloc+set}" = set; then
2159 withval
="$with_dmalloc"
2161 if test "$withval" = yes; then
2162 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2164 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2169 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2170 if test "x$LINE" != x
; then
2171 eval "DEFAULT_$LINE"
2176 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2181 eval "$ac_cv_use_dmalloc"
2182 if test "$no_cache" != 1; then
2183 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2186 if test "$wxUSE_DMALLOC" = yes; then
2187 echo "$ac_t""yes" 1>&6
2189 echo "$ac_t""no" 1>&6
2193 echo $ac_n "checking for --with-regex""... $ac_c" 1>&6
2194 echo "configure:2195: checking for --with-regex" >&5
2196 # Check whether --with-regex or --without-regex was given.
2197 if test "${with_regex+set}" = set; then
2198 withval
="$with_regex"
2200 if test "$withval" = yes; then
2201 ac_cv_use_regex
='wxUSE_REGEX=yes'
2202 elif test "$withval" = no
; then
2203 ac_cv_use_regex
='wxUSE_REGEX=no'
2204 elif test "$withval" = sys
; then
2205 ac_cv_use_regex
='wxUSE_REGEX=sys'
2206 elif test "$withval" = builtin; then
2207 ac_cv_use_regex
='wxUSE_REGEX=builtin'
2209 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2214 LINE
=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
2215 if test "x$LINE" != x
; then
2216 eval "DEFAULT_$LINE"
2221 ac_cv_use_regex
='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
2226 eval "$ac_cv_use_regex"
2227 if test "$no_cache" != 1; then
2228 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
2231 if test "$wxUSE_REGEX" = yes; then
2232 echo "$ac_t""yes" 1>&6
2233 elif test "$wxUSE_REGEX" = no
; then
2234 echo "$ac_t""no" 1>&6
2235 elif test "$wxUSE_REGEX" = sys
; then
2236 echo "$ac_t""system version" 1>&6
2237 elif test "$wxUSE_REGEX" = builtin; then
2238 echo "$ac_t""builtin version" 1>&6
2240 { echo "configure: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2244 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2245 echo "configure:2246: checking for --with-zlib" >&5
2247 # Check whether --with-zlib or --without-zlib was given.
2248 if test "${with_zlib+set}" = set; then
2249 withval
="$with_zlib"
2251 if test "$withval" = yes; then
2252 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2253 elif test "$withval" = no
; then
2254 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2255 elif test "$withval" = sys
; then
2256 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2257 elif test "$withval" = builtin; then
2258 ac_cv_use_zlib
='wxUSE_ZLIB=builtin'
2260 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2265 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2266 if test "x$LINE" != x
; then
2267 eval "DEFAULT_$LINE"
2272 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2277 eval "$ac_cv_use_zlib"
2278 if test "$no_cache" != 1; then
2279 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2282 if test "$wxUSE_ZLIB" = yes; then
2283 echo "$ac_t""yes" 1>&6
2284 elif test "$wxUSE_ZLIB" = no
; then
2285 echo "$ac_t""no" 1>&6
2286 elif test "$wxUSE_ZLIB" = sys
; then
2287 echo "$ac_t""system version" 1>&6
2288 elif test "$wxUSE_ZLIB" = builtin; then
2289 echo "$ac_t""builtin version" 1>&6
2291 { echo "configure: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" 1>&2; exit 1; }
2295 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2296 echo "configure:2297: checking for --with-odbc" >&5
2298 # Check whether --with-odbc or --without-odbc was given.
2299 if test "${with_odbc+set}" = set; then
2300 withval
="$with_odbc"
2302 if test "$withval" = yes; then
2303 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2305 ac_cv_use_odbc
='wxUSE_ODBC=no'
2310 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2311 if test "x$LINE" != x
; then
2312 eval "DEFAULT_$LINE"
2317 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2322 eval "$ac_cv_use_odbc"
2323 if test "$no_cache" != 1; then
2324 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2327 if test "$wxUSE_ODBC" = yes; then
2328 echo "$ac_t""yes" 1>&6
2330 echo "$ac_t""no" 1>&6
2336 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2337 echo "configure:2338: checking for --enable-shared" >&5
2339 # Check whether --enable-shared or --disable-shared was given.
2340 if test "${enable_shared+set}" = set; then
2341 enableval
="$enable_shared"
2343 if test "$enableval" = yes; then
2344 ac_cv_use_shared
='wxUSE_SHARED=yes'
2346 ac_cv_use_shared
='wxUSE_SHARED=no'
2351 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2352 if test "x$LINE" != x
; then
2353 eval "DEFAULT_$LINE"
2358 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2363 eval "$ac_cv_use_shared"
2364 if test "$no_cache" != 1; then
2365 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2368 if test "$wxUSE_SHARED" = yes; then
2369 echo "$ac_t""yes" 1>&6
2371 echo "$ac_t""no" 1>&6
2375 echo $ac_n "checking for --enable-soname""... $ac_c" 1>&6
2376 echo "configure:2377: checking for --enable-soname" >&5
2378 # Check whether --enable-soname or --disable-soname was given.
2379 if test "${enable_soname+set}" = set; then
2380 enableval
="$enable_soname"
2382 if test "$enableval" = yes; then
2383 ac_cv_use_soname
='wxUSE_SONAME=yes'
2385 ac_cv_use_soname
='wxUSE_SONAME=no'
2390 LINE
=`grep "wxUSE_SONAME" ${wx_arg_cache_file}`
2391 if test "x$LINE" != x
; then
2392 eval "DEFAULT_$LINE"
2397 ac_cv_use_soname
='wxUSE_SONAME='$DEFAULT_wxUSE_SONAME
2402 eval "$ac_cv_use_soname"
2403 if test "$no_cache" != 1; then
2404 echo $ac_cv_use_soname >> ${wx_arg_cache_file}.tmp
2407 if test "$wxUSE_SONAME" = yes; then
2408 echo "$ac_t""yes" 1>&6
2410 echo "$ac_t""no" 1>&6
2414 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2415 echo "configure:2416: checking for --enable-optimise" >&5
2417 # Check whether --enable-optimise or --disable-optimise was given.
2418 if test "${enable_optimise+set}" = set; then
2419 enableval
="$enable_optimise"
2421 if test "$enableval" = yes; then
2422 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2424 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2429 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2430 if test "x$LINE" != x
; then
2431 eval "DEFAULT_$LINE"
2436 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2441 eval "$ac_cv_use_optimise"
2442 if test "$no_cache" != 1; then
2443 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2446 if test "$wxUSE_OPTIMISE" = yes; then
2447 echo "$ac_t""yes" 1>&6
2449 echo "$ac_t""no" 1>&6
2453 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2454 echo "configure:2455: checking for --enable-debug" >&5
2456 # Check whether --enable-debug or --disable-debug was given.
2457 if test "${enable_debug+set}" = set; then
2458 enableval
="$enable_debug"
2460 if test "$enableval" = yes; then
2461 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2463 ac_cv_use_debug
='wxUSE_DEBUG=no'
2468 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2469 if test "x$LINE" != x
; then
2470 eval "DEFAULT_$LINE"
2475 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2480 eval "$ac_cv_use_debug"
2481 if test "$no_cache" != 1; then
2482 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2485 if test "$wxUSE_DEBUG" = yes; then
2486 echo "$ac_t""yes" 1>&6
2488 echo "$ac_t""no" 1>&6
2493 echo $ac_n "checking for --enable-precomp""... $ac_c" 1>&6
2494 echo "configure:2495: checking for --enable-precomp" >&5
2496 # Check whether --enable-precomp or --disable-precomp was given.
2497 if test "${enable_precomp+set}" = set; then
2498 enableval
="$enable_precomp"
2500 if test "$enableval" = yes; then
2501 ac_cv_use_precomp
='wxUSE_PRECOMP=yes'
2503 ac_cv_use_precomp
='wxUSE_PRECOMP=no'
2508 LINE
=`grep "wxUSE_PRECOMP" ${wx_arg_cache_file}`
2509 if test "x$LINE" != x
; then
2510 eval "DEFAULT_$LINE"
2515 ac_cv_use_precomp
='wxUSE_PRECOMP='$DEFAULT_wxUSE_PRECOMP
2520 eval "$ac_cv_use_precomp"
2521 if test "$no_cache" != 1; then
2522 echo $ac_cv_use_precomp >> ${wx_arg_cache_file}.tmp
2525 if test "$wxUSE_PRECOMP" = yes; then
2526 echo "$ac_t""yes" 1>&6
2528 echo "$ac_t""no" 1>&6
2532 if test "$wxUSE_DEBUG" = "yes"; then
2533 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2534 DEFAULT_wxUSE_DEBUG_INFO
=yes
2535 elif test "$wxUSE_DEBUG" = "no"; then
2536 DEFAULT_wxUSE_DEBUG_FLAG
=no
2537 DEFAULT_wxUSE_DEBUG_INFO
=no
2541 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2542 echo "configure:2543: checking for --enable-debug_flag" >&5
2544 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2545 if test "${enable_debug_flag+set}" = set; then
2546 enableval
="$enable_debug_flag"
2548 if test "$enableval" = yes; then
2549 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2551 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2556 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2557 if test "x$LINE" != x
; then
2558 eval "DEFAULT_$LINE"
2563 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2568 eval "$ac_cv_use_debug_flag"
2569 if test "$no_cache" != 1; then
2570 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2573 if test "$wxUSE_DEBUG_FLAG" = yes; then
2574 echo "$ac_t""yes" 1>&6
2576 echo "$ac_t""no" 1>&6
2580 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2581 echo "configure:2582: checking for --enable-debug_info" >&5
2583 # Check whether --enable-debug_info or --disable-debug_info was given.
2584 if test "${enable_debug_info+set}" = set; then
2585 enableval
="$enable_debug_info"
2587 if test "$enableval" = yes; then
2588 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2590 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2595 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2596 if test "x$LINE" != x
; then
2597 eval "DEFAULT_$LINE"
2602 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2607 eval "$ac_cv_use_debug_info"
2608 if test "$no_cache" != 1; then
2609 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2612 if test "$wxUSE_DEBUG_INFO" = yes; then
2613 echo "$ac_t""yes" 1>&6
2615 echo "$ac_t""no" 1>&6
2619 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2620 echo "configure:2621: checking for --enable-debug_gdb" >&5
2622 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2623 if test "${enable_debug_gdb+set}" = set; then
2624 enableval
="$enable_debug_gdb"
2626 if test "$enableval" = yes; then
2627 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2629 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2634 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2635 if test "x$LINE" != x
; then
2636 eval "DEFAULT_$LINE"
2641 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2646 eval "$ac_cv_use_debug_gdb"
2647 if test "$no_cache" != 1; then
2648 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2651 if test "$wxUSE_DEBUG_GDB" = yes; then
2652 echo "$ac_t""yes" 1>&6
2654 echo "$ac_t""no" 1>&6
2658 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2659 echo "configure:2660: checking for --enable-debug_cntxt" >&5
2661 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2662 if test "${enable_debug_cntxt+set}" = set; then
2663 enableval
="$enable_debug_cntxt"
2665 if test "$enableval" = yes; then
2666 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2668 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2673 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2674 if test "x$LINE" != x
; then
2675 eval "DEFAULT_$LINE"
2680 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2685 eval "$ac_cv_use_debug_cntxt"
2686 if test "$no_cache" != 1; then
2687 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2690 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2691 echo "$ac_t""yes" 1>&6
2693 echo "$ac_t""no" 1>&6
2697 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2698 echo "configure:2699: checking for --enable-mem_tracing" >&5
2700 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2701 if test "${enable_mem_tracing+set}" = set; then
2702 enableval
="$enable_mem_tracing"
2704 if test "$enableval" = yes; then
2705 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2707 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2712 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2713 if test "x$LINE" != x
; then
2714 eval "DEFAULT_$LINE"
2719 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2724 eval "$ac_cv_use_mem_tracing"
2725 if test "$no_cache" != 1; then
2726 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2729 if test "$wxUSE_MEM_TRACING" = yes; then
2730 echo "$ac_t""yes" 1>&6
2732 echo "$ac_t""no" 1>&6
2736 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2737 echo "configure:2738: checking for --enable-profile" >&5
2739 # Check whether --enable-profile or --disable-profile was given.
2740 if test "${enable_profile+set}" = set; then
2741 enableval
="$enable_profile"
2743 if test "$enableval" = yes; then
2744 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2746 ac_cv_use_profile
='wxUSE_PROFILE=no'
2751 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2752 if test "x$LINE" != x
; then
2753 eval "DEFAULT_$LINE"
2758 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2763 eval "$ac_cv_use_profile"
2764 if test "$no_cache" != 1; then
2765 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2768 if test "$wxUSE_PROFILE" = yes; then
2769 echo "$ac_t""yes" 1>&6
2771 echo "$ac_t""no" 1>&6
2775 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2776 echo "configure:2777: checking for --enable-no_rtti" >&5
2778 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2779 if test "${enable_no_rtti+set}" = set; then
2780 enableval
="$enable_no_rtti"
2782 if test "$enableval" = yes; then
2783 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2785 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2790 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2791 if test "x$LINE" != x
; then
2792 eval "DEFAULT_$LINE"
2797 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2802 eval "$ac_cv_use_no_rtti"
2803 if test "$no_cache" != 1; then
2804 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2807 if test "$wxUSE_NO_RTTI" = yes; then
2808 echo "$ac_t""yes" 1>&6
2810 echo "$ac_t""no" 1>&6
2814 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2815 echo "configure:2816: checking for --enable-no_exceptions" >&5
2817 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2818 if test "${enable_no_exceptions+set}" = set; then
2819 enableval
="$enable_no_exceptions"
2821 if test "$enableval" = yes; then
2822 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2824 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2829 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2830 if test "x$LINE" != x
; then
2831 eval "DEFAULT_$LINE"
2836 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2841 eval "$ac_cv_use_no_exceptions"
2842 if test "$no_cache" != 1; then
2843 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2846 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2847 echo "$ac_t""yes" 1>&6
2849 echo "$ac_t""no" 1>&6
2853 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2854 echo "configure:2855: checking for --enable-permissive" >&5
2856 # Check whether --enable-permissive or --disable-permissive was given.
2857 if test "${enable_permissive+set}" = set; then
2858 enableval
="$enable_permissive"
2860 if test "$enableval" = yes; then
2861 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2863 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2868 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2869 if test "x$LINE" != x
; then
2870 eval "DEFAULT_$LINE"
2875 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2880 eval "$ac_cv_use_permissive"
2881 if test "$no_cache" != 1; then
2882 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2885 if test "$wxUSE_PERMISSIVE" = yes; then
2886 echo "$ac_t""yes" 1>&6
2888 echo "$ac_t""no" 1>&6
2892 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2893 echo "configure:2894: checking for --enable-no_deps" >&5
2895 # Check whether --enable-no_deps or --disable-no_deps was given.
2896 if test "${enable_no_deps+set}" = set; then
2897 enableval
="$enable_no_deps"
2899 if test "$enableval" = yes; then
2900 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2902 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2907 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2908 if test "x$LINE" != x
; then
2909 eval "DEFAULT_$LINE"
2914 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2919 eval "$ac_cv_use_no_deps"
2920 if test "$no_cache" != 1; then
2921 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2924 if test "$wxUSE_NO_DEPS" = yes; then
2925 echo "$ac_t""yes" 1>&6
2927 echo "$ac_t""no" 1>&6
2932 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2933 echo "configure:2934: checking for --enable-compat20" >&5
2935 # Check whether --enable-compat20 or --disable-compat20 was given.
2936 if test "${enable_compat20+set}" = set; then
2937 enableval
="$enable_compat20"
2939 if test "$enableval" = yes; then
2940 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2942 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2947 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2948 if test "x$LINE" != x
; then
2949 eval "DEFAULT_$LINE"
2954 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2959 eval "$ac_cv_use_compat20"
2960 if test "$no_cache" != 1; then
2961 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2964 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2965 echo "$ac_t""yes" 1>&6
2967 echo "$ac_t""no" 1>&6
2971 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2972 echo "configure:2973: checking for --enable-compat22" >&5
2974 # Check whether --enable-compat22 or --disable-compat22 was given.
2975 if test "${enable_compat22+set}" = set; then
2976 enableval
="$enable_compat22"
2978 if test "$enableval" = yes; then
2979 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2981 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2986 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2987 if test "x$LINE" != x
; then
2988 eval "DEFAULT_$LINE"
2993 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2998 eval "$ac_cv_use_compat22"
2999 if test "$no_cache" != 1; then
3000 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
3003 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
3004 echo "$ac_t""yes" 1>&6
3006 echo "$ac_t""no" 1>&6
3012 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
3013 echo "configure:3014: checking for --enable-intl" >&5
3015 # Check whether --enable-intl or --disable-intl was given.
3016 if test "${enable_intl+set}" = set; then
3017 enableval
="$enable_intl"
3019 if test "$enableval" = yes; then
3020 ac_cv_use_intl
='wxUSE_INTL=yes'
3022 ac_cv_use_intl
='wxUSE_INTL=no'
3027 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
3028 if test "x$LINE" != x
; then
3029 eval "DEFAULT_$LINE"
3034 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
3039 eval "$ac_cv_use_intl"
3040 if test "$no_cache" != 1; then
3041 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
3044 if test "$wxUSE_INTL" = yes; then
3045 echo "$ac_t""yes" 1>&6
3047 echo "$ac_t""no" 1>&6
3051 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
3052 echo "configure:3053: checking for --enable-config" >&5
3054 # Check whether --enable-config or --disable-config was given.
3055 if test "${enable_config+set}" = set; then
3056 enableval
="$enable_config"
3058 if test "$enableval" = yes; then
3059 ac_cv_use_config
='wxUSE_CONFIG=yes'
3061 ac_cv_use_config
='wxUSE_CONFIG=no'
3066 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
3067 if test "x$LINE" != x
; then
3068 eval "DEFAULT_$LINE"
3073 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
3078 eval "$ac_cv_use_config"
3079 if test "$no_cache" != 1; then
3080 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
3083 if test "$wxUSE_CONFIG" = yes; then
3084 echo "$ac_t""yes" 1>&6
3086 echo "$ac_t""no" 1>&6
3091 echo $ac_n "checking for --enable-protocols""... $ac_c" 1>&6
3092 echo "configure:3093: checking for --enable-protocols" >&5
3094 # Check whether --enable-protocols or --disable-protocols was given.
3095 if test "${enable_protocols+set}" = set; then
3096 enableval
="$enable_protocols"
3098 if test "$enableval" = yes; then
3099 ac_cv_use_protocols
='wxUSE_PROTOCOL=yes'
3101 ac_cv_use_protocols
='wxUSE_PROTOCOL=no'
3106 LINE
=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
3107 if test "x$LINE" != x
; then
3108 eval "DEFAULT_$LINE"
3113 ac_cv_use_protocols
='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
3118 eval "$ac_cv_use_protocols"
3119 if test "$no_cache" != 1; then
3120 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
3123 if test "$wxUSE_PROTOCOL" = yes; then
3124 echo "$ac_t""yes" 1>&6
3126 echo "$ac_t""no" 1>&6
3130 echo $ac_n "checking for --enable-ftp""... $ac_c" 1>&6
3131 echo "configure:3132: checking for --enable-ftp" >&5
3133 # Check whether --enable-ftp or --disable-ftp was given.
3134 if test "${enable_ftp+set}" = set; then
3135 enableval
="$enable_ftp"
3137 if test "$enableval" = yes; then
3138 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=yes'
3140 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP=no'
3145 LINE
=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
3146 if test "x$LINE" != x
; then
3147 eval "DEFAULT_$LINE"
3152 ac_cv_use_ftp
='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
3157 eval "$ac_cv_use_ftp"
3158 if test "$no_cache" != 1; then
3159 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
3162 if test "$wxUSE_PROTOCOL_FTP" = yes; then
3163 echo "$ac_t""yes" 1>&6
3165 echo "$ac_t""no" 1>&6
3169 echo $ac_n "checking for --enable-http""... $ac_c" 1>&6
3170 echo "configure:3171: checking for --enable-http" >&5
3172 # Check whether --enable-http or --disable-http was given.
3173 if test "${enable_http+set}" = set; then
3174 enableval
="$enable_http"
3176 if test "$enableval" = yes; then
3177 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=yes'
3179 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP=no'
3184 LINE
=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
3185 if test "x$LINE" != x
; then
3186 eval "DEFAULT_$LINE"
3191 ac_cv_use_http
='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
3196 eval "$ac_cv_use_http"
3197 if test "$no_cache" != 1; then
3198 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
3201 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
3202 echo "$ac_t""yes" 1>&6
3204 echo "$ac_t""no" 1>&6
3208 echo $ac_n "checking for --enable-fileproto""... $ac_c" 1>&6
3209 echo "configure:3210: checking for --enable-fileproto" >&5
3211 # Check whether --enable-fileproto or --disable-fileproto was given.
3212 if test "${enable_fileproto+set}" = set; then
3213 enableval
="$enable_fileproto"
3215 if test "$enableval" = yes; then
3216 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=yes'
3218 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE=no'
3223 LINE
=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
3224 if test "x$LINE" != x
; then
3225 eval "DEFAULT_$LINE"
3230 ac_cv_use_fileproto
='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
3235 eval "$ac_cv_use_fileproto"
3236 if test "$no_cache" != 1; then
3237 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
3240 if test "$wxUSE_PROTOCOL_FILE" = yes; then
3241 echo "$ac_t""yes" 1>&6
3243 echo "$ac_t""no" 1>&6
3247 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
3248 echo "configure:3249: checking for --enable-sockets" >&5
3250 # Check whether --enable-sockets or --disable-sockets was given.
3251 if test "${enable_sockets+set}" = set; then
3252 enableval
="$enable_sockets"
3254 if test "$enableval" = yes; then
3255 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
3257 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
3262 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
3263 if test "x$LINE" != x
; then
3264 eval "DEFAULT_$LINE"
3269 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
3274 eval "$ac_cv_use_sockets"
3275 if test "$no_cache" != 1; then
3276 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
3279 if test "$wxUSE_SOCKETS" = yes; then
3280 echo "$ac_t""yes" 1>&6
3282 echo "$ac_t""no" 1>&6
3287 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
3288 echo "configure:3289: checking for --enable-ipc" >&5
3290 # Check whether --enable-ipc or --disable-ipc was given.
3291 if test "${enable_ipc+set}" = set; then
3292 enableval
="$enable_ipc"
3294 if test "$enableval" = yes; then
3295 ac_cv_use_ipc
='wxUSE_IPC=yes'
3297 ac_cv_use_ipc
='wxUSE_IPC=no'
3302 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
3303 if test "x$LINE" != x
; then
3304 eval "DEFAULT_$LINE"
3309 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
3314 eval "$ac_cv_use_ipc"
3315 if test "$no_cache" != 1; then
3316 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
3319 if test "$wxUSE_IPC" = yes; then
3320 echo "$ac_t""yes" 1>&6
3322 echo "$ac_t""no" 1>&6
3327 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
3328 echo "configure:3329: checking for --enable-cmdline" >&5
3330 # Check whether --enable-cmdline or --disable-cmdline was given.
3331 if test "${enable_cmdline+set}" = set; then
3332 enableval
="$enable_cmdline"
3334 if test "$enableval" = yes; then
3335 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
3337 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
3342 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
3343 if test "x$LINE" != x
; then
3344 eval "DEFAULT_$LINE"
3349 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
3354 eval "$ac_cv_use_cmdline"
3355 if test "$no_cache" != 1; then
3356 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
3359 if test "$wxUSE_CMDLINE_PARSER" = yes; then
3360 echo "$ac_t""yes" 1>&6
3362 echo "$ac_t""no" 1>&6
3366 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3367 echo "configure:3368: checking for --enable-datetime" >&5
3369 # Check whether --enable-datetime or --disable-datetime was given.
3370 if test "${enable_datetime+set}" = set; then
3371 enableval
="$enable_datetime"
3373 if test "$enableval" = yes; then
3374 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3376 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3381 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3382 if test "x$LINE" != x
; then
3383 eval "DEFAULT_$LINE"
3388 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3393 eval "$ac_cv_use_datetime"
3394 if test "$no_cache" != 1; then
3395 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3398 if test "$wxUSE_DATETIME" = yes; then
3399 echo "$ac_t""yes" 1>&6
3401 echo "$ac_t""no" 1>&6
3405 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3406 echo "configure:3407: checking for --enable-timedate" >&5
3408 # Check whether --enable-timedate or --disable-timedate was given.
3409 if test "${enable_timedate+set}" = set; then
3410 enableval
="$enable_timedate"
3412 if test "$enableval" = yes; then
3413 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3415 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3420 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3421 if test "x$LINE" != x
; then
3422 eval "DEFAULT_$LINE"
3427 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3432 eval "$ac_cv_use_timedate"
3433 if test "$no_cache" != 1; then
3434 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3437 if test "$wxUSE_TIMEDATE" = yes; then
3438 echo "$ac_t""yes" 1>&6
3440 echo "$ac_t""no" 1>&6
3444 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3445 echo "configure:3446: checking for --enable-stopwatch" >&5
3447 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3448 if test "${enable_stopwatch+set}" = set; then
3449 enableval
="$enable_stopwatch"
3451 if test "$enableval" = yes; then
3452 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3454 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3459 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3460 if test "x$LINE" != x
; then
3461 eval "DEFAULT_$LINE"
3466 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3471 eval "$ac_cv_use_stopwatch"
3472 if test "$no_cache" != 1; then
3473 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3476 if test "$wxUSE_STOPWATCH" = yes; then
3477 echo "$ac_t""yes" 1>&6
3479 echo "$ac_t""no" 1>&6
3483 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3484 echo "configure:3485: checking for --enable-dialupman" >&5
3486 # Check whether --enable-dialupman or --disable-dialupman was given.
3487 if test "${enable_dialupman+set}" = set; then
3488 enableval
="$enable_dialupman"
3490 if test "$enableval" = yes; then
3491 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3493 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3498 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3499 if test "x$LINE" != x
; then
3500 eval "DEFAULT_$LINE"
3505 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3510 eval "$ac_cv_use_dialupman"
3511 if test "$no_cache" != 1; then
3512 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3515 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3516 echo "$ac_t""yes" 1>&6
3518 echo "$ac_t""no" 1>&6
3522 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3523 echo "configure:3524: checking for --enable-apple_ieee" >&5
3525 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3526 if test "${enable_apple_ieee+set}" = set; then
3527 enableval
="$enable_apple_ieee"
3529 if test "$enableval" = yes; then
3530 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3532 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3537 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3538 if test "x$LINE" != x
; then
3539 eval "DEFAULT_$LINE"
3544 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3549 eval "$ac_cv_use_apple_ieee"
3550 if test "$no_cache" != 1; then
3551 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3554 if test "$wxUSE_APPLE_IEEE" = yes; then
3555 echo "$ac_t""yes" 1>&6
3557 echo "$ac_t""no" 1>&6
3561 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3562 echo "configure:3563: checking for --enable-timer" >&5
3564 # Check whether --enable-timer or --disable-timer was given.
3565 if test "${enable_timer+set}" = set; then
3566 enableval
="$enable_timer"
3568 if test "$enableval" = yes; then
3569 ac_cv_use_timer
='wxUSE_TIMER=yes'
3571 ac_cv_use_timer
='wxUSE_TIMER=no'
3576 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3577 if test "x$LINE" != x
; then
3578 eval "DEFAULT_$LINE"
3583 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3588 eval "$ac_cv_use_timer"
3589 if test "$no_cache" != 1; then
3590 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3593 if test "$wxUSE_TIMER" = yes; then
3594 echo "$ac_t""yes" 1>&6
3596 echo "$ac_t""no" 1>&6
3600 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3601 echo "configure:3602: checking for --enable-wave" >&5
3603 # Check whether --enable-wave or --disable-wave was given.
3604 if test "${enable_wave+set}" = set; then
3605 enableval
="$enable_wave"
3607 if test "$enableval" = yes; then
3608 ac_cv_use_wave
='wxUSE_WAVE=yes'
3610 ac_cv_use_wave
='wxUSE_WAVE=no'
3615 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3616 if test "x$LINE" != x
; then
3617 eval "DEFAULT_$LINE"
3622 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3627 eval "$ac_cv_use_wave"
3628 if test "$no_cache" != 1; then
3629 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3632 if test "$wxUSE_WAVE" = yes; then
3633 echo "$ac_t""yes" 1>&6
3635 echo "$ac_t""no" 1>&6
3639 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3640 echo "configure:3641: checking for --enable-fraction" >&5
3642 # Check whether --enable-fraction or --disable-fraction was given.
3643 if test "${enable_fraction+set}" = set; then
3644 enableval
="$enable_fraction"
3646 if test "$enableval" = yes; then
3647 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3649 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3654 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3655 if test "x$LINE" != x
; then
3656 eval "DEFAULT_$LINE"
3661 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3666 eval "$ac_cv_use_fraction"
3667 if test "$no_cache" != 1; then
3668 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3671 if test "$wxUSE_FRACTION" = yes; then
3672 echo "$ac_t""yes" 1>&6
3674 echo "$ac_t""no" 1>&6
3678 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3679 echo "configure:3680: checking for --enable-dynlib" >&5
3681 # Check whether --enable-dynlib or --disable-dynlib was given.
3682 if test "${enable_dynlib+set}" = set; then
3683 enableval
="$enable_dynlib"
3685 if test "$enableval" = yes; then
3686 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3688 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3693 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3694 if test "x$LINE" != x
; then
3695 eval "DEFAULT_$LINE"
3700 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3705 eval "$ac_cv_use_dynlib"
3706 if test "$no_cache" != 1; then
3707 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3710 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3711 echo "$ac_t""yes" 1>&6
3713 echo "$ac_t""no" 1>&6
3717 echo $ac_n "checking for --enable-dynamicloader""... $ac_c" 1>&6
3718 echo "configure:3719: checking for --enable-dynamicloader" >&5
3720 # Check whether --enable-dynamicloader or --disable-dynamicloader was given.
3721 if test "${enable_dynamicloader+set}" = set; then
3722 enableval
="$enable_dynamicloader"
3724 if test "$enableval" = yes; then
3725 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=yes'
3727 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER=no'
3732 LINE
=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
3733 if test "x$LINE" != x
; then
3734 eval "DEFAULT_$LINE"
3739 ac_cv_use_dynamicloader
='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
3744 eval "$ac_cv_use_dynamicloader"
3745 if test "$no_cache" != 1; then
3746 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
3749 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
3750 echo "$ac_t""yes" 1>&6
3752 echo "$ac_t""no" 1>&6
3756 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3757 echo "configure:3758: checking for --enable-longlong" >&5
3759 # Check whether --enable-longlong or --disable-longlong was given.
3760 if test "${enable_longlong+set}" = set; then
3761 enableval
="$enable_longlong"
3763 if test "$enableval" = yes; then
3764 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3766 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3771 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3772 if test "x$LINE" != x
; then
3773 eval "DEFAULT_$LINE"
3778 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3783 eval "$ac_cv_use_longlong"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3788 if test "$wxUSE_LONGLONG" = yes; then
3789 echo "$ac_t""yes" 1>&6
3791 echo "$ac_t""no" 1>&6
3795 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3796 echo "configure:3797: checking for --enable-geometry" >&5
3798 # Check whether --enable-geometry or --disable-geometry was given.
3799 if test "${enable_geometry+set}" = set; then
3800 enableval
="$enable_geometry"
3802 if test "$enableval" = yes; then
3803 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3805 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3810 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3811 if test "x$LINE" != x
; then
3812 eval "DEFAULT_$LINE"
3817 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3822 eval "$ac_cv_use_geometry"
3823 if test "$no_cache" != 1; then
3824 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3827 if test "$wxUSE_GEOMETRY" = yes; then
3828 echo "$ac_t""yes" 1>&6
3830 echo "$ac_t""no" 1>&6
3834 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3835 echo "configure:3836: checking for --enable-log" >&5
3837 # Check whether --enable-log or --disable-log was given.
3838 if test "${enable_log+set}" = set; then
3839 enableval
="$enable_log"
3841 if test "$enableval" = yes; then
3842 ac_cv_use_log
='wxUSE_LOG=yes'
3844 ac_cv_use_log
='wxUSE_LOG=no'
3849 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3850 if test "x$LINE" != x
; then
3851 eval "DEFAULT_$LINE"
3856 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3861 eval "$ac_cv_use_log"
3862 if test "$no_cache" != 1; then
3863 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3866 if test "$wxUSE_LOG" = yes; then
3867 echo "$ac_t""yes" 1>&6
3869 echo "$ac_t""no" 1>&6
3873 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3874 echo "configure:3875: checking for --enable-streams" >&5
3876 # Check whether --enable-streams or --disable-streams was given.
3877 if test "${enable_streams+set}" = set; then
3878 enableval
="$enable_streams"
3880 if test "$enableval" = yes; then
3881 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3883 ac_cv_use_streams
='wxUSE_STREAMS=no'
3888 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3889 if test "x$LINE" != x
; then
3890 eval "DEFAULT_$LINE"
3895 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3900 eval "$ac_cv_use_streams"
3901 if test "$no_cache" != 1; then
3902 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3905 if test "$wxUSE_STREAMS" = yes; then
3906 echo "$ac_t""yes" 1>&6
3908 echo "$ac_t""no" 1>&6
3912 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3913 echo "configure:3914: checking for --enable-file" >&5
3915 # Check whether --enable-file or --disable-file was given.
3916 if test "${enable_file+set}" = set; then
3917 enableval
="$enable_file"
3919 if test "$enableval" = yes; then
3920 ac_cv_use_file
='wxUSE_FILE=yes'
3922 ac_cv_use_file
='wxUSE_FILE=no'
3927 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3928 if test "x$LINE" != x
; then
3929 eval "DEFAULT_$LINE"
3934 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3939 eval "$ac_cv_use_file"
3940 if test "$no_cache" != 1; then
3941 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3944 if test "$wxUSE_FILE" = yes; then
3945 echo "$ac_t""yes" 1>&6
3947 echo "$ac_t""no" 1>&6
3951 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3952 echo "configure:3953: checking for --enable-ffile" >&5
3954 # Check whether --enable-ffile or --disable-ffile was given.
3955 if test "${enable_ffile+set}" = set; then
3956 enableval
="$enable_ffile"
3958 if test "$enableval" = yes; then
3959 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3961 ac_cv_use_ffile
='wxUSE_FFILE=no'
3966 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3967 if test "x$LINE" != x
; then
3968 eval "DEFAULT_$LINE"
3973 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3978 eval "$ac_cv_use_ffile"
3979 if test "$no_cache" != 1; then
3980 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3983 if test "$wxUSE_FFILE" = yes; then
3984 echo "$ac_t""yes" 1>&6
3986 echo "$ac_t""no" 1>&6
3990 echo $ac_n "checking for --enable-textbuf""... $ac_c" 1>&6
3991 echo "configure:3992: checking for --enable-textbuf" >&5
3993 # Check whether --enable-textbuf or --disable-textbuf was given.
3994 if test "${enable_textbuf+set}" = set; then
3995 enableval
="$enable_textbuf"
3997 if test "$enableval" = yes; then
3998 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=yes'
4000 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER=no'
4005 LINE
=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
4006 if test "x$LINE" != x
; then
4007 eval "DEFAULT_$LINE"
4012 ac_cv_use_textbuf
='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
4017 eval "$ac_cv_use_textbuf"
4018 if test "$no_cache" != 1; then
4019 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
4022 if test "$wxUSE_TEXTBUFFER" = yes; then
4023 echo "$ac_t""yes" 1>&6
4025 echo "$ac_t""no" 1>&6
4029 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
4030 echo "configure:4031: checking for --enable-textfile" >&5
4032 # Check whether --enable-textfile or --disable-textfile was given.
4033 if test "${enable_textfile+set}" = set; then
4034 enableval
="$enable_textfile"
4036 if test "$enableval" = yes; then
4037 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
4039 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
4044 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
4045 if test "x$LINE" != x
; then
4046 eval "DEFAULT_$LINE"
4051 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
4056 eval "$ac_cv_use_textfile"
4057 if test "$no_cache" != 1; then
4058 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
4061 if test "$wxUSE_TEXTFILE" = yes; then
4062 echo "$ac_t""yes" 1>&6
4064 echo "$ac_t""no" 1>&6
4068 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
4069 echo "configure:4070: checking for --enable-fontmap" >&5
4071 # Check whether --enable-fontmap or --disable-fontmap was given.
4072 if test "${enable_fontmap+set}" = set; then
4073 enableval
="$enable_fontmap"
4075 if test "$enableval" = yes; then
4076 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
4078 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
4083 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
4084 if test "x$LINE" != x
; then
4085 eval "DEFAULT_$LINE"
4090 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
4095 eval "$ac_cv_use_fontmap"
4096 if test "$no_cache" != 1; then
4097 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
4100 if test "$wxUSE_FONTMAP" = yes; then
4101 echo "$ac_t""yes" 1>&6
4103 echo "$ac_t""no" 1>&6
4107 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
4108 echo "configure:4109: checking for --enable-unicode" >&5
4110 # Check whether --enable-unicode or --disable-unicode was given.
4111 if test "${enable_unicode+set}" = set; then
4112 enableval
="$enable_unicode"
4114 if test "$enableval" = yes; then
4115 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
4117 ac_cv_use_unicode
='wxUSE_UNICODE=no'
4122 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
4123 if test "x$LINE" != x
; then
4124 eval "DEFAULT_$LINE"
4129 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
4134 eval "$ac_cv_use_unicode"
4135 if test "$no_cache" != 1; then
4136 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
4139 if test "$wxUSE_UNICODE" = yes; then
4140 echo "$ac_t""yes" 1>&6
4142 echo "$ac_t""no" 1>&6
4146 echo $ac_n "checking for --enable-mslu""... $ac_c" 1>&6
4147 echo "configure:4148: checking for --enable-mslu" >&5
4149 # Check whether --enable-mslu or --disable-mslu was given.
4150 if test "${enable_mslu+set}" = set; then
4151 enableval
="$enable_mslu"
4153 if test "$enableval" = yes; then
4154 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=yes'
4156 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU=no'
4161 LINE
=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
4162 if test "x$LINE" != x
; then
4163 eval "DEFAULT_$LINE"
4168 ac_cv_use_mslu
='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
4173 eval "$ac_cv_use_mslu"
4174 if test "$no_cache" != 1; then
4175 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
4178 if test "$wxUSE_UNICODE_MSLU" = yes; then
4179 echo "$ac_t""yes" 1>&6
4181 echo "$ac_t""no" 1>&6
4185 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
4186 echo "configure:4187: checking for --enable-wxprintfv" >&5
4188 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
4189 if test "${enable_wxprintfv+set}" = set; then
4190 enableval
="$enable_wxprintfv"
4192 if test "$enableval" = yes; then
4193 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
4195 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
4200 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
4201 if test "x$LINE" != x
; then
4202 eval "DEFAULT_$LINE"
4207 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
4212 eval "$ac_cv_use_wxprintfv"
4213 if test "$no_cache" != 1; then
4214 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
4217 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
4218 echo "$ac_t""yes" 1>&6
4220 echo "$ac_t""no" 1>&6
4224 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
4225 echo "configure:4226: checking for --enable-std_iostreams" >&5
4227 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
4228 if test "${enable_std_iostreams+set}" = set; then
4229 enableval
="$enable_std_iostreams"
4231 if test "$enableval" = yes; then
4232 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
4234 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
4239 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
4240 if test "x$LINE" != x
; then
4241 eval "DEFAULT_$LINE"
4246 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
4251 eval "$ac_cv_use_std_iostreams"
4252 if test "$no_cache" != 1; then
4253 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
4256 if test "$wxUSE_STD_IOSTREAM" = yes; then
4257 echo "$ac_t""yes" 1>&6
4259 echo "$ac_t""no" 1>&6
4263 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
4264 echo "configure:4265: checking for --enable-filesystem" >&5
4266 # Check whether --enable-filesystem or --disable-filesystem was given.
4267 if test "${enable_filesystem+set}" = set; then
4268 enableval
="$enable_filesystem"
4270 if test "$enableval" = yes; then
4271 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
4273 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
4278 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
4279 if test "x$LINE" != x
; then
4280 eval "DEFAULT_$LINE"
4285 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
4290 eval "$ac_cv_use_filesystem"
4291 if test "$no_cache" != 1; then
4292 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
4295 if test "$wxUSE_FILESYSTEM" = yes; then
4296 echo "$ac_t""yes" 1>&6
4298 echo "$ac_t""no" 1>&6
4302 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
4303 echo "configure:4304: checking for --enable-fs_inet" >&5
4305 # Check whether --enable-fs_inet or --disable-fs_inet was given.
4306 if test "${enable_fs_inet+set}" = set; then
4307 enableval
="$enable_fs_inet"
4309 if test "$enableval" = yes; then
4310 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
4312 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
4317 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
4318 if test "x$LINE" != x
; then
4319 eval "DEFAULT_$LINE"
4324 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
4329 eval "$ac_cv_use_fs_inet"
4330 if test "$no_cache" != 1; then
4331 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
4334 if test "$wxUSE_FS_INET" = yes; then
4335 echo "$ac_t""yes" 1>&6
4337 echo "$ac_t""no" 1>&6
4341 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
4342 echo "configure:4343: checking for --enable-fs_zip" >&5
4344 # Check whether --enable-fs_zip or --disable-fs_zip was given.
4345 if test "${enable_fs_zip+set}" = set; then
4346 enableval
="$enable_fs_zip"
4348 if test "$enableval" = yes; then
4349 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
4351 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
4356 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
4357 if test "x$LINE" != x
; then
4358 eval "DEFAULT_$LINE"
4363 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
4368 eval "$ac_cv_use_fs_zip"
4369 if test "$no_cache" != 1; then
4370 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
4373 if test "$wxUSE_FS_ZIP" = yes; then
4374 echo "$ac_t""yes" 1>&6
4376 echo "$ac_t""no" 1>&6
4380 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
4381 echo "configure:4382: checking for --enable-zipstream" >&5
4383 # Check whether --enable-zipstream or --disable-zipstream was given.
4384 if test "${enable_zipstream+set}" = set; then
4385 enableval
="$enable_zipstream"
4387 if test "$enableval" = yes; then
4388 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
4390 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
4395 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
4396 if test "x$LINE" != x
; then
4397 eval "DEFAULT_$LINE"
4402 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
4407 eval "$ac_cv_use_zipstream"
4408 if test "$no_cache" != 1; then
4409 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
4412 if test "$wxUSE_ZIPSTREAM" = yes; then
4413 echo "$ac_t""yes" 1>&6
4415 echo "$ac_t""no" 1>&6
4420 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
4421 echo "configure:4422: checking for --enable-catch_segvs" >&5
4423 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
4424 if test "${enable_catch_segvs+set}" = set; then
4425 enableval
="$enable_catch_segvs"
4427 if test "$enableval" = yes; then
4428 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
4430 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
4435 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
4436 if test "x$LINE" != x
; then
4437 eval "DEFAULT_$LINE"
4442 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4447 eval "$ac_cv_use_catch_segvs"
4448 if test "$no_cache" != 1; then
4449 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4452 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4453 echo "$ac_t""yes" 1>&6
4455 echo "$ac_t""no" 1>&6
4459 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4460 echo "configure:4461: checking for --enable-snglinst" >&5
4462 # Check whether --enable-snglinst or --disable-snglinst was given.
4463 if test "${enable_snglinst+set}" = set; then
4464 enableval
="$enable_snglinst"
4466 if test "$enableval" = yes; then
4467 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4469 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4474 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4475 if test "x$LINE" != x
; then
4476 eval "DEFAULT_$LINE"
4481 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4486 eval "$ac_cv_use_snglinst"
4487 if test "$no_cache" != 1; then
4488 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4491 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4492 echo "$ac_t""yes" 1>&6
4494 echo "$ac_t""no" 1>&6
4499 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4500 echo "configure:4501: checking for --enable-mimetype" >&5
4502 # Check whether --enable-mimetype or --disable-mimetype was given.
4503 if test "${enable_mimetype+set}" = set; then
4504 enableval
="$enable_mimetype"
4506 if test "$enableval" = yes; then
4507 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4509 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4514 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4515 if test "x$LINE" != x
; then
4516 eval "DEFAULT_$LINE"
4521 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4526 eval "$ac_cv_use_mimetype"
4527 if test "$no_cache" != 1; then
4528 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4531 if test "$wxUSE_MIMETYPE" = yes; then
4532 echo "$ac_t""yes" 1>&6
4534 echo "$ac_t""no" 1>&6
4538 echo $ac_n "checking for --enable-system_options""... $ac_c" 1>&6
4539 echo "configure:4540: checking for --enable-system_options" >&5
4541 # Check whether --enable-system_options or --disable-system_options was given.
4542 if test "${enable_system_options+set}" = set; then
4543 enableval
="$enable_system_options"
4545 if test "$enableval" = yes; then
4546 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=yes'
4548 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS=no'
4553 LINE
=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
4554 if test "x$LINE" != x
; then
4555 eval "DEFAULT_$LINE"
4560 ac_cv_use_system_options
='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
4565 eval "$ac_cv_use_system_options"
4566 if test "$no_cache" != 1; then
4567 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
4570 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
4571 echo "$ac_t""yes" 1>&6
4573 echo "$ac_t""no" 1>&6
4579 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4580 echo "configure:4581: checking for --enable-threads" >&5
4582 # Check whether --enable-threads or --disable-threads was given.
4583 if test "${enable_threads+set}" = set; then
4584 enableval
="$enable_threads"
4586 if test "$enableval" = yes; then
4587 ac_cv_use_threads
='wxUSE_THREADS=yes'
4589 ac_cv_use_threads
='wxUSE_THREADS=no'
4594 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x
; then
4596 eval "DEFAULT_$LINE"
4601 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4606 eval "$ac_cv_use_threads"
4607 if test "$no_cache" != 1; then
4608 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4611 if test "$wxUSE_THREADS" = yes; then
4612 echo "$ac_t""yes" 1>&6
4614 echo "$ac_t""no" 1>&6
4618 if test "$wxUSE_GUI" = "yes"; then
4622 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4623 echo "configure:4624: checking for --enable-docview" >&5
4625 # Check whether --enable-docview or --disable-docview was given.
4626 if test "${enable_docview+set}" = set; then
4627 enableval
="$enable_docview"
4629 if test "$enableval" = yes; then
4630 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4632 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4637 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4638 if test "x$LINE" != x
; then
4639 eval "DEFAULT_$LINE"
4644 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4649 eval "$ac_cv_use_docview"
4650 if test "$no_cache" != 1; then
4651 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4654 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4655 echo "$ac_t""yes" 1>&6
4657 echo "$ac_t""no" 1>&6
4661 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4662 echo "configure:4663: checking for --enable-help" >&5
4664 # Check whether --enable-help or --disable-help was given.
4665 if test "${enable_help+set}" = set; then
4666 enableval
="$enable_help"
4668 if test "$enableval" = yes; then
4669 ac_cv_use_help
='wxUSE_HELP=yes'
4671 ac_cv_use_help
='wxUSE_HELP=no'
4676 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4677 if test "x$LINE" != x
; then
4678 eval "DEFAULT_$LINE"
4683 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4688 eval "$ac_cv_use_help"
4689 if test "$no_cache" != 1; then
4690 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4693 if test "$wxUSE_HELP" = yes; then
4694 echo "$ac_t""yes" 1>&6
4696 echo "$ac_t""no" 1>&6
4700 echo $ac_n "checking for --enable-mshtmlhelp""... $ac_c" 1>&6
4701 echo "configure:4702: checking for --enable-mshtmlhelp" >&5
4703 # Check whether --enable-mshtmlhelp or --disable-mshtmlhelp was given.
4704 if test "${enable_mshtmlhelp+set}" = set; then
4705 enableval
="$enable_mshtmlhelp"
4707 if test "$enableval" = yes; then
4708 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=yes'
4710 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP=no'
4715 LINE
=`grep "wxUSE_MS_HTML_HELP" ${wx_arg_cache_file}`
4716 if test "x$LINE" != x
; then
4717 eval "DEFAULT_$LINE"
4722 ac_cv_use_mshtmlhelp
='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
4727 eval "$ac_cv_use_mshtmlhelp"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
4732 if test "$wxUSE_MS_HTML_HELP" = yes; then
4733 echo "$ac_t""yes" 1>&6
4735 echo "$ac_t""no" 1>&6
4739 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
4740 echo "configure:4741: checking for --enable-html" >&5
4742 # Check whether --enable-html or --disable-html was given.
4743 if test "${enable_html+set}" = set; then
4744 enableval
="$enable_html"
4746 if test "$enableval" = yes; then
4747 ac_cv_use_html
='wxUSE_HTML=yes'
4749 ac_cv_use_html
='wxUSE_HTML=no'
4754 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
4755 if test "x$LINE" != x
; then
4756 eval "DEFAULT_$LINE"
4761 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
4766 eval "$ac_cv_use_html"
4767 if test "$no_cache" != 1; then
4768 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
4771 if test "$wxUSE_HTML" = yes; then
4772 echo "$ac_t""yes" 1>&6
4774 echo "$ac_t""no" 1>&6
4778 echo $ac_n "checking for --enable-htmlhelp""... $ac_c" 1>&6
4779 echo "configure:4780: checking for --enable-htmlhelp" >&5
4781 # Check whether --enable-htmlhelp or --disable-htmlhelp was given.
4782 if test "${enable_htmlhelp+set}" = set; then
4783 enableval
="$enable_htmlhelp"
4785 if test "$enableval" = yes; then
4786 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=yes'
4788 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP=no'
4793 LINE
=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
4794 if test "x$LINE" != x
; then
4795 eval "DEFAULT_$LINE"
4800 ac_cv_use_htmlhelp
='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
4805 eval "$ac_cv_use_htmlhelp"
4806 if test "$no_cache" != 1; then
4807 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
4810 if test "$wxUSE_WXHTML_HELP" = yes; then
4811 echo "$ac_t""yes" 1>&6
4813 echo "$ac_t""no" 1>&6
4817 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4818 echo "configure:4819: checking for --enable-constraints" >&5
4820 # Check whether --enable-constraints or --disable-constraints was given.
4821 if test "${enable_constraints+set}" = set; then
4822 enableval
="$enable_constraints"
4824 if test "$enableval" = yes; then
4825 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4827 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4832 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x
; then
4834 eval "DEFAULT_$LINE"
4839 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4844 eval "$ac_cv_use_constraints"
4845 if test "$no_cache" != 1; then
4846 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4849 if test "$wxUSE_CONSTRAINTS" = yes; then
4850 echo "$ac_t""yes" 1>&6
4852 echo "$ac_t""no" 1>&6
4856 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4857 echo "configure:4858: checking for --enable-printarch" >&5
4859 # Check whether --enable-printarch or --disable-printarch was given.
4860 if test "${enable_printarch+set}" = set; then
4861 enableval
="$enable_printarch"
4863 if test "$enableval" = yes; then
4864 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4866 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4871 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x
; then
4873 eval "DEFAULT_$LINE"
4878 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4883 eval "$ac_cv_use_printarch"
4884 if test "$no_cache" != 1; then
4885 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4888 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4889 echo "$ac_t""yes" 1>&6
4891 echo "$ac_t""no" 1>&6
4895 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4896 echo "configure:4897: checking for --enable-mdi" >&5
4898 # Check whether --enable-mdi or --disable-mdi was given.
4899 if test "${enable_mdi+set}" = set; then
4900 enableval
="$enable_mdi"
4902 if test "$enableval" = yes; then
4903 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4905 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4910 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4911 if test "x$LINE" != x
; then
4912 eval "DEFAULT_$LINE"
4917 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4922 eval "$ac_cv_use_mdi"
4923 if test "$no_cache" != 1; then
4924 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4927 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4928 echo "$ac_t""yes" 1>&6
4930 echo "$ac_t""no" 1>&6
4934 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4935 echo "configure:4936: checking for --enable-loggui" >&5
4937 # Check whether --enable-loggui or --disable-loggui was given.
4938 if test "${enable_loggui+set}" = set; then
4939 enableval
="$enable_loggui"
4941 if test "$enableval" = yes; then
4942 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4944 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4949 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4950 if test "x$LINE" != x
; then
4951 eval "DEFAULT_$LINE"
4956 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4961 eval "$ac_cv_use_loggui"
4962 if test "$no_cache" != 1; then
4963 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4966 if test "$wxUSE_LOGGUI" = yes; then
4967 echo "$ac_t""yes" 1>&6
4969 echo "$ac_t""no" 1>&6
4973 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4974 echo "configure:4975: checking for --enable-logwin" >&5
4976 # Check whether --enable-logwin or --disable-logwin was given.
4977 if test "${enable_logwin+set}" = set; then
4978 enableval
="$enable_logwin"
4980 if test "$enableval" = yes; then
4981 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4983 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4988 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4989 if test "x$LINE" != x
; then
4990 eval "DEFAULT_$LINE"
4995 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
5000 eval "$ac_cv_use_logwin"
5001 if test "$no_cache" != 1; then
5002 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
5005 if test "$wxUSE_LOGWINDOW" = yes; then
5006 echo "$ac_t""yes" 1>&6
5008 echo "$ac_t""no" 1>&6
5012 echo $ac_n "checking for --enable-logdialog""... $ac_c" 1>&6
5013 echo "configure:5014: checking for --enable-logdialog" >&5
5015 # Check whether --enable-logdialog or --disable-logdialog was given.
5016 if test "${enable_logdialog+set}" = set; then
5017 enableval
="$enable_logdialog"
5019 if test "$enableval" = yes; then
5020 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=yes'
5022 ac_cv_use_logdialog
='wxUSE_LOGDIALOG=no'
5027 LINE
=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
5028 if test "x$LINE" != x
; then
5029 eval "DEFAULT_$LINE"
5034 ac_cv_use_logdialog
='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
5039 eval "$ac_cv_use_logdialog"
5040 if test "$no_cache" != 1; then
5041 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
5044 if test "$wxUSE_LOGDIALOG" = yes; then
5045 echo "$ac_t""yes" 1>&6
5047 echo "$ac_t""no" 1>&6
5052 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
5053 echo "configure:5054: checking for --enable-postscript" >&5
5055 # Check whether --enable-postscript or --disable-postscript was given.
5056 if test "${enable_postscript+set}" = set; then
5057 enableval
="$enable_postscript"
5059 if test "$enableval" = yes; then
5060 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
5062 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
5067 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
5068 if test "x$LINE" != x
; then
5069 eval "DEFAULT_$LINE"
5074 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5079 eval "$ac_cv_use_postscript"
5080 if test "$no_cache" != 1; then
5081 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
5084 if test "$wxUSE_POSTSCRIPT" = yes; then
5085 echo "$ac_t""yes" 1>&6
5087 echo "$ac_t""no" 1>&6
5094 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
5095 echo "configure:5096: checking for --enable-prologio" >&5
5097 # Check whether --enable-prologio or --disable-prologio was given.
5098 if test "${enable_prologio+set}" = set; then
5099 enableval
="$enable_prologio"
5101 if test "$enableval" = yes; then
5102 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
5104 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
5109 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
5110 if test "x$LINE" != x
; then
5111 eval "DEFAULT_$LINE"
5116 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5121 eval "$ac_cv_use_prologio"
5122 if test "$no_cache" != 1; then
5123 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
5126 if test "$wxUSE_PROLOGIO" = yes; then
5127 echo "$ac_t""yes" 1>&6
5129 echo "$ac_t""no" 1>&6
5133 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
5134 echo "configure:5135: checking for --enable-resources" >&5
5136 # Check whether --enable-resources or --disable-resources was given.
5137 if test "${enable_resources+set}" = set; then
5138 enableval
="$enable_resources"
5140 if test "$enableval" = yes; then
5141 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
5143 ac_cv_use_resources
='wxUSE_RESOURCES=no'
5148 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
5149 if test "x$LINE" != x
; then
5150 eval "DEFAULT_$LINE"
5155 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5160 eval "$ac_cv_use_resources"
5161 if test "$no_cache" != 1; then
5162 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
5165 if test "$wxUSE_RESOURCES" = yes; then
5166 echo "$ac_t""yes" 1>&6
5168 echo "$ac_t""no" 1>&6
5173 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
5174 echo "configure:5175: checking for --enable-xresources" >&5
5176 # Check whether --enable-xresources or --disable-xresources was given.
5177 if test "${enable_xresources+set}" = set; then
5178 enableval
="$enable_xresources"
5180 if test "$enableval" = yes; then
5181 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
5183 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
5188 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x
; then
5190 eval "DEFAULT_$LINE"
5195 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
5200 eval "$ac_cv_use_xresources"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
5205 if test "$wxUSE_X_RESOURCES" = yes; then
5206 echo "$ac_t""yes" 1>&6
5208 echo "$ac_t""no" 1>&6
5214 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
5215 echo "configure:5216: checking for --enable-clipboard" >&5
5217 # Check whether --enable-clipboard or --disable-clipboard was given.
5218 if test "${enable_clipboard+set}" = set; then
5219 enableval
="$enable_clipboard"
5221 if test "$enableval" = yes; then
5222 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
5224 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
5229 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
5230 if test "x$LINE" != x
; then
5231 eval "DEFAULT_$LINE"
5236 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5241 eval "$ac_cv_use_clipboard"
5242 if test "$no_cache" != 1; then
5243 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
5246 if test "$wxUSE_CLIPBOARD" = yes; then
5247 echo "$ac_t""yes" 1>&6
5249 echo "$ac_t""no" 1>&6
5253 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
5254 echo "configure:5255: checking for --enable-dnd" >&5
5256 # Check whether --enable-dnd or --disable-dnd was given.
5257 if test "${enable_dnd+set}" = set; then
5258 enableval
="$enable_dnd"
5260 if test "$enableval" = yes; then
5261 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
5263 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
5268 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
5269 if test "x$LINE" != x
; then
5270 eval "DEFAULT_$LINE"
5275 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
5280 eval "$ac_cv_use_dnd"
5281 if test "$no_cache" != 1; then
5282 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
5285 if test "$wxUSE_DRAG_AND_DROP" = yes; then
5286 echo "$ac_t""yes" 1>&6
5288 echo "$ac_t""no" 1>&6
5292 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
5293 echo "configure:5294: checking for --enable-metafile" >&5
5295 # Check whether --enable-metafile or --disable-metafile was given.
5296 if test "${enable_metafile+set}" = set; then
5297 enableval
="$enable_metafile"
5299 if test "$enableval" = yes; then
5300 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
5302 ac_cv_use_metafile
='wxUSE_METAFILE=no'
5307 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
5308 if test "x$LINE" != x
; then
5309 eval "DEFAULT_$LINE"
5314 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
5319 eval "$ac_cv_use_metafile"
5320 if test "$no_cache" != 1; then
5321 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
5324 if test "$wxUSE_METAFILE" = yes; then
5325 echo "$ac_t""yes" 1>&6
5327 echo "$ac_t""no" 1>&6
5332 echo $ac_n "checking for --enable-treelayout""... $ac_c" 1>&6
5333 echo "configure:5334: checking for --enable-treelayout" >&5
5335 # Check whether --enable-treelayout or --disable-treelayout was given.
5336 if test "${enable_treelayout+set}" = set; then
5337 enableval
="$enable_treelayout"
5339 if test "$enableval" = yes; then
5340 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=yes'
5342 ac_cv_use_treelayout
='wxUSE_TREELAYOUT=no'
5347 LINE
=`grep "wxUSE_TREELAYOUT" ${wx_arg_cache_file}`
5348 if test "x$LINE" != x
; then
5349 eval "DEFAULT_$LINE"
5354 ac_cv_use_treelayout
='wxUSE_TREELAYOUT='$DEFAULT_wxUSE_TREELAYOUT
5359 eval "$ac_cv_use_treelayout"
5360 if test "$no_cache" != 1; then
5361 echo $ac_cv_use_treelayout >> ${wx_arg_cache_file}.tmp
5364 if test "$wxUSE_TREELAYOUT" = yes; then
5365 echo "$ac_t""yes" 1>&6
5367 echo "$ac_t""no" 1>&6
5373 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
5374 echo "configure:5375: checking for --enable-controls" >&5
5376 # Check whether --enable-controls or --disable-controls was given.
5377 if test "${enable_controls+set}" = set; then
5378 enableval
="$enable_controls"
5380 if test "$enableval" = yes; then
5381 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
5383 ac_cv_use_controls
='wxUSE_CONTROLS=no'
5388 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
5389 if test "x$LINE" != x
; then
5390 eval "DEFAULT_$LINE"
5395 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
5400 eval "$ac_cv_use_controls"
5401 if test "$no_cache" != 1; then
5402 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
5405 if test "$wxUSE_CONTROLS" = yes; then
5406 echo "$ac_t""yes" 1>&6
5408 echo "$ac_t""no" 1>&6
5412 if test "$wxUSE_CONTROLS" = "yes"; then
5413 DEFAULT_wxUSE_ACCEL
=yes
5414 DEFAULT_wxUSE_BMPBUTTON
=yes
5415 DEFAULT_wxUSE_BUTTON
=yes
5416 DEFAULT_wxUSE_CALCTRL
=no
5417 DEFAULT_wxUSE_CARET
=yes
5418 DEFAULT_wxUSE_COMBOBOX
=yes
5419 DEFAULT_wxUSE_CHECKBOX
=yes
5420 DEFAULT_wxUSE_CHECKLISTBOX
=yes
5421 DEFAULT_wxUSE_CHOICE
=yes
5422 DEFAULT_wxUSE_GAUGE
=yes
5423 DEFAULT_wxUSE_GRID
=yes
5424 DEFAULT_wxUSE_NEW_GRID
=yes
5425 DEFAULT_wxUSE_IMAGLIST
=yes
5426 DEFAULT_wxUSE_LISTBOX
=yes
5427 DEFAULT_wxUSE_LISTCTRL
=yes
5428 DEFAULT_wxUSE_NOTEBOOK
=yes
5429 DEFAULT_wxUSE_PROPSHEET
=yes
5430 DEFAULT_wxUSE_RADIOBOX
=yes
5431 DEFAULT_wxUSE_RADIOBTN
=yes
5432 DEFAULT_wxUSE_SASH
=yes
5433 DEFAULT_wxUSE_SCROLLBAR
=yes
5434 DEFAULT_wxUSE_SLIDER
=yes
5435 DEFAULT_wxUSE_SPINBTN
=yes
5436 DEFAULT_wxUSE_SPINCTRL
=yes
5437 DEFAULT_wxUSE_SPLITTER
=yes
5438 DEFAULT_wxUSE_STATBMP
=yes
5439 DEFAULT_wxUSE_STATBOX
=yes
5440 DEFAULT_wxUSE_STATLINE
=yes
5441 DEFAULT_wxUSE_STATUSBAR
=yes
5442 DEFAULT_wxUSE_TAB_DIALOG
=yes
5443 DEFAULT_wxUSE_TOGGLEBTN
=yes
5444 DEFAULT_wxUSE_TOOLBAR
=yes
5445 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
5446 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
5447 DEFAULT_wxUSE_TOOLTIPS
=yes
5448 DEFAULT_wxUSE_TREECTRL
=yes
5449 DEFAULT_wxUSE_POPUPWIN
=yes
5450 DEFAULT_wxUSE_TIPWINDOW
=yes
5451 elif test "$wxUSE_CONTROLS" = "no"; then
5452 DEFAULT_wxUSE_ACCEL
=no
5453 DEFAULT_wxUSE_BMPBUTTON
=no
5454 DEFAULT_wxUSE_BUTTON
=no
5455 DEFAULT_wxUSE_CALCTRL
=no
5456 DEFAULT_wxUSE_CARET
=no
5457 DEFAULT_wxUSE_COMBOBOX
=no
5458 DEFAULT_wxUSE_CHECKBOX
=no
5459 DEFAULT_wxUSE_CHECKLISTBOX
=no
5460 DEFAULT_wxUSE_CHOICE
=no
5461 DEFAULT_wxUSE_GAUGE
=no
5462 DEFAULT_wxUSE_GRID
=no
5463 DEFAULT_wxUSE_NEW_GRID
=no
5464 DEFAULT_wxUSE_IMAGLIST
=no
5465 DEFAULT_wxUSE_LISTBOX
=no
5466 DEFAULT_wxUSE_LISTCTRL
=no
5467 DEFAULT_wxUSE_NOTEBOOK
=no
5468 DEFAULT_wxUSE_PROPSHEET
=no
5469 DEFAULT_wxUSE_RADIOBOX
=no
5470 DEFAULT_wxUSE_RADIOBTN
=no
5471 DEFAULT_wxUSE_SASH
=no
5472 DEFAULT_wxUSE_SCROLLBAR
=no
5473 DEFAULT_wxUSE_SLIDER
=no
5474 DEFAULT_wxUSE_SPINBTN
=no
5475 DEFAULT_wxUSE_SPINCTRL
=no
5476 DEFAULT_wxUSE_SPLITTER
=no
5477 DEFAULT_wxUSE_STATBMP
=no
5478 DEFAULT_wxUSE_STATBOX
=no
5479 DEFAULT_wxUSE_STATLINE
=no
5480 DEFAULT_wxUSE_STATUSBAR
=no
5481 DEFAULT_wxUSE_TAB_DIALOG
=no
5482 DEFAULT_wxUSE_TOGGLEBTN
=no
5483 DEFAULT_wxUSE_TOOLBAR
=no
5484 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
5485 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
5486 DEFAULT_wxUSE_TOOLTIPS
=no
5487 DEFAULT_wxUSE_TREECTRL
=no
5488 DEFAULT_wxUSE_POPUPWIN
=no
5489 DEFAULT_wxUSE_TIPWINDOW
=no
5493 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
5494 echo "configure:5495: checking for --enable-accel" >&5
5496 # Check whether --enable-accel or --disable-accel was given.
5497 if test "${enable_accel+set}" = set; then
5498 enableval
="$enable_accel"
5500 if test "$enableval" = yes; then
5501 ac_cv_use_accel
='wxUSE_ACCEL=yes'
5503 ac_cv_use_accel
='wxUSE_ACCEL=no'
5508 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
5509 if test "x$LINE" != x
; then
5510 eval "DEFAULT_$LINE"
5515 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
5520 eval "$ac_cv_use_accel"
5521 if test "$no_cache" != 1; then
5522 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
5525 if test "$wxUSE_ACCEL" = yes; then
5526 echo "$ac_t""yes" 1>&6
5528 echo "$ac_t""no" 1>&6
5532 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
5533 echo "configure:5534: checking for --enable-button" >&5
5535 # Check whether --enable-button or --disable-button was given.
5536 if test "${enable_button+set}" = set; then
5537 enableval
="$enable_button"
5539 if test "$enableval" = yes; then
5540 ac_cv_use_button
='wxUSE_BUTTON=yes'
5542 ac_cv_use_button
='wxUSE_BUTTON=no'
5547 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
5548 if test "x$LINE" != x
; then
5549 eval "DEFAULT_$LINE"
5554 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
5559 eval "$ac_cv_use_button"
5560 if test "$no_cache" != 1; then
5561 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
5564 if test "$wxUSE_BUTTON" = yes; then
5565 echo "$ac_t""yes" 1>&6
5567 echo "$ac_t""no" 1>&6
5571 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
5572 echo "configure:5573: checking for --enable-bmpbutton" >&5
5574 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
5575 if test "${enable_bmpbutton+set}" = set; then
5576 enableval
="$enable_bmpbutton"
5578 if test "$enableval" = yes; then
5579 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
5581 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
5586 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
5587 if test "x$LINE" != x
; then
5588 eval "DEFAULT_$LINE"
5593 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
5598 eval "$ac_cv_use_bmpbutton"
5599 if test "$no_cache" != 1; then
5600 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
5603 if test "$wxUSE_BMPBUTTON" = yes; then
5604 echo "$ac_t""yes" 1>&6
5606 echo "$ac_t""no" 1>&6
5610 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5611 echo "configure:5612: checking for --enable-calendar" >&5
5613 # Check whether --enable-calendar or --disable-calendar was given.
5614 if test "${enable_calendar+set}" = set; then
5615 enableval
="$enable_calendar"
5617 if test "$enableval" = yes; then
5618 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5620 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5625 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5626 if test "x$LINE" != x
; then
5627 eval "DEFAULT_$LINE"
5632 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5637 eval "$ac_cv_use_calendar"
5638 if test "$no_cache" != 1; then
5639 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5642 if test "$wxUSE_CALCTRL" = yes; then
5643 echo "$ac_t""yes" 1>&6
5645 echo "$ac_t""no" 1>&6
5649 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5650 echo "configure:5651: checking for --enable-caret" >&5
5652 # Check whether --enable-caret or --disable-caret was given.
5653 if test "${enable_caret+set}" = set; then
5654 enableval
="$enable_caret"
5656 if test "$enableval" = yes; then
5657 ac_cv_use_caret
='wxUSE_CARET=yes'
5659 ac_cv_use_caret
='wxUSE_CARET=no'
5664 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5665 if test "x$LINE" != x
; then
5666 eval "DEFAULT_$LINE"
5671 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5676 eval "$ac_cv_use_caret"
5677 if test "$no_cache" != 1; then
5678 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5681 if test "$wxUSE_CARET" = yes; then
5682 echo "$ac_t""yes" 1>&6
5684 echo "$ac_t""no" 1>&6
5688 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5689 echo "configure:5690: checking for --enable-checkbox" >&5
5691 # Check whether --enable-checkbox or --disable-checkbox was given.
5692 if test "${enable_checkbox+set}" = set; then
5693 enableval
="$enable_checkbox"
5695 if test "$enableval" = yes; then
5696 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5698 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5703 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5704 if test "x$LINE" != x
; then
5705 eval "DEFAULT_$LINE"
5710 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5715 eval "$ac_cv_use_checkbox"
5716 if test "$no_cache" != 1; then
5717 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5720 if test "$wxUSE_CHECKBOX" = yes; then
5721 echo "$ac_t""yes" 1>&6
5723 echo "$ac_t""no" 1>&6
5727 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5728 echo "configure:5729: checking for --enable-checklst" >&5
5730 # Check whether --enable-checklst or --disable-checklst was given.
5731 if test "${enable_checklst+set}" = set; then
5732 enableval
="$enable_checklst"
5734 if test "$enableval" = yes; then
5735 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5737 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5742 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5743 if test "x$LINE" != x
; then
5744 eval "DEFAULT_$LINE"
5749 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5754 eval "$ac_cv_use_checklst"
5755 if test "$no_cache" != 1; then
5756 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5759 if test "$wxUSE_CHECKLST" = yes; then
5760 echo "$ac_t""yes" 1>&6
5762 echo "$ac_t""no" 1>&6
5766 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5767 echo "configure:5768: checking for --enable-choice" >&5
5769 # Check whether --enable-choice or --disable-choice was given.
5770 if test "${enable_choice+set}" = set; then
5771 enableval
="$enable_choice"
5773 if test "$enableval" = yes; then
5774 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5776 ac_cv_use_choice
='wxUSE_CHOICE=no'
5781 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5782 if test "x$LINE" != x
; then
5783 eval "DEFAULT_$LINE"
5788 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5793 eval "$ac_cv_use_choice"
5794 if test "$no_cache" != 1; then
5795 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5798 if test "$wxUSE_CHOICE" = yes; then
5799 echo "$ac_t""yes" 1>&6
5801 echo "$ac_t""no" 1>&6
5805 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5806 echo "configure:5807: checking for --enable-combobox" >&5
5808 # Check whether --enable-combobox or --disable-combobox was given.
5809 if test "${enable_combobox+set}" = set; then
5810 enableval
="$enable_combobox"
5812 if test "$enableval" = yes; then
5813 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5815 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5820 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5821 if test "x$LINE" != x
; then
5822 eval "DEFAULT_$LINE"
5827 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5832 eval "$ac_cv_use_combobox"
5833 if test "$no_cache" != 1; then
5834 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5837 if test "$wxUSE_COMBOBOX" = yes; then
5838 echo "$ac_t""yes" 1>&6
5840 echo "$ac_t""no" 1>&6
5844 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5845 echo "configure:5846: checking for --enable-gauge" >&5
5847 # Check whether --enable-gauge or --disable-gauge was given.
5848 if test "${enable_gauge+set}" = set; then
5849 enableval
="$enable_gauge"
5851 if test "$enableval" = yes; then
5852 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5854 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5859 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5860 if test "x$LINE" != x
; then
5861 eval "DEFAULT_$LINE"
5866 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5871 eval "$ac_cv_use_gauge"
5872 if test "$no_cache" != 1; then
5873 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5876 if test "$wxUSE_GAUGE" = yes; then
5877 echo "$ac_t""yes" 1>&6
5879 echo "$ac_t""no" 1>&6
5883 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5884 echo "configure:5885: checking for --enable-grid" >&5
5886 # Check whether --enable-grid or --disable-grid was given.
5887 if test "${enable_grid+set}" = set; then
5888 enableval
="$enable_grid"
5890 if test "$enableval" = yes; then
5891 ac_cv_use_grid
='wxUSE_GRID=yes'
5893 ac_cv_use_grid
='wxUSE_GRID=no'
5898 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5899 if test "x$LINE" != x
; then
5900 eval "DEFAULT_$LINE"
5905 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5910 eval "$ac_cv_use_grid"
5911 if test "$no_cache" != 1; then
5912 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5915 if test "$wxUSE_GRID" = yes; then
5916 echo "$ac_t""yes" 1>&6
5918 echo "$ac_t""no" 1>&6
5922 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5923 echo "configure:5924: checking for --enable-newgrid" >&5
5925 # Check whether --enable-newgrid or --disable-newgrid was given.
5926 if test "${enable_newgrid+set}" = set; then
5927 enableval
="$enable_newgrid"
5929 if test "$enableval" = yes; then
5930 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5932 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5937 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x
; then
5939 eval "DEFAULT_$LINE"
5944 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5949 eval "$ac_cv_use_newgrid"
5950 if test "$no_cache" != 1; then
5951 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5954 if test "$wxUSE_NEW_GRID" = yes; then
5955 echo "$ac_t""yes" 1>&6
5957 echo "$ac_t""no" 1>&6
5961 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5962 echo "configure:5963: checking for --enable-imaglist" >&5
5964 # Check whether --enable-imaglist or --disable-imaglist was given.
5965 if test "${enable_imaglist+set}" = set; then
5966 enableval
="$enable_imaglist"
5968 if test "$enableval" = yes; then
5969 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5971 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5976 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5977 if test "x$LINE" != x
; then
5978 eval "DEFAULT_$LINE"
5983 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5988 eval "$ac_cv_use_imaglist"
5989 if test "$no_cache" != 1; then
5990 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5993 if test "$wxUSE_IMAGLIST" = yes; then
5994 echo "$ac_t""yes" 1>&6
5996 echo "$ac_t""no" 1>&6
6000 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
6001 echo "configure:6002: checking for --enable-listbox" >&5
6003 # Check whether --enable-listbox or --disable-listbox was given.
6004 if test "${enable_listbox+set}" = set; then
6005 enableval
="$enable_listbox"
6007 if test "$enableval" = yes; then
6008 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
6010 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
6015 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
6016 if test "x$LINE" != x
; then
6017 eval "DEFAULT_$LINE"
6022 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
6027 eval "$ac_cv_use_listbox"
6028 if test "$no_cache" != 1; then
6029 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
6032 if test "$wxUSE_LISTBOX" = yes; then
6033 echo "$ac_t""yes" 1>&6
6035 echo "$ac_t""no" 1>&6
6039 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
6040 echo "configure:6041: checking for --enable-listctrl" >&5
6042 # Check whether --enable-listctrl or --disable-listctrl was given.
6043 if test "${enable_listctrl+set}" = set; then
6044 enableval
="$enable_listctrl"
6046 if test "$enableval" = yes; then
6047 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
6049 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
6054 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
6055 if test "x$LINE" != x
; then
6056 eval "DEFAULT_$LINE"
6061 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
6066 eval "$ac_cv_use_listctrl"
6067 if test "$no_cache" != 1; then
6068 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
6071 if test "$wxUSE_LISTCTRL" = yes; then
6072 echo "$ac_t""yes" 1>&6
6074 echo "$ac_t""no" 1>&6
6078 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
6079 echo "configure:6080: checking for --enable-notebook" >&5
6081 # Check whether --enable-notebook or --disable-notebook was given.
6082 if test "${enable_notebook+set}" = set; then
6083 enableval
="$enable_notebook"
6085 if test "$enableval" = yes; then
6086 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
6088 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
6093 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
6094 if test "x$LINE" != x
; then
6095 eval "DEFAULT_$LINE"
6100 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
6105 eval "$ac_cv_use_notebook"
6106 if test "$no_cache" != 1; then
6107 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
6110 if test "$wxUSE_NOTEBOOK" = yes; then
6111 echo "$ac_t""yes" 1>&6
6113 echo "$ac_t""no" 1>&6
6117 echo $ac_n "checking for --enable-propsheet""... $ac_c" 1>&6
6118 echo "configure:6119: checking for --enable-propsheet" >&5
6120 # Check whether --enable-propsheet or --disable-propsheet was given.
6121 if test "${enable_propsheet+set}" = set; then
6122 enableval
="$enable_propsheet"
6124 if test "$enableval" = yes; then
6125 ac_cv_use_propsheet
='wxUSE_PROPSHEET=yes'
6127 ac_cv_use_propsheet
='wxUSE_PROPSHEET=no'
6132 LINE
=`grep "wxUSE_PROPSHEET" ${wx_arg_cache_file}`
6133 if test "x$LINE" != x
; then
6134 eval "DEFAULT_$LINE"
6139 ac_cv_use_propsheet
='wxUSE_PROPSHEET='$DEFAULT_wxUSE_PROPSHEET
6144 eval "$ac_cv_use_propsheet"
6145 if test "$no_cache" != 1; then
6146 echo $ac_cv_use_propsheet >> ${wx_arg_cache_file}.tmp
6149 if test "$wxUSE_PROPSHEET" = yes; then
6150 echo "$ac_t""yes" 1>&6
6152 echo "$ac_t""no" 1>&6
6156 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
6157 echo "configure:6158: checking for --enable-radiobox" >&5
6159 # Check whether --enable-radiobox or --disable-radiobox was given.
6160 if test "${enable_radiobox+set}" = set; then
6161 enableval
="$enable_radiobox"
6163 if test "$enableval" = yes; then
6164 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
6166 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
6171 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
6172 if test "x$LINE" != x
; then
6173 eval "DEFAULT_$LINE"
6178 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
6183 eval "$ac_cv_use_radiobox"
6184 if test "$no_cache" != 1; then
6185 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
6188 if test "$wxUSE_RADIOBOX" = yes; then
6189 echo "$ac_t""yes" 1>&6
6191 echo "$ac_t""no" 1>&6
6195 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
6196 echo "configure:6197: checking for --enable-radiobtn" >&5
6198 # Check whether --enable-radiobtn or --disable-radiobtn was given.
6199 if test "${enable_radiobtn+set}" = set; then
6200 enableval
="$enable_radiobtn"
6202 if test "$enableval" = yes; then
6203 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
6205 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
6210 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
6211 if test "x$LINE" != x
; then
6212 eval "DEFAULT_$LINE"
6217 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
6222 eval "$ac_cv_use_radiobtn"
6223 if test "$no_cache" != 1; then
6224 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
6227 if test "$wxUSE_RADIOBTN" = yes; then
6228 echo "$ac_t""yes" 1>&6
6230 echo "$ac_t""no" 1>&6
6234 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
6235 echo "configure:6236: checking for --enable-sash" >&5
6237 # Check whether --enable-sash or --disable-sash was given.
6238 if test "${enable_sash+set}" = set; then
6239 enableval
="$enable_sash"
6241 if test "$enableval" = yes; then
6242 ac_cv_use_sash
='wxUSE_SASH=yes'
6244 ac_cv_use_sash
='wxUSE_SASH=no'
6249 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
6250 if test "x$LINE" != x
; then
6251 eval "DEFAULT_$LINE"
6256 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
6261 eval "$ac_cv_use_sash"
6262 if test "$no_cache" != 1; then
6263 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
6266 if test "$wxUSE_SASH" = yes; then
6267 echo "$ac_t""yes" 1>&6
6269 echo "$ac_t""no" 1>&6
6273 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
6274 echo "configure:6275: checking for --enable-scrollbar" >&5
6276 # Check whether --enable-scrollbar or --disable-scrollbar was given.
6277 if test "${enable_scrollbar+set}" = set; then
6278 enableval
="$enable_scrollbar"
6280 if test "$enableval" = yes; then
6281 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
6283 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
6288 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
6289 if test "x$LINE" != x
; then
6290 eval "DEFAULT_$LINE"
6295 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
6300 eval "$ac_cv_use_scrollbar"
6301 if test "$no_cache" != 1; then
6302 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
6305 if test "$wxUSE_SCROLLBAR" = yes; then
6306 echo "$ac_t""yes" 1>&6
6308 echo "$ac_t""no" 1>&6
6312 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
6313 echo "configure:6314: checking for --enable-slider" >&5
6315 # Check whether --enable-slider or --disable-slider was given.
6316 if test "${enable_slider+set}" = set; then
6317 enableval
="$enable_slider"
6319 if test "$enableval" = yes; then
6320 ac_cv_use_slider
='wxUSE_SLIDER=yes'
6322 ac_cv_use_slider
='wxUSE_SLIDER=no'
6327 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
6328 if test "x$LINE" != x
; then
6329 eval "DEFAULT_$LINE"
6334 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
6339 eval "$ac_cv_use_slider"
6340 if test "$no_cache" != 1; then
6341 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
6344 if test "$wxUSE_SLIDER" = yes; then
6345 echo "$ac_t""yes" 1>&6
6347 echo "$ac_t""no" 1>&6
6351 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
6352 echo "configure:6353: checking for --enable-spinbtn" >&5
6354 # Check whether --enable-spinbtn or --disable-spinbtn was given.
6355 if test "${enable_spinbtn+set}" = set; then
6356 enableval
="$enable_spinbtn"
6358 if test "$enableval" = yes; then
6359 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
6361 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
6366 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
6367 if test "x$LINE" != x
; then
6368 eval "DEFAULT_$LINE"
6373 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
6378 eval "$ac_cv_use_spinbtn"
6379 if test "$no_cache" != 1; then
6380 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
6383 if test "$wxUSE_SPINBTN" = yes; then
6384 echo "$ac_t""yes" 1>&6
6386 echo "$ac_t""no" 1>&6
6390 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
6391 echo "configure:6392: checking for --enable-spinctrl" >&5
6393 # Check whether --enable-spinctrl or --disable-spinctrl was given.
6394 if test "${enable_spinctrl+set}" = set; then
6395 enableval
="$enable_spinctrl"
6397 if test "$enableval" = yes; then
6398 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
6400 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
6405 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
6406 if test "x$LINE" != x
; then
6407 eval "DEFAULT_$LINE"
6412 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
6417 eval "$ac_cv_use_spinctrl"
6418 if test "$no_cache" != 1; then
6419 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
6422 if test "$wxUSE_SPINCTRL" = yes; then
6423 echo "$ac_t""yes" 1>&6
6425 echo "$ac_t""no" 1>&6
6429 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
6430 echo "configure:6431: checking for --enable-splitter" >&5
6432 # Check whether --enable-splitter or --disable-splitter was given.
6433 if test "${enable_splitter+set}" = set; then
6434 enableval
="$enable_splitter"
6436 if test "$enableval" = yes; then
6437 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
6439 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
6444 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
6445 if test "x$LINE" != x
; then
6446 eval "DEFAULT_$LINE"
6451 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
6456 eval "$ac_cv_use_splitter"
6457 if test "$no_cache" != 1; then
6458 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
6461 if test "$wxUSE_SPLITTER" = yes; then
6462 echo "$ac_t""yes" 1>&6
6464 echo "$ac_t""no" 1>&6
6468 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
6469 echo "configure:6470: checking for --enable-statbmp" >&5
6471 # Check whether --enable-statbmp or --disable-statbmp was given.
6472 if test "${enable_statbmp+set}" = set; then
6473 enableval
="$enable_statbmp"
6475 if test "$enableval" = yes; then
6476 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
6478 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
6483 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x
; then
6485 eval "DEFAULT_$LINE"
6490 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
6495 eval "$ac_cv_use_statbmp"
6496 if test "$no_cache" != 1; then
6497 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
6500 if test "$wxUSE_STATBMP" = yes; then
6501 echo "$ac_t""yes" 1>&6
6503 echo "$ac_t""no" 1>&6
6507 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
6508 echo "configure:6509: checking for --enable-statbox" >&5
6510 # Check whether --enable-statbox or --disable-statbox was given.
6511 if test "${enable_statbox+set}" = set; then
6512 enableval
="$enable_statbox"
6514 if test "$enableval" = yes; then
6515 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
6517 ac_cv_use_statbox
='wxUSE_STATBOX=no'
6522 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
6523 if test "x$LINE" != x
; then
6524 eval "DEFAULT_$LINE"
6529 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
6534 eval "$ac_cv_use_statbox"
6535 if test "$no_cache" != 1; then
6536 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
6539 if test "$wxUSE_STATBOX" = yes; then
6540 echo "$ac_t""yes" 1>&6
6542 echo "$ac_t""no" 1>&6
6546 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
6547 echo "configure:6548: checking for --enable-statline" >&5
6549 # Check whether --enable-statline or --disable-statline was given.
6550 if test "${enable_statline+set}" = set; then
6551 enableval
="$enable_statline"
6553 if test "$enableval" = yes; then
6554 ac_cv_use_statline
='wxUSE_STATLINE=yes'
6556 ac_cv_use_statline
='wxUSE_STATLINE=no'
6561 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
6562 if test "x$LINE" != x
; then
6563 eval "DEFAULT_$LINE"
6568 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
6573 eval "$ac_cv_use_statline"
6574 if test "$no_cache" != 1; then
6575 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
6578 if test "$wxUSE_STATLINE" = yes; then
6579 echo "$ac_t""yes" 1>&6
6581 echo "$ac_t""no" 1>&6
6585 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
6586 echo "configure:6587: checking for --enable-stattext" >&5
6588 # Check whether --enable-stattext or --disable-stattext was given.
6589 if test "${enable_stattext+set}" = set; then
6590 enableval
="$enable_stattext"
6592 if test "$enableval" = yes; then
6593 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
6595 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
6600 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
6601 if test "x$LINE" != x
; then
6602 eval "DEFAULT_$LINE"
6607 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
6612 eval "$ac_cv_use_stattext"
6613 if test "$no_cache" != 1; then
6614 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
6617 if test "$wxUSE_STATTEXT" = yes; then
6618 echo "$ac_t""yes" 1>&6
6620 echo "$ac_t""no" 1>&6
6624 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
6625 echo "configure:6626: checking for --enable-statusbar" >&5
6627 # Check whether --enable-statusbar or --disable-statusbar was given.
6628 if test "${enable_statusbar+set}" = set; then
6629 enableval
="$enable_statusbar"
6631 if test "$enableval" = yes; then
6632 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
6634 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
6639 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
6640 if test "x$LINE" != x
; then
6641 eval "DEFAULT_$LINE"
6646 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6651 eval "$ac_cv_use_statusbar"
6652 if test "$no_cache" != 1; then
6653 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6656 if test "$wxUSE_STATUSBAR" = yes; then
6657 echo "$ac_t""yes" 1>&6
6659 echo "$ac_t""no" 1>&6
6663 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6664 echo "configure:6665: checking for --enable-tabdialog" >&5
6666 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6667 if test "${enable_tabdialog+set}" = set; then
6668 enableval
="$enable_tabdialog"
6670 if test "$enableval" = yes; then
6671 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6673 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6678 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6679 if test "x$LINE" != x
; then
6680 eval "DEFAULT_$LINE"
6685 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6690 eval "$ac_cv_use_tabdialog"
6691 if test "$no_cache" != 1; then
6692 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6695 if test "$wxUSE_TABDIALOG" = yes; then
6696 echo "$ac_t""yes" 1>&6
6698 echo "$ac_t""no" 1>&6
6702 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6703 echo "configure:6704: checking for --enable-textctrl" >&5
6705 # Check whether --enable-textctrl or --disable-textctrl was given.
6706 if test "${enable_textctrl+set}" = set; then
6707 enableval
="$enable_textctrl"
6709 if test "$enableval" = yes; then
6710 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6712 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6717 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6718 if test "x$LINE" != x
; then
6719 eval "DEFAULT_$LINE"
6724 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6729 eval "$ac_cv_use_textctrl"
6730 if test "$no_cache" != 1; then
6731 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6734 if test "$wxUSE_TEXTCTRL" = yes; then
6735 echo "$ac_t""yes" 1>&6
6737 echo "$ac_t""no" 1>&6
6741 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6742 echo "configure:6743: checking for --enable-togglebtn" >&5
6744 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6745 if test "${enable_togglebtn+set}" = set; then
6746 enableval
="$enable_togglebtn"
6748 if test "$enableval" = yes; then
6749 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6751 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6756 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6757 if test "x$LINE" != x
; then
6758 eval "DEFAULT_$LINE"
6763 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6768 eval "$ac_cv_use_togglebtn"
6769 if test "$no_cache" != 1; then
6770 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6773 if test "$wxUSE_TOGGLEBTN" = yes; then
6774 echo "$ac_t""yes" 1>&6
6776 echo "$ac_t""no" 1>&6
6780 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6781 echo "configure:6782: checking for --enable-toolbar" >&5
6783 # Check whether --enable-toolbar or --disable-toolbar was given.
6784 if test "${enable_toolbar+set}" = set; then
6785 enableval
="$enable_toolbar"
6787 if test "$enableval" = yes; then
6788 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6790 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6795 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6796 if test "x$LINE" != x
; then
6797 eval "DEFAULT_$LINE"
6802 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6807 eval "$ac_cv_use_toolbar"
6808 if test "$no_cache" != 1; then
6809 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6812 if test "$wxUSE_TOOLBAR" = yes; then
6813 echo "$ac_t""yes" 1>&6
6815 echo "$ac_t""no" 1>&6
6819 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6820 echo "configure:6821: checking for --enable-tbarnative" >&5
6822 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6823 if test "${enable_tbarnative+set}" = set; then
6824 enableval
="$enable_tbarnative"
6826 if test "$enableval" = yes; then
6827 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6829 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6834 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6835 if test "x$LINE" != x
; then
6836 eval "DEFAULT_$LINE"
6841 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6846 eval "$ac_cv_use_tbarnative"
6847 if test "$no_cache" != 1; then
6848 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6851 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6852 echo "$ac_t""yes" 1>&6
6854 echo "$ac_t""no" 1>&6
6858 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6859 echo "configure:6860: checking for --enable-tbarsmpl" >&5
6861 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6862 if test "${enable_tbarsmpl+set}" = set; then
6863 enableval
="$enable_tbarsmpl"
6865 if test "$enableval" = yes; then
6866 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6868 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6873 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6874 if test "x$LINE" != x
; then
6875 eval "DEFAULT_$LINE"
6880 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6885 eval "$ac_cv_use_tbarsmpl"
6886 if test "$no_cache" != 1; then
6887 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6890 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6891 echo "$ac_t""yes" 1>&6
6893 echo "$ac_t""no" 1>&6
6897 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6898 echo "configure:6899: checking for --enable-treectrl" >&5
6900 # Check whether --enable-treectrl or --disable-treectrl was given.
6901 if test "${enable_treectrl+set}" = set; then
6902 enableval
="$enable_treectrl"
6904 if test "$enableval" = yes; then
6905 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6907 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6912 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6913 if test "x$LINE" != x
; then
6914 eval "DEFAULT_$LINE"
6919 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6924 eval "$ac_cv_use_treectrl"
6925 if test "$no_cache" != 1; then
6926 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6929 if test "$wxUSE_TREECTRL" = yes; then
6930 echo "$ac_t""yes" 1>&6
6932 echo "$ac_t""no" 1>&6
6936 echo $ac_n "checking for --enable-tipwindow""... $ac_c" 1>&6
6937 echo "configure:6938: checking for --enable-tipwindow" >&5
6939 # Check whether --enable-tipwindow or --disable-tipwindow was given.
6940 if test "${enable_tipwindow+set}" = set; then
6941 enableval
="$enable_tipwindow"
6943 if test "$enableval" = yes; then
6944 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=yes'
6946 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW=no'
6951 LINE
=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
6952 if test "x$LINE" != x
; then
6953 eval "DEFAULT_$LINE"
6958 ac_cv_use_tipwindow
='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
6963 eval "$ac_cv_use_tipwindow"
6964 if test "$no_cache" != 1; then
6965 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
6968 if test "$wxUSE_TIPWINDOW" = yes; then
6969 echo "$ac_t""yes" 1>&6
6971 echo "$ac_t""no" 1>&6
6975 echo $ac_n "checking for --enable-popupwin""... $ac_c" 1>&6
6976 echo "configure:6977: checking for --enable-popupwin" >&5
6978 # Check whether --enable-popupwin or --disable-popupwin was given.
6979 if test "${enable_popupwin+set}" = set; then
6980 enableval
="$enable_popupwin"
6982 if test "$enableval" = yes; then
6983 ac_cv_use_popupwin
='wxUSE_POPUPWIN=yes'
6985 ac_cv_use_popupwin
='wxUSE_POPUPWIN=no'
6990 LINE
=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
6991 if test "x$LINE" != x
; then
6992 eval "DEFAULT_$LINE"
6997 ac_cv_use_popupwin
='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
7002 eval "$ac_cv_use_popupwin"
7003 if test "$no_cache" != 1; then
7004 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
7007 if test "$wxUSE_POPUPWIN" = yes; then
7008 echo "$ac_t""yes" 1>&6
7010 echo "$ac_t""no" 1>&6
7016 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
7017 echo "configure:7018: checking for --enable-commondlg" >&5
7019 # Check whether --enable-commondlg or --disable-commondlg was given.
7020 if test "${enable_commondlg+set}" = set; then
7021 enableval
="$enable_commondlg"
7023 if test "$enableval" = yes; then
7024 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
7026 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
7031 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
7032 if test "x$LINE" != x
; then
7033 eval "DEFAULT_$LINE"
7038 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
7043 eval "$ac_cv_use_commondlg"
7044 if test "$no_cache" != 1; then
7045 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
7048 if test "$wxUSE_COMMONDLGS" = yes; then
7049 echo "$ac_t""yes" 1>&6
7051 echo "$ac_t""no" 1>&6
7055 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
7056 echo "configure:7057: checking for --enable-choicedlg" >&5
7058 # Check whether --enable-choicedlg or --disable-choicedlg was given.
7059 if test "${enable_choicedlg+set}" = set; then
7060 enableval
="$enable_choicedlg"
7062 if test "$enableval" = yes; then
7063 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
7065 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
7070 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
7071 if test "x$LINE" != x
; then
7072 eval "DEFAULT_$LINE"
7077 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
7082 eval "$ac_cv_use_choicedlg"
7083 if test "$no_cache" != 1; then
7084 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
7087 if test "$wxUSE_CHOICEDLG" = yes; then
7088 echo "$ac_t""yes" 1>&6
7090 echo "$ac_t""no" 1>&6
7094 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
7095 echo "configure:7096: checking for --enable-coldlg" >&5
7097 # Check whether --enable-coldlg or --disable-coldlg was given.
7098 if test "${enable_coldlg+set}" = set; then
7099 enableval
="$enable_coldlg"
7101 if test "$enableval" = yes; then
7102 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
7104 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
7109 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
7110 if test "x$LINE" != x
; then
7111 eval "DEFAULT_$LINE"
7116 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
7121 eval "$ac_cv_use_coldlg"
7122 if test "$no_cache" != 1; then
7123 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
7126 if test "$wxUSE_COLOURDLG" = yes; then
7127 echo "$ac_t""yes" 1>&6
7129 echo "$ac_t""no" 1>&6
7133 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
7134 echo "configure:7135: checking for --enable-filedlg" >&5
7136 # Check whether --enable-filedlg or --disable-filedlg was given.
7137 if test "${enable_filedlg+set}" = set; then
7138 enableval
="$enable_filedlg"
7140 if test "$enableval" = yes; then
7141 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
7143 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
7148 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
7149 if test "x$LINE" != x
; then
7150 eval "DEFAULT_$LINE"
7155 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
7160 eval "$ac_cv_use_filedlg"
7161 if test "$no_cache" != 1; then
7162 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
7165 if test "$wxUSE_FILEDLG" = yes; then
7166 echo "$ac_t""yes" 1>&6
7168 echo "$ac_t""no" 1>&6
7172 echo $ac_n "checking for --enable-finddlg""... $ac_c" 1>&6
7173 echo "configure:7174: checking for --enable-finddlg" >&5
7175 # Check whether --enable-finddlg or --disable-finddlg was given.
7176 if test "${enable_finddlg+set}" = set; then
7177 enableval
="$enable_finddlg"
7179 if test "$enableval" = yes; then
7180 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=yes'
7182 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG=no'
7187 LINE
=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
7188 if test "x$LINE" != x
; then
7189 eval "DEFAULT_$LINE"
7194 ac_cv_use_finddlg
='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
7199 eval "$ac_cv_use_finddlg"
7200 if test "$no_cache" != 1; then
7201 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
7204 if test "$wxUSE_FINDREPLDLG" = yes; then
7205 echo "$ac_t""yes" 1>&6
7207 echo "$ac_t""no" 1>&6
7211 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
7212 echo "configure:7213: checking for --enable-fontdlg" >&5
7214 # Check whether --enable-fontdlg or --disable-fontdlg was given.
7215 if test "${enable_fontdlg+set}" = set; then
7216 enableval
="$enable_fontdlg"
7218 if test "$enableval" = yes; then
7219 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
7221 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
7226 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
7227 if test "x$LINE" != x
; then
7228 eval "DEFAULT_$LINE"
7233 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
7238 eval "$ac_cv_use_fontdlg"
7239 if test "$no_cache" != 1; then
7240 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
7243 if test "$wxUSE_FONTDLG" = yes; then
7244 echo "$ac_t""yes" 1>&6
7246 echo "$ac_t""no" 1>&6
7250 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
7251 echo "configure:7252: checking for --enable-dirdlg" >&5
7253 # Check whether --enable-dirdlg or --disable-dirdlg was given.
7254 if test "${enable_dirdlg+set}" = set; then
7255 enableval
="$enable_dirdlg"
7257 if test "$enableval" = yes; then
7258 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
7260 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
7265 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
7266 if test "x$LINE" != x
; then
7267 eval "DEFAULT_$LINE"
7272 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
7277 eval "$ac_cv_use_dirdlg"
7278 if test "$no_cache" != 1; then
7279 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
7282 if test "$wxUSE_DIRDLG" = yes; then
7283 echo "$ac_t""yes" 1>&6
7285 echo "$ac_t""no" 1>&6
7289 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
7290 echo "configure:7291: checking for --enable-msgdlg" >&5
7292 # Check whether --enable-msgdlg or --disable-msgdlg was given.
7293 if test "${enable_msgdlg+set}" = set; then
7294 enableval
="$enable_msgdlg"
7296 if test "$enableval" = yes; then
7297 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
7299 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
7304 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
7305 if test "x$LINE" != x
; then
7306 eval "DEFAULT_$LINE"
7311 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
7316 eval "$ac_cv_use_msgdlg"
7317 if test "$no_cache" != 1; then
7318 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
7321 if test "$wxUSE_MSGDLG" = yes; then
7322 echo "$ac_t""yes" 1>&6
7324 echo "$ac_t""no" 1>&6
7328 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
7329 echo "configure:7330: checking for --enable-numberdlg" >&5
7331 # Check whether --enable-numberdlg or --disable-numberdlg was given.
7332 if test "${enable_numberdlg+set}" = set; then
7333 enableval
="$enable_numberdlg"
7335 if test "$enableval" = yes; then
7336 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
7338 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
7343 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
7344 if test "x$LINE" != x
; then
7345 eval "DEFAULT_$LINE"
7350 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
7355 eval "$ac_cv_use_numberdlg"
7356 if test "$no_cache" != 1; then
7357 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
7360 if test "$wxUSE_NUMBERDLG" = yes; then
7361 echo "$ac_t""yes" 1>&6
7363 echo "$ac_t""no" 1>&6
7367 echo $ac_n "checking for --enable-splash""... $ac_c" 1>&6
7368 echo "configure:7369: checking for --enable-splash" >&5
7370 # Check whether --enable-splash or --disable-splash was given.
7371 if test "${enable_splash+set}" = set; then
7372 enableval
="$enable_splash"
7374 if test "$enableval" = yes; then
7375 ac_cv_use_splash
='wxUSE_SPLASH=yes'
7377 ac_cv_use_splash
='wxUSE_SPLASH=no'
7382 LINE
=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
7383 if test "x$LINE" != x
; then
7384 eval "DEFAULT_$LINE"
7389 ac_cv_use_splash
='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
7394 eval "$ac_cv_use_splash"
7395 if test "$no_cache" != 1; then
7396 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
7399 if test "$wxUSE_SPLASH" = yes; then
7400 echo "$ac_t""yes" 1>&6
7402 echo "$ac_t""no" 1>&6
7406 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
7407 echo "configure:7408: checking for --enable-textdlg" >&5
7409 # Check whether --enable-textdlg or --disable-textdlg was given.
7410 if test "${enable_textdlg+set}" = set; then
7411 enableval
="$enable_textdlg"
7413 if test "$enableval" = yes; then
7414 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
7416 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
7421 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
7422 if test "x$LINE" != x
; then
7423 eval "DEFAULT_$LINE"
7428 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
7433 eval "$ac_cv_use_textdlg"
7434 if test "$no_cache" != 1; then
7435 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
7438 if test "$wxUSE_TEXTDLG" = yes; then
7439 echo "$ac_t""yes" 1>&6
7441 echo "$ac_t""no" 1>&6
7445 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
7446 echo "configure:7447: checking for --enable-tipdlg" >&5
7448 # Check whether --enable-tipdlg or --disable-tipdlg was given.
7449 if test "${enable_tipdlg+set}" = set; then
7450 enableval
="$enable_tipdlg"
7452 if test "$enableval" = yes; then
7453 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
7455 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
7460 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
7461 if test "x$LINE" != x
; then
7462 eval "DEFAULT_$LINE"
7467 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
7472 eval "$ac_cv_use_tipdlg"
7473 if test "$no_cache" != 1; then
7474 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
7477 if test "$wxUSE_STARTUP_TIPS" = yes; then
7478 echo "$ac_t""yes" 1>&6
7480 echo "$ac_t""no" 1>&6
7484 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
7485 echo "configure:7486: checking for --enable-progressdlg" >&5
7487 # Check whether --enable-progressdlg or --disable-progressdlg was given.
7488 if test "${enable_progressdlg+set}" = set; then
7489 enableval
="$enable_progressdlg"
7491 if test "$enableval" = yes; then
7492 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
7494 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
7499 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x
; then
7501 eval "DEFAULT_$LINE"
7506 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
7511 eval "$ac_cv_use_progressdlg"
7512 if test "$no_cache" != 1; then
7513 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
7516 if test "$wxUSE_PROGRESSDLG" = yes; then
7517 echo "$ac_t""yes" 1>&6
7519 echo "$ac_t""no" 1>&6
7523 echo $ac_n "checking for --enable-wizarddlg""... $ac_c" 1>&6
7524 echo "configure:7525: checking for --enable-wizarddlg" >&5
7526 # Check whether --enable-wizarddlg or --disable-wizarddlg was given.
7527 if test "${enable_wizarddlg+set}" = set; then
7528 enableval
="$enable_wizarddlg"
7530 if test "$enableval" = yes; then
7531 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=yes'
7533 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG=no'
7538 LINE
=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
7539 if test "x$LINE" != x
; then
7540 eval "DEFAULT_$LINE"
7545 ac_cv_use_wizarddlg
='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
7550 eval "$ac_cv_use_wizarddlg"
7551 if test "$no_cache" != 1; then
7552 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
7555 if test "$wxUSE_WIZARDDLG" = yes; then
7556 echo "$ac_t""yes" 1>&6
7558 echo "$ac_t""no" 1>&6
7564 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
7565 echo "configure:7566: checking for --enable-menus" >&5
7567 # Check whether --enable-menus or --disable-menus was given.
7568 if test "${enable_menus+set}" = set; then
7569 enableval
="$enable_menus"
7571 if test "$enableval" = yes; then
7572 ac_cv_use_menus
='wxUSE_MENUS=yes'
7574 ac_cv_use_menus
='wxUSE_MENUS=no'
7579 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
7580 if test "x$LINE" != x
; then
7581 eval "DEFAULT_$LINE"
7586 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
7591 eval "$ac_cv_use_menus"
7592 if test "$no_cache" != 1; then
7593 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
7596 if test "$wxUSE_MENUS" = yes; then
7597 echo "$ac_t""yes" 1>&6
7599 echo "$ac_t""no" 1>&6
7603 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
7604 echo "configure:7605: checking for --enable-miniframe" >&5
7606 # Check whether --enable-miniframe or --disable-miniframe was given.
7607 if test "${enable_miniframe+set}" = set; then
7608 enableval
="$enable_miniframe"
7610 if test "$enableval" = yes; then
7611 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
7613 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
7618 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
7619 if test "x$LINE" != x
; then
7620 eval "DEFAULT_$LINE"
7625 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
7630 eval "$ac_cv_use_miniframe"
7631 if test "$no_cache" != 1; then
7632 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
7635 if test "$wxUSE_MINIFRAME" = yes; then
7636 echo "$ac_t""yes" 1>&6
7638 echo "$ac_t""no" 1>&6
7642 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
7643 echo "configure:7644: checking for --enable-tooltips" >&5
7645 # Check whether --enable-tooltips or --disable-tooltips was given.
7646 if test "${enable_tooltips+set}" = set; then
7647 enableval
="$enable_tooltips"
7649 if test "$enableval" = yes; then
7650 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
7652 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
7657 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
7658 if test "x$LINE" != x
; then
7659 eval "DEFAULT_$LINE"
7664 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
7669 eval "$ac_cv_use_tooltips"
7670 if test "$no_cache" != 1; then
7671 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
7674 if test "$wxUSE_TOOLTIPS" = yes; then
7675 echo "$ac_t""yes" 1>&6
7677 echo "$ac_t""no" 1>&6
7681 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
7682 echo "configure:7683: checking for --enable-splines" >&5
7684 # Check whether --enable-splines or --disable-splines was given.
7685 if test "${enable_splines+set}" = set; then
7686 enableval
="$enable_splines"
7688 if test "$enableval" = yes; then
7689 ac_cv_use_splines
='wxUSE_SPLINES=yes'
7691 ac_cv_use_splines
='wxUSE_SPLINES=no'
7696 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
7697 if test "x$LINE" != x
; then
7698 eval "DEFAULT_$LINE"
7703 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
7708 eval "$ac_cv_use_splines"
7709 if test "$no_cache" != 1; then
7710 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
7713 if test "$wxUSE_SPLINES" = yes; then
7714 echo "$ac_t""yes" 1>&6
7716 echo "$ac_t""no" 1>&6
7720 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
7721 echo "configure:7722: checking for --enable-validators" >&5
7723 # Check whether --enable-validators or --disable-validators was given.
7724 if test "${enable_validators+set}" = set; then
7725 enableval
="$enable_validators"
7727 if test "$enableval" = yes; then
7728 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
7730 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
7735 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
7736 if test "x$LINE" != x
; then
7737 eval "DEFAULT_$LINE"
7742 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
7747 eval "$ac_cv_use_validators"
7748 if test "$no_cache" != 1; then
7749 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
7752 if test "$wxUSE_VALIDATORS" = yes; then
7753 echo "$ac_t""yes" 1>&6
7755 echo "$ac_t""no" 1>&6
7759 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
7760 echo "configure:7761: checking for --enable-busyinfo" >&5
7762 # Check whether --enable-busyinfo or --disable-busyinfo was given.
7763 if test "${enable_busyinfo+set}" = set; then
7764 enableval
="$enable_busyinfo"
7766 if test "$enableval" = yes; then
7767 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
7769 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
7774 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
7775 if test "x$LINE" != x
; then
7776 eval "DEFAULT_$LINE"
7781 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
7786 eval "$ac_cv_use_busyinfo"
7787 if test "$no_cache" != 1; then
7788 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
7791 if test "$wxUSE_BUSYINFO" = yes; then
7792 echo "$ac_t""yes" 1>&6
7794 echo "$ac_t""no" 1>&6
7798 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
7799 echo "configure:7800: checking for --enable-joystick" >&5
7801 # Check whether --enable-joystick or --disable-joystick was given.
7802 if test "${enable_joystick+set}" = set; then
7803 enableval
="$enable_joystick"
7805 if test "$enableval" = yes; then
7806 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7808 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7813 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7814 if test "x$LINE" != x
; then
7815 eval "DEFAULT_$LINE"
7820 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7825 eval "$ac_cv_use_joystick"
7826 if test "$no_cache" != 1; then
7827 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7830 if test "$wxUSE_JOYSTICK" = yes; then
7831 echo "$ac_t""yes" 1>&6
7833 echo "$ac_t""no" 1>&6
7837 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7838 echo "configure:7839: checking for --enable-metafile" >&5
7840 # Check whether --enable-metafile or --disable-metafile was given.
7841 if test "${enable_metafile+set}" = set; then
7842 enableval
="$enable_metafile"
7844 if test "$enableval" = yes; then
7845 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7847 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7852 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7853 if test "x$LINE" != x
; then
7854 eval "DEFAULT_$LINE"
7859 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7864 eval "$ac_cv_use_metafile"
7865 if test "$no_cache" != 1; then
7866 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7869 if test "$wxUSE_METAFILE" = yes; then
7870 echo "$ac_t""yes" 1>&6
7872 echo "$ac_t""no" 1>&6
7876 echo $ac_n "checking for --enable-dragimage""... $ac_c" 1>&6
7877 echo "configure:7878: checking for --enable-dragimage" >&5
7879 # Check whether --enable-dragimage or --disable-dragimage was given.
7880 if test "${enable_dragimage+set}" = set; then
7881 enableval
="$enable_dragimage"
7883 if test "$enableval" = yes; then
7884 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=yes'
7886 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE=no'
7891 LINE
=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
7892 if test "x$LINE" != x
; then
7893 eval "DEFAULT_$LINE"
7898 ac_cv_use_dragimage
='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
7903 eval "$ac_cv_use_dragimage"
7904 if test "$no_cache" != 1; then
7905 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
7908 if test "$wxUSE_DRAGIMAGE" = yes; then
7909 echo "$ac_t""yes" 1>&6
7911 echo "$ac_t""no" 1>&6
7917 echo $ac_n "checking for --enable-palette""... $ac_c" 1>&6
7918 echo "configure:7919: checking for --enable-palette" >&5
7920 # Check whether --enable-palette or --disable-palette was given.
7921 if test "${enable_palette+set}" = set; then
7922 enableval
="$enable_palette"
7924 if test "$enableval" = yes; then
7925 ac_cv_use_palette
='wxUSE_PALETTE=yes'
7927 ac_cv_use_palette
='wxUSE_PALETTE=no'
7932 LINE
=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
7933 if test "x$LINE" != x
; then
7934 eval "DEFAULT_$LINE"
7939 ac_cv_use_palette
='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
7944 eval "$ac_cv_use_palette"
7945 if test "$no_cache" != 1; then
7946 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
7949 if test "$wxUSE_PALETTE" = yes; then
7950 echo "$ac_t""yes" 1>&6
7952 echo "$ac_t""no" 1>&6
7956 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7957 echo "configure:7958: checking for --enable-image" >&5
7959 # Check whether --enable-image or --disable-image was given.
7960 if test "${enable_image+set}" = set; then
7961 enableval
="$enable_image"
7963 if test "$enableval" = yes; then
7964 ac_cv_use_image
='wxUSE_IMAGE=yes'
7966 ac_cv_use_image
='wxUSE_IMAGE=no'
7971 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7972 if test "x$LINE" != x
; then
7973 eval "DEFAULT_$LINE"
7978 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7983 eval "$ac_cv_use_image"
7984 if test "$no_cache" != 1; then
7985 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7988 if test "$wxUSE_IMAGE" = yes; then
7989 echo "$ac_t""yes" 1>&6
7991 echo "$ac_t""no" 1>&6
7995 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7996 echo "configure:7997: checking for --enable-gif" >&5
7998 # Check whether --enable-gif or --disable-gif was given.
7999 if test "${enable_gif+set}" = set; then
8000 enableval
="$enable_gif"
8002 if test "$enableval" = yes; then
8003 ac_cv_use_gif
='wxUSE_GIF=yes'
8005 ac_cv_use_gif
='wxUSE_GIF=no'
8010 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
8011 if test "x$LINE" != x
; then
8012 eval "DEFAULT_$LINE"
8017 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
8022 eval "$ac_cv_use_gif"
8023 if test "$no_cache" != 1; then
8024 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
8027 if test "$wxUSE_GIF" = yes; then
8028 echo "$ac_t""yes" 1>&6
8030 echo "$ac_t""no" 1>&6
8034 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
8035 echo "configure:8036: checking for --enable-pcx" >&5
8037 # Check whether --enable-pcx or --disable-pcx was given.
8038 if test "${enable_pcx+set}" = set; then
8039 enableval
="$enable_pcx"
8041 if test "$enableval" = yes; then
8042 ac_cv_use_pcx
='wxUSE_PCX=yes'
8044 ac_cv_use_pcx
='wxUSE_PCX=no'
8049 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
8050 if test "x$LINE" != x
; then
8051 eval "DEFAULT_$LINE"
8056 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
8061 eval "$ac_cv_use_pcx"
8062 if test "$no_cache" != 1; then
8063 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
8066 if test "$wxUSE_PCX" = yes; then
8067 echo "$ac_t""yes" 1>&6
8069 echo "$ac_t""no" 1>&6
8073 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
8074 echo "configure:8075: checking for --enable-pnm" >&5
8076 # Check whether --enable-pnm or --disable-pnm was given.
8077 if test "${enable_pnm+set}" = set; then
8078 enableval
="$enable_pnm"
8080 if test "$enableval" = yes; then
8081 ac_cv_use_pnm
='wxUSE_PNM=yes'
8083 ac_cv_use_pnm
='wxUSE_PNM=no'
8088 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
8089 if test "x$LINE" != x
; then
8090 eval "DEFAULT_$LINE"
8095 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
8100 eval "$ac_cv_use_pnm"
8101 if test "$no_cache" != 1; then
8102 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
8105 if test "$wxUSE_PNM" = yes; then
8106 echo "$ac_t""yes" 1>&6
8108 echo "$ac_t""no" 1>&6
8112 echo $ac_n "checking for --enable-xpm""... $ac_c" 1>&6
8113 echo "configure:8114: checking for --enable-xpm" >&5
8115 # Check whether --enable-xpm or --disable-xpm was given.
8116 if test "${enable_xpm+set}" = set; then
8117 enableval
="$enable_xpm"
8119 if test "$enableval" = yes; then
8120 ac_cv_use_xpm
='wxUSE_XPM=yes'
8122 ac_cv_use_xpm
='wxUSE_XPM=no'
8127 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
8128 if test "x$LINE" != x
; then
8129 eval "DEFAULT_$LINE"
8134 ac_cv_use_xpm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
8139 eval "$ac_cv_use_xpm"
8140 if test "$no_cache" != 1; then
8141 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
8144 if test "$wxUSE_XPM" = yes; then
8145 echo "$ac_t""yes" 1>&6
8147 echo "$ac_t""no" 1>&6
8154 echo "saving argument cache $wx_arg_cache_file"
8155 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
8159 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
8160 echo "configure:8161: checking for toolkit" >&5
8162 if test "$wxUSE_GUI" = "yes"; then
8164 if test "$USE_BEOS" = 1; then
8165 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
8168 if test "$TOOLKIT_GIVEN" = 1; then
8169 for toolkit
in `echo $ALL_TOOLKITS`; do
8171 eval "value=\$${var}"
8172 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
8175 for toolkit
in `echo $ALL_TOOLKITS`; do
8176 if test "$has_toolkit_in_cache" != 1; then
8177 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
8179 var
=DEFAULT_wxUSE_
$toolkit
8181 eval "wxUSE_$toolkit=\$${var}"
8185 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} \
8186 + ${wxUSE_WINE:-0} + ${wxUSE_MSW:-0} + ${wxUSE_MGL:-0} + ${wxUSE_MICROWIN:-0}`
8189 *-pc-os2_emx | *-pc-os2-emx )
8190 # PATH_IFS is autodetected by OS/2's configure (usually ';')
8191 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
8200 case "$NUM_TOOLKITS" in
8204 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
8207 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
8210 for toolkit
in `echo $ALL_TOOLKITS`; do
8212 eval "value=\$${var}"
8213 if test "x$value" != x
; then
8214 cache_var
=CACHE_
$toolkit
8215 eval "cache=\$${cache_var}"
8216 if test "$cache" = 1; then
8217 echo "$var=$value" >> ${wx_arg_cache_file}
8219 if test "$value" = 1; then
8220 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
8221 echo "$ac_t""$toolkit_echo" 1>&6
8227 echo "$ac_t""base ($host_alias hosted) only" 1>&6
8231 cat > confcache
<<\EOF
8232 # This file is a shell script that caches the results of configure
8233 # tests run on this system so they can be shared between configure
8234 # scripts and configure runs. It is not useful on other systems.
8235 # If it contains results you don't want to keep, you may remove or edit it.
8237 # By default, configure uses ./config.cache as the cache file,
8238 # creating it if it does not exist already. You can give configure
8239 # the --cache-file=FILE option to use a different cache file; that is
8240 # what configure does when it calls configure scripts in
8241 # subdirectories, so they share the cache.
8242 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8243 # config.status only pays attention to the cache file if you give it the
8244 # --recheck option to rerun configure.
8247 # The following way of writing the cache mishandles newlines in values,
8248 # but we know of no workaround that is simple, portable, and efficient.
8249 # So, don't put newlines in cache variables' values.
8250 # Ultrix sh set writes to stderr and can't be redirected directly,
8251 # and sets the high bit in the cache file unless we assign to the vars.
8253 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8255 # `set' does not quote correctly, so add quotes (double-quote substitution
8256 # turns \\\\ into \\, and sed turns \\ into \).
8258 -e "s/'/'\\\\''/g" \
8259 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8262 # `set' quotes correctly as required by POSIX, so do not add quotes.
8263 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8266 if cmp -s $cache_file confcache
; then
8269 if test -w $cache_file; then
8270 echo "updating cache $cache_file"
8271 cat confcache
> $cache_file
8273 echo "not updating unwritable cache $cache_file"
8279 if test "$build" != "$host" ; then
8280 if test "$USE_WIN32" = 1 -o "$USE_DOS" = 1 ; then
8284 RANLIB
=$host_alias-ranlib
8285 DLLTOOL
=$host_alias-dlltool
8286 RESCOMP
=$host_alias-windres
8289 STRIP
=$host_alias-strip
8291 { echo "configure: error: $build_alias -> $host_alias cross compilation not supported yet." 1>&2; exit 1; }
8295 # Extract the first word of "gcc", so it can be a program name with args.
8296 set dummy gcc
; ac_word
=$2
8297 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8298 echo "configure:8299: checking for $ac_word" >&5
8299 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8300 echo $ac_n "(cached) $ac_c" 1>&6
8302 if test -n "$CC"; then
8303 ac_cv_prog_CC
="$CC" # Let the user override the test.
8305 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8307 for ac_dir
in $ac_dummy; do
8308 test -z "$ac_dir" && ac_dir
=.
8309 if test -f $ac_dir/$ac_word; then
8318 if test -n "$CC"; then
8319 echo "$ac_t""$CC" 1>&6
8321 echo "$ac_t""no" 1>&6
8324 if test -z "$CC"; then
8325 # Extract the first word of "cc", so it can be a program name with args.
8326 set dummy cc
; ac_word
=$2
8327 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8328 echo "configure:8329: checking for $ac_word" >&5
8329 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8330 echo $ac_n "(cached) $ac_c" 1>&6
8332 if test -n "$CC"; then
8333 ac_cv_prog_CC
="$CC" # Let the user override the test.
8335 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8338 for ac_dir
in $ac_dummy; do
8339 test -z "$ac_dir" && ac_dir
=.
8340 if test -f $ac_dir/$ac_word; then
8341 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
8342 ac_prog_rejected
=yes
8350 if test $ac_prog_rejected = yes; then
8351 # We found a bogon in the path, so make sure we never use it.
8352 set dummy
$ac_cv_prog_CC
8354 if test $# -gt 0; then
8355 # We chose a different compiler from the bogus one.
8356 # However, it has the same basename, so the bogon will be chosen
8357 # first if we set CC to just the basename; use the full file name.
8359 set dummy
"$ac_dir/$ac_word" "$@"
8367 if test -n "$CC"; then
8368 echo "$ac_t""$CC" 1>&6
8370 echo "$ac_t""no" 1>&6
8373 if test -z "$CC"; then
8374 case "`uname -s`" in
8376 # Extract the first word of "cl", so it can be a program name with args.
8377 set dummy cl
; ac_word
=$2
8378 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8379 echo "configure:8380: checking for $ac_word" >&5
8380 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
8381 echo $ac_n "(cached) $ac_c" 1>&6
8383 if test -n "$CC"; then
8384 ac_cv_prog_CC
="$CC" # Let the user override the test.
8386 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8388 for ac_dir
in $ac_dummy; do
8389 test -z "$ac_dir" && ac_dir
=.
8390 if test -f $ac_dir/$ac_word; then
8399 if test -n "$CC"; then
8400 echo "$ac_t""$CC" 1>&6
8402 echo "$ac_t""no" 1>&6
8407 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
8410 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8411 echo "configure:8412: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
8414 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8415 ac_cpp
='$CPP $CPPFLAGS'
8416 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8417 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8418 cross_compiling
=$ac_cv_prog_cc_cross
8420 cat > conftest.
$ac_ext << EOF
8422 #line 8423 "configure"
8423 #include "confdefs.h"
8427 if { (eval echo configure
:8428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8428 ac_cv_prog_cc_works
=yes
8429 # If we can't run a trivial program, we are probably using a cross compiler.
8430 if (.
/conftest
; exit) 2>/dev
/null
; then
8431 ac_cv_prog_cc_cross
=no
8433 ac_cv_prog_cc_cross
=yes
8436 echo "configure: failed program was:" >&5
8437 cat conftest.
$ac_ext >&5
8438 ac_cv_prog_cc_works
=no
8442 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8443 ac_cpp
='$CPP $CPPFLAGS'
8444 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8445 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8446 cross_compiling
=$ac_cv_prog_cc_cross
8448 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
8449 if test $ac_cv_prog_cc_works = no
; then
8450 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
8452 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8453 echo "configure:8454: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
8454 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
8455 cross_compiling
=$ac_cv_prog_cc_cross
8457 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
8458 echo "configure:8459: checking whether we are using GNU C" >&5
8459 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
8460 echo $ac_n "(cached) $ac_c" 1>&6
8462 cat > conftest.c
<<EOF
8467 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:8468: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8474 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
8476 if test $ac_cv_prog_gcc = yes; then
8482 ac_test_CFLAGS
="${CFLAGS+set}"
8483 ac_save_CFLAGS
="$CFLAGS"
8485 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
8486 echo "configure:8487: checking whether ${CC-cc} accepts -g" >&5
8487 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
8488 echo $ac_n "(cached) $ac_c" 1>&6
8490 echo 'void f(){}' > conftest.c
8491 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
8500 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
8501 if test "$ac_test_CFLAGS" = set; then
8502 CFLAGS
="$ac_save_CFLAGS"
8503 elif test $ac_cv_prog_cc_g = yes; then
8504 if test "$GCC" = yes; then
8510 if test "$GCC" = yes; then
8518 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
8520 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
8521 echo "configure:8522: checking how to run the C preprocessor" >&5
8522 # On Suns, sometimes $CPP names a directory.
8523 if test -n "$CPP" && test -d "$CPP"; then
8526 if test -z "$CPP"; then
8527 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
8528 echo $ac_n "(cached) $ac_c" 1>&6
8530 # This must be in double quotes, not single quotes, because CPP may get
8531 # substituted into the Makefile and "${CC-cc}" will confuse make.
8533 # On the NeXT, cc -E runs the code through the compiler's parser,
8534 # not just through cpp.
8535 cat > conftest.
$ac_ext <<EOF
8536 #line 8537 "configure"
8537 #include "confdefs.h"
8541 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8542 { (eval echo configure
:8543: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8543 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8544 if test -z "$ac_err"; then
8548 echo "configure: failed program was:" >&5
8549 cat conftest.
$ac_ext >&5
8551 CPP
="${CC-cc} -E -traditional-cpp"
8552 cat > conftest.
$ac_ext <<EOF
8553 #line 8554 "configure"
8554 #include "confdefs.h"
8558 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8559 { (eval echo configure
:8560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8560 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8561 if test -z "$ac_err"; then
8565 echo "configure: failed program was:" >&5
8566 cat conftest.
$ac_ext >&5
8568 CPP
="${CC-cc} -nologo -E"
8569 cat > conftest.
$ac_ext <<EOF
8570 #line 8571 "configure"
8571 #include "confdefs.h"
8575 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8576 { (eval echo configure
:8577: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8577 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8578 if test -z "$ac_err"; then
8582 echo "configure: failed program was:" >&5
8583 cat conftest.
$ac_ext >&5
8592 ac_cv_prog_CPP
="$CPP"
8594 CPP
="$ac_cv_prog_CPP"
8596 ac_cv_prog_CPP
="$CPP"
8598 echo "$ac_t""$CPP" 1>&6
8600 if test $ac_cv_prog_gcc = yes; then
8601 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
8602 echo "configure:8603: checking whether ${CC-cc} needs -traditional" >&5
8603 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
8604 echo $ac_n "(cached) $ac_c" 1>&6
8606 ac_pattern
="Autoconf.*'x'"
8607 cat > conftest.
$ac_ext <<EOF
8608 #line 8609 "configure"
8609 #include "confdefs.h"
8613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8614 egrep "$ac_pattern" >/dev
/null
2>&1; then
8616 ac_cv_prog_gcc_traditional
=yes
8619 ac_cv_prog_gcc_traditional
=no
8624 if test $ac_cv_prog_gcc_traditional = no
; then
8625 cat > conftest.
$ac_ext <<EOF
8626 #line 8627 "configure"
8627 #include "confdefs.h"
8631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8632 egrep "$ac_pattern" >/dev
/null
2>&1; then
8634 ac_cv_prog_gcc_traditional
=yes
8641 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
8642 if test $ac_cv_prog_gcc_traditional = yes; then
8643 CC
="$CC -traditional"
8650 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8651 ac_cpp
='$CXXCPP $CPPFLAGS'
8652 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8653 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8654 cross_compiling
=$ac_cv_prog_cxx_cross
8657 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
8659 # Extract the first word of "$ac_prog", so it can be a program name with args.
8660 set dummy
$ac_prog; ac_word
=$2
8661 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8662 echo "configure:8663: checking for $ac_word" >&5
8663 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
8664 echo $ac_n "(cached) $ac_c" 1>&6
8666 if test -n "$CXX"; then
8667 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
8669 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8671 for ac_dir
in $ac_dummy; do
8672 test -z "$ac_dir" && ac_dir
=.
8673 if test -f $ac_dir/$ac_word; then
8674 ac_cv_prog_CXX
="$ac_prog"
8681 CXX
="$ac_cv_prog_CXX"
8682 if test -n "$CXX"; then
8683 echo "$ac_t""$CXX" 1>&6
8685 echo "$ac_t""no" 1>&6
8688 test -n "$CXX" && break
8690 test -n "$CXX" || CXX
="gcc"
8693 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
8694 echo "configure:8695: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
8697 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8698 ac_cpp
='$CXXCPP $CPPFLAGS'
8699 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8700 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8701 cross_compiling
=$ac_cv_prog_cxx_cross
8703 cat > conftest.
$ac_ext << EOF
8705 #line 8706 "configure"
8706 #include "confdefs.h"
8708 int main(){return(0);}
8710 if { (eval echo configure
:8711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8711 ac_cv_prog_cxx_works
=yes
8712 # If we can't run a trivial program, we are probably using a cross compiler.
8713 if (.
/conftest
; exit) 2>/dev
/null
; then
8714 ac_cv_prog_cxx_cross
=no
8716 ac_cv_prog_cxx_cross
=yes
8719 echo "configure: failed program was:" >&5
8720 cat conftest.
$ac_ext >&5
8721 ac_cv_prog_cxx_works
=no
8725 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8726 ac_cpp
='$CXXCPP $CPPFLAGS'
8727 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8728 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8729 cross_compiling
=$ac_cv_prog_cxx_cross
8731 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
8732 if test $ac_cv_prog_cxx_works = no
; then
8733 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
8735 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
8736 echo "configure:8737: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
8737 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
8738 cross_compiling
=$ac_cv_prog_cxx_cross
8740 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
8741 echo "configure:8742: checking whether we are using GNU C++" >&5
8742 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
8743 echo $ac_n "(cached) $ac_c" 1>&6
8745 cat > conftest.C
<<EOF
8750 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:8751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
8757 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
8759 if test $ac_cv_prog_gxx = yes; then
8765 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
8766 ac_save_CXXFLAGS
="$CXXFLAGS"
8768 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
8769 echo "configure:8770: checking whether ${CXX-g++} accepts -g" >&5
8770 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
8771 echo $ac_n "(cached) $ac_c" 1>&6
8773 echo 'void f(){}' > conftest.cc
8774 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
8775 ac_cv_prog_cxx_g
=yes
8783 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
8784 if test "$ac_test_CXXFLAGS" = set; then
8785 CXXFLAGS
="$ac_save_CXXFLAGS"
8786 elif test $ac_cv_prog_cxx_g = yes; then
8787 if test "$GXX" = yes; then
8793 if test "$GXX" = yes; then
8801 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
8804 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8805 ac_cpp
='$CPP $CPPFLAGS'
8806 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8807 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8808 cross_compiling
=$ac_cv_prog_cc_cross
8811 # Extract the first word of "ranlib", so it can be a program name with args.
8812 set dummy ranlib
; ac_word
=$2
8813 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8814 echo "configure:8815: checking for $ac_word" >&5
8815 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
8816 echo $ac_n "(cached) $ac_c" 1>&6
8818 if test -n "$RANLIB"; then
8819 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
8821 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8823 for ac_dir
in $ac_dummy; do
8824 test -z "$ac_dir" && ac_dir
=.
8825 if test -f $ac_dir/$ac_word; then
8826 ac_cv_prog_RANLIB
="ranlib"
8831 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
8834 RANLIB
="$ac_cv_prog_RANLIB"
8835 if test -n "$RANLIB"; then
8836 echo "$ac_t""$RANLIB" 1>&6
8838 echo "$ac_t""no" 1>&6
8842 # Extract the first word of "ar", so it can be a program name with args.
8843 set dummy
ar; ac_word
=$2
8844 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8845 echo "configure:8846: checking for $ac_word" >&5
8846 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8847 echo $ac_n "(cached) $ac_c" 1>&6
8849 if test -n "$AR"; then
8850 ac_cv_prog_AR
="$AR" # Let the user override the test.
8852 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8854 for ac_dir
in $ac_dummy; do
8855 test -z "$ac_dir" && ac_dir
=.
8856 if test -f $ac_dir/$ac_word; then
8862 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8866 if test -n "$AR"; then
8867 echo "$ac_t""$AR" 1>&6
8869 echo "$ac_t""no" 1>&6
8873 # Find a good install program. We prefer a C program (faster),
8874 # so one script is as good as another. But avoid the broken or
8875 # incompatible versions:
8876 # SysV /etc/install, /usr/sbin/install
8877 # SunOS /usr/etc/install
8878 # IRIX /sbin/install
8880 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8881 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8882 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8883 # ./install, which can be erroneously created by make from ./install.sh.
8884 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8885 echo "configure:8886: checking for a BSD compatible install" >&5
8886 if test -z "$INSTALL"; then
8887 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8888 echo $ac_n "(cached) $ac_c" 1>&6
8890 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8891 for ac_dir
in $PATH; do
8892 # Account for people who put trailing slashes in PATH elements.
8894 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8896 # OSF1 and SCO ODT 3.0 have their own names for install.
8897 # Don't use installbsd from OSF since it installs stuff as root
8899 for ac_prog
in ginstall scoinst
install; do
8900 if test -f $ac_dir/$ac_prog; then
8901 if test $ac_prog = install &&
8902 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8903 # AIX install. It has an incompatible calling convention.
8906 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8917 if test "${ac_cv_path_install+set}" = set; then
8918 INSTALL
="$ac_cv_path_install"
8920 # As a last resort, use the slow shell script. We don't cache a
8921 # path for INSTALL within a source directory, because that will
8922 # break other packages using the cache if that directory is
8923 # removed, or if the path is relative.
8924 INSTALL
="$ac_install_sh"
8927 echo "$ac_t""$INSTALL" 1>&6
8929 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8930 # It thinks the first close brace ends the variable substitution.
8931 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8933 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8935 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8940 INSTALL_PROGRAM
="cp -fp"
8941 INSTALL_DATA
="cp -fp"
8947 # Extract the first word of "strip", so it can be a program name with args.
8948 set dummy strip
; ac_word
=$2
8949 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8950 echo "configure:8951: checking for $ac_word" >&5
8951 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8952 echo $ac_n "(cached) $ac_c" 1>&6
8954 if test -n "$STRIP"; then
8955 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8957 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8959 for ac_dir
in $ac_dummy; do
8960 test -z "$ac_dir" && ac_dir
=.
8961 if test -f $ac_dir/$ac_word; then
8962 ac_cv_prog_STRIP
="strip"
8967 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8970 STRIP
="$ac_cv_prog_STRIP"
8971 if test -n "$STRIP"; then
8972 echo "$ac_t""$STRIP" 1>&6
8974 echo "$ac_t""no" 1>&6
8978 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8979 echo "configure:8980: checking make for VPATH support" >&5
8980 cat - << EOF > confMake
8986 if test ! -d sub
; then
8989 echo dummy
> sub
/file
8990 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8992 rm -f sub
/file check final_file confMake
8994 if test "$RESULT" = 0; then
8995 echo "$ac_t""yes" 1>&6
8997 echo "$ac_t""no" 1>&6
8998 { echo "configure: error:
8999 You need a make-utility that is able to use the variable
9001 If your version of make does not support VPATH correctly,
9002 please install GNU-make (possibly as gmake), and start
9003 configure with the following command:
9004 export MAKE=gmake; ./configure for sh-type shells
9005 setenv MAKE gmake; ./configure for csh-type shells
9006 Also please do remember to use gmake in this case every time
9007 you are trying to compile.
9011 for ac_prog
in 'bison -y' byacc
9013 # Extract the first word of "$ac_prog", so it can be a program name with args.
9014 set dummy
$ac_prog; ac_word
=$2
9015 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9016 echo "configure:9017: checking for $ac_word" >&5
9017 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
9018 echo $ac_n "(cached) $ac_c" 1>&6
9020 if test -n "$YACC"; then
9021 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
9023 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9025 for ac_dir
in $ac_dummy; do
9026 test -z "$ac_dir" && ac_dir
=.
9027 if test -f $ac_dir/$ac_word; then
9028 ac_cv_prog_YACC
="$ac_prog"
9035 YACC
="$ac_cv_prog_YACC"
9036 if test -n "$YACC"; then
9037 echo "$ac_t""$YACC" 1>&6
9039 echo "$ac_t""no" 1>&6
9042 test -n "$YACC" && break
9044 test -n "$YACC" || YACC
="yacc"
9047 # Extract the first word of "flex", so it can be a program name with args.
9048 set dummy flex
; ac_word
=$2
9049 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
9050 echo "configure:9051: checking for $ac_word" >&5
9051 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
9052 echo $ac_n "(cached) $ac_c" 1>&6
9054 if test -n "$LEX"; then
9055 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
9057 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
9059 for ac_dir
in $ac_dummy; do
9060 test -z "$ac_dir" && ac_dir
=.
9061 if test -f $ac_dir/$ac_word; then
9062 ac_cv_prog_LEX
="flex"
9067 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
9070 LEX
="$ac_cv_prog_LEX"
9071 if test -n "$LEX"; then
9072 echo "$ac_t""$LEX" 1>&6
9074 echo "$ac_t""no" 1>&6
9077 if test -z "$LEXLIB"
9083 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
9084 echo "configure:9085: checking for yywrap in -l$ac_lib" >&5
9085 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
9086 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9087 echo $ac_n "(cached) $ac_c" 1>&6
9089 ac_save_LIBS
="$LIBS"
9090 LIBS
="-l$ac_lib $LIBS"
9091 cat > conftest.
$ac_ext <<EOF
9092 #line 9093 "configure"
9093 #include "confdefs.h"
9094 /* Override any gcc2 internal prototype to avoid an error. */
9095 /* We use char because int might match the return type of a gcc2
9096 builtin and then its argument prototype would still apply. */
9103 if { (eval echo configure
:9104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9105 eval "ac_cv_lib_$ac_lib_var=yes"
9107 echo "configure: failed program was:" >&5
9108 cat conftest.
$ac_ext >&5
9110 eval "ac_cv_lib_$ac_lib_var=no"
9113 LIBS
="$ac_save_LIBS"
9116 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9117 echo "$ac_t""yes" 1>&6
9120 echo "$ac_t""no" 1>&6
9126 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
9127 echo "configure:9128: checking whether ln -s works" >&5
9128 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
9129 echo $ac_n "(cached) $ac_c" 1>&6
9132 if ln -s X conftestdata
2>/dev
/null
9135 ac_cv_prog_LN_S
="ln -s"
9140 LN_S
="$ac_cv_prog_LN_S"
9141 if test "$ac_cv_prog_LN_S" = "ln -s"; then
9142 echo "$ac_t""yes" 1>&6
9144 echo "$ac_t""no" 1>&6
9150 /usr/local/include \
9152 /usr/Motif-1.2/include \
9153 /usr/Motif-2.1/include \
9155 /usr/include/Motif1.2 \
9156 /opt/xpm/include/X11 \
9157 /opt/GBxpm/include/ \
9158 /opt/GBxpm/X11/include/ \
9160 /usr/Motif1.2/include \
9162 /usr/openwin/include \
9166 /usr/X11R6/include \
9167 /usr/X11R6.4/include \
9168 /usr/X11R5/include \
9169 /usr/X11R4/include \
9171 /usr/include/X11R6 \
9172 /usr/include/X11R5 \
9173 /usr/include/X11R4 \
9175 /usr/local/X11R6/include \
9176 /usr/local/X11R5/include \
9177 /usr/local/X11R4/include \
9179 /usr/local/include/X11R6 \
9180 /usr/local/include/X11R5 \
9181 /usr/local/include/X11R4 \
9185 /usr/local/X11/include \
9186 /usr/local/include/X11 \
9190 /usr/XFree86/include/X11 \
9192 X:/XFree86/include \
9193 X:/XFree86/include/X11 \
9196 /usr/local/include/gtk \
9198 /usr/local/include/glib \
9201 /usr/local/include/qt \
9203 /usr/include/windows \
9205 /usr/local/include/wine \
9207 /usr/unsupported/include \
9208 /usr/athena/include \
9209 /usr/local/x11r5/include \
9210 /usr/lpp/Xamples/include \
9212 /usr/openwin/share/include \
9216 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
9219 cat > confcache
<<\EOF
9220 # This file is a shell script that caches the results of configure
9221 # tests run on this system so they can be shared between configure
9222 # scripts and configure runs. It is not useful on other systems.
9223 # If it contains results you don't want to keep, you may remove or edit it.
9225 # By default, configure uses ./config.cache as the cache file,
9226 # creating it if it does not exist already. You can give configure
9227 # the --cache-file=FILE option to use a different cache file; that is
9228 # what configure does when it calls configure scripts in
9229 # subdirectories, so they share the cache.
9230 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9231 # config.status only pays attention to the cache file if you give it the
9232 # --recheck option to rerun configure.
9235 # The following way of writing the cache mishandles newlines in values,
9236 # but we know of no workaround that is simple, portable, and efficient.
9237 # So, don't put newlines in cache variables' values.
9238 # Ultrix sh set writes to stderr and can't be redirected directly,
9239 # and sets the high bit in the cache file unless we assign to the vars.
9241 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9243 # `set' does not quote correctly, so add quotes (double-quote substitution
9244 # turns \\\\ into \\, and sed turns \\ into \).
9246 -e "s/'/'\\\\''/g" \
9247 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9250 # `set' quotes correctly as required by POSIX, so do not add quotes.
9251 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9254 if cmp -s $cache_file confcache
; then
9257 if test -w $cache_file; then
9258 echo "updating cache $cache_file"
9259 cat confcache
> $cache_file
9261 echo "not updating unwritable cache $cache_file"
9270 if test "$wxUSE_REGEX" != "no"; then
9271 cat >> confdefs.h
<<\EOF
9272 #define wxUSE_REGEX 1
9276 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
9277 ac_safe
=`echo "regex.h" | sed 'y%./+-%__p_%'`
9278 echo $ac_n "checking for regex.h""... $ac_c" 1>&6
9279 echo "configure:9280: checking for regex.h" >&5
9280 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9281 echo $ac_n "(cached) $ac_c" 1>&6
9283 cat > conftest.
$ac_ext <<EOF
9284 #line 9285 "configure"
9285 #include "confdefs.h"
9288 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9289 { (eval echo configure
:9290: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9290 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9291 if test -z "$ac_err"; then
9293 eval "ac_cv_header_$ac_safe=yes"
9296 echo "configure: failed program was:" >&5
9297 cat conftest.
$ac_ext >&5
9299 eval "ac_cv_header_$ac_safe=no"
9303 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9304 echo "$ac_t""yes" 1>&6
9305 for ac_func
in regcomp
9307 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9308 echo "configure:9309: checking for $ac_func" >&5
9309 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9310 echo $ac_n "(cached) $ac_c" 1>&6
9312 cat > conftest.
$ac_ext <<EOF
9313 #line 9314 "configure"
9314 #include "confdefs.h"
9315 /* System header to define __stub macros and hopefully few prototypes,
9316 which can conflict with char $ac_func(); below. */
9318 /* Override any gcc2 internal prototype to avoid an error. */
9319 /* We use char because int might match the return type of a gcc2
9320 builtin and then its argument prototype would still apply. */
9325 /* The GNU C library defines this for functions which it implements
9326 to always fail with ENOSYS. Some functions are actually named
9327 something starting with __ and the normal name is an alias. */
9328 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9336 if { (eval echo configure
:9337: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9338 eval "ac_cv_func_$ac_func=yes"
9340 echo "configure: failed program was:" >&5
9341 cat conftest.
$ac_ext >&5
9343 eval "ac_cv_func_$ac_func=no"
9348 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9349 echo "$ac_t""yes" 1>&6
9350 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9351 cat >> confdefs.h
<<EOF
9352 #define $ac_tr_func 1
9356 echo "$ac_t""no" 1>&6
9361 echo "$ac_t""no" 1>&6
9365 if test "x$ac_cv_func_regcomp" != "xyes"; then
9366 if test "$wxUSE_REGEX" = "sys" ; then
9367 { echo "configure: error: system regex library not found! Use --with-regex to use built-in version" 1>&2; exit 1; }
9369 echo "configure: warning: system regex library not found, will use built-in instead" 1>&2
9377 if test "$wxUSE_REGEX" = "builtin" ; then
9378 REGEX_INCLUDE
="-I\${top_srcdir}/src/regex"
9385 if test "$wxUSE_ZLIB" != "no" ; then
9386 cat >> confdefs.h
<<\EOF
9387 #define wxUSE_ZLIB 1
9391 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
9392 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
9393 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
9394 echo "configure:9395: checking for zlib.h" >&5
9395 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9396 echo $ac_n "(cached) $ac_c" 1>&6
9398 cat > conftest.
$ac_ext <<EOF
9399 #line 9400 "configure"
9400 #include "confdefs.h"
9403 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9404 { (eval echo configure
:9405: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9405 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9406 if test -z "$ac_err"; then
9408 eval "ac_cv_header_$ac_safe=yes"
9411 echo "configure: failed program was:" >&5
9412 cat conftest.
$ac_ext >&5
9414 eval "ac_cv_header_$ac_safe=no"
9418 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9419 echo "$ac_t""yes" 1>&6
9420 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
9421 echo "configure:9422: checking for deflate in -lz" >&5
9422 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
9423 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9424 echo $ac_n "(cached) $ac_c" 1>&6
9426 ac_save_LIBS
="$LIBS"
9428 cat > conftest.
$ac_ext <<EOF
9429 #line 9430 "configure"
9430 #include "confdefs.h"
9431 /* Override any gcc2 internal prototype to avoid an error. */
9432 /* We use char because int might match the return type of a gcc2
9433 builtin and then its argument prototype would still apply. */
9440 if { (eval echo configure
:9441: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9442 eval "ac_cv_lib_$ac_lib_var=yes"
9444 echo "configure: failed program was:" >&5
9445 cat conftest.
$ac_ext >&5
9447 eval "ac_cv_lib_$ac_lib_var=no"
9450 LIBS
="$ac_save_LIBS"
9453 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9454 echo "$ac_t""yes" 1>&6
9457 echo "$ac_t""no" 1>&6
9461 echo "$ac_t""no" 1>&6
9465 if test "x$ZLIB_LINK" = "x" ; then
9466 if test "$wxUSE_ZLIB" = "sys" ; then
9467 { echo "configure: error: system zlib compression library not found! Use --with-zlib=builtin to use built-in version" 1>&2; exit 1; }
9469 echo "configure: warning: system zlib compression library not found, will use built-in instead" 1>&2
9477 if test "$wxUSE_ZLIB" = "builtin" ; then
9478 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
9485 if test "$wxUSE_LIBPNG" != "no" ; then
9486 cat >> confdefs.h
<<\EOF
9487 #define wxUSE_LIBPNG 1
9491 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
9492 echo "configure: warning: system png library doesn't work without system zlib, will use built-in instead" 1>&2
9493 wxUSE_LIBPNG
=builtin
9496 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
9497 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
9498 echo $ac_n "checking for png.h""... $ac_c" 1>&6
9499 echo "configure:9500: checking for png.h" >&5
9500 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9501 echo $ac_n "(cached) $ac_c" 1>&6
9503 cat > conftest.
$ac_ext <<EOF
9504 #line 9505 "configure"
9505 #include "confdefs.h"
9508 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9509 { (eval echo configure
:9510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9510 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9511 if test -z "$ac_err"; then
9513 eval "ac_cv_header_$ac_safe=yes"
9516 echo "configure: failed program was:" >&5
9517 cat conftest.
$ac_ext >&5
9519 eval "ac_cv_header_$ac_safe=no"
9523 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9524 echo "$ac_t""yes" 1>&6
9525 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
9526 echo "configure:9527: checking for png_check_sig in -lpng" >&5
9527 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
9528 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9529 echo $ac_n "(cached) $ac_c" 1>&6
9531 ac_save_LIBS
="$LIBS"
9532 LIBS
="-lpng -lz -lm $LIBS"
9533 cat > conftest.
$ac_ext <<EOF
9534 #line 9535 "configure"
9535 #include "confdefs.h"
9536 /* Override any gcc2 internal prototype to avoid an error. */
9537 /* We use char because int might match the return type of a gcc2
9538 builtin and then its argument prototype would still apply. */
9539 char png_check_sig();
9545 if { (eval echo configure
:9546: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9547 eval "ac_cv_lib_$ac_lib_var=yes"
9549 echo "configure: failed program was:" >&5
9550 cat conftest.
$ac_ext >&5
9552 eval "ac_cv_lib_$ac_lib_var=no"
9555 LIBS
="$ac_save_LIBS"
9558 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9559 echo "$ac_t""yes" 1>&6
9562 echo "$ac_t""no" 1>&6
9567 echo "$ac_t""no" 1>&6
9571 if test "x$PNG_LINK" = "x" ; then
9572 if test "$wxUSE_LIBPNG" = "sys" ; then
9573 { echo "configure: error: system png library not found! Use --with-libpng=builtin to use built-in version" 1>&2; exit 1; }
9575 echo "configure: warning: system png library not found, will use built-in instead" 1>&2
9576 wxUSE_LIBPNG
=builtin
9583 if test "$wxUSE_LIBPNG" = "builtin" ; then
9584 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
9587 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
9593 if test "$wxUSE_LIBJPEG" != "no" ; then
9594 cat >> confdefs.h
<<\EOF
9595 #define wxUSE_LIBJPEG 1
9599 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
9600 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
9601 echo "configure:9602: checking for jpeglib.h" >&5
9602 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
9603 echo $ac_n "(cached) $ac_c" 1>&6
9605 cat > conftest.
$ac_ext <<EOF
9606 #line 9607 "configure"
9607 #include "confdefs.h"
9609 #undef HAVE_STDLIB_H
9611 #include <jpeglib.h>
9618 if { (eval echo configure
:9619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9620 ac_cv_header_jpeglib_h
=yes
9622 echo "configure: failed program was:" >&5
9623 cat conftest.
$ac_ext >&5
9625 ac_cv_header_jpeglib_h
=no
9632 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
9634 if test "$ac_cv_header_jpeglib_h" = "yes"; then
9635 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
9636 echo "configure:9637: checking for jpeg_read_header in -ljpeg" >&5
9637 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
9638 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9639 echo $ac_n "(cached) $ac_c" 1>&6
9641 ac_save_LIBS
="$LIBS"
9643 cat > conftest.
$ac_ext <<EOF
9644 #line 9645 "configure"
9645 #include "confdefs.h"
9646 /* Override any gcc2 internal prototype to avoid an error. */
9647 /* We use char because int might match the return type of a gcc2
9648 builtin and then its argument prototype would still apply. */
9649 char jpeg_read_header();
9655 if { (eval echo configure
:9656: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9657 eval "ac_cv_lib_$ac_lib_var=yes"
9659 echo "configure: failed program was:" >&5
9660 cat conftest.
$ac_ext >&5
9662 eval "ac_cv_lib_$ac_lib_var=no"
9665 LIBS
="$ac_save_LIBS"
9668 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9669 echo "$ac_t""yes" 1>&6
9672 echo "$ac_t""no" 1>&6
9677 if test "x$JPEG_LINK" = "x" ; then
9678 if test "$wxUSE_LIBJPEG" = "sys" ; then
9679 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" 1>&2; exit 1; }
9681 echo "configure: warning: system jpeg library not found, will use built-in instead" 1>&2
9682 wxUSE_LIBJPEG
=builtin
9689 if test "$wxUSE_LIBJPEG" = "builtin" ; then
9690 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
9697 if test "$wxUSE_LIBTIFF" != "no" ; then
9698 cat >> confdefs.h
<<\EOF
9699 #define wxUSE_LIBTIFF 1
9703 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
9704 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
9705 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
9706 echo "configure:9707: checking for tiffio.h" >&5
9707 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9708 echo $ac_n "(cached) $ac_c" 1>&6
9710 cat > conftest.
$ac_ext <<EOF
9711 #line 9712 "configure"
9712 #include "confdefs.h"
9715 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9716 { (eval echo configure
:9717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9717 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9718 if test -z "$ac_err"; then
9720 eval "ac_cv_header_$ac_safe=yes"
9723 echo "configure: failed program was:" >&5
9724 cat conftest.
$ac_ext >&5
9726 eval "ac_cv_header_$ac_safe=no"
9730 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9731 echo "$ac_t""yes" 1>&6
9732 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
9733 echo "configure:9734: checking for TIFFError in -ltiff" >&5
9734 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
9735 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9736 echo $ac_n "(cached) $ac_c" 1>&6
9738 ac_save_LIBS
="$LIBS"
9739 LIBS
="-ltiff -lm $LIBS"
9740 cat > conftest.
$ac_ext <<EOF
9741 #line 9742 "configure"
9742 #include "confdefs.h"
9743 /* Override any gcc2 internal prototype to avoid an error. */
9744 /* We use char because int might match the return type of a gcc2
9745 builtin and then its argument prototype would still apply. */
9752 if { (eval echo configure
:9753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9754 eval "ac_cv_lib_$ac_lib_var=yes"
9756 echo "configure: failed program was:" >&5
9757 cat conftest.
$ac_ext >&5
9759 eval "ac_cv_lib_$ac_lib_var=no"
9762 LIBS
="$ac_save_LIBS"
9765 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9766 echo "$ac_t""yes" 1>&6
9769 echo "$ac_t""no" 1>&6
9774 echo "$ac_t""no" 1>&6
9778 if test "x$TIFF_LINK" = "x" ; then
9779 if test "$wxUSE_LIBTIFF" = "sys" ; then
9780 { echo "configure: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" 1>&2; exit 1; }
9782 echo "configure: warning: system tiff library not found, will use built-in instead" 1>&2
9783 wxUSE_LIBTIFF
=builtin
9790 if test "$wxUSE_LIBTIFF" = "builtin" ; then
9791 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
9798 if test "$wxUSE_FREETYPE" != "no" ; then
9799 cat >> confdefs.h
<<\EOF
9800 #define wxUSE_FREETYPE 1
9804 if test "$wxUSE_FREETYPE" = "sys" -o "$wxUSE_FREETYPE" = "yes" ; then
9805 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
9806 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
9807 echo "configure:9808: checking for freetype.h" >&5
9808 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9809 echo $ac_n "(cached) $ac_c" 1>&6
9811 cat > conftest.
$ac_ext <<EOF
9812 #line 9813 "configure"
9813 #include "confdefs.h"
9814 #include <freetype.h>
9816 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9817 { (eval echo configure
:9818: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9818 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9819 if test -z "$ac_err"; then
9821 eval "ac_cv_header_$ac_safe=yes"
9824 echo "configure: failed program was:" >&5
9825 cat conftest.
$ac_ext >&5
9827 eval "ac_cv_header_$ac_safe=no"
9831 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9832 echo "$ac_t""yes" 1>&6
9833 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
9834 echo "configure:9835: checking for FT_Render_Glyph in -lfreetype" >&5
9835 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
9836 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9837 echo $ac_n "(cached) $ac_c" 1>&6
9839 ac_save_LIBS
="$LIBS"
9840 LIBS
="-lfreetype -lm $LIBS"
9841 cat > conftest.
$ac_ext <<EOF
9842 #line 9843 "configure"
9843 #include "confdefs.h"
9844 /* Override any gcc2 internal prototype to avoid an error. */
9845 /* We use char because int might match the return type of a gcc2
9846 builtin and then its argument prototype would still apply. */
9847 char FT_Render_Glyph();
9853 if { (eval echo configure
:9854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9855 eval "ac_cv_lib_$ac_lib_var=yes"
9857 echo "configure: failed program was:" >&5
9858 cat conftest.
$ac_ext >&5
9860 eval "ac_cv_lib_$ac_lib_var=no"
9863 LIBS
="$ac_save_LIBS"
9866 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9867 echo "$ac_t""yes" 1>&6
9868 FREETYPE_LINK
=" -lfreetype"
9870 echo "$ac_t""no" 1>&6
9875 echo "$ac_t""no" 1>&6
9879 if test "x$FREETYPE_LINK" = "x" ; then
9880 if test "$wxUSE_FREETYPE" = "sys" ; then
9881 { echo "configure: error: system freetype library not found! Use --with-freetype=builtin to use built-in version" 1>&2; exit 1; }
9883 echo "configure: warning: system freetype library not found, will use built-in instead" 1>&2
9884 wxUSE_FREETYPE
=builtin
9891 if test "$wxUSE_FREETYPE" = "builtin" ; then
9892 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
9903 if test "$USE_WIN32" = 1 ; then
9904 for ac_hdr
in w32api.h
9906 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9907 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9908 echo "configure:9909: checking for $ac_hdr" >&5
9909 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9910 echo $ac_n "(cached) $ac_c" 1>&6
9912 cat > conftest.
$ac_ext <<EOF
9913 #line 9914 "configure"
9914 #include "confdefs.h"
9917 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9918 { (eval echo configure
:9919: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9919 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9920 if test -z "$ac_err"; then
9922 eval "ac_cv_header_$ac_safe=yes"
9925 echo "configure: failed program was:" >&5
9926 cat conftest.
$ac_ext >&5
9928 eval "ac_cv_header_$ac_safe=no"
9932 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9933 echo "$ac_t""yes" 1>&6
9934 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9935 cat >> confdefs.h
<<EOF
9936 #define $ac_tr_hdr 1
9940 echo "$ac_t""no" 1>&6
9944 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
9945 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
9946 echo "configure:9947: checking for windows.h" >&5
9947 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9948 echo $ac_n "(cached) $ac_c" 1>&6
9950 cat > conftest.
$ac_ext <<EOF
9951 #line 9952 "configure"
9952 #include "confdefs.h"
9953 #include <windows.h>
9955 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9956 { (eval echo configure
:9957: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9957 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9958 if test -z "$ac_err"; then
9960 eval "ac_cv_header_$ac_safe=yes"
9963 echo "configure: failed program was:" >&5
9964 cat conftest.
$ac_ext >&5
9966 eval "ac_cv_header_$ac_safe=no"
9970 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9971 echo "$ac_t""yes" 1>&6
9974 echo "$ac_t""no" 1>&6
9976 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9981 echo $ac_n "checking if w32api has good enough MSIE support""... $ac_c" 1>&6
9982 echo "configure:9983: checking if w32api has good enough MSIE support" >&5
9983 if eval "test \"`echo '$''{'wx_cv_w32api_win32_ie'+set}'`\" = set"; then
9984 echo $ac_n "(cached) $ac_c" 1>&6
9987 cat > conftest.
$ac_ext <<EOF
9988 #line 9989 "configure"
9989 #include "confdefs.h"
9993 #define wxCHECK_W32API_VERSION( major, minor ) \
9994 ( defined( __W32API_MAJOR_VERSION ) && defined( __W32API_MINOR_VERSION ) \
9995 && ( ( __W32API_MAJOR_VERSION > (major) ) \
9996 || ( __W32API_MAJOR_VERSION == (major) && __W32API_MINOR_VERSION >= (minor))))
9998 #if !wxCHECK_W32API_VERSION(1,1)
9999 #error You need w32api 1.1 or newer
10004 if { (eval echo configure
:10005: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10007 wx_cv_w32api_win32_ie
=yes
10010 echo "configure: failed program was:" >&5
10011 cat conftest.
$ac_ext >&5
10014 wx_cv_w32api_win32_ie
=no
10021 echo "$ac_t""$wx_cv_w32api_win32_ie" 1>&6
10022 if test "$wx_cv_w32api_win32_ie" = "yes" ; then
10023 CPPFLAGS
="$CPPFLAGS -D_WIN32_IE=0x400"
10026 LIBS
="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -ladvapi32 -lwsock32"
10030 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32"
10031 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WIN95__"
10034 if test "$wxUSE_ODBC" = "yes" ; then
10035 LIBS
=" -lodbc32 -lole32 -loleaut32 $LIBS"
10038 RESFLAGS
="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
10039 RESPROGRAMOBJ
="\$(PROGRAM)_resources.o"
10042 if test "$wxUSE_GUI" = "yes"; then
10051 if test "$wxUSE_MSW" = 1 ; then
10057 LDFLAGS
="$LDFLAGS -Wl,--subsystem,windows -mwindows"
10061 if test "$wxUSE_GTK" = 1; then
10062 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
10063 echo "configure:10064: checking for GTK+ version" >&5
10065 gtk_version_cached
=1
10066 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
10067 echo $ac_n "(cached) $ac_c" 1>&6
10070 gtk_version_cached
=0
10071 echo "$ac_t""" 1>&6
10074 if test "$wxUSE_THREADS" = "yes"; then
10075 GTK_MODULES
=gthread
10079 if test "x$wxUSE_GTK2" = "xyes"; then
10080 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10081 if test "${with_gtk_prefix+set}" = set; then
10082 withval
="$with_gtk_prefix"
10083 gtk_config_prefix
="$withval"
10085 gtk_config_prefix
=""
10088 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10089 if test "${with_gtk_exec_prefix+set}" = set; then
10090 withval
="$with_gtk_exec_prefix"
10091 gtk_config_exec_prefix
="$withval"
10093 gtk_config_exec_prefix
=""
10096 # Check whether --enable-gtktest or --disable-gtktest was given.
10097 if test "${enable_gtktest+set}" = set; then
10098 enableval
="$enable_gtktest"
10105 for module
in .
$GTK_MODULES
10109 gtk_config_args
="$gtk_config_args gthread"
10114 if test x
$gtk_config_exec_prefix != x
; then
10115 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10116 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10117 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
10120 if test x
$gtk_config_prefix != x
; then
10121 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10122 if test x
${GTK_CONFIG_2_0+set} != xset
; then
10123 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
10127 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
10128 set dummy gtk
-config-2.0
; ac_word
=$2
10129 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10130 echo "configure:10131: checking for $ac_word" >&5
10131 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
10132 echo $ac_n "(cached) $ac_c" 1>&6
10134 case "$GTK_CONFIG_2_0" in
10136 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
10139 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
10142 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10144 for ac_dir
in $ac_dummy; do
10145 test -z "$ac_dir" && ac_dir
=.
10146 if test -f $ac_dir/$ac_word; then
10147 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
10152 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
10156 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
10157 if test -n "$GTK_CONFIG_2_0"; then
10158 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
10160 echo "$ac_t""no" 1>&6
10163 min_gtk_version
=1.3.1
10164 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10165 echo "configure:10166: checking for GTK - version >= $min_gtk_version" >&5
10167 if test "$GTK_CONFIG_2_0" = "no" ; then
10170 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
10171 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
10172 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10173 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10174 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10175 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10176 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
10177 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10178 if test "x$enable_gtktest" = "xyes" ; then
10179 ac_save_CFLAGS
="$CFLAGS"
10180 ac_save_LIBS
="$LIBS"
10181 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10182 LIBS
="$GTK_LIBS $LIBS"
10184 if test "$cross_compiling" = yes; then
10185 echo $ac_n "cross compiling; assumed OK... $ac_c"
10187 cat > conftest.
$ac_ext <<EOF
10188 #line 10189 "configure"
10189 #include "confdefs.h"
10191 #include <gtk/gtk.h>
10193 #include <stdlib.h>
10198 int major, minor, micro;
10201 system ("touch conf.gtktest");
10203 /* HP/UX 9 (%@#!) writes to sscanf strings */
10204 tmp_version = g_strdup("$min_gtk_version");
10205 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10206 printf("%s, bad version string\n", "$min_gtk_version");
10210 if ((gtk_major_version != $gtk_config_major_version) ||
10211 (gtk_minor_version != $gtk_config_minor_version) ||
10212 (gtk_micro_version != $gtk_config_micro_version))
10214 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10215 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10216 gtk_major_version, gtk_minor_version, gtk_micro_version);
10217 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
10218 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10219 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10220 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10221 printf("*** required on your system.\n");
10222 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
10223 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
10224 printf("*** before re-running configure\n");
10226 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10227 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10228 (gtk_minor_version != GTK_MINOR_VERSION) ||
10229 (gtk_micro_version != GTK_MICRO_VERSION))
10231 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10232 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10233 printf("*** library (version %d.%d.%d)\n",
10234 gtk_major_version, gtk_minor_version, gtk_micro_version);
10236 #endif /* defined (GTK_MAJOR_VERSION) ... */
10239 if ((gtk_major_version > major) ||
10240 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10241 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10247 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10248 gtk_major_version, gtk_minor_version, gtk_micro_version);
10249 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10250 major, minor, micro);
10251 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10253 printf("*** If you have already installed a sufficiently new version, this error\n");
10254 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
10255 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10256 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
10257 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
10258 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10259 printf("*** so that the correct libraries are found at run-time))\n");
10266 if { (eval echo configure
:10267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10270 echo "configure: failed program was:" >&5
10271 cat conftest.
$ac_ext >&5
10278 CFLAGS
="$ac_save_CFLAGS"
10279 LIBS
="$ac_save_LIBS"
10282 if test "x$no_gtk" = x
; then
10283 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
10286 echo "$ac_t""no" 1>&6
10287 if test "$GTK_CONFIG_2_0" = "no" ; then
10288 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
10289 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10290 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
10291 echo "*** full path to gtk-config-2.0."
10293 if test -f conf.gtktest
; then
10296 echo "*** Could not run GTK test program, checking why..."
10297 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10298 LIBS
="$LIBS $GTK_LIBS"
10299 cat > conftest.
$ac_ext <<EOF
10300 #line 10301 "configure"
10301 #include "confdefs.h"
10303 #include <gtk/gtk.h>
10307 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10310 if { (eval echo configure
:10311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10312 echo "*** The test program compiled, but did not run. This usually means"
10313 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10314 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10315 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10316 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10317 echo "*** is required on your system"
10319 echo "*** If you have an old version installed, it is best to remove it, although"
10320 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10322 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10323 echo "*** came with the system with the command"
10325 echo "*** rpm --erase --nodeps gtk gtk-devel"
10327 echo "configure: failed program was:" >&5
10328 cat conftest.
$ac_ext >&5
10330 echo "*** The test program failed to compile or link. See the file config.log for the"
10331 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10332 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10333 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
10336 CFLAGS
="$ac_save_CFLAGS"
10337 LIBS
="$ac_save_LIBS"
10350 if test -z "$wx_cv_lib_gtk"; then
10351 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10352 if test "${with_gtk_prefix+set}" = set; then
10353 withval
="$with_gtk_prefix"
10354 gtk_config_prefix
="$withval"
10356 gtk_config_prefix
=""
10359 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10360 if test "${with_gtk_exec_prefix+set}" = set; then
10361 withval
="$with_gtk_exec_prefix"
10362 gtk_config_exec_prefix
="$withval"
10364 gtk_config_exec_prefix
=""
10367 # Check whether --enable-gtktest or --disable-gtktest was given.
10368 if test "${enable_gtktest+set}" = set; then
10369 enableval
="$enable_gtktest"
10376 for module
in .
$GTK_MODULES
10380 gtk_config_args
="$gtk_config_args gthread"
10385 if test x
$gtk_config_exec_prefix != x
; then
10386 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10387 if test x
${GTK_CONFIG+set} != xset
; then
10388 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10391 if test x
$gtk_config_prefix != x
; then
10392 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10393 if test x
${GTK_CONFIG+set} != xset
; then
10394 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10398 # Extract the first word of "gtk-config", so it can be a program name with args.
10399 set dummy gtk
-config; ac_word
=$2
10400 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10401 echo "configure:10402: checking for $ac_word" >&5
10402 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10403 echo $ac_n "(cached) $ac_c" 1>&6
10405 case "$GTK_CONFIG" in
10407 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10410 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10413 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10415 for ac_dir
in $ac_dummy; do
10416 test -z "$ac_dir" && ac_dir
=.
10417 if test -f $ac_dir/$ac_word; then
10418 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10423 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10427 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10428 if test -n "$GTK_CONFIG"; then
10429 echo "$ac_t""$GTK_CONFIG" 1>&6
10431 echo "$ac_t""no" 1>&6
10434 min_gtk_version
=1.2.7
10435 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10436 echo "configure:10437: checking for GTK - version >= $min_gtk_version" >&5
10438 if test "$GTK_CONFIG" = "no" ; then
10441 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10442 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10443 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10444 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10445 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10446 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10447 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10448 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10449 if test "x$enable_gtktest" = "xyes" ; then
10450 ac_save_CFLAGS
="$CFLAGS"
10451 ac_save_LIBS
="$LIBS"
10452 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10453 LIBS
="$GTK_LIBS $LIBS"
10455 if test "$cross_compiling" = yes; then
10456 echo $ac_n "cross compiling; assumed OK... $ac_c"
10458 cat > conftest.
$ac_ext <<EOF
10459 #line 10460 "configure"
10460 #include "confdefs.h"
10462 #include <gtk/gtk.h>
10464 #include <stdlib.h>
10469 int major, minor, micro;
10472 system ("touch conf.gtktest");
10474 /* HP/UX 9 (%@#!) writes to sscanf strings */
10475 tmp_version = g_strdup("$min_gtk_version");
10476 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10477 printf("%s, bad version string\n", "$min_gtk_version");
10481 if ((gtk_major_version != $gtk_config_major_version) ||
10482 (gtk_minor_version != $gtk_config_minor_version) ||
10483 (gtk_micro_version != $gtk_config_micro_version))
10485 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10486 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10487 gtk_major_version, gtk_minor_version, gtk_micro_version);
10488 printf ("*** was found! If gtk-config was correct, then it is best\n");
10489 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10490 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10491 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10492 printf("*** required on your system.\n");
10493 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10494 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10495 printf("*** before re-running configure\n");
10497 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10498 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10499 (gtk_minor_version != GTK_MINOR_VERSION) ||
10500 (gtk_micro_version != GTK_MICRO_VERSION))
10502 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10503 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10504 printf("*** library (version %d.%d.%d)\n",
10505 gtk_major_version, gtk_minor_version, gtk_micro_version);
10507 #endif /* defined (GTK_MAJOR_VERSION) ... */
10510 if ((gtk_major_version > major) ||
10511 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10512 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10518 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10519 gtk_major_version, gtk_minor_version, gtk_micro_version);
10520 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10521 major, minor, micro);
10522 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10524 printf("*** If you have already installed a sufficiently new version, this error\n");
10525 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10526 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10527 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10528 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10529 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10530 printf("*** so that the correct libraries are found at run-time))\n");
10537 if { (eval echo configure
:10538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10541 echo "configure: failed program was:" >&5
10542 cat conftest.
$ac_ext >&5
10549 CFLAGS
="$ac_save_CFLAGS"
10550 LIBS
="$ac_save_LIBS"
10553 if test "x$no_gtk" = x
; then
10554 echo "$ac_t""yes" 1>&6
10555 wx_cv_lib_gtk
=1.2.7
10557 echo "$ac_t""no" 1>&6
10558 if test "$GTK_CONFIG" = "no" ; then
10559 echo "*** The gtk-config script installed by GTK could not be found"
10560 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10561 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10562 echo "*** full path to gtk-config."
10564 if test -f conf.gtktest
; then
10567 echo "*** Could not run GTK test program, checking why..."
10568 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10569 LIBS
="$LIBS $GTK_LIBS"
10570 cat > conftest.
$ac_ext <<EOF
10571 #line 10572 "configure"
10572 #include "confdefs.h"
10574 #include <gtk/gtk.h>
10578 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10581 if { (eval echo configure
:10582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10583 echo "*** The test program compiled, but did not run. This usually means"
10584 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10585 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10586 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10587 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10588 echo "*** is required on your system"
10590 echo "*** If you have an old version installed, it is best to remove it, although"
10591 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10593 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10594 echo "*** came with the system with the command"
10596 echo "*** rpm --erase --nodeps gtk gtk-devel"
10598 echo "configure: failed program was:" >&5
10599 cat conftest.
$ac_ext >&5
10601 echo "*** The test program failed to compile or link. See the file config.log for the"
10602 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10603 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10604 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10607 CFLAGS
="$ac_save_CFLAGS"
10608 LIBS
="$ac_save_LIBS"
10621 if test -z "$wx_cv_lib_gtk"; then
10622 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
10623 if test "${with_gtk_prefix+set}" = set; then
10624 withval
="$with_gtk_prefix"
10625 gtk_config_prefix
="$withval"
10627 gtk_config_prefix
=""
10630 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
10631 if test "${with_gtk_exec_prefix+set}" = set; then
10632 withval
="$with_gtk_exec_prefix"
10633 gtk_config_exec_prefix
="$withval"
10635 gtk_config_exec_prefix
=""
10638 # Check whether --enable-gtktest or --disable-gtktest was given.
10639 if test "${enable_gtktest+set}" = set; then
10640 enableval
="$enable_gtktest"
10647 for module
in .
$GTK_MODULES
10651 gtk_config_args
="$gtk_config_args gthread"
10656 if test x
$gtk_config_exec_prefix != x
; then
10657 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
10658 if test x
${GTK_CONFIG+set} != xset
; then
10659 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
10662 if test x
$gtk_config_prefix != x
; then
10663 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
10664 if test x
${GTK_CONFIG+set} != xset
; then
10665 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
10669 # Extract the first word of "gtk-config", so it can be a program name with args.
10670 set dummy gtk
-config; ac_word
=$2
10671 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
10672 echo "configure:10673: checking for $ac_word" >&5
10673 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
10674 echo $ac_n "(cached) $ac_c" 1>&6
10676 case "$GTK_CONFIG" in
10678 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
10681 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
10684 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
10686 for ac_dir
in $ac_dummy; do
10687 test -z "$ac_dir" && ac_dir
=.
10688 if test -f $ac_dir/$ac_word; then
10689 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
10694 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
10698 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
10699 if test -n "$GTK_CONFIG"; then
10700 echo "$ac_t""$GTK_CONFIG" 1>&6
10702 echo "$ac_t""no" 1>&6
10705 min_gtk_version
=1.2.3
10706 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
10707 echo "configure:10708: checking for GTK - version >= $min_gtk_version" >&5
10709 if test "$GTK_CONFIG" = "no" ; then
10712 GTK_CFLAGS
=`$GTK_CONFIG $gtk_config_args --cflags`
10713 GTK_LIBS
=`$GTK_CONFIG $gtk_config_args --libs`
10714 gtk_config_major_version
=`$GTK_CONFIG $gtk_config_args --version | \
10715 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
10716 gtk_config_minor_version
=`$GTK_CONFIG $gtk_config_args --version | \
10717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
10718 gtk_config_micro_version
=`$GTK_CONFIG $gtk_config_args --version | \
10719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
10720 if test "x$enable_gtktest" = "xyes" ; then
10721 ac_save_CFLAGS
="$CFLAGS"
10722 ac_save_LIBS
="$LIBS"
10723 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10724 LIBS
="$GTK_LIBS $LIBS"
10726 if test "$cross_compiling" = yes; then
10727 echo $ac_n "cross compiling; assumed OK... $ac_c"
10729 cat > conftest.
$ac_ext <<EOF
10730 #line 10731 "configure"
10731 #include "confdefs.h"
10733 #include <gtk/gtk.h>
10735 #include <stdlib.h>
10740 int major, minor, micro;
10743 system ("touch conf.gtktest");
10745 /* HP/UX 9 (%@#!) writes to sscanf strings */
10746 tmp_version = g_strdup("$min_gtk_version");
10747 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
10748 printf("%s, bad version string\n", "$min_gtk_version");
10752 if ((gtk_major_version != $gtk_config_major_version) ||
10753 (gtk_minor_version != $gtk_config_minor_version) ||
10754 (gtk_micro_version != $gtk_config_micro_version))
10756 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
10757 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
10758 gtk_major_version, gtk_minor_version, gtk_micro_version);
10759 printf ("*** was found! If gtk-config was correct, then it is best\n");
10760 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
10761 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
10762 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
10763 printf("*** required on your system.\n");
10764 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
10765 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
10766 printf("*** before re-running configure\n");
10768 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
10769 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
10770 (gtk_minor_version != GTK_MINOR_VERSION) ||
10771 (gtk_micro_version != GTK_MICRO_VERSION))
10773 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
10774 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
10775 printf("*** library (version %d.%d.%d)\n",
10776 gtk_major_version, gtk_minor_version, gtk_micro_version);
10778 #endif /* defined (GTK_MAJOR_VERSION) ... */
10781 if ((gtk_major_version > major) ||
10782 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
10783 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
10789 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
10790 gtk_major_version, gtk_minor_version, gtk_micro_version);
10791 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
10792 major, minor, micro);
10793 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
10795 printf("*** If you have already installed a sufficiently new version, this error\n");
10796 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
10797 printf("*** being found. The easiest way to fix this is to remove the old version\n");
10798 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
10799 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
10800 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
10801 printf("*** so that the correct libraries are found at run-time))\n");
10808 if { (eval echo configure
:10809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10812 echo "configure: failed program was:" >&5
10813 cat conftest.
$ac_ext >&5
10820 CFLAGS
="$ac_save_CFLAGS"
10821 LIBS
="$ac_save_LIBS"
10824 if test "x$no_gtk" = x
; then
10825 echo "$ac_t""yes" 1>&6
10826 wx_cv_lib_gtk
=1.2.3
10828 echo "$ac_t""no" 1>&6
10829 if test "$GTK_CONFIG" = "no" ; then
10830 echo "*** The gtk-config script installed by GTK could not be found"
10831 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
10832 echo "*** your path, or set the GTK_CONFIG environment variable to the"
10833 echo "*** full path to gtk-config."
10835 if test -f conf.gtktest
; then
10838 echo "*** Could not run GTK test program, checking why..."
10839 CFLAGS
="$CFLAGS $GTK_CFLAGS"
10840 LIBS
="$LIBS $GTK_LIBS"
10841 cat > conftest.
$ac_ext <<EOF
10842 #line 10843 "configure"
10843 #include "confdefs.h"
10845 #include <gtk/gtk.h>
10849 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
10852 if { (eval echo configure
:10853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10854 echo "*** The test program compiled, but did not run. This usually means"
10855 echo "*** that the run-time linker is not finding GTK or finding the wrong"
10856 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
10857 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
10858 echo "*** to the installed location Also, make sure you have run ldconfig if that"
10859 echo "*** is required on your system"
10861 echo "*** If you have an old version installed, it is best to remove it, although"
10862 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
10864 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
10865 echo "*** came with the system with the command"
10867 echo "*** rpm --erase --nodeps gtk gtk-devel"
10869 echo "configure: failed program was:" >&5
10870 cat conftest.
$ac_ext >&5
10872 echo "*** The test program failed to compile or link. See the file config.log for the"
10873 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
10874 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
10875 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
10878 CFLAGS
="$ac_save_CFLAGS"
10879 LIBS
="$ac_save_LIBS"
10892 if test -z "$wx_cv_lib_gtk"; then
10895 wx_cv_cflags_gtk
=$GTK_CFLAGS
10896 wx_cv_libs_gtk
=$GTK_LIBS
10903 if test "$gtk_version_cached" = 1; then
10904 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
10907 case "$wx_cv_lib_gtk" in
10915 *) { echo "configure: error:
10916 Please check that gtk-config is in path, the directory
10917 where GTK+ libraries are installed (returned by
10918 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
10919 equivalent variable and GTK+ is version 1.2.3 or above.
10924 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
10925 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
10927 AFMINSTALL
=afminstall
10931 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
10932 echo "configure:10933: checking for gdk_im_open in -lgdk" >&5
10933 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
10934 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10935 echo $ac_n "(cached) $ac_c" 1>&6
10937 ac_save_LIBS
="$LIBS"
10939 cat > conftest.
$ac_ext <<EOF
10940 #line 10941 "configure"
10941 #include "confdefs.h"
10942 /* Override any gcc2 internal prototype to avoid an error. */
10943 /* We use char because int might match the return type of a gcc2
10944 builtin and then its argument prototype would still apply. */
10945 char gdk_im_open();
10951 if { (eval echo configure
:10952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10953 eval "ac_cv_lib_$ac_lib_var=yes"
10955 echo "configure: failed program was:" >&5
10956 cat conftest.
$ac_ext >&5
10958 eval "ac_cv_lib_$ac_lib_var=no"
10961 LIBS
="$ac_save_LIBS"
10964 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10965 echo "$ac_t""yes" 1>&6
10966 cat >> confdefs.h
<<\EOF
10971 echo "$ac_t""no" 1>&6
10976 if test "$wxUSE_MGL" = 1; then
10977 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
10978 echo "configure:10979: checking for SciTech MGL library" >&5
10979 if test "x$MGL_ROOT" = x
; then
10980 echo "$ac_t""not found" 1>&6
10981 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
10983 echo "$ac_t""$MGL_ROOT" 1>&6
10988 mgl_os
=linux
/gcc
/glibc
10994 { echo "configure: error: This system type ${host} is not yet supported by wxMGL." 1>&2; exit 1; }
10999 if test "$wxUSE_DEBUG_FLAG" = yes ; then
11000 if test -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.a
-o \
11001 -f $MGL_ROOT/lib
/debug
/$mgl_os/libmgl.so
; then
11005 if test "x$mgl_lib_type" = x
; then
11006 if test -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.a
-o \
11007 -f $MGL_ROOT/lib
/release
/$mgl_os/libmgl.so
; then
11008 mgl_lib_type
=release
11010 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
11014 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
11015 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
11017 AFMINSTALL
=afminstall
11022 if test "$wxUSE_MICROWIN" = 1; then
11023 echo $ac_n "checking for MicroWindows""... $ac_c" 1>&6
11024 echo "configure:11025: checking for MicroWindows" >&5
11025 if test "x$MICROWINDOWS" = x
; then
11026 echo "$ac_t""not found" 1>&6
11027 { echo "configure: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." 1>&2; exit 1; }
11029 echo "$ac_t""$MICROWINDOWS" 1>&6
11032 if test -f $MICROWINDOWS/lib
/libmwin.a
; then
11033 echo "$ac_t""MicroWindows' libraries found." 1>&6
11035 { echo "configure: error: Cannot find MicroWindows libraries, make sure they are compiled." 1>&2; exit 1; }
11038 TOOLKIT_INCLUDE
="-I$MICROWINDOWS/include"
11039 GUI_TK_LIBRARY
="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
11041 AFMINSTALL
=afminstall
11043 GUIDIST
=MICROWIN_DIST
11045 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__ -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
11048 if test "$wxUSE_WINE" = 1; then
11049 ac_safe
=`echo "windows.h" | sed 'y%./+-%__p_%'`
11050 echo $ac_n "checking for windows.h""... $ac_c" 1>&6
11051 echo "configure:11052: checking for windows.h" >&5
11052 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11053 echo $ac_n "(cached) $ac_c" 1>&6
11055 cat > conftest.
$ac_ext <<EOF
11056 #line 11057 "configure"
11057 #include "confdefs.h"
11058 #include <windows.h>
11060 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11061 { (eval echo configure
:11062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11062 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11063 if test -z "$ac_err"; then
11065 eval "ac_cv_header_$ac_safe=yes"
11068 echo "configure: failed program was:" >&5
11069 cat conftest.
$ac_ext >&5
11071 eval "ac_cv_header_$ac_safe=no"
11075 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11076 echo "$ac_t""yes" 1>&6
11079 echo "$ac_t""no" 1>&6
11081 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
11087 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
11088 echo "configure:11089: checking for Xpm library" >&5
11091 for ac_dir
in $SEARCH_LIB;
11093 for ac_extension
in a so sl dylib
; do
11094 if test -f "$ac_dir/libXpm.$ac_extension"; then
11095 ac_find_libraries
=$ac_dir
11101 if test "$ac_find_libraries" != "" ; then
11102 GUI_TK_LIBRARY
="-L$ac_find_libraries"
11104 cat >> confdefs.h
<<\EOF
11105 #define wxHAVE_LIB_XPM 1
11108 echo "$ac_t""found at $ac_find_libraries" 1>&6
11110 echo "$ac_t""no" 1>&6
11111 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
11115 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
11116 echo "configure:11117: checking for Mesa library" >&5
11119 for ac_dir
in $SEARCH_LIB;
11121 for ac_extension
in a so sl dylib
; do
11122 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
11123 ac_find_libraries
=$ac_dir
11129 if test "$ac_find_libraries" != "" ; then
11130 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
11131 mesa_link
=" -lMesaGL"
11132 echo "$ac_t""found at $ac_find_libraries" 1>&6
11134 { echo "configure: error: no" 1>&2; exit 1; }
11137 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lwine$mesa_link$xpm_link -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
11140 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXWINE__"
11143 if test "$wxUSE_MOTIF" = 1; then
11144 # If we find X, set shell vars x_includes and x_libraries to the
11145 # paths, otherwise set no_x=yes.
11146 # Uses ac_ vars as temps to allow command line to override cache and checks.
11147 # --without-x overrides everything else, but does not touch the cache.
11148 echo $ac_n "checking for X""... $ac_c" 1>&6
11149 echo "configure:11150: checking for X" >&5
11151 # Check whether --with-x or --without-x was given.
11152 if test "${with_x+set}" = set; then
11157 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
11158 if test "x$with_x" = xno
; then
11159 # The user explicitly disabled X.
11162 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
11163 # Both variables are already set.
11166 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
11167 echo $ac_n "(cached) $ac_c" 1>&6
11169 # One or both of the vars are not set, and there is no cached value.
11170 ac_x_includes
=NO ac_x_libraries
=NO
11172 if mkdir conftestdir
; then
11174 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
11175 cat > Imakefile
<<'EOF'
11177 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
11179 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
11180 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11181 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
11182 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
11183 for ac_extension
in a so sl
; do
11184 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
11185 test -f $ac_im_libdir/libX11.
$ac_extension; then
11186 ac_im_usrlibdir
=$ac_im_libdir; break
11189 # Screen out bogus values from the imake configuration. They are
11190 # bogus both because they are the default anyway, and because
11191 # using them would break gcc on systems where it needs fixed includes.
11192 case "$ac_im_incroot" in
11194 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
11196 case "$ac_im_usrlibdir" in
11197 /usr
/lib
| /lib
) ;;
11198 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
11205 if test "$ac_x_includes" = NO
; then
11206 # Guess where to find include files, by looking for this one X11 .h file.
11207 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
11209 # First, try using that file with no special directory specified.
11210 cat > conftest.
$ac_ext <<EOF
11211 #line 11212 "configure"
11212 #include "confdefs.h"
11213 #include <$x_direct_test_include>
11215 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11216 { (eval echo configure
:11217: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11217 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11218 if test -z "$ac_err"; then
11220 # We can compile using X headers with no special include directory.
11224 echo "configure: failed program was:" >&5
11225 cat conftest.
$ac_ext >&5
11227 # Look for the header file in a standard set of common directories.
11228 # Check X11 before X11Rn because it is often a symlink to the current release.
11231 /usr
/X
11R
6/include \
11232 /usr
/X
11R
5/include \
11233 /usr
/X
11R
4/include \
11236 /usr
/include
/X11R6 \
11237 /usr
/include
/X11R5 \
11238 /usr
/include
/X11R4 \
11240 /usr
/local
/X
11/include \
11241 /usr
/local
/X
11R
6/include \
11242 /usr
/local
/X
11R
5/include \
11243 /usr
/local
/X
11R
4/include \
11245 /usr
/local
/include
/X11 \
11246 /usr
/local
/include
/X11R6 \
11247 /usr
/local
/include
/X11R5 \
11248 /usr
/local
/include
/X11R4 \
11250 /usr
/X
386/include \
11251 /usr
/x
386/include \
11252 /usr
/XFree
86/include
/X11 \
11255 /usr
/local
/include \
11256 /usr
/unsupported
/include \
11257 /usr
/athena
/include \
11258 /usr
/local
/x
11r
5/include \
11259 /usr
/lpp
/Xamples
/include \
11261 /usr
/openwin
/include \
11262 /usr
/openwin
/share
/include \
11265 if test -r "$ac_dir/$x_direct_test_include"; then
11266 ac_x_includes
=$ac_dir
11272 fi # $ac_x_includes = NO
11274 if test "$ac_x_libraries" = NO
; then
11275 # Check for the libraries.
11277 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
11278 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
11280 # See if we find them without any special options.
11281 # Don't add to $LIBS permanently.
11282 ac_save_LIBS
="$LIBS"
11283 LIBS
="-l$x_direct_test_library $LIBS"
11284 cat > conftest.
$ac_ext <<EOF
11285 #line 11286 "configure"
11286 #include "confdefs.h"
11289 ${x_direct_test_function}()
11292 if { (eval echo configure
:11293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11294 LIBS
="$ac_save_LIBS"
11295 # We can link X programs with no special library path.
11298 echo "configure: failed program was:" >&5
11299 cat conftest.
$ac_ext >&5
11301 LIBS
="$ac_save_LIBS"
11302 # First see if replacing the include by lib works.
11303 # Check X11 before X11Rn because it is often a symlink to the current release.
11304 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
11315 /usr
/local
/X
11/lib \
11316 /usr
/local
/X
11R
6/lib \
11317 /usr
/local
/X
11R
5/lib \
11318 /usr
/local
/X
11R
4/lib \
11320 /usr
/local
/lib
/X11 \
11321 /usr
/local
/lib
/X11R6 \
11322 /usr
/local
/lib
/X11R5 \
11323 /usr
/local
/lib
/X11R4 \
11327 /usr
/XFree
86/lib
/X11 \
11331 /usr
/unsupported
/lib \
11333 /usr
/local
/x
11r
5/lib \
11334 /usr
/lpp
/Xamples
/lib \
11338 /usr
/openwin
/share
/lib \
11341 for ac_extension
in a so sl
; do
11342 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
11343 ac_x_libraries
=$ac_dir
11350 fi # $ac_x_libraries = NO
11352 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
11353 # Didn't find X anywhere. Cache the known absence of X.
11354 ac_cv_have_x
="have_x=no"
11356 # Record where we found X for the cache.
11357 ac_cv_have_x
="have_x=yes \
11358 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
11362 eval "$ac_cv_have_x"
11365 if test "$have_x" != yes; then
11366 echo "$ac_t""$have_x" 1>&6
11369 # If each of the values was on the command line, it overrides each guess.
11370 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
11371 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
11372 # Update the cache value to reflect the command line values.
11373 ac_cv_have_x
="have_x=yes \
11374 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
11375 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
11378 if test "$no_x" = yes; then
11379 # Not all programs may use this symbol, but it does not hurt to define it.
11380 cat >> confdefs.h
<<\EOF
11381 #define X_DISPLAY_MISSING 1
11384 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
11386 if test -n "$x_includes"; then
11387 X_CFLAGS
="$X_CFLAGS -I$x_includes"
11390 # It would also be nice to do this for all -L options, not just this one.
11391 if test -n "$x_libraries"; then
11392 X_LIBS
="$X_LIBS -L$x_libraries"
11393 # For Solaris; some versions of Sun CC require a space after -R and
11394 # others require no space. Words are not sufficient . . . .
11395 case "`(uname -sr) 2>/dev/null`" in
11397 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
11398 echo "configure:11399: checking whether -R must be followed by a space" >&5
11399 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
11400 cat > conftest.
$ac_ext <<EOF
11401 #line 11402 "configure"
11402 #include "confdefs.h"
11408 if { (eval echo configure
:11409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11412 echo "configure: failed program was:" >&5
11413 cat conftest.
$ac_ext >&5
11418 if test $ac_R_nospace = yes; then
11419 echo "$ac_t""no" 1>&6
11420 X_LIBS
="$X_LIBS -R$x_libraries"
11422 LIBS
="$ac_xsave_LIBS -R $x_libraries"
11423 cat > conftest.
$ac_ext <<EOF
11424 #line 11425 "configure"
11425 #include "confdefs.h"
11431 if { (eval echo configure
:11432: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11435 echo "configure: failed program was:" >&5
11436 cat conftest.
$ac_ext >&5
11441 if test $ac_R_space = yes; then
11442 echo "$ac_t""yes" 1>&6
11443 X_LIBS
="$X_LIBS -R $x_libraries"
11445 echo "$ac_t""neither works" 1>&6
11448 LIBS
="$ac_xsave_LIBS"
11452 # Check for system-dependent libraries X programs must link with.
11453 # Do this before checking for the system-independent R6 libraries
11454 # (-lICE), since we may need -lsocket or whatever for X linking.
11456 if test "$ISC" = yes; then
11457 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
11459 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
11460 # libraries were built with DECnet support. And karl@cs.umb.edu says
11461 # the Alpha needs dnet_stub (dnet does not exist).
11462 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
11463 echo "configure:11464: checking for dnet_ntoa in -ldnet" >&5
11464 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11465 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11466 echo $ac_n "(cached) $ac_c" 1>&6
11468 ac_save_LIBS
="$LIBS"
11469 LIBS
="-ldnet $LIBS"
11470 cat > conftest.
$ac_ext <<EOF
11471 #line 11472 "configure"
11472 #include "confdefs.h"
11473 /* Override any gcc2 internal prototype to avoid an error. */
11474 /* We use char because int might match the return type of a gcc2
11475 builtin and then its argument prototype would still apply. */
11482 if { (eval echo configure
:11483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11484 eval "ac_cv_lib_$ac_lib_var=yes"
11486 echo "configure: failed program was:" >&5
11487 cat conftest.
$ac_ext >&5
11489 eval "ac_cv_lib_$ac_lib_var=no"
11492 LIBS
="$ac_save_LIBS"
11495 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11496 echo "$ac_t""yes" 1>&6
11497 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
11499 echo "$ac_t""no" 1>&6
11502 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
11503 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
11504 echo "configure:11505: checking for dnet_ntoa in -ldnet_stub" >&5
11505 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
11506 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11507 echo $ac_n "(cached) $ac_c" 1>&6
11509 ac_save_LIBS
="$LIBS"
11510 LIBS
="-ldnet_stub $LIBS"
11511 cat > conftest.
$ac_ext <<EOF
11512 #line 11513 "configure"
11513 #include "confdefs.h"
11514 /* Override any gcc2 internal prototype to avoid an error. */
11515 /* We use char because int might match the return type of a gcc2
11516 builtin and then its argument prototype would still apply. */
11523 if { (eval echo configure
:11524: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11525 eval "ac_cv_lib_$ac_lib_var=yes"
11527 echo "configure: failed program was:" >&5
11528 cat conftest.
$ac_ext >&5
11530 eval "ac_cv_lib_$ac_lib_var=no"
11533 LIBS
="$ac_save_LIBS"
11536 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11537 echo "$ac_t""yes" 1>&6
11538 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
11540 echo "$ac_t""no" 1>&6
11545 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
11546 # to get the SysV transport functions.
11547 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
11549 # The nsl library prevents programs from opening the X display
11550 # on Irix 5.2, according to dickey@clark.net.
11551 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
11552 echo "configure:11553: checking for gethostbyname" >&5
11553 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
11554 echo $ac_n "(cached) $ac_c" 1>&6
11556 cat > conftest.
$ac_ext <<EOF
11557 #line 11558 "configure"
11558 #include "confdefs.h"
11559 /* System header to define __stub macros and hopefully few prototypes,
11560 which can conflict with char gethostbyname(); below. */
11561 #include <assert.h>
11562 /* Override any gcc2 internal prototype to avoid an error. */
11563 /* We use char because int might match the return type of a gcc2
11564 builtin and then its argument prototype would still apply. */
11565 char gethostbyname();
11569 /* The GNU C library defines this for functions which it implements
11570 to always fail with ENOSYS. Some functions are actually named
11571 something starting with __ and the normal name is an alias. */
11572 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
11580 if { (eval echo configure
:11581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11582 eval "ac_cv_func_gethostbyname=yes"
11584 echo "configure: failed program was:" >&5
11585 cat conftest.
$ac_ext >&5
11587 eval "ac_cv_func_gethostbyname=no"
11592 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
11593 echo "$ac_t""yes" 1>&6
11596 echo "$ac_t""no" 1>&6
11599 if test $ac_cv_func_gethostbyname = no
; then
11600 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
11601 echo "configure:11602: checking for gethostbyname in -lnsl" >&5
11602 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
11603 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11604 echo $ac_n "(cached) $ac_c" 1>&6
11606 ac_save_LIBS
="$LIBS"
11608 cat > conftest.
$ac_ext <<EOF
11609 #line 11610 "configure"
11610 #include "confdefs.h"
11611 /* Override any gcc2 internal prototype to avoid an error. */
11612 /* We use char because int might match the return type of a gcc2
11613 builtin and then its argument prototype would still apply. */
11614 char gethostbyname();
11620 if { (eval echo configure
:11621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11622 eval "ac_cv_lib_$ac_lib_var=yes"
11624 echo "configure: failed program was:" >&5
11625 cat conftest.
$ac_ext >&5
11627 eval "ac_cv_lib_$ac_lib_var=no"
11630 LIBS
="$ac_save_LIBS"
11633 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11634 echo "$ac_t""yes" 1>&6
11635 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
11637 echo "$ac_t""no" 1>&6
11642 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11643 # socket/setsockopt and other routines are undefined under SCO ODT
11644 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11645 # on later versions), says simon@lia.di.epfl.ch: it contains
11646 # gethostby* variants that don't use the nameserver (or something).
11647 # -lsocket must be given before -lnsl if both are needed.
11648 # We assume that if connect needs -lnsl, so does gethostbyname.
11649 echo $ac_n "checking for connect""... $ac_c" 1>&6
11650 echo "configure:11651: checking for connect" >&5
11651 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
11652 echo $ac_n "(cached) $ac_c" 1>&6
11654 cat > conftest.
$ac_ext <<EOF
11655 #line 11656 "configure"
11656 #include "confdefs.h"
11657 /* System header to define __stub macros and hopefully few prototypes,
11658 which can conflict with char connect(); below. */
11659 #include <assert.h>
11660 /* Override any gcc2 internal prototype to avoid an error. */
11661 /* We use char because int might match the return type of a gcc2
11662 builtin and then its argument prototype would still apply. */
11667 /* The GNU C library defines this for functions which it implements
11668 to always fail with ENOSYS. Some functions are actually named
11669 something starting with __ and the normal name is an alias. */
11670 #if defined (__stub_connect) || defined (__stub___connect)
11678 if { (eval echo configure
:11679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11680 eval "ac_cv_func_connect=yes"
11682 echo "configure: failed program was:" >&5
11683 cat conftest.
$ac_ext >&5
11685 eval "ac_cv_func_connect=no"
11690 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
11691 echo "$ac_t""yes" 1>&6
11694 echo "$ac_t""no" 1>&6
11697 if test $ac_cv_func_connect = no
; then
11698 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
11699 echo "configure:11700: checking for connect in -lsocket" >&5
11700 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
11701 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11702 echo $ac_n "(cached) $ac_c" 1>&6
11704 ac_save_LIBS
="$LIBS"
11705 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
11706 cat > conftest.
$ac_ext <<EOF
11707 #line 11708 "configure"
11708 #include "confdefs.h"
11709 /* Override any gcc2 internal prototype to avoid an error. */
11710 /* We use char because int might match the return type of a gcc2
11711 builtin and then its argument prototype would still apply. */
11718 if { (eval echo configure
:11719: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11720 eval "ac_cv_lib_$ac_lib_var=yes"
11722 echo "configure: failed program was:" >&5
11723 cat conftest.
$ac_ext >&5
11725 eval "ac_cv_lib_$ac_lib_var=no"
11728 LIBS
="$ac_save_LIBS"
11731 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11732 echo "$ac_t""yes" 1>&6
11733 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
11735 echo "$ac_t""no" 1>&6
11740 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
11741 echo $ac_n "checking for remove""... $ac_c" 1>&6
11742 echo "configure:11743: checking for remove" >&5
11743 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
11744 echo $ac_n "(cached) $ac_c" 1>&6
11746 cat > conftest.
$ac_ext <<EOF
11747 #line 11748 "configure"
11748 #include "confdefs.h"
11749 /* System header to define __stub macros and hopefully few prototypes,
11750 which can conflict with char remove(); below. */
11751 #include <assert.h>
11752 /* Override any gcc2 internal prototype to avoid an error. */
11753 /* We use char because int might match the return type of a gcc2
11754 builtin and then its argument prototype would still apply. */
11759 /* The GNU C library defines this for functions which it implements
11760 to always fail with ENOSYS. Some functions are actually named
11761 something starting with __ and the normal name is an alias. */
11762 #if defined (__stub_remove) || defined (__stub___remove)
11770 if { (eval echo configure
:11771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11772 eval "ac_cv_func_remove=yes"
11774 echo "configure: failed program was:" >&5
11775 cat conftest.
$ac_ext >&5
11777 eval "ac_cv_func_remove=no"
11782 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
11783 echo "$ac_t""yes" 1>&6
11786 echo "$ac_t""no" 1>&6
11789 if test $ac_cv_func_remove = no
; then
11790 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
11791 echo "configure:11792: checking for remove in -lposix" >&5
11792 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
11793 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11794 echo $ac_n "(cached) $ac_c" 1>&6
11796 ac_save_LIBS
="$LIBS"
11797 LIBS
="-lposix $LIBS"
11798 cat > conftest.
$ac_ext <<EOF
11799 #line 11800 "configure"
11800 #include "confdefs.h"
11801 /* Override any gcc2 internal prototype to avoid an error. */
11802 /* We use char because int might match the return type of a gcc2
11803 builtin and then its argument prototype would still apply. */
11810 if { (eval echo configure
:11811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11812 eval "ac_cv_lib_$ac_lib_var=yes"
11814 echo "configure: failed program was:" >&5
11815 cat conftest.
$ac_ext >&5
11817 eval "ac_cv_lib_$ac_lib_var=no"
11820 LIBS
="$ac_save_LIBS"
11823 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11824 echo "$ac_t""yes" 1>&6
11825 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
11827 echo "$ac_t""no" 1>&6
11832 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11833 echo $ac_n "checking for shmat""... $ac_c" 1>&6
11834 echo "configure:11835: checking for shmat" >&5
11835 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
11836 echo $ac_n "(cached) $ac_c" 1>&6
11838 cat > conftest.
$ac_ext <<EOF
11839 #line 11840 "configure"
11840 #include "confdefs.h"
11841 /* System header to define __stub macros and hopefully few prototypes,
11842 which can conflict with char shmat(); below. */
11843 #include <assert.h>
11844 /* Override any gcc2 internal prototype to avoid an error. */
11845 /* We use char because int might match the return type of a gcc2
11846 builtin and then its argument prototype would still apply. */
11851 /* The GNU C library defines this for functions which it implements
11852 to always fail with ENOSYS. Some functions are actually named
11853 something starting with __ and the normal name is an alias. */
11854 #if defined (__stub_shmat) || defined (__stub___shmat)
11862 if { (eval echo configure
:11863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11864 eval "ac_cv_func_shmat=yes"
11866 echo "configure: failed program was:" >&5
11867 cat conftest.
$ac_ext >&5
11869 eval "ac_cv_func_shmat=no"
11874 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
11875 echo "$ac_t""yes" 1>&6
11878 echo "$ac_t""no" 1>&6
11881 if test $ac_cv_func_shmat = no
; then
11882 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
11883 echo "configure:11884: checking for shmat in -lipc" >&5
11884 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
11885 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11886 echo $ac_n "(cached) $ac_c" 1>&6
11888 ac_save_LIBS
="$LIBS"
11890 cat > conftest.
$ac_ext <<EOF
11891 #line 11892 "configure"
11892 #include "confdefs.h"
11893 /* Override any gcc2 internal prototype to avoid an error. */
11894 /* We use char because int might match the return type of a gcc2
11895 builtin and then its argument prototype would still apply. */
11902 if { (eval echo configure
:11903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11904 eval "ac_cv_lib_$ac_lib_var=yes"
11906 echo "configure: failed program was:" >&5
11907 cat conftest.
$ac_ext >&5
11909 eval "ac_cv_lib_$ac_lib_var=no"
11912 LIBS
="$ac_save_LIBS"
11915 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11916 echo "$ac_t""yes" 1>&6
11917 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
11919 echo "$ac_t""no" 1>&6
11925 # Check for libraries that X11R6 Xt/Xaw programs need.
11926 ac_save_LDFLAGS
="$LDFLAGS"
11927 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
11928 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11929 # check for ICE first), but we must link in the order -lSM -lICE or
11930 # we get undefined symbols. So assume we have SM if we have ICE.
11931 # These have to be linked with before -lX11, unlike the other
11932 # libraries we check for below, so use a different variable.
11933 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
11934 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
11935 echo "configure:11936: checking for IceConnectionNumber in -lICE" >&5
11936 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
11937 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11938 echo $ac_n "(cached) $ac_c" 1>&6
11940 ac_save_LIBS
="$LIBS"
11941 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
11942 cat > conftest.
$ac_ext <<EOF
11943 #line 11944 "configure"
11944 #include "confdefs.h"
11945 /* Override any gcc2 internal prototype to avoid an error. */
11946 /* We use char because int might match the return type of a gcc2
11947 builtin and then its argument prototype would still apply. */
11948 char IceConnectionNumber();
11951 IceConnectionNumber()
11954 if { (eval echo configure
:11955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11956 eval "ac_cv_lib_$ac_lib_var=yes"
11958 echo "configure: failed program was:" >&5
11959 cat conftest.
$ac_ext >&5
11961 eval "ac_cv_lib_$ac_lib_var=no"
11964 LIBS
="$ac_save_LIBS"
11967 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11968 echo "$ac_t""yes" 1>&6
11969 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
11971 echo "$ac_t""no" 1>&6
11974 LDFLAGS
="$ac_save_LDFLAGS"
11979 if test "$no_x" = "yes"; then
11980 { echo "configure: error: X11 not found" 1>&2; exit 1; }
11983 GUI_TK_LIBRARY
="$X_LIBS"
11984 TOOLKIT_INCLUDE
="$X_CFLAGS"
11985 AFMINSTALL
=afminstall
11986 COMPILED_X_PROGRAM
=0
11988 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
11989 echo "configure:11990: checking for Motif/Lesstif headers" >&5
11992 for ac_dir
in $SEARCH_INCLUDE;
11994 if test -f "$ac_dir/Xm/Xm.h"; then
11995 ac_find_includes
=$ac_dir
12000 if test "$ac_find_includes" != "" ; then
12001 echo "$ac_t""found $ac_find_includes" 1>&6
12003 cat > conftest.
$ac_ext <<EOF
12004 #line 12005 "configure"
12005 #include "confdefs.h"
12012 version = xmUseVersion;
12016 if { (eval echo configure
:12017: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12019 echo "$ac_t""found in default search path" 1>&6
12020 COMPILED_X_PROGRAM
=1
12023 echo "configure: failed program was:" >&5
12024 cat conftest.
$ac_ext >&5
12027 echo "$ac_t""no" 1>&6
12028 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
12035 if test "$COMPILED_X_PROGRAM" = 0; then
12036 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
12037 echo "configure:12038: checking for Motif/Lesstif library" >&5
12040 for ac_dir
in $SEARCH_LIB;
12042 for ac_extension
in a so sl dylib
; do
12043 if test -f "$ac_dir/libXm.$ac_extension"; then
12044 ac_find_libraries
=$ac_dir
12050 if test "$ac_find_libraries" != "" ; then
12052 ac_path_to_include
=$ac_find_includes
12053 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
12055 if test $result = 0; then
12056 ac_path_to_include
=""
12058 ac_path_to_include
=" -I$ac_find_includes"
12062 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12064 if test $result = 0; then
12067 ac_path_to_link
=" -L$ac_find_libraries"
12071 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12072 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE$ac_path_to_include"
12073 echo "$ac_t""found at $ac_find_libraries" 1>&6
12075 cat > conftest.
$ac_ext <<EOF
12076 #line 12077 "configure"
12077 #include "confdefs.h"
12084 version = xmUseVersion;
12088 if { (eval echo configure
:12089: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12091 echo "$ac_t""found in default search path" 1>&6
12092 COMPILED_X_PROGRAM
=1
12095 echo "configure: failed program was:" >&5
12096 cat conftest.
$ac_ext >&5
12099 echo "$ac_t""no" 1>&6
12100 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
12109 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
12110 echo "configure:12111: checking for Xpm library" >&5
12113 for ac_dir
in $SEARCH_LIB;
12115 for ac_extension
in a so sl dylib
; do
12116 if test -f "$ac_dir/libXpm.$ac_extension"; then
12117 ac_find_libraries
=$ac_dir
12123 if test "$ac_find_libraries" != "" ; then
12125 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
12127 if test $result = 0; then
12130 ac_path_to_link
=" -L$ac_find_libraries"
12133 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY$ac_path_to_link"
12135 cat >> confdefs.h
<<\EOF
12136 #define wxHAVE_LIB_XPM 1
12139 echo "$ac_t""found at $ac_find_libraries" 1>&6
12141 cat > conftest.
$ac_ext <<EOF
12142 #line 12143 "configure"
12143 #include "confdefs.h"
12145 #include <X11/xpm.h>
12150 version = XpmLibraryVersion();
12154 if { (eval echo configure
:12155: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12158 cat >> confdefs.h
<<\EOF
12159 #define wxHAVE_LIB_XPM 1
12162 echo "$ac_t""found in default search path" 1>&6
12163 COMPILED_X_PROGRAM
=0
12166 echo "configure: failed program was:" >&5
12167 cat conftest.
$ac_ext >&5
12170 echo "$ac_t""no" 1>&6
12171 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
12178 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -lXm$xpm_link -lXmu -lXext -lXt -lX11"
12179 TOOLKIT_VPATH
="\${top_srcdir}/src/motif${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
12184 if test "$wxUSE_MAC" = 1; then
12185 if test "$wxUSE_PRECOMP" = "yes"; then
12186 CPPFLAGS
="$CPPFLAGS -cpp-precomp"
12188 CPPFLAGS
="$CPPFLAGS -I/Developer/Headers/FlatCarbon -I\${top_srcdir}/src/mac/morefile"
12189 CFLAGS
="$CFLAGS -fpascal-strings"
12190 CXXFLAGS
="$CXXFLAGS -fpascal-strings"
12191 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS -DTARGET_CARBON"
12193 TOOLKIT_VPATH
="\${top_srcdir}/src/mac${PATH_IFS}\${top_srcdir}/src/mac/morefile"
12198 if test "$wxUSE_PM" = 1; then
12203 if test "$TOOLKIT" = "PM" ; then
12206 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
12209 PORT_FILES
="\${top_srcdir}/src/\$(TOOLKITDIR)/files.lst"
12211 if test "$wxUSE_UNIVERSAL" = "yes"; then
12212 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
12213 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
12214 TOOLKIT_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes${PATH_IFS}\${top_srcdir}/src/${TOOLKIT_DIR}"
12215 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
12218 ALL_OBJECTS
="\$(GUIOBJS)"
12221 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
12223 if test "$TOOLKIT" != "MSW" -a "$USE_DOS" != 1; then
12224 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
12227 if test "$wxUSE_HTML" = "yes"; then
12228 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
12231 if test "$TOOLKIT" != "MSW" -a "$wxUSE_ODBC" = "yes" ; then
12232 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
12234 if test "$wxUSE_LIBJPEG" = "builtin" ; then
12235 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
12237 if test "$wxUSE_LIBTIFF" = "builtin" ; then
12238 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
12240 if test "$wxUSE_LIBPNG" = "builtin" ; then
12241 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
12243 if test "$wxUSE_FREETYPE" = "builtin" ; then
12244 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
12247 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
12248 DISTDIR
="wx\$(TOOLKIT)"
12254 if test "$USE_WIN32" = 1 ; then
12255 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_MSW_OBJS}"
12256 TOOLKIT_VPATH
="\${top_srcdir}/src/msw"
12260 ALL_OBJECTS
="\${BASE_OBJS} \${BASE_UNIX_OBJS}"
12261 TOOLKIT_VPATH
="\${top_srcdir}/src/unix"
12264 PORT_FILES
="\${top_srcdir}/src/files.lst"
12266 GUIDIST
="BASE_DIST"
12270 if test "$wxUSE_REGEX" = "builtin" ; then
12271 ALL_OBJECTS
="${ALL_OBJECTS} \$(REGEXOBJS)"
12273 if test "$wxUSE_ZLIB" = "builtin" ; then
12274 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
12277 if test "$wxUSE_OPENGL" = "yes"; then
12278 if test "$wxUSE_MAC" = 1; then
12279 OPENGL_LIBS
="-framework OpenGL -framework AGL"
12282 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
12283 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
12284 echo "configure:12285: checking for GL/gl.h" >&5
12285 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12286 echo $ac_n "(cached) $ac_c" 1>&6
12288 cat > conftest.
$ac_ext <<EOF
12289 #line 12290 "configure"
12290 #include "confdefs.h"
12293 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12294 { (eval echo configure
:12295: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12295 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12296 if test -z "$ac_err"; then
12298 eval "ac_cv_header_$ac_safe=yes"
12301 echo "configure: failed program was:" >&5
12302 cat conftest.
$ac_ext >&5
12304 eval "ac_cv_header_$ac_safe=no"
12308 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12309 echo "$ac_t""yes" 1>&6
12311 echo $ac_n "checking for -lGL""... $ac_c" 1>&6
12312 echo "configure:12313: checking for -lGL" >&5
12315 for ac_dir
in $SEARCH_LIB;
12317 for ac_extension
in a so sl dylib
; do
12318 if test -f "$ac_dir/libGL.$ac_extension"; then
12319 ac_find_libraries
=$ac_dir
12325 if test "$ac_find_libraries" != "" ; then
12327 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12329 if test $result = 0; then
12332 ac_path_to_link
=" -L$ac_find_libraries"
12335 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12336 OPENGL_LIBS
="-lGL -lGLU"
12337 echo "$ac_t""yes" 1>&6
12339 echo "$ac_t""no" 1>&6
12340 echo $ac_n "checking for -lMesaGL""... $ac_c" 1>&6
12341 echo "configure:12342: checking for -lMesaGL" >&5
12344 for ac_dir
in $SEARCH_LIB;
12346 for ac_extension
in a so sl dylib
; do
12347 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
12348 ac_find_libraries
=$ac_dir
12354 if test "$ac_find_libraries" != "" ; then
12356 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev
/null
12358 if test $result = 0; then
12361 ac_path_to_link
=" -L$ac_find_libraries"
12364 LDFLAGS_GL
="$LDFLAGS$ac_path_to_link"
12365 OPENGL_LIBS
="-lMesaGL -lMesaGLU"
12366 echo "$ac_t""yes" 1>&6
12368 echo "$ac_t""no" 1>&6
12373 echo "$ac_t""no" 1>&6
12378 # AC_CHECK_HEADER(GL/gl.h,
12380 # AC_CHECK_LIB(GL, glFlush,
12382 # OPENGL_LIBS="-lGL -lGLU"
12385 # AC_CHECK_LIB(MesaGL, glFlush,
12387 # OPENGL_LIBS="-lMesaGL -lMesaGLU"
12395 if test "x$OPENGL_LIBS" = "x"; then
12396 { echo "configure: error: OpenGL libraries not available" 1>&2; exit 1; }
12400 if test "$wxUSE_OPENGL" = "yes"; then
12401 cat >> confdefs.h
<<\EOF
12402 #define wxUSE_OPENGL 1
12405 cat >> confdefs.h
<<\EOF
12406 #define wxUSE_GLCANVAS 1
12409 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS opengl"
12413 if test -z "$TOOLKIT_VPATH" ; then
12414 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
12417 if test -n "$TOOLKIT" ; then
12418 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
12421 lib_unicode_suffix
=
12422 if test "$wxUSE_UNICODE" = "yes"; then
12423 lib_unicode_suffix
=u
12427 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
12431 TOOLCHAIN_NAME
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}-${WX_RELEASE}"
12432 TOOLCHAIN_NAME_GL
="${TOOLKIT_DIR}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}_gl-${WX_RELEASE}"
12434 if test "$cross_compiling" = "yes"; then
12435 TOOLCHAIN_NAME
="${TOOLCHAIN_NAME}-${host_alias}"
12436 TOOLCHAIN_NAME_GL
="${TOOLCHAIN_NAME_GL}-${host_alias}"
12439 WX_LIBRARY
="wx_${TOOLCHAIN_NAME}"
12440 WX_LIBRARY_GL
="wx_${TOOLCHAIN_NAME_GL}"
12442 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12443 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
12445 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}.${SO_SUFFIX}.${WX_CURRENT}"
12446 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12447 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}.${WX_CURRENT}"
12448 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12450 WX_RESOURCES_MACOSX
="lib${WX_LIBRARY}.rsrc"
12451 WX_RESOURCES_MACOSX_COMPILED
="lib${WX_LIBRARY}.r"
12454 *-*-cygwin* | *-*-mingw32* )
12458 if test "$cross_compiling" != "yes"; then
12459 WX_LIBRARY
="wxmsw${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12460 WX_LIBRARY_GL
="wxmsw_gl${WX_MSW_VERSION}${lib_unicode_suffix}${lib_debug_suffix}"
12461 WX_LIBRARY_NAME_SHARED
="${WX_LIBRARY}.${SO_SUFFIX}"
12462 WX_LIBRARY_NAME_SHARED_GL
="${WX_LIBRARY_GL}.${SO_SUFFIX}"
12464 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}.${SO_SUFFIX}"
12465 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY_GL}.${SO_SUFFIX}"
12470 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
12471 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY_GL}.a"
12473 WXCONFIG_LIBS
="-l${WX_LIBRARY}"
12474 WXCONFIG_LIBS_STATIC
="lib${WX_LIBRARY}.a"
12476 if test "$wxUSE_OPENGL" = "yes"; then
12477 WXCONFIG_LIBS_GL
="-l${WX_LIBRARY_GL} ${OPENGL_LIBS}"
12478 WXCONFIG_LIBS_STATIC_GL
="lib${WX_LIBRARY_GL}.a ${OPENGL_LIBS}"
12483 if test "$wxUSE_SHARED" = "yes"; then
12485 if test "$wxUSE_OPENGL" = "yes"; then
12486 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
12487 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1} \$(build_libdir)/${WX_LIBRARY_LINK1_GL}"
12489 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
12490 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_LINK1}"
12493 if test "$GCC" = "yes"; then
12497 SHARED_LD
="${CXX} -shared -o"
12501 if test "$GCC" != "yes"; then
12502 LDFLAGS
="$LDFLAGS -L/usr/lib"
12504 SHARED_LD
="${CXX} -b -o"
12508 if test "$wxUSE_OPENGL" = "yes"; then
12509 WX_ALL_INSTALLED
="preinstall_gl"
12510 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12512 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12517 if test "$GCC" != "yes"; then
12518 echo $ac_n "checking for Intel compiler""... $ac_c" 1>&6
12519 echo "configure:12520: checking for Intel compiler" >&5
12520 if eval "test \"`echo '$''{'wx_cv_prog_icc'+set}'`\" = set"; then
12521 echo $ac_n "(cached) $ac_c" 1>&6
12524 cat > conftest.
$ac_ext <<EOF
12525 #line 12526 "configure"
12526 #include "confdefs.h"
12530 #ifndef __INTEL_COMPILER
12536 if { (eval echo configure
:12537: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12540 echo "configure: failed program was:" >&5
12541 cat conftest.
$ac_ext >&5
12550 echo "$ac_t""$wx_cv_prog_icc" 1>&6
12551 if test "$wx_cv_prog_icc" = "yes"; then
12556 if test "$wxUSE_SONAME" = "yes" ; then
12557 SONAME_FLAGS
="-Wl,-soname,${WX_LIBRARY_LINK1}"
12558 SONAME_FLAGS_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
12559 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
12564 if test "$GCC" = yes ; then
12565 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
12567 SHARED_LD
="${CXX} -G -o"
12569 SONAME_FLAGS
="-h ${WX_LIBRARY_NAME_SHARED}"
12570 SONAME_FLAGS_GL
="-h ${WX_LIBRARY_NAME_SHARED}"
12575 CFLAGS
="$CFLAGS -fno-common -DDYLIB_INIT"
12576 CXXFLAGS
="$CXXFLAGS -fno-common -DDYLIB_INIT"
12577 SHARED_LD
="$CXX -dynamiclib -init _wxWindowsDylibInit -o"
12578 PIC_FLAG
="-dynamic -fPIC"
12582 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
12585 *-*-cygwin* | *-*-mingw32* )
12587 WX_LIBRARY_IMPORTLIB
="${WX_LIBRARY_NAME_SHARED}.a"
12589 SHARED_LD
="${CXX} -shared -Wl,--out-implib,lib/${WX_LIBRARY_IMPORTLIB} -o"
12590 TOOLCHAIN_DLL_DEFS
="${TOOLCHAIN_DLL_DEFS} -DWXUSINGDLL=1"
12592 PIC_FLAG
="-UWXUSINGDLL -DWXMAKINGDLL=1 -D_DLL=1 -D_WINDLL=1"
12594 if test "$wxUSE_OPENGL" = "yes"; then
12595 WX_ALL_INSTALLED
="preinstall_gl"
12596 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED} \$(build_libdir)/${WX_LIBRARY_NAME_SHARED_GL}"
12598 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_SHARED}"
12602 *-pc-os2_emx | *-pc-os2-emx )
12607 SHARED_LD
="${LD} -shared -o"
12610 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
12612 *-*-irix5* | *-*-irix6* | \
12619 { echo "configure: error: unknown system type $host." 1>&2; exit 1; }
12622 if test "x$WX_TARGET_LIBRARY" = "x"; then
12623 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
12624 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
12627 WX_TARGET_LIBRARY_TYPE
="so"
12628 INSTALL_LIBRARY
='$(INSTALL_PROGRAM)'
12631 if test "$wxUSE_SHARED" = "no"; then
12633 if test "$wxUSE_GUI" = "no" -o "$USE_WIN32" = 1 ; then
12634 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12637 if test "$wxUSE_MAC" = 1; then
12638 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
12641 if test "$wxUSE_OPENGL" = "yes"; then
12642 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_gl"
12643 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC} \$(build_libdir)/${WX_LIBRARY_NAME_STATIC_GL}"
12645 WX_ALL
="\$(build_libdir)/${WX_LIBRARY_NAME_STATIC}"
12648 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
12649 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
12651 WX_TARGET_LIBRARY_TYPE
="a"
12652 INSTALL_LIBRARY
='$(INSTALL_DATA)'
12655 if test "$wxUSE_MAC" = 1; then
12656 WX_ALL
="${WX_ALL} \$(build_libdir)/lib${WX_LIBRARY}.r"
12657 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall_res"
12658 # Extract the first word of "Rez", so it can be a program name with args.
12659 set dummy Rez
; ac_word
=$2
12660 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12661 echo "configure:12662: checking for $ac_word" >&5
12662 if eval "test \"`echo '$''{'ac_cv_prog_RESCOMP'+set}'`\" = set"; then
12663 echo $ac_n "(cached) $ac_c" 1>&6
12665 if test -n "$RESCOMP"; then
12666 ac_cv_prog_RESCOMP
="$RESCOMP" # Let the user override the test.
12668 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12670 for ac_dir
in $ac_dummy; do
12671 test -z "$ac_dir" && ac_dir
=.
12672 if test -f $ac_dir/$ac_word; then
12673 ac_cv_prog_RESCOMP
="Rez"
12678 test -z "$ac_cv_prog_RESCOMP" && ac_cv_prog_RESCOMP
="/Developer/Tools/Rez"
12681 RESCOMP
="$ac_cv_prog_RESCOMP"
12682 if test -n "$RESCOMP"; then
12683 echo "$ac_t""$RESCOMP" 1>&6
12685 echo "$ac_t""no" 1>&6
12688 # Extract the first word of "DeRez", so it can be a program name with args.
12689 set dummy DeRez
; ac_word
=$2
12690 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
12691 echo "configure:12692: checking for $ac_word" >&5
12692 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
12693 echo $ac_n "(cached) $ac_c" 1>&6
12695 if test -n "$DEREZ"; then
12696 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
12698 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
12700 for ac_dir
in $ac_dummy; do
12701 test -z "$ac_dir" && ac_dir
=.
12702 if test -f $ac_dir/$ac_word; then
12703 ac_cv_prog_DEREZ
="DeRez"
12708 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/DeRez"
12711 DEREZ
="$ac_cv_prog_DEREZ"
12712 if test -n "$DEREZ"; then
12713 echo "$ac_t""$DEREZ" 1>&6
12715 echo "$ac_t""no" 1>&6
12718 LIBWXMACRES
="\$(top_builddir)/lib/lib${WX_LIBRARY}.r"
12719 LIBWXMACRESCOMP
="\$(RESCOMP) Carbon.r -t APPL ${LIBWXMACRES} -o \$(BIN_PROGRAM)"
12720 LIBWXMACRESWXCONFIG
="${RESCOMP} Carbon.r -t APPL \${prefix}/lib/${WX_RESOURCES_MACOSX_COMPILED} -o"
12724 if test "$wxUSE_MAC" != 1; then
12725 for ac_hdr
in strings.h
12727 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12728 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12729 echo "configure:12730: checking for $ac_hdr" >&5
12730 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12731 echo $ac_n "(cached) $ac_c" 1>&6
12733 cat > conftest.
$ac_ext <<EOF
12734 #line 12735 "configure"
12735 #include "confdefs.h"
12738 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12739 { (eval echo configure
:12740: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12740 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12741 if test -z "$ac_err"; then
12743 eval "ac_cv_header_$ac_safe=yes"
12746 echo "configure: failed program was:" >&5
12747 cat conftest.
$ac_ext >&5
12749 eval "ac_cv_header_$ac_safe=no"
12753 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12754 echo "$ac_t""yes" 1>&6
12755 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12756 cat >> confdefs.h
<<EOF
12757 #define $ac_tr_hdr 1
12761 echo "$ac_t""no" 1>&6
12767 for ac_hdr
in stdlib.h
12769 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12770 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12771 echo "configure:12772: checking for $ac_hdr" >&5
12772 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12773 echo $ac_n "(cached) $ac_c" 1>&6
12775 cat > conftest.
$ac_ext <<EOF
12776 #line 12777 "configure"
12777 #include "confdefs.h"
12780 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12781 { (eval echo configure
:12782: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12782 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12783 if test -z "$ac_err"; then
12785 eval "ac_cv_header_$ac_safe=yes"
12788 echo "configure: failed program was:" >&5
12789 cat conftest.
$ac_ext >&5
12791 eval "ac_cv_header_$ac_safe=no"
12795 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12796 echo "$ac_t""yes" 1>&6
12797 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12798 cat >> confdefs.h
<<EOF
12799 #define $ac_tr_hdr 1
12803 echo "$ac_t""no" 1>&6
12807 for ac_hdr
in malloc.h
12809 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12810 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12811 echo "configure:12812: checking for $ac_hdr" >&5
12812 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12813 echo $ac_n "(cached) $ac_c" 1>&6
12815 cat > conftest.
$ac_ext <<EOF
12816 #line 12817 "configure"
12817 #include "confdefs.h"
12820 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12821 { (eval echo configure
:12822: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12822 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12823 if test -z "$ac_err"; then
12825 eval "ac_cv_header_$ac_safe=yes"
12828 echo "configure: failed program was:" >&5
12829 cat conftest.
$ac_ext >&5
12831 eval "ac_cv_header_$ac_safe=no"
12835 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12836 echo "$ac_t""yes" 1>&6
12837 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12838 cat >> confdefs.h
<<EOF
12839 #define $ac_tr_hdr 1
12843 echo "$ac_t""no" 1>&6
12847 for ac_hdr
in unistd.h
12849 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12850 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12851 echo "configure:12852: checking for $ac_hdr" >&5
12852 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12853 echo $ac_n "(cached) $ac_c" 1>&6
12855 cat > conftest.
$ac_ext <<EOF
12856 #line 12857 "configure"
12857 #include "confdefs.h"
12860 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12861 { (eval echo configure
:12862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12862 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12863 if test -z "$ac_err"; then
12865 eval "ac_cv_header_$ac_safe=yes"
12868 echo "configure: failed program was:" >&5
12869 cat conftest.
$ac_ext >&5
12871 eval "ac_cv_header_$ac_safe=no"
12875 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12876 echo "$ac_t""yes" 1>&6
12877 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12878 cat >> confdefs.h
<<EOF
12879 #define $ac_tr_hdr 1
12883 echo "$ac_t""no" 1>&6
12887 for ac_hdr
in wchar.h
12889 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12890 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12891 echo "configure:12892: checking for $ac_hdr" >&5
12892 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12893 echo $ac_n "(cached) $ac_c" 1>&6
12895 cat > conftest.
$ac_ext <<EOF
12896 #line 12897 "configure"
12897 #include "confdefs.h"
12900 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12901 { (eval echo configure
:12902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12902 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12903 if test -z "$ac_err"; then
12905 eval "ac_cv_header_$ac_safe=yes"
12908 echo "configure: failed program was:" >&5
12909 cat conftest.
$ac_ext >&5
12911 eval "ac_cv_header_$ac_safe=no"
12915 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12916 echo "$ac_t""yes" 1>&6
12917 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12918 cat >> confdefs.h
<<EOF
12919 #define $ac_tr_hdr 1
12923 echo "$ac_t""no" 1>&6
12927 for ac_hdr
in wcstr.h
12929 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12930 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12931 echo "configure:12932: checking for $ac_hdr" >&5
12932 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12933 echo $ac_n "(cached) $ac_c" 1>&6
12935 cat > conftest.
$ac_ext <<EOF
12936 #line 12937 "configure"
12937 #include "confdefs.h"
12940 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12941 { (eval echo configure
:12942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12942 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12943 if test -z "$ac_err"; then
12945 eval "ac_cv_header_$ac_safe=yes"
12948 echo "configure: failed program was:" >&5
12949 cat conftest.
$ac_ext >&5
12951 eval "ac_cv_header_$ac_safe=no"
12955 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12956 echo "$ac_t""yes" 1>&6
12957 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12958 cat >> confdefs.h
<<EOF
12959 #define $ac_tr_hdr 1
12963 echo "$ac_t""no" 1>&6
12967 for ac_hdr
in wctype.h
12969 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12970 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12971 echo "configure:12972: checking for $ac_hdr" >&5
12972 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12973 echo $ac_n "(cached) $ac_c" 1>&6
12975 cat > conftest.
$ac_ext <<EOF
12976 #line 12977 "configure"
12977 #include "confdefs.h"
12980 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12981 { (eval echo configure
:12982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12982 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12983 if test -z "$ac_err"; then
12985 eval "ac_cv_header_$ac_safe=yes"
12988 echo "configure: failed program was:" >&5
12989 cat conftest.
$ac_ext >&5
12991 eval "ac_cv_header_$ac_safe=no"
12995 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12996 echo "$ac_t""yes" 1>&6
12997 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12998 cat >> confdefs.h
<<EOF
12999 #define $ac_tr_hdr 1
13003 echo "$ac_t""no" 1>&6
13007 for ac_hdr
in fnmatch.h
13009 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13010 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13011 echo "configure:13012: checking for $ac_hdr" >&5
13012 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13013 echo $ac_n "(cached) $ac_c" 1>&6
13015 cat > conftest.
$ac_ext <<EOF
13016 #line 13017 "configure"
13017 #include "confdefs.h"
13020 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13021 { (eval echo configure
:13022: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13022 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13023 if test -z "$ac_err"; then
13025 eval "ac_cv_header_$ac_safe=yes"
13028 echo "configure: failed program was:" >&5
13029 cat conftest.
$ac_ext >&5
13031 eval "ac_cv_header_$ac_safe=no"
13035 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13036 echo "$ac_t""yes" 1>&6
13037 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13038 cat >> confdefs.h
<<EOF
13039 #define $ac_tr_hdr 1
13043 echo "$ac_t""no" 1>&6
13047 for ac_hdr
in iconv.h
13049 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13050 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13051 echo "configure:13052: checking for $ac_hdr" >&5
13052 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13053 echo $ac_n "(cached) $ac_c" 1>&6
13055 cat > conftest.
$ac_ext <<EOF
13056 #line 13057 "configure"
13057 #include "confdefs.h"
13060 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13061 { (eval echo configure
:13062: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13062 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13063 if test -z "$ac_err"; then
13065 eval "ac_cv_header_$ac_safe=yes"
13068 echo "configure: failed program was:" >&5
13069 cat conftest.
$ac_ext >&5
13071 eval "ac_cv_header_$ac_safe=no"
13075 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13076 echo "$ac_t""yes" 1>&6
13077 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13078 cat >> confdefs.h
<<EOF
13079 #define $ac_tr_hdr 1
13083 echo "$ac_t""no" 1>&6
13087 for ac_hdr
in langinfo.h
13089 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13090 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13091 echo "configure:13092: checking for $ac_hdr" >&5
13092 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13093 echo $ac_n "(cached) $ac_c" 1>&6
13095 cat > conftest.
$ac_ext <<EOF
13096 #line 13097 "configure"
13097 #include "confdefs.h"
13100 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13101 { (eval echo configure
:13102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13102 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13103 if test -z "$ac_err"; then
13105 eval "ac_cv_header_$ac_safe=yes"
13108 echo "configure: failed program was:" >&5
13109 cat conftest.
$ac_ext >&5
13111 eval "ac_cv_header_$ac_safe=no"
13115 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13116 echo "$ac_t""yes" 1>&6
13117 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13118 cat >> confdefs.h
<<EOF
13119 #define $ac_tr_hdr 1
13123 echo "$ac_t""no" 1>&6
13128 if test "$wxUSE_GUI" = "yes"; then
13129 if test "$wxUSE_UNIX" = "yes"; then
13130 for ac_hdr
in X
11/XKBlib.h
13132 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13133 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13134 echo "configure:13135: checking for $ac_hdr" >&5
13135 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13136 echo $ac_n "(cached) $ac_c" 1>&6
13138 cat > conftest.
$ac_ext <<EOF
13139 #line 13140 "configure"
13140 #include "confdefs.h"
13143 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13144 { (eval echo configure
:13145: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13145 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13146 if test -z "$ac_err"; then
13148 eval "ac_cv_header_$ac_safe=yes"
13151 echo "configure: failed program was:" >&5
13152 cat conftest.
$ac_ext >&5
13154 eval "ac_cv_header_$ac_safe=no"
13158 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13159 echo "$ac_t""yes" 1>&6
13160 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13161 cat >> confdefs.h
<<EOF
13162 #define $ac_tr_hdr 1
13166 echo "$ac_t""no" 1>&6
13174 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
13175 echo "configure:13176: checking for ANSI C header files" >&5
13176 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
13177 echo $ac_n "(cached) $ac_c" 1>&6
13179 cat > conftest.
$ac_ext <<EOF
13180 #line 13181 "configure"
13181 #include "confdefs.h"
13182 #include <stdlib.h>
13183 #include <stdarg.h>
13184 #include <string.h>
13187 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13188 { (eval echo configure
:13189: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13189 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13190 if test -z "$ac_err"; then
13192 ac_cv_header_stdc
=yes
13195 echo "configure: failed program was:" >&5
13196 cat conftest.
$ac_ext >&5
13198 ac_cv_header_stdc
=no
13202 if test $ac_cv_header_stdc = yes; then
13203 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
13204 cat > conftest.
$ac_ext <<EOF
13205 #line 13206 "configure"
13206 #include "confdefs.h"
13207 #include <string.h>
13209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13210 egrep "memchr" >/dev
/null
2>&1; then
13214 ac_cv_header_stdc
=no
13220 if test $ac_cv_header_stdc = yes; then
13221 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
13222 cat > conftest.
$ac_ext <<EOF
13223 #line 13224 "configure"
13224 #include "confdefs.h"
13225 #include <stdlib.h>
13227 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13228 egrep "free" >/dev
/null
2>&1; then
13232 ac_cv_header_stdc
=no
13238 if test $ac_cv_header_stdc = yes; then
13239 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
13240 if test "$cross_compiling" = yes; then
13243 cat > conftest.
$ac_ext <<EOF
13244 #line 13245 "configure"
13245 #include "confdefs.h"
13247 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
13248 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
13249 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
13250 int main () { int i; for (i = 0; i < 256; i++)
13251 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
13255 if { (eval echo configure
:13256: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13259 echo "configure: failed program was:" >&5
13260 cat conftest.
$ac_ext >&5
13262 ac_cv_header_stdc
=no
13270 echo "$ac_t""$ac_cv_header_stdc" 1>&6
13271 if test $ac_cv_header_stdc = yes; then
13272 cat >> confdefs.h
<<\EOF
13273 #define STDC_HEADERS 1
13278 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
13279 echo "configure:13280: checking for mode_t" >&5
13280 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
13281 echo $ac_n "(cached) $ac_c" 1>&6
13283 cat > conftest.
$ac_ext <<EOF
13284 #line 13285 "configure"
13285 #include "confdefs.h"
13286 #include <sys/types.h>
13288 #include <stdlib.h>
13289 #include <stddef.h>
13292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13293 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13295 ac_cv_type_mode_t
=yes
13298 ac_cv_type_mode_t
=no
13303 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
13304 if test $ac_cv_type_mode_t = no
; then
13305 cat >> confdefs.h
<<\EOF
13311 echo $ac_n "checking for off_t""... $ac_c" 1>&6
13312 echo "configure:13313: checking for off_t" >&5
13313 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
13314 echo $ac_n "(cached) $ac_c" 1>&6
13316 cat > conftest.
$ac_ext <<EOF
13317 #line 13318 "configure"
13318 #include "confdefs.h"
13319 #include <sys/types.h>
13321 #include <stdlib.h>
13322 #include <stddef.h>
13325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13326 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13328 ac_cv_type_off_t
=yes
13331 ac_cv_type_off_t
=no
13336 echo "$ac_t""$ac_cv_type_off_t" 1>&6
13337 if test $ac_cv_type_off_t = no
; then
13338 cat >> confdefs.h
<<\EOF
13344 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
13345 echo "configure:13346: checking for pid_t" >&5
13346 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
13347 echo $ac_n "(cached) $ac_c" 1>&6
13349 cat > conftest.
$ac_ext <<EOF
13350 #line 13351 "configure"
13351 #include "confdefs.h"
13352 #include <sys/types.h>
13354 #include <stdlib.h>
13355 #include <stddef.h>
13358 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13359 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13361 ac_cv_type_pid_t
=yes
13364 ac_cv_type_pid_t
=no
13369 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
13370 if test $ac_cv_type_pid_t = no
; then
13371 cat >> confdefs.h
<<\EOF
13377 echo $ac_n "checking for size_t""... $ac_c" 1>&6
13378 echo "configure:13379: checking for size_t" >&5
13379 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
13380 echo $ac_n "(cached) $ac_c" 1>&6
13382 cat > conftest.
$ac_ext <<EOF
13383 #line 13384 "configure"
13384 #include "confdefs.h"
13385 #include <sys/types.h>
13387 #include <stdlib.h>
13388 #include <stddef.h>
13391 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13392 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
13394 ac_cv_type_size_t
=yes
13397 ac_cv_type_size_t
=no
13402 echo "$ac_t""$ac_cv_type_size_t" 1>&6
13403 if test $ac_cv_type_size_t = no
; then
13404 cat >> confdefs.h
<<\EOF
13405 #define size_t unsigned
13410 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
13411 echo "configure:13412: checking for uid_t in sys/types.h" >&5
13412 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
13413 echo $ac_n "(cached) $ac_c" 1>&6
13415 cat > conftest.
$ac_ext <<EOF
13416 #line 13417 "configure"
13417 #include "confdefs.h"
13418 #include <sys/types.h>
13420 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
13421 egrep "uid_t" >/dev
/null
2>&1; then
13423 ac_cv_type_uid_t
=yes
13426 ac_cv_type_uid_t
=no
13432 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
13433 if test $ac_cv_type_uid_t = no
; then
13434 cat >> confdefs.h
<<\EOF
13438 cat >> confdefs.h
<<\EOF
13445 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
13446 echo "configure:13447: checking for wchar_t" >&5
13447 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
13448 echo $ac_n "(cached) $ac_c" 1>&6
13451 cat > conftest.
$ac_ext <<EOF
13452 #line 13453 "configure"
13453 #include "confdefs.h"
13455 #ifdef HAVE_WCHAR_H
13457 # include <stddef.h>
13459 # include <wchar.h>
13461 #ifdef HAVE_STDLIB_H
13462 # include <stdlib.h>
13469 ws = L"Hello, world!";
13473 if { (eval echo configure
:13474: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13475 wx_cv_type_wchar_t
=yes
13477 echo "configure: failed program was:" >&5
13478 cat conftest.
$ac_ext >&5
13480 wx_cv_type_wchar_t
=no
13487 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
13489 if test "$wx_cv_type_wchar_t" = "yes"; then
13490 cat >> confdefs.h
<<\EOF
13491 #define wxUSE_WCHAR_T 1
13498 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13499 ac_cpp
='$CXXCPP $CPPFLAGS'
13500 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13501 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13502 cross_compiling
=$ac_cv_prog_cxx_cross
13504 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
13505 echo "configure:13506: checking if size_t is unsigned int" >&5
13506 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
13507 echo $ac_n "(cached) $ac_c" 1>&6
13509 cat > conftest.
$ac_ext <<EOF
13510 #line 13511 "configure"
13511 #include "confdefs.h"
13512 #include <stddef.h>
13517 struct Foo { void foo(size_t); void foo(unsigned int); };
13523 if { (eval echo configure
:13524: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13525 wx_cv_size_t_is_uint
=no
13527 echo "configure: failed program was:" >&5
13528 cat conftest.
$ac_ext >&5
13530 wx_cv_size_t_is_uint
=yes
13537 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
13539 if test "$wx_cv_size_t_is_uint" = "yes"; then
13540 cat >> confdefs.h
<<\EOF
13541 #define wxSIZE_T_IS_UINT 1
13545 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
13546 echo "configure:13547: checking if size_t is unsigned long" >&5
13547 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
13548 echo $ac_n "(cached) $ac_c" 1>&6
13550 cat > conftest.
$ac_ext <<EOF
13551 #line 13552 "configure"
13552 #include "confdefs.h"
13553 #include <stddef.h>
13558 struct Foo { void foo(size_t); void foo(unsigned long); };
13564 if { (eval echo configure
:13565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13566 wx_cv_size_t_is_ulong
=no
13568 echo "configure: failed program was:" >&5
13569 cat conftest.
$ac_ext >&5
13571 wx_cv_size_t_is_ulong
=yes
13578 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
13580 if test "$wx_cv_size_t_is_ulong" = "yes"; then
13581 cat >> confdefs.h
<<\EOF
13582 #define wxSIZE_T_IS_ULONG 1
13589 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13590 ac_cpp
='$CPP $CPPFLAGS'
13591 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13592 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13593 cross_compiling
=$ac_cv_prog_cc_cross
13597 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
13598 echo "configure:13599: checking for pw_gecos in struct passwd" >&5
13599 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
13600 echo $ac_n "(cached) $ac_c" 1>&6
13603 cat > conftest.
$ac_ext <<EOF
13604 #line 13605 "configure"
13605 #include "confdefs.h"
13615 if { (eval echo configure
:13616: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13618 wx_cv_struct_pw_gecos
=yes
13621 echo "configure: failed program was:" >&5
13622 cat conftest.
$ac_ext >&5
13625 wx_cv_struct_pw_gecos
=no
13634 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
13636 if test "$wx_cv_struct_pw_gecos" = "yes"; then
13637 cat >> confdefs.h
<<\EOF
13638 #define HAVE_PW_GECOS 1
13644 echo $ac_n "checking for working const""... $ac_c" 1>&6
13645 echo "configure:13646: checking for working const" >&5
13646 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
13647 echo $ac_n "(cached) $ac_c" 1>&6
13649 cat > conftest.
$ac_ext <<EOF
13650 #line 13651 "configure"
13651 #include "confdefs.h"
13655 /* Ultrix mips cc rejects this. */
13656 typedef int charset[2]; const charset x = {0,0};
13657 /* SunOS 4.1.1 cc rejects this. */
13658 char const *const *ccp;
13660 /* NEC SVR4.0.2 mips cc rejects this. */
13661 struct point {int x, y;};
13662 static struct point const zero = {0,0};
13663 /* AIX XL C 1.02.0.0 rejects this.
13664 It does not let you subtract one const X* pointer from another in an arm
13665 of an if-expression whose if-part is not a constant expression */
13666 const char *g = "string";
13667 ccp = &g + (g ? g-g : 0);
13668 /* HPUX 7.0 cc rejects these. */
13671 ccp = (char const *const *) p;
13672 { /* SCO 3.2v4 cc rejects this. */
13674 char const *s = 0 ? (char *) 0 : (char const *) 0;
13678 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
13679 int x[] = {25, 17};
13680 const int *foo = &x[0];
13683 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
13684 typedef const int *iptr;
13688 { /* AIX XL C 1.02.0.0 rejects this saying
13689 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
13690 struct s { int j; const int *ap[3]; };
13691 struct s *b; b->j = 5;
13693 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
13694 const int foo = 10;
13699 if { (eval echo configure
:13700: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13703 echo "configure: failed program was:" >&5
13704 cat conftest.
$ac_ext >&5
13711 echo "$ac_t""$ac_cv_c_const" 1>&6
13712 if test $ac_cv_c_const = no
; then
13713 cat >> confdefs.h
<<\EOF
13719 echo $ac_n "checking for inline""... $ac_c" 1>&6
13720 echo "configure:13721: checking for inline" >&5
13721 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
13722 echo $ac_n "(cached) $ac_c" 1>&6
13725 for ac_kw
in inline __inline__ __inline
; do
13726 cat > conftest.
$ac_ext <<EOF
13727 #line 13728 "configure"
13728 #include "confdefs.h"
13731 } int $ac_kw foo() {
13734 if { (eval echo configure
:13735: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13736 ac_cv_c_inline
=$ac_kw; break
13738 echo "configure: failed program was:" >&5
13739 cat conftest.
$ac_ext >&5
13746 echo "$ac_t""$ac_cv_c_inline" 1>&6
13747 case "$ac_cv_c_inline" in
13749 no
) cat >> confdefs.h
<<\EOF
13753 *) cat >> confdefs.h
<<EOF
13754 #define inline $ac_cv_c_inline
13760 echo $ac_n "checking size of char""... $ac_c" 1>&6
13761 echo "configure:13762: checking size of char" >&5
13762 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
13763 echo $ac_n "(cached) $ac_c" 1>&6
13765 if test "$cross_compiling" = yes; then
13766 ac_cv_sizeof_char
=1
13768 cat > conftest.
$ac_ext <<EOF
13769 #line 13770 "configure"
13770 #include "confdefs.h"
13774 FILE *f=fopen("conftestval", "w");
13776 fprintf(f, "%d\n", sizeof(char));
13780 if { (eval echo configure
:13781: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13782 ac_cv_sizeof_char
=`cat conftestval`
13784 echo "configure: failed program was:" >&5
13785 cat conftest.
$ac_ext >&5
13787 ac_cv_sizeof_char
=0
13793 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
13794 cat >> confdefs.h
<<EOF
13795 #define SIZEOF_CHAR $ac_cv_sizeof_char
13799 echo $ac_n "checking size of short""... $ac_c" 1>&6
13800 echo "configure:13801: checking size of short" >&5
13801 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
13802 echo $ac_n "(cached) $ac_c" 1>&6
13804 if test "$cross_compiling" = yes; then
13805 ac_cv_sizeof_short
=2
13807 cat > conftest.
$ac_ext <<EOF
13808 #line 13809 "configure"
13809 #include "confdefs.h"
13813 FILE *f=fopen("conftestval", "w");
13815 fprintf(f, "%d\n", sizeof(short));
13819 if { (eval echo configure
:13820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13821 ac_cv_sizeof_short
=`cat conftestval`
13823 echo "configure: failed program was:" >&5
13824 cat conftest.
$ac_ext >&5
13826 ac_cv_sizeof_short
=0
13832 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
13833 cat >> confdefs.h
<<EOF
13834 #define SIZEOF_SHORT $ac_cv_sizeof_short
13838 echo $ac_n "checking size of int *""... $ac_c" 1>&6
13839 echo "configure:13840: checking size of int *" >&5
13840 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
13841 echo $ac_n "(cached) $ac_c" 1>&6
13843 if test "$cross_compiling" = yes; then
13844 ac_cv_sizeof_int_p
=4
13846 cat > conftest.
$ac_ext <<EOF
13847 #line 13848 "configure"
13848 #include "confdefs.h"
13852 FILE *f=fopen("conftestval", "w");
13854 fprintf(f, "%d\n", sizeof(int *));
13858 if { (eval echo configure
:13859: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13860 ac_cv_sizeof_int_p
=`cat conftestval`
13862 echo "configure: failed program was:" >&5
13863 cat conftest.
$ac_ext >&5
13865 ac_cv_sizeof_int_p
=0
13871 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
13872 cat >> confdefs.h
<<EOF
13873 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
13877 echo $ac_n "checking size of int""... $ac_c" 1>&6
13878 echo "configure:13879: checking size of int" >&5
13879 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
13880 echo $ac_n "(cached) $ac_c" 1>&6
13882 if test "$cross_compiling" = yes; then
13885 cat > conftest.
$ac_ext <<EOF
13886 #line 13887 "configure"
13887 #include "confdefs.h"
13891 FILE *f=fopen("conftestval", "w");
13893 fprintf(f, "%d\n", sizeof(int));
13897 if { (eval echo configure
:13898: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13899 ac_cv_sizeof_int
=`cat conftestval`
13901 echo "configure: failed program was:" >&5
13902 cat conftest.
$ac_ext >&5
13910 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
13911 cat >> confdefs.h
<<EOF
13912 #define SIZEOF_INT $ac_cv_sizeof_int
13916 echo $ac_n "checking size of long""... $ac_c" 1>&6
13917 echo "configure:13918: checking size of long" >&5
13918 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
13919 echo $ac_n "(cached) $ac_c" 1>&6
13921 if test "$cross_compiling" = yes; then
13922 ac_cv_sizeof_long
=4
13924 cat > conftest.
$ac_ext <<EOF
13925 #line 13926 "configure"
13926 #include "confdefs.h"
13930 FILE *f=fopen("conftestval", "w");
13932 fprintf(f, "%d\n", sizeof(long));
13936 if { (eval echo configure
:13937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13938 ac_cv_sizeof_long
=`cat conftestval`
13940 echo "configure: failed program was:" >&5
13941 cat conftest.
$ac_ext >&5
13943 ac_cv_sizeof_long
=0
13949 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
13950 cat >> confdefs.h
<<EOF
13951 #define SIZEOF_LONG $ac_cv_sizeof_long
13955 echo $ac_n "checking size of long long""... $ac_c" 1>&6
13956 echo "configure:13957: checking size of long long" >&5
13957 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
13958 echo $ac_n "(cached) $ac_c" 1>&6
13960 if test "$cross_compiling" = yes; then
13961 ac_cv_sizeof_long_long
=0
13963 cat > conftest.
$ac_ext <<EOF
13964 #line 13965 "configure"
13965 #include "confdefs.h"
13969 FILE *f=fopen("conftestval", "w");
13971 fprintf(f, "%d\n", sizeof(long long));
13975 if { (eval echo configure
:13976: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
13977 ac_cv_sizeof_long_long
=`cat conftestval`
13979 echo "configure: failed program was:" >&5
13980 cat conftest.
$ac_ext >&5
13982 ac_cv_sizeof_long_long
=0
13988 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
13989 cat >> confdefs.h
<<EOF
13990 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
13995 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
13996 echo "configure:13997: checking size of wchar_t" >&5
13997 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
13998 echo $ac_n "(cached) $ac_c" 1>&6
14001 if test "$cross_compiling" = yes; then
14002 wx_cv_sizeof_wchar_t
=4
14005 cat > conftest.
$ac_ext <<EOF
14006 #line 14007 "configure"
14007 #include "confdefs.h"
14009 #ifdef HAVE_WCHAR_H
14011 # include <stddef.h>
14013 # include <wchar.h>
14015 #ifdef HAVE_STDLIB_H
14016 # include <stdlib.h>
14021 FILE *f=fopen("conftestval", "w");
14023 fprintf(f, "%i", sizeof(wchar_t));
14028 if { (eval echo configure
:14029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14030 wx_cv_sizeof_wchar_t
=`cat conftestval`
14032 echo "configure: failed program was:" >&5
14033 cat conftest.
$ac_ext >&5
14035 wx_cv_sizeof_wchar_t
=0
14043 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
14045 cat >> confdefs.h
<<EOF
14046 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
14050 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
14051 echo "configure:14052: checking whether byte ordering is bigendian" >&5
14052 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
14053 echo $ac_n "(cached) $ac_c" 1>&6
14055 ac_cv_c_bigendian
=unknown
14056 # See if sys/param.h defines the BYTE_ORDER macro.
14057 cat > conftest.
$ac_ext <<EOF
14058 #line 14059 "configure"
14059 #include "confdefs.h"
14060 #include <sys/types.h>
14061 #include <sys/param.h>
14064 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
14065 bogus endian macros
14069 if { (eval echo configure
:14070: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14071 # It does; now see whether it defined to BIG_ENDIAN or not.
14072 cat > conftest.
$ac_ext <<EOF
14073 #line 14074 "configure"
14074 #include "confdefs.h"
14075 #include <sys/types.h>
14076 #include <sys/param.h>
14079 #if BYTE_ORDER != BIG_ENDIAN
14084 if { (eval echo configure
:14085: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14086 ac_cv_c_bigendian
=yes
14088 echo "configure: failed program was:" >&5
14089 cat conftest.
$ac_ext >&5
14091 ac_cv_c_bigendian
=no
14095 echo "configure: failed program was:" >&5
14096 cat conftest.
$ac_ext >&5
14099 if test $ac_cv_c_bigendian = unknown
; then
14100 if test "$cross_compiling" = yes; then
14101 ac_cv_c_bigendian
=unknown
14103 cat > conftest.
$ac_ext <<EOF
14104 #line 14105 "configure"
14105 #include "confdefs.h"
14107 /* Are we little or big endian? From Harbison&Steele. */
14111 char c[sizeof (long)];
14114 exit (u.c[sizeof (long) - 1] == 1);
14117 if { (eval echo configure
:14118: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
14119 ac_cv_c_bigendian
=no
14121 echo "configure: failed program was:" >&5
14122 cat conftest.
$ac_ext >&5
14124 ac_cv_c_bigendian
=yes
14132 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
14133 if test $ac_cv_c_bigendian = unknown
; then
14134 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
14136 if test $ac_cv_c_bigendian = yes; then
14137 cat >> confdefs.h
<<\EOF
14138 #define WORDS_BIGENDIAN 1
14144 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
14145 echo "configure:14146: checking how to run the C++ preprocessor" >&5
14146 if test -z "$CXXCPP"; then
14147 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
14148 echo $ac_n "(cached) $ac_c" 1>&6
14151 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14152 ac_cpp
='$CXXCPP $CPPFLAGS'
14153 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14154 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14155 cross_compiling
=$ac_cv_prog_cxx_cross
14156 CXXCPP
="${CXX-g++} -E"
14157 cat > conftest.
$ac_ext <<EOF
14158 #line 14159 "configure"
14159 #include "confdefs.h"
14160 #include <stdlib.h>
14162 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14163 { (eval echo configure
:14164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14164 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14165 if test -z "$ac_err"; then
14169 echo "configure: failed program was:" >&5
14170 cat conftest.
$ac_ext >&5
14175 ac_cv_prog_CXXCPP
="$CXXCPP"
14177 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14178 ac_cpp
='$CXXCPP $CPPFLAGS'
14179 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14180 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14181 cross_compiling
=$ac_cv_prog_cxx_cross
14184 CXXCPP
="$ac_cv_prog_CXXCPP"
14185 echo "$ac_t""$CXXCPP" 1>&6
14188 if test "$cross_compiling" = "yes"; then
14189 cat >> confdefs.h
<<\EOF
14190 #define wxUSE_IOSTREAMH 1
14196 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14197 ac_cpp
='$CXXCPP $CPPFLAGS'
14198 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14199 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14200 cross_compiling
=$ac_cv_prog_cxx_cross
14203 for ac_hdr
in iostream
14205 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14206 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14207 echo "configure:14208: checking for $ac_hdr" >&5
14208 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14209 echo $ac_n "(cached) $ac_c" 1>&6
14211 cat > conftest.
$ac_ext <<EOF
14212 #line 14213 "configure"
14213 #include "confdefs.h"
14216 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14217 { (eval echo configure
:14218: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14218 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14219 if test -z "$ac_err"; then
14221 eval "ac_cv_header_$ac_safe=yes"
14224 echo "configure: failed program was:" >&5
14225 cat conftest.
$ac_ext >&5
14227 eval "ac_cv_header_$ac_safe=no"
14231 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14232 echo "$ac_t""yes" 1>&6
14233 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14234 cat >> confdefs.h
<<EOF
14235 #define $ac_tr_hdr 1
14239 echo "$ac_t""no" 1>&6
14244 if test "$ac_cv_header_iostream" = "yes" ; then
14247 cat >> confdefs.h
<<\EOF
14248 #define wxUSE_IOSTREAMH 1
14254 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14255 ac_cpp
='$CPP $CPPFLAGS'
14256 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14257 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14258 cross_compiling
=$ac_cv_prog_cc_cross
14264 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
14265 echo "configure:14266: checking if C++ compiler supports bool" >&5
14266 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
14267 echo $ac_n "(cached) $ac_c" 1>&6
14272 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14273 ac_cpp
='$CXXCPP $CPPFLAGS'
14274 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14275 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14276 cross_compiling
=$ac_cv_prog_cxx_cross
14279 cat > conftest.
$ac_ext <<EOF
14280 #line 14281 "configure"
14281 #include "confdefs.h"
14292 if { (eval echo configure
:14293: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14298 echo "configure: failed program was:" >&5
14299 cat conftest.
$ac_ext >&5
14309 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14310 ac_cpp
='$CPP $CPPFLAGS'
14311 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14312 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14313 cross_compiling
=$ac_cv_prog_cc_cross
14318 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
14320 if test "$wx_cv_cpp_bool" = "yes"; then
14321 cat >> confdefs.h
<<\EOF
14322 #define HAVE_BOOL 1
14329 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
14330 echo "configure:14331: checking for wcslen in -lc" >&5
14331 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
14332 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14333 echo $ac_n "(cached) $ac_c" 1>&6
14335 ac_save_LIBS
="$LIBS"
14337 cat > conftest.
$ac_ext <<EOF
14338 #line 14339 "configure"
14339 #include "confdefs.h"
14340 /* Override any gcc2 internal prototype to avoid an error. */
14341 /* We use char because int might match the return type of a gcc2
14342 builtin and then its argument prototype would still apply. */
14349 if { (eval echo configure
:14350: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14351 eval "ac_cv_lib_$ac_lib_var=yes"
14353 echo "configure: failed program was:" >&5
14354 cat conftest.
$ac_ext >&5
14356 eval "ac_cv_lib_$ac_lib_var=no"
14359 LIBS
="$ac_save_LIBS"
14362 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14363 echo "$ac_t""yes" 1>&6
14365 cat >> confdefs.h
<<\EOF
14366 #define HAVE_WCSLEN 1
14372 echo "$ac_t""no" 1>&6
14374 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
14375 echo "configure:14376: checking for wcslen in -lw" >&5
14376 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
14377 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14378 echo $ac_n "(cached) $ac_c" 1>&6
14380 ac_save_LIBS
="$LIBS"
14382 cat > conftest.
$ac_ext <<EOF
14383 #line 14384 "configure"
14384 #include "confdefs.h"
14385 /* Override any gcc2 internal prototype to avoid an error. */
14386 /* We use char because int might match the return type of a gcc2
14387 builtin and then its argument prototype would still apply. */
14394 if { (eval echo configure
:14395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14396 eval "ac_cv_lib_$ac_lib_var=yes"
14398 echo "configure: failed program was:" >&5
14399 cat conftest.
$ac_ext >&5
14401 eval "ac_cv_lib_$ac_lib_var=no"
14404 LIBS
="$ac_save_LIBS"
14407 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14408 echo "$ac_t""yes" 1>&6
14410 cat >> confdefs.h
<<\EOF
14411 #define HAVE_WCSLEN 1
14417 echo "$ac_t""no" 1>&6
14419 echo $ac_n "checking for wcslen in -lmsvcrt""... $ac_c" 1>&6
14420 echo "configure:14421: checking for wcslen in -lmsvcrt" >&5
14421 ac_lib_var
=`echo msvcrt'_'wcslen | sed 'y%./+-%__p_%'`
14422 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14423 echo $ac_n "(cached) $ac_c" 1>&6
14425 ac_save_LIBS
="$LIBS"
14426 LIBS
="-lmsvcrt $LIBS"
14427 cat > conftest.
$ac_ext <<EOF
14428 #line 14429 "configure"
14429 #include "confdefs.h"
14430 /* Override any gcc2 internal prototype to avoid an error. */
14431 /* We use char because int might match the return type of a gcc2
14432 builtin and then its argument prototype would still apply. */
14439 if { (eval echo configure
:14440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14441 eval "ac_cv_lib_$ac_lib_var=yes"
14443 echo "configure: failed program was:" >&5
14444 cat conftest.
$ac_ext >&5
14446 eval "ac_cv_lib_$ac_lib_var=no"
14449 LIBS
="$ac_save_LIBS"
14452 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14453 echo "$ac_t""yes" 1>&6
14455 cat >> confdefs.h
<<\EOF
14456 #define HAVE_WCSLEN 1
14462 echo "$ac_t""no" 1>&6
14472 for ac_func
in wcsrtombs
14474 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14475 echo "configure:14476: checking for $ac_func" >&5
14476 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14477 echo $ac_n "(cached) $ac_c" 1>&6
14479 cat > conftest.
$ac_ext <<EOF
14480 #line 14481 "configure"
14481 #include "confdefs.h"
14482 /* System header to define __stub macros and hopefully few prototypes,
14483 which can conflict with char $ac_func(); below. */
14484 #include <assert.h>
14485 /* Override any gcc2 internal prototype to avoid an error. */
14486 /* We use char because int might match the return type of a gcc2
14487 builtin and then its argument prototype would still apply. */
14492 /* The GNU C library defines this for functions which it implements
14493 to always fail with ENOSYS. Some functions are actually named
14494 something starting with __ and the normal name is an alias. */
14495 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14503 if { (eval echo configure
:14504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14505 eval "ac_cv_func_$ac_func=yes"
14507 echo "configure: failed program was:" >&5
14508 cat conftest.
$ac_ext >&5
14510 eval "ac_cv_func_$ac_func=no"
14515 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14516 echo "$ac_t""yes" 1>&6
14517 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14518 cat >> confdefs.h
<<EOF
14519 #define $ac_tr_func 1
14523 echo "$ac_t""no" 1>&6
14528 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
14529 echo "configure:14530: checking for vprintf" >&5
14530 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
14531 echo $ac_n "(cached) $ac_c" 1>&6
14533 cat > conftest.
$ac_ext <<EOF
14534 #line 14535 "configure"
14535 #include "confdefs.h"
14536 /* System header to define __stub macros and hopefully few prototypes,
14537 which can conflict with char vprintf(); below. */
14538 #include <assert.h>
14539 /* Override any gcc2 internal prototype to avoid an error. */
14540 /* We use char because int might match the return type of a gcc2
14541 builtin and then its argument prototype would still apply. */
14546 /* The GNU C library defines this for functions which it implements
14547 to always fail with ENOSYS. Some functions are actually named
14548 something starting with __ and the normal name is an alias. */
14549 #if defined (__stub_vprintf) || defined (__stub___vprintf)
14557 if { (eval echo configure
:14558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14559 eval "ac_cv_func_vprintf=yes"
14561 echo "configure: failed program was:" >&5
14562 cat conftest.
$ac_ext >&5
14564 eval "ac_cv_func_vprintf=no"
14569 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
14570 echo "$ac_t""yes" 1>&6
14571 cat >> confdefs.h
<<\EOF
14572 #define HAVE_VPRINTF 1
14576 echo "$ac_t""no" 1>&6
14579 if test "$ac_cv_func_vprintf" != yes; then
14580 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
14581 echo "configure:14582: checking for _doprnt" >&5
14582 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
14583 echo $ac_n "(cached) $ac_c" 1>&6
14585 cat > conftest.
$ac_ext <<EOF
14586 #line 14587 "configure"
14587 #include "confdefs.h"
14588 /* System header to define __stub macros and hopefully few prototypes,
14589 which can conflict with char _doprnt(); below. */
14590 #include <assert.h>
14591 /* Override any gcc2 internal prototype to avoid an error. */
14592 /* We use char because int might match the return type of a gcc2
14593 builtin and then its argument prototype would still apply. */
14598 /* The GNU C library defines this for functions which it implements
14599 to always fail with ENOSYS. Some functions are actually named
14600 something starting with __ and the normal name is an alias. */
14601 #if defined (__stub__doprnt) || defined (__stub____doprnt)
14609 if { (eval echo configure
:14610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14611 eval "ac_cv_func__doprnt=yes"
14613 echo "configure: failed program was:" >&5
14614 cat conftest.
$ac_ext >&5
14616 eval "ac_cv_func__doprnt=no"
14621 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
14622 echo "$ac_t""yes" 1>&6
14623 cat >> confdefs.h
<<\EOF
14624 #define HAVE_DOPRNT 1
14628 echo "$ac_t""no" 1>&6
14638 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
14639 echo "configure:14640: checking for vsnprintf" >&5
14640 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
14641 echo $ac_n "(cached) $ac_c" 1>&6
14644 cat > conftest.
$ac_ext <<EOF
14645 #line 14646 "configure"
14646 #include "confdefs.h"
14649 #include <stdarg.h>
14653 int wx_test_vsnprintf(const char *, ...);
14655 wx_test_vsnprintf("%s");
14659 int wx_test_vsnprintf(const char *fmt, ...)
14664 va_start(argp, fmt);
14665 vsnprintf(s, 42, fmt, argp);
14670 if { (eval echo configure
:14671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14673 wx_cv_func_vsnprintf
=yes
14676 echo "configure: failed program was:" >&5
14677 cat conftest.
$ac_ext >&5
14680 cat > conftest.
$ac_ext <<EOF
14681 #line 14682 "configure"
14682 #include "confdefs.h"
14685 #include <stdarg.h>
14689 int wx_test_vsnprintf(const char *, ...);
14691 wx_test_vsnprintf("%s");
14695 int wx_test_vsnprintf(const char *fmt, ...)
14700 va_start(argp, fmt);
14701 _vsnprintf(s, 42, fmt, argp);
14706 if { (eval echo configure
:14707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14709 wx_cv_func_vsnprintf
=yes
14712 echo "configure: failed program was:" >&5
14713 cat conftest.
$ac_ext >&5
14716 wx_cv_func_vsnprintf
=no
14726 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
14728 if test "$wx_cv_func_vsnprintf" = yes; then
14729 cat >> confdefs.h
<<\EOF
14730 #define HAVE_VSNPRINTF 1
14734 echo "configure: warning: unsafe function vsprintf will be used instead of vsnprintf" 1>&2
14737 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
14738 echo "configure:14739: checking for vsscanf" >&5
14739 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
14740 echo $ac_n "(cached) $ac_c" 1>&6
14743 cat > conftest.
$ac_ext <<EOF
14744 #line 14745 "configure"
14745 #include "confdefs.h"
14748 #include <stdarg.h>
14752 int wx_test_vsscanf(const char *, ...);
14754 wx_test_vsscanf("%d");
14758 int wx_test_vsscanf(const char *fmt, ...)
14761 va_start(argp, fmt);
14762 vsscanf("42", fmt, argp);
14767 if { (eval echo configure
:14768: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14770 wx_cv_func_vsscanf
=yes
14773 echo "configure: failed program was:" >&5
14774 cat conftest.
$ac_ext >&5
14777 wx_cv_func_vsscanf
=no
14784 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
14786 if test "$wx_cv_func_vsscanf" = yes; then
14787 cat >> confdefs.h
<<\EOF
14788 #define HAVE_VSSCANF 1
14793 if test "$TOOLKIT" != "MSW"; then
14798 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14799 ac_cpp
='$CXXCPP $CPPFLAGS'
14800 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14801 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14802 cross_compiling
=$ac_cv_prog_cxx_cross
14804 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
14805 echo "configure:14806: checking if iconv() takes char**" >&5
14806 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
14807 echo $ac_n "(cached) $ac_c" 1>&6
14810 cat > conftest.
$ac_ext <<EOF
14811 #line 14812 "configure"
14812 #include "confdefs.h"
14816 char **inbuf, **outbuf;
14818 size_t insz, outsz;
14819 iconv(cd, inbuf, &insz, outbuf, &outsz);
14823 if { (eval echo configure
:14824: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14825 wx_cv_iconv_takes_char
=yes
14827 echo "configure: failed program was:" >&5
14828 cat conftest.
$ac_ext >&5
14830 wx_cv_iconv_takes_char
=no
14836 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
14838 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14839 ac_cpp
='$CPP $CPPFLAGS'
14840 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14841 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14842 cross_compiling
=$ac_cv_prog_cc_cross
14844 if test "$wx_cv_iconv_takes_char" = yes ; then
14845 cat >> confdefs.h
<<\EOF
14846 #define WX_ICONV_TAKES_CHAR 1
14852 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
14853 for ac_func
in sigaction
14855 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14856 echo "configure:14857: checking for $ac_func" >&5
14857 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14858 echo $ac_n "(cached) $ac_c" 1>&6
14860 cat > conftest.
$ac_ext <<EOF
14861 #line 14862 "configure"
14862 #include "confdefs.h"
14863 /* System header to define __stub macros and hopefully few prototypes,
14864 which can conflict with char $ac_func(); below. */
14865 #include <assert.h>
14866 /* Override any gcc2 internal prototype to avoid an error. */
14867 /* We use char because int might match the return type of a gcc2
14868 builtin and then its argument prototype would still apply. */
14873 /* The GNU C library defines this for functions which it implements
14874 to always fail with ENOSYS. Some functions are actually named
14875 something starting with __ and the normal name is an alias. */
14876 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14884 if { (eval echo configure
:14885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14886 eval "ac_cv_func_$ac_func=yes"
14888 echo "configure: failed program was:" >&5
14889 cat conftest.
$ac_ext >&5
14891 eval "ac_cv_func_$ac_func=no"
14896 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14897 echo "$ac_t""yes" 1>&6
14898 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14899 cat >> confdefs.h
<<EOF
14900 #define $ac_tr_func 1
14904 echo "$ac_t""no" 1>&6
14909 if test "$ac_cv_func_sigaction" = "no"; then
14910 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
14911 wxUSE_ON_FATAL_EXCEPTION
=no
14914 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
14917 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14918 ac_cpp
='$CXXCPP $CPPFLAGS'
14919 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14920 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14921 cross_compiling
=$ac_cv_prog_cxx_cross
14924 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
14925 echo "configure:14926: checking for sa_handler type" >&5
14926 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
14927 echo $ac_n "(cached) $ac_c" 1>&6
14930 cat > conftest.
$ac_ext <<EOF
14931 #line 14932 "configure"
14932 #include "confdefs.h"
14933 #include <signal.h>
14936 extern void testSigHandler(int);
14938 struct sigaction sa;
14939 sa.sa_handler = testSigHandler;
14943 if { (eval echo configure
:14944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14946 wx_cv_type_sa_handler
=int
14949 echo "configure: failed program was:" >&5
14950 cat conftest.
$ac_ext >&5
14953 wx_cv_type_sa_handler
=void
14960 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
14963 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14964 ac_cpp
='$CPP $CPPFLAGS'
14965 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14966 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14967 cross_compiling
=$ac_cv_prog_cc_cross
14970 cat >> confdefs.h
<<EOF
14971 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
14977 for ac_func
in vfork
14979 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14980 echo "configure:14981: checking for $ac_func" >&5
14981 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14982 echo $ac_n "(cached) $ac_c" 1>&6
14984 cat > conftest.
$ac_ext <<EOF
14985 #line 14986 "configure"
14986 #include "confdefs.h"
14987 /* System header to define __stub macros and hopefully few prototypes,
14988 which can conflict with char $ac_func(); below. */
14989 #include <assert.h>
14990 /* Override any gcc2 internal prototype to avoid an error. */
14991 /* We use char because int might match the return type of a gcc2
14992 builtin and then its argument prototype would still apply. */
14997 /* The GNU C library defines this for functions which it implements
14998 to always fail with ENOSYS. Some functions are actually named
14999 something starting with __ and the normal name is an alias. */
15000 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15008 if { (eval echo configure
:15009: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15010 eval "ac_cv_func_$ac_func=yes"
15012 echo "configure: failed program was:" >&5
15013 cat conftest.
$ac_ext >&5
15015 eval "ac_cv_func_$ac_func=no"
15020 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15021 echo "$ac_t""yes" 1>&6
15022 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15023 cat >> confdefs.h
<<EOF
15024 #define $ac_tr_func 1
15028 echo "$ac_t""no" 1>&6
15033 for ac_func
in mkstemp mktemp
15035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15036 echo "configure:15037: checking for $ac_func" >&5
15037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15038 echo $ac_n "(cached) $ac_c" 1>&6
15040 cat > conftest.
$ac_ext <<EOF
15041 #line 15042 "configure"
15042 #include "confdefs.h"
15043 /* System header to define __stub macros and hopefully few prototypes,
15044 which can conflict with char $ac_func(); below. */
15045 #include <assert.h>
15046 /* Override any gcc2 internal prototype to avoid an error. */
15047 /* We use char because int might match the return type of a gcc2
15048 builtin and then its argument prototype would still apply. */
15053 /* The GNU C library defines this for functions which it implements
15054 to always fail with ENOSYS. Some functions are actually named
15055 something starting with __ and the normal name is an alias. */
15056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15064 if { (eval echo configure
:15065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15066 eval "ac_cv_func_$ac_func=yes"
15068 echo "configure: failed program was:" >&5
15069 cat conftest.
$ac_ext >&5
15071 eval "ac_cv_func_$ac_func=no"
15076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15077 echo "$ac_t""yes" 1>&6
15078 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15079 cat >> confdefs.h
<<EOF
15080 #define $ac_tr_func 1
15084 echo "$ac_t""no" 1>&6
15089 echo $ac_n "checking for statfs""... $ac_c" 1>&6
15090 echo "configure:15091: checking for statfs" >&5
15091 if eval "test \"`echo '$''{'wx_cv_func_statfs'+set}'`\" = set"; then
15092 echo $ac_n "(cached) $ac_c" 1>&6
15094 cat > conftest.
$ac_ext <<EOF
15095 #line 15096 "configure"
15096 #include "confdefs.h"
15098 #if defined(__BSD__)
15099 #include <sys/param.h>
15100 #include <sys/mount.h>
15102 #include <sys/vfs.h>
15116 if { (eval echo configure
:15117: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15119 wx_cv_func_statfs
=yes
15122 echo "configure: failed program was:" >&5
15123 cat conftest.
$ac_ext >&5
15126 wx_cv_func_statfs
=no
15134 echo "$ac_t""$wx_cv_func_statfs" 1>&6
15136 if test "$wx_cv_func_statfs" = "yes"; then
15137 cat >> confdefs.h
<<\EOF
15138 #define HAVE_STATFS 1
15142 echo $ac_n "checking for statvfs""... $ac_c" 1>&6
15143 echo "configure:15144: checking for statvfs" >&5
15144 if eval "test \"`echo '$''{'wx_cv_func_statvfs'+set}'`\" = set"; then
15145 echo $ac_n "(cached) $ac_c" 1>&6
15147 cat > conftest.
$ac_ext <<EOF
15148 #line 15149 "configure"
15149 #include "confdefs.h"
15151 #include <sys/statvfs.h>
15164 if { (eval echo configure
:15165: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15167 wx_cv_func_statvfs
=yes
15170 echo "configure: failed program was:" >&5
15171 cat conftest.
$ac_ext >&5
15174 wx_cv_func_statvfs
=no
15182 echo "$ac_t""$wx_cv_func_statvfs" 1>&6
15184 if test "$wx_cv_func_statvfs" = "yes"; then
15185 cat >> confdefs.h
<<\EOF
15186 #define HAVE_STATVFS 1
15190 echo "configure: warning: wxGetDiskSpace() function won't work without statfs()" 1>&2
15194 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15195 for ac_func
in fcntl flock
15197 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15198 echo "configure:15199: checking for $ac_func" >&5
15199 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15200 echo $ac_n "(cached) $ac_c" 1>&6
15202 cat > conftest.
$ac_ext <<EOF
15203 #line 15204 "configure"
15204 #include "confdefs.h"
15205 /* System header to define __stub macros and hopefully few prototypes,
15206 which can conflict with char $ac_func(); below. */
15207 #include <assert.h>
15208 /* Override any gcc2 internal prototype to avoid an error. */
15209 /* We use char because int might match the return type of a gcc2
15210 builtin and then its argument prototype would still apply. */
15215 /* The GNU C library defines this for functions which it implements
15216 to always fail with ENOSYS. Some functions are actually named
15217 something starting with __ and the normal name is an alias. */
15218 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15226 if { (eval echo configure
:15227: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15228 eval "ac_cv_func_$ac_func=yes"
15230 echo "configure: failed program was:" >&5
15231 cat conftest.
$ac_ext >&5
15233 eval "ac_cv_func_$ac_func=no"
15238 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15239 echo "$ac_t""yes" 1>&6
15240 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15241 cat >> confdefs.h
<<EOF
15242 #define $ac_tr_func 1
15246 echo "$ac_t""no" 1>&6
15251 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
15252 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
15253 wxUSE_SNGLINST_CHECKER
=no
15257 for ac_func
in timegm
15259 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15260 echo "configure:15261: checking for $ac_func" >&5
15261 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15262 echo $ac_n "(cached) $ac_c" 1>&6
15264 cat > conftest.
$ac_ext <<EOF
15265 #line 15266 "configure"
15266 #include "confdefs.h"
15267 /* System header to define __stub macros and hopefully few prototypes,
15268 which can conflict with char $ac_func(); below. */
15269 #include <assert.h>
15270 /* Override any gcc2 internal prototype to avoid an error. */
15271 /* We use char because int might match the return type of a gcc2
15272 builtin and then its argument prototype would still apply. */
15277 /* The GNU C library defines this for functions which it implements
15278 to always fail with ENOSYS. Some functions are actually named
15279 something starting with __ and the normal name is an alias. */
15280 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15288 if { (eval echo configure
:15289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15290 eval "ac_cv_func_$ac_func=yes"
15292 echo "configure: failed program was:" >&5
15293 cat conftest.
$ac_ext >&5
15295 eval "ac_cv_func_$ac_func=no"
15300 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15301 echo "$ac_t""yes" 1>&6
15302 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15303 cat >> confdefs.h
<<EOF
15304 #define $ac_tr_func 1
15308 echo "$ac_t""no" 1>&6
15313 for ac_func
in putenv setenv
15315 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15316 echo "configure:15317: checking for $ac_func" >&5
15317 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15318 echo $ac_n "(cached) $ac_c" 1>&6
15320 cat > conftest.
$ac_ext <<EOF
15321 #line 15322 "configure"
15322 #include "confdefs.h"
15323 /* System header to define __stub macros and hopefully few prototypes,
15324 which can conflict with char $ac_func(); below. */
15325 #include <assert.h>
15326 /* Override any gcc2 internal prototype to avoid an error. */
15327 /* We use char because int might match the return type of a gcc2
15328 builtin and then its argument prototype would still apply. */
15333 /* The GNU C library defines this for functions which it implements
15334 to always fail with ENOSYS. Some functions are actually named
15335 something starting with __ and the normal name is an alias. */
15336 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15344 if { (eval echo configure
:15345: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15346 eval "ac_cv_func_$ac_func=yes"
15348 echo "configure: failed program was:" >&5
15349 cat conftest.
$ac_ext >&5
15351 eval "ac_cv_func_$ac_func=no"
15356 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15357 echo "$ac_t""yes" 1>&6
15358 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15359 cat >> confdefs.h
<<EOF
15360 #define $ac_tr_func 1
15364 echo "$ac_t""no" 1>&6
15369 HAVE_SOME_SLEEP_FUNC
=0
15370 if test "$USE_BEOS" = 1; then
15371 cat >> confdefs.h
<<\EOF
15372 #define HAVE_SLEEP 1
15375 HAVE_SOME_SLEEP_FUNC
=1
15378 if test "$USE_DARWIN" = 1; then
15379 cat >> confdefs.h
<<\EOF
15380 #define HAVE_USLEEP 1
15383 HAVE_SOME_SLEEP_FUNC
=1
15386 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
15388 for ac_func
in nanosleep
15390 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15391 echo "configure:15392: checking for $ac_func" >&5
15392 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15393 echo $ac_n "(cached) $ac_c" 1>&6
15395 cat > conftest.
$ac_ext <<EOF
15396 #line 15397 "configure"
15397 #include "confdefs.h"
15398 /* System header to define __stub macros and hopefully few prototypes,
15399 which can conflict with char $ac_func(); below. */
15400 #include <assert.h>
15401 /* Override any gcc2 internal prototype to avoid an error. */
15402 /* We use char because int might match the return type of a gcc2
15403 builtin and then its argument prototype would still apply. */
15408 /* The GNU C library defines this for functions which it implements
15409 to always fail with ENOSYS. Some functions are actually named
15410 something starting with __ and the normal name is an alias. */
15411 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15419 if { (eval echo configure
:15420: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15421 eval "ac_cv_func_$ac_func=yes"
15423 echo "configure: failed program was:" >&5
15424 cat conftest.
$ac_ext >&5
15426 eval "ac_cv_func_$ac_func=no"
15431 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15432 echo "$ac_t""yes" 1>&6
15433 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15434 cat >> confdefs.h
<<EOF
15435 #define $ac_tr_func 1
15437 cat >> confdefs.h
<<\EOF
15438 #define HAVE_NANOSLEEP 1
15442 echo "$ac_t""no" 1>&6
15443 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
15444 echo "configure:15445: checking for nanosleep in -lposix4" >&5
15445 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
15446 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15447 echo $ac_n "(cached) $ac_c" 1>&6
15449 ac_save_LIBS
="$LIBS"
15450 LIBS
="-lposix4 $LIBS"
15451 cat > conftest.
$ac_ext <<EOF
15452 #line 15453 "configure"
15453 #include "confdefs.h"
15454 /* Override any gcc2 internal prototype to avoid an error. */
15455 /* We use char because int might match the return type of a gcc2
15456 builtin and then its argument prototype would still apply. */
15463 if { (eval echo configure
:15464: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15465 eval "ac_cv_lib_$ac_lib_var=yes"
15467 echo "configure: failed program was:" >&5
15468 cat conftest.
$ac_ext >&5
15470 eval "ac_cv_lib_$ac_lib_var=no"
15473 LIBS
="$ac_save_LIBS"
15476 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15477 echo "$ac_t""yes" 1>&6
15479 cat >> confdefs.h
<<\EOF
15480 #define HAVE_NANOSLEEP 1
15483 POSIX4_LINK
=" -lposix4"
15486 echo "$ac_t""no" 1>&6
15488 for ac_func
in usleep
15490 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15491 echo "configure:15492: checking for $ac_func" >&5
15492 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15493 echo $ac_n "(cached) $ac_c" 1>&6
15495 cat > conftest.
$ac_ext <<EOF
15496 #line 15497 "configure"
15497 #include "confdefs.h"
15498 /* System header to define __stub macros and hopefully few prototypes,
15499 which can conflict with char $ac_func(); below. */
15500 #include <assert.h>
15501 /* Override any gcc2 internal prototype to avoid an error. */
15502 /* We use char because int might match the return type of a gcc2
15503 builtin and then its argument prototype would still apply. */
15508 /* The GNU C library defines this for functions which it implements
15509 to always fail with ENOSYS. Some functions are actually named
15510 something starting with __ and the normal name is an alias. */
15511 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15519 if { (eval echo configure
:15520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15521 eval "ac_cv_func_$ac_func=yes"
15523 echo "configure: failed program was:" >&5
15524 cat conftest.
$ac_ext >&5
15526 eval "ac_cv_func_$ac_func=no"
15531 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15532 echo "$ac_t""yes" 1>&6
15533 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15534 cat >> confdefs.h
<<EOF
15535 #define $ac_tr_func 1
15537 cat >> confdefs.h
<<\EOF
15538 #define HAVE_USLEEP 1
15542 echo "$ac_t""no" 1>&6
15543 echo "configure: warning: wxSleep() function will not work" 1>&2
15559 for ac_func
in uname gethostname
15561 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15562 echo "configure:15563: checking for $ac_func" >&5
15563 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15564 echo $ac_n "(cached) $ac_c" 1>&6
15566 cat > conftest.
$ac_ext <<EOF
15567 #line 15568 "configure"
15568 #include "confdefs.h"
15569 /* System header to define __stub macros and hopefully few prototypes,
15570 which can conflict with char $ac_func(); below. */
15571 #include <assert.h>
15572 /* Override any gcc2 internal prototype to avoid an error. */
15573 /* We use char because int might match the return type of a gcc2
15574 builtin and then its argument prototype would still apply. */
15579 /* The GNU C library defines this for functions which it implements
15580 to always fail with ENOSYS. Some functions are actually named
15581 something starting with __ and the normal name is an alias. */
15582 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15590 if { (eval echo configure
:15591: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15592 eval "ac_cv_func_$ac_func=yes"
15594 echo "configure: failed program was:" >&5
15595 cat conftest.
$ac_ext >&5
15597 eval "ac_cv_func_$ac_func=no"
15602 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15603 echo "$ac_t""yes" 1>&6
15604 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15605 cat >> confdefs.h
<<EOF
15606 #define $ac_tr_func 1
15610 echo "$ac_t""no" 1>&6
15617 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15618 ac_cpp
='$CXXCPP $CPPFLAGS'
15619 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15620 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15621 cross_compiling
=$ac_cv_prog_cxx_cross
15624 for ac_func
in strtok_r
15626 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15627 echo "configure:15628: checking for $ac_func" >&5
15628 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15629 echo $ac_n "(cached) $ac_c" 1>&6
15631 cat > conftest.
$ac_ext <<EOF
15632 #line 15633 "configure"
15633 #include "confdefs.h"
15634 /* System header to define __stub macros and hopefully few prototypes,
15635 which can conflict with char $ac_func(); below. */
15636 #include <assert.h>
15637 /* Override any gcc2 internal prototype to avoid an error. */
15641 /* We use char because int might match the return type of a gcc2
15642 builtin and then its argument prototype would still apply. */
15647 /* The GNU C library defines this for functions which it implements
15648 to always fail with ENOSYS. Some functions are actually named
15649 something starting with __ and the normal name is an alias. */
15650 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15658 if { (eval echo configure
:15659: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15660 eval "ac_cv_func_$ac_func=yes"
15662 echo "configure: failed program was:" >&5
15663 cat conftest.
$ac_ext >&5
15665 eval "ac_cv_func_$ac_func=no"
15670 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15671 echo "$ac_t""yes" 1>&6
15672 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15673 cat >> confdefs.h
<<EOF
15674 #define $ac_tr_func 1
15678 echo "$ac_t""no" 1>&6
15684 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15685 ac_cpp
='$CPP $CPPFLAGS'
15686 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15687 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15688 cross_compiling
=$ac_cv_prog_cc_cross
15692 for ac_func
in inet_addr
15694 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15695 echo "configure:15696: checking for $ac_func" >&5
15696 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15697 echo $ac_n "(cached) $ac_c" 1>&6
15699 cat > conftest.
$ac_ext <<EOF
15700 #line 15701 "configure"
15701 #include "confdefs.h"
15702 /* System header to define __stub macros and hopefully few prototypes,
15703 which can conflict with char $ac_func(); below. */
15704 #include <assert.h>
15705 /* Override any gcc2 internal prototype to avoid an error. */
15706 /* We use char because int might match the return type of a gcc2
15707 builtin and then its argument prototype would still apply. */
15712 /* The GNU C library defines this for functions which it implements
15713 to always fail with ENOSYS. Some functions are actually named
15714 something starting with __ and the normal name is an alias. */
15715 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15723 if { (eval echo configure
:15724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15725 eval "ac_cv_func_$ac_func=yes"
15727 echo "configure: failed program was:" >&5
15728 cat conftest.
$ac_ext >&5
15730 eval "ac_cv_func_$ac_func=no"
15735 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15736 echo "$ac_t""yes" 1>&6
15737 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15738 cat >> confdefs.h
<<EOF
15739 #define $ac_tr_func 1
15741 cat >> confdefs.h
<<\EOF
15742 #define HAVE_INET_ADDR 1
15746 echo "$ac_t""no" 1>&6
15747 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
15748 echo "configure:15749: checking for inet_addr in -lnsl" >&5
15749 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
15750 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15751 echo $ac_n "(cached) $ac_c" 1>&6
15753 ac_save_LIBS
="$LIBS"
15755 cat > conftest.
$ac_ext <<EOF
15756 #line 15757 "configure"
15757 #include "confdefs.h"
15758 /* Override any gcc2 internal prototype to avoid an error. */
15759 /* We use char because int might match the return type of a gcc2
15760 builtin and then its argument prototype would still apply. */
15767 if { (eval echo configure
:15768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15769 eval "ac_cv_lib_$ac_lib_var=yes"
15771 echo "configure: failed program was:" >&5
15772 cat conftest.
$ac_ext >&5
15774 eval "ac_cv_lib_$ac_lib_var=no"
15777 LIBS
="$ac_save_LIBS"
15780 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15781 echo "$ac_t""yes" 1>&6
15784 echo "$ac_t""no" 1>&6
15785 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
15786 echo "configure:15787: checking for inet_addr in -lresolv" >&5
15787 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
15788 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15789 echo $ac_n "(cached) $ac_c" 1>&6
15791 ac_save_LIBS
="$LIBS"
15792 LIBS
="-lresolv $LIBS"
15793 cat > conftest.
$ac_ext <<EOF
15794 #line 15795 "configure"
15795 #include "confdefs.h"
15796 /* Override any gcc2 internal prototype to avoid an error. */
15797 /* We use char because int might match the return type of a gcc2
15798 builtin and then its argument prototype would still apply. */
15805 if { (eval echo configure
:15806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15807 eval "ac_cv_lib_$ac_lib_var=yes"
15809 echo "configure: failed program was:" >&5
15810 cat conftest.
$ac_ext >&5
15812 eval "ac_cv_lib_$ac_lib_var=no"
15815 LIBS
="$ac_save_LIBS"
15818 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15819 echo "$ac_t""yes" 1>&6
15823 echo "$ac_t""no" 1>&6
15835 for ac_func
in inet_aton
15837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15838 echo "configure:15839: checking for $ac_func" >&5
15839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15840 echo $ac_n "(cached) $ac_c" 1>&6
15842 cat > conftest.
$ac_ext <<EOF
15843 #line 15844 "configure"
15844 #include "confdefs.h"
15845 /* System header to define __stub macros and hopefully few prototypes,
15846 which can conflict with char $ac_func(); below. */
15847 #include <assert.h>
15848 /* Override any gcc2 internal prototype to avoid an error. */
15849 /* We use char because int might match the return type of a gcc2
15850 builtin and then its argument prototype would still apply. */
15855 /* The GNU C library defines this for functions which it implements
15856 to always fail with ENOSYS. Some functions are actually named
15857 something starting with __ and the normal name is an alias. */
15858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15866 if { (eval echo configure
:15867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15868 eval "ac_cv_func_$ac_func=yes"
15870 echo "configure: failed program was:" >&5
15871 cat conftest.
$ac_ext >&5
15873 eval "ac_cv_func_$ac_func=no"
15878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15879 echo "$ac_t""yes" 1>&6
15880 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15881 cat >> confdefs.h
<<EOF
15882 #define $ac_tr_func 1
15884 cat >> confdefs.h
<<\EOF
15885 #define HAVE_INET_ATON 1
15889 echo "$ac_t""no" 1>&6
15890 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
15891 echo "configure:15892: checking for inet_aton in -l$INET_LINK" >&5
15892 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
15893 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15894 echo $ac_n "(cached) $ac_c" 1>&6
15896 ac_save_LIBS
="$LIBS"
15897 LIBS
="-l$INET_LINK $LIBS"
15898 cat > conftest.
$ac_ext <<EOF
15899 #line 15900 "configure"
15900 #include "confdefs.h"
15901 /* Override any gcc2 internal prototype to avoid an error. */
15902 /* We use char because int might match the return type of a gcc2
15903 builtin and then its argument prototype would still apply. */
15910 if { (eval echo configure
:15911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15912 eval "ac_cv_lib_$ac_lib_var=yes"
15914 echo "configure: failed program was:" >&5
15915 cat conftest.
$ac_ext >&5
15917 eval "ac_cv_lib_$ac_lib_var=no"
15920 LIBS
="$ac_save_LIBS"
15923 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15924 echo "$ac_t""yes" 1>&6
15925 cat >> confdefs.h
<<\EOF
15926 #define HAVE_INET_ATON 1
15930 echo "$ac_t""no" 1>&6
15938 if test "x$INET_LINK" != "x"; then
15939 cat >> confdefs.h
<<\EOF
15940 #define HAVE_INET_ADDR 1
15943 INET_LINK
=" -l$INET_LINK"
15949 cat > confcache
<<\EOF
15950 # This file is a shell script that caches the results of configure
15951 # tests run on this system so they can be shared between configure
15952 # scripts and configure runs. It is not useful on other systems.
15953 # If it contains results you don't want to keep, you may remove or edit it.
15955 # By default, configure uses ./config.cache as the cache file,
15956 # creating it if it does not exist already. You can give configure
15957 # the --cache-file=FILE option to use a different cache file; that is
15958 # what configure does when it calls configure scripts in
15959 # subdirectories, so they share the cache.
15960 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15961 # config.status only pays attention to the cache file if you give it the
15962 # --recheck option to rerun configure.
15965 # The following way of writing the cache mishandles newlines in values,
15966 # but we know of no workaround that is simple, portable, and efficient.
15967 # So, don't put newlines in cache variables' values.
15968 # Ultrix sh set writes to stderr and can't be redirected directly,
15969 # and sets the high bit in the cache file unless we assign to the vars.
15971 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15973 # `set' does not quote correctly, so add quotes (double-quote substitution
15974 # turns \\\\ into \\, and sed turns \\ into \).
15976 -e "s/'/'\\\\''/g" \
15977 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15980 # `set' quotes correctly as required by POSIX, so do not add quotes.
15981 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15984 if cmp -s $cache_file confcache
; then
15987 if test -w $cache_file; then
15988 echo "updating cache $cache_file"
15989 cat confcache
> $cache_file
15991 echo "not updating unwritable cache $cache_file"
15998 if test "$TOOLKIT" != "MSW"; then
16004 CODE_GEN_FLAGS_CXX
=
16006 if test "$wxUSE_THREADS" = "yes" ; then
16007 if test "$wxUSE_WINE" = 1 ; then
16008 echo "configure: warning: Threads are not supported under WINE... disabled" 1>&2
16010 elif test "$USE_BEOS" = 1; then
16011 echo "configure: warning: BeOS threads are not yet supported... disabled" 1>&2
16016 if test "$wxUSE_THREADS" = "yes" ; then
16018 if test "$USE_AIX" = 1; then
16019 THREADS_LIB
=pthreads
16021 THREADS_LIB
=pthread
16024 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
16025 echo "configure:16026: checking for pthread_create in -l$THREADS_LIB" >&5
16026 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
16027 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16028 echo $ac_n "(cached) $ac_c" 1>&6
16030 ac_save_LIBS
="$LIBS"
16031 LIBS
="-l$THREADS_LIB $LIBS"
16032 cat > conftest.
$ac_ext <<EOF
16033 #line 16034 "configure"
16034 #include "confdefs.h"
16035 /* Override any gcc2 internal prototype to avoid an error. */
16036 /* We use char because int might match the return type of a gcc2
16037 builtin and then its argument prototype would still apply. */
16038 char pthread_create();
16044 if { (eval echo configure
:16045: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16046 eval "ac_cv_lib_$ac_lib_var=yes"
16048 echo "configure: failed program was:" >&5
16049 cat conftest.
$ac_ext >&5
16051 eval "ac_cv_lib_$ac_lib_var=no"
16054 LIBS
="$ac_save_LIBS"
16057 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16058 echo "$ac_t""yes" 1>&6
16060 THREADS_OBJ
="threadpsx.lo"
16061 THREADS_LINK
=$THREADS_LIB
16064 echo "$ac_t""no" 1>&6
16066 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
16067 echo "configure:16068: checking for pthread_create in -lc_r" >&5
16068 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
16069 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16070 echo $ac_n "(cached) $ac_c" 1>&6
16072 ac_save_LIBS
="$LIBS"
16074 cat > conftest.
$ac_ext <<EOF
16075 #line 16076 "configure"
16076 #include "confdefs.h"
16077 /* Override any gcc2 internal prototype to avoid an error. */
16078 /* We use char because int might match the return type of a gcc2
16079 builtin and then its argument prototype would still apply. */
16080 char pthread_create();
16086 if { (eval echo configure
:16087: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16088 eval "ac_cv_lib_$ac_lib_var=yes"
16090 echo "configure: failed program was:" >&5
16091 cat conftest.
$ac_ext >&5
16093 eval "ac_cv_lib_$ac_lib_var=no"
16096 LIBS
="$ac_save_LIBS"
16099 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16100 echo "$ac_t""yes" 1>&6
16102 THREADS_OBJ
="threadpsx.lo"
16106 echo "$ac_t""no" 1>&6
16108 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
16109 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
16110 echo "configure:16111: checking for sys/prctl.h" >&5
16111 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16112 echo $ac_n "(cached) $ac_c" 1>&6
16114 cat > conftest.
$ac_ext <<EOF
16115 #line 16116 "configure"
16116 #include "confdefs.h"
16117 #include <sys/prctl.h>
16119 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16120 { (eval echo configure
:16121: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16121 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16122 if test -z "$ac_err"; then
16124 eval "ac_cv_header_$ac_safe=yes"
16127 echo "configure: failed program was:" >&5
16128 cat conftest.
$ac_ext >&5
16130 eval "ac_cv_header_$ac_safe=no"
16134 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16135 echo "$ac_t""yes" 1>&6
16137 THREADS_OBJ
="threadsgi.lo"
16140 echo "$ac_t""no" 1>&6
16150 if test -z "$THREADS_OBJ" ; then
16152 echo "configure: warning: No thread support on this system... disabled" 1>&2
16156 if test "$wxUSE_THREADS" = "yes" ; then
16157 for ac_func
in thr_setconcurrency
16159 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16160 echo "configure:16161: checking for $ac_func" >&5
16161 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16162 echo $ac_n "(cached) $ac_c" 1>&6
16164 cat > conftest.
$ac_ext <<EOF
16165 #line 16166 "configure"
16166 #include "confdefs.h"
16167 /* System header to define __stub macros and hopefully few prototypes,
16168 which can conflict with char $ac_func(); below. */
16169 #include <assert.h>
16170 /* Override any gcc2 internal prototype to avoid an error. */
16171 /* We use char because int might match the return type of a gcc2
16172 builtin and then its argument prototype would still apply. */
16177 /* The GNU C library defines this for functions which it implements
16178 to always fail with ENOSYS. Some functions are actually named
16179 something starting with __ and the normal name is an alias. */
16180 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16188 if { (eval echo configure
:16189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16190 eval "ac_cv_func_$ac_func=yes"
16192 echo "configure: failed program was:" >&5
16193 cat conftest.
$ac_ext >&5
16195 eval "ac_cv_func_$ac_func=no"
16200 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16201 echo "$ac_t""yes" 1>&6
16202 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16203 cat >> confdefs.h
<<EOF
16204 #define $ac_tr_func 1
16208 echo "$ac_t""no" 1>&6
16214 for ac_hdr
in sched.h
16216 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16217 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16218 echo "configure:16219: checking for $ac_hdr" >&5
16219 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16220 echo $ac_n "(cached) $ac_c" 1>&6
16222 cat > conftest.
$ac_ext <<EOF
16223 #line 16224 "configure"
16224 #include "confdefs.h"
16227 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16228 { (eval echo configure
:16229: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16229 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16230 if test -z "$ac_err"; then
16232 eval "ac_cv_header_$ac_safe=yes"
16235 echo "configure: failed program was:" >&5
16236 cat conftest.
$ac_ext >&5
16238 eval "ac_cv_header_$ac_safe=no"
16242 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16243 echo "$ac_t""yes" 1>&6
16244 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16245 cat >> confdefs.h
<<EOF
16246 #define $ac_tr_hdr 1
16250 echo "$ac_t""no" 1>&6
16255 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
16256 echo "configure:16257: checking for sched_yield in -l$THREADS_LINK" >&5
16257 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
16258 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16259 echo $ac_n "(cached) $ac_c" 1>&6
16261 ac_save_LIBS
="$LIBS"
16262 LIBS
="-l$THREADS_LINK $LIBS"
16263 cat > conftest.
$ac_ext <<EOF
16264 #line 16265 "configure"
16265 #include "confdefs.h"
16266 /* Override any gcc2 internal prototype to avoid an error. */
16267 /* We use char because int might match the return type of a gcc2
16268 builtin and then its argument prototype would still apply. */
16269 char sched_yield();
16275 if { (eval echo configure
:16276: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16277 eval "ac_cv_lib_$ac_lib_var=yes"
16279 echo "configure: failed program was:" >&5
16280 cat conftest.
$ac_ext >&5
16282 eval "ac_cv_lib_$ac_lib_var=no"
16285 LIBS
="$ac_save_LIBS"
16288 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16289 echo "$ac_t""yes" 1>&6
16290 cat >> confdefs.h
<<\EOF
16291 #define HAVE_SCHED_YIELD 1
16295 echo "$ac_t""no" 1>&6
16296 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
16297 echo "configure:16298: checking for sched_yield in -lposix4" >&5
16298 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
16299 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16300 echo $ac_n "(cached) $ac_c" 1>&6
16302 ac_save_LIBS
="$LIBS"
16303 LIBS
="-lposix4 $LIBS"
16304 cat > conftest.
$ac_ext <<EOF
16305 #line 16306 "configure"
16306 #include "confdefs.h"
16307 /* Override any gcc2 internal prototype to avoid an error. */
16308 /* We use char because int might match the return type of a gcc2
16309 builtin and then its argument prototype would still apply. */
16310 char sched_yield();
16316 if { (eval echo configure
:16317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16318 eval "ac_cv_lib_$ac_lib_var=yes"
16320 echo "configure: failed program was:" >&5
16321 cat conftest.
$ac_ext >&5
16323 eval "ac_cv_lib_$ac_lib_var=no"
16326 LIBS
="$ac_save_LIBS"
16329 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16330 echo "$ac_t""yes" 1>&6
16331 cat >> confdefs.h
<<\EOF
16332 #define HAVE_SCHED_YIELD 1
16334 POSIX4_LINK
=" -lposix4"
16336 echo "$ac_t""no" 1>&6
16337 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
16346 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
16347 echo "configure:16348: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
16348 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
16349 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16350 echo $ac_n "(cached) $ac_c" 1>&6
16352 ac_save_LIBS
="$LIBS"
16353 LIBS
="-l$THREADS_LINK $LIBS"
16354 cat > conftest.
$ac_ext <<EOF
16355 #line 16356 "configure"
16356 #include "confdefs.h"
16357 /* Override any gcc2 internal prototype to avoid an error. */
16358 /* We use char because int might match the return type of a gcc2
16359 builtin and then its argument prototype would still apply. */
16360 char pthread_attr_getschedpolicy();
16363 pthread_attr_getschedpolicy()
16366 if { (eval echo configure
:16367: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16368 eval "ac_cv_lib_$ac_lib_var=yes"
16370 echo "configure: failed program was:" >&5
16371 cat conftest.
$ac_ext >&5
16373 eval "ac_cv_lib_$ac_lib_var=no"
16376 LIBS
="$ac_save_LIBS"
16379 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16380 echo "$ac_t""yes" 1>&6
16381 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
16382 echo "configure:16383: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
16383 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
16384 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16385 echo $ac_n "(cached) $ac_c" 1>&6
16387 ac_save_LIBS
="$LIBS"
16388 LIBS
="-l$THREADS_LINK $LIBS"
16389 cat > conftest.
$ac_ext <<EOF
16390 #line 16391 "configure"
16391 #include "confdefs.h"
16392 /* Override any gcc2 internal prototype to avoid an error. */
16393 /* We use char because int might match the return type of a gcc2
16394 builtin and then its argument prototype would still apply. */
16395 char pthread_attr_setschedparam();
16398 pthread_attr_setschedparam()
16401 if { (eval echo configure
:16402: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16403 eval "ac_cv_lib_$ac_lib_var=yes"
16405 echo "configure: failed program was:" >&5
16406 cat conftest.
$ac_ext >&5
16408 eval "ac_cv_lib_$ac_lib_var=no"
16411 LIBS
="$ac_save_LIBS"
16414 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16415 echo "$ac_t""yes" 1>&6
16416 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
16417 echo "configure:16418: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
16418 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16419 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16420 echo $ac_n "(cached) $ac_c" 1>&6
16422 ac_save_LIBS
="$LIBS"
16423 LIBS
="-l$THREADS_LINK $LIBS"
16424 cat > conftest.
$ac_ext <<EOF
16425 #line 16426 "configure"
16426 #include "confdefs.h"
16427 /* Override any gcc2 internal prototype to avoid an error. */
16428 /* We use char because int might match the return type of a gcc2
16429 builtin and then its argument prototype would still apply. */
16430 char sched_get_priority_max();
16433 sched_get_priority_max()
16436 if { (eval echo configure
:16437: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16438 eval "ac_cv_lib_$ac_lib_var=yes"
16440 echo "configure: failed program was:" >&5
16441 cat conftest.
$ac_ext >&5
16443 eval "ac_cv_lib_$ac_lib_var=no"
16446 LIBS
="$ac_save_LIBS"
16449 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16450 echo "$ac_t""yes" 1>&6
16453 echo "$ac_t""no" 1>&6
16454 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
16455 echo "configure:16456: checking for sched_get_priority_max in -lposix4" >&5
16456 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
16457 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16458 echo $ac_n "(cached) $ac_c" 1>&6
16460 ac_save_LIBS
="$LIBS"
16461 LIBS
="-lposix4 $LIBS"
16462 cat > conftest.
$ac_ext <<EOF
16463 #line 16464 "configure"
16464 #include "confdefs.h"
16465 /* Override any gcc2 internal prototype to avoid an error. */
16466 /* We use char because int might match the return type of a gcc2
16467 builtin and then its argument prototype would still apply. */
16468 char sched_get_priority_max();
16471 sched_get_priority_max()
16474 if { (eval echo configure
:16475: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16476 eval "ac_cv_lib_$ac_lib_var=yes"
16478 echo "configure: failed program was:" >&5
16479 cat conftest.
$ac_ext >&5
16481 eval "ac_cv_lib_$ac_lib_var=no"
16484 LIBS
="$ac_save_LIBS"
16487 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16488 echo "$ac_t""yes" 1>&6
16491 POSIX4_LINK
=" -lposix4"
16494 echo "$ac_t""no" 1>&6
16502 echo "$ac_t""no" 1>&6
16507 echo "$ac_t""no" 1>&6
16511 if test "$HAVE_PRIOR_FUNCS" = 1; then
16512 cat >> confdefs.h
<<\EOF
16513 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
16517 echo "configure: warning: Setting thread priority will not work" 1>&2
16520 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
16521 echo "configure:16522: checking for pthread_cancel in -l$THREADS_LINK" >&5
16522 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
16523 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16524 echo $ac_n "(cached) $ac_c" 1>&6
16526 ac_save_LIBS
="$LIBS"
16527 LIBS
="-l$THREADS_LINK $LIBS"
16528 cat > conftest.
$ac_ext <<EOF
16529 #line 16530 "configure"
16530 #include "confdefs.h"
16531 /* Override any gcc2 internal prototype to avoid an error. */
16532 /* We use char because int might match the return type of a gcc2
16533 builtin and then its argument prototype would still apply. */
16534 char pthread_cancel();
16540 if { (eval echo configure
:16541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16542 eval "ac_cv_lib_$ac_lib_var=yes"
16544 echo "configure: failed program was:" >&5
16545 cat conftest.
$ac_ext >&5
16547 eval "ac_cv_lib_$ac_lib_var=no"
16550 LIBS
="$ac_save_LIBS"
16553 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16554 echo "$ac_t""yes" 1>&6
16555 cat >> confdefs.h
<<\EOF
16556 #define HAVE_PTHREAD_CANCEL 1
16560 echo "$ac_t""no" 1>&6
16561 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
16565 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
16566 echo "configure:16567: checking for pthread_cleanup_push/pop" >&5
16567 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
16568 echo $ac_n "(cached) $ac_c" 1>&6
16571 cat > conftest.
$ac_ext <<EOF
16572 #line 16573 "configure"
16573 #include "confdefs.h"
16574 #include <pthread.h>
16577 pthread_cleanup_push(NULL, NULL);
16578 pthread_cleanup_pop(0);
16582 if { (eval echo configure
:16583: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16585 wx_cv_func_pthread_cleanup_push
=yes
16588 echo "configure: failed program was:" >&5
16589 cat conftest.
$ac_ext >&5
16592 wx_cv_func_pthread_cleanup_push
=no
16599 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
16601 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
16602 cat >> confdefs.h
<<\EOF
16603 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
16609 if test "x$wx_lib_glibc21" = "xyes"; then
16610 CPPFLAGS
="$CPPFLAGS -D_GNU_SOURCE"
16613 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
16614 echo "configure:16615: checking for pthread_mutexattr_t" >&5
16615 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
16616 echo $ac_n "(cached) $ac_c" 1>&6
16619 cat > conftest.
$ac_ext <<EOF
16620 #line 16621 "configure"
16621 #include "confdefs.h"
16622 #include <pthread.h>
16625 pthread_mutexattr_t attr;
16626 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
16630 if { (eval echo configure
:16631: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16633 wx_cv_type_pthread_mutexattr_t
=yes
16636 echo "configure: failed program was:" >&5
16637 cat conftest.
$ac_ext >&5
16640 wx_cv_type_pthread_mutexattr_t
=no
16648 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
16650 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
16651 cat >> confdefs.h
<<\EOF
16652 #define HAVE_PTHREAD_MUTEXATTR_T 1
16656 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
16657 echo "configure:16658: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
16658 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
16659 echo $ac_n "(cached) $ac_c" 1>&6
16662 cat > conftest.
$ac_ext <<EOF
16663 #line 16664 "configure"
16664 #include "confdefs.h"
16665 #include <pthread.h>
16668 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
16672 if { (eval echo configure
:16673: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
16675 wx_cv_type_pthread_rec_mutex_init
=yes
16678 echo "configure: failed program was:" >&5
16679 cat conftest.
$ac_ext >&5
16682 wx_cv_type_pthread_rec_mutex_init
=no
16690 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
16691 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
16692 cat >> confdefs.h
<<\EOF
16693 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
16697 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
16701 THREADS_LINK
=" -l$THREADS_LINK"
16703 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
16704 CPPFLAGS
="$CFLAGS -mt"
16705 CXXFLAGS
="$CXXFLAGS -mt"
16706 LDFLAGS
="$LDFLAGS -mt"
16712 if test "$wxUSE_THREADS" = "yes"; then
16713 cat >> confdefs.h
<<\EOF
16714 #define wxUSE_THREADS 1
16718 TOOLCHAIN_DEFS
="$TOOLCHAIN_DEFS $CPP_MT_FLAG"
16720 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
16722 if test "$ac_cv_func_strtok_r" = "yes"; then
16723 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
16724 echo "configure:16725: checking if -D_REENTRANT is needed" >&5
16725 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
16726 TOOLCHAIN_DEFS
="${TOOLCHAIN_DEFS} -D_REENTRANT"
16727 echo "$ac_t""yes" 1>&6
16729 echo "$ac_t""no" 1>&6
16734 if test "$WXGTK20" = 1 ; then
16735 cat >> confdefs.h
<<EOF
16736 #define __WXGTK20__ $WXGTK20
16742 if test "$WXGTK12" = 1 ; then
16743 cat >> confdefs.h
<<EOF
16744 #define __WXGTK12__ $WXGTK12
16749 if test "$WXGTK127" = 1 ; then
16750 cat >> confdefs.h
<<EOF
16751 #define __WXGTK127__ $WXGTK127
16758 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
16763 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
16764 wxUSE_DEBUG_INFO
=yes
16768 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
16769 cat >> confdefs.h
<<\EOF
16773 WXDEBUG_DEFINE
="-D__WXDEBUG__"
16775 if test "$wxUSE_GTK" = 1 ; then
16776 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
16780 if test "$wxUSE_MEM_TRACING" = "yes" ; then
16781 cat >> confdefs.h
<<\EOF
16782 #define wxUSE_MEMORY_TRACING 1
16785 cat >> confdefs.h
<<\EOF
16786 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
16789 cat >> confdefs.h
<<\EOF
16790 #define wxUSE_DEBUG_NEW_ALWAYS 1
16793 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
16796 if test "$wxUSE_DMALLOC" = "yes" ; then
16797 DMALLOC_LIBS
="-ldmalloc"
16801 if test "$wxUSE_PROFILE" = "yes" ; then
16805 if test "$GCC" = "yes" ; then
16806 if test "$wxUSE_NO_RTTI" = "yes" ; then
16807 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-rtti"
16809 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
16810 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fno-exceptions"
16812 if test "$wxUSE_PERMISSIVE" = "yes" ; then
16813 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
16815 if test "$USE_WIN32" = 1 ; then
16816 # I'm not even really sure what this was ever added to solve,
16817 # but someone added it for mingw native builds, so I guess
16818 # they had a reason, right??
16819 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-pcc-struct-return"
16824 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
16825 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
16826 if test "$wxUSE_OPTIMISE" = "no" ; then
16829 if test "$GCC" = yes ; then
16832 i586
-*-*|i686
-*-* )
16833 OPTIMISE
="${OPTIMISE} "
16841 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
16842 cat >> confdefs.h
<<\EOF
16843 #define WXWIN_COMPATIBILITY_2 1
16847 WXWIN_COMPATIBILITY_2_2
="yes"
16850 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
16851 cat >> confdefs.h
<<\EOF
16852 #define WXWIN_COMPATIBILITY_2_2 1
16858 if test "$wxUSE_GUI" = "yes"; then
16859 cat >> confdefs.h
<<\EOF
16860 #define wxUSE_GUI 1
16865 cat >> confdefs.h
<<\EOF
16866 #define wxUSE_NOGUI 1
16872 if test "$wxUSE_UNIX" = "yes"; then
16873 cat >> confdefs.h
<<\EOF
16874 #define wxUSE_UNIX 1
16880 if test "$wxUSE_APPLE_IEEE" = "yes"; then
16881 cat >> confdefs.h
<<\EOF
16882 #define wxUSE_APPLE_IEEE 1
16887 if test "$wxUSE_TIMER" = "yes"; then
16888 cat >> confdefs.h
<<\EOF
16889 #define wxUSE_TIMER 1
16894 if test "$wxUSE_WAVE" = "yes"; then
16895 cat >> confdefs.h
<<\EOF
16896 #define wxUSE_WAVE 1
16901 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
16902 cat >> confdefs.h
<<\EOF
16903 #define wxUSE_CMDLINE_PARSER 1
16908 if test "$wxUSE_STOPWATCH" = "yes"; then
16909 cat >> confdefs.h
<<\EOF
16910 #define wxUSE_STOPWATCH 1
16915 if test "$wxUSE_DATETIME" = "yes"; then
16916 cat >> confdefs.h
<<\EOF
16917 #define wxUSE_DATETIME 1
16922 if test "$wxUSE_TIMEDATE" = "yes"; then
16923 cat >> confdefs.h
<<\EOF
16924 #define wxUSE_TIMEDATE 1
16929 if test "$wxUSE_FILE" = "yes"; then
16930 cat >> confdefs.h
<<\EOF
16931 #define wxUSE_FILE 1
16936 if test "$wxUSE_FFILE" = "yes"; then
16937 cat >> confdefs.h
<<\EOF
16938 #define wxUSE_FFILE 1
16943 if test "$wxUSE_FILESYSTEM" = "yes"; then
16944 cat >> confdefs.h
<<\EOF
16945 #define wxUSE_FILESYSTEM 1
16950 if test "$wxUSE_FS_INET" = "yes"; then
16951 cat >> confdefs.h
<<\EOF
16952 #define wxUSE_FS_INET 1
16957 if test "$wxUSE_FS_ZIP" = "yes"; then
16958 cat >> confdefs.h
<<\EOF
16959 #define wxUSE_FS_ZIP 1
16964 if test "$wxUSE_ZIPSTREAM" = "yes"; then
16965 cat >> confdefs.h
<<\EOF
16966 #define wxUSE_ZIPSTREAM 1
16971 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
16972 cat >> confdefs.h
<<\EOF
16973 #define wxUSE_ON_FATAL_EXCEPTION 1
16978 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
16979 cat >> confdefs.h
<<\EOF
16980 #define wxUSE_SNGLINST_CHECKER 1
16985 if test "$wxUSE_BUSYINFO" = "yes"; then
16986 cat >> confdefs.h
<<\EOF
16987 #define wxUSE_BUSYINFO 1
16992 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
16993 cat >> confdefs.h
<<\EOF
16994 #define wxUSE_STD_IOSTREAM 1
16999 if test "$wxUSE_TEXTBUFFER" = "yes"; then
17000 cat >> confdefs.h
<<\EOF
17001 #define wxUSE_TEXTBUFFER 1
17006 if test "$wxUSE_TEXTFILE" = "yes"; then
17007 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
17008 echo "configure: warning: wxTextFile requires wxFile and wxTextBuffer... disabled" 1>&2
17010 cat >> confdefs.h
<<\EOF
17011 #define wxUSE_TEXTFILE 1
17017 if test "$wxUSE_CONFIG" = "yes" ; then
17018 if test "$wxUSE_TEXTFILE" != "yes"; then
17019 echo "configure: warning: wxConfig requires wxTextFile... disabled" 1>&2
17021 cat >> confdefs.h
<<\EOF
17022 #define wxUSE_CONFIG 1
17025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
17029 if test "$wxUSE_INTL" = "yes" ; then
17030 if test "$wxUSE_FILE" != "yes"; then
17031 echo "configure: warning: I18n code requires wxFile... disabled" 1>&2
17033 cat >> confdefs.h
<<\EOF
17034 #define wxUSE_INTL 1
17037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
17038 GUIDIST
="$GUIDIST INTL_DIST"
17042 if test "$wxUSE_LOG" = "yes"; then
17043 cat >> confdefs.h
<<\EOF
17044 #define wxUSE_LOG 1
17048 if test "$wxUSE_LOGGUI" = "yes"; then
17049 cat >> confdefs.h
<<\EOF
17050 #define wxUSE_LOGGUI 1
17055 if test "$wxUSE_LOGWINDOW" = "yes"; then
17056 cat >> confdefs.h
<<\EOF
17057 #define wxUSE_LOGWINDOW 1
17062 if test "$wxUSE_LOGDIALOG" = "yes"; then
17063 cat >> confdefs.h
<<\EOF
17064 #define wxUSE_LOG_DIALOG 1
17070 if test "$wxUSE_LONGLONG" = "yes"; then
17071 cat >> confdefs.h
<<\EOF
17072 #define wxUSE_LONGLONG 1
17077 if test "$wxUSE_GEOMETRY" = "yes"; then
17078 cat >> confdefs.h
<<\EOF
17079 #define wxUSE_GEOMETRY 1
17084 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
17085 cat >> confdefs.h
<<\EOF
17086 #define wxUSE_DIALUP_MANAGER 1
17089 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
17092 if test "$wxUSE_STREAMS" = "yes" ; then
17093 cat >> confdefs.h
<<\EOF
17094 #define wxUSE_STREAMS 1
17100 if test "$wxUSE_DATETIME" = "yes"; then
17101 for ac_func
in strptime
17103 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17104 echo "configure:17105: checking for $ac_func" >&5
17105 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17106 echo $ac_n "(cached) $ac_c" 1>&6
17108 cat > conftest.
$ac_ext <<EOF
17109 #line 17110 "configure"
17110 #include "confdefs.h"
17111 /* System header to define __stub macros and hopefully few prototypes,
17112 which can conflict with char $ac_func(); below. */
17113 #include <assert.h>
17114 /* Override any gcc2 internal prototype to avoid an error. */
17115 /* We use char because int might match the return type of a gcc2
17116 builtin and then its argument prototype would still apply. */
17121 /* The GNU C library defines this for functions which it implements
17122 to always fail with ENOSYS. Some functions are actually named
17123 something starting with __ and the normal name is an alias. */
17124 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17132 if { (eval echo configure
:17133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17134 eval "ac_cv_func_$ac_func=yes"
17136 echo "configure: failed program was:" >&5
17137 cat conftest.
$ac_ext >&5
17139 eval "ac_cv_func_$ac_func=no"
17144 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17145 echo "$ac_t""yes" 1>&6
17146 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17147 cat >> confdefs.h
<<EOF
17148 #define $ac_tr_func 1
17152 echo "$ac_t""no" 1>&6
17157 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
17158 echo "configure:17159: checking for timezone variable in <time.h>" >&5
17159 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
17160 echo $ac_n "(cached) $ac_c" 1>&6
17163 cat > conftest.
$ac_ext <<EOF
17164 #line 17165 "configure"
17165 #include "confdefs.h"
17176 if { (eval echo configure
:17177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17179 wx_cv_var_timezone
=timezone
17182 echo "configure: failed program was:" >&5
17183 cat conftest.
$ac_ext >&5
17186 cat > conftest.
$ac_ext <<EOF
17187 #line 17188 "configure"
17188 #include "confdefs.h"
17199 if { (eval echo configure
:17200: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17202 wx_cv_var_timezone
=_timezone
17205 echo "configure: failed program was:" >&5
17206 cat conftest.
$ac_ext >&5
17209 cat > conftest.
$ac_ext <<EOF
17210 #line 17211 "configure"
17211 #include "confdefs.h"
17222 if { (eval echo configure
:17223: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17225 wx_cv_var_timezone
=__timezone
17228 echo "configure: failed program was:" >&5
17229 cat conftest.
$ac_ext >&5
17232 if test "$USE_DOS" = 0 ; then
17233 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
17251 echo "$ac_t""$wx_cv_var_timezone" 1>&6
17253 if test "x$wx_cv_var_timezone" != x
; then
17254 cat >> confdefs.h
<<EOF
17255 #define WX_TIMEZONE $wx_cv_var_timezone
17260 for ac_func
in localtime
17262 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17263 echo "configure:17264: checking for $ac_func" >&5
17264 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17265 echo $ac_n "(cached) $ac_c" 1>&6
17267 cat > conftest.
$ac_ext <<EOF
17268 #line 17269 "configure"
17269 #include "confdefs.h"
17270 /* System header to define __stub macros and hopefully few prototypes,
17271 which can conflict with char $ac_func(); below. */
17272 #include <assert.h>
17273 /* Override any gcc2 internal prototype to avoid an error. */
17274 /* We use char because int might match the return type of a gcc2
17275 builtin and then its argument prototype would still apply. */
17280 /* The GNU C library defines this for functions which it implements
17281 to always fail with ENOSYS. Some functions are actually named
17282 something starting with __ and the normal name is an alias. */
17283 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17291 if { (eval echo configure
:17292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17293 eval "ac_cv_func_$ac_func=yes"
17295 echo "configure: failed program was:" >&5
17296 cat conftest.
$ac_ext >&5
17298 eval "ac_cv_func_$ac_func=no"
17303 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17304 echo "$ac_t""yes" 1>&6
17305 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17306 cat >> confdefs.h
<<EOF
17307 #define $ac_tr_func 1
17311 echo "$ac_t""no" 1>&6
17316 if test "$ac_cv_func_localtime" = "yes"; then
17317 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
17318 echo "configure:17319: checking for tm_gmtoff in struct tm" >&5
17319 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
17320 echo $ac_n "(cached) $ac_c" 1>&6
17323 cat > conftest.
$ac_ext <<EOF
17324 #line 17325 "configure"
17325 #include "confdefs.h"
17336 if { (eval echo configure
:17337: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17339 wx_cv_struct_tm_has_gmtoff
=yes
17342 echo "configure: failed program was:" >&5
17343 cat conftest.
$ac_ext >&5
17345 wx_cv_struct_tm_has_gmtoff
=no
17352 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
17355 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
17356 cat >> confdefs.h
<<\EOF
17357 #define WX_GMTOFF_IN_TM 1
17362 for ac_func
in gettimeofday ftime
17364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17365 echo "configure:17366: checking for $ac_func" >&5
17366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17367 echo $ac_n "(cached) $ac_c" 1>&6
17369 cat > conftest.
$ac_ext <<EOF
17370 #line 17371 "configure"
17371 #include "confdefs.h"
17372 /* System header to define __stub macros and hopefully few prototypes,
17373 which can conflict with char $ac_func(); below. */
17374 #include <assert.h>
17375 /* Override any gcc2 internal prototype to avoid an error. */
17376 /* We use char because int might match the return type of a gcc2
17377 builtin and then its argument prototype would still apply. */
17382 /* The GNU C library defines this for functions which it implements
17383 to always fail with ENOSYS. Some functions are actually named
17384 something starting with __ and the normal name is an alias. */
17385 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17393 if { (eval echo configure
:17394: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17395 eval "ac_cv_func_$ac_func=yes"
17397 echo "configure: failed program was:" >&5
17398 cat conftest.
$ac_ext >&5
17400 eval "ac_cv_func_$ac_func=no"
17405 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17406 echo "$ac_t""yes" 1>&6
17407 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17408 cat >> confdefs.h
<<EOF
17409 #define $ac_tr_func 1
17413 echo "$ac_t""no" 1>&6
17418 if test "$ac_cv_func_gettimeofday" = "yes"; then
17419 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
17420 echo "configure:17421: checking whether gettimeofday takes two arguments" >&5
17421 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
17422 echo $ac_n "(cached) $ac_c" 1>&6
17427 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17428 ac_cpp
='$CXXCPP $CPPFLAGS'
17429 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17430 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17431 cross_compiling
=$ac_cv_prog_cxx_cross
17434 cat > conftest.
$ac_ext <<EOF
17435 #line 17436 "configure"
17436 #include "confdefs.h"
17438 #include <sys/time.h>
17439 #include <unistd.h>
17444 gettimeofday(&tv, NULL);
17448 if { (eval echo configure
:17449: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17450 wx_cv_func_gettimeofday_has_2_args
=yes
17452 echo "configure: failed program was:" >&5
17453 cat conftest.
$ac_ext >&5
17455 cat > conftest.
$ac_ext <<EOF
17456 #line 17457 "configure"
17457 #include "confdefs.h"
17459 #include <sys/time.h>
17460 #include <unistd.h>
17469 if { (eval echo configure
:17470: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17471 wx_cv_func_gettimeofday_has_2_args
=no
17473 echo "configure: failed program was:" >&5
17474 cat conftest.
$ac_ext >&5
17477 echo "configure: warning: failed to determine number of gettimeofday() arguments" 1>&2
17478 wx_cv_func_gettimeofday_has_2_args
=unknown
17487 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17488 ac_cpp
='$CPP $CPPFLAGS'
17489 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17490 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17491 cross_compiling
=$ac_cv_prog_cc_cross
17496 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
17498 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
17499 cat >> confdefs.h
<<\EOF
17500 #define WX_GETTIMEOFDAY_NO_TZ 1
17506 cat >> confdefs.h
<<\EOF
17507 #define wxUSE_TIMEDATE 1
17510 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
17514 if test "$TOOLKIT" != "MSW"; then
17516 if test "$wxUSE_SOCKETS" = "yes"; then
17517 echo $ac_n "checking for socket""... $ac_c" 1>&6
17518 echo "configure:17519: checking for socket" >&5
17519 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
17520 echo $ac_n "(cached) $ac_c" 1>&6
17522 cat > conftest.
$ac_ext <<EOF
17523 #line 17524 "configure"
17524 #include "confdefs.h"
17525 /* System header to define __stub macros and hopefully few prototypes,
17526 which can conflict with char socket(); below. */
17527 #include <assert.h>
17528 /* Override any gcc2 internal prototype to avoid an error. */
17529 /* We use char because int might match the return type of a gcc2
17530 builtin and then its argument prototype would still apply. */
17535 /* The GNU C library defines this for functions which it implements
17536 to always fail with ENOSYS. Some functions are actually named
17537 something starting with __ and the normal name is an alias. */
17538 #if defined (__stub_socket) || defined (__stub___socket)
17546 if { (eval echo configure
:17547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17548 eval "ac_cv_func_socket=yes"
17550 echo "configure: failed program was:" >&5
17551 cat conftest.
$ac_ext >&5
17553 eval "ac_cv_func_socket=no"
17558 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
17559 echo "$ac_t""yes" 1>&6
17562 echo "$ac_t""no" 1>&6
17563 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
17564 echo "configure:17565: checking for socket in -lsocket" >&5
17565 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
17566 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17567 echo $ac_n "(cached) $ac_c" 1>&6
17569 ac_save_LIBS
="$LIBS"
17570 LIBS
="-lsocket $LIBS"
17571 cat > conftest.
$ac_ext <<EOF
17572 #line 17573 "configure"
17573 #include "confdefs.h"
17574 /* Override any gcc2 internal prototype to avoid an error. */
17575 /* We use char because int might match the return type of a gcc2
17576 builtin and then its argument prototype would still apply. */
17583 if { (eval echo configure
:17584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17585 eval "ac_cv_lib_$ac_lib_var=yes"
17587 echo "configure: failed program was:" >&5
17588 cat conftest.
$ac_ext >&5
17590 eval "ac_cv_lib_$ac_lib_var=no"
17593 LIBS
="$ac_save_LIBS"
17596 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17597 echo "$ac_t""yes" 1>&6
17598 INET_LINK
="$INET_LINK -lsocket"
17600 echo "$ac_t""no" 1>&6
17602 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
17614 if test "$wxUSE_SOCKETS" = "yes" ; then
17615 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
17616 echo "configure:17617: checking what is the type of the third argument of getsockname" >&5
17617 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
17618 echo $ac_n "(cached) $ac_c" 1>&6
17623 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17624 ac_cpp
='$CXXCPP $CPPFLAGS'
17625 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17626 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17627 cross_compiling
=$ac_cv_prog_cxx_cross
17630 cat > conftest.
$ac_ext <<EOF
17631 #line 17632 "configure"
17632 #include "confdefs.h"
17634 #include <sys/types.h>
17635 #include <sys/socket.h>
17640 getsockname(0, 0, &len);
17644 if { (eval echo configure
:17645: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17646 wx_cv_type_getsockname3
=socklen_t
17648 echo "configure: failed program was:" >&5
17649 cat conftest.
$ac_ext >&5
17651 cat > conftest.
$ac_ext <<EOF
17652 #line 17653 "configure"
17653 #include "confdefs.h"
17655 #include <sys/types.h>
17656 #include <sys/socket.h>
17661 getsockname(0, 0, &len);
17665 if { (eval echo configure
:17666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17667 wx_cv_type_getsockname3
=size_t
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/types.h>
17677 #include <sys/socket.h>
17682 getsockname(0, 0, &len);
17686 if { (eval echo configure
:17687: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
17688 wx_cv_type_getsockname3
=int
17690 echo "configure: failed program was:" >&5
17691 cat conftest.
$ac_ext >&5
17693 wx_cv_type_getsockname3
=unknown
17705 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
17706 ac_cpp
='$CPP $CPPFLAGS'
17707 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
17708 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
17709 cross_compiling
=$ac_cv_prog_cc_cross
17714 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
17716 if test "$wx_cv_type_getsockname3" = "unknown"; then
17718 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
17720 cat >> confdefs.h
<<EOF
17721 #define SOCKLEN_T $wx_cv_type_getsockname3
17728 if test "$wxUSE_SOCKETS" = "yes" ; then
17729 cat >> confdefs.h
<<\EOF
17730 #define wxUSE_SOCKETS 1
17733 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
17737 if test "$wxUSE_GUI" = "yes"; then
17739 if test "$TOOLKIT" = "MAC"; then
17740 echo "configure: warning: Joystick not yet supported under Mac OS X... disabled" 1>&2
17743 if test "$TOOLKIT" = "MOTIF"; then
17744 echo "configure: warning: Joystick not yet supported under Motif... disabled" 1>&2
17748 if test "$TOOLKIT" != "MSW"; then
17749 if test "$wxUSE_JOYSTICK" = "yes"; then
17750 for ac_hdr
in linux
/joystick.h
17752 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
17753 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
17754 echo "configure:17755: checking for $ac_hdr" >&5
17755 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
17756 echo $ac_n "(cached) $ac_c" 1>&6
17758 cat > conftest.
$ac_ext <<EOF
17759 #line 17760 "configure"
17760 #include "confdefs.h"
17763 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
17764 { (eval echo configure
:17765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
17765 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
17766 if test -z "$ac_err"; then
17768 eval "ac_cv_header_$ac_safe=yes"
17771 echo "configure: failed program was:" >&5
17772 cat conftest.
$ac_ext >&5
17774 eval "ac_cv_header_$ac_safe=no"
17778 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
17779 echo "$ac_t""yes" 1>&6
17780 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
17781 cat >> confdefs.h
<<EOF
17782 #define $ac_tr_hdr 1
17786 echo "$ac_t""no" 1>&6
17790 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
17792 echo "configure: warning: Joystick not supported by this system... disabled" 1>&2
17797 if test "$wxUSE_JOYSTICK" = "yes"; then
17798 cat >> confdefs.h
<<\EOF
17799 #define wxUSE_JOYSTICK 1
17802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
17807 if test "$TOOLKIT" != "MSW"; then
17811 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
17812 if test "$USE_DARWIN" = 1; then
17815 for ac_func
in dlopen
17817 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17818 echo "configure:17819: checking for $ac_func" >&5
17819 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17820 echo $ac_n "(cached) $ac_c" 1>&6
17822 cat > conftest.
$ac_ext <<EOF
17823 #line 17824 "configure"
17824 #include "confdefs.h"
17825 /* System header to define __stub macros and hopefully few prototypes,
17826 which can conflict with char $ac_func(); below. */
17827 #include <assert.h>
17828 /* Override any gcc2 internal prototype to avoid an error. */
17829 /* We use char because int might match the return type of a gcc2
17830 builtin and then its argument prototype would still apply. */
17835 /* The GNU C library defines this for functions which it implements
17836 to always fail with ENOSYS. Some functions are actually named
17837 something starting with __ and the normal name is an alias. */
17838 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17846 if { (eval echo configure
:17847: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17848 eval "ac_cv_func_$ac_func=yes"
17850 echo "configure: failed program was:" >&5
17851 cat conftest.
$ac_ext >&5
17853 eval "ac_cv_func_$ac_func=no"
17858 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17859 echo "$ac_t""yes" 1>&6
17860 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17861 cat >> confdefs.h
<<EOF
17862 #define $ac_tr_func 1
17865 cat >> confdefs.h
<<\EOF
17866 #define HAVE_DLOPEN 1
17872 echo "$ac_t""no" 1>&6
17873 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
17874 echo "configure:17875: checking for dlopen in -ldl" >&5
17875 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
17876 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17877 echo $ac_n "(cached) $ac_c" 1>&6
17879 ac_save_LIBS
="$LIBS"
17881 cat > conftest.
$ac_ext <<EOF
17882 #line 17883 "configure"
17883 #include "confdefs.h"
17884 /* Override any gcc2 internal prototype to avoid an error. */
17885 /* We use char because int might match the return type of a gcc2
17886 builtin and then its argument prototype would still apply. */
17893 if { (eval echo configure
:17894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17895 eval "ac_cv_lib_$ac_lib_var=yes"
17897 echo "configure: failed program was:" >&5
17898 cat conftest.
$ac_ext >&5
17900 eval "ac_cv_lib_$ac_lib_var=no"
17903 LIBS
="$ac_save_LIBS"
17906 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
17907 echo "$ac_t""yes" 1>&6
17909 cat >> confdefs.h
<<\EOF
17910 #define HAVE_DLOPEN 1
17914 DL_LINK
=" -ldl$DL_LINK"
17917 echo "$ac_t""no" 1>&6
17919 for ac_func
in shl_load
17921 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
17922 echo "configure:17923: checking for $ac_func" >&5
17923 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
17924 echo $ac_n "(cached) $ac_c" 1>&6
17926 cat > conftest.
$ac_ext <<EOF
17927 #line 17928 "configure"
17928 #include "confdefs.h"
17929 /* System header to define __stub macros and hopefully few prototypes,
17930 which can conflict with char $ac_func(); below. */
17931 #include <assert.h>
17932 /* Override any gcc2 internal prototype to avoid an error. */
17933 /* We use char because int might match the return type of a gcc2
17934 builtin and then its argument prototype would still apply. */
17939 /* The GNU C library defines this for functions which it implements
17940 to always fail with ENOSYS. Some functions are actually named
17941 something starting with __ and the normal name is an alias. */
17942 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
17950 if { (eval echo configure
:17951: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17952 eval "ac_cv_func_$ac_func=yes"
17954 echo "configure: failed program was:" >&5
17955 cat conftest.
$ac_ext >&5
17957 eval "ac_cv_func_$ac_func=no"
17962 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
17963 echo "$ac_t""yes" 1>&6
17964 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
17965 cat >> confdefs.h
<<EOF
17966 #define $ac_tr_func 1
17969 cat >> confdefs.h
<<\EOF
17970 #define HAVE_SHL_LOAD 1
17976 echo "$ac_t""no" 1>&6
17977 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
17978 echo "configure:17979: checking for dld in -lshl_load" >&5
17979 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
17980 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
17981 echo $ac_n "(cached) $ac_c" 1>&6
17983 ac_save_LIBS
="$LIBS"
17984 LIBS
="-lshl_load $LIBS"
17985 cat > conftest.
$ac_ext <<EOF
17986 #line 17987 "configure"
17987 #include "confdefs.h"
17988 /* Override any gcc2 internal prototype to avoid an error. */
17989 /* We use char because int might match the return type of a gcc2
17990 builtin and then its argument prototype would still apply. */
17997 if { (eval echo configure
:17998: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
17999 eval "ac_cv_lib_$ac_lib_var=yes"
18001 echo "configure: failed program was:" >&5
18002 cat conftest.
$ac_ext >&5
18004 eval "ac_cv_lib_$ac_lib_var=no"
18007 LIBS
="$ac_save_LIBS"
18010 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18011 echo "$ac_t""yes" 1>&6
18014 DL_LINK
=" -ldld$DL_LINK"
18017 echo "$ac_t""no" 1>&6
18032 if test "$HAVE_DL_FUNCS" = 1; then
18033 for ac_func
in dlerror
18035 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
18036 echo "configure:18037: checking for $ac_func" >&5
18037 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
18038 echo $ac_n "(cached) $ac_c" 1>&6
18040 cat > conftest.
$ac_ext <<EOF
18041 #line 18042 "configure"
18042 #include "confdefs.h"
18043 /* System header to define __stub macros and hopefully few prototypes,
18044 which can conflict with char $ac_func(); below. */
18045 #include <assert.h>
18046 /* Override any gcc2 internal prototype to avoid an error. */
18047 /* We use char because int might match the return type of a gcc2
18048 builtin and then its argument prototype would still apply. */
18053 /* The GNU C library defines this for functions which it implements
18054 to always fail with ENOSYS. Some functions are actually named
18055 something starting with __ and the normal name is an alias. */
18056 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
18064 if { (eval echo configure
:18065: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18066 eval "ac_cv_func_$ac_func=yes"
18068 echo "configure: failed program was:" >&5
18069 cat conftest.
$ac_ext >&5
18071 eval "ac_cv_func_$ac_func=no"
18076 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
18077 echo "$ac_t""yes" 1>&6
18078 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
18079 cat >> confdefs.h
<<EOF
18080 #define $ac_tr_func 1
18082 cat >> confdefs.h
<<\EOF
18083 #define HAVE_DLERROR 1
18087 echo "$ac_t""no" 1>&6
18088 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
18089 echo "configure:18090: checking for dlerror in -ldl" >&5
18090 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
18091 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18092 echo $ac_n "(cached) $ac_c" 1>&6
18094 ac_save_LIBS
="$LIBS"
18096 cat > conftest.
$ac_ext <<EOF
18097 #line 18098 "configure"
18098 #include "confdefs.h"
18099 /* Override any gcc2 internal prototype to avoid an error. */
18100 /* We use char because int might match the return type of a gcc2
18101 builtin and then its argument prototype would still apply. */
18108 if { (eval echo configure
:18109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18110 eval "ac_cv_lib_$ac_lib_var=yes"
18112 echo "configure: failed program was:" >&5
18113 cat conftest.
$ac_ext >&5
18115 eval "ac_cv_lib_$ac_lib_var=no"
18118 LIBS
="$ac_save_LIBS"
18121 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18122 echo "$ac_t""yes" 1>&6
18123 cat >> confdefs.h
<<\EOF
18124 #define HAVE_DLERROR 1
18128 echo "$ac_t""no" 1>&6
18137 if test "$HAVE_DL_FUNCS" = 0; then
18138 if test "$HAVE_SHL_FUNCS" = 0; then
18139 if test "$USE_UNIX" = 1; then
18140 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
18141 wxUSE_DYNAMIC_LOADER
=no
18142 wxUSE_DYNLIB_CLASS
=no
18144 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
18151 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
18152 cat >> confdefs.h
<<\EOF
18153 #define wxUSE_DYNAMIC_LOADER 1
18156 elif test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
18157 cat >> confdefs.h
<<\EOF
18158 #define wxUSE_DYNLIB_CLASS 1
18164 if test "$wxUSE_FONTMAP" = "yes" ; then
18165 cat >> confdefs.h
<<\EOF
18166 #define wxUSE_FONTMAP 1
18171 if test "$wxUSE_UNICODE" = "yes" ; then
18172 cat >> confdefs.h
<<\EOF
18173 #define wxUSE_UNICODE 1
18177 if test "$wxUSE_MSW" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
18178 echo $ac_n "checking for main in -lunicows""... $ac_c" 1>&6
18179 echo "configure:18180: checking for main in -lunicows" >&5
18180 ac_lib_var
=`echo unicows'_'main | sed 'y%./+-%__p_%'`
18181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
18182 echo $ac_n "(cached) $ac_c" 1>&6
18184 ac_save_LIBS
="$LIBS"
18185 LIBS
="-lunicows $LIBS"
18186 cat > conftest.
$ac_ext <<EOF
18187 #line 18188 "configure"
18188 #include "confdefs.h"
18194 if { (eval echo configure
:18195: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
18196 eval "ac_cv_lib_$ac_lib_var=yes"
18198 echo "configure: failed program was:" >&5
18199 cat conftest.
$ac_ext >&5
18201 eval "ac_cv_lib_$ac_lib_var=no"
18204 LIBS
="$ac_save_LIBS"
18207 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
18208 echo "$ac_t""yes" 1>&6
18210 cat >> confdefs.h
<<\EOF
18211 #define wxUSE_UNICODE_MSLU 1
18216 echo "$ac_t""no" 1>&6
18218 echo "configure: warning: Compiler doesn't support MSLU (libunicows.a), disabled.
18219 Applications will only run on Windows NT/2000/XP!" 1>&2
18220 wxUSE_UNICODE_MSLU
=no
18227 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
18228 cat >> confdefs.h
<<\EOF
18229 #define wxUSE_EXPERIMENTAL_PRINTF 1
18237 if test "$wxUSE_ODBC" = "yes" ; then
18238 cat >> confdefs.h
<<\EOF
18239 #define wxUSE_ODBC 1
18242 WXODBCFLAG
="-D_IODBC_"
18243 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
18247 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
18248 cat >> confdefs.h
<<\EOF
18249 #define wxUSE_POSTSCRIPT 1
18254 cat >> confdefs.h
<<\EOF
18255 #define wxUSE_AFM_FOR_POSTSCRIPT 1
18259 cat >> confdefs.h
<<\EOF
18260 #define wxUSE_NORMALIZED_PS_FONTS 1
18265 if test "$wxUSE_CONSTRAINTS" = "yes"; then
18266 cat >> confdefs.h
<<\EOF
18267 #define wxUSE_CONSTRAINTS 1
18270 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
18273 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18274 if test "$wxUSE_UNIVERSAL" = "yes"; then
18275 echo "configure: warning: MDI not yet supported for wxUNIVERSAL... disabled" 1>&2
18276 wxUSE_MDI_ARCHITECTURE
=no
18279 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18280 cat >> confdefs.h
<<\EOF
18281 #define wxUSE_MDI_ARCHITECTURE 1
18284 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
18288 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
18289 cat >> confdefs.h
<<\EOF
18290 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
18293 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
18294 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
18295 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
18299 if test "$wxUSE_HELP" = "yes"; then
18300 cat >> confdefs.h
<<\EOF
18301 #define wxUSE_HELP 1
18304 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
18306 if test "$wxUSE_MSW" = 1; then
18307 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
18308 ac_safe
=`echo "htmlhelp.h" | sed 'y%./+-%__p_%'`
18309 echo $ac_n "checking for htmlhelp.h""... $ac_c" 1>&6
18310 echo "configure:18311: checking for htmlhelp.h" >&5
18311 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18312 echo $ac_n "(cached) $ac_c" 1>&6
18314 cat > conftest.
$ac_ext <<EOF
18315 #line 18316 "configure"
18316 #include "confdefs.h"
18317 #include <htmlhelp.h>
18319 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18320 { (eval echo configure
:18321: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18321 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18322 if test -z "$ac_err"; then
18324 eval "ac_cv_header_$ac_safe=yes"
18327 echo "configure: failed program was:" >&5
18328 cat conftest.
$ac_ext >&5
18330 eval "ac_cv_header_$ac_safe=no"
18334 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18335 echo "$ac_t""yes" 1>&6
18337 cat >> confdefs.h
<<\EOF
18338 #define wxUSE_MS_HTML_HELP 1
18343 echo "$ac_t""no" 1>&6
18345 echo "configure: warning: MS HTML Help cannot be used without htmlhelp.h... disabled" 1>&2
18346 wxUSE_MS_HTML_HELP
=no
18353 if test "$wxUSE_WXHTML_HELP" = "yes"; then
18354 if test "$wxUSE_HTML" = "yes"; then
18355 cat >> confdefs.h
<<\EOF
18356 #define wxUSE_WXHTML_HELP 1
18360 echo "configure: warning: Cannot use wxHTML-based help without wxHTML so it won't be compiled" 1>&2
18361 wxUSE_WXHTML_HELP
=no
18366 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
18367 if test "$wxUSE_CONSTRAINTS" != "yes"; then
18368 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
18370 cat >> confdefs.h
<<\EOF
18371 #define wxUSE_PRINTING_ARCHITECTURE 1
18375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
18378 if test "$wxUSE_PROLOGIO" = "yes" ; then
18379 cat >> confdefs.h
<<\EOF
18380 #define wxUSE_PROLOGIO 1
18385 if test "$wxUSE_RESOURCES" = "yes" ; then
18386 cat >> confdefs.h
<<\EOF
18387 #define wxUSE_RESOURCES 1
18390 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
18393 if test "$wxUSE_X_RESOURCES" = "yes"; then
18394 cat >> confdefs.h
<<\EOF
18395 #define wxUSE_X_RESOURCES 1
18401 if test "$wxUSE_MSW" = 1 -a \
( "$wxUSE_DATAOBJ" = "yes" \
18402 -o "$wxUSE_CLIPBOARD" = "yes" \
18403 -o "$wxUSE_DRAG_AND_DROP" = "yes" \
) ; then
18404 for ac_hdr
in ole2.h
18406 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
18407 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
18408 echo "configure:18409: checking for $ac_hdr" >&5
18409 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
18410 echo $ac_n "(cached) $ac_c" 1>&6
18412 cat > conftest.
$ac_ext <<EOF
18413 #line 18414 "configure"
18414 #include "confdefs.h"
18417 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
18418 { (eval echo configure
:18419: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
18419 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
18420 if test -z "$ac_err"; then
18422 eval "ac_cv_header_$ac_safe=yes"
18425 echo "configure: failed program was:" >&5
18426 cat conftest.
$ac_ext >&5
18428 eval "ac_cv_header_$ac_safe=no"
18432 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
18433 echo "$ac_t""yes" 1>&6
18434 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
18435 cat >> confdefs.h
<<EOF
18436 #define $ac_tr_hdr 1
18440 echo "$ac_t""no" 1>&6
18445 if test "$ac_cv_header_ole2_h" = "yes" ; then
18446 if test "$GCC" = yes ; then
18447 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
18448 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
18449 LIBS
=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
18450 cat >> confdefs.h
<<\EOF
18451 #define wxUSE_OLE 1
18457 cat >> confdefs.h
<<\EOF
18458 #define wxUSE_DATAOBJ 1
18462 echo "configure: warning: Some features disabled because OLE headers not found" 1>&2
18465 wxUSE_DRAG_AND_DROP
=no
18469 if test "$wxUSE_METAFILE" = "yes"; then
18470 cat >> confdefs.h
<<\EOF
18471 #define wxUSE_METAFILE 1
18475 cat >> confdefs.h
<<\EOF
18476 #define wxUSE_ENH_METAFILE 1
18482 if test "$wxUSE_IPC" = "yes"; then
18483 if test "$wxUSE_SOCKETS" != "yes"; then
18484 echo "configure: warning: wxWindows IPC classes require sockets... disabled" 1>&2
18487 cat >> confdefs.h
<<\EOF
18488 #define wxUSE_IPC 1
18493 if test "$wxUSE_CLIPBOARD" = "yes"; then
18494 cat >> confdefs.h
<<\EOF
18495 #define wxUSE_CLIPBOARD 1
18499 cat >> confdefs.h
<<\EOF
18500 #define wxUSE_DATAOBJ 1
18505 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
18506 if test "$wxUSE_GTK" = 1; then
18507 if test "$WXGTK12" != 1; then
18508 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2... disabled" 1>&2
18509 wxUSE_DRAG_AND_DROP
=no
18513 if test "$wxUSE_MOTIF" = 1; then
18514 echo "configure: warning: Drag and drop not yet supported under Motif... disabled" 1>&2
18515 wxUSE_DRAG_AND_DROP
=no
18518 if test "$wxUSE_MAC" = 1; then
18519 echo "configure: warning: Drag and drop not yet supported under Mac OS X... disabled" 1>&2
18520 wxUSE_DRAG_AND_DROP
=no
18523 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
18524 cat >> confdefs.h
<<\EOF
18525 #define wxUSE_DRAG_AND_DROP 1
18528 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
18533 if test "$wxUSE_SPLINES" = "yes" ; then
18534 cat >> confdefs.h
<<\EOF
18535 #define wxUSE_SPLINES 1
18542 if test "$wxUSE_CONTROLS" = "yes"; then
18546 if test "$wxUSE_ACCEL" = "yes"; then
18547 cat >> confdefs.h
<<\EOF
18548 #define wxUSE_ACCEL 1
18554 if test "$wxUSE_BUTTON" = "yes"; then
18555 cat >> confdefs.h
<<\EOF
18556 #define wxUSE_BUTTON 1
18562 if test "$wxUSE_BMPBUTTON" = "yes"; then
18563 cat >> confdefs.h
<<\EOF
18564 #define wxUSE_BMPBUTTON 1
18570 if test "$wxUSE_CALCTRL" = "yes"; then
18571 cat >> confdefs.h
<<\EOF
18572 #define wxUSE_CALENDARCTRL 1
18576 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
18579 if test "$wxUSE_CARET" = "yes"; then
18580 cat >> confdefs.h
<<\EOF
18581 #define wxUSE_CARET 1
18585 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
18588 if test "$wxUSE_COMBOBOX" = "yes"; then
18589 cat >> confdefs.h
<<\EOF
18590 #define wxUSE_COMBOBOX 1
18596 if test "$wxUSE_CHOICE" = "yes"; then
18597 cat >> confdefs.h
<<\EOF
18598 #define wxUSE_CHOICE 1
18604 if test "$wxUSE_CHECKBOX" = "yes"; then
18605 cat >> confdefs.h
<<\EOF
18606 #define wxUSE_CHECKBOX 1
18612 if test "$wxUSE_CHECKLST" = "yes"; then
18613 cat >> confdefs.h
<<\EOF
18614 #define wxUSE_CHECKLISTBOX 1
18618 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
18621 if test "$wxUSE_GAUGE" = "yes"; then
18622 cat >> confdefs.h
<<\EOF
18623 #define wxUSE_GAUGE 1
18629 if test "$wxUSE_NEW_GRID" = "yes"; then
18631 cat >> confdefs.h
<<\EOF
18632 #define wxUSE_NEW_GRID 1
18636 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
18639 if test "$wxUSE_GRID" = "yes"; then
18640 cat >> confdefs.h
<<\EOF
18641 #define wxUSE_GRID 1
18645 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
18648 if test "$wxUSE_IMAGLIST" = "yes"; then
18649 cat >> confdefs.h
<<\EOF
18650 #define wxUSE_IMAGLIST 1
18655 if test "$wxUSE_LISTBOX" = "yes"; then
18656 cat >> confdefs.h
<<\EOF
18657 #define wxUSE_LISTBOX 1
18663 if test "$wxUSE_LISTCTRL" = "yes"; then
18664 if test "$wxUSE_IMAGLIST" = "yes"; then
18665 cat >> confdefs.h
<<\EOF
18666 #define wxUSE_LISTCTRL 1
18670 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
18672 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
18676 if test "$wxUSE_NOTEBOOK" = "yes"; then
18677 cat >> confdefs.h
<<\EOF
18678 #define wxUSE_NOTEBOOK 1
18682 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
18685 if test "$wxUSE_PROPSHEET" = "yes"; then
18686 cat >> confdefs.h
<<\EOF
18687 #define wxUSE_PROPSHEET 1
18691 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS proplist"
18694 if test "$wxUSE_RADIOBOX" = "yes"; then
18695 cat >> confdefs.h
<<\EOF
18696 #define wxUSE_RADIOBOX 1
18702 if test "$wxUSE_RADIOBTN" = "yes"; then
18703 cat >> confdefs.h
<<\EOF
18704 #define wxUSE_RADIOBTN 1
18710 if test "$wxUSE_SASH" = "yes"; then
18711 cat >> confdefs.h
<<\EOF
18712 #define wxUSE_SASH 1
18715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
18718 if test "$wxUSE_SCROLLBAR" = "yes"; then
18719 cat >> confdefs.h
<<\EOF
18720 #define wxUSE_SCROLLBAR 1
18724 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
18727 if test "$wxUSE_SLIDER" = "yes"; then
18728 cat >> confdefs.h
<<\EOF
18729 #define wxUSE_SLIDER 1
18735 if test "$wxUSE_SPINBTN" = "yes"; then
18736 cat >> confdefs.h
<<\EOF
18737 #define wxUSE_SPINBTN 1
18743 if test "$wxUSE_SPINCTRL" = "yes"; then
18744 cat >> confdefs.h
<<\EOF
18745 #define wxUSE_SPINCTRL 1
18751 if test "$wxUSE_SPLITTER" = "yes"; then
18752 cat >> confdefs.h
<<\EOF
18753 #define wxUSE_SPLITTER 1
18756 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
18759 if test "$wxUSE_STATBMP" = "yes"; then
18760 cat >> confdefs.h
<<\EOF
18761 #define wxUSE_STATBMP 1
18767 if test "$wxUSE_STATBOX" = "yes"; then
18768 cat >> confdefs.h
<<\EOF
18769 #define wxUSE_STATBOX 1
18775 if test "$wxUSE_STATTEXT" = "yes"; then
18776 cat >> confdefs.h
<<\EOF
18777 #define wxUSE_STATTEXT 1
18783 if test "$wxUSE_STATLINE" = "yes"; then
18784 if test "$wxUSE_WINE" = 1 ; then
18785 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
18787 cat >> confdefs.h
<<\EOF
18788 #define wxUSE_STATLINE 1
18795 if test "$wxUSE_STATUSBAR" = "yes"; then
18796 cat >> confdefs.h
<<\EOF
18797 #define wxUSE_STATUSBAR 1
18802 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
18805 if test "$wxUSE_TABDIALOG" = "yes"; then
18806 cat >> confdefs.h
<<\EOF
18807 #define wxUSE_TAB_DIALOG 1
18810 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
18813 if test "$wxUSE_TEXTCTRL" = "yes"; then
18814 cat >> confdefs.h
<<\EOF
18815 #define wxUSE_TEXTCTRL 1
18819 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
18822 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18823 if test "$wxUSE_MAC" = 1; then
18824 echo "configure: warning: Toggle button not yet supported under Mac OS X... disabled" 1>&2
18827 if test "$wxUSE_UNIVERSAL" = "yes"; then
18828 echo "configure: warning: Toggle button not yet supported under wxUNIVERSAL... disabled" 1>&2
18832 if test "$wxUSE_TOGGLEBTN" = "yes"; then
18833 cat >> confdefs.h
<<\EOF
18834 #define wxUSE_TOGGLEBTN 1
18841 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
18842 cat >> confdefs.h
<<\EOF
18843 #define wxUSE_TOOLBAR_SIMPLE 1
18846 wxUSE_TOOLBAR
="yes"
18850 if test "$wxUSE_TOOLBAR" = "yes"; then
18851 cat >> confdefs.h
<<\EOF
18852 #define wxUSE_TOOLBAR 1
18857 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
18858 wxUSE_TOOLBAR_NATIVE
="yes"
18861 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
18862 cat >> confdefs.h
<<\EOF
18863 #define wxUSE_TOOLBAR_NATIVE 1
18869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
18872 if test "$wxUSE_TOOLTIPS" = "yes"; then
18873 if test "$wxUSE_MOTIF" = 1; then
18874 echo "configure: warning: wxTooltip not supported yet under Motif... disabled" 1>&2
18876 if test "$wxUSE_WINE" = 1; then
18877 echo "configure: warning: wxTooltip not supported under WINE... disabled" 1>&2
18879 if test "$wxUSE_UNIVERSAL" = "yes"; then
18880 echo "configure: warning: wxTooltip not supported yet in wxUNIVERSAL... disabled" 1>&2
18882 cat >> confdefs.h
<<\EOF
18883 #define wxUSE_TOOLTIPS 1
18891 if test "$wxUSE_TREECTRL" = "yes"; then
18892 if test "$wxUSE_IMAGLIST" = "yes"; then
18893 cat >> confdefs.h
<<\EOF
18894 #define wxUSE_TREECTRL 1
18898 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
18900 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
18904 if test "$wxUSE_POPUPWIN" = "yes"; then
18905 if test "$wxUSE_MAC" = 1; then
18906 echo "configure: warning: Popup window not yet supported under Mac OS X... disabled" 1>&2
18908 if test "$wxUSE_MOTIF" = 1; then
18909 echo "configure: warning: wxPopupWindow not yet supported under Motif... disabled" 1>&2
18911 cat >> confdefs.h
<<\EOF
18912 #define wxUSE_POPUPWIN 1
18921 if test "$wxUSE_TIPWINDOW" = "yes"; then
18922 cat >> confdefs.h
<<\EOF
18923 #define wxUSE_TIPWINDOW 1
18928 if test "$USES_CONTROLS" = 1; then
18929 cat >> confdefs.h
<<\EOF
18930 #define wxUSE_CONTROLS 1
18936 if test "$wxUSE_TREELAYOUT" = "yes"; then
18937 cat >> confdefs.h
<<\EOF
18938 #define wxUSE_TREELAYOUT 1
18941 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treelay"
18944 if test "$wxUSE_DRAGIMAGE" = "yes"; then
18945 cat >> confdefs.h
<<\EOF
18946 #define wxUSE_DRAGIMAGE 1
18949 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dragimag"
18952 if test "$wxUSE_MENUS" = "yes"; then
18953 cat >> confdefs.h
<<\EOF
18954 #define wxUSE_MENUS 1
18957 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
18960 if test "$wxUSE_METAFILE" = "yes"; then
18961 cat >> confdefs.h
<<\EOF
18962 #define wxUSE_METAFILE 1
18967 if test "$wxUSE_MIMETYPE" = "yes"; then
18968 cat >> confdefs.h
<<\EOF
18969 #define wxUSE_MIMETYPE 1
18974 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
18975 cat >> confdefs.h
<<\EOF
18976 #define wxUSE_SYSTEM_OPTIONS 1
18981 if test "$wxUSE_MINIFRAME" = "yes"; then
18982 cat >> confdefs.h
<<\EOF
18983 #define wxUSE_MINIFRAME 1
18986 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
18989 if test "$wxUSE_HTML" = "yes"; then
18990 cat >> confdefs.h
<<\EOF
18991 #define wxUSE_HTML 1
18994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
18997 if test "$wxUSE_VALIDATORS" = "yes"; then
18998 cat >> confdefs.h
<<\EOF
18999 #define wxUSE_VALIDATORS 1
19002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
19005 if test "$wxUSE_PALETTE" = "yes" ; then
19006 cat >> confdefs.h
<<\EOF
19007 #define wxUSE_PALETTE 1
19012 if test "$wxUSE_IMAGE" = "yes" ; then
19013 cat >> confdefs.h
<<\EOF
19014 #define wxUSE_IMAGE 1
19019 if test "$wxUSE_GIF" = "yes" ; then
19020 cat >> confdefs.h
<<\EOF
19021 #define wxUSE_GIF 1
19026 if test "$wxUSE_PCX" = "yes" ; then
19027 cat >> confdefs.h
<<\EOF
19028 #define wxUSE_PCX 1
19033 if test "$wxUSE_PNM" = "yes" ; then
19034 cat >> confdefs.h
<<\EOF
19035 #define wxUSE_PNM 1
19040 if test "$wxUSE_XPM" = "yes" ; then
19041 cat >> confdefs.h
<<\EOF
19042 #define wxUSE_XPM 1
19047 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
19048 LIBS
=" -lunicows $LIBS"
19052 if test "$wxUSE_CHOICEDLG" = "yes"; then
19053 cat >> confdefs.h
<<\EOF
19054 #define wxUSE_CHOICEDLG 1
19059 if test "$wxUSE_COLOURDLG" = "yes"; then
19060 cat >> confdefs.h
<<\EOF
19061 #define wxUSE_COLOURDLG 1
19066 if test "$wxUSE_FILEDLG" = "yes"; then
19067 cat >> confdefs.h
<<\EOF
19068 #define wxUSE_FILEDLG 1
19073 if test "$wxUSE_FINDREPLDLG" = "yes"; then
19074 cat >> confdefs.h
<<\EOF
19075 #define wxUSE_FINDREPLDLG 1
19080 if test "$wxUSE_FONTDLG" = "yes"; then
19081 cat >> confdefs.h
<<\EOF
19082 #define wxUSE_FONTDLG 1
19087 if test "$wxUSE_DIRDLG" = "yes"; then
19088 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19089 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
19091 if test "$wxUSE_TREECTRL" != "yes"; then
19092 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
19094 cat >> confdefs.h
<<\EOF
19095 #define wxUSE_DIRDLG 1
19102 if test "$wxUSE_MSGDLG" = "yes"; then
19103 cat >> confdefs.h
<<\EOF
19104 #define wxUSE_MSGDLG 1
19109 if test "$wxUSE_NUMBERDLG" = "yes"; then
19110 cat >> confdefs.h
<<\EOF
19111 #define wxUSE_NUMBERDLG 1
19116 if test "$wxUSE_PROGRESSDLG" = "yes"; then
19117 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19118 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
19120 cat >> confdefs.h
<<\EOF
19121 #define wxUSE_PROGRESSDLG 1
19127 if test "$wxUSE_SPLASH" = "yes"; then
19128 cat >> confdefs.h
<<\EOF
19129 #define wxUSE_SPLASH 1
19134 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
19135 if test "$wxUSE_CONSTRAINTS" != "yes"; then
19136 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
19138 cat >> confdefs.h
<<\EOF
19139 #define wxUSE_STARTUP_TIPS 1
19145 if test "$wxUSE_TEXTDLG" = "yes"; then
19146 cat >> confdefs.h
<<\EOF
19147 #define wxUSE_TEXTDLG 1
19152 if test "$wxUSE_WIZARDDLG" = "yes"; then
19153 cat >> confdefs.h
<<\EOF
19154 #define wxUSE_WIZARDDLG 1
19157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wizard"
19161 if test "$cross_compiling" = "yes"; then
19164 OSINFO
=`uname -s -r -m`
19165 OSINFO
="\"$OSINFO\""
19168 cat >> confdefs.h
<<EOF
19169 #define WXWIN_OS_DESCRIPTION $OSINFO
19174 if test "x$prefix" != "xNONE"; then
19177 wxPREFIX
=$ac_default_prefix
19180 cat >> confdefs.h
<<EOF
19181 #define wxINSTALL_PREFIX "$wxPREFIX"
19188 if test "$wxUSE_MAC" = 1 ; then
19189 LDFLAGS
="$LDFLAGS -framework Carbon -framework System"
19193 LIBS
="$ZLIB_LINK$POSIX4_LINK$INET_LINK$WCHAR_LINK$THREADS_LINK$DL_LINK -lm$LIBS"
19195 if test "$wxUSE_GUI" = "yes"; then
19197 LIBS
=" $GUI_TK_LIBRARY$PNG_LINK$JPEG_LINK$TIFF_LINK$FREETYPE_LINK$LIBS"
19200 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs \
19201 drawing dynamic erase event exec font image \
19202 minimal richedit rotate widgets"
19204 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
19206 SAMPLES_SUBDIRS
="console"
19210 INCLUDES
="-I\${top_builddir}/lib/wx/include/${TOOLCHAIN_NAME} -I\${top_srcdir}/include \
19211 $REGEX_INCLUDE $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE \
19212 $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
19214 if test "$wxUSE_GTK" = 1; then
19217 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
19220 if test "$GXX" = yes ; then
19221 CXXWARNINGS
="-Wall"
19223 if test "$wxUSE_NO_DEPS" = "no" ; then
19224 CFLAGS
="-MMD $CFLAGS"
19225 CXXFLAGS
="-MMD $CXXFLAGS"
19229 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
19231 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
19232 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
19234 LDFLAGS
="$LDFLAGS$PROFILE"
19236 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
19322 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
19323 echo "configure:19324: checking whether ${MAKE-make} sets \${MAKE}" >&5
19324 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
19325 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
19326 echo $ac_n "(cached) $ac_c" 1>&6
19328 cat > conftestmake
<<\EOF
19330 @
echo 'ac_maketemp="${MAKE}"'
19332 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
19333 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
19334 if test -n "$ac_maketemp"; then
19335 eval ac_cv_prog_make_
${ac_make}_set
=yes
19337 eval ac_cv_prog_make_
${ac_make}_set
=no
19341 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
19342 echo "$ac_t""yes" 1>&6
19345 echo "$ac_t""no" 1>&6
19346 SET_MAKE
="MAKE=${MAKE-make}"
19350 if test -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h
; then
19351 mv -f lib
/wx
/include
/${TOOLCHAIN_NAME}/wx
/setup.h setup.h
19356 if test "$wxUSE_GUI" = "yes"; then
19357 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
19358 wx_cv_path_ifs
=$PATH_IFS
19359 wx_cv_program_ext
=$PROGRAM_EXT
19360 wx_cv_target_library
=$WX_TARGET_LIBRARY
19361 wx_cv_target_library_gl
=$WX_TARGET_LIBRARY_GL
19362 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
19363 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
19364 wx_cv_target_library wx_cv_target_library_gl wx_cv_target_libtype
19365 subdirs
="demos samples utils contrib"
19370 cat > confcache
<<\EOF
19371 # This file is a shell script that caches the results of configure
19372 # tests run on this system so they can be shared between configure
19373 # scripts and configure runs. It is not useful on other systems.
19374 # If it contains results you don't want to keep, you may remove or edit it.
19376 # By default, configure uses ./config.cache as the cache file,
19377 # creating it if it does not exist already. You can give configure
19378 # the --cache-file=FILE option to use a different cache file; that is
19379 # what configure does when it calls configure scripts in
19380 # subdirectories, so they share the cache.
19381 # Giving --cache-file=/dev/null disables caching, for debugging configure.
19382 # config.status only pays attention to the cache file if you give it the
19383 # --recheck option to rerun configure.
19386 # The following way of writing the cache mishandles newlines in values,
19387 # but we know of no workaround that is simple, portable, and efficient.
19388 # So, don't put newlines in cache variables' values.
19389 # Ultrix sh set writes to stderr and can't be redirected directly,
19390 # and sets the high bit in the cache file unless we assign to the vars.
19392 case `(ac_space=' '; set | grep ac_space) 2>&1` in
19394 # `set' does not quote correctly, so add quotes (double-quote substitution
19395 # turns \\\\ into \\, and sed turns \\ into \).
19397 -e "s/'/'\\\\''/g" \
19398 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
19401 # `set' quotes correctly as required by POSIX, so do not add quotes.
19402 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
19405 if cmp -s $cache_file confcache
; then
19408 if test -w $cache_file; then
19409 echo "updating cache $cache_file"
19410 cat confcache
> $cache_file
19412 echo "not updating unwritable cache $cache_file"
19417 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
19419 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
19420 # Let make expand exec_prefix.
19421 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
19423 # Any assignment to VPATH causes Sun make to only execute
19424 # the first set of double-colon rules, so remove it if not needed.
19425 # If there is a colon in the path, we need to keep it.
19426 if test "x$srcdir" = x.
; then
19427 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
19430 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
19432 DEFS
=-DHAVE_CONFIG_H
19434 # Without the "./", some shells look in PATH for config.status.
19435 : ${CONFIG_STATUS=./config.status}
19437 echo creating
$CONFIG_STATUS
19438 rm -f $CONFIG_STATUS
19439 cat > $CONFIG_STATUS <<EOF
19441 # Generated automatically by configure.
19442 # Run this file to recreate the current configuration.
19443 # This directory was configured as follows,
19444 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19446 # $0 $ac_configure_args
19448 # Compiler output produced by configure, useful for debugging
19449 # configure, is in ./config.log if it exists.
19451 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
19454 case "\$ac_option" in
19455 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19456 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
19457 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
19458 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
19459 echo "$CONFIG_STATUS generated by autoconf version 2.13"
19461 -help | --help | --hel | --he | --h)
19462 echo "\$ac_cs_usage"; exit 0 ;;
19463 *) echo "\$ac_cs_usage"; exit 1 ;;
19467 ac_given_srcdir=$srcdir
19468 ac_given_INSTALL="$INSTALL"
19470 trap 'rm -fr `echo "
19476 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
19478 cat >> $CONFIG_STATUS <<EOF
19480 # Protect against being on the right side of a sed subst in config.status.
19481 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
19482 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
19486 s%@CFLAGS@%$CFLAGS%g
19487 s%@CPPFLAGS@%$CPPFLAGS%g
19488 s%@CXXFLAGS@%$CXXFLAGS%g
19489 s%@FFLAGS@%$FFLAGS%g
19491 s%@LDFLAGS@%$LDFLAGS%g
19493 s%@exec_prefix@%$exec_prefix%g
19494 s%@prefix@%$prefix%g
19495 s%@program_transform_name@%$program_transform_name%g
19496 s%@bindir@%$bindir%g
19497 s%@sbindir@%$sbindir%g
19498 s%@libexecdir@%$libexecdir%g
19499 s%@datadir@%$datadir%g
19500 s%@sysconfdir@%$sysconfdir%g
19501 s%@sharedstatedir@%$sharedstatedir%g
19502 s%@localstatedir@%$localstatedir%g
19503 s%@libdir@%$libdir%g
19504 s%@includedir@%$includedir%g
19505 s%@oldincludedir@%$oldincludedir%g
19506 s%@infodir@%$infodir%g
19507 s%@mandir@%$mandir%g
19509 s%@host_alias@%$host_alias%g
19510 s%@host_cpu@%$host_cpu%g
19511 s%@host_vendor@%$host_vendor%g
19512 s%@host_os@%$host_os%g
19513 s%@target@%$target%g
19514 s%@target_alias@%$target_alias%g
19515 s%@target_cpu@%$target_cpu%g
19516 s%@target_vendor@%$target_vendor%g
19517 s%@target_os@%$target_os%g
19519 s%@build_alias@%$build_alias%g
19520 s%@build_cpu@%$build_cpu%g
19521 s%@build_vendor@%$build_vendor%g
19522 s%@build_os@%$build_os%g
19526 s%@RANLIB@%$RANLIB%g
19528 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
19529 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
19530 s%@INSTALL_DATA@%$INSTALL_DATA%g
19534 s%@LEXLIB@%$LEXLIB%g
19536 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
19537 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
19538 s%@GTK_LIBS@%$GTK_LIBS%g
19539 s%@GTK_CONFIG@%$GTK_CONFIG%g
19540 s%@X_CFLAGS@%$X_CFLAGS%g
19541 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
19542 s%@X_LIBS@%$X_LIBS%g
19543 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
19544 s%@RESCOMP@%$RESCOMP%g
19546 s%@CXXCPP@%$CXXCPP%g
19547 s%@LEX_STEM@%$LEX_STEM%g
19548 s%@PATH_IFS@%$PATH_IFS%g
19549 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
19550 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
19551 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
19552 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
19553 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
19554 s%@WX_LIBRARY_IMPORTLIB@%$WX_LIBRARY_IMPORTLIB%g
19555 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
19556 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
19557 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
19558 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
19559 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
19560 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
19561 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
19562 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
19563 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
19564 s%@WX_ALL@%$WX_ALL%g
19565 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
19566 s%@SHARED_LD@%$SHARED_LD%g
19567 s%@PIC_FLAG@%$PIC_FLAG%g
19568 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
19569 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
19570 s%@SONAME_FLAGS@%$SONAME_FLAGS%g
19571 s%@SONAME_FLAGS_GL@%$SONAME_FLAGS_GL%g
19572 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
19573 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
19574 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
19575 s%@USE_GUI@%$USE_GUI%g
19576 s%@AFMINSTALL@%$AFMINSTALL%g
19577 s%@TOOLKIT@%$TOOLKIT%g
19578 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
19579 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
19580 s%@TOOLCHAIN_NAME@%$TOOLCHAIN_NAME%g
19581 s%@TOOLCHAIN_DEFS@%$TOOLCHAIN_DEFS%g
19582 s%@TOOLCHAIN_DLL_DEFS@%$TOOLCHAIN_DLL_DEFS%g
19583 s%@cross_compiling@%$cross_compiling%g
19584 s%@WXCONFIG_LIBS@%$WXCONFIG_LIBS%g
19585 s%@WXCONFIG_LIBS_GL@%$WXCONFIG_LIBS_GL%g
19586 s%@WXCONFIG_LIBS_STATIC@%$WXCONFIG_LIBS_STATIC%g
19587 s%@WXCONFIG_LIBS_STATIC_GL@%$WXCONFIG_LIBS_STATIC_GL%g
19588 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
19589 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
19590 s%@GUIDIST@%$GUIDIST%g
19591 s%@PORT_FILES@%$PORT_FILES%g
19592 s%@DISTDIR@%$DISTDIR%g
19593 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
19594 s%@LDFLAGS_GL@%$LDFLAGS_GL%g
19595 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
19596 s%@DMALLOC_LIBS@%$DMALLOC_LIBS%g
19597 s%@EXTRADEFS@%$EXTRADEFS%g
19598 s%@RESFLAGS@%$RESFLAGS%g
19599 s%@RESPROGRAMOBJ@%$RESPROGRAMOBJ%g
19600 s%@WX_RESOURCES_MACOSX@%$WX_RESOURCES_MACOSX%g
19601 s%@WX_RESOURCES_MACOSX_COMPILED@%$WX_RESOURCES_MACOSX_COMPILED%g
19602 s%@LIBWXMACRES@%$LIBWXMACRES%g
19603 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
19604 s%@LIBWXMACRESWXCONFIG@%$LIBWXMACRESWXCONFIG%g
19605 s%@DLLTOOL@%$DLLTOOL%g
19609 s%@MAKEINFO@%$MAKEINFO%g
19610 s%@INSTALL_LIBRARY@%$INSTALL_LIBRARY%g
19611 s%@SET_MAKE@%$SET_MAKE%g
19612 s%@subdirs@%$subdirs%g
19617 cat >> $CONFIG_STATUS <<\EOF
19619 # Split the substitutions into bite-sized pieces for seds with
19620 # small command number limits, like on Digital OSF/1 and HP-UX.
19621 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
19622 ac_file
=1 # Number of current file.
19623 ac_beg
=1 # First line for current file.
19624 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
19627 while $ac_more_lines; do
19628 if test $ac_beg -gt 1; then
19629 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
19631 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
19633 if test ! -s conftest.s
$ac_file; then
19634 ac_more_lines
=false
19635 rm -f conftest.s
$ac_file
19637 if test -z "$ac_sed_cmds"; then
19638 ac_sed_cmds
="sed -f conftest.s$ac_file"
19640 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
19642 ac_file
=`expr $ac_file + 1`
19644 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
19647 if test -z "$ac_sed_cmds"; then
19652 cat >> $CONFIG_STATUS <<EOF
19654 CONFIG_FILES=\${CONFIG_FILES-"wx-config
19661 cat >> $CONFIG_STATUS <<\EOF
19662 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
19663 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19665 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19666 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19667 *) ac_file_in
="${ac_file}.in" ;;
19670 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
19672 # Remove last slash and all that follows it. Not all systems have dirname.
19673 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19674 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
19675 # The file is in a subdirectory.
19676 test ! -d "$ac_dir" && mkdir "$ac_dir"
19677 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
19678 # A "../" for each directory in $ac_dir_suffix.
19679 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
19681 ac_dir_suffix
= ac_dots
=
19684 case "$ac_given_srcdir" in
19686 if test -z "$ac_dots"; then top_srcdir
=.
19687 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
19688 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
19689 *) # Relative path.
19690 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
19691 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
19694 case "$ac_given_INSTALL" in
19695 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
19696 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
19699 echo creating
"$ac_file"
19701 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
19703 *Makefile
*) ac_comsub
="1i\\
19704 # $configure_input" ;;
19708 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19710 s%@configure_input@%$configure_input%g
19711 s%@srcdir@%$srcdir%g
19712 s%@top_srcdir@%$top_srcdir%g
19713 s%@INSTALL@%$INSTALL%g
19714 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
19718 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
19719 # NAME is the cpp macro being defined and VALUE is the value it is being given.
19721 # ac_d sets the value in "#define NAME VALUE" lines.
19722 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
19723 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
19726 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
19727 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19728 ac_uB
='\([ ]\)%\1#\2define\3'
19731 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
19732 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
19733 ac_eB
='$%\1#\2define\3'
19737 if test "${CONFIG_HEADERS+set}" != set; then
19739 cat >> $CONFIG_STATUS <<EOF
19740 CONFIG_HEADERS="setup.h:setup.h.in"
19742 cat >> $CONFIG_STATUS <<\EOF
19744 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
19745 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
19747 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
19748 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
19749 *) ac_file_in
="${ac_file}.in" ;;
19752 echo creating
$ac_file
19754 rm -f conftest.frag conftest.
in conftest.out
19755 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
19756 cat $ac_file_inputs > conftest.
in
19760 # Transform confdefs.h into a sed script conftest.vals that substitutes
19761 # the proper values into config.h.in to produce config.h. And first:
19762 # Protect against being on the right side of a sed subst in config.status.
19763 # Protect against being in an unquoted here document in config.status.
19764 rm -f conftest.vals
19765 cat > conftest.hdr
<<\EOF
19768 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
19772 sed -n -f conftest.hdr confdefs.h > conftest.vals
19775 # This sed command replaces #undef with comments. This is necessary, for
19776 # example, in the case of _POSIX_SOURCE, which is predefined and required
19777 # on some systems where configure will not decide to define it.
19778 cat >> conftest.vals <<\EOF
19779 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
19782 # Break up conftest.vals because some shells have a limit on
19783 # the size of here documents, and old seds have small limits too.
19785 rm -f conftest.tail
19788 ac_lines=`grep -c . conftest.vals
`
19789 # grep -c gives empty output for an empty file on some AIX systems.
19790 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
19791 # Write a limited-size here document to conftest.frag.
19792 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
19793 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
19795 sed -f conftest.frag conftest.in > conftest.out
19797 mv conftest.out conftest.in
19798 ' >> $CONFIG_STATUS
19799 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
19800 rm -f conftest.vals
19801 mv conftest.tail conftest.vals
19803 rm -f conftest.vals
19805 cat >> $CONFIG_STATUS <<\EOF
19806 rm -f conftest.frag conftest.h
19807 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
19808 cat conftest.in >> conftest.h
19810 if cmp -s $ac_file conftest.h 2>/dev/null; then
19811 echo "$ac_file is unchanged"
19814 # Remove last slash and all that follows it. Not all systems have dirname.
19815 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
19816 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
19817 # The file is in a subdirectory.
19818 test ! -d "$ac_dir" && mkdir "$ac_dir"
19821 mv conftest.h $ac_file
19826 cat >> $CONFIG_STATUS <<EOF
19828 TOOLCHAIN_NAME="${TOOLCHAIN_NAME}"
19833 cat >> $CONFIG_STATUS <<\EOF
19835 if test ! -h wx-config; then
19837 mv wx-config wx${TOOLCHAIN_NAME}-config
19838 ${LN_S} wx${TOOLCHAIN_NAME}-config wx-config
19841 if test ! -d lib; then
19844 if test ! -d lib/wx; then
19847 if test ! -d lib/wx/include; then
19848 mkdir lib/wx/include
19850 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}; then
19851 mkdir lib/wx/include/${TOOLCHAIN_NAME}
19853 if test ! -d lib/wx/include/${TOOLCHAIN_NAME}/wx; then
19854 mkdir lib/wx/include/${TOOLCHAIN_NAME}/wx
19856 if test -f setup.h; then
19857 mv -f setup.h lib/wx/include/${TOOLCHAIN_NAME}/wx/setup.h
19862 chmod +x $CONFIG_STATUS
19863 rm -fr confdefs* $ac_clean_files
19864 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
19866 if test "$no_recursion" != yes; then
19868 # Remove --cache-file and --srcdir arguments so they do not pile up.
19869 ac_sub_configure_args=
19871 for ac_arg in $ac_configure_args; do
19872 if test -n "$ac_prev"; then
19877 -cache-file | --cache-file | --cache-fil | --cache-fi \
19878 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
19879 ac_prev=cache_file ;;
19880 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
19881 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
19883 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
19885 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
19887 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
19891 for ac_config_dir in demos samples utils contrib; do
19893 # Do not complain, so a configure script can configure whichever
19894 # parts of a large source tree are present.
19895 if test ! -d $srcdir/$ac_config_dir; then
19899 echo configuring in $ac_config_dir
19904 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
19906 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
19914 # A "../" for each directory in /$ac_config_dir.
19915 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
19918 .) # No --srcdir option. We are building in place.
19919 ac_sub_srcdir=$srcdir ;;
19920 /*) # Absolute path.
19921 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
19922 *) # Relative path.
19923 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
19926 # Check for guested configure; otherwise get Cygnus style configure.
19927 if test -f $ac_sub_srcdir/configure; then
19928 ac_sub_configure=$ac_sub_srcdir/configure
19929 elif test -f $ac_sub_srcdir/configure.in; then
19930 ac_sub_configure=$ac_configure
19932 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
19936 # The recursion is here.
19937 if test -n "$ac_sub_configure"; then
19939 # Make the cache file name correct relative to the subdirectory.
19940 case "$cache_file" in
19941 /*) ac_sub_cache_file=$cache_file ;;
19942 *) # Relative path.
19943 ac_sub_cache_file="$ac_dots$cache_file" ;;
19945 case "$ac_given_INSTALL" in
19946 [/$]*) INSTALL="$ac_given_INSTALL" ;;
19947 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
19950 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
19951 # The eval makes quoting arguments work.
19952 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
19955 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }