3 # From configure.in Id: configure.in
39 # Configure paths for GTK+
47 # Guess values for system-dependent variables and create Makefiles.
48 # Generated automatically using autoconf version 2.13
49 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
51 # This configure script is free software; the Free Software Foundation
52 # gives unlimited permission to copy, distribute and modify it.
56 ac_default_prefix
=/usr
/local
57 # Any additions from configure.in:
59 --enable-gui use GUI classes"
61 --enable-universal use wxWindows GUI controls instead of native ones"
65 --with-motif use Motif/Lesstif"
67 --with-mac use Mac OS X"
71 --with-cygwin use Cygwin for MS-Windows"
73 --with-mingw use GCC Minimal MS-Windows"
75 --with-pm use OS/2 Presentation Manager"
79 --enable-gtk2 use GTK+ 2.0 if available (EXPERIMENTAL)"
81 --with-libpng use libpng (PNG image format)"
83 --with-libjpeg use libjpeg (JPEG file format)"
85 --with-libtiff use libtiff (TIFF file format)"
87 --with-freetype use freetype (font rasterizer)"
89 --with-opengl use OpenGL (or Mesa)"
91 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
93 --with-zlib use zlib for LZW compression"
95 --with-odbc use the IODBC and wxODBC classes"
97 --enable-shared create shared library code"
99 --enable-burnt_name create set name in shared library "
101 --enable-optimise create optimised code"
103 --enable-debug same as debug_flag and debug_info"
105 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
107 --enable-debug_info create code with debugging information"
109 --enable-debug_gdb create code with extra GDB debugging information"
111 --enable-debug_cntxt use wxDebugContext"
113 --enable-mem_tracing create code with memory tracing"
115 --enable-profile create code with profiling information"
117 --enable-no_rtti create code without RTTI information"
119 --enable-no_exceptions create code without exceptions information"
121 --enable-permissive compile code disregarding strict ANSI"
123 --enable-no_deps create code without dependency information"
125 --enable-compat20 enable wxWin 2.0 compatibility"
127 --enable-compat22 enable wxWin 2.2 compatibility"
129 --enable-intl use internationalization system"
131 --enable-config use wxConfig (and derived) classes"
133 --enable-sockets use socket/network classes"
135 --enable-ipc use interprocess communication (wxSocket etc.)"
137 --enable-cmdline use wxCmdLineParser class"
139 --enable-datetime use wxDateTime class"
141 --enable-timedate use obsolete wxDate/wxTime classes"
143 --enable-stopwatch use wxStopWatch class"
145 --enable-dialupman use dialup network classes"
147 --enable-apple_ieee use the Apple IEEE codec"
149 --enable-timer use wxTimer class"
151 --enable-wave use wxWave class"
153 --enable-fraction use wxFraction class"
155 --enable-dynlib use wxLibrary class for DLL loading"
157 --enable-longlong use wxLongLong class"
159 --enable-geometry use geometry class"
161 --enable-log use logging system"
163 --enable-streams use wxStream etc classes"
165 --enable-file use wxFile classes"
167 --enable-ffile use wxFFile classes"
169 --enable-textfile use wxTextFile classes"
171 --enable-fontmap use font encodings conversion classes"
173 --enable-unicode compile wxString with Unicode support"
175 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
177 --enable-wxprintfv use wxWindows implementation of vprintf()"
179 --enable-std_iostreams use standard C++ stream classes"
181 --enable-filesystem use virtual file systems classes"
183 --enable-fs_inet use virtual HTTP/FTP filesystems"
185 --enable-fs_zip use virtual ZIP filesystems"
187 --enable-zipstream use wxZipInputStream"
189 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
191 --enable-snglinst use wxSingleInstanceChecker class"
193 --enable-mimetypes use wxMimeTypesManager"
195 --enable-threads use threads"
197 --enable-serial use class serialization"
199 --enable-docview use document view architecture"
201 --enable-help use help (using external browser at present)"
203 --enable-constraints use layout-constraints system"
205 --enable-printarch use printing architecture"
207 --enable-mdi use multiple document interface architecture"
209 --enable-loggui use standard GUI logger"
211 --enable-logwin use wxLogWindow"
213 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
215 --enable-prologio use Prolog IO library"
217 --enable-resources use wxWindows resources"
219 --enable-xresources use X resources for save (default for gtk+)"
221 --enable-clipboard use wxClipboard classes"
223 --enable-dnd use Drag'n'Drop classes"
225 --enable-metafile use win32 metafiles"
227 --enable-wxtree make wxTree library"
229 --enable-controls use all usual controls"
231 --enable-accel use accelerators"
233 --enable-button use wxButton class"
235 --enable-bmpbutton use wxBitmapButton class"
237 --enable-calendar use wxCalendarCtrl class"
239 --enable-caret use wxCaret class"
241 --enable-checkbox use wxCheckBox class"
243 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
245 --enable-choice use wxChoice class"
247 --enable-combobox use wxComboBox classes"
249 --enable-gauge use wxGauge class"
251 --enable-grid use wxGrid class"
253 --enable-newgrid use new wxGrid class"
255 --enable-imaglist use wxImageList class"
257 --enable-listbox use wxListBox class"
259 --enable-listctrl use wxListCtrl class"
261 --enable-notebook use wxNotebook class"
263 --enable-radiobox use wxRadioBox class"
265 --enable-radiobtn use wxRadioButton class"
267 --enable-sash use wxSashWindow class"
269 --enable-scrollbar use wxScrollBar class and scrollable windows"
271 --enable-slider use wxSlider class"
273 --enable-spinbtn use wxSpinButton class"
275 --enable-spinctrl use wxSpinCtrl class"
277 --enable-splitter use wxSplitterWindow class"
279 --enable-statbmp use wxStaticBitmap class"
281 --enable-statbox use wxStaticBox class"
283 --enable-statline use wxStaticLine class"
285 --enable-stattext use wxStaticText class"
287 --enable-statusbar use wxStatusBar class"
289 --enable-tabdialog use wxTabControl class"
291 --enable-textctrl use wxTextCtrl class"
293 --enable-togglebtn use wxToggleButton class"
295 --enable-toolbar use wxToolBar class"
297 --enable-tbarnative use native wxToolBar class"
299 --enable-tbarsmpl use wxToolBarSimple class"
301 --enable-treectrl use wxTreeCtrl class"
303 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
305 --enable-choicedlg use wxChoiceDialog"
307 --enable-coldlg use wxColourDialog"
309 --enable-filedlg use wxFileDialog"
311 --enable-fontdlg use wxFontDialog"
313 --enable-dirdlg use wxDirDialog"
315 --enable-msgdlg use wxMessageDialog"
317 --enable-numberdlg use wxNumberEntryDialog"
319 --enable-textdlg use wxTextDialog"
321 --enable-tipdlg use startup tips"
323 --enable-progressdlg use wxProgressDialog"
325 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes"
327 --enable-miniframe use wxMiniFrame class"
329 --enable-html use wxHTML sub-library"
331 --enable-tooltips use wxToolTip class"
333 --enable-splines use spline drawing code"
335 --enable-validators use wxValidator and derived classes"
337 --enable-busyinfo use wxBusyInfo"
339 --enable-joystick compile in joystick support (Linux only)"
341 --enable-metafiles use wxMetaFile (Windows only)"
343 --enable-image use wxImage class"
345 --enable-gif use gif images (GIF file format)"
347 --enable-pcx use pcx images (PCX file format)"
349 --enable-pnm use pnm images (PNM file format)"
351 --enable-xpm use xpm images (XPM file format)"
353 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
355 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
357 --disable-gtktest Do not try to compile and run a test GTK program"
359 --with-x use the X Window System"
361 # Initialize some variables set by options.
362 # The variables have the same names as the options, with
363 # dashes changed to underlines.
365 cache_file
=.
/config.cache
374 program_transform_name
=s
,x
,x
,
382 bindir
='${exec_prefix}/bin'
383 sbindir
='${exec_prefix}/sbin'
384 libexecdir
='${exec_prefix}/libexec'
385 datadir
='${prefix}/share'
386 sysconfdir
='${prefix}/etc'
387 sharedstatedir
='${prefix}/com'
388 localstatedir
='${prefix}/var'
389 libdir
='${exec_prefix}/lib'
390 includedir
='${prefix}/include'
391 oldincludedir
='/usr/include'
392 infodir
='${prefix}/info'
393 mandir
='${prefix}/man'
395 # Initialize some other variables.
398 SHELL
=${CONFIG_SHELL-/bin/sh}
399 # Maximum number of lines to put in a shell here document.
406 # If the previous option needs an argument, assign it.
407 if test -n "$ac_prev"; then
408 eval "$ac_prev=\$ac_option"
414 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
418 # Accept the important Cygnus configure options, so we can diagnose typos.
422 -bindir | --bindir | --bindi | --bind | --bin | --bi)
424 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
425 bindir
="$ac_optarg" ;;
427 -build | --build | --buil | --bui | --bu)
429 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
430 build
="$ac_optarg" ;;
432 -cache-file | --cache-file | --cache-fil | --cache-fi \
433 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
434 ac_prev
=cache_file
;;
435 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
436 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
437 cache_file
="$ac_optarg" ;;
439 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
441 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
443 datadir
="$ac_optarg" ;;
445 -disable-* | --disable-*)
446 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
447 # Reject names that are not valid shell variable names.
448 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
449 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
451 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
452 eval "enable_${ac_feature}=no" ;;
454 -enable-* | --enable-*)
455 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
456 # Reject names that are not valid shell variable names.
457 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
458 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
460 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
465 eval "enable_${ac_feature}='$ac_optarg'" ;;
467 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
468 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
469 | --exec | --exe | --ex)
470 ac_prev
=exec_prefix
;;
471 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
472 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
473 | --exec=* | --exe=* | --ex=*)
474 exec_prefix
="$ac_optarg" ;;
476 -gas | --gas | --ga | --g)
477 # Obsolete; use --with-gas.
480 -help | --help | --hel | --he)
481 # Omit some internal or obsolete options to make the list less imposing.
482 # This message is too long to be a string in the A/UX 3.1 sh.
484 Usage: configure [options] [host]
485 Options: [defaults in brackets after descriptions]
487 --cache-file=FILE cache test results in FILE
488 --help print this message
489 --no-create do not create output files
490 --quiet, --silent do not print \`checking...' messages
491 --version print the version of autoconf that created configure
492 Directory and file names:
493 --prefix=PREFIX install architecture-independent files in PREFIX
495 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
497 --bindir=DIR user executables in DIR [EPREFIX/bin]
498 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
499 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
500 --datadir=DIR read-only architecture-independent data in DIR
502 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
503 --sharedstatedir=DIR modifiable architecture-independent data in DIR
505 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
506 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
507 --includedir=DIR C header files in DIR [PREFIX/include]
508 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
509 --infodir=DIR info documentation in DIR [PREFIX/info]
510 --mandir=DIR man documentation in DIR [PREFIX/man]
511 --srcdir=DIR find the sources in DIR [configure dir or ..]
512 --program-prefix=PREFIX prepend PREFIX to installed program names
513 --program-suffix=SUFFIX append SUFFIX to installed program names
514 --program-transform-name=PROGRAM
515 run sed PROGRAM on installed program names
519 --build=BUILD configure for building on BUILD [BUILD=HOST]
520 --host=HOST configure for HOST [guessed]
521 --target=TARGET configure for TARGET [TARGET=HOST]
522 Features and packages:
523 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
524 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
525 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
526 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
527 --x-includes=DIR X include files are in DIR
528 --x-libraries=DIR X library files are in DIR
530 if test -n "$ac_help"; then
531 echo "--enable and --with options recognized:$ac_help"
535 -host | --host | --hos | --ho)
537 -host=* | --host=* | --hos=* | --ho=*)
540 -includedir | --includedir | --includedi | --included | --include \
541 | --includ | --inclu | --incl | --inc)
542 ac_prev
=includedir
;;
543 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
544 | --includ=* | --inclu=* | --incl=* | --inc=*)
545 includedir
="$ac_optarg" ;;
547 -infodir | --infodir | --infodi | --infod | --info | --inf)
549 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
550 infodir
="$ac_optarg" ;;
552 -libdir | --libdir | --libdi | --libd)
554 -libdir=* | --libdir=* | --libdi=* | --libd=*)
555 libdir
="$ac_optarg" ;;
557 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
558 | --libexe | --libex | --libe)
559 ac_prev
=libexecdir
;;
560 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
561 | --libexe=* | --libex=* | --libe=*)
562 libexecdir
="$ac_optarg" ;;
564 -localstatedir | --localstatedir | --localstatedi | --localstated \
565 | --localstate | --localstat | --localsta | --localst \
566 | --locals | --local | --loca | --loc | --lo)
567 ac_prev
=localstatedir
;;
568 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
569 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
570 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
571 localstatedir
="$ac_optarg" ;;
573 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
575 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
576 mandir
="$ac_optarg" ;;
579 # Obsolete; use --without-fp.
582 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
586 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
587 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
590 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
591 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
592 | --oldin | --oldi | --old | --ol | --o)
593 ac_prev
=oldincludedir
;;
594 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
595 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
596 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
597 oldincludedir
="$ac_optarg" ;;
599 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
601 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
602 prefix
="$ac_optarg" ;;
604 -program-prefix | --program-prefix | --program-prefi | --program-pref \
605 | --program-pre | --program-pr | --program-p)
606 ac_prev
=program_prefix
;;
607 -program-prefix=* | --program-prefix=* | --program-prefi=* \
608 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
609 program_prefix
="$ac_optarg" ;;
611 -program-suffix | --program-suffix | --program-suffi | --program-suff \
612 | --program-suf | --program-su | --program-s)
613 ac_prev
=program_suffix
;;
614 -program-suffix=* | --program-suffix=* | --program-suffi=* \
615 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
616 program_suffix
="$ac_optarg" ;;
618 -program-transform-name | --program-transform-name \
619 | --program-transform-nam | --program-transform-na \
620 | --program-transform-n | --program-transform- \
621 | --program-transform | --program-transfor \
622 | --program-transfo | --program-transf \
623 | --program-trans | --program-tran \
624 | --progr-tra | --program-tr | --program-t)
625 ac_prev
=program_transform_name
;;
626 -program-transform-name=* | --program-transform-name=* \
627 | --program-transform-nam=* | --program-transform-na=* \
628 | --program-transform-n=* | --program-transform-=* \
629 | --program-transform=* | --program-transfor=* \
630 | --program-transfo=* | --program-transf=* \
631 | --program-trans=* | --program-tran=* \
632 | --progr-tra=* | --program-tr=* | --program-t=*)
633 program_transform_name
="$ac_optarg" ;;
635 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
636 | -silent | --silent | --silen | --sile | --sil)
639 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
641 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
643 sbindir
="$ac_optarg" ;;
645 -sharedstatedir | --sharedstatedir | --sharedstatedi \
646 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
647 | --sharedst | --shareds | --shared | --share | --shar \
649 ac_prev
=sharedstatedir
;;
650 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
651 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
652 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
654 sharedstatedir
="$ac_optarg" ;;
656 -site | --site | --sit)
658 -site=* | --site=* | --sit=*)
661 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
663 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
664 srcdir
="$ac_optarg" ;;
666 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
667 | --syscon | --sysco | --sysc | --sys | --sy)
668 ac_prev
=sysconfdir
;;
669 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
670 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
671 sysconfdir
="$ac_optarg" ;;
673 -target | --target | --targe | --targ | --tar | --ta | --t)
675 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
676 target
="$ac_optarg" ;;
678 -v | -verbose | --verbose | --verbos | --verbo | --verb)
681 -version | --version | --versio | --versi | --vers)
682 echo "configure generated by autoconf version 2.13"
686 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
687 # Reject names that are not valid shell variable names.
688 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
689 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
691 ac_package
=`echo $ac_package| sed 's/-/_/g'`
696 eval "with_${ac_package}='$ac_optarg'" ;;
698 -without-* | --without-*)
699 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
700 # Reject names that are not valid shell variable names.
701 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
702 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
704 ac_package
=`echo $ac_package| sed 's/-/_/g'`
705 eval "with_${ac_package}=no" ;;
708 # Obsolete; use --with-x.
711 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
712 | --x-incl | --x-inc | --x-in | --x-i)
713 ac_prev
=x_includes
;;
714 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
715 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
716 x_includes
="$ac_optarg" ;;
718 -x-libraries | --x-libraries | --x-librarie | --x-librari \
719 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
720 ac_prev
=x_libraries
;;
721 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
722 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
723 x_libraries
="$ac_optarg" ;;
725 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
729 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
730 echo "configure: warning: $ac_option: invalid host type" 1>&2
732 if test "x$nonopt" != xNONE
; then
733 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
741 if test -n "$ac_prev"; then
742 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
745 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
747 # File descriptor usage:
750 # 2 errors and warnings
751 # 3 some systems may open it to /dev/tty
752 # 4 used on the Kubota Titan
753 # 6 checking for... messages and results
754 # 5 compiler messages saved in config.log
755 if test "$silent" = yes; then
763 This file contains any messages produced by compilers while
764 running configure, to aid debugging if configure makes a mistake.
767 # Strip out --no-create and --no-recursion so they do not pile up.
768 # Also quote any args containing shell metacharacters.
773 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
774 | --no-cr | --no-c) ;;
775 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
776 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
777 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
778 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
779 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
784 # Only set these to C if already set. These must not be set unconditionally
785 # because not all systems understand e.g. LANG=C (notably SCO).
786 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
787 # Non-C LC_CTYPE values break the ctype check.
788 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
789 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
790 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
791 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
793 # confdefs.h avoids OS command line length limits that DEFS can exceed.
794 rm -rf conftest
* confdefs.h
795 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
798 # A filename unique to this package, relative to the directory that
799 # configure is in, which we can look for to find out if srcdir is correct.
800 ac_unique_file
=wx
-config.
in
802 # Find the source files, if location was not specified.
803 if test -z "$srcdir"; then
804 ac_srcdir_defaulted
=yes
805 # Try the directory containing this script, then its parent.
807 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
808 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
810 if test ! -r $srcdir/$ac_unique_file; then
814 ac_srcdir_defaulted
=no
816 if test ! -r $srcdir/$ac_unique_file; then
817 if test "$ac_srcdir_defaulted" = yes; then
818 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
820 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
823 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
825 # Prefer explicitly selected file to automatically selected ones.
826 if test -z "$CONFIG_SITE"; then
827 if test "x$prefix" != xNONE
; then
828 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
830 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
833 for ac_site_file
in $CONFIG_SITE; do
834 if test -r "$ac_site_file"; then
835 echo "loading site script $ac_site_file"
840 if test -r "$cache_file"; then
841 echo "loading cache $cache_file"
844 echo "creating cache $cache_file"
849 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
850 ac_cpp
='$CPP $CPPFLAGS'
851 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
852 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
853 cross_compiling
=$ac_cv_prog_cc_cross
857 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
858 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
859 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
866 ac_n
= ac_c
='\c' ac_t
=
872 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
873 if test -f $ac_dir/install-sh; then
875 ac_install_sh
="$ac_aux_dir/install-sh -c"
877 elif test -f $ac_dir/install.sh
; then
879 ac_install_sh
="$ac_aux_dir/install.sh -c"
883 if test -z "$ac_aux_dir"; then
884 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
886 ac_config_guess
=$ac_aux_dir/config.guess
887 ac_config_sub
=$ac_aux_dir/config.sub
888 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
891 # Do some error checking and defaulting for the host and target type.
893 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
896 # 1. You are not allowed to specify --host, --target, and nonopt at the
898 # 2. Host defaults to nonopt.
899 # 3. If nonopt is not specified, then host defaults to the current host,
900 # as determined by config.guess.
901 # 4. Target and build default to nonopt.
902 # 5. If nonopt is not specified, then target and build default to host.
904 # The aliases save the names the user supplied, while $host etc.
905 # will get canonicalized.
906 case $host---$target---$nonopt in
907 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
908 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
912 # Make sure we can run config.sub.
913 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
914 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
917 echo $ac_n "checking host system type""... $ac_c" 1>&6
918 echo "configure:919: checking host system type" >&5
921 case "$host_alias" in
925 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
926 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
928 *) host_alias
=$nonopt ;;
932 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
933 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
934 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
935 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
936 echo "$ac_t""$host" 1>&6
938 echo $ac_n "checking target system type""... $ac_c" 1>&6
939 echo "configure:940: checking target system type" >&5
942 case "$target_alias" in
945 NONE
) target_alias
=$host_alias ;;
946 *) target_alias
=$nonopt ;;
950 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
951 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
952 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
953 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
954 echo "$ac_t""$target" 1>&6
956 echo $ac_n "checking build system type""... $ac_c" 1>&6
957 echo "configure:958: checking build system type" >&5
960 case "$build_alias" in
963 NONE
) build_alias
=$host_alias ;;
964 *) build_alias
=$nonopt ;;
968 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
969 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
970 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
971 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
972 echo "$ac_t""$build" 1>&6
974 test "$host_alias" != "$target_alias" &&
975 test "$program_prefix$program_suffix$program_transform_name" = \
977 program_prefix
=${target_alias}-
981 WX_MAJOR_VERSION_NUMBER
=2
982 WX_MINOR_VERSION_NUMBER
=3
985 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
986 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
1020 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
1022 ALL_TOOLKITS
="CYGWIN GTK MAC MGL MINGW MOTIF PM WINE"
1027 DEFAULT_wxUSE_MOTIF
=0
1030 DEFAULT_wxUSE_WINE
=0
1032 DEFAULT_DEFAULT_wxUSE_GTK
=0
1033 DEFAULT_DEFAULT_wxUSE_MAC
=0
1034 DEFAULT_DEFAULT_wxUSE_MGL
=0
1035 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
1036 DEFAULT_DEFAULT_wxUSE_MSW
=0
1037 DEFAULT_DEFAULT_wxUSE_PM
=0
1038 DEFAULT_DEFAULT_wxUSE_WINE
=0
1045 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1046 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1047 cat >> confdefs.h
<<\EOF
1054 cat >> confdefs.h
<<\EOF
1059 if test "x$TMP" = "xalpha"; then
1061 cat >> confdefs.h
<<\EOF
1066 DEFAULT_DEFAULT_wxUSE_GTK
=1
1068 *-*-irix5* | *-*-irix6* )
1071 cat >> confdefs.h
<<\EOF
1075 cat >> confdefs.h
<<\EOF
1079 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1085 cat >> confdefs.h
<<\EOF
1089 cat >> confdefs.h
<<\EOF
1090 #define __SOLARIS__ 1
1093 cat >> confdefs.h
<<\EOF
1097 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1098 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1104 cat >> confdefs.h
<<\EOF
1108 cat >> confdefs.h
<<\EOF
1112 cat >> confdefs.h
<<\EOF
1116 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1121 cat >> confdefs.h
<<\EOF
1122 #define __FREEBSD__ 1
1125 cat >> confdefs.h
<<\EOF
1129 DEFAULT_DEFAULT_wxUSE_GTK
=1
1134 cat >> confdefs.h
<<\EOF
1135 #define __FREEBSD__ 1
1138 cat >> confdefs.h
<<\EOF
1139 #define __OPENBSD__ 1
1142 DEFAULT_DEFAULT_wxUSE_GTK
=1
1147 cat >> confdefs.h
<<\EOF
1148 #define __FREEBSD__ 1
1151 cat >> confdefs.h
<<\EOF
1152 #define __NETBSD__ 1
1155 DEFAULT_DEFAULT_wxUSE_GTK
=1
1160 cat >> confdefs.h
<<\EOF
1164 cat >> confdefs.h
<<\EOF
1168 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1169 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1174 cat >> confdefs.h
<<\EOF
1178 cat >> confdefs.h
<<\EOF
1182 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1187 cat >> confdefs.h
<<\EOF
1191 cat >> confdefs.h
<<\EOF
1195 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1201 cat >> confdefs.h
<<\EOF
1205 cat >> confdefs.h
<<\EOF
1209 cat >> confdefs.h
<<\EOF
1213 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1216 *-*-cygwin* | *-*-mingw32* )
1219 cat >> confdefs.h
<<\EOF
1223 cat >> confdefs.h
<<\EOF
1227 cat >> confdefs.h
<<\EOF
1228 #define __WINDOWS__ 1
1231 cat >> confdefs.h
<<\EOF
1232 #define __GNUWIN32__ 1
1235 cat >> confdefs.h
<<\EOF
1239 cat >> confdefs.h
<<\EOF
1240 #define WINVER 0x0400
1244 DEFAULT_DEFAULT_wxUSE_MSW
=1
1248 cat >> confdefs.h
<<\EOF
1253 DEFAULT_DEFAULT_wxUSE_PM
=1
1259 cat >> confdefs.h
<<\EOF
1263 cat >> confdefs.h
<<\EOF
1267 cat >> confdefs.h
<<\EOF
1271 DEFAULT_DEFAULT_wxUSE_MAC
=1
1276 cat >> confdefs.h
<<\EOF
1283 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1286 if test "$USE_UNIX" = 1 ; then
1288 cat >> confdefs.h
<<\EOF
1293 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1294 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1297 if test "$USE_BEOS" = 1; then
1298 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1299 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1302 if test "$USE_LINUX" = 1; then
1303 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1304 echo "configure:1305: checking for gettext in -lc" >&5
1305 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1306 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1307 echo $ac_n "(cached) $ac_c" 1>&6
1309 ac_save_LIBS
="$LIBS"
1311 cat > conftest.
$ac_ext <<EOF
1312 #line 1313 "configure"
1313 #include "confdefs.h"
1314 /* Override any gcc2 internal prototype to avoid an error. */
1315 /* We use char because int might match the return type of a gcc2
1316 builtin and then its argument prototype would still apply. */
1323 if { (eval echo configure
:1324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1325 eval "ac_cv_lib_$ac_lib_var=yes"
1327 echo "configure: failed program was:" >&5
1328 cat conftest.
$ac_ext >&5
1330 eval "ac_cv_lib_$ac_lib_var=no"
1333 LIBS
="$ac_save_LIBS"
1336 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1337 echo "$ac_t""yes" 1>&6
1338 cat >> confdefs.h
<<\EOF
1339 #define wxHAVE_GLIBC2 1
1343 echo "$ac_t""no" 1>&6
1351 wx_arg_cache_file
="configarg.cache"
1352 echo "loading argument cache $wx_arg_cache_file"
1353 rm -f ${wx_arg_cache_file}.tmp
1354 touch ${wx_arg_cache_file}.tmp
1355 touch ${wx_arg_cache_file}
1359 if test $DEBUG_CONFIGURE = 1; then
1360 DEFAULT_wxUSE_UNIVERSAL
=no
1362 DEFAULT_wxUSE_THREADS
=yes
1364 DEFAULT_wxUSE_SHARED
=yes
1365 DEFAULT_wxUSE_BURNT_NAME
=no
1366 DEFAULT_wxUSE_OPTIMISE
=no
1367 DEFAULT_wxUSE_PROFILE
=no
1368 DEFAULT_wxUSE_NO_DEPS
=no
1369 DEFAULT_wxUSE_NO_RTTI
=no
1370 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1371 DEFAULT_wxUSE_PERMISSIVE
=no
1372 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1373 DEFAULT_wxUSE_DEBUG_INFO
=yes
1374 DEFAULT_wxUSE_DEBUG_GDB
=yes
1375 DEFAULT_wxUSE_MEM_TRACING
=no
1376 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1377 DEFAULT_wxUSE_DMALLOC
=no
1378 DEFAULT_wxUSE_APPLE_IEEE
=no
1380 DEFAULT_wxUSE_LOG
=yes
1381 DEFAULT_wxUSE_LOGWINDOW
=no
1382 DEFAULT_wxUSE_LOGGUI
=no
1384 DEFAULT_wxUSE_GUI
=yes
1385 DEFAULT_wxUSE_CONTROLS
=no
1387 DEFAULT_wxUSE_ZLIB
=no
1388 DEFAULT_wxUSE_LIBPNG
=no
1389 DEFAULT_wxUSE_LIBJPEG
=no
1390 DEFAULT_wxUSE_LIBTIFF
=no
1391 DEFAULT_wxUSE_ODBC
=no
1392 DEFAULT_wxUSE_FREETYPE
=no
1393 DEFAULT_wxUSE_OPENGL
=no
1395 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1396 DEFAULT_wxUSE_SNGLINST_CHECKER
=no
1397 DEFAULT_wxUSE_STD_IOSTREAM
=no
1398 DEFAULT_wxUSE_CMDLINE_PARSER
=no
1399 DEFAULT_wxUSE_DATETIME
=no
1400 DEFAULT_wxUSE_TIMEDATE
=no
1401 DEFAULT_wxUSE_TIMER
=no
1402 DEFAULT_wxUSE_STOPWATCH
=no
1403 DEFAULT_wxUSE_FILE
=no
1404 DEFAULT_wxUSE_FFILE
=no
1405 DEFAULT_wxUSE_TEXTFILE
=no
1406 DEFAULT_wxUSE_WAVE
=no
1407 DEFAULT_wxUSE_INTL
=no
1408 DEFAULT_wxUSE_CONFIG
=no
1409 DEFAULT_wxUSE_FONTMAP
=no
1410 DEFAULT_wxUSE_STREAMS
=no
1411 DEFAULT_wxUSE_SOCKETS
=no
1412 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1413 DEFAULT_wxUSE_SERIAL
=no
1414 DEFAULT_wxUSE_JOYSTICK
=no
1415 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1416 DEFAULT_wxUSE_LONGLONG
=no
1417 DEFAULT_wxUSE_GEOMETRY
=no
1419 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1420 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1421 DEFAULT_wxUSE_POSTSCRIPT
=no
1423 DEFAULT_wxUSE_X_RESOURCES
=no
1424 DEFAULT_wxUSE_CLIPBOARD
=no
1425 DEFAULT_wxUSE_TOOLTIPS
=no
1426 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1427 DEFAULT_wxUSE_SPLINES
=no
1429 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1430 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1431 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1433 DEFAULT_wxUSE_PROLOGIO
=no
1434 DEFAULT_wxUSE_RESOURCES
=no
1435 DEFAULT_wxUSE_CONSTRAINTS
=no
1436 DEFAULT_wxUSE_IPC
=no
1437 DEFAULT_wxUSE_HELP
=no
1438 DEFAULT_wxUSE_WXTREE
=no
1439 DEFAULT_wxUSE_METAFILE
=no
1440 DEFAULT_wxUSE_MIMETYPE
=no
1442 DEFAULT_wxUSE_COMMONDLGS
=no
1443 DEFAULT_wxUSE_CHOICEDLG
=no
1444 DEFAULT_wxUSE_COLOURDLG
=no
1445 DEFAULT_wxUSE_DIRDLG
=no
1446 DEFAULT_wxUSE_FILEDLG
=no
1447 DEFAULT_wxUSE_FONTDLG
=no
1448 DEFAULT_wxUSE_MSGDLG
=no
1449 DEFAULT_wxUSE_NUMBERDLG
=no
1450 DEFAULT_wxUSE_TEXTDLG
=no
1451 DEFAULT_wxUSE_STARTUP_TIPS
=no
1452 DEFAULT_wxUSE_PROGRESSDLG
=no
1453 DEFAULT_wxUSE_MENUS
=no
1454 DEFAULT_wxUSE_MINIFRAME
=no
1455 DEFAULT_wxUSE_HTML
=no
1456 DEFAULT_wxUSE_FILESYSTEM
=no
1457 DEFAULT_wxUSE_FS_INET
=no
1458 DEFAULT_wxUSE_FS_ZIP
=no
1459 DEFAULT_wxUSE_BUSYINFO
=no
1460 DEFAULT_wxUSE_ZIPSTREAM
=no
1461 DEFAULT_wxUSE_VALIDATORS
=no
1463 DEFAULT_wxUSE_ACCEL
=no
1464 DEFAULT_wxUSE_BUTTON
=no
1465 DEFAULT_wxUSE_BMPBUTTON
=no
1466 DEFAULT_wxUSE_CALCTRL
=no
1467 DEFAULT_wxUSE_CARET
=no
1468 DEFAULT_wxUSE_CHECKBOX
=no
1469 DEFAULT_wxUSE_CHECKLST
=no
1470 DEFAULT_wxUSE_CHOICE
=no
1471 DEFAULT_wxUSE_COMBOBOX
=no
1472 DEFAULT_wxUSE_GAUGE
=no
1473 DEFAULT_wxUSE_GRID
=no
1474 DEFAULT_wxUSE_NEW_GRID
=no
1475 DEFAULT_wxUSE_IMAGLIST
=no
1476 DEFAULT_wxUSE_LISTBOX
=no
1477 DEFAULT_wxUSE_LISTCTRL
=no
1478 DEFAULT_wxUSE_NOTEBOOK
=no
1479 DEFAULT_wxUSE_RADIOBOX
=no
1480 DEFAULT_wxUSE_RADIOBTN
=no
1481 DEFAULT_wxUSE_SASH
=no
1482 DEFAULT_wxUSE_SCROLLBAR
=no
1483 DEFAULT_wxUSE_SLIDER
=no
1484 DEFAULT_wxUSE_SPINBTN
=no
1485 DEFAULT_wxUSE_SPINCTRL
=no
1486 DEFAULT_wxUSE_SPLITTER
=no
1487 DEFAULT_wxUSE_STATBMP
=no
1488 DEFAULT_wxUSE_STATBOX
=no
1489 DEFAULT_wxUSE_STATLINE
=no
1490 DEFAULT_wxUSE_STATTEXT
=no
1491 DEFAULT_wxUSE_STATUSBAR
=yes
1492 DEFAULT_wxUSE_TABDIALOG
=no
1493 DEFAULT_wxUSE_TEXTCTRL
=no
1494 DEFAULT_wxUSE_TOGGLEBTN
=no
1495 DEFAULT_wxUSE_TOOLBAR
=no
1496 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1497 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1498 DEFAULT_wxUSE_TREECTRL
=no
1500 DEFAULT_wxUSE_UNICODE
=no
1501 DEFAULT_wxUSE_WCSRTOMBS
=no
1503 DEFAULT_wxUSE_IMAGE
=no
1504 DEFAULT_wxUSE_GIF
=no
1505 DEFAULT_wxUSE_PCX
=no
1506 DEFAULT_wxUSE_PNM
=no
1507 DEFAULT_wxUSE_XPM
=no
1509 DEFAULT_wxUSE_UNIVERSAL
=no
1511 DEFAULT_wxUSE_THREADS
=yes
1513 DEFAULT_wxUSE_SHARED
=yes
1514 DEFAULT_wxUSE_BURNT_NAME
=no
1515 DEFAULT_wxUSE_OPTIMISE
=yes
1516 DEFAULT_wxUSE_PROFILE
=no
1517 DEFAULT_wxUSE_NO_DEPS
=no
1518 DEFAULT_wxUSE_NO_RTTI
=no
1519 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1520 DEFAULT_wxUSE_PERMISSIVE
=no
1521 DEFAULT_wxUSE_DEBUG_FLAG
=no
1522 DEFAULT_wxUSE_DEBUG_INFO
=no
1523 DEFAULT_wxUSE_DEBUG_GDB
=no
1524 DEFAULT_wxUSE_MEM_TRACING
=no
1525 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1526 DEFAULT_wxUSE_DMALLOC
=no
1527 DEFAULT_wxUSE_APPLE_IEEE
=yes
1529 DEFAULT_wxUSE_LOG
=yes
1531 DEFAULT_wxUSE_GUI
=yes
1533 DEFAULT_wxUSE_ZLIB
=yes
1534 DEFAULT_wxUSE_LIBPNG
=yes
1535 DEFAULT_wxUSE_LIBJPEG
=yes
1536 DEFAULT_wxUSE_LIBTIFF
=yes
1537 DEFAULT_wxUSE_ODBC
=no
1538 DEFAULT_wxUSE_FREETYPE
=no
1539 DEFAULT_wxUSE_OPENGL
=no
1541 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1542 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1543 DEFAULT_wxUSE_STD_IOSTREAM
=no
1544 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1545 DEFAULT_wxUSE_DATETIME
=yes
1546 DEFAULT_wxUSE_TIMEDATE
=no
1547 DEFAULT_wxUSE_TIMER
=yes
1548 DEFAULT_wxUSE_STOPWATCH
=yes
1549 DEFAULT_wxUSE_FILE
=yes
1550 DEFAULT_wxUSE_FFILE
=yes
1551 DEFAULT_wxUSE_TEXTFILE
=yes
1552 DEFAULT_wxUSE_WAVE
=no
1553 DEFAULT_wxUSE_INTL
=yes
1554 DEFAULT_wxUSE_CONFIG
=yes
1555 DEFAULT_wxUSE_FONTMAP
=yes
1556 DEFAULT_wxUSE_STREAMS
=yes
1557 DEFAULT_wxUSE_SOCKETS
=yes
1558 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1559 DEFAULT_wxUSE_SERIAL
=yes
1560 DEFAULT_wxUSE_JOYSTICK
=yes
1561 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1562 DEFAULT_wxUSE_LONGLONG
=yes
1563 DEFAULT_wxUSE_GEOMETRY
=yes
1565 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1566 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1567 DEFAULT_wxUSE_POSTSCRIPT
=yes
1569 DEFAULT_wxUSE_X_RESOURCES
=no
1570 DEFAULT_wxUSE_CLIPBOARD
=yes
1571 DEFAULT_wxUSE_TOOLTIPS
=yes
1572 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1573 DEFAULT_wxUSE_SPLINES
=yes
1575 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1576 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1577 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1579 DEFAULT_wxUSE_PROLOGIO
=yes
1580 DEFAULT_wxUSE_RESOURCES
=yes
1581 DEFAULT_wxUSE_CONSTRAINTS
=yes
1582 DEFAULT_wxUSE_IPC
=yes
1583 DEFAULT_wxUSE_HELP
=yes
1584 DEFAULT_wxUSE_WXTREE
=yes
1585 DEFAULT_wxUSE_METAFILE
=yes
1586 DEFAULT_wxUSE_MIMETYPE
=yes
1588 DEFAULT_wxUSE_COMMONDLGS
=yes
1589 DEFAULT_wxUSE_CHOICEDLG
=yes
1590 DEFAULT_wxUSE_COLOURDLG
=yes
1591 DEFAULT_wxUSE_DIRDLG
=yes
1592 DEFAULT_wxUSE_FILEDLG
=yes
1593 DEFAULT_wxUSE_FONTDLG
=yes
1594 DEFAULT_wxUSE_MSGDLG
=yes
1595 DEFAULT_wxUSE_NUMBERDLG
=yes
1596 DEFAULT_wxUSE_TEXTDLG
=yes
1597 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1598 DEFAULT_wxUSE_PROGRESSDLG
=yes
1599 DEFAULT_wxUSE_MENUS
=yes
1600 DEFAULT_wxUSE_MINIFRAME
=yes
1601 DEFAULT_wxUSE_HTML
=yes
1602 DEFAULT_wxUSE_FILESYSTEM
=yes
1603 DEFAULT_wxUSE_FS_INET
=yes
1604 DEFAULT_wxUSE_FS_ZIP
=yes
1605 DEFAULT_wxUSE_BUSYINFO
=yes
1606 DEFAULT_wxUSE_ZIPSTREAM
=yes
1607 DEFAULT_wxUSE_VALIDATORS
=yes
1609 DEFAULT_wxUSE_ACCEL
=yes
1610 DEFAULT_wxUSE_BUTTON
=yes
1611 DEFAULT_wxUSE_BMPBUTTON
=yes
1612 DEFAULT_wxUSE_CALCTRL
=yes
1613 DEFAULT_wxUSE_CARET
=yes
1614 DEFAULT_wxUSE_CHECKBOX
=yes
1615 DEFAULT_wxUSE_CHECKLST
=yes
1616 DEFAULT_wxUSE_CHOICE
=yes
1617 DEFAULT_wxUSE_COMBOBOX
=yes
1618 DEFAULT_wxUSE_GAUGE
=yes
1619 DEFAULT_wxUSE_GRID
=yes
1620 DEFAULT_wxUSE_NEW_GRID
=yes
1621 DEFAULT_wxUSE_IMAGLIST
=yes
1622 DEFAULT_wxUSE_LISTBOX
=yes
1623 DEFAULT_wxUSE_LISTCTRL
=yes
1624 DEFAULT_wxUSE_NOTEBOOK
=yes
1625 DEFAULT_wxUSE_RADIOBOX
=yes
1626 DEFAULT_wxUSE_RADIOBTN
=yes
1627 DEFAULT_wxUSE_SASH
=yes
1628 DEFAULT_wxUSE_SCROLLBAR
=yes
1629 DEFAULT_wxUSE_SLIDER
=yes
1630 DEFAULT_wxUSE_SPINBTN
=yes
1631 DEFAULT_wxUSE_SPINCTRL
=yes
1632 DEFAULT_wxUSE_SPLITTER
=yes
1633 DEFAULT_wxUSE_STATBMP
=yes
1634 DEFAULT_wxUSE_STATBOX
=yes
1635 DEFAULT_wxUSE_STATLINE
=yes
1636 DEFAULT_wxUSE_STATTEXT
=yes
1637 DEFAULT_wxUSE_STATUSBAR
=yes
1638 DEFAULT_wxUSE_TABDIALOG
=no
1639 DEFAULT_wxUSE_TEXTCTRL
=yes
1640 DEFAULT_wxUSE_TOGGLEBTN
=yes
1641 DEFAULT_wxUSE_TOOLBAR
=yes
1642 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1643 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1644 DEFAULT_wxUSE_TREECTRL
=yes
1646 DEFAULT_wxUSE_UNICODE
=no
1647 DEFAULT_wxUSE_WCSRTOMBS
=no
1649 DEFAULT_wxUSE_IMAGE
=yes
1650 DEFAULT_wxUSE_GIF
=yes
1651 DEFAULT_wxUSE_PCX
=yes
1652 DEFAULT_wxUSE_PNM
=yes
1653 DEFAULT_wxUSE_XPM
=yes
1658 for toolkit
in `echo $ALL_TOOLKITS`; do
1659 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1660 if test "x$LINE" != x
; then
1661 has_toolkit_in_cache
=1
1662 eval "DEFAULT_$LINE"
1663 eval "CACHE_$toolkit=1"
1669 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1670 echo "configure:1671: checking for --enable-gui" >&5
1672 # Check whether --enable-gui or --disable-gui was given.
1673 if test "${enable_gui+set}" = set; then
1674 enableval
="$enable_gui"
1676 if test "$enableval" = yes; then
1677 ac_cv_use_gui
='wxUSE_GUI=yes'
1679 ac_cv_use_gui
='wxUSE_GUI=no'
1684 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1685 if test "x$LINE" != x
; then
1686 eval "DEFAULT_$LINE"
1691 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1696 eval "$ac_cv_use_gui"
1697 if test "$no_cache" != 1; then
1698 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1701 if test "$wxUSE_GUI" = yes; then
1702 echo "$ac_t""yes" 1>&6
1704 echo "$ac_t""no" 1>&6
1708 if test "$wxUSE_GUI" = "yes"; then
1711 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1712 echo "configure:1713: checking for --enable-universal" >&5
1714 # Check whether --enable-universal or --disable-universal was given.
1715 if test "${enable_universal+set}" = set; then
1716 enableval
="$enable_universal"
1718 if test "$enableval" = yes; then
1719 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1721 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1726 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1727 if test "x$LINE" != x
; then
1728 eval "DEFAULT_$LINE"
1733 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1738 eval "$ac_cv_use_universal"
1739 if test "$no_cache" != 1; then
1740 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1743 if test "$wxUSE_UNIVERSAL" = yes; then
1744 echo "$ac_t""yes" 1>&6
1746 echo "$ac_t""no" 1>&6
1749 # Check whether --with-gtk or --without-gtk was given.
1750 if test "${with_gtk+set}" = set; then
1752 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1755 # Check whether --with-motif or --without-motif was given.
1756 if test "${with_motif+set}" = set; then
1757 withval
="$with_motif"
1758 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1761 # Check whether --with-mac or --without-mac was given.
1762 if test "${with_mac+set}" = set; then
1764 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1767 # Check whether --with-wine or --without-wine was given.
1768 if test "${with_wine+set}" = set; then
1769 withval
="$with_wine"
1770 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1773 # Check whether --with-cygwin or --without-cygwin was given.
1774 if test "${with_cygwin+set}" = set; then
1775 withval
="$with_cygwin"
1776 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1779 # Check whether --with-mingw or --without-mingw was given.
1780 if test "${with_mingw+set}" = set; then
1781 withval
="$with_mingw"
1782 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1785 # Check whether --with-pm or --without-pm was given.
1786 if test "${with_pm+set}" = set; then
1788 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1791 # Check whether --with-mgl or --without-mgl was given.
1792 if test "${with_mgl+set}" = set; then
1794 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1798 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1799 if test "${enable_gtk2+set}" = set; then
1800 enableval
="$enable_gtk2"
1808 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1809 echo "configure:1810: checking for --with-libpng" >&5
1811 # Check whether --with-libpng or --without-libpng was given.
1812 if test "${with_libpng+set}" = set; then
1813 withval
="$with_libpng"
1815 if test "$withval" = yes; then
1816 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1817 elif test "$withval" = no
; then
1818 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1819 elif test "$withval" = sys
; then
1820 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1822 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1827 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1828 if test "x$LINE" != x
; then
1829 eval "DEFAULT_$LINE"
1834 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1839 eval "$ac_cv_use_libpng"
1840 if test "$no_cache" != 1; then
1841 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1844 if test "$wxUSE_LIBPNG" = yes; then
1845 echo "$ac_t""yes" 1>&6
1846 elif test "$wxUSE_LIBPNG" = no
; then
1847 echo "$ac_t""no" 1>&6
1848 elif test "$wxUSE_LIBPNG" = sys
; then
1849 echo "$ac_t""system version" 1>&6
1851 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1855 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1856 echo "configure:1857: checking for --with-libjpeg" >&5
1858 # Check whether --with-libjpeg or --without-libjpeg was given.
1859 if test "${with_libjpeg+set}" = set; then
1860 withval
="$with_libjpeg"
1862 if test "$withval" = yes; then
1863 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1864 elif test "$withval" = no
; then
1865 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1866 elif test "$withval" = sys
; then
1867 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1869 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1874 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1875 if test "x$LINE" != x
; then
1876 eval "DEFAULT_$LINE"
1881 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1886 eval "$ac_cv_use_libjpeg"
1887 if test "$no_cache" != 1; then
1888 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1891 if test "$wxUSE_LIBJPEG" = yes; then
1892 echo "$ac_t""yes" 1>&6
1893 elif test "$wxUSE_LIBJPEG" = no
; then
1894 echo "$ac_t""no" 1>&6
1895 elif test "$wxUSE_LIBJPEG" = sys
; then
1896 echo "$ac_t""system version" 1>&6
1898 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1902 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1903 echo "configure:1904: checking for --with-libtiff" >&5
1905 # Check whether --with-libtiff or --without-libtiff was given.
1906 if test "${with_libtiff+set}" = set; then
1907 withval
="$with_libtiff"
1909 if test "$withval" = yes; then
1910 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1911 elif test "$withval" = no
; then
1912 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1913 elif test "$withval" = sys
; then
1914 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1916 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1921 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1922 if test "x$LINE" != x
; then
1923 eval "DEFAULT_$LINE"
1928 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1933 eval "$ac_cv_use_libtiff"
1934 if test "$no_cache" != 1; then
1935 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1938 if test "$wxUSE_LIBTIFF" = yes; then
1939 echo "$ac_t""yes" 1>&6
1940 elif test "$wxUSE_LIBTIFF" = no
; then
1941 echo "$ac_t""no" 1>&6
1942 elif test "$wxUSE_LIBTIFF" = sys
; then
1943 echo "$ac_t""system version" 1>&6
1945 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1949 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1950 echo "configure:1951: checking for --with-freetype" >&5
1952 # Check whether --with-freetype or --without-freetype was given.
1953 if test "${with_freetype+set}" = set; then
1954 withval
="$with_freetype"
1956 if test "$withval" = yes; then
1957 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1958 elif test "$withval" = no
; then
1959 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1960 elif test "$withval" = sys
; then
1961 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1963 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1968 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1969 if test "x$LINE" != x
; then
1970 eval "DEFAULT_$LINE"
1975 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1980 eval "$ac_cv_use_freetype"
1981 if test "$no_cache" != 1; then
1982 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1985 if test "$wxUSE_FREETYPE" = yes; then
1986 echo "$ac_t""yes" 1>&6
1987 elif test "$wxUSE_FREETYPE" = no
; then
1988 echo "$ac_t""no" 1>&6
1989 elif test "$wxUSE_FREETYPE" = sys
; then
1990 echo "$ac_t""system version" 1>&6
1992 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1996 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
1997 echo "configure:1998: checking for --with-opengl" >&5
1999 # Check whether --with-opengl or --without-opengl was given.
2000 if test "${with_opengl+set}" = set; then
2001 withval
="$with_opengl"
2003 if test "$withval" = yes; then
2004 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2006 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2011 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2012 if test "x$LINE" != x
; then
2013 eval "DEFAULT_$LINE"
2018 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2023 eval "$ac_cv_use_opengl"
2024 if test "$no_cache" != 1; then
2025 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2028 if test "$wxUSE_OPENGL" = yes; then
2029 echo "$ac_t""yes" 1>&6
2031 echo "$ac_t""no" 1>&6
2038 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2039 echo "configure:2040: checking for --with-dmalloc" >&5
2041 # Check whether --with-dmalloc or --without-dmalloc was given.
2042 if test "${with_dmalloc+set}" = set; then
2043 withval
="$with_dmalloc"
2045 if test "$withval" = yes; then
2046 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2048 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2053 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2054 if test "x$LINE" != x
; then
2055 eval "DEFAULT_$LINE"
2060 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2065 eval "$ac_cv_use_dmalloc"
2066 if test "$no_cache" != 1; then
2067 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2070 if test "$wxUSE_DMALLOC" = yes; then
2071 echo "$ac_t""yes" 1>&6
2073 echo "$ac_t""no" 1>&6
2077 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2078 echo "configure:2079: checking for --with-zlib" >&5
2080 # Check whether --with-zlib or --without-zlib was given.
2081 if test "${with_zlib+set}" = set; then
2082 withval
="$with_zlib"
2084 if test "$withval" = yes; then
2085 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2086 elif test "$withval" = no
; then
2087 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2088 elif test "$withval" = sys
; then
2089 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2091 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2096 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2097 if test "x$LINE" != x
; then
2098 eval "DEFAULT_$LINE"
2103 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2108 eval "$ac_cv_use_zlib"
2109 if test "$no_cache" != 1; then
2110 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2113 if test "$wxUSE_ZLIB" = yes; then
2114 echo "$ac_t""yes" 1>&6
2115 elif test "$wxUSE_ZLIB" = no
; then
2116 echo "$ac_t""no" 1>&6
2117 elif test "$wxUSE_ZLIB" = sys
; then
2118 echo "$ac_t""system version" 1>&6
2120 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2124 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2125 echo "configure:2126: checking for --with-odbc" >&5
2127 # Check whether --with-odbc or --without-odbc was given.
2128 if test "${with_odbc+set}" = set; then
2129 withval
="$with_odbc"
2131 if test "$withval" = yes; then
2132 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2134 ac_cv_use_odbc
='wxUSE_ODBC=no'
2139 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2140 if test "x$LINE" != x
; then
2141 eval "DEFAULT_$LINE"
2146 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2151 eval "$ac_cv_use_odbc"
2152 if test "$no_cache" != 1; then
2153 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2156 if test "$wxUSE_ODBC" = yes; then
2157 echo "$ac_t""yes" 1>&6
2159 echo "$ac_t""no" 1>&6
2166 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2167 echo "configure:2168: checking for --enable-shared" >&5
2169 # Check whether --enable-shared or --disable-shared was given.
2170 if test "${enable_shared+set}" = set; then
2171 enableval
="$enable_shared"
2173 if test "$enableval" = yes; then
2174 ac_cv_use_shared
='wxUSE_SHARED=yes'
2176 ac_cv_use_shared
='wxUSE_SHARED=no'
2181 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2182 if test "x$LINE" != x
; then
2183 eval "DEFAULT_$LINE"
2188 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2193 eval "$ac_cv_use_shared"
2194 if test "$no_cache" != 1; then
2195 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2198 if test "$wxUSE_SHARED" = yes; then
2199 echo "$ac_t""yes" 1>&6
2201 echo "$ac_t""no" 1>&6
2205 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2206 echo "configure:2207: checking for --enable-burnt_name" >&5
2208 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2209 if test "${enable_burnt_name+set}" = set; then
2210 enableval
="$enable_burnt_name"
2212 if test "$enableval" = yes; then
2213 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2215 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2220 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2221 if test "x$LINE" != x
; then
2222 eval "DEFAULT_$LINE"
2227 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2232 eval "$ac_cv_use_burnt_name"
2233 if test "$no_cache" != 1; then
2234 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2237 if test "$wxUSE_BURNT_NAME" = yes; then
2238 echo "$ac_t""yes" 1>&6
2240 echo "$ac_t""no" 1>&6
2244 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2245 echo "configure:2246: checking for --enable-optimise" >&5
2247 # Check whether --enable-optimise or --disable-optimise was given.
2248 if test "${enable_optimise+set}" = set; then
2249 enableval
="$enable_optimise"
2251 if test "$enableval" = yes; then
2252 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2254 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2259 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2260 if test "x$LINE" != x
; then
2261 eval "DEFAULT_$LINE"
2266 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2271 eval "$ac_cv_use_optimise"
2272 if test "$no_cache" != 1; then
2273 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2276 if test "$wxUSE_OPTIMISE" = yes; then
2277 echo "$ac_t""yes" 1>&6
2279 echo "$ac_t""no" 1>&6
2283 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2284 echo "configure:2285: checking for --enable-debug" >&5
2286 # Check whether --enable-debug or --disable-debug was given.
2287 if test "${enable_debug+set}" = set; then
2288 enableval
="$enable_debug"
2290 if test "$enableval" = yes; then
2291 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2293 ac_cv_use_debug
='wxUSE_DEBUG=no'
2298 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2299 if test "x$LINE" != x
; then
2300 eval "DEFAULT_$LINE"
2305 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2310 eval "$ac_cv_use_debug"
2311 if test "$no_cache" != 1; then
2312 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2315 if test "$wxUSE_DEBUG" = yes; then
2316 echo "$ac_t""yes" 1>&6
2318 echo "$ac_t""no" 1>&6
2322 if test "$wxUSE_DEBUG" = "yes"; then
2323 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2324 DEFAULT_wxUSE_DEBUG_INFO
=yes
2325 elif test "$wxUSE_DEBUG" = "no"; then
2326 DEFAULT_wxUSE_DEBUG_FLAG
=no
2327 DEFAULT_wxUSE_DEBUG_INFO
=no
2331 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2332 echo "configure:2333: checking for --enable-debug_flag" >&5
2334 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2335 if test "${enable_debug_flag+set}" = set; then
2336 enableval
="$enable_debug_flag"
2338 if test "$enableval" = yes; then
2339 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2341 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2346 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2347 if test "x$LINE" != x
; then
2348 eval "DEFAULT_$LINE"
2353 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2358 eval "$ac_cv_use_debug_flag"
2359 if test "$no_cache" != 1; then
2360 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2363 if test "$wxUSE_DEBUG_FLAG" = yes; then
2364 echo "$ac_t""yes" 1>&6
2366 echo "$ac_t""no" 1>&6
2370 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2371 echo "configure:2372: checking for --enable-debug_info" >&5
2373 # Check whether --enable-debug_info or --disable-debug_info was given.
2374 if test "${enable_debug_info+set}" = set; then
2375 enableval
="$enable_debug_info"
2377 if test "$enableval" = yes; then
2378 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2380 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2385 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2386 if test "x$LINE" != x
; then
2387 eval "DEFAULT_$LINE"
2392 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2397 eval "$ac_cv_use_debug_info"
2398 if test "$no_cache" != 1; then
2399 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2402 if test "$wxUSE_DEBUG_INFO" = yes; then
2403 echo "$ac_t""yes" 1>&6
2405 echo "$ac_t""no" 1>&6
2409 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2410 echo "configure:2411: checking for --enable-debug_gdb" >&5
2412 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2413 if test "${enable_debug_gdb+set}" = set; then
2414 enableval
="$enable_debug_gdb"
2416 if test "$enableval" = yes; then
2417 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2419 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2424 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2425 if test "x$LINE" != x
; then
2426 eval "DEFAULT_$LINE"
2431 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2436 eval "$ac_cv_use_debug_gdb"
2437 if test "$no_cache" != 1; then
2438 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2441 if test "$wxUSE_DEBUG_GDB" = yes; then
2442 echo "$ac_t""yes" 1>&6
2444 echo "$ac_t""no" 1>&6
2448 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2449 echo "configure:2450: checking for --enable-debug_cntxt" >&5
2451 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2452 if test "${enable_debug_cntxt+set}" = set; then
2453 enableval
="$enable_debug_cntxt"
2455 if test "$enableval" = yes; then
2456 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2458 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2463 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2464 if test "x$LINE" != x
; then
2465 eval "DEFAULT_$LINE"
2470 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2475 eval "$ac_cv_use_debug_cntxt"
2476 if test "$no_cache" != 1; then
2477 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2480 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2481 echo "$ac_t""yes" 1>&6
2483 echo "$ac_t""no" 1>&6
2487 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2488 echo "configure:2489: checking for --enable-mem_tracing" >&5
2490 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2491 if test "${enable_mem_tracing+set}" = set; then
2492 enableval
="$enable_mem_tracing"
2494 if test "$enableval" = yes; then
2495 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2497 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2502 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x
; then
2504 eval "DEFAULT_$LINE"
2509 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2514 eval "$ac_cv_use_mem_tracing"
2515 if test "$no_cache" != 1; then
2516 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2519 if test "$wxUSE_MEM_TRACING" = yes; then
2520 echo "$ac_t""yes" 1>&6
2522 echo "$ac_t""no" 1>&6
2526 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2527 echo "configure:2528: checking for --enable-profile" >&5
2529 # Check whether --enable-profile or --disable-profile was given.
2530 if test "${enable_profile+set}" = set; then
2531 enableval
="$enable_profile"
2533 if test "$enableval" = yes; then
2534 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2536 ac_cv_use_profile
='wxUSE_PROFILE=no'
2541 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2542 if test "x$LINE" != x
; then
2543 eval "DEFAULT_$LINE"
2548 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2553 eval "$ac_cv_use_profile"
2554 if test "$no_cache" != 1; then
2555 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2558 if test "$wxUSE_PROFILE" = yes; then
2559 echo "$ac_t""yes" 1>&6
2561 echo "$ac_t""no" 1>&6
2565 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2566 echo "configure:2567: checking for --enable-no_rtti" >&5
2568 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2569 if test "${enable_no_rtti+set}" = set; then
2570 enableval
="$enable_no_rtti"
2572 if test "$enableval" = yes; then
2573 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2575 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2580 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2581 if test "x$LINE" != x
; then
2582 eval "DEFAULT_$LINE"
2587 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2592 eval "$ac_cv_use_no_rtti"
2593 if test "$no_cache" != 1; then
2594 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2597 if test "$wxUSE_NO_RTTI" = yes; then
2598 echo "$ac_t""yes" 1>&6
2600 echo "$ac_t""no" 1>&6
2604 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2605 echo "configure:2606: checking for --enable-no_exceptions" >&5
2607 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2608 if test "${enable_no_exceptions+set}" = set; then
2609 enableval
="$enable_no_exceptions"
2611 if test "$enableval" = yes; then
2612 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2614 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2619 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2620 if test "x$LINE" != x
; then
2621 eval "DEFAULT_$LINE"
2626 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2631 eval "$ac_cv_use_no_exceptions"
2632 if test "$no_cache" != 1; then
2633 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2636 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2637 echo "$ac_t""yes" 1>&6
2639 echo "$ac_t""no" 1>&6
2643 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2644 echo "configure:2645: checking for --enable-permissive" >&5
2646 # Check whether --enable-permissive or --disable-permissive was given.
2647 if test "${enable_permissive+set}" = set; then
2648 enableval
="$enable_permissive"
2650 if test "$enableval" = yes; then
2651 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2653 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2658 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2659 if test "x$LINE" != x
; then
2660 eval "DEFAULT_$LINE"
2665 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2670 eval "$ac_cv_use_permissive"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2675 if test "$wxUSE_PERMISSIVE" = yes; then
2676 echo "$ac_t""yes" 1>&6
2678 echo "$ac_t""no" 1>&6
2682 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2683 echo "configure:2684: checking for --enable-no_deps" >&5
2685 # Check whether --enable-no_deps or --disable-no_deps was given.
2686 if test "${enable_no_deps+set}" = set; then
2687 enableval
="$enable_no_deps"
2689 if test "$enableval" = yes; then
2690 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2692 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2697 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2698 if test "x$LINE" != x
; then
2699 eval "DEFAULT_$LINE"
2704 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2709 eval "$ac_cv_use_no_deps"
2710 if test "$no_cache" != 1; then
2711 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2714 if test "$wxUSE_NO_DEPS" = yes; then
2715 echo "$ac_t""yes" 1>&6
2717 echo "$ac_t""no" 1>&6
2722 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2723 echo "configure:2724: checking for --enable-compat20" >&5
2725 # Check whether --enable-compat20 or --disable-compat20 was given.
2726 if test "${enable_compat20+set}" = set; then
2727 enableval
="$enable_compat20"
2729 if test "$enableval" = yes; then
2730 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2732 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2737 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2738 if test "x$LINE" != x
; then
2739 eval "DEFAULT_$LINE"
2744 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2749 eval "$ac_cv_use_compat20"
2750 if test "$no_cache" != 1; then
2751 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2754 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2755 echo "$ac_t""yes" 1>&6
2757 echo "$ac_t""no" 1>&6
2761 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2762 echo "configure:2763: checking for --enable-compat22" >&5
2764 # Check whether --enable-compat22 or --disable-compat22 was given.
2765 if test "${enable_compat22+set}" = set; then
2766 enableval
="$enable_compat22"
2768 if test "$enableval" = yes; then
2769 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2771 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2776 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2777 if test "x$LINE" != x
; then
2778 eval "DEFAULT_$LINE"
2783 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2788 eval "$ac_cv_use_compat22"
2789 if test "$no_cache" != 1; then
2790 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2793 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2794 echo "$ac_t""yes" 1>&6
2796 echo "$ac_t""no" 1>&6
2802 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2803 echo "configure:2804: checking for --enable-intl" >&5
2805 # Check whether --enable-intl or --disable-intl was given.
2806 if test "${enable_intl+set}" = set; then
2807 enableval
="$enable_intl"
2809 if test "$enableval" = yes; then
2810 ac_cv_use_intl
='wxUSE_INTL=yes'
2812 ac_cv_use_intl
='wxUSE_INTL=no'
2817 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2818 if test "x$LINE" != x
; then
2819 eval "DEFAULT_$LINE"
2824 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2829 eval "$ac_cv_use_intl"
2830 if test "$no_cache" != 1; then
2831 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2834 if test "$wxUSE_INTL" = yes; then
2835 echo "$ac_t""yes" 1>&6
2837 echo "$ac_t""no" 1>&6
2841 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2842 echo "configure:2843: checking for --enable-config" >&5
2844 # Check whether --enable-config or --disable-config was given.
2845 if test "${enable_config+set}" = set; then
2846 enableval
="$enable_config"
2848 if test "$enableval" = yes; then
2849 ac_cv_use_config
='wxUSE_CONFIG=yes'
2851 ac_cv_use_config
='wxUSE_CONFIG=no'
2856 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2857 if test "x$LINE" != x
; then
2858 eval "DEFAULT_$LINE"
2863 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2868 eval "$ac_cv_use_config"
2869 if test "$no_cache" != 1; then
2870 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2873 if test "$wxUSE_CONFIG" = yes; then
2874 echo "$ac_t""yes" 1>&6
2876 echo "$ac_t""no" 1>&6
2881 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2882 echo "configure:2883: checking for --enable-sockets" >&5
2884 # Check whether --enable-sockets or --disable-sockets was given.
2885 if test "${enable_sockets+set}" = set; then
2886 enableval
="$enable_sockets"
2888 if test "$enableval" = yes; then
2889 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2891 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2896 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2897 if test "x$LINE" != x
; then
2898 eval "DEFAULT_$LINE"
2903 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2908 eval "$ac_cv_use_sockets"
2909 if test "$no_cache" != 1; then
2910 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2913 if test "$wxUSE_SOCKETS" = yes; then
2914 echo "$ac_t""yes" 1>&6
2916 echo "$ac_t""no" 1>&6
2921 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
2922 echo "configure:2923: checking for --enable-ipc" >&5
2924 # Check whether --enable-ipc or --disable-ipc was given.
2925 if test "${enable_ipc+set}" = set; then
2926 enableval
="$enable_ipc"
2928 if test "$enableval" = yes; then
2929 ac_cv_use_ipc
='wxUSE_IPC=yes'
2931 ac_cv_use_ipc
='wxUSE_IPC=no'
2936 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2937 if test "x$LINE" != x
; then
2938 eval "DEFAULT_$LINE"
2943 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2948 eval "$ac_cv_use_ipc"
2949 if test "$no_cache" != 1; then
2950 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2953 if test "$wxUSE_IPC" = yes; then
2954 echo "$ac_t""yes" 1>&6
2956 echo "$ac_t""no" 1>&6
2961 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
2962 echo "configure:2963: checking for --enable-cmdline" >&5
2964 # Check whether --enable-cmdline or --disable-cmdline was given.
2965 if test "${enable_cmdline+set}" = set; then
2966 enableval
="$enable_cmdline"
2968 if test "$enableval" = yes; then
2969 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
2971 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
2976 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
2977 if test "x$LINE" != x
; then
2978 eval "DEFAULT_$LINE"
2983 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
2988 eval "$ac_cv_use_cmdline"
2989 if test "$no_cache" != 1; then
2990 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
2993 if test "$wxUSE_CMDLINE_PARSER" = yes; then
2994 echo "$ac_t""yes" 1>&6
2996 echo "$ac_t""no" 1>&6
3000 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3001 echo "configure:3002: checking for --enable-datetime" >&5
3003 # Check whether --enable-datetime or --disable-datetime was given.
3004 if test "${enable_datetime+set}" = set; then
3005 enableval
="$enable_datetime"
3007 if test "$enableval" = yes; then
3008 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3010 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3015 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3016 if test "x$LINE" != x
; then
3017 eval "DEFAULT_$LINE"
3022 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3027 eval "$ac_cv_use_datetime"
3028 if test "$no_cache" != 1; then
3029 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3032 if test "$wxUSE_DATETIME" = yes; then
3033 echo "$ac_t""yes" 1>&6
3035 echo "$ac_t""no" 1>&6
3039 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3040 echo "configure:3041: checking for --enable-timedate" >&5
3042 # Check whether --enable-timedate or --disable-timedate was given.
3043 if test "${enable_timedate+set}" = set; then
3044 enableval
="$enable_timedate"
3046 if test "$enableval" = yes; then
3047 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3049 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3054 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3055 if test "x$LINE" != x
; then
3056 eval "DEFAULT_$LINE"
3061 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3066 eval "$ac_cv_use_timedate"
3067 if test "$no_cache" != 1; then
3068 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3071 if test "$wxUSE_TIMEDATE" = yes; then
3072 echo "$ac_t""yes" 1>&6
3074 echo "$ac_t""no" 1>&6
3078 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3079 echo "configure:3080: checking for --enable-stopwatch" >&5
3081 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3082 if test "${enable_stopwatch+set}" = set; then
3083 enableval
="$enable_stopwatch"
3085 if test "$enableval" = yes; then
3086 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3088 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3093 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3094 if test "x$LINE" != x
; then
3095 eval "DEFAULT_$LINE"
3100 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3105 eval "$ac_cv_use_stopwatch"
3106 if test "$no_cache" != 1; then
3107 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3110 if test "$wxUSE_STOPWATCH" = yes; then
3111 echo "$ac_t""yes" 1>&6
3113 echo "$ac_t""no" 1>&6
3117 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3118 echo "configure:3119: checking for --enable-dialupman" >&5
3120 # Check whether --enable-dialupman or --disable-dialupman was given.
3121 if test "${enable_dialupman+set}" = set; then
3122 enableval
="$enable_dialupman"
3124 if test "$enableval" = yes; then
3125 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3127 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3132 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3133 if test "x$LINE" != x
; then
3134 eval "DEFAULT_$LINE"
3139 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3144 eval "$ac_cv_use_dialupman"
3145 if test "$no_cache" != 1; then
3146 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3149 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3150 echo "$ac_t""yes" 1>&6
3152 echo "$ac_t""no" 1>&6
3156 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3157 echo "configure:3158: checking for --enable-apple_ieee" >&5
3159 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3160 if test "${enable_apple_ieee+set}" = set; then
3161 enableval
="$enable_apple_ieee"
3163 if test "$enableval" = yes; then
3164 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3166 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3171 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3172 if test "x$LINE" != x
; then
3173 eval "DEFAULT_$LINE"
3178 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3183 eval "$ac_cv_use_apple_ieee"
3184 if test "$no_cache" != 1; then
3185 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3188 if test "$wxUSE_APPLE_IEEE" = yes; then
3189 echo "$ac_t""yes" 1>&6
3191 echo "$ac_t""no" 1>&6
3195 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3196 echo "configure:3197: checking for --enable-timer" >&5
3198 # Check whether --enable-timer or --disable-timer was given.
3199 if test "${enable_timer+set}" = set; then
3200 enableval
="$enable_timer"
3202 if test "$enableval" = yes; then
3203 ac_cv_use_timer
='wxUSE_TIMER=yes'
3205 ac_cv_use_timer
='wxUSE_TIMER=no'
3210 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3211 if test "x$LINE" != x
; then
3212 eval "DEFAULT_$LINE"
3217 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3222 eval "$ac_cv_use_timer"
3223 if test "$no_cache" != 1; then
3224 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3227 if test "$wxUSE_TIMER" = yes; then
3228 echo "$ac_t""yes" 1>&6
3230 echo "$ac_t""no" 1>&6
3234 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3235 echo "configure:3236: checking for --enable-wave" >&5
3237 # Check whether --enable-wave or --disable-wave was given.
3238 if test "${enable_wave+set}" = set; then
3239 enableval
="$enable_wave"
3241 if test "$enableval" = yes; then
3242 ac_cv_use_wave
='wxUSE_WAVE=yes'
3244 ac_cv_use_wave
='wxUSE_WAVE=no'
3249 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3250 if test "x$LINE" != x
; then
3251 eval "DEFAULT_$LINE"
3256 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3261 eval "$ac_cv_use_wave"
3262 if test "$no_cache" != 1; then
3263 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3266 if test "$wxUSE_WAVE" = yes; then
3267 echo "$ac_t""yes" 1>&6
3269 echo "$ac_t""no" 1>&6
3273 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3274 echo "configure:3275: checking for --enable-fraction" >&5
3276 # Check whether --enable-fraction or --disable-fraction was given.
3277 if test "${enable_fraction+set}" = set; then
3278 enableval
="$enable_fraction"
3280 if test "$enableval" = yes; then
3281 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3283 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3288 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3289 if test "x$LINE" != x
; then
3290 eval "DEFAULT_$LINE"
3295 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3300 eval "$ac_cv_use_fraction"
3301 if test "$no_cache" != 1; then
3302 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3305 if test "$wxUSE_FRACTION" = yes; then
3306 echo "$ac_t""yes" 1>&6
3308 echo "$ac_t""no" 1>&6
3312 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3313 echo "configure:3314: checking for --enable-dynlib" >&5
3315 # Check whether --enable-dynlib or --disable-dynlib was given.
3316 if test "${enable_dynlib+set}" = set; then
3317 enableval
="$enable_dynlib"
3319 if test "$enableval" = yes; then
3320 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3322 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3327 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3328 if test "x$LINE" != x
; then
3329 eval "DEFAULT_$LINE"
3334 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3339 eval "$ac_cv_use_dynlib"
3340 if test "$no_cache" != 1; then
3341 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3344 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3345 echo "$ac_t""yes" 1>&6
3347 echo "$ac_t""no" 1>&6
3351 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3352 echo "configure:3353: checking for --enable-longlong" >&5
3354 # Check whether --enable-longlong or --disable-longlong was given.
3355 if test "${enable_longlong+set}" = set; then
3356 enableval
="$enable_longlong"
3358 if test "$enableval" = yes; then
3359 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3361 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3366 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x
; then
3368 eval "DEFAULT_$LINE"
3373 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3378 eval "$ac_cv_use_longlong"
3379 if test "$no_cache" != 1; then
3380 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3383 if test "$wxUSE_LONGLONG" = yes; then
3384 echo "$ac_t""yes" 1>&6
3386 echo "$ac_t""no" 1>&6
3390 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3391 echo "configure:3392: checking for --enable-geometry" >&5
3393 # Check whether --enable-geometry or --disable-geometry was given.
3394 if test "${enable_geometry+set}" = set; then
3395 enableval
="$enable_geometry"
3397 if test "$enableval" = yes; then
3398 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3400 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3405 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x
; then
3407 eval "DEFAULT_$LINE"
3412 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3417 eval "$ac_cv_use_geometry"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_GEOMETRY" = yes; then
3423 echo "$ac_t""yes" 1>&6
3425 echo "$ac_t""no" 1>&6
3429 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3430 echo "configure:3431: checking for --enable-log" >&5
3432 # Check whether --enable-log or --disable-log was given.
3433 if test "${enable_log+set}" = set; then
3434 enableval
="$enable_log"
3436 if test "$enableval" = yes; then
3437 ac_cv_use_log
='wxUSE_LOG=yes'
3439 ac_cv_use_log
='wxUSE_LOG=no'
3444 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3445 if test "x$LINE" != x
; then
3446 eval "DEFAULT_$LINE"
3451 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3456 eval "$ac_cv_use_log"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3461 if test "$wxUSE_LOG" = yes; then
3462 echo "$ac_t""yes" 1>&6
3464 echo "$ac_t""no" 1>&6
3468 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3469 echo "configure:3470: checking for --enable-streams" >&5
3471 # Check whether --enable-streams or --disable-streams was given.
3472 if test "${enable_streams+set}" = set; then
3473 enableval
="$enable_streams"
3475 if test "$enableval" = yes; then
3476 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3478 ac_cv_use_streams
='wxUSE_STREAMS=no'
3483 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x
; then
3485 eval "DEFAULT_$LINE"
3490 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3495 eval "$ac_cv_use_streams"
3496 if test "$no_cache" != 1; then
3497 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3500 if test "$wxUSE_STREAMS" = yes; then
3501 echo "$ac_t""yes" 1>&6
3503 echo "$ac_t""no" 1>&6
3507 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3508 echo "configure:3509: checking for --enable-file" >&5
3510 # Check whether --enable-file or --disable-file was given.
3511 if test "${enable_file+set}" = set; then
3512 enableval
="$enable_file"
3514 if test "$enableval" = yes; then
3515 ac_cv_use_file
='wxUSE_FILE=yes'
3517 ac_cv_use_file
='wxUSE_FILE=no'
3522 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3523 if test "x$LINE" != x
; then
3524 eval "DEFAULT_$LINE"
3529 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3534 eval "$ac_cv_use_file"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3539 if test "$wxUSE_FILE" = yes; then
3540 echo "$ac_t""yes" 1>&6
3542 echo "$ac_t""no" 1>&6
3546 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3547 echo "configure:3548: checking for --enable-ffile" >&5
3549 # Check whether --enable-ffile or --disable-ffile was given.
3550 if test "${enable_ffile+set}" = set; then
3551 enableval
="$enable_ffile"
3553 if test "$enableval" = yes; then
3554 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3556 ac_cv_use_ffile
='wxUSE_FFILE=no'
3561 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3562 if test "x$LINE" != x
; then
3563 eval "DEFAULT_$LINE"
3568 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3573 eval "$ac_cv_use_ffile"
3574 if test "$no_cache" != 1; then
3575 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3578 if test "$wxUSE_FFILE" = yes; then
3579 echo "$ac_t""yes" 1>&6
3581 echo "$ac_t""no" 1>&6
3585 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3586 echo "configure:3587: checking for --enable-textfile" >&5
3588 # Check whether --enable-textfile or --disable-textfile was given.
3589 if test "${enable_textfile+set}" = set; then
3590 enableval
="$enable_textfile"
3592 if test "$enableval" = yes; then
3593 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3595 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3600 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3601 if test "x$LINE" != x
; then
3602 eval "DEFAULT_$LINE"
3607 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3612 eval "$ac_cv_use_textfile"
3613 if test "$no_cache" != 1; then
3614 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3617 if test "$wxUSE_TEXTFILE" = yes; then
3618 echo "$ac_t""yes" 1>&6
3620 echo "$ac_t""no" 1>&6
3624 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3625 echo "configure:3626: checking for --enable-fontmap" >&5
3627 # Check whether --enable-fontmap or --disable-fontmap was given.
3628 if test "${enable_fontmap+set}" = set; then
3629 enableval
="$enable_fontmap"
3631 if test "$enableval" = yes; then
3632 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3634 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3639 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3640 if test "x$LINE" != x
; then
3641 eval "DEFAULT_$LINE"
3646 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3651 eval "$ac_cv_use_fontmap"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3656 if test "$wxUSE_FONTMAP" = yes; then
3657 echo "$ac_t""yes" 1>&6
3659 echo "$ac_t""no" 1>&6
3663 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3664 echo "configure:3665: checking for --enable-unicode" >&5
3666 # Check whether --enable-unicode or --disable-unicode was given.
3667 if test "${enable_unicode+set}" = set; then
3668 enableval
="$enable_unicode"
3670 if test "$enableval" = yes; then
3671 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3673 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3678 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3679 if test "x$LINE" != x
; then
3680 eval "DEFAULT_$LINE"
3685 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3690 eval "$ac_cv_use_unicode"
3691 if test "$no_cache" != 1; then
3692 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3695 if test "$wxUSE_UNICODE" = yes; then
3696 echo "$ac_t""yes" 1>&6
3698 echo "$ac_t""no" 1>&6
3702 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3703 echo "configure:3704: checking for --enable-wcsrtombs" >&5
3705 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3706 if test "${enable_wcsrtombs+set}" = set; then
3707 enableval
="$enable_wcsrtombs"
3709 if test "$enableval" = yes; then
3710 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3712 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3717 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3718 if test "x$LINE" != x
; then
3719 eval "DEFAULT_$LINE"
3724 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3729 eval "$ac_cv_use_wcsrtombs"
3730 if test "$no_cache" != 1; then
3731 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3734 if test "$wxUSE_WCSRTOMBS" = yes; then
3735 echo "$ac_t""yes" 1>&6
3737 echo "$ac_t""no" 1>&6
3741 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3742 echo "configure:3743: checking for --enable-wxprintfv" >&5
3744 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3745 if test "${enable_wxprintfv+set}" = set; then
3746 enableval
="$enable_wxprintfv"
3748 if test "$enableval" = yes; then
3749 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3751 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3756 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x
; then
3758 eval "DEFAULT_$LINE"
3763 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3768 eval "$ac_cv_use_wxprintfv"
3769 if test "$no_cache" != 1; then
3770 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3773 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3774 echo "$ac_t""yes" 1>&6
3776 echo "$ac_t""no" 1>&6
3780 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3781 echo "configure:3782: checking for --enable-std_iostreams" >&5
3783 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3784 if test "${enable_std_iostreams+set}" = set; then
3785 enableval
="$enable_std_iostreams"
3787 if test "$enableval" = yes; then
3788 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3790 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3795 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x
; then
3797 eval "DEFAULT_$LINE"
3802 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3807 eval "$ac_cv_use_std_iostreams"
3808 if test "$no_cache" != 1; then
3809 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3812 if test "$wxUSE_STD_IOSTREAM" = yes; then
3813 echo "$ac_t""yes" 1>&6
3815 echo "$ac_t""no" 1>&6
3819 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3820 echo "configure:3821: checking for --enable-filesystem" >&5
3822 # Check whether --enable-filesystem or --disable-filesystem was given.
3823 if test "${enable_filesystem+set}" = set; then
3824 enableval
="$enable_filesystem"
3826 if test "$enableval" = yes; then
3827 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3829 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3834 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3835 if test "x$LINE" != x
; then
3836 eval "DEFAULT_$LINE"
3841 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3846 eval "$ac_cv_use_filesystem"
3847 if test "$no_cache" != 1; then
3848 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3851 if test "$wxUSE_FILESYSTEM" = yes; then
3852 echo "$ac_t""yes" 1>&6
3854 echo "$ac_t""no" 1>&6
3858 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3859 echo "configure:3860: checking for --enable-fs_inet" >&5
3861 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3862 if test "${enable_fs_inet+set}" = set; then
3863 enableval
="$enable_fs_inet"
3865 if test "$enableval" = yes; then
3866 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3868 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3873 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3874 if test "x$LINE" != x
; then
3875 eval "DEFAULT_$LINE"
3880 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3885 eval "$ac_cv_use_fs_inet"
3886 if test "$no_cache" != 1; then
3887 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3890 if test "$wxUSE_FS_INET" = yes; then
3891 echo "$ac_t""yes" 1>&6
3893 echo "$ac_t""no" 1>&6
3897 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3898 echo "configure:3899: checking for --enable-fs_zip" >&5
3900 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3901 if test "${enable_fs_zip+set}" = set; then
3902 enableval
="$enable_fs_zip"
3904 if test "$enableval" = yes; then
3905 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3907 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3912 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3913 if test "x$LINE" != x
; then
3914 eval "DEFAULT_$LINE"
3919 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3924 eval "$ac_cv_use_fs_zip"
3925 if test "$no_cache" != 1; then
3926 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3929 if test "$wxUSE_FS_ZIP" = yes; then
3930 echo "$ac_t""yes" 1>&6
3932 echo "$ac_t""no" 1>&6
3936 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3937 echo "configure:3938: checking for --enable-zipstream" >&5
3939 # Check whether --enable-zipstream or --disable-zipstream was given.
3940 if test "${enable_zipstream+set}" = set; then
3941 enableval
="$enable_zipstream"
3943 if test "$enableval" = yes; then
3944 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3946 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3951 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x
; then
3953 eval "DEFAULT_$LINE"
3958 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3963 eval "$ac_cv_use_zipstream"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3968 if test "$wxUSE_ZIPSTREAM" = yes; then
3969 echo "$ac_t""yes" 1>&6
3971 echo "$ac_t""no" 1>&6
3976 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
3977 echo "configure:3978: checking for --enable-catch_segvs" >&5
3979 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3980 if test "${enable_catch_segvs+set}" = set; then
3981 enableval
="$enable_catch_segvs"
3983 if test "$enableval" = yes; then
3984 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3986 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3991 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3992 if test "x$LINE" != x
; then
3993 eval "DEFAULT_$LINE"
3998 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4003 eval "$ac_cv_use_catch_segvs"
4004 if test "$no_cache" != 1; then
4005 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4008 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4009 echo "$ac_t""yes" 1>&6
4011 echo "$ac_t""no" 1>&6
4015 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4016 echo "configure:4017: checking for --enable-snglinst" >&5
4018 # Check whether --enable-snglinst or --disable-snglinst was given.
4019 if test "${enable_snglinst+set}" = set; then
4020 enableval
="$enable_snglinst"
4022 if test "$enableval" = yes; then
4023 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4025 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4030 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4031 if test "x$LINE" != x
; then
4032 eval "DEFAULT_$LINE"
4037 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4042 eval "$ac_cv_use_snglinst"
4043 if test "$no_cache" != 1; then
4044 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4047 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4048 echo "$ac_t""yes" 1>&6
4050 echo "$ac_t""no" 1>&6
4055 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4056 echo "configure:4057: checking for --enable-mimetype" >&5
4058 # Check whether --enable-mimetype or --disable-mimetype was given.
4059 if test "${enable_mimetype+set}" = set; then
4060 enableval
="$enable_mimetype"
4062 if test "$enableval" = yes; then
4063 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4065 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4070 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4071 if test "x$LINE" != x
; then
4072 eval "DEFAULT_$LINE"
4077 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4082 eval "$ac_cv_use_mimetype"
4083 if test "$no_cache" != 1; then
4084 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4087 if test "$wxUSE_MIMETYPE" = yes; then
4088 echo "$ac_t""yes" 1>&6
4090 echo "$ac_t""no" 1>&6
4096 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4097 echo "configure:4098: checking for --enable-threads" >&5
4099 # Check whether --enable-threads or --disable-threads was given.
4100 if test "${enable_threads+set}" = set; then
4101 enableval
="$enable_threads"
4103 if test "$enableval" = yes; then
4104 ac_cv_use_threads
='wxUSE_THREADS=yes'
4106 ac_cv_use_threads
='wxUSE_THREADS=no'
4111 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4112 if test "x$LINE" != x
; then
4113 eval "DEFAULT_$LINE"
4118 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4123 eval "$ac_cv_use_threads"
4124 if test "$no_cache" != 1; then
4125 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4128 if test "$wxUSE_THREADS" = yes; then
4129 echo "$ac_t""yes" 1>&6
4131 echo "$ac_t""no" 1>&6
4135 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4136 echo "configure:4137: checking for --enable-serial" >&5
4138 # Check whether --enable-serial or --disable-serial was given.
4139 if test "${enable_serial+set}" = set; then
4140 enableval
="$enable_serial"
4142 if test "$enableval" = yes; then
4143 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4145 ac_cv_use_serial
='wxUSE_SERIAL=no'
4150 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4151 if test "x$LINE" != x
; then
4152 eval "DEFAULT_$LINE"
4157 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4162 eval "$ac_cv_use_serial"
4163 if test "$no_cache" != 1; then
4164 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4167 if test "$wxUSE_SERIAL" = yes; then
4168 echo "$ac_t""yes" 1>&6
4170 echo "$ac_t""no" 1>&6
4174 if test "$wxUSE_GUI" = "yes"; then
4178 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4179 echo "configure:4180: checking for --enable-docview" >&5
4181 # Check whether --enable-docview or --disable-docview was given.
4182 if test "${enable_docview+set}" = set; then
4183 enableval
="$enable_docview"
4185 if test "$enableval" = yes; then
4186 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4188 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4193 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4194 if test "x$LINE" != x
; then
4195 eval "DEFAULT_$LINE"
4200 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4205 eval "$ac_cv_use_docview"
4206 if test "$no_cache" != 1; then
4207 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4210 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4211 echo "$ac_t""yes" 1>&6
4213 echo "$ac_t""no" 1>&6
4217 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4218 echo "configure:4219: checking for --enable-help" >&5
4220 # Check whether --enable-help or --disable-help was given.
4221 if test "${enable_help+set}" = set; then
4222 enableval
="$enable_help"
4224 if test "$enableval" = yes; then
4225 ac_cv_use_help
='wxUSE_HELP=yes'
4227 ac_cv_use_help
='wxUSE_HELP=no'
4232 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4233 if test "x$LINE" != x
; then
4234 eval "DEFAULT_$LINE"
4239 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4244 eval "$ac_cv_use_help"
4245 if test "$no_cache" != 1; then
4246 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4249 if test "$wxUSE_HELP" = yes; then
4250 echo "$ac_t""yes" 1>&6
4252 echo "$ac_t""no" 1>&6
4256 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4257 echo "configure:4258: checking for --enable-constraints" >&5
4259 # Check whether --enable-constraints or --disable-constraints was given.
4260 if test "${enable_constraints+set}" = set; then
4261 enableval
="$enable_constraints"
4263 if test "$enableval" = yes; then
4264 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4266 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4271 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4272 if test "x$LINE" != x
; then
4273 eval "DEFAULT_$LINE"
4278 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4283 eval "$ac_cv_use_constraints"
4284 if test "$no_cache" != 1; then
4285 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4288 if test "$wxUSE_CONSTRAINTS" = yes; then
4289 echo "$ac_t""yes" 1>&6
4291 echo "$ac_t""no" 1>&6
4295 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4296 echo "configure:4297: checking for --enable-printarch" >&5
4298 # Check whether --enable-printarch or --disable-printarch was given.
4299 if test "${enable_printarch+set}" = set; then
4300 enableval
="$enable_printarch"
4302 if test "$enableval" = yes; then
4303 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4305 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4310 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4311 if test "x$LINE" != x
; then
4312 eval "DEFAULT_$LINE"
4317 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4322 eval "$ac_cv_use_printarch"
4323 if test "$no_cache" != 1; then
4324 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4327 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4328 echo "$ac_t""yes" 1>&6
4330 echo "$ac_t""no" 1>&6
4334 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4335 echo "configure:4336: checking for --enable-mdi" >&5
4337 # Check whether --enable-mdi or --disable-mdi was given.
4338 if test "${enable_mdi+set}" = set; then
4339 enableval
="$enable_mdi"
4341 if test "$enableval" = yes; then
4342 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4344 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4349 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4350 if test "x$LINE" != x
; then
4351 eval "DEFAULT_$LINE"
4356 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4361 eval "$ac_cv_use_mdi"
4362 if test "$no_cache" != 1; then
4363 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4366 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4367 echo "$ac_t""yes" 1>&6
4369 echo "$ac_t""no" 1>&6
4373 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4374 echo "configure:4375: checking for --enable-loggui" >&5
4376 # Check whether --enable-loggui or --disable-loggui was given.
4377 if test "${enable_loggui+set}" = set; then
4378 enableval
="$enable_loggui"
4380 if test "$enableval" = yes; then
4381 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4383 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4388 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4389 if test "x$LINE" != x
; then
4390 eval "DEFAULT_$LINE"
4395 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4400 eval "$ac_cv_use_loggui"
4401 if test "$no_cache" != 1; then
4402 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4405 if test "$wxUSE_LOGGUI" = yes; then
4406 echo "$ac_t""yes" 1>&6
4408 echo "$ac_t""no" 1>&6
4412 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4413 echo "configure:4414: checking for --enable-logwin" >&5
4415 # Check whether --enable-logwin or --disable-logwin was given.
4416 if test "${enable_logwin+set}" = set; then
4417 enableval
="$enable_logwin"
4419 if test "$enableval" = yes; then
4420 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4422 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4427 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4428 if test "x$LINE" != x
; then
4429 eval "DEFAULT_$LINE"
4434 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4439 eval "$ac_cv_use_logwin"
4440 if test "$no_cache" != 1; then
4441 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4444 if test "$wxUSE_LOGWINDOW" = yes; then
4445 echo "$ac_t""yes" 1>&6
4447 echo "$ac_t""no" 1>&6
4452 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4453 echo "configure:4454: checking for --enable-postscript" >&5
4455 # Check whether --enable-postscript or --disable-postscript was given.
4456 if test "${enable_postscript+set}" = set; then
4457 enableval
="$enable_postscript"
4459 if test "$enableval" = yes; then
4460 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4462 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4467 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4468 if test "x$LINE" != x
; then
4469 eval "DEFAULT_$LINE"
4474 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4479 eval "$ac_cv_use_postscript"
4480 if test "$no_cache" != 1; then
4481 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4484 if test "$wxUSE_POSTSCRIPT" = yes; then
4485 echo "$ac_t""yes" 1>&6
4487 echo "$ac_t""no" 1>&6
4494 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4495 echo "configure:4496: checking for --enable-prologio" >&5
4497 # Check whether --enable-prologio or --disable-prologio was given.
4498 if test "${enable_prologio+set}" = set; then
4499 enableval
="$enable_prologio"
4501 if test "$enableval" = yes; then
4502 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4504 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4509 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4510 if test "x$LINE" != x
; then
4511 eval "DEFAULT_$LINE"
4516 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4521 eval "$ac_cv_use_prologio"
4522 if test "$no_cache" != 1; then
4523 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4526 if test "$wxUSE_PROLOGIO" = yes; then
4527 echo "$ac_t""yes" 1>&6
4529 echo "$ac_t""no" 1>&6
4533 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4534 echo "configure:4535: checking for --enable-resources" >&5
4536 # Check whether --enable-resources or --disable-resources was given.
4537 if test "${enable_resources+set}" = set; then
4538 enableval
="$enable_resources"
4540 if test "$enableval" = yes; then
4541 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4543 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4548 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4549 if test "x$LINE" != x
; then
4550 eval "DEFAULT_$LINE"
4555 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4560 eval "$ac_cv_use_resources"
4561 if test "$no_cache" != 1; then
4562 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4565 if test "$wxUSE_RESOURCES" = yes; then
4566 echo "$ac_t""yes" 1>&6
4568 echo "$ac_t""no" 1>&6
4573 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4574 echo "configure:4575: checking for --enable-xresources" >&5
4576 # Check whether --enable-xresources or --disable-xresources was given.
4577 if test "${enable_xresources+set}" = set; then
4578 enableval
="$enable_xresources"
4580 if test "$enableval" = yes; then
4581 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4583 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4588 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4589 if test "x$LINE" != x
; then
4590 eval "DEFAULT_$LINE"
4595 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4600 eval "$ac_cv_use_xresources"
4601 if test "$no_cache" != 1; then
4602 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4605 if test "$wxUSE_X_RESOURCES" = yes; then
4606 echo "$ac_t""yes" 1>&6
4608 echo "$ac_t""no" 1>&6
4614 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4615 echo "configure:4616: checking for --enable-clipboard" >&5
4617 # Check whether --enable-clipboard or --disable-clipboard was given.
4618 if test "${enable_clipboard+set}" = set; then
4619 enableval
="$enable_clipboard"
4621 if test "$enableval" = yes; then
4622 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4624 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4629 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4630 if test "x$LINE" != x
; then
4631 eval "DEFAULT_$LINE"
4636 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4641 eval "$ac_cv_use_clipboard"
4642 if test "$no_cache" != 1; then
4643 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4646 if test "$wxUSE_CLIPBOARD" = yes; then
4647 echo "$ac_t""yes" 1>&6
4649 echo "$ac_t""no" 1>&6
4653 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4654 echo "configure:4655: checking for --enable-dnd" >&5
4656 # Check whether --enable-dnd or --disable-dnd was given.
4657 if test "${enable_dnd+set}" = set; then
4658 enableval
="$enable_dnd"
4660 if test "$enableval" = yes; then
4661 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4663 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4668 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4669 if test "x$LINE" != x
; then
4670 eval "DEFAULT_$LINE"
4675 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4680 eval "$ac_cv_use_dnd"
4681 if test "$no_cache" != 1; then
4682 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4685 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4686 echo "$ac_t""yes" 1>&6
4688 echo "$ac_t""no" 1>&6
4692 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4693 echo "configure:4694: checking for --enable-metafile" >&5
4695 # Check whether --enable-metafile or --disable-metafile was given.
4696 if test "${enable_metafile+set}" = set; then
4697 enableval
="$enable_metafile"
4699 if test "$enableval" = yes; then
4700 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4702 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4707 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x
; then
4709 eval "DEFAULT_$LINE"
4714 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4719 eval "$ac_cv_use_metafile"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4724 if test "$wxUSE_METAFILE" = yes; then
4725 echo "$ac_t""yes" 1>&6
4727 echo "$ac_t""no" 1>&6
4732 echo $ac_n "checking for --enable-wxtree""... $ac_c" 1>&6
4733 echo "configure:4734: checking for --enable-wxtree" >&5
4735 # Check whether --enable-wxtree or --disable-wxtree was given.
4736 if test "${enable_wxtree+set}" = set; then
4737 enableval
="$enable_wxtree"
4739 if test "$enableval" = yes; then
4740 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4742 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4747 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4748 if test "x$LINE" != x
; then
4749 eval "DEFAULT_$LINE"
4754 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4759 eval "$ac_cv_use_wxtree"
4760 if test "$no_cache" != 1; then
4761 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4764 if test "$wxUSE_WXTREE" = yes; then
4765 echo "$ac_t""yes" 1>&6
4767 echo "$ac_t""no" 1>&6
4773 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4774 echo "configure:4775: checking for --enable-controls" >&5
4776 # Check whether --enable-controls or --disable-controls was given.
4777 if test "${enable_controls+set}" = set; then
4778 enableval
="$enable_controls"
4780 if test "$enableval" = yes; then
4781 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4783 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4788 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4789 if test "x$LINE" != x
; then
4790 eval "DEFAULT_$LINE"
4795 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4800 eval "$ac_cv_use_controls"
4801 if test "$no_cache" != 1; then
4802 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4805 if test "$wxUSE_CONTROLS" = yes; then
4806 echo "$ac_t""yes" 1>&6
4808 echo "$ac_t""no" 1>&6
4812 if test "$wxUSE_CONTROLS" = "yes"; then
4813 DEFAULT_wxUSE_ACCEL
=yes
4814 DEFAULT_wxUSE_BMPBUTTON
=yes
4815 DEFAULT_wxUSE_BUTTON
=yes
4816 DEFAULT_wxUSE_CALCTRL
=no
4817 DEFAULT_wxUSE_CARET
=yes
4818 DEFAULT_wxUSE_COMBOBOX
=yes
4819 DEFAULT_wxUSE_CHECKBOX
=yes
4820 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4821 DEFAULT_wxUSE_CHOICE
=yes
4822 DEFAULT_wxUSE_GAUGE
=yes
4823 DEFAULT_wxUSE_GRID
=yes
4824 DEFAULT_wxUSE_NEW_GRID
=yes
4825 DEFAULT_wxUSE_IMAGLIST
=yes
4826 DEFAULT_wxUSE_LISTBOX
=yes
4827 DEFAULT_wxUSE_LISTCTRL
=yes
4828 DEFAULT_wxUSE_NOTEBOOK
=yes
4829 DEFAULT_wxUSE_RADIOBOX
=yes
4830 DEFAULT_wxUSE_RADIOBTN
=yes
4831 DEFAULT_wxUSE_SASH
=yes
4832 DEFAULT_wxUSE_SCROLLBAR
=yes
4833 DEFAULT_wxUSE_SLIDER
=yes
4834 DEFAULT_wxUSE_SPINBTN
=yes
4835 DEFAULT_wxUSE_SPINCTRL
=yes
4836 DEFAULT_wxUSE_SPLITTER
=yes
4837 DEFAULT_wxUSE_STATBMP
=yes
4838 DEFAULT_wxUSE_STATBOX
=yes
4839 DEFAULT_wxUSE_STATLINE
=yes
4840 DEFAULT_wxUSE_STATUSBAR
=yes
4841 DEFAULT_wxUSE_TAB_DIALOG
=yes
4842 DEFAULT_wxUSE_TOGGLEBTN
=yes
4843 DEFAULT_wxUSE_TOOLBAR
=yes
4844 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4845 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4846 DEFAULT_wxUSE_TOOLTIPS
=yes
4847 DEFAULT_wxUSE_TREECTRL
=yes
4848 elif test "$wxUSE_CONTROLS" = "no"; then
4849 DEFAULT_wxUSE_ACCEL
=no
4850 DEFAULT_wxUSE_BMPBUTTON
=no
4851 DEFAULT_wxUSE_BUTTON
=no
4852 DEFAULT_wxUSE_CALCTRL
=no
4853 DEFAULT_wxUSE_CARET
=no
4854 DEFAULT_wxUSE_COMBOBOX
=no
4855 DEFAULT_wxUSE_CHECKBOX
=no
4856 DEFAULT_wxUSE_CHECKLISTBOX
=no
4857 DEFAULT_wxUSE_CHOICE
=no
4858 DEFAULT_wxUSE_GAUGE
=no
4859 DEFAULT_wxUSE_GRID
=no
4860 DEFAULT_wxUSE_NEW_GRID
=no
4861 DEFAULT_wxUSE_IMAGLIST
=no
4862 DEFAULT_wxUSE_LISTBOX
=no
4863 DEFAULT_wxUSE_LISTCTRL
=no
4864 DEFAULT_wxUSE_NOTEBOOK
=no
4865 DEFAULT_wxUSE_RADIOBOX
=no
4866 DEFAULT_wxUSE_RADIOBTN
=no
4867 DEFAULT_wxUSE_SASH
=no
4868 DEFAULT_wxUSE_SCROLLBAR
=no
4869 DEFAULT_wxUSE_SLIDER
=no
4870 DEFAULT_wxUSE_SPINBTN
=no
4871 DEFAULT_wxUSE_SPINCTRL
=no
4872 DEFAULT_wxUSE_SPLITTER
=no
4873 DEFAULT_wxUSE_STATBMP
=no
4874 DEFAULT_wxUSE_STATBOX
=no
4875 DEFAULT_wxUSE_STATLINE
=no
4876 DEFAULT_wxUSE_STATUSBAR
=no
4877 DEFAULT_wxUSE_TAB_DIALOG
=no
4878 DEFAULT_wxUSE_TOGGLEBTN
=no
4879 DEFAULT_wxUSE_TOOLBAR
=no
4880 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4881 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4882 DEFAULT_wxUSE_TOOLTIPS
=no
4883 DEFAULT_wxUSE_TREECTRL
=no
4887 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
4888 echo "configure:4889: checking for --enable-accel" >&5
4890 # Check whether --enable-accel or --disable-accel was given.
4891 if test "${enable_accel+set}" = set; then
4892 enableval
="$enable_accel"
4894 if test "$enableval" = yes; then
4895 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4897 ac_cv_use_accel
='wxUSE_ACCEL=no'
4902 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4903 if test "x$LINE" != x
; then
4904 eval "DEFAULT_$LINE"
4909 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4914 eval "$ac_cv_use_accel"
4915 if test "$no_cache" != 1; then
4916 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4919 if test "$wxUSE_ACCEL" = yes; then
4920 echo "$ac_t""yes" 1>&6
4922 echo "$ac_t""no" 1>&6
4926 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
4927 echo "configure:4928: checking for --enable-button" >&5
4929 # Check whether --enable-button or --disable-button was given.
4930 if test "${enable_button+set}" = set; then
4931 enableval
="$enable_button"
4933 if test "$enableval" = yes; then
4934 ac_cv_use_button
='wxUSE_BUTTON=yes'
4936 ac_cv_use_button
='wxUSE_BUTTON=no'
4941 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
4942 if test "x$LINE" != x
; then
4943 eval "DEFAULT_$LINE"
4948 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
4953 eval "$ac_cv_use_button"
4954 if test "$no_cache" != 1; then
4955 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
4958 if test "$wxUSE_BUTTON" = yes; then
4959 echo "$ac_t""yes" 1>&6
4961 echo "$ac_t""no" 1>&6
4965 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
4966 echo "configure:4967: checking for --enable-bmpbutton" >&5
4968 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4969 if test "${enable_bmpbutton+set}" = set; then
4970 enableval
="$enable_bmpbutton"
4972 if test "$enableval" = yes; then
4973 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4975 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4980 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4981 if test "x$LINE" != x
; then
4982 eval "DEFAULT_$LINE"
4987 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4992 eval "$ac_cv_use_bmpbutton"
4993 if test "$no_cache" != 1; then
4994 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4997 if test "$wxUSE_BMPBUTTON" = yes; then
4998 echo "$ac_t""yes" 1>&6
5000 echo "$ac_t""no" 1>&6
5004 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5005 echo "configure:5006: checking for --enable-calendar" >&5
5007 # Check whether --enable-calendar or --disable-calendar was given.
5008 if test "${enable_calendar+set}" = set; then
5009 enableval
="$enable_calendar"
5011 if test "$enableval" = yes; then
5012 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5014 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5019 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5020 if test "x$LINE" != x
; then
5021 eval "DEFAULT_$LINE"
5026 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5031 eval "$ac_cv_use_calendar"
5032 if test "$no_cache" != 1; then
5033 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5036 if test "$wxUSE_CALCTRL" = yes; then
5037 echo "$ac_t""yes" 1>&6
5039 echo "$ac_t""no" 1>&6
5043 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5044 echo "configure:5045: checking for --enable-caret" >&5
5046 # Check whether --enable-caret or --disable-caret was given.
5047 if test "${enable_caret+set}" = set; then
5048 enableval
="$enable_caret"
5050 if test "$enableval" = yes; then
5051 ac_cv_use_caret
='wxUSE_CARET=yes'
5053 ac_cv_use_caret
='wxUSE_CARET=no'
5058 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5059 if test "x$LINE" != x
; then
5060 eval "DEFAULT_$LINE"
5065 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5070 eval "$ac_cv_use_caret"
5071 if test "$no_cache" != 1; then
5072 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5075 if test "$wxUSE_CARET" = yes; then
5076 echo "$ac_t""yes" 1>&6
5078 echo "$ac_t""no" 1>&6
5082 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5083 echo "configure:5084: checking for --enable-checkbox" >&5
5085 # Check whether --enable-checkbox or --disable-checkbox was given.
5086 if test "${enable_checkbox+set}" = set; then
5087 enableval
="$enable_checkbox"
5089 if test "$enableval" = yes; then
5090 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5092 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5097 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5098 if test "x$LINE" != x
; then
5099 eval "DEFAULT_$LINE"
5104 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5109 eval "$ac_cv_use_checkbox"
5110 if test "$no_cache" != 1; then
5111 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5114 if test "$wxUSE_CHECKBOX" = yes; then
5115 echo "$ac_t""yes" 1>&6
5117 echo "$ac_t""no" 1>&6
5121 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5122 echo "configure:5123: checking for --enable-checklst" >&5
5124 # Check whether --enable-checklst or --disable-checklst was given.
5125 if test "${enable_checklst+set}" = set; then
5126 enableval
="$enable_checklst"
5128 if test "$enableval" = yes; then
5129 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5131 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5136 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5137 if test "x$LINE" != x
; then
5138 eval "DEFAULT_$LINE"
5143 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5148 eval "$ac_cv_use_checklst"
5149 if test "$no_cache" != 1; then
5150 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5153 if test "$wxUSE_CHECKLST" = yes; then
5154 echo "$ac_t""yes" 1>&6
5156 echo "$ac_t""no" 1>&6
5160 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5161 echo "configure:5162: checking for --enable-choice" >&5
5163 # Check whether --enable-choice or --disable-choice was given.
5164 if test "${enable_choice+set}" = set; then
5165 enableval
="$enable_choice"
5167 if test "$enableval" = yes; then
5168 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5170 ac_cv_use_choice
='wxUSE_CHOICE=no'
5175 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5176 if test "x$LINE" != x
; then
5177 eval "DEFAULT_$LINE"
5182 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5187 eval "$ac_cv_use_choice"
5188 if test "$no_cache" != 1; then
5189 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5192 if test "$wxUSE_CHOICE" = yes; then
5193 echo "$ac_t""yes" 1>&6
5195 echo "$ac_t""no" 1>&6
5199 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5200 echo "configure:5201: checking for --enable-combobox" >&5
5202 # Check whether --enable-combobox or --disable-combobox was given.
5203 if test "${enable_combobox+set}" = set; then
5204 enableval
="$enable_combobox"
5206 if test "$enableval" = yes; then
5207 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5209 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5214 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5215 if test "x$LINE" != x
; then
5216 eval "DEFAULT_$LINE"
5221 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5226 eval "$ac_cv_use_combobox"
5227 if test "$no_cache" != 1; then
5228 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5231 if test "$wxUSE_COMBOBOX" = yes; then
5232 echo "$ac_t""yes" 1>&6
5234 echo "$ac_t""no" 1>&6
5238 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5239 echo "configure:5240: checking for --enable-gauge" >&5
5241 # Check whether --enable-gauge or --disable-gauge was given.
5242 if test "${enable_gauge+set}" = set; then
5243 enableval
="$enable_gauge"
5245 if test "$enableval" = yes; then
5246 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5248 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5253 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5254 if test "x$LINE" != x
; then
5255 eval "DEFAULT_$LINE"
5260 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5265 eval "$ac_cv_use_gauge"
5266 if test "$no_cache" != 1; then
5267 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5270 if test "$wxUSE_GAUGE" = yes; then
5271 echo "$ac_t""yes" 1>&6
5273 echo "$ac_t""no" 1>&6
5277 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5278 echo "configure:5279: checking for --enable-grid" >&5
5280 # Check whether --enable-grid or --disable-grid was given.
5281 if test "${enable_grid+set}" = set; then
5282 enableval
="$enable_grid"
5284 if test "$enableval" = yes; then
5285 ac_cv_use_grid
='wxUSE_GRID=yes'
5287 ac_cv_use_grid
='wxUSE_GRID=no'
5292 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5293 if test "x$LINE" != x
; then
5294 eval "DEFAULT_$LINE"
5299 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5304 eval "$ac_cv_use_grid"
5305 if test "$no_cache" != 1; then
5306 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5309 if test "$wxUSE_GRID" = yes; then
5310 echo "$ac_t""yes" 1>&6
5312 echo "$ac_t""no" 1>&6
5316 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5317 echo "configure:5318: checking for --enable-newgrid" >&5
5319 # Check whether --enable-newgrid or --disable-newgrid was given.
5320 if test "${enable_newgrid+set}" = set; then
5321 enableval
="$enable_newgrid"
5323 if test "$enableval" = yes; then
5324 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5326 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5331 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5332 if test "x$LINE" != x
; then
5333 eval "DEFAULT_$LINE"
5338 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5343 eval "$ac_cv_use_newgrid"
5344 if test "$no_cache" != 1; then
5345 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5348 if test "$wxUSE_NEW_GRID" = yes; then
5349 echo "$ac_t""yes" 1>&6
5351 echo "$ac_t""no" 1>&6
5355 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5356 echo "configure:5357: checking for --enable-imaglist" >&5
5358 # Check whether --enable-imaglist or --disable-imaglist was given.
5359 if test "${enable_imaglist+set}" = set; then
5360 enableval
="$enable_imaglist"
5362 if test "$enableval" = yes; then
5363 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5365 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5370 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x
; then
5372 eval "DEFAULT_$LINE"
5377 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5382 eval "$ac_cv_use_imaglist"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5387 if test "$wxUSE_IMAGLIST" = yes; then
5388 echo "$ac_t""yes" 1>&6
5390 echo "$ac_t""no" 1>&6
5394 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5395 echo "configure:5396: checking for --enable-listbox" >&5
5397 # Check whether --enable-listbox or --disable-listbox was given.
5398 if test "${enable_listbox+set}" = set; then
5399 enableval
="$enable_listbox"
5401 if test "$enableval" = yes; then
5402 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5404 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5409 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5410 if test "x$LINE" != x
; then
5411 eval "DEFAULT_$LINE"
5416 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5421 eval "$ac_cv_use_listbox"
5422 if test "$no_cache" != 1; then
5423 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5426 if test "$wxUSE_LISTBOX" = yes; then
5427 echo "$ac_t""yes" 1>&6
5429 echo "$ac_t""no" 1>&6
5433 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5434 echo "configure:5435: checking for --enable-listctrl" >&5
5436 # Check whether --enable-listctrl or --disable-listctrl was given.
5437 if test "${enable_listctrl+set}" = set; then
5438 enableval
="$enable_listctrl"
5440 if test "$enableval" = yes; then
5441 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5443 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5448 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5449 if test "x$LINE" != x
; then
5450 eval "DEFAULT_$LINE"
5455 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5460 eval "$ac_cv_use_listctrl"
5461 if test "$no_cache" != 1; then
5462 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5465 if test "$wxUSE_LISTCTRL" = yes; then
5466 echo "$ac_t""yes" 1>&6
5468 echo "$ac_t""no" 1>&6
5472 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5473 echo "configure:5474: checking for --enable-notebook" >&5
5475 # Check whether --enable-notebook or --disable-notebook was given.
5476 if test "${enable_notebook+set}" = set; then
5477 enableval
="$enable_notebook"
5479 if test "$enableval" = yes; then
5480 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5482 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5487 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5488 if test "x$LINE" != x
; then
5489 eval "DEFAULT_$LINE"
5494 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5499 eval "$ac_cv_use_notebook"
5500 if test "$no_cache" != 1; then
5501 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5504 if test "$wxUSE_NOTEBOOK" = yes; then
5505 echo "$ac_t""yes" 1>&6
5507 echo "$ac_t""no" 1>&6
5511 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5512 echo "configure:5513: checking for --enable-radiobox" >&5
5514 # Check whether --enable-radiobox or --disable-radiobox was given.
5515 if test "${enable_radiobox+set}" = set; then
5516 enableval
="$enable_radiobox"
5518 if test "$enableval" = yes; then
5519 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5521 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5526 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5527 if test "x$LINE" != x
; then
5528 eval "DEFAULT_$LINE"
5533 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5538 eval "$ac_cv_use_radiobox"
5539 if test "$no_cache" != 1; then
5540 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5543 if test "$wxUSE_RADIOBOX" = yes; then
5544 echo "$ac_t""yes" 1>&6
5546 echo "$ac_t""no" 1>&6
5550 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5551 echo "configure:5552: checking for --enable-radiobtn" >&5
5553 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5554 if test "${enable_radiobtn+set}" = set; then
5555 enableval
="$enable_radiobtn"
5557 if test "$enableval" = yes; then
5558 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5560 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5565 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5566 if test "x$LINE" != x
; then
5567 eval "DEFAULT_$LINE"
5572 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5577 eval "$ac_cv_use_radiobtn"
5578 if test "$no_cache" != 1; then
5579 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5582 if test "$wxUSE_RADIOBTN" = yes; then
5583 echo "$ac_t""yes" 1>&6
5585 echo "$ac_t""no" 1>&6
5589 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5590 echo "configure:5591: checking for --enable-sash" >&5
5592 # Check whether --enable-sash or --disable-sash was given.
5593 if test "${enable_sash+set}" = set; then
5594 enableval
="$enable_sash"
5596 if test "$enableval" = yes; then
5597 ac_cv_use_sash
='wxUSE_SASH=yes'
5599 ac_cv_use_sash
='wxUSE_SASH=no'
5604 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5605 if test "x$LINE" != x
; then
5606 eval "DEFAULT_$LINE"
5611 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5616 eval "$ac_cv_use_sash"
5617 if test "$no_cache" != 1; then
5618 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5621 if test "$wxUSE_SASH" = yes; then
5622 echo "$ac_t""yes" 1>&6
5624 echo "$ac_t""no" 1>&6
5628 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5629 echo "configure:5630: checking for --enable-scrollbar" >&5
5631 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5632 if test "${enable_scrollbar+set}" = set; then
5633 enableval
="$enable_scrollbar"
5635 if test "$enableval" = yes; then
5636 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5638 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5643 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5644 if test "x$LINE" != x
; then
5645 eval "DEFAULT_$LINE"
5650 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5655 eval "$ac_cv_use_scrollbar"
5656 if test "$no_cache" != 1; then
5657 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5660 if test "$wxUSE_SCROLLBAR" = yes; then
5661 echo "$ac_t""yes" 1>&6
5663 echo "$ac_t""no" 1>&6
5667 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5668 echo "configure:5669: checking for --enable-slider" >&5
5670 # Check whether --enable-slider or --disable-slider was given.
5671 if test "${enable_slider+set}" = set; then
5672 enableval
="$enable_slider"
5674 if test "$enableval" = yes; then
5675 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5677 ac_cv_use_slider
='wxUSE_SLIDER=no'
5682 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5683 if test "x$LINE" != x
; then
5684 eval "DEFAULT_$LINE"
5689 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5694 eval "$ac_cv_use_slider"
5695 if test "$no_cache" != 1; then
5696 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5699 if test "$wxUSE_SLIDER" = yes; then
5700 echo "$ac_t""yes" 1>&6
5702 echo "$ac_t""no" 1>&6
5706 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5707 echo "configure:5708: checking for --enable-spinbtn" >&5
5709 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5710 if test "${enable_spinbtn+set}" = set; then
5711 enableval
="$enable_spinbtn"
5713 if test "$enableval" = yes; then
5714 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5716 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5721 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5722 if test "x$LINE" != x
; then
5723 eval "DEFAULT_$LINE"
5728 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5733 eval "$ac_cv_use_spinbtn"
5734 if test "$no_cache" != 1; then
5735 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5738 if test "$wxUSE_SPINBTN" = yes; then
5739 echo "$ac_t""yes" 1>&6
5741 echo "$ac_t""no" 1>&6
5745 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5746 echo "configure:5747: checking for --enable-spinctrl" >&5
5748 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5749 if test "${enable_spinctrl+set}" = set; then
5750 enableval
="$enable_spinctrl"
5752 if test "$enableval" = yes; then
5753 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5755 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5760 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5761 if test "x$LINE" != x
; then
5762 eval "DEFAULT_$LINE"
5767 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5772 eval "$ac_cv_use_spinctrl"
5773 if test "$no_cache" != 1; then
5774 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5777 if test "$wxUSE_SPINCTRL" = yes; then
5778 echo "$ac_t""yes" 1>&6
5780 echo "$ac_t""no" 1>&6
5784 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
5785 echo "configure:5786: checking for --enable-splitter" >&5
5787 # Check whether --enable-splitter or --disable-splitter was given.
5788 if test "${enable_splitter+set}" = set; then
5789 enableval
="$enable_splitter"
5791 if test "$enableval" = yes; then
5792 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5794 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5799 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5800 if test "x$LINE" != x
; then
5801 eval "DEFAULT_$LINE"
5806 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5811 eval "$ac_cv_use_splitter"
5812 if test "$no_cache" != 1; then
5813 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5816 if test "$wxUSE_SPLITTER" = yes; then
5817 echo "$ac_t""yes" 1>&6
5819 echo "$ac_t""no" 1>&6
5823 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
5824 echo "configure:5825: checking for --enable-statbmp" >&5
5826 # Check whether --enable-statbmp or --disable-statbmp was given.
5827 if test "${enable_statbmp+set}" = set; then
5828 enableval
="$enable_statbmp"
5830 if test "$enableval" = yes; then
5831 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5833 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5838 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5839 if test "x$LINE" != x
; then
5840 eval "DEFAULT_$LINE"
5845 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5850 eval "$ac_cv_use_statbmp"
5851 if test "$no_cache" != 1; then
5852 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5855 if test "$wxUSE_STATBMP" = yes; then
5856 echo "$ac_t""yes" 1>&6
5858 echo "$ac_t""no" 1>&6
5862 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
5863 echo "configure:5864: checking for --enable-statbox" >&5
5865 # Check whether --enable-statbox or --disable-statbox was given.
5866 if test "${enable_statbox+set}" = set; then
5867 enableval
="$enable_statbox"
5869 if test "$enableval" = yes; then
5870 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5872 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5877 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5878 if test "x$LINE" != x
; then
5879 eval "DEFAULT_$LINE"
5884 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5889 eval "$ac_cv_use_statbox"
5890 if test "$no_cache" != 1; then
5891 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5894 if test "$wxUSE_STATBOX" = yes; then
5895 echo "$ac_t""yes" 1>&6
5897 echo "$ac_t""no" 1>&6
5901 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
5902 echo "configure:5903: checking for --enable-statline" >&5
5904 # Check whether --enable-statline or --disable-statline was given.
5905 if test "${enable_statline+set}" = set; then
5906 enableval
="$enable_statline"
5908 if test "$enableval" = yes; then
5909 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5911 ac_cv_use_statline
='wxUSE_STATLINE=no'
5916 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5917 if test "x$LINE" != x
; then
5918 eval "DEFAULT_$LINE"
5923 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5928 eval "$ac_cv_use_statline"
5929 if test "$no_cache" != 1; then
5930 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5933 if test "$wxUSE_STATLINE" = yes; then
5934 echo "$ac_t""yes" 1>&6
5936 echo "$ac_t""no" 1>&6
5940 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
5941 echo "configure:5942: checking for --enable-stattext" >&5
5943 # Check whether --enable-stattext or --disable-stattext was given.
5944 if test "${enable_stattext+set}" = set; then
5945 enableval
="$enable_stattext"
5947 if test "$enableval" = yes; then
5948 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
5950 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
5955 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
5956 if test "x$LINE" != x
; then
5957 eval "DEFAULT_$LINE"
5962 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
5967 eval "$ac_cv_use_stattext"
5968 if test "$no_cache" != 1; then
5969 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
5972 if test "$wxUSE_STATTEXT" = yes; then
5973 echo "$ac_t""yes" 1>&6
5975 echo "$ac_t""no" 1>&6
5979 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
5980 echo "configure:5981: checking for --enable-statusbar" >&5
5982 # Check whether --enable-statusbar or --disable-statusbar was given.
5983 if test "${enable_statusbar+set}" = set; then
5984 enableval
="$enable_statusbar"
5986 if test "$enableval" = yes; then
5987 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5989 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5994 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5995 if test "x$LINE" != x
; then
5996 eval "DEFAULT_$LINE"
6001 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6006 eval "$ac_cv_use_statusbar"
6007 if test "$no_cache" != 1; then
6008 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6011 if test "$wxUSE_STATUSBAR" = yes; then
6012 echo "$ac_t""yes" 1>&6
6014 echo "$ac_t""no" 1>&6
6018 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6019 echo "configure:6020: checking for --enable-tabdialog" >&5
6021 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6022 if test "${enable_tabdialog+set}" = set; then
6023 enableval
="$enable_tabdialog"
6025 if test "$enableval" = yes; then
6026 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6028 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6033 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6034 if test "x$LINE" != x
; then
6035 eval "DEFAULT_$LINE"
6040 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6045 eval "$ac_cv_use_tabdialog"
6046 if test "$no_cache" != 1; then
6047 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6050 if test "$wxUSE_TABDIALOG" = yes; then
6051 echo "$ac_t""yes" 1>&6
6053 echo "$ac_t""no" 1>&6
6057 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6058 echo "configure:6059: checking for --enable-textctrl" >&5
6060 # Check whether --enable-textctrl or --disable-textctrl was given.
6061 if test "${enable_textctrl+set}" = set; then
6062 enableval
="$enable_textctrl"
6064 if test "$enableval" = yes; then
6065 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6067 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6072 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6073 if test "x$LINE" != x
; then
6074 eval "DEFAULT_$LINE"
6079 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6084 eval "$ac_cv_use_textctrl"
6085 if test "$no_cache" != 1; then
6086 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6089 if test "$wxUSE_TEXTCTRL" = yes; then
6090 echo "$ac_t""yes" 1>&6
6092 echo "$ac_t""no" 1>&6
6096 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6097 echo "configure:6098: checking for --enable-togglebtn" >&5
6099 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6100 if test "${enable_togglebtn+set}" = set; then
6101 enableval
="$enable_togglebtn"
6103 if test "$enableval" = yes; then
6104 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6106 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6111 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6112 if test "x$LINE" != x
; then
6113 eval "DEFAULT_$LINE"
6118 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6123 eval "$ac_cv_use_togglebtn"
6124 if test "$no_cache" != 1; then
6125 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6128 if test "$wxUSE_TOGGLEBTN" = yes; then
6129 echo "$ac_t""yes" 1>&6
6131 echo "$ac_t""no" 1>&6
6135 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6136 echo "configure:6137: checking for --enable-toolbar" >&5
6138 # Check whether --enable-toolbar or --disable-toolbar was given.
6139 if test "${enable_toolbar+set}" = set; then
6140 enableval
="$enable_toolbar"
6142 if test "$enableval" = yes; then
6143 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6145 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6150 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6151 if test "x$LINE" != x
; then
6152 eval "DEFAULT_$LINE"
6157 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6162 eval "$ac_cv_use_toolbar"
6163 if test "$no_cache" != 1; then
6164 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6167 if test "$wxUSE_TOOLBAR" = yes; then
6168 echo "$ac_t""yes" 1>&6
6170 echo "$ac_t""no" 1>&6
6174 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6175 echo "configure:6176: checking for --enable-tbarnative" >&5
6177 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6178 if test "${enable_tbarnative+set}" = set; then
6179 enableval
="$enable_tbarnative"
6181 if test "$enableval" = yes; then
6182 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6184 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6189 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6190 if test "x$LINE" != x
; then
6191 eval "DEFAULT_$LINE"
6196 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6201 eval "$ac_cv_use_tbarnative"
6202 if test "$no_cache" != 1; then
6203 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6206 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6207 echo "$ac_t""yes" 1>&6
6209 echo "$ac_t""no" 1>&6
6213 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6214 echo "configure:6215: checking for --enable-tbarsmpl" >&5
6216 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6217 if test "${enable_tbarsmpl+set}" = set; then
6218 enableval
="$enable_tbarsmpl"
6220 if test "$enableval" = yes; then
6221 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6223 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6228 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6229 if test "x$LINE" != x
; then
6230 eval "DEFAULT_$LINE"
6235 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6240 eval "$ac_cv_use_tbarsmpl"
6241 if test "$no_cache" != 1; then
6242 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6245 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6246 echo "$ac_t""yes" 1>&6
6248 echo "$ac_t""no" 1>&6
6252 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6253 echo "configure:6254: checking for --enable-treectrl" >&5
6255 # Check whether --enable-treectrl or --disable-treectrl was given.
6256 if test "${enable_treectrl+set}" = set; then
6257 enableval
="$enable_treectrl"
6259 if test "$enableval" = yes; then
6260 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6262 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6267 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6268 if test "x$LINE" != x
; then
6269 eval "DEFAULT_$LINE"
6274 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6279 eval "$ac_cv_use_treectrl"
6280 if test "$no_cache" != 1; then
6281 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6284 if test "$wxUSE_TREECTRL" = yes; then
6285 echo "$ac_t""yes" 1>&6
6287 echo "$ac_t""no" 1>&6
6293 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6294 echo "configure:6295: checking for --enable-commondlg" >&5
6296 # Check whether --enable-commondlg or --disable-commondlg was given.
6297 if test "${enable_commondlg+set}" = set; then
6298 enableval
="$enable_commondlg"
6300 if test "$enableval" = yes; then
6301 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6303 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6308 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6309 if test "x$LINE" != x
; then
6310 eval "DEFAULT_$LINE"
6315 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6320 eval "$ac_cv_use_commondlg"
6321 if test "$no_cache" != 1; then
6322 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6325 if test "$wxUSE_COMMONDLGS" = yes; then
6326 echo "$ac_t""yes" 1>&6
6328 echo "$ac_t""no" 1>&6
6332 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6333 echo "configure:6334: checking for --enable-choicedlg" >&5
6335 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6336 if test "${enable_choicedlg+set}" = set; then
6337 enableval
="$enable_choicedlg"
6339 if test "$enableval" = yes; then
6340 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6342 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6347 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6348 if test "x$LINE" != x
; then
6349 eval "DEFAULT_$LINE"
6354 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6359 eval "$ac_cv_use_choicedlg"
6360 if test "$no_cache" != 1; then
6361 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6364 if test "$wxUSE_CHOICEDLG" = yes; then
6365 echo "$ac_t""yes" 1>&6
6367 echo "$ac_t""no" 1>&6
6371 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6372 echo "configure:6373: checking for --enable-coldlg" >&5
6374 # Check whether --enable-coldlg or --disable-coldlg was given.
6375 if test "${enable_coldlg+set}" = set; then
6376 enableval
="$enable_coldlg"
6378 if test "$enableval" = yes; then
6379 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6381 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6386 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6387 if test "x$LINE" != x
; then
6388 eval "DEFAULT_$LINE"
6393 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6398 eval "$ac_cv_use_coldlg"
6399 if test "$no_cache" != 1; then
6400 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6403 if test "$wxUSE_COLOURDLG" = yes; then
6404 echo "$ac_t""yes" 1>&6
6406 echo "$ac_t""no" 1>&6
6410 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6411 echo "configure:6412: checking for --enable-filedlg" >&5
6413 # Check whether --enable-filedlg or --disable-filedlg was given.
6414 if test "${enable_filedlg+set}" = set; then
6415 enableval
="$enable_filedlg"
6417 if test "$enableval" = yes; then
6418 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6420 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6425 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6426 if test "x$LINE" != x
; then
6427 eval "DEFAULT_$LINE"
6432 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6437 eval "$ac_cv_use_filedlg"
6438 if test "$no_cache" != 1; then
6439 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6442 if test "$wxUSE_FILEDLG" = yes; then
6443 echo "$ac_t""yes" 1>&6
6445 echo "$ac_t""no" 1>&6
6449 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6450 echo "configure:6451: checking for --enable-fontdlg" >&5
6452 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6453 if test "${enable_fontdlg+set}" = set; then
6454 enableval
="$enable_fontdlg"
6456 if test "$enableval" = yes; then
6457 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6459 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6464 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6465 if test "x$LINE" != x
; then
6466 eval "DEFAULT_$LINE"
6471 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6476 eval "$ac_cv_use_fontdlg"
6477 if test "$no_cache" != 1; then
6478 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6481 if test "$wxUSE_FONTDLG" = yes; then
6482 echo "$ac_t""yes" 1>&6
6484 echo "$ac_t""no" 1>&6
6488 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6489 echo "configure:6490: checking for --enable-dirdlg" >&5
6491 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6492 if test "${enable_dirdlg+set}" = set; then
6493 enableval
="$enable_dirdlg"
6495 if test "$enableval" = yes; then
6496 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6498 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6503 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6504 if test "x$LINE" != x
; then
6505 eval "DEFAULT_$LINE"
6510 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6515 eval "$ac_cv_use_dirdlg"
6516 if test "$no_cache" != 1; then
6517 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6520 if test "$wxUSE_DIRDLG" = yes; then
6521 echo "$ac_t""yes" 1>&6
6523 echo "$ac_t""no" 1>&6
6527 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6528 echo "configure:6529: checking for --enable-msgdlg" >&5
6530 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6531 if test "${enable_msgdlg+set}" = set; then
6532 enableval
="$enable_msgdlg"
6534 if test "$enableval" = yes; then
6535 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6537 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6542 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6543 if test "x$LINE" != x
; then
6544 eval "DEFAULT_$LINE"
6549 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6554 eval "$ac_cv_use_msgdlg"
6555 if test "$no_cache" != 1; then
6556 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6559 if test "$wxUSE_MSGDLG" = yes; then
6560 echo "$ac_t""yes" 1>&6
6562 echo "$ac_t""no" 1>&6
6566 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6567 echo "configure:6568: checking for --enable-numberdlg" >&5
6569 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6570 if test "${enable_numberdlg+set}" = set; then
6571 enableval
="$enable_numberdlg"
6573 if test "$enableval" = yes; then
6574 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6576 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6581 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6582 if test "x$LINE" != x
; then
6583 eval "DEFAULT_$LINE"
6588 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6593 eval "$ac_cv_use_numberdlg"
6594 if test "$no_cache" != 1; then
6595 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6598 if test "$wxUSE_NUMBERDLG" = yes; then
6599 echo "$ac_t""yes" 1>&6
6601 echo "$ac_t""no" 1>&6
6605 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6606 echo "configure:6607: checking for --enable-textdlg" >&5
6608 # Check whether --enable-textdlg or --disable-textdlg was given.
6609 if test "${enable_textdlg+set}" = set; then
6610 enableval
="$enable_textdlg"
6612 if test "$enableval" = yes; then
6613 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6615 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6620 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6621 if test "x$LINE" != x
; then
6622 eval "DEFAULT_$LINE"
6627 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6632 eval "$ac_cv_use_textdlg"
6633 if test "$no_cache" != 1; then
6634 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6637 if test "$wxUSE_TEXTDLG" = yes; then
6638 echo "$ac_t""yes" 1>&6
6640 echo "$ac_t""no" 1>&6
6644 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
6645 echo "configure:6646: checking for --enable-tipdlg" >&5
6647 # Check whether --enable-tipdlg or --disable-tipdlg was given.
6648 if test "${enable_tipdlg+set}" = set; then
6649 enableval
="$enable_tipdlg"
6651 if test "$enableval" = yes; then
6652 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
6654 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
6659 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
6660 if test "x$LINE" != x
; then
6661 eval "DEFAULT_$LINE"
6666 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
6671 eval "$ac_cv_use_tipdlg"
6672 if test "$no_cache" != 1; then
6673 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
6676 if test "$wxUSE_STARTUP_TIPS" = yes; then
6677 echo "$ac_t""yes" 1>&6
6679 echo "$ac_t""no" 1>&6
6683 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
6684 echo "configure:6685: checking for --enable-progressdlg" >&5
6686 # Check whether --enable-progressdlg or --disable-progressdlg was given.
6687 if test "${enable_progressdlg+set}" = set; then
6688 enableval
="$enable_progressdlg"
6690 if test "$enableval" = yes; then
6691 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
6693 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
6698 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
6699 if test "x$LINE" != x
; then
6700 eval "DEFAULT_$LINE"
6705 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
6710 eval "$ac_cv_use_progressdlg"
6711 if test "$no_cache" != 1; then
6712 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
6715 if test "$wxUSE_PROGRESSDLG" = yes; then
6716 echo "$ac_t""yes" 1>&6
6718 echo "$ac_t""no" 1>&6
6722 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
6723 echo "configure:6724: checking for --enable-menus" >&5
6725 # Check whether --enable-menus or --disable-menus was given.
6726 if test "${enable_menus+set}" = set; then
6727 enableval
="$enable_menus"
6729 if test "$enableval" = yes; then
6730 ac_cv_use_menus
='wxUSE_MENUS=yes'
6732 ac_cv_use_menus
='wxUSE_MENUS=no'
6737 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
6738 if test "x$LINE" != x
; then
6739 eval "DEFAULT_$LINE"
6744 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
6749 eval "$ac_cv_use_menus"
6750 if test "$no_cache" != 1; then
6751 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
6754 if test "$wxUSE_MENUS" = yes; then
6755 echo "$ac_t""yes" 1>&6
6757 echo "$ac_t""no" 1>&6
6761 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
6762 echo "configure:6763: checking for --enable-miniframe" >&5
6764 # Check whether --enable-miniframe or --disable-miniframe was given.
6765 if test "${enable_miniframe+set}" = set; then
6766 enableval
="$enable_miniframe"
6768 if test "$enableval" = yes; then
6769 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
6771 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
6776 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
6777 if test "x$LINE" != x
; then
6778 eval "DEFAULT_$LINE"
6783 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
6788 eval "$ac_cv_use_miniframe"
6789 if test "$no_cache" != 1; then
6790 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
6793 if test "$wxUSE_MINIFRAME" = yes; then
6794 echo "$ac_t""yes" 1>&6
6796 echo "$ac_t""no" 1>&6
6800 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
6801 echo "configure:6802: checking for --enable-html" >&5
6803 # Check whether --enable-html or --disable-html was given.
6804 if test "${enable_html+set}" = set; then
6805 enableval
="$enable_html"
6807 if test "$enableval" = yes; then
6808 ac_cv_use_html
='wxUSE_HTML=yes'
6810 ac_cv_use_html
='wxUSE_HTML=no'
6815 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6816 if test "x$LINE" != x
; then
6817 eval "DEFAULT_$LINE"
6822 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6827 eval "$ac_cv_use_html"
6828 if test "$no_cache" != 1; then
6829 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6832 if test "$wxUSE_HTML" = yes; then
6833 echo "$ac_t""yes" 1>&6
6835 echo "$ac_t""no" 1>&6
6839 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
6840 echo "configure:6841: checking for --enable-tooltips" >&5
6842 # Check whether --enable-tooltips or --disable-tooltips was given.
6843 if test "${enable_tooltips+set}" = set; then
6844 enableval
="$enable_tooltips"
6846 if test "$enableval" = yes; then
6847 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
6849 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
6854 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
6855 if test "x$LINE" != x
; then
6856 eval "DEFAULT_$LINE"
6861 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
6866 eval "$ac_cv_use_tooltips"
6867 if test "$no_cache" != 1; then
6868 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
6871 if test "$wxUSE_TOOLTIPS" = yes; then
6872 echo "$ac_t""yes" 1>&6
6874 echo "$ac_t""no" 1>&6
6878 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
6879 echo "configure:6880: checking for --enable-splines" >&5
6881 # Check whether --enable-splines or --disable-splines was given.
6882 if test "${enable_splines+set}" = set; then
6883 enableval
="$enable_splines"
6885 if test "$enableval" = yes; then
6886 ac_cv_use_splines
='wxUSE_SPLINES=yes'
6888 ac_cv_use_splines
='wxUSE_SPLINES=no'
6893 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
6894 if test "x$LINE" != x
; then
6895 eval "DEFAULT_$LINE"
6900 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
6905 eval "$ac_cv_use_splines"
6906 if test "$no_cache" != 1; then
6907 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
6910 if test "$wxUSE_SPLINES" = yes; then
6911 echo "$ac_t""yes" 1>&6
6913 echo "$ac_t""no" 1>&6
6917 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
6918 echo "configure:6919: checking for --enable-validators" >&5
6920 # Check whether --enable-validators or --disable-validators was given.
6921 if test "${enable_validators+set}" = set; then
6922 enableval
="$enable_validators"
6924 if test "$enableval" = yes; then
6925 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
6927 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
6932 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
6933 if test "x$LINE" != x
; then
6934 eval "DEFAULT_$LINE"
6939 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
6944 eval "$ac_cv_use_validators"
6945 if test "$no_cache" != 1; then
6946 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
6949 if test "$wxUSE_VALIDATORS" = yes; then
6950 echo "$ac_t""yes" 1>&6
6952 echo "$ac_t""no" 1>&6
6956 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
6957 echo "configure:6958: checking for --enable-busyinfo" >&5
6959 # Check whether --enable-busyinfo or --disable-busyinfo was given.
6960 if test "${enable_busyinfo+set}" = set; then
6961 enableval
="$enable_busyinfo"
6963 if test "$enableval" = yes; then
6964 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
6966 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
6971 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
6972 if test "x$LINE" != x
; then
6973 eval "DEFAULT_$LINE"
6978 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
6983 eval "$ac_cv_use_busyinfo"
6984 if test "$no_cache" != 1; then
6985 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
6988 if test "$wxUSE_BUSYINFO" = yes; then
6989 echo "$ac_t""yes" 1>&6
6991 echo "$ac_t""no" 1>&6
6995 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
6996 echo "configure:6997: checking for --enable-joystick" >&5
6998 # Check whether --enable-joystick or --disable-joystick was given.
6999 if test "${enable_joystick+set}" = set; then
7000 enableval
="$enable_joystick"
7002 if test "$enableval" = yes; then
7003 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7005 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7010 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7011 if test "x$LINE" != x
; then
7012 eval "DEFAULT_$LINE"
7017 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7022 eval "$ac_cv_use_joystick"
7023 if test "$no_cache" != 1; then
7024 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7027 if test "$wxUSE_JOYSTICK" = yes; then
7028 echo "$ac_t""yes" 1>&6
7030 echo "$ac_t""no" 1>&6
7034 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7035 echo "configure:7036: checking for --enable-metafile" >&5
7037 # Check whether --enable-metafile or --disable-metafile was given.
7038 if test "${enable_metafile+set}" = set; then
7039 enableval
="$enable_metafile"
7041 if test "$enableval" = yes; then
7042 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7044 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7049 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7050 if test "x$LINE" != x
; then
7051 eval "DEFAULT_$LINE"
7056 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7061 eval "$ac_cv_use_metafile"
7062 if test "$no_cache" != 1; then
7063 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7066 if test "$wxUSE_METAFILE" = yes; then
7067 echo "$ac_t""yes" 1>&6
7069 echo "$ac_t""no" 1>&6
7075 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7076 echo "configure:7077: checking for --enable-image" >&5
7078 # Check whether --enable-image or --disable-image was given.
7079 if test "${enable_image+set}" = set; then
7080 enableval
="$enable_image"
7082 if test "$enableval" = yes; then
7083 ac_cv_use_image
='wxUSE_IMAGE=yes'
7085 ac_cv_use_image
='wxUSE_IMAGE=no'
7090 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7091 if test "x$LINE" != x
; then
7092 eval "DEFAULT_$LINE"
7097 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7102 eval "$ac_cv_use_image"
7103 if test "$no_cache" != 1; then
7104 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7107 if test "$wxUSE_IMAGE" = yes; then
7108 echo "$ac_t""yes" 1>&6
7110 echo "$ac_t""no" 1>&6
7114 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7115 echo "configure:7116: checking for --enable-gif" >&5
7117 # Check whether --enable-gif or --disable-gif was given.
7118 if test "${enable_gif+set}" = set; then
7119 enableval
="$enable_gif"
7121 if test "$enableval" = yes; then
7122 ac_cv_use_gif
='wxUSE_GIF=yes'
7124 ac_cv_use_gif
='wxUSE_GIF=no'
7129 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7130 if test "x$LINE" != x
; then
7131 eval "DEFAULT_$LINE"
7136 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7141 eval "$ac_cv_use_gif"
7142 if test "$no_cache" != 1; then
7143 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7146 if test "$wxUSE_GIF" = yes; then
7147 echo "$ac_t""yes" 1>&6
7149 echo "$ac_t""no" 1>&6
7153 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7154 echo "configure:7155: checking for --enable-pcx" >&5
7156 # Check whether --enable-pcx or --disable-pcx was given.
7157 if test "${enable_pcx+set}" = set; then
7158 enableval
="$enable_pcx"
7160 if test "$enableval" = yes; then
7161 ac_cv_use_pcx
='wxUSE_PCX=yes'
7163 ac_cv_use_pcx
='wxUSE_PCX=no'
7168 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7169 if test "x$LINE" != x
; then
7170 eval "DEFAULT_$LINE"
7175 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7180 eval "$ac_cv_use_pcx"
7181 if test "$no_cache" != 1; then
7182 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7185 if test "$wxUSE_PCX" = yes; then
7186 echo "$ac_t""yes" 1>&6
7188 echo "$ac_t""no" 1>&6
7192 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7193 echo "configure:7194: checking for --enable-pnm" >&5
7195 # Check whether --enable-pnm or --disable-pnm was given.
7196 if test "${enable_pnm+set}" = set; then
7197 enableval
="$enable_pnm"
7199 if test "$enableval" = yes; then
7200 ac_cv_use_pnm
='wxUSE_PNM=yes'
7202 ac_cv_use_pnm
='wxUSE_PNM=no'
7207 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7208 if test "x$LINE" != x
; then
7209 eval "DEFAULT_$LINE"
7214 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7219 eval "$ac_cv_use_pnm"
7220 if test "$no_cache" != 1; then
7221 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7224 if test "$wxUSE_PNM" = yes; then
7225 echo "$ac_t""yes" 1>&6
7227 echo "$ac_t""no" 1>&6
7231 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7232 echo "configure:7233: checking for --enable-pnm" >&5
7234 # Check whether --enable-pnm or --disable-pnm was given.
7235 if test "${enable_pnm+set}" = set; then
7236 enableval
="$enable_pnm"
7238 if test "$enableval" = yes; then
7239 ac_cv_use_pnm
='wxUSE_XPM=yes'
7241 ac_cv_use_pnm
='wxUSE_XPM=no'
7246 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7247 if test "x$LINE" != x
; then
7248 eval "DEFAULT_$LINE"
7253 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7258 eval "$ac_cv_use_pnm"
7259 if test "$no_cache" != 1; then
7260 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7263 if test "$wxUSE_XPM" = yes; then
7264 echo "$ac_t""yes" 1>&6
7266 echo "$ac_t""no" 1>&6
7273 echo "saving argument cache $wx_arg_cache_file"
7274 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7278 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7279 echo "configure:7280: checking for toolkit" >&5
7281 if test "$wxUSE_GUI" = "yes"; then
7283 if test "$USE_BEOS" = 1; then
7284 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7287 if test "$TOOLKIT_GIVEN" = 1; then
7288 for toolkit
in `echo $ALL_TOOLKITS`; do
7290 eval "value=\$${var}"
7291 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7294 for toolkit
in `echo $ALL_TOOLKITS`; do
7295 if test "$has_toolkit_in_cache" != 1; then
7296 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7298 var
=DEFAULT_wxUSE_
$toolkit
7300 eval "wxUSE_$toolkit=\$${var}"
7304 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7308 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7309 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7318 case "$NUM_TOOLKITS" in
7322 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7325 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7328 for toolkit
in `echo $ALL_TOOLKITS`; do
7330 eval "value=\$${var}"
7331 if test "x$value" != x
; then
7332 cache_var
=CACHE_
$toolkit
7333 eval "cache=\$${cache_var}"
7334 if test "$cache" = 1; then
7335 echo "$var=$value" >> ${wx_arg_cache_file}
7337 if test "$value" = 1; then
7338 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7339 echo "$ac_t""$toolkit_echo" 1>&6
7346 echo "$ac_t""base only" 1>&6
7350 cat > confcache
<<\EOF
7351 # This file is a shell script that caches the results of configure
7352 # tests run on this system so they can be shared between configure
7353 # scripts and configure runs. It is not useful on other systems.
7354 # If it contains results you don't want to keep, you may remove or edit it.
7356 # By default, configure uses ./config.cache as the cache file,
7357 # creating it if it does not exist already. You can give configure
7358 # the --cache-file=FILE option to use a different cache file; that is
7359 # what configure does when it calls configure scripts in
7360 # subdirectories, so they share the cache.
7361 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7362 # config.status only pays attention to the cache file if you give it the
7363 # --recheck option to rerun configure.
7366 # The following way of writing the cache mishandles newlines in values,
7367 # but we know of no workaround that is simple, portable, and efficient.
7368 # So, don't put newlines in cache variables' values.
7369 # Ultrix sh set writes to stderr and can't be redirected directly,
7370 # and sets the high bit in the cache file unless we assign to the vars.
7372 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7374 # `set' does not quote correctly, so add quotes (double-quote substitution
7375 # turns \\\\ into \\, and sed turns \\ into \).
7377 -e "s/'/'\\\\''/g" \
7378 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7381 # `set' quotes correctly as required by POSIX, so do not add quotes.
7382 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7385 if cmp -s $cache_file confcache
; then
7388 if test -w $cache_file; then
7389 echo "updating cache $cache_file"
7390 cat confcache
> $cache_file
7392 echo "not updating unwritable cache $cache_file"
7398 if test "$build" != "$host" ; then
7402 RANLIB
=$host_alias-ranlib
7403 DLLTOOL
=$host_alias-dlltool
7404 RESCOMP
=$host_alias-windres
7407 STRIP
=$host_alias-strip
7410 # Extract the first word of "gcc", so it can be a program name with args.
7411 set dummy gcc
; ac_word
=$2
7412 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7413 echo "configure:7414: checking for $ac_word" >&5
7414 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7415 echo $ac_n "(cached) $ac_c" 1>&6
7417 if test -n "$CC"; then
7418 ac_cv_prog_CC
="$CC" # Let the user override the test.
7420 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7422 for ac_dir
in $ac_dummy; do
7423 test -z "$ac_dir" && ac_dir
=.
7424 if test -f $ac_dir/$ac_word; then
7433 if test -n "$CC"; then
7434 echo "$ac_t""$CC" 1>&6
7436 echo "$ac_t""no" 1>&6
7439 if test -z "$CC"; then
7440 # Extract the first word of "cc", so it can be a program name with args.
7441 set dummy cc
; ac_word
=$2
7442 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7443 echo "configure:7444: checking for $ac_word" >&5
7444 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7445 echo $ac_n "(cached) $ac_c" 1>&6
7447 if test -n "$CC"; then
7448 ac_cv_prog_CC
="$CC" # Let the user override the test.
7450 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7453 for ac_dir
in $ac_dummy; do
7454 test -z "$ac_dir" && ac_dir
=.
7455 if test -f $ac_dir/$ac_word; then
7456 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7457 ac_prog_rejected
=yes
7465 if test $ac_prog_rejected = yes; then
7466 # We found a bogon in the path, so make sure we never use it.
7467 set dummy
$ac_cv_prog_CC
7469 if test $# -gt 0; then
7470 # We chose a different compiler from the bogus one.
7471 # However, it has the same basename, so the bogon will be chosen
7472 # first if we set CC to just the basename; use the full file name.
7474 set dummy
"$ac_dir/$ac_word" "$@"
7482 if test -n "$CC"; then
7483 echo "$ac_t""$CC" 1>&6
7485 echo "$ac_t""no" 1>&6
7488 if test -z "$CC"; then
7489 case "`uname -s`" in
7491 # Extract the first word of "cl", so it can be a program name with args.
7492 set dummy cl
; ac_word
=$2
7493 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7494 echo "configure:7495: checking for $ac_word" >&5
7495 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7496 echo $ac_n "(cached) $ac_c" 1>&6
7498 if test -n "$CC"; then
7499 ac_cv_prog_CC
="$CC" # Let the user override the test.
7501 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7503 for ac_dir
in $ac_dummy; do
7504 test -z "$ac_dir" && ac_dir
=.
7505 if test -f $ac_dir/$ac_word; then
7514 if test -n "$CC"; then
7515 echo "$ac_t""$CC" 1>&6
7517 echo "$ac_t""no" 1>&6
7522 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7525 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7526 echo "configure:7527: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7529 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7530 ac_cpp
='$CPP $CPPFLAGS'
7531 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7532 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7533 cross_compiling
=$ac_cv_prog_cc_cross
7535 cat > conftest.
$ac_ext << EOF
7537 #line 7538 "configure"
7538 #include "confdefs.h"
7542 if { (eval echo configure
:7543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7543 ac_cv_prog_cc_works
=yes
7544 # If we can't run a trivial program, we are probably using a cross compiler.
7545 if (.
/conftest
; exit) 2>/dev
/null
; then
7546 ac_cv_prog_cc_cross
=no
7548 ac_cv_prog_cc_cross
=yes
7551 echo "configure: failed program was:" >&5
7552 cat conftest.
$ac_ext >&5
7553 ac_cv_prog_cc_works
=no
7557 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7558 ac_cpp
='$CPP $CPPFLAGS'
7559 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7560 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7561 cross_compiling
=$ac_cv_prog_cc_cross
7563 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7564 if test $ac_cv_prog_cc_works = no
; then
7565 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7567 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7568 echo "configure:7569: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7569 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7570 cross_compiling
=$ac_cv_prog_cc_cross
7572 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7573 echo "configure:7574: checking whether we are using GNU C" >&5
7574 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7575 echo $ac_n "(cached) $ac_c" 1>&6
7577 cat > conftest.c
<<EOF
7582 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7583: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7589 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7591 if test $ac_cv_prog_gcc = yes; then
7597 ac_test_CFLAGS
="${CFLAGS+set}"
7598 ac_save_CFLAGS
="$CFLAGS"
7600 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
7601 echo "configure:7602: checking whether ${CC-cc} accepts -g" >&5
7602 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7603 echo $ac_n "(cached) $ac_c" 1>&6
7605 echo 'void f(){}' > conftest.c
7606 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
7615 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
7616 if test "$ac_test_CFLAGS" = set; then
7617 CFLAGS
="$ac_save_CFLAGS"
7618 elif test $ac_cv_prog_cc_g = yes; then
7619 if test "$GCC" = yes; then
7625 if test "$GCC" = yes; then
7633 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
7635 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
7636 echo "configure:7637: checking how to run the C preprocessor" >&5
7637 # On Suns, sometimes $CPP names a directory.
7638 if test -n "$CPP" && test -d "$CPP"; then
7641 if test -z "$CPP"; then
7642 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
7643 echo $ac_n "(cached) $ac_c" 1>&6
7645 # This must be in double quotes, not single quotes, because CPP may get
7646 # substituted into the Makefile and "${CC-cc}" will confuse make.
7648 # On the NeXT, cc -E runs the code through the compiler's parser,
7649 # not just through cpp.
7650 cat > conftest.
$ac_ext <<EOF
7651 #line 7652 "configure"
7652 #include "confdefs.h"
7656 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7657 { (eval echo configure
:7658: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7658 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7659 if test -z "$ac_err"; then
7663 echo "configure: failed program was:" >&5
7664 cat conftest.
$ac_ext >&5
7666 CPP
="${CC-cc} -E -traditional-cpp"
7667 cat > conftest.
$ac_ext <<EOF
7668 #line 7669 "configure"
7669 #include "confdefs.h"
7673 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7674 { (eval echo configure
:7675: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7675 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7676 if test -z "$ac_err"; then
7680 echo "configure: failed program was:" >&5
7681 cat conftest.
$ac_ext >&5
7683 CPP
="${CC-cc} -nologo -E"
7684 cat > conftest.
$ac_ext <<EOF
7685 #line 7686 "configure"
7686 #include "confdefs.h"
7690 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7691 { (eval echo configure
:7692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7692 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7693 if test -z "$ac_err"; then
7697 echo "configure: failed program was:" >&5
7698 cat conftest.
$ac_ext >&5
7707 ac_cv_prog_CPP
="$CPP"
7709 CPP
="$ac_cv_prog_CPP"
7711 ac_cv_prog_CPP
="$CPP"
7713 echo "$ac_t""$CPP" 1>&6
7716 if test $ac_cv_prog_gcc = yes; then
7717 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
7718 echo "configure:7719: checking whether ${CC-cc} needs -traditional" >&5
7719 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
7720 echo $ac_n "(cached) $ac_c" 1>&6
7722 ac_pattern
="Autoconf.*'x'"
7723 cat > conftest.
$ac_ext <<EOF
7724 #line 7725 "configure"
7725 #include "confdefs.h"
7729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7730 egrep "$ac_pattern" >/dev
/null
2>&1; then
7732 ac_cv_prog_gcc_traditional
=yes
7735 ac_cv_prog_gcc_traditional
=no
7740 if test $ac_cv_prog_gcc_traditional = no
; then
7741 cat > conftest.
$ac_ext <<EOF
7742 #line 7743 "configure"
7743 #include "confdefs.h"
7747 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7748 egrep "$ac_pattern" >/dev
/null
2>&1; then
7750 ac_cv_prog_gcc_traditional
=yes
7757 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
7758 if test $ac_cv_prog_gcc_traditional = yes; then
7759 CC
="$CC -traditional"
7766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7767 ac_cpp
='$CXXCPP $CPPFLAGS'
7768 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7769 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7770 cross_compiling
=$ac_cv_prog_cxx_cross
7773 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
7775 # Extract the first word of "$ac_prog", so it can be a program name with args.
7776 set dummy
$ac_prog; ac_word
=$2
7777 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7778 echo "configure:7779: checking for $ac_word" >&5
7779 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
7780 echo $ac_n "(cached) $ac_c" 1>&6
7782 if test -n "$CXX"; then
7783 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7785 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7787 for ac_dir
in $ac_dummy; do
7788 test -z "$ac_dir" && ac_dir
=.
7789 if test -f $ac_dir/$ac_word; then
7790 ac_cv_prog_CXX
="$ac_prog"
7797 CXX
="$ac_cv_prog_CXX"
7798 if test -n "$CXX"; then
7799 echo "$ac_t""$CXX" 1>&6
7801 echo "$ac_t""no" 1>&6
7804 test -n "$CXX" && break
7806 test -n "$CXX" || CXX
="gcc"
7809 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7810 echo "configure:7811: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
7813 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7814 ac_cpp
='$CXXCPP $CPPFLAGS'
7815 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7816 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7817 cross_compiling
=$ac_cv_prog_cxx_cross
7819 cat > conftest.
$ac_ext << EOF
7821 #line 7822 "configure"
7822 #include "confdefs.h"
7824 int main(){return(0);}
7826 if { (eval echo configure
:7827: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7827 ac_cv_prog_cxx_works
=yes
7828 # If we can't run a trivial program, we are probably using a cross compiler.
7829 if (.
/conftest
; exit) 2>/dev
/null
; then
7830 ac_cv_prog_cxx_cross
=no
7832 ac_cv_prog_cxx_cross
=yes
7835 echo "configure: failed program was:" >&5
7836 cat conftest.
$ac_ext >&5
7837 ac_cv_prog_cxx_works
=no
7841 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7842 ac_cpp
='$CXXCPP $CPPFLAGS'
7843 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7844 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7845 cross_compiling
=$ac_cv_prog_cxx_cross
7847 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
7848 if test $ac_cv_prog_cxx_works = no
; then
7849 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
7851 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7852 echo "configure:7853: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
7853 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
7854 cross_compiling
=$ac_cv_prog_cxx_cross
7856 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
7857 echo "configure:7858: checking whether we are using GNU C++" >&5
7858 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
7859 echo $ac_n "(cached) $ac_c" 1>&6
7861 cat > conftest.C
<<EOF
7866 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:7867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7873 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
7875 if test $ac_cv_prog_gxx = yes; then
7881 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
7882 ac_save_CXXFLAGS
="$CXXFLAGS"
7884 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
7885 echo "configure:7886: checking whether ${CXX-g++} accepts -g" >&5
7886 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
7887 echo $ac_n "(cached) $ac_c" 1>&6
7889 echo 'void f(){}' > conftest.cc
7890 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
7891 ac_cv_prog_cxx_g
=yes
7899 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
7900 if test "$ac_test_CXXFLAGS" = set; then
7901 CXXFLAGS
="$ac_save_CXXFLAGS"
7902 elif test $ac_cv_prog_cxx_g = yes; then
7903 if test "$GXX" = yes; then
7909 if test "$GXX" = yes; then
7917 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
7918 echo "configure:7919: checking how to run the C++ preprocessor" >&5
7919 if test -z "$CXXCPP"; then
7920 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
7921 echo $ac_n "(cached) $ac_c" 1>&6
7924 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7925 ac_cpp
='$CXXCPP $CPPFLAGS'
7926 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7927 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7928 cross_compiling
=$ac_cv_prog_cxx_cross
7929 CXXCPP
="${CXX-g++} -E"
7930 cat > conftest.
$ac_ext <<EOF
7931 #line 7932 "configure"
7932 #include "confdefs.h"
7935 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7936 { (eval echo configure
:7937: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7937 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7938 if test -z "$ac_err"; then
7942 echo "configure: failed program was:" >&5
7943 cat conftest.
$ac_ext >&5
7948 ac_cv_prog_CXXCPP
="$CXXCPP"
7950 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7951 ac_cpp
='$CXXCPP $CPPFLAGS'
7952 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7953 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7954 cross_compiling
=$ac_cv_prog_cxx_cross
7957 CXXCPP
="$ac_cv_prog_CXXCPP"
7958 echo "$ac_t""$CXXCPP" 1>&6
7961 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
7964 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7965 ac_cpp
='$CPP $CPPFLAGS'
7966 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7967 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7968 cross_compiling
=$ac_cv_prog_cc_cross
7971 # Extract the first word of "ranlib", so it can be a program name with args.
7972 set dummy ranlib
; ac_word
=$2
7973 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7974 echo "configure:7975: checking for $ac_word" >&5
7975 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
7976 echo $ac_n "(cached) $ac_c" 1>&6
7978 if test -n "$RANLIB"; then
7979 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7981 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7983 for ac_dir
in $ac_dummy; do
7984 test -z "$ac_dir" && ac_dir
=.
7985 if test -f $ac_dir/$ac_word; then
7986 ac_cv_prog_RANLIB
="ranlib"
7991 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
7994 RANLIB
="$ac_cv_prog_RANLIB"
7995 if test -n "$RANLIB"; then
7996 echo "$ac_t""$RANLIB" 1>&6
7998 echo "$ac_t""no" 1>&6
8002 # Extract the first word of "ar", so it can be a program name with args.
8003 set dummy
ar; ac_word
=$2
8004 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8005 echo "configure:8006: checking for $ac_word" >&5
8006 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8007 echo $ac_n "(cached) $ac_c" 1>&6
8009 if test -n "$AR"; then
8010 ac_cv_prog_AR
="$AR" # Let the user override the test.
8012 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8014 for ac_dir
in $ac_dummy; do
8015 test -z "$ac_dir" && ac_dir
=.
8016 if test -f $ac_dir/$ac_word; then
8022 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8026 if test -n "$AR"; then
8027 echo "$ac_t""$AR" 1>&6
8029 echo "$ac_t""no" 1>&6
8033 # Find a good install program. We prefer a C program (faster),
8034 # so one script is as good as another. But avoid the broken or
8035 # incompatible versions:
8036 # SysV /etc/install, /usr/sbin/install
8037 # SunOS /usr/etc/install
8038 # IRIX /sbin/install
8040 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8041 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8042 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8043 # ./install, which can be erroneously created by make from ./install.sh.
8044 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8045 echo "configure:8046: checking for a BSD compatible install" >&5
8046 if test -z "$INSTALL"; then
8047 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8048 echo $ac_n "(cached) $ac_c" 1>&6
8050 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8051 for ac_dir
in $PATH; do
8052 # Account for people who put trailing slashes in PATH elements.
8054 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8056 # OSF1 and SCO ODT 3.0 have their own names for install.
8057 # Don't use installbsd from OSF since it installs stuff as root
8059 for ac_prog
in ginstall scoinst
install; do
8060 if test -f $ac_dir/$ac_prog; then
8061 if test $ac_prog = install &&
8062 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8063 # AIX install. It has an incompatible calling convention.
8066 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8077 if test "${ac_cv_path_install+set}" = set; then
8078 INSTALL
="$ac_cv_path_install"
8080 # As a last resort, use the slow shell script. We don't cache a
8081 # path for INSTALL within a source directory, because that will
8082 # break other packages using the cache if that directory is
8083 # removed, or if the path is relative.
8084 INSTALL
="$ac_install_sh"
8087 echo "$ac_t""$INSTALL" 1>&6
8089 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8090 # It thinks the first close brace ends the variable substitution.
8091 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8093 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8095 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8098 # Extract the first word of "strip", so it can be a program name with args.
8099 set dummy strip
; ac_word
=$2
8100 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8101 echo "configure:8102: checking for $ac_word" >&5
8102 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8103 echo $ac_n "(cached) $ac_c" 1>&6
8105 if test -n "$STRIP"; then
8106 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8108 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8110 for ac_dir
in $ac_dummy; do
8111 test -z "$ac_dir" && ac_dir
=.
8112 if test -f $ac_dir/$ac_word; then
8113 ac_cv_prog_STRIP
="strip"
8118 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8121 STRIP
="$ac_cv_prog_STRIP"
8122 if test -n "$STRIP"; then
8123 echo "$ac_t""$STRIP" 1>&6
8125 echo "$ac_t""no" 1>&6
8129 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8130 echo "configure:8131: checking make for VPATH support" >&5
8131 cat - << EOF > confMake
8137 if test ! -d sub
; then
8140 echo dummy
> sub
/file
8141 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8143 rm -f sub
/file check final_file confMake
8145 if test "$RESULT" = 0; then
8146 echo "$ac_t""yes" 1>&6
8148 echo "$ac_t""no" 1>&6
8149 { echo "configure: error:
8150 You need a make-utility that is able to use the variable
8152 If your version of make does not support VPATH correctly,
8153 please install GNU-make (possibly as gmake), and start
8154 configure with the following command:
8155 export MAKE=gmake; ./configure for sh-type shells
8156 setenv MAKE gmake; ./configure for csh-type shells
8157 Also please do remember to use gmake in this case every time
8158 you are trying to compile.
8162 for ac_prog
in 'bison -y' byacc
8164 # Extract the first word of "$ac_prog", so it can be a program name with args.
8165 set dummy
$ac_prog; ac_word
=$2
8166 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8167 echo "configure:8168: checking for $ac_word" >&5
8168 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8169 echo $ac_n "(cached) $ac_c" 1>&6
8171 if test -n "$YACC"; then
8172 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8174 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8176 for ac_dir
in $ac_dummy; do
8177 test -z "$ac_dir" && ac_dir
=.
8178 if test -f $ac_dir/$ac_word; then
8179 ac_cv_prog_YACC
="$ac_prog"
8186 YACC
="$ac_cv_prog_YACC"
8187 if test -n "$YACC"; then
8188 echo "$ac_t""$YACC" 1>&6
8190 echo "$ac_t""no" 1>&6
8193 test -n "$YACC" && break
8195 test -n "$YACC" || YACC
="yacc"
8198 # Extract the first word of "flex", so it can be a program name with args.
8199 set dummy flex
; ac_word
=$2
8200 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8201 echo "configure:8202: checking for $ac_word" >&5
8202 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8203 echo $ac_n "(cached) $ac_c" 1>&6
8205 if test -n "$LEX"; then
8206 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8208 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8210 for ac_dir
in $ac_dummy; do
8211 test -z "$ac_dir" && ac_dir
=.
8212 if test -f $ac_dir/$ac_word; then
8213 ac_cv_prog_LEX
="flex"
8218 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8221 LEX
="$ac_cv_prog_LEX"
8222 if test -n "$LEX"; then
8223 echo "$ac_t""$LEX" 1>&6
8225 echo "$ac_t""no" 1>&6
8228 if test -z "$LEXLIB"
8234 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8235 echo "configure:8236: checking for yywrap in -l$ac_lib" >&5
8236 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8237 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8238 echo $ac_n "(cached) $ac_c" 1>&6
8240 ac_save_LIBS
="$LIBS"
8241 LIBS
="-l$ac_lib $LIBS"
8242 cat > conftest.
$ac_ext <<EOF
8243 #line 8244 "configure"
8244 #include "confdefs.h"
8245 /* Override any gcc2 internal prototype to avoid an error. */
8246 /* We use char because int might match the return type of a gcc2
8247 builtin and then its argument prototype would still apply. */
8254 if { (eval echo configure
:8255: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8256 eval "ac_cv_lib_$ac_lib_var=yes"
8258 echo "configure: failed program was:" >&5
8259 cat conftest.
$ac_ext >&5
8261 eval "ac_cv_lib_$ac_lib_var=no"
8264 LIBS
="$ac_save_LIBS"
8267 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8268 echo "$ac_t""yes" 1>&6
8271 echo "$ac_t""no" 1>&6
8277 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8278 echo "configure:8279: checking whether ln -s works" >&5
8279 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8280 echo $ac_n "(cached) $ac_c" 1>&6
8283 if ln -s X conftestdata
2>/dev
/null
8286 ac_cv_prog_LN_S
="ln -s"
8291 LN_S
="$ac_cv_prog_LN_S"
8292 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8293 echo "$ac_t""yes" 1>&6
8295 echo "$ac_t""no" 1>&6
8301 /usr/local/include \
8303 /usr/Motif-1.2/include \
8304 /usr/Motif-2.1/include \
8306 /usr/include/Motif1.2 \
8307 /opt/xpm/include/X11 \
8308 /opt/GBxpm/include/ \
8309 /opt/GBxpm/X11/include/ \
8311 /usr/Motif1.2/include \
8313 /usr/openwin/include \
8317 /usr/X11R6/include \
8318 /usr/X11R6.4/include \
8319 /usr/X11R5/include \
8320 /usr/X11R4/include \
8322 /usr/include/X11R6 \
8323 /usr/include/X11R5 \
8324 /usr/include/X11R4 \
8326 /usr/local/X11R6/include \
8327 /usr/local/X11R5/include \
8328 /usr/local/X11R4/include \
8330 /usr/local/include/X11R6 \
8331 /usr/local/include/X11R5 \
8332 /usr/local/include/X11R4 \
8336 /usr/local/X11/include \
8337 /usr/local/include/X11 \
8341 /usr/XFree86/include/X11 \
8343 X:/XFree86/include \
8344 X:/XFree86/include/X11 \
8347 /usr/local/include/gtk \
8349 /usr/local/include/glib \
8352 /usr/local/include/qt \
8354 /usr/include/windows \
8356 /usr/local/include/wine \
8358 /usr/unsupported/include \
8359 /usr/athena/include \
8360 /usr/local/x11r5/include \
8361 /usr/lpp/Xamples/include \
8363 /usr/openwin/share/include \
8367 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8370 cat > confcache
<<\EOF
8371 # This file is a shell script that caches the results of configure
8372 # tests run on this system so they can be shared between configure
8373 # scripts and configure runs. It is not useful on other systems.
8374 # If it contains results you don't want to keep, you may remove or edit it.
8376 # By default, configure uses ./config.cache as the cache file,
8377 # creating it if it does not exist already. You can give configure
8378 # the --cache-file=FILE option to use a different cache file; that is
8379 # what configure does when it calls configure scripts in
8380 # subdirectories, so they share the cache.
8381 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8382 # config.status only pays attention to the cache file if you give it the
8383 # --recheck option to rerun configure.
8386 # The following way of writing the cache mishandles newlines in values,
8387 # but we know of no workaround that is simple, portable, and efficient.
8388 # So, don't put newlines in cache variables' values.
8389 # Ultrix sh set writes to stderr and can't be redirected directly,
8390 # and sets the high bit in the cache file unless we assign to the vars.
8392 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8394 # `set' does not quote correctly, so add quotes (double-quote substitution
8395 # turns \\\\ into \\, and sed turns \\ into \).
8397 -e "s/'/'\\\\''/g" \
8398 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8401 # `set' quotes correctly as required by POSIX, so do not add quotes.
8402 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8405 if cmp -s $cache_file confcache
; then
8408 if test -w $cache_file; then
8409 echo "updating cache $cache_file"
8410 cat confcache
> $cache_file
8412 echo "not updating unwritable cache $cache_file"
8421 if test "$wxUSE_GUI" = "yes"; then
8436 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8437 if test "$cross_compiling" = "yes" ; then
8438 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
8440 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
8441 echo "configure:8442: checking for Windows headers" >&5
8444 for ac_dir
in $SEARCH_INCLUDE;
8446 if test -f "$ac_dir/windows.h"; then
8447 ac_find_includes
=$ac_dir
8452 if test "$ac_find_includes" != "" ; then
8453 echo "$ac_t""found $ac_find_includes" 1>&6
8454 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
8456 echo "$ac_t""no" 1>&6
8457 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8461 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8462 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
8464 if test "$wxUSE_ODBC" = "yes" ; then
8465 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8468 if test "$wxUSE_MINGW" = 1; then
8469 LDFLAGS
="$LDFLAGS -mwindows"
8475 RCINCSWITCH
="--include-dir"
8476 RCDEFSWITCH
="--define"
8477 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8480 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8482 RESPROGRAM
="\$(RES_PROGRAM)"
8485 if test "$wxUSE_GTK" = 1; then
8486 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
8487 echo "configure:8488: checking for GTK+ version" >&5
8489 gtk_version_cached
=1
8490 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
8491 echo $ac_n "(cached) $ac_c" 1>&6
8494 gtk_version_cached
=0
8495 echo "$ac_t""""" 1>&6
8498 if test "x$wxUSE_GTK2" = "xyes"; then
8499 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8500 if test "${with_gtk_prefix+set}" = set; then
8501 withval
="$with_gtk_prefix"
8502 gtk_config_prefix
="$withval"
8504 gtk_config_prefix
=""
8507 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8508 if test "${with_gtk_exec_prefix+set}" = set; then
8509 withval
="$with_gtk_exec_prefix"
8510 gtk_config_exec_prefix
="$withval"
8512 gtk_config_exec_prefix
=""
8515 # Check whether --enable-gtktest or --disable-gtktest was given.
8516 if test "${enable_gtktest+set}" = set; then
8517 enableval
="$enable_gtktest"
8528 gtk_config_args
="$gtk_config_args gthread"
8533 if test x
$gtk_config_exec_prefix != x
; then
8534 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8535 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8536 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
8539 if test x
$gtk_config_prefix != x
; then
8540 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8541 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8542 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
8546 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8547 set dummy gtk
-config-2.0
; ac_word
=$2
8548 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8549 echo "configure:8550: checking for $ac_word" >&5
8550 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8551 echo $ac_n "(cached) $ac_c" 1>&6
8553 case "$GTK_CONFIG_2_0" in
8555 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8558 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8561 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8563 for ac_dir
in $ac_dummy; do
8564 test -z "$ac_dir" && ac_dir
=.
8565 if test -f $ac_dir/$ac_word; then
8566 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
8571 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
8575 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
8576 if test -n "$GTK_CONFIG_2_0"; then
8577 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8579 echo "$ac_t""no" 1>&6
8582 min_gtk_version
=1.3.1
8583 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8584 echo "configure:8585: checking for GTK - version >= $min_gtk_version" >&5
8586 if test "$GTK_CONFIG_2_0" = "no" ; then
8589 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
8590 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
8591 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8592 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8593 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8594 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8595 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8597 if test "x$enable_gtktest" = "xyes" ; then
8598 ac_save_CFLAGS
="$CFLAGS"
8599 ac_save_LIBS
="$LIBS"
8600 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8601 LIBS
="$GTK_LIBS $LIBS"
8603 if test "$cross_compiling" = yes; then
8604 echo $ac_n "cross compiling; assumed OK... $ac_c"
8606 cat > conftest.
$ac_ext <<EOF
8607 #line 8608 "configure"
8608 #include "confdefs.h"
8610 #include <gtk/gtk.h>
8617 int major, minor, micro;
8620 system ("touch conf.gtktest");
8622 /* HP/UX 9 (%@#!) writes to sscanf strings */
8623 tmp_version = g_strdup("$min_gtk_version");
8624 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8625 printf("%s, bad version string\n", "$min_gtk_version");
8629 if ((gtk_major_version != $gtk_config_major_version) ||
8630 (gtk_minor_version != $gtk_config_minor_version) ||
8631 (gtk_micro_version != $gtk_config_micro_version))
8633 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
8634 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
8635 gtk_major_version, gtk_minor_version, gtk_micro_version);
8636 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
8637 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
8638 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
8639 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
8640 printf("*** required on your system.\n");
8641 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
8642 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
8643 printf("*** before re-running configure\n");
8645 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
8646 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
8647 (gtk_minor_version != GTK_MINOR_VERSION) ||
8648 (gtk_micro_version != GTK_MICRO_VERSION))
8650 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
8651 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
8652 printf("*** library (version %d.%d.%d)\n",
8653 gtk_major_version, gtk_minor_version, gtk_micro_version);
8655 #endif /* defined (GTK_MAJOR_VERSION) ... */
8658 if ((gtk_major_version > major) ||
8659 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8660 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
8666 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
8667 gtk_major_version, gtk_minor_version, gtk_micro_version);
8668 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
8669 major, minor, micro);
8670 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
8672 printf("*** If you have already installed a sufficiently new version, this error\n");
8673 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
8674 printf("*** being found. The easiest way to fix this is to remove the old version\n");
8675 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
8676 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
8677 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
8678 printf("*** so that the correct libraries are found at run-time))\n");
8685 if { (eval echo configure
:8686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8689 echo "configure: failed program was:" >&5
8690 cat conftest.
$ac_ext >&5
8697 CFLAGS
="$ac_save_CFLAGS"
8698 LIBS
="$ac_save_LIBS"
8701 if test "x$no_gtk" = x
; then
8702 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
8705 echo "$ac_t""no" 1>&6
8706 if test "$GTK_CONFIG_2_0" = "no" ; then
8707 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
8708 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
8709 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
8710 echo "*** full path to gtk-config-2.0."
8712 if test -f conf.gtktest
; then
8715 echo "*** Could not run GTK test program, checking why..."
8716 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8717 LIBS
="$LIBS $GTK_LIBS"
8718 cat > conftest.
$ac_ext <<EOF
8719 #line 8720 "configure"
8720 #include "confdefs.h"
8722 #include <gtk/gtk.h>
8726 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
8729 if { (eval echo configure
:8730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8731 echo "*** The test program compiled, but did not run. This usually means"
8732 echo "*** that the run-time linker is not finding GTK or finding the wrong"
8733 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
8734 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
8735 echo "*** to the installed location Also, make sure you have run ldconfig if that"
8736 echo "*** is required on your system"
8738 echo "*** If you have an old version installed, it is best to remove it, although"
8739 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
8741 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
8742 echo "*** came with the system with the command"
8744 echo "*** rpm --erase --nodeps gtk gtk-devel"
8746 echo "configure: failed program was:" >&5
8747 cat conftest.
$ac_ext >&5
8749 echo "*** The test program failed to compile or link. See the file config.log for the"
8750 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
8751 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
8752 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
8755 CFLAGS
="$ac_save_CFLAGS"
8756 LIBS
="$ac_save_LIBS"
8769 if test -z "$wx_cv_lib_gtk"; then
8771 if test x
$gtk_config_exec_prefix != x
; then
8772 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8773 if test x
${GTK_CONFIG+set} != xset
; then
8774 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
8777 if test x
$gtk_config_prefix != x
; then
8778 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8779 if test x
${GTK_CONFIG+set} != xset
; then
8780 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
8784 # Extract the first word of "gtk-config", so it can be a program name with args.
8785 set dummy gtk
-config; ac_word
=$2
8786 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8787 echo "configure:8788: checking for $ac_word" >&5
8788 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8789 echo $ac_n "(cached) $ac_c" 1>&6
8791 case "$GTK_CONFIG" in
8793 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
8796 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
8799 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8801 for ac_dir
in $ac_dummy; do
8802 test -z "$ac_dir" && ac_dir
=.
8803 if test -f $ac_dir/$ac_word; then
8804 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
8809 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
8813 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
8814 if test -n "$GTK_CONFIG"; then
8815 echo "$ac_t""$GTK_CONFIG" 1>&6
8817 echo "$ac_t""no" 1>&6
8820 min_gtk_version
=1.2.7
8821 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8822 echo "configure:8823: checking for GTK - version >= $min_gtk_version" >&5
8824 if test "$GTK_CONFIG" != "no" ; then
8825 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
8826 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
8827 ac_save_CFLAGS
="$CFLAGS"
8828 ac_save_LIBS
="$LIBS"
8829 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8830 LIBS
="$LIBS $GTK_LIBS"
8831 if test "$cross_compiling" = yes; then
8832 echo $ac_n "cross compiling; assumed OK... $ac_c"
8834 cat > conftest.
$ac_ext <<EOF
8835 #line 8836 "configure"
8836 #include "confdefs.h"
8838 #include <gtk/gtk.h>
8839 #include <gtk/gtkfeatures.h>
8846 int major, minor, micro;
8848 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
8849 printf("%s, bad version string\n", "$min_gtk_version");
8853 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
8854 (GTK_MINOR_VERSION != gtk_minor_version) ||
8855 (GTK_MICRO_VERSION != gtk_micro_version)) {
8856 printf("Headers vs. library version mismatch!\n");
8860 if (gtk_minor_version == 1) return FALSE;
8862 return !((gtk_major_version > major) ||
8863 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8864 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
8868 if { (eval echo configure
:8869: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8872 echo "configure: failed program was:" >&5
8873 cat conftest.
$ac_ext >&5
8880 CFLAGS
="$ac_save_CFLAGS"
8881 LIBS
="$ac_save_LIBS"
8885 if test "x$no_gtk" = x
; then
8886 echo "$ac_t""yes" 1>&6
8889 echo "$ac_t""no" 1>&6
8899 if test -z "$wx_cv_lib_gtk"; then
8901 if test x
$gtk_config_exec_prefix != x
; then
8902 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8903 if test x
${GTK_CONFIG+set} != xset
; then
8904 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
8907 if test x
$gtk_config_prefix != x
; then
8908 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8909 if test x
${GTK_CONFIG+set} != xset
; then
8910 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
8914 # Extract the first word of "gtk-config", so it can be a program name with args.
8915 set dummy gtk
-config; ac_word
=$2
8916 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8917 echo "configure:8918: checking for $ac_word" >&5
8918 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8919 echo $ac_n "(cached) $ac_c" 1>&6
8921 case "$GTK_CONFIG" in
8923 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
8926 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
8929 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8931 for ac_dir
in $ac_dummy; do
8932 test -z "$ac_dir" && ac_dir
=.
8933 if test -f $ac_dir/$ac_word; then
8934 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
8939 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
8943 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
8944 if test -n "$GTK_CONFIG"; then
8945 echo "$ac_t""$GTK_CONFIG" 1>&6
8947 echo "$ac_t""no" 1>&6
8950 min_gtk_version
=1.2.3
8951 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8952 echo "configure:8953: checking for GTK - version >= $min_gtk_version" >&5
8954 if test "$GTK_CONFIG" != "no" ; then
8955 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
8956 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
8957 ac_save_CFLAGS
="$CFLAGS"
8958 ac_save_LIBS
="$LIBS"
8959 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8960 LIBS
="$LIBS $GTK_LIBS"
8961 if test "$cross_compiling" = yes; then
8962 echo $ac_n "cross compiling; assumed OK... $ac_c"
8964 cat > conftest.
$ac_ext <<EOF
8965 #line 8966 "configure"
8966 #include "confdefs.h"
8968 #include <gtk/gtk.h>
8969 #include <gtk/gtkfeatures.h>
8976 int major, minor, micro;
8978 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
8979 printf("%s, bad version string\n", "$min_gtk_version");
8983 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
8984 (GTK_MINOR_VERSION != gtk_minor_version) ||
8985 (GTK_MICRO_VERSION != gtk_micro_version)) {
8986 printf("Headers vs. library version mismatch!\n");
8990 if (gtk_minor_version == 1) return FALSE;
8992 return !((gtk_major_version > major) ||
8993 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8994 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
8998 if { (eval echo configure
:8999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9002 echo "configure: failed program was:" >&5
9003 cat conftest.
$ac_ext >&5
9010 CFLAGS
="$ac_save_CFLAGS"
9011 LIBS
="$ac_save_LIBS"
9015 if test "x$no_gtk" = x
; then
9016 echo "$ac_t""yes" 1>&6
9019 echo "$ac_t""no" 1>&6
9029 if test -z "$wx_cv_lib_gtk"; then
9037 if test "$gtk_version_cached" = 1; then
9038 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9041 case "$wx_cv_lib_gtk" in
9048 *) { echo "configure: error:
9049 Please check that gtk-config is in path, the directory
9050 where GTK+ libraries are installed (returned by
9051 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9052 equivalent variable and GTK+ is version 1.2.3 or above.
9057 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
9058 GUI_TK_LIBRARY
="$GTK_LIBS"
9060 AFMINSTALL
=afminstall
9064 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9065 echo "configure:9066: checking for gdk_im_open in -lgdk" >&5
9066 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9067 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9068 echo $ac_n "(cached) $ac_c" 1>&6
9070 ac_save_LIBS
="$LIBS"
9072 cat > conftest.
$ac_ext <<EOF
9073 #line 9074 "configure"
9074 #include "confdefs.h"
9075 /* Override any gcc2 internal prototype to avoid an error. */
9076 /* We use char because int might match the return type of a gcc2
9077 builtin and then its argument prototype would still apply. */
9084 if { (eval echo configure
:9085: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9086 eval "ac_cv_lib_$ac_lib_var=yes"
9088 echo "configure: failed program was:" >&5
9089 cat conftest.
$ac_ext >&5
9091 eval "ac_cv_lib_$ac_lib_var=no"
9094 LIBS
="$ac_save_LIBS"
9097 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9098 echo "$ac_t""yes" 1>&6
9099 cat >> confdefs.h
<<\EOF
9104 echo "$ac_t""no" 1>&6
9109 if test "$wxUSE_MGL" = 1; then
9111 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9112 echo "configure:9113: checking for SciTech MGL library" >&5
9113 if test "x$MGL_ROOT" = x
; then
9114 echo "$ac_t""not found" 1>&6
9115 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9117 echo "$ac_t""$MGL_ROOT" 1>&6
9120 MGL_OS
=linux
/gcc
/glibc
9123 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9124 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9128 if test "x$MGL_LIB_TYPE" = x
; then
9129 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9130 MGL_LIB_TYPE
=release
9132 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9136 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9137 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9139 AFMINSTALL
=afminstall
9144 if test "$wxUSE_WINE" = 1; then
9145 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9146 echo "configure:9147: checking for WINE includes" >&5
9149 for ac_dir
in $SEARCH_INCLUDE;
9151 if test -f "$ac_dir/windows.h"; then
9152 ac_find_includes
=$ac_dir
9157 if test "$ac_find_includes" != "" ; then
9158 echo "$ac_t""found $ac_find_includes" 1>&6
9159 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9161 echo "$ac_t""no" 1>&6
9162 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9166 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9167 echo "configure:9168: checking for Xpm library" >&5
9170 for ac_dir
in $SEARCH_LIB;
9172 for ac_extension
in a so sl
; do
9173 if test -f "$ac_dir/libXpm.$ac_extension"; then
9174 ac_find_libraries
=$ac_dir
9180 if test "$ac_find_libraries" != "" ; then
9181 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9183 cat >> confdefs.h
<<\EOF
9184 #define wxHAVE_LIB_XPM 1
9187 echo "$ac_t""found at $ac_find_libraries" 1>&6
9189 echo "$ac_t""no" 1>&6
9190 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9194 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9195 echo "configure:9196: checking for Mesa library" >&5
9198 for ac_dir
in $SEARCH_LIB;
9200 for ac_extension
in a so sl
; do
9201 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9202 ac_find_libraries
=$ac_dir
9208 if test "$ac_find_libraries" != "" ; then
9209 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9210 MESA_LINK
="-lMesaGL"
9211 echo "$ac_t""found at $ac_find_libraries" 1>&6
9213 { echo "configure: error: no" 1>&2; exit 1; }
9216 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9217 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9224 # If we find X, set shell vars x_includes and x_libraries to the
9225 # paths, otherwise set no_x=yes.
9226 # Uses ac_ vars as temps to allow command line to override cache and checks.
9227 # --without-x overrides everything else, but does not touch the cache.
9228 echo $ac_n "checking for X""... $ac_c" 1>&6
9229 echo "configure:9230: checking for X" >&5
9231 # Check whether --with-x or --without-x was given.
9232 if test "${with_x+set}" = set; then
9237 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9238 if test "x$with_x" = xno
; then
9239 # The user explicitly disabled X.
9242 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9243 # Both variables are already set.
9246 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9247 echo $ac_n "(cached) $ac_c" 1>&6
9249 # One or both of the vars are not set, and there is no cached value.
9250 ac_x_includes
=NO ac_x_libraries
=NO
9252 if mkdir conftestdir
; then
9254 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9255 cat > Imakefile
<<'EOF'
9257 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9259 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9260 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9261 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9262 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9263 for ac_extension
in a so sl
; do
9264 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9265 test -f $ac_im_libdir/libX11.
$ac_extension; then
9266 ac_im_usrlibdir
=$ac_im_libdir; break
9269 # Screen out bogus values from the imake configuration. They are
9270 # bogus both because they are the default anyway, and because
9271 # using them would break gcc on systems where it needs fixed includes.
9272 case "$ac_im_incroot" in
9274 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9276 case "$ac_im_usrlibdir" in
9278 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9285 if test "$ac_x_includes" = NO
; then
9286 # Guess where to find include files, by looking for this one X11 .h file.
9287 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9289 # First, try using that file with no special directory specified.
9290 cat > conftest.
$ac_ext <<EOF
9291 #line 9292 "configure"
9292 #include "confdefs.h"
9293 #include <$x_direct_test_include>
9295 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9296 { (eval echo configure
:9297: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9297 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9298 if test -z "$ac_err"; then
9300 # We can compile using X headers with no special include directory.
9304 echo "configure: failed program was:" >&5
9305 cat conftest.
$ac_ext >&5
9307 # Look for the header file in a standard set of common directories.
9308 # Check X11 before X11Rn because it is often a symlink to the current release.
9311 /usr
/X
11R
6/include \
9312 /usr
/X
11R
5/include \
9313 /usr
/X
11R
4/include \
9316 /usr
/include
/X11R6 \
9317 /usr
/include
/X11R5 \
9318 /usr
/include
/X11R4 \
9320 /usr
/local
/X
11/include \
9321 /usr
/local
/X
11R
6/include \
9322 /usr
/local
/X
11R
5/include \
9323 /usr
/local
/X
11R
4/include \
9325 /usr
/local
/include
/X11 \
9326 /usr
/local
/include
/X11R6 \
9327 /usr
/local
/include
/X11R5 \
9328 /usr
/local
/include
/X11R4 \
9332 /usr
/XFree
86/include
/X11 \
9335 /usr
/local
/include \
9336 /usr
/unsupported
/include \
9337 /usr
/athena
/include \
9338 /usr
/local
/x
11r
5/include \
9339 /usr
/lpp
/Xamples
/include \
9341 /usr
/openwin
/include \
9342 /usr
/openwin
/share
/include \
9345 if test -r "$ac_dir/$x_direct_test_include"; then
9346 ac_x_includes
=$ac_dir
9352 fi # $ac_x_includes = NO
9354 if test "$ac_x_libraries" = NO
; then
9355 # Check for the libraries.
9357 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9358 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9360 # See if we find them without any special options.
9361 # Don't add to $LIBS permanently.
9362 ac_save_LIBS
="$LIBS"
9363 LIBS
="-l$x_direct_test_library $LIBS"
9364 cat > conftest.
$ac_ext <<EOF
9365 #line 9366 "configure"
9366 #include "confdefs.h"
9369 ${x_direct_test_function}()
9372 if { (eval echo configure
:9373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9374 LIBS
="$ac_save_LIBS"
9375 # We can link X programs with no special library path.
9378 echo "configure: failed program was:" >&5
9379 cat conftest.
$ac_ext >&5
9381 LIBS
="$ac_save_LIBS"
9382 # First see if replacing the include by lib works.
9383 # Check X11 before X11Rn because it is often a symlink to the current release.
9384 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9395 /usr
/local
/X
11/lib \
9396 /usr
/local
/X
11R
6/lib \
9397 /usr
/local
/X
11R
5/lib \
9398 /usr
/local
/X
11R
4/lib \
9400 /usr
/local
/lib
/X11 \
9401 /usr
/local
/lib
/X11R6 \
9402 /usr
/local
/lib
/X11R5 \
9403 /usr
/local
/lib
/X11R4 \
9407 /usr
/XFree
86/lib
/X11 \
9411 /usr
/unsupported
/lib \
9413 /usr
/local
/x
11r
5/lib \
9414 /usr
/lpp
/Xamples
/lib \
9418 /usr
/openwin
/share
/lib \
9421 for ac_extension
in a so sl
; do
9422 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9423 ac_x_libraries
=$ac_dir
9430 fi # $ac_x_libraries = NO
9432 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9433 # Didn't find X anywhere. Cache the known absence of X.
9434 ac_cv_have_x
="have_x=no"
9436 # Record where we found X for the cache.
9437 ac_cv_have_x
="have_x=yes \
9438 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9442 eval "$ac_cv_have_x"
9445 if test "$have_x" != yes; then
9446 echo "$ac_t""$have_x" 1>&6
9449 # If each of the values was on the command line, it overrides each guess.
9450 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9451 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9452 # Update the cache value to reflect the command line values.
9453 ac_cv_have_x
="have_x=yes \
9454 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9455 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9458 if test "$no_x" = yes; then
9459 # Not all programs may use this symbol, but it does not hurt to define it.
9460 cat >> confdefs.h
<<\EOF
9461 #define X_DISPLAY_MISSING 1
9464 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9466 if test -n "$x_includes"; then
9467 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9470 # It would also be nice to do this for all -L options, not just this one.
9471 if test -n "$x_libraries"; then
9472 X_LIBS
="$X_LIBS -L$x_libraries"
9473 # For Solaris; some versions of Sun CC require a space after -R and
9474 # others require no space. Words are not sufficient . . . .
9475 case "`(uname -sr) 2>/dev/null`" in
9477 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9478 echo "configure:9479: checking whether -R must be followed by a space" >&5
9479 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
9480 cat > conftest.
$ac_ext <<EOF
9481 #line 9482 "configure"
9482 #include "confdefs.h"
9488 if { (eval echo configure
:9489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9492 echo "configure: failed program was:" >&5
9493 cat conftest.
$ac_ext >&5
9498 if test $ac_R_nospace = yes; then
9499 echo "$ac_t""no" 1>&6
9500 X_LIBS
="$X_LIBS -R$x_libraries"
9502 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9503 cat > conftest.
$ac_ext <<EOF
9504 #line 9505 "configure"
9505 #include "confdefs.h"
9511 if { (eval echo configure
:9512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9515 echo "configure: failed program was:" >&5
9516 cat conftest.
$ac_ext >&5
9521 if test $ac_R_space = yes; then
9522 echo "$ac_t""yes" 1>&6
9523 X_LIBS
="$X_LIBS -R $x_libraries"
9525 echo "$ac_t""neither works" 1>&6
9528 LIBS
="$ac_xsave_LIBS"
9532 # Check for system-dependent libraries X programs must link with.
9533 # Do this before checking for the system-independent R6 libraries
9534 # (-lICE), since we may need -lsocket or whatever for X linking.
9536 if test "$ISC" = yes; then
9537 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9539 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9540 # libraries were built with DECnet support. And karl@cs.umb.edu says
9541 # the Alpha needs dnet_stub (dnet does not exist).
9542 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9543 echo "configure:9544: checking for dnet_ntoa in -ldnet" >&5
9544 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9545 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9546 echo $ac_n "(cached) $ac_c" 1>&6
9548 ac_save_LIBS
="$LIBS"
9550 cat > conftest.
$ac_ext <<EOF
9551 #line 9552 "configure"
9552 #include "confdefs.h"
9553 /* Override any gcc2 internal prototype to avoid an error. */
9554 /* We use char because int might match the return type of a gcc2
9555 builtin and then its argument prototype would still apply. */
9562 if { (eval echo configure
:9563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9564 eval "ac_cv_lib_$ac_lib_var=yes"
9566 echo "configure: failed program was:" >&5
9567 cat conftest.
$ac_ext >&5
9569 eval "ac_cv_lib_$ac_lib_var=no"
9572 LIBS
="$ac_save_LIBS"
9575 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9576 echo "$ac_t""yes" 1>&6
9577 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9579 echo "$ac_t""no" 1>&6
9582 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9583 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
9584 echo "configure:9585: checking for dnet_ntoa in -ldnet_stub" >&5
9585 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9586 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9587 echo $ac_n "(cached) $ac_c" 1>&6
9589 ac_save_LIBS
="$LIBS"
9590 LIBS
="-ldnet_stub $LIBS"
9591 cat > conftest.
$ac_ext <<EOF
9592 #line 9593 "configure"
9593 #include "confdefs.h"
9594 /* Override any gcc2 internal prototype to avoid an error. */
9595 /* We use char because int might match the return type of a gcc2
9596 builtin and then its argument prototype would still apply. */
9603 if { (eval echo configure
:9604: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9605 eval "ac_cv_lib_$ac_lib_var=yes"
9607 echo "configure: failed program was:" >&5
9608 cat conftest.
$ac_ext >&5
9610 eval "ac_cv_lib_$ac_lib_var=no"
9613 LIBS
="$ac_save_LIBS"
9616 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9617 echo "$ac_t""yes" 1>&6
9618 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9620 echo "$ac_t""no" 1>&6
9625 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9626 # to get the SysV transport functions.
9627 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
9629 # The nsl library prevents programs from opening the X display
9630 # on Irix 5.2, according to dickey@clark.net.
9631 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
9632 echo "configure:9633: checking for gethostbyname" >&5
9633 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
9634 echo $ac_n "(cached) $ac_c" 1>&6
9636 cat > conftest.
$ac_ext <<EOF
9637 #line 9638 "configure"
9638 #include "confdefs.h"
9639 /* System header to define __stub macros and hopefully few prototypes,
9640 which can conflict with char gethostbyname(); below. */
9642 /* Override any gcc2 internal prototype to avoid an error. */
9643 /* We use char because int might match the return type of a gcc2
9644 builtin and then its argument prototype would still apply. */
9645 char gethostbyname();
9649 /* The GNU C library defines this for functions which it implements
9650 to always fail with ENOSYS. Some functions are actually named
9651 something starting with __ and the normal name is an alias. */
9652 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9660 if { (eval echo configure
:9661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9662 eval "ac_cv_func_gethostbyname=yes"
9664 echo "configure: failed program was:" >&5
9665 cat conftest.
$ac_ext >&5
9667 eval "ac_cv_func_gethostbyname=no"
9672 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
9673 echo "$ac_t""yes" 1>&6
9676 echo "$ac_t""no" 1>&6
9679 if test $ac_cv_func_gethostbyname = no
; then
9680 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
9681 echo "configure:9682: checking for gethostbyname in -lnsl" >&5
9682 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
9683 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9684 echo $ac_n "(cached) $ac_c" 1>&6
9686 ac_save_LIBS
="$LIBS"
9688 cat > conftest.
$ac_ext <<EOF
9689 #line 9690 "configure"
9690 #include "confdefs.h"
9691 /* Override any gcc2 internal prototype to avoid an error. */
9692 /* We use char because int might match the return type of a gcc2
9693 builtin and then its argument prototype would still apply. */
9694 char gethostbyname();
9700 if { (eval echo configure
:9701: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9702 eval "ac_cv_lib_$ac_lib_var=yes"
9704 echo "configure: failed program was:" >&5
9705 cat conftest.
$ac_ext >&5
9707 eval "ac_cv_lib_$ac_lib_var=no"
9710 LIBS
="$ac_save_LIBS"
9713 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9714 echo "$ac_t""yes" 1>&6
9715 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9717 echo "$ac_t""no" 1>&6
9722 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9723 # socket/setsockopt and other routines are undefined under SCO ODT
9724 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9725 # on later versions), says simon@lia.di.epfl.ch: it contains
9726 # gethostby* variants that don't use the nameserver (or something).
9727 # -lsocket must be given before -lnsl if both are needed.
9728 # We assume that if connect needs -lnsl, so does gethostbyname.
9729 echo $ac_n "checking for connect""... $ac_c" 1>&6
9730 echo "configure:9731: checking for connect" >&5
9731 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
9732 echo $ac_n "(cached) $ac_c" 1>&6
9734 cat > conftest.
$ac_ext <<EOF
9735 #line 9736 "configure"
9736 #include "confdefs.h"
9737 /* System header to define __stub macros and hopefully few prototypes,
9738 which can conflict with char connect(); below. */
9740 /* Override any gcc2 internal prototype to avoid an error. */
9741 /* We use char because int might match the return type of a gcc2
9742 builtin and then its argument prototype would still apply. */
9747 /* The GNU C library defines this for functions which it implements
9748 to always fail with ENOSYS. Some functions are actually named
9749 something starting with __ and the normal name is an alias. */
9750 #if defined (__stub_connect) || defined (__stub___connect)
9758 if { (eval echo configure
:9759: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9760 eval "ac_cv_func_connect=yes"
9762 echo "configure: failed program was:" >&5
9763 cat conftest.
$ac_ext >&5
9765 eval "ac_cv_func_connect=no"
9770 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
9771 echo "$ac_t""yes" 1>&6
9774 echo "$ac_t""no" 1>&6
9777 if test $ac_cv_func_connect = no
; then
9778 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
9779 echo "configure:9780: checking for connect in -lsocket" >&5
9780 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
9781 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9782 echo $ac_n "(cached) $ac_c" 1>&6
9784 ac_save_LIBS
="$LIBS"
9785 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9786 cat > conftest.
$ac_ext <<EOF
9787 #line 9788 "configure"
9788 #include "confdefs.h"
9789 /* Override any gcc2 internal prototype to avoid an error. */
9790 /* We use char because int might match the return type of a gcc2
9791 builtin and then its argument prototype would still apply. */
9798 if { (eval echo configure
:9799: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9800 eval "ac_cv_lib_$ac_lib_var=yes"
9802 echo "configure: failed program was:" >&5
9803 cat conftest.
$ac_ext >&5
9805 eval "ac_cv_lib_$ac_lib_var=no"
9808 LIBS
="$ac_save_LIBS"
9811 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9812 echo "$ac_t""yes" 1>&6
9813 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9815 echo "$ac_t""no" 1>&6
9820 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
9821 echo $ac_n "checking for remove""... $ac_c" 1>&6
9822 echo "configure:9823: checking for remove" >&5
9823 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
9824 echo $ac_n "(cached) $ac_c" 1>&6
9826 cat > conftest.
$ac_ext <<EOF
9827 #line 9828 "configure"
9828 #include "confdefs.h"
9829 /* System header to define __stub macros and hopefully few prototypes,
9830 which can conflict with char remove(); below. */
9832 /* Override any gcc2 internal prototype to avoid an error. */
9833 /* We use char because int might match the return type of a gcc2
9834 builtin and then its argument prototype would still apply. */
9839 /* The GNU C library defines this for functions which it implements
9840 to always fail with ENOSYS. Some functions are actually named
9841 something starting with __ and the normal name is an alias. */
9842 #if defined (__stub_remove) || defined (__stub___remove)
9850 if { (eval echo configure
:9851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9852 eval "ac_cv_func_remove=yes"
9854 echo "configure: failed program was:" >&5
9855 cat conftest.
$ac_ext >&5
9857 eval "ac_cv_func_remove=no"
9862 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
9863 echo "$ac_t""yes" 1>&6
9866 echo "$ac_t""no" 1>&6
9869 if test $ac_cv_func_remove = no
; then
9870 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
9871 echo "configure:9872: checking for remove in -lposix" >&5
9872 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
9873 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9874 echo $ac_n "(cached) $ac_c" 1>&6
9876 ac_save_LIBS
="$LIBS"
9877 LIBS
="-lposix $LIBS"
9878 cat > conftest.
$ac_ext <<EOF
9879 #line 9880 "configure"
9880 #include "confdefs.h"
9881 /* Override any gcc2 internal prototype to avoid an error. */
9882 /* We use char because int might match the return type of a gcc2
9883 builtin and then its argument prototype would still apply. */
9890 if { (eval echo configure
:9891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9892 eval "ac_cv_lib_$ac_lib_var=yes"
9894 echo "configure: failed program was:" >&5
9895 cat conftest.
$ac_ext >&5
9897 eval "ac_cv_lib_$ac_lib_var=no"
9900 LIBS
="$ac_save_LIBS"
9903 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9904 echo "$ac_t""yes" 1>&6
9905 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9907 echo "$ac_t""no" 1>&6
9912 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9913 echo $ac_n "checking for shmat""... $ac_c" 1>&6
9914 echo "configure:9915: checking for shmat" >&5
9915 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
9916 echo $ac_n "(cached) $ac_c" 1>&6
9918 cat > conftest.
$ac_ext <<EOF
9919 #line 9920 "configure"
9920 #include "confdefs.h"
9921 /* System header to define __stub macros and hopefully few prototypes,
9922 which can conflict with char shmat(); below. */
9924 /* Override any gcc2 internal prototype to avoid an error. */
9925 /* We use char because int might match the return type of a gcc2
9926 builtin and then its argument prototype would still apply. */
9931 /* The GNU C library defines this for functions which it implements
9932 to always fail with ENOSYS. Some functions are actually named
9933 something starting with __ and the normal name is an alias. */
9934 #if defined (__stub_shmat) || defined (__stub___shmat)
9942 if { (eval echo configure
:9943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9944 eval "ac_cv_func_shmat=yes"
9946 echo "configure: failed program was:" >&5
9947 cat conftest.
$ac_ext >&5
9949 eval "ac_cv_func_shmat=no"
9954 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
9955 echo "$ac_t""yes" 1>&6
9958 echo "$ac_t""no" 1>&6
9961 if test $ac_cv_func_shmat = no
; then
9962 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
9963 echo "configure:9964: checking for shmat in -lipc" >&5
9964 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
9965 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9966 echo $ac_n "(cached) $ac_c" 1>&6
9968 ac_save_LIBS
="$LIBS"
9970 cat > conftest.
$ac_ext <<EOF
9971 #line 9972 "configure"
9972 #include "confdefs.h"
9973 /* Override any gcc2 internal prototype to avoid an error. */
9974 /* We use char because int might match the return type of a gcc2
9975 builtin and then its argument prototype would still apply. */
9982 if { (eval echo configure
:9983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9984 eval "ac_cv_lib_$ac_lib_var=yes"
9986 echo "configure: failed program was:" >&5
9987 cat conftest.
$ac_ext >&5
9989 eval "ac_cv_lib_$ac_lib_var=no"
9992 LIBS
="$ac_save_LIBS"
9995 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9996 echo "$ac_t""yes" 1>&6
9997 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
9999 echo "$ac_t""no" 1>&6
10005 # Check for libraries that X11R6 Xt/Xaw programs need.
10006 ac_save_LDFLAGS
="$LDFLAGS"
10007 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10008 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10009 # check for ICE first), but we must link in the order -lSM -lICE or
10010 # we get undefined symbols. So assume we have SM if we have ICE.
10011 # These have to be linked with before -lX11, unlike the other
10012 # libraries we check for below, so use a different variable.
10013 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10014 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10015 echo "configure:10016: checking for IceConnectionNumber in -lICE" >&5
10016 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10017 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10018 echo $ac_n "(cached) $ac_c" 1>&6
10020 ac_save_LIBS
="$LIBS"
10021 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10022 cat > conftest.
$ac_ext <<EOF
10023 #line 10024 "configure"
10024 #include "confdefs.h"
10025 /* Override any gcc2 internal prototype to avoid an error. */
10026 /* We use char because int might match the return type of a gcc2
10027 builtin and then its argument prototype would still apply. */
10028 char IceConnectionNumber();
10031 IceConnectionNumber()
10034 if { (eval echo configure
:10035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10036 eval "ac_cv_lib_$ac_lib_var=yes"
10038 echo "configure: failed program was:" >&5
10039 cat conftest.
$ac_ext >&5
10041 eval "ac_cv_lib_$ac_lib_var=no"
10044 LIBS
="$ac_save_LIBS"
10047 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10048 echo "$ac_t""yes" 1>&6
10049 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10051 echo "$ac_t""no" 1>&6
10054 LDFLAGS
="$ac_save_LDFLAGS"
10058 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10059 LDFLAGS
="$LDFLAGS $X_LIBS"
10061 if test "$wxUSE_MOTIF" = 1; then
10062 if test "$no_x" = "yes"; then
10063 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10066 GUI_TK_LIBRARY
="$X_LIBS"
10067 TOOLKIT_INCLUDE
="$X_CFLAGS"
10069 AFMINSTALL
=afminstall
10072 COMPILED_X_PROGRAM
=0
10074 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10075 echo "configure:10076: checking for Motif/Lesstif headers" >&5
10078 for ac_dir
in $SEARCH_INCLUDE;
10080 if test -f "$ac_dir/Xm/Xm.h"; then
10081 ac_find_includes
=$ac_dir
10086 if test "$ac_find_includes" != "" ; then
10087 echo "$ac_t""found $ac_find_includes" 1>&6
10089 cat > conftest.
$ac_ext <<EOF
10090 #line 10091 "configure"
10091 #include "confdefs.h"
10099 version = xmUseVersion;
10103 if { (eval echo configure
:10104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10106 echo "$ac_t""found in default search path" 1>&6
10107 COMPILED_X_PROGRAM
=1
10110 echo "configure: failed program was:" >&5
10111 cat conftest.
$ac_ext >&5
10114 echo "$ac_t""no" 1>&6
10115 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10122 if test "$COMPILED_X_PROGRAM" = 0; then
10123 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10124 echo "configure:10125: checking for Motif/Lesstif library" >&5
10127 for ac_dir
in $SEARCH_LIB;
10129 for ac_extension
in a so sl
; do
10130 if test -f "$ac_dir/libXm.$ac_extension"; then
10131 ac_find_libraries
=$ac_dir
10137 if test "$ac_find_libraries" != "" ; then
10139 ac_path_to_include
=$ac_find_includes
10140 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10142 if test $result = 0; then
10143 ac_path_to_include
=""
10145 ac_path_to_include
="-I$ac_find_includes"
10149 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10151 if test $result = 0; then
10154 ac_path_to_link
="-L$ac_find_libraries"
10158 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10159 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10160 echo "$ac_t""found at $ac_find_libraries" 1>&6
10162 cat > conftest.
$ac_ext <<EOF
10163 #line 10164 "configure"
10164 #include "confdefs.h"
10172 version = xmUseVersion;
10176 if { (eval echo configure
:10177: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10179 echo "$ac_t""found in default search path" 1>&6
10180 COMPILED_X_PROGRAM
=1
10183 echo "configure: failed program was:" >&5
10184 cat conftest.
$ac_ext >&5
10187 echo "$ac_t""no" 1>&6
10188 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10198 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10199 echo "configure:10200: checking for Xpm library" >&5
10202 for ac_dir
in $SEARCH_LIB;
10204 for ac_extension
in a so sl
; do
10205 if test -f "$ac_dir/libXpm.$ac_extension"; then
10206 ac_find_libraries
=$ac_dir
10212 if test "$ac_find_libraries" != "" ; then
10214 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10216 if test $result = 0; then
10219 ac_path_to_link
="-L$ac_find_libraries"
10222 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10224 cat >> confdefs.h
<<\EOF
10225 #define wxHAVE_LIB_XPM 1
10228 echo "$ac_t""found at $ac_find_libraries" 1>&6
10230 cat > conftest.
$ac_ext <<EOF
10231 #line 10232 "configure"
10232 #include "confdefs.h"
10234 #include <X11/xpm.h>
10240 version = XpmLibraryVersion();
10244 if { (eval echo configure
:10245: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10248 cat >> confdefs.h
<<\EOF
10249 #define wxHAVE_LIB_XPM 1
10252 echo "$ac_t""found in default search path" 1>&6
10253 COMPILED_X_PROGRAM
=0
10256 echo "configure: failed program was:" >&5
10257 cat conftest.
$ac_ext >&5
10260 echo "$ac_t""no" 1>&6
10261 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10268 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10269 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10274 if test "$wxUSE_MAC" = 1; then
10279 if test "$wxUSE_PM" = 1; then
10284 if test "$TOOLKIT" != "PM" ; then
10285 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10290 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10292 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10294 if test "$TOOLKIT_NAME" = "motif"; then
10295 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10298 if test "$wxUSE_UNIVERSAL" = "yes"; then
10299 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10300 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10301 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10304 SETUPH_DIR
="${TOOLKIT_DIR}"
10307 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10308 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10311 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10312 if test "$wxUSE_UNIVERSAL" = "yes"; then
10313 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10316 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10318 if test "$wxUSE_UNIVERSAL" = "yes"; then
10319 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10321 ALL_OBJECTS
="\$(GUIOBJS)"
10324 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10326 if test "$TOOLKIT" != "MSW"; then
10327 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10330 if test "$wxUSE_HTML" = "yes"; then
10331 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10334 if test "$TOOLKIT" != "MSW"; then
10335 if test "$wxUSE_ODBC" = "yes" ; then
10336 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10340 if test "$wxUSE_LIBJPEG" = "yes" ; then
10341 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10343 if test "$wxUSE_LIBTIFF" = "yes" ; then
10344 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10346 if test "$wxUSE_LIBPNG" = "yes" ; then
10347 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10349 if test "$wxUSE_ZLIB" = "yes" ; then
10350 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10352 if test "$wxUSE_FREETYPE" = "yes" ; then
10353 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10356 if test "$wxUSE_UNIVERSAL" = "yes"; then
10357 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10359 ALL_DEPFILES
="\$(GUIDEPS)"
10362 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10364 if test "$TOOLKIT" != "MSW"; then
10365 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10368 if test "$wxUSE_HTML" = "yes"; then
10369 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10372 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
10373 if test "$wxUSE_UNIVERSAL" = "yes"; then
10374 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10376 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10377 RPM_SPEC
="wx\$(TOOLKIT).spec"
10379 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10380 DISTDIR
="wx\$(TOOLKIT)"
10386 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10387 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10389 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10392 TOOLKIT_DEF
="-D__WXBASE__"
10394 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10395 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10397 if test "$wxUSE_ZLIB" = "yes" ; then
10398 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10401 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10403 PORT_FILES
="src/files.lst"
10404 RPM_FILES
="src/rpmfiles.lst"
10405 RPM_SPEC
="wxBase.spec"
10407 GUIDIST
="BASE_DIST"
10411 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10412 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10414 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10415 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10417 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10418 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10420 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10421 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10422 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10423 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10424 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10425 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10431 BURNT_LIBRARY_NAME
=
10432 WX_TARGET_LIBRARY_SONAME
=
10435 if test "$wxUSE_SHARED" = "yes"; then
10438 if test "$GCC" = yes ; then
10439 SHARED_LD
="${CC} -shared -fPIC -o"
10442 LDFLAGS
="-L/usr/lib"
10444 SHARED_LD
="${CXX} -b -o"
10447 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10448 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10449 if test "$wxUSE_OPENGL" = "yes"; then
10450 WX_ALL_INSTALLED
="preinstall_gl"
10451 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10453 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
10458 SHARED_LD
="${CC} -shared -o"
10460 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10461 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
10462 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10463 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
10465 if test "$wxUSE_OPENGL" = "yes"; then
10466 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10467 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10469 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10470 WX_ALL
="CREATE_LINKS"
10473 *-*-irix5* | *-*-irix6* )
10474 if test "$GCC" = yes ; then
10475 SHARED_LD
="${CC} -shared -o"
10478 SHARED_LD
="${CXX} -shared -o"
10480 if test "$wxUSE_OPENGL" = "yes"; then
10481 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10482 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10484 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10485 WX_ALL
="CREATE_LINKS"
10489 if test "$GCC" = yes ; then
10490 SHARED_LD
="${CC} -shared -o"
10493 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
10495 SHARED_LD
="${CXX} -G -o"
10498 if test "$wxUSE_OPENGL" = "yes"; then
10499 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10500 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10502 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10503 WX_ALL
="CREATE_LINKS"
10507 SHARED_LD
="${CC} -shared -o"
10509 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10510 WX_ALL
="CREATE_LINKS"
10512 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10513 SHARED_LD
="${CC} -shared -o"
10515 if test "$wxUSE_OPENGL" = "yes"; then
10516 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10517 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10519 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10520 WX_ALL
="CREATE_LINKS"
10524 SHARED_LD
="${CXX} -dynamiclib -o"
10525 PIC_FLAG
="-dynamic -fPIC"
10526 if test "$wxUSE_OPENGL" = "yes"; then
10527 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10528 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10530 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10531 WX_ALL
="CREATE_LINKS"
10533 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10534 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10535 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10536 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10537 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10538 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
10539 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10540 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10541 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
10544 SHARED_LD
="${CXX} -shared -o"
10546 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10547 WX_ALL
="CREATE_LINKS"
10550 SHARED_LD
="${CXX} -shared -o"
10552 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10553 WX_ALL
="CREATE_LINKS"
10556 SHARED_LD
="${CC} -shared -o"
10558 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10559 WX_ALL
="CREATE_LINKS"
10562 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
10563 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
10566 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10567 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10568 if test "$wxUSE_OPENGL" = "yes"; then
10569 WX_ALL_INSTALLED
="preinstall_gl"
10570 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10572 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10576 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10577 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10578 if test "$wxUSE_OPENGL" = "yes"; then
10579 WX_ALL_INSTALLED
="preinstall_gl"
10580 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10582 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10586 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10587 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10590 SHARED_LD
="${LD} -shared -o"
10592 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10593 WX_ALL
="CREATE_LINKS"
10596 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
10599 if test "x$WX_TARGET_LIBRARY" = "x"; then
10600 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
10601 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
10603 WX_TARGET_LIBRARY_TYPE
="so"
10605 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10606 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10608 if test "$wxUSE_OPENGL" = "yes"; then
10609 WX_ALL_INSTALLED
="preinstall_gl"
10610 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10612 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10615 if test "$wxUSE_GUI" = "no"; then
10616 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
10619 WX_TARGET_LIBRARY_TYPE
="a"
10623 for ac_hdr
in strings.h
10625 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10626 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10627 echo "configure:10628: checking for $ac_hdr" >&5
10628 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10629 echo $ac_n "(cached) $ac_c" 1>&6
10631 cat > conftest.
$ac_ext <<EOF
10632 #line 10633 "configure"
10633 #include "confdefs.h"
10636 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10637 { (eval echo configure
:10638: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10638 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10639 if test -z "$ac_err"; then
10641 eval "ac_cv_header_$ac_safe=yes"
10644 echo "configure: failed program was:" >&5
10645 cat conftest.
$ac_ext >&5
10647 eval "ac_cv_header_$ac_safe=no"
10651 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10652 echo "$ac_t""yes" 1>&6
10653 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10654 cat >> confdefs.h
<<EOF
10655 #define $ac_tr_hdr 1
10659 echo "$ac_t""no" 1>&6
10663 for ac_hdr
in stdlib.h
10665 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10666 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10667 echo "configure:10668: checking for $ac_hdr" >&5
10668 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10669 echo $ac_n "(cached) $ac_c" 1>&6
10671 cat > conftest.
$ac_ext <<EOF
10672 #line 10673 "configure"
10673 #include "confdefs.h"
10676 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10677 { (eval echo configure
:10678: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10678 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10679 if test -z "$ac_err"; then
10681 eval "ac_cv_header_$ac_safe=yes"
10684 echo "configure: failed program was:" >&5
10685 cat conftest.
$ac_ext >&5
10687 eval "ac_cv_header_$ac_safe=no"
10691 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10692 echo "$ac_t""yes" 1>&6
10693 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10694 cat >> confdefs.h
<<EOF
10695 #define $ac_tr_hdr 1
10699 echo "$ac_t""no" 1>&6
10703 for ac_hdr
in unistd.h
10705 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10706 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10707 echo "configure:10708: checking for $ac_hdr" >&5
10708 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10709 echo $ac_n "(cached) $ac_c" 1>&6
10711 cat > conftest.
$ac_ext <<EOF
10712 #line 10713 "configure"
10713 #include "confdefs.h"
10716 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10717 { (eval echo configure
:10718: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10718 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10719 if test -z "$ac_err"; then
10721 eval "ac_cv_header_$ac_safe=yes"
10724 echo "configure: failed program was:" >&5
10725 cat conftest.
$ac_ext >&5
10727 eval "ac_cv_header_$ac_safe=no"
10731 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10732 echo "$ac_t""yes" 1>&6
10733 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10734 cat >> confdefs.h
<<EOF
10735 #define $ac_tr_hdr 1
10739 echo "$ac_t""no" 1>&6
10743 for ac_hdr
in wchar.h
10745 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10746 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10747 echo "configure:10748: checking for $ac_hdr" >&5
10748 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10749 echo $ac_n "(cached) $ac_c" 1>&6
10751 cat > conftest.
$ac_ext <<EOF
10752 #line 10753 "configure"
10753 #include "confdefs.h"
10756 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10757 { (eval echo configure
:10758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10758 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10759 if test -z "$ac_err"; then
10761 eval "ac_cv_header_$ac_safe=yes"
10764 echo "configure: failed program was:" >&5
10765 cat conftest.
$ac_ext >&5
10767 eval "ac_cv_header_$ac_safe=no"
10771 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10772 echo "$ac_t""yes" 1>&6
10773 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10774 cat >> confdefs.h
<<EOF
10775 #define $ac_tr_hdr 1
10779 echo "$ac_t""no" 1>&6
10783 for ac_hdr
in wcstr.h
10785 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10786 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10787 echo "configure:10788: checking for $ac_hdr" >&5
10788 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10789 echo $ac_n "(cached) $ac_c" 1>&6
10791 cat > conftest.
$ac_ext <<EOF
10792 #line 10793 "configure"
10793 #include "confdefs.h"
10796 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10797 { (eval echo configure
:10798: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10798 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10799 if test -z "$ac_err"; then
10801 eval "ac_cv_header_$ac_safe=yes"
10804 echo "configure: failed program was:" >&5
10805 cat conftest.
$ac_ext >&5
10807 eval "ac_cv_header_$ac_safe=no"
10811 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10812 echo "$ac_t""yes" 1>&6
10813 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10814 cat >> confdefs.h
<<EOF
10815 #define $ac_tr_hdr 1
10819 echo "$ac_t""no" 1>&6
10823 for ac_hdr
in fnmatch.h
10825 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10826 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10827 echo "configure:10828: checking for $ac_hdr" >&5
10828 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10829 echo $ac_n "(cached) $ac_c" 1>&6
10831 cat > conftest.
$ac_ext <<EOF
10832 #line 10833 "configure"
10833 #include "confdefs.h"
10836 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10837 { (eval echo configure
:10838: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10838 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10839 if test -z "$ac_err"; then
10841 eval "ac_cv_header_$ac_safe=yes"
10844 echo "configure: failed program was:" >&5
10845 cat conftest.
$ac_ext >&5
10847 eval "ac_cv_header_$ac_safe=no"
10851 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10852 echo "$ac_t""yes" 1>&6
10853 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10854 cat >> confdefs.h
<<EOF
10855 #define $ac_tr_hdr 1
10859 echo "$ac_t""no" 1>&6
10863 for ac_hdr
in iconv.h
10865 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10866 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10867 echo "configure:10868: checking for $ac_hdr" >&5
10868 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10869 echo $ac_n "(cached) $ac_c" 1>&6
10871 cat > conftest.
$ac_ext <<EOF
10872 #line 10873 "configure"
10873 #include "confdefs.h"
10876 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10877 { (eval echo configure
:10878: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10878 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10879 if test -z "$ac_err"; then
10881 eval "ac_cv_header_$ac_safe=yes"
10884 echo "configure: failed program was:" >&5
10885 cat conftest.
$ac_ext >&5
10887 eval "ac_cv_header_$ac_safe=no"
10891 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10892 echo "$ac_t""yes" 1>&6
10893 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10894 cat >> confdefs.h
<<EOF
10895 #define $ac_tr_hdr 1
10899 echo "$ac_t""no" 1>&6
10903 for ac_hdr
in langinfo.h
10905 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10906 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10907 echo "configure:10908: checking for $ac_hdr" >&5
10908 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10909 echo $ac_n "(cached) $ac_c" 1>&6
10911 cat > conftest.
$ac_ext <<EOF
10912 #line 10913 "configure"
10913 #include "confdefs.h"
10916 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10917 { (eval echo configure
:10918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10918 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10919 if test -z "$ac_err"; then
10921 eval "ac_cv_header_$ac_safe=yes"
10924 echo "configure: failed program was:" >&5
10925 cat conftest.
$ac_ext >&5
10927 eval "ac_cv_header_$ac_safe=no"
10931 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10932 echo "$ac_t""yes" 1>&6
10933 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10934 cat >> confdefs.h
<<EOF
10935 #define $ac_tr_hdr 1
10939 echo "$ac_t""no" 1>&6
10944 if test "$wxUSE_GUI" = "yes"; then
10945 if test "$wxUSE_UNIX" = "yes"; then
10946 for ac_hdr
in X
11/XKBlib.h
10948 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10949 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10950 echo "configure:10951: checking for $ac_hdr" >&5
10951 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10952 echo $ac_n "(cached) $ac_c" 1>&6
10954 cat > conftest.
$ac_ext <<EOF
10955 #line 10956 "configure"
10956 #include "confdefs.h"
10959 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10960 { (eval echo configure
:10961: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10961 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10962 if test -z "$ac_err"; then
10964 eval "ac_cv_header_$ac_safe=yes"
10967 echo "configure: failed program was:" >&5
10968 cat conftest.
$ac_ext >&5
10970 eval "ac_cv_header_$ac_safe=no"
10974 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10975 echo "$ac_t""yes" 1>&6
10976 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10977 cat >> confdefs.h
<<EOF
10978 #define $ac_tr_hdr 1
10982 echo "$ac_t""no" 1>&6
10990 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
10991 echo "configure:10992: checking for ANSI C header files" >&5
10992 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
10993 echo $ac_n "(cached) $ac_c" 1>&6
10995 cat > conftest.
$ac_ext <<EOF
10996 #line 10997 "configure"
10997 #include "confdefs.h"
10998 #include <stdlib.h>
10999 #include <stdarg.h>
11000 #include <string.h>
11003 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11004 { (eval echo configure
:11005: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11005 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11006 if test -z "$ac_err"; then
11008 ac_cv_header_stdc
=yes
11011 echo "configure: failed program was:" >&5
11012 cat conftest.
$ac_ext >&5
11014 ac_cv_header_stdc
=no
11018 if test $ac_cv_header_stdc = yes; then
11019 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11020 cat > conftest.
$ac_ext <<EOF
11021 #line 11022 "configure"
11022 #include "confdefs.h"
11023 #include <string.h>
11025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11026 egrep "memchr" >/dev
/null
2>&1; then
11030 ac_cv_header_stdc
=no
11036 if test $ac_cv_header_stdc = yes; then
11037 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11038 cat > conftest.
$ac_ext <<EOF
11039 #line 11040 "configure"
11040 #include "confdefs.h"
11041 #include <stdlib.h>
11043 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11044 egrep "free" >/dev
/null
2>&1; then
11048 ac_cv_header_stdc
=no
11054 if test $ac_cv_header_stdc = yes; then
11055 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11056 if test "$cross_compiling" = yes; then
11059 cat > conftest.
$ac_ext <<EOF
11060 #line 11061 "configure"
11061 #include "confdefs.h"
11063 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11064 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11065 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11066 int main () { int i; for (i = 0; i < 256; i++)
11067 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11071 if { (eval echo configure
:11072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11075 echo "configure: failed program was:" >&5
11076 cat conftest.
$ac_ext >&5
11078 ac_cv_header_stdc
=no
11086 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11087 if test $ac_cv_header_stdc = yes; then
11088 cat >> confdefs.h
<<\EOF
11089 #define STDC_HEADERS 1
11094 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11095 echo "configure:11096: checking for mode_t" >&5
11096 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11097 echo $ac_n "(cached) $ac_c" 1>&6
11099 cat > conftest.
$ac_ext <<EOF
11100 #line 11101 "configure"
11101 #include "confdefs.h"
11102 #include <sys/types.h>
11104 #include <stdlib.h>
11105 #include <stddef.h>
11108 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11109 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11111 ac_cv_type_mode_t
=yes
11114 ac_cv_type_mode_t
=no
11119 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11120 if test $ac_cv_type_mode_t = no
; then
11121 cat >> confdefs.h
<<\EOF
11127 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11128 echo "configure:11129: checking for off_t" >&5
11129 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11130 echo $ac_n "(cached) $ac_c" 1>&6
11132 cat > conftest.
$ac_ext <<EOF
11133 #line 11134 "configure"
11134 #include "confdefs.h"
11135 #include <sys/types.h>
11137 #include <stdlib.h>
11138 #include <stddef.h>
11141 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11142 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11144 ac_cv_type_off_t
=yes
11147 ac_cv_type_off_t
=no
11152 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11153 if test $ac_cv_type_off_t = no
; then
11154 cat >> confdefs.h
<<\EOF
11160 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11161 echo "configure:11162: checking for pid_t" >&5
11162 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11163 echo $ac_n "(cached) $ac_c" 1>&6
11165 cat > conftest.
$ac_ext <<EOF
11166 #line 11167 "configure"
11167 #include "confdefs.h"
11168 #include <sys/types.h>
11170 #include <stdlib.h>
11171 #include <stddef.h>
11174 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11175 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11177 ac_cv_type_pid_t
=yes
11180 ac_cv_type_pid_t
=no
11185 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11186 if test $ac_cv_type_pid_t = no
; then
11187 cat >> confdefs.h
<<\EOF
11193 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11194 echo "configure:11195: checking for size_t" >&5
11195 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11196 echo $ac_n "(cached) $ac_c" 1>&6
11198 cat > conftest.
$ac_ext <<EOF
11199 #line 11200 "configure"
11200 #include "confdefs.h"
11201 #include <sys/types.h>
11203 #include <stdlib.h>
11204 #include <stddef.h>
11207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11208 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11210 ac_cv_type_size_t
=yes
11213 ac_cv_type_size_t
=no
11218 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11219 if test $ac_cv_type_size_t = no
; then
11220 cat >> confdefs.h
<<\EOF
11221 #define size_t unsigned
11226 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11227 echo "configure:11228: checking for uid_t in sys/types.h" >&5
11228 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11229 echo $ac_n "(cached) $ac_c" 1>&6
11231 cat > conftest.
$ac_ext <<EOF
11232 #line 11233 "configure"
11233 #include "confdefs.h"
11234 #include <sys/types.h>
11236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11237 egrep "uid_t" >/dev
/null
2>&1; then
11239 ac_cv_type_uid_t
=yes
11242 ac_cv_type_uid_t
=no
11248 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11249 if test $ac_cv_type_uid_t = no
; then
11250 cat >> confdefs.h
<<\EOF
11254 cat >> confdefs.h
<<\EOF
11261 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11262 echo "configure:11263: checking for wchar_t" >&5
11263 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11264 echo $ac_n "(cached) $ac_c" 1>&6
11267 cat > conftest.
$ac_ext <<EOF
11268 #line 11269 "configure"
11269 #include "confdefs.h"
11275 ws = L"Hello, world!";
11279 if { (eval echo configure
:11280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11281 wx_cv_type_wchar_t
=yes
11283 echo "configure: failed program was:" >&5
11284 cat conftest.
$ac_ext >&5
11286 cat > conftest.
$ac_ext <<EOF
11287 #line 11288 "configure"
11288 #include "confdefs.h"
11289 #include <stdlib.h>
11294 ws = L"Hello, world!";
11298 if { (eval echo configure
:11299: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11300 wx_cv_type_wchar_t
=yes
11302 echo "configure: failed program was:" >&5
11303 cat conftest.
$ac_ext >&5
11305 wx_cv_type_wchar_t
=no
11314 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11316 if test "$wx_cv_type_wchar_t" = "yes"; then
11317 cat >> confdefs.h
<<\EOF
11318 #define wxUSE_WCHAR_T 1
11325 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11326 ac_cpp
='$CXXCPP $CPPFLAGS'
11327 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11328 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11329 cross_compiling
=$ac_cv_prog_cxx_cross
11331 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11332 echo "configure:11333: checking if size_t is unsigned int" >&5
11333 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11334 echo $ac_n "(cached) $ac_c" 1>&6
11336 cat > conftest.
$ac_ext <<EOF
11337 #line 11338 "configure"
11338 #include "confdefs.h"
11339 #include <stddef.h>
11344 struct Foo { void foo(size_t); void foo(unsigned int); };
11350 if { (eval echo configure
:11351: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11352 wx_cv_size_t_is_uint
=no
11354 echo "configure: failed program was:" >&5
11355 cat conftest.
$ac_ext >&5
11357 wx_cv_size_t_is_uint
=yes
11364 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11366 if test "$wx_cv_size_t_is_uint" = "yes"; then
11367 cat >> confdefs.h
<<\EOF
11368 #define wxSIZE_T_IS_UINT 1
11372 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11373 echo "configure:11374: checking if size_t is unsigned long" >&5
11374 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11375 echo $ac_n "(cached) $ac_c" 1>&6
11377 cat > conftest.
$ac_ext <<EOF
11378 #line 11379 "configure"
11379 #include "confdefs.h"
11380 #include <stddef.h>
11385 struct Foo { void foo(size_t); void foo(unsigned long); };
11391 if { (eval echo configure
:11392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11393 wx_cv_size_t_is_ulong
=no
11395 echo "configure: failed program was:" >&5
11396 cat conftest.
$ac_ext >&5
11398 wx_cv_size_t_is_ulong
=yes
11405 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11407 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11408 cat >> confdefs.h
<<\EOF
11409 #define wxSIZE_T_IS_ULONG 1
11416 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11417 ac_cpp
='$CPP $CPPFLAGS'
11418 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11419 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11420 cross_compiling
=$ac_cv_prog_cc_cross
11424 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11425 echo "configure:11426: checking for pw_gecos in struct passwd" >&5
11426 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11427 echo $ac_n "(cached) $ac_c" 1>&6
11430 cat > conftest.
$ac_ext <<EOF
11431 #line 11432 "configure"
11432 #include "confdefs.h"
11442 if { (eval echo configure
:11443: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11445 wx_cv_struct_pw_gecos
=yes
11448 echo "configure: failed program was:" >&5
11449 cat conftest.
$ac_ext >&5
11452 wx_cv_struct_pw_gecos
=no
11461 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11463 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11464 cat >> confdefs.h
<<\EOF
11465 #define HAVE_PW_GECOS 1
11471 echo $ac_n "checking for working const""... $ac_c" 1>&6
11472 echo "configure:11473: checking for working const" >&5
11473 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11474 echo $ac_n "(cached) $ac_c" 1>&6
11476 cat > conftest.
$ac_ext <<EOF
11477 #line 11478 "configure"
11478 #include "confdefs.h"
11482 /* Ultrix mips cc rejects this. */
11483 typedef int charset[2]; const charset x;
11484 /* SunOS 4.1.1 cc rejects this. */
11485 char const *const *ccp;
11487 /* NEC SVR4.0.2 mips cc rejects this. */
11488 struct point {int x, y;};
11489 static struct point const zero = {0,0};
11490 /* AIX XL C 1.02.0.0 rejects this.
11491 It does not let you subtract one const X* pointer from another in an arm
11492 of an if-expression whose if-part is not a constant expression */
11493 const char *g = "string";
11494 ccp = &g + (g ? g-g : 0);
11495 /* HPUX 7.0 cc rejects these. */
11498 ccp = (char const *const *) p;
11499 { /* SCO 3.2v4 cc rejects this. */
11501 char const *s = 0 ? (char *) 0 : (char const *) 0;
11505 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11506 int x[] = {25, 17};
11507 const int *foo = &x[0];
11510 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11511 typedef const int *iptr;
11515 { /* AIX XL C 1.02.0.0 rejects this saying
11516 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11517 struct s { int j; const int *ap[3]; };
11518 struct s *b; b->j = 5;
11520 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11521 const int foo = 10;
11526 if { (eval echo configure
:11527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11530 echo "configure: failed program was:" >&5
11531 cat conftest.
$ac_ext >&5
11538 echo "$ac_t""$ac_cv_c_const" 1>&6
11539 if test $ac_cv_c_const = no
; then
11540 cat >> confdefs.h
<<\EOF
11546 echo $ac_n "checking for inline""... $ac_c" 1>&6
11547 echo "configure:11548: checking for inline" >&5
11548 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11549 echo $ac_n "(cached) $ac_c" 1>&6
11552 for ac_kw
in inline __inline__ __inline
; do
11553 cat > conftest.
$ac_ext <<EOF
11554 #line 11555 "configure"
11555 #include "confdefs.h"
11561 if { (eval echo configure
:11562: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11563 ac_cv_c_inline
=$ac_kw; break
11565 echo "configure: failed program was:" >&5
11566 cat conftest.
$ac_ext >&5
11573 echo "$ac_t""$ac_cv_c_inline" 1>&6
11574 case "$ac_cv_c_inline" in
11576 no
) cat >> confdefs.h
<<\EOF
11580 *) cat >> confdefs.h
<<EOF
11581 #define inline $ac_cv_c_inline
11587 echo $ac_n "checking size of char""... $ac_c" 1>&6
11588 echo "configure:11589: checking size of char" >&5
11589 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
11590 echo $ac_n "(cached) $ac_c" 1>&6
11592 if test "$cross_compiling" = yes; then
11593 ac_cv_sizeof_char
=1
11595 cat > conftest.
$ac_ext <<EOF
11596 #line 11597 "configure"
11597 #include "confdefs.h"
11601 FILE *f=fopen("conftestval", "w");
11603 fprintf(f, "%d\n", sizeof(char));
11607 if { (eval echo configure
:11608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11609 ac_cv_sizeof_char
=`cat conftestval`
11611 echo "configure: failed program was:" >&5
11612 cat conftest.
$ac_ext >&5
11614 ac_cv_sizeof_char
=0
11620 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
11621 cat >> confdefs.h
<<EOF
11622 #define SIZEOF_CHAR $ac_cv_sizeof_char
11626 echo $ac_n "checking size of short""... $ac_c" 1>&6
11627 echo "configure:11628: checking size of short" >&5
11628 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
11629 echo $ac_n "(cached) $ac_c" 1>&6
11631 if test "$cross_compiling" = yes; then
11632 ac_cv_sizeof_short
=2
11634 cat > conftest.
$ac_ext <<EOF
11635 #line 11636 "configure"
11636 #include "confdefs.h"
11640 FILE *f=fopen("conftestval", "w");
11642 fprintf(f, "%d\n", sizeof(short));
11646 if { (eval echo configure
:11647: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11648 ac_cv_sizeof_short
=`cat conftestval`
11650 echo "configure: failed program was:" >&5
11651 cat conftest.
$ac_ext >&5
11653 ac_cv_sizeof_short
=0
11659 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
11660 cat >> confdefs.h
<<EOF
11661 #define SIZEOF_SHORT $ac_cv_sizeof_short
11665 echo $ac_n "checking size of int *""... $ac_c" 1>&6
11666 echo "configure:11667: checking size of int *" >&5
11667 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
11668 echo $ac_n "(cached) $ac_c" 1>&6
11670 if test "$cross_compiling" = yes; then
11671 ac_cv_sizeof_int_p
=4
11673 cat > conftest.
$ac_ext <<EOF
11674 #line 11675 "configure"
11675 #include "confdefs.h"
11679 FILE *f=fopen("conftestval", "w");
11681 fprintf(f, "%d\n", sizeof(int *));
11685 if { (eval echo configure
:11686: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11687 ac_cv_sizeof_int_p
=`cat conftestval`
11689 echo "configure: failed program was:" >&5
11690 cat conftest.
$ac_ext >&5
11692 ac_cv_sizeof_int_p
=0
11698 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
11699 cat >> confdefs.h
<<EOF
11700 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
11704 echo $ac_n "checking size of int""... $ac_c" 1>&6
11705 echo "configure:11706: checking size of int" >&5
11706 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
11707 echo $ac_n "(cached) $ac_c" 1>&6
11709 if test "$cross_compiling" = yes; then
11712 cat > conftest.
$ac_ext <<EOF
11713 #line 11714 "configure"
11714 #include "confdefs.h"
11718 FILE *f=fopen("conftestval", "w");
11720 fprintf(f, "%d\n", sizeof(int));
11724 if { (eval echo configure
:11725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11726 ac_cv_sizeof_int
=`cat conftestval`
11728 echo "configure: failed program was:" >&5
11729 cat conftest.
$ac_ext >&5
11737 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
11738 cat >> confdefs.h
<<EOF
11739 #define SIZEOF_INT $ac_cv_sizeof_int
11743 echo $ac_n "checking size of long""... $ac_c" 1>&6
11744 echo "configure:11745: checking size of long" >&5
11745 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
11746 echo $ac_n "(cached) $ac_c" 1>&6
11748 if test "$cross_compiling" = yes; then
11749 ac_cv_sizeof_long
=4
11751 cat > conftest.
$ac_ext <<EOF
11752 #line 11753 "configure"
11753 #include "confdefs.h"
11757 FILE *f=fopen("conftestval", "w");
11759 fprintf(f, "%d\n", sizeof(long));
11763 if { (eval echo configure
:11764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11765 ac_cv_sizeof_long
=`cat conftestval`
11767 echo "configure: failed program was:" >&5
11768 cat conftest.
$ac_ext >&5
11770 ac_cv_sizeof_long
=0
11776 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
11777 cat >> confdefs.h
<<EOF
11778 #define SIZEOF_LONG $ac_cv_sizeof_long
11782 echo $ac_n "checking size of long long""... $ac_c" 1>&6
11783 echo "configure:11784: checking size of long long" >&5
11784 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
11785 echo $ac_n "(cached) $ac_c" 1>&6
11787 if test "$cross_compiling" = yes; then
11788 ac_cv_sizeof_long_long
=0
11790 cat > conftest.
$ac_ext <<EOF
11791 #line 11792 "configure"
11792 #include "confdefs.h"
11796 FILE *f=fopen("conftestval", "w");
11798 fprintf(f, "%d\n", sizeof(long long));
11802 if { (eval echo configure
:11803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11804 ac_cv_sizeof_long_long
=`cat conftestval`
11806 echo "configure: failed program was:" >&5
11807 cat conftest.
$ac_ext >&5
11809 ac_cv_sizeof_long_long
=0
11815 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
11816 cat >> confdefs.h
<<EOF
11817 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11822 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
11823 echo "configure:11824: checking size of wchar_t" >&5
11824 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
11825 echo $ac_n "(cached) $ac_c" 1>&6
11828 if test "$cross_compiling" = yes; then
11829 wx_cv_sizeof_wchar_t
=4
11832 cat > conftest.
$ac_ext <<EOF
11833 #line 11834 "configure"
11834 #include "confdefs.h"
11836 #ifdef HAVE_WCHAR_H
11837 # include <wchar.h>
11839 #ifdef HAVE_STDLIB_H
11840 # include <stdlib.h>
11845 FILE *f=fopen("conftestval", "w");
11847 fprintf(f, "%i", sizeof(wchar_t));
11852 if { (eval echo configure
:11853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11854 wx_cv_sizeof_wchar_t
=`cat conftestval`
11856 echo "configure: failed program was:" >&5
11857 cat conftest.
$ac_ext >&5
11859 wx_cv_sizeof_wchar_t
=0
11867 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
11869 cat >> confdefs.h
<<EOF
11870 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
11874 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
11875 echo "configure:11876: checking whether byte ordering is bigendian" >&5
11876 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
11877 echo $ac_n "(cached) $ac_c" 1>&6
11879 ac_cv_c_bigendian
=unknown
11880 # See if sys/param.h defines the BYTE_ORDER macro.
11881 cat > conftest.
$ac_ext <<EOF
11882 #line 11883 "configure"
11883 #include "confdefs.h"
11884 #include <sys/types.h>
11885 #include <sys/param.h>
11888 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
11889 bogus endian macros
11893 if { (eval echo configure
:11894: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11895 # It does; now see whether it defined to BIG_ENDIAN or not.
11896 cat > conftest.
$ac_ext <<EOF
11897 #line 11898 "configure"
11898 #include "confdefs.h"
11899 #include <sys/types.h>
11900 #include <sys/param.h>
11903 #if BYTE_ORDER != BIG_ENDIAN
11908 if { (eval echo configure
:11909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11910 ac_cv_c_bigendian
=yes
11912 echo "configure: failed program was:" >&5
11913 cat conftest.
$ac_ext >&5
11915 ac_cv_c_bigendian
=no
11919 echo "configure: failed program was:" >&5
11920 cat conftest.
$ac_ext >&5
11923 if test $ac_cv_c_bigendian = unknown
; then
11924 if test "$cross_compiling" = yes; then
11925 ac_cv_c_bigendian
=unknown
11927 cat > conftest.
$ac_ext <<EOF
11928 #line 11929 "configure"
11929 #include "confdefs.h"
11931 /* Are we little or big endian? From Harbison&Steele. */
11935 char c[sizeof (long)];
11938 exit (u.c[sizeof (long) - 1] == 1);
11941 if { (eval echo configure
:11942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11943 ac_cv_c_bigendian
=no
11945 echo "configure: failed program was:" >&5
11946 cat conftest.
$ac_ext >&5
11948 ac_cv_c_bigendian
=yes
11956 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11957 if test $ac_cv_c_bigendian = unknown
; then
11958 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
11960 if test $ac_cv_c_bigendian = yes; then
11961 cat >> confdefs.h
<<\EOF
11962 #define WORDS_BIGENDIAN 1
11969 if test "$cross_compiling" = "yes"; then
11970 cat >> confdefs.h
<<\EOF
11971 #define wxUSE_IOSTREAMH 1
11977 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11978 ac_cpp
='$CXXCPP $CPPFLAGS'
11979 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11980 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11981 cross_compiling
=$ac_cv_prog_cxx_cross
11984 for ac_hdr
in iostream
11986 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11987 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11988 echo "configure:11989: checking for $ac_hdr" >&5
11989 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11990 echo $ac_n "(cached) $ac_c" 1>&6
11992 cat > conftest.
$ac_ext <<EOF
11993 #line 11994 "configure"
11994 #include "confdefs.h"
11997 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11998 { (eval echo configure
:11999: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11999 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12000 if test -z "$ac_err"; then
12002 eval "ac_cv_header_$ac_safe=yes"
12005 echo "configure: failed program was:" >&5
12006 cat conftest.
$ac_ext >&5
12008 eval "ac_cv_header_$ac_safe=no"
12012 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12013 echo "$ac_t""yes" 1>&6
12014 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12015 cat >> confdefs.h
<<EOF
12016 #define $ac_tr_hdr 1
12020 echo "$ac_t""no" 1>&6
12025 if test "$ac_cv_header_iostream" = "yes" ; then
12028 cat >> confdefs.h
<<\EOF
12029 #define wxUSE_IOSTREAMH 1
12035 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12036 ac_cpp
='$CPP $CPPFLAGS'
12037 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12038 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12039 cross_compiling
=$ac_cv_prog_cc_cross
12045 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12046 echo "configure:12047: checking if C++ compiler supports bool" >&5
12047 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12048 echo $ac_n "(cached) $ac_c" 1>&6
12053 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12054 ac_cpp
='$CXXCPP $CPPFLAGS'
12055 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12056 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12057 cross_compiling
=$ac_cv_prog_cxx_cross
12060 cat > conftest.
$ac_ext <<EOF
12061 #line 12062 "configure"
12062 #include "confdefs.h"
12073 if { (eval echo configure
:12074: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12079 echo "configure: failed program was:" >&5
12080 cat conftest.
$ac_ext >&5
12090 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12091 ac_cpp
='$CPP $CPPFLAGS'
12092 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12093 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12094 cross_compiling
=$ac_cv_prog_cc_cross
12099 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12101 if test "$wx_cv_cpp_bool" = "yes"; then
12102 cat >> confdefs.h
<<\EOF
12103 #define HAVE_BOOL 1
12110 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12111 echo "configure:12112: checking for wcslen in -lc" >&5
12112 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12113 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12114 echo $ac_n "(cached) $ac_c" 1>&6
12116 ac_save_LIBS
="$LIBS"
12118 cat > conftest.
$ac_ext <<EOF
12119 #line 12120 "configure"
12120 #include "confdefs.h"
12121 /* Override any gcc2 internal prototype to avoid an error. */
12122 /* We use char because int might match the return type of a gcc2
12123 builtin and then its argument prototype would still apply. */
12130 if { (eval echo configure
:12131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12132 eval "ac_cv_lib_$ac_lib_var=yes"
12134 echo "configure: failed program was:" >&5
12135 cat conftest.
$ac_ext >&5
12137 eval "ac_cv_lib_$ac_lib_var=no"
12140 LIBS
="$ac_save_LIBS"
12143 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12144 echo "$ac_t""yes" 1>&6
12146 cat >> confdefs.h
<<\EOF
12147 #define HAVE_WCSLEN 1
12153 echo "$ac_t""no" 1>&6
12155 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12156 echo "configure:12157: checking for wcslen in -lw" >&5
12157 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12158 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12159 echo $ac_n "(cached) $ac_c" 1>&6
12161 ac_save_LIBS
="$LIBS"
12163 cat > conftest.
$ac_ext <<EOF
12164 #line 12165 "configure"
12165 #include "confdefs.h"
12166 /* Override any gcc2 internal prototype to avoid an error. */
12167 /* We use char because int might match the return type of a gcc2
12168 builtin and then its argument prototype would still apply. */
12175 if { (eval echo configure
:12176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12177 eval "ac_cv_lib_$ac_lib_var=yes"
12179 echo "configure: failed program was:" >&5
12180 cat conftest.
$ac_ext >&5
12182 eval "ac_cv_lib_$ac_lib_var=no"
12185 LIBS
="$ac_save_LIBS"
12188 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12189 echo "$ac_t""yes" 1>&6
12191 cat >> confdefs.h
<<\EOF
12192 #define HAVE_WCSLEN 1
12198 echo "$ac_t""no" 1>&6
12205 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12206 echo "configure:12207: checking for vprintf" >&5
12207 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12208 echo $ac_n "(cached) $ac_c" 1>&6
12210 cat > conftest.
$ac_ext <<EOF
12211 #line 12212 "configure"
12212 #include "confdefs.h"
12213 /* System header to define __stub macros and hopefully few prototypes,
12214 which can conflict with char vprintf(); below. */
12215 #include <assert.h>
12216 /* Override any gcc2 internal prototype to avoid an error. */
12217 /* We use char because int might match the return type of a gcc2
12218 builtin and then its argument prototype would still apply. */
12223 /* The GNU C library defines this for functions which it implements
12224 to always fail with ENOSYS. Some functions are actually named
12225 something starting with __ and the normal name is an alias. */
12226 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12234 if { (eval echo configure
:12235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12236 eval "ac_cv_func_vprintf=yes"
12238 echo "configure: failed program was:" >&5
12239 cat conftest.
$ac_ext >&5
12241 eval "ac_cv_func_vprintf=no"
12246 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12247 echo "$ac_t""yes" 1>&6
12248 cat >> confdefs.h
<<\EOF
12249 #define HAVE_VPRINTF 1
12253 echo "$ac_t""no" 1>&6
12256 if test "$ac_cv_func_vprintf" != yes; then
12257 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12258 echo "configure:12259: checking for _doprnt" >&5
12259 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12260 echo $ac_n "(cached) $ac_c" 1>&6
12262 cat > conftest.
$ac_ext <<EOF
12263 #line 12264 "configure"
12264 #include "confdefs.h"
12265 /* System header to define __stub macros and hopefully few prototypes,
12266 which can conflict with char _doprnt(); below. */
12267 #include <assert.h>
12268 /* Override any gcc2 internal prototype to avoid an error. */
12269 /* We use char because int might match the return type of a gcc2
12270 builtin and then its argument prototype would still apply. */
12275 /* The GNU C library defines this for functions which it implements
12276 to always fail with ENOSYS. Some functions are actually named
12277 something starting with __ and the normal name is an alias. */
12278 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12286 if { (eval echo configure
:12287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12288 eval "ac_cv_func__doprnt=yes"
12290 echo "configure: failed program was:" >&5
12291 cat conftest.
$ac_ext >&5
12293 eval "ac_cv_func__doprnt=no"
12298 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12299 echo "$ac_t""yes" 1>&6
12300 cat >> confdefs.h
<<\EOF
12301 #define HAVE_DOPRNT 1
12305 echo "$ac_t""no" 1>&6
12316 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12317 echo "configure:12318: checking for vsnprintf" >&5
12318 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12319 echo $ac_n "(cached) $ac_c" 1>&6
12322 cat > conftest.
$ac_ext <<EOF
12323 #line 12324 "configure"
12324 #include "confdefs.h"
12327 #include <stdarg.h>
12331 int wx_test_vsnprintf(const char *, ...);
12333 wx_test_vsnprintf("%s");
12337 int wx_test_vsnprintf(const char *fmt, ...)
12342 va_start(argp, fmt);
12343 vsnprintf(s, 42, fmt, argp);
12348 if { (eval echo configure
:12349: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12351 wx_cv_func_vsnprintf
=yes
12354 echo "configure: failed program was:" >&5
12355 cat conftest.
$ac_ext >&5
12358 cat > conftest.
$ac_ext <<EOF
12359 #line 12360 "configure"
12360 #include "confdefs.h"
12363 #include <stdarg.h>
12367 int wx_test_vsnprintf(const char *, ...);
12369 wx_test_vsnprintf("%s");
12373 int wx_test_vsnprintf(const char *fmt, ...)
12378 va_start(argp, fmt);
12379 _vsnprintf(s, 42, fmt, argp);
12384 if { (eval echo configure
:12385: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12387 wx_cv_func_vsnprintf
=yes
12390 echo "configure: failed program was:" >&5
12391 cat conftest.
$ac_ext >&5
12394 wx_cv_func_vsnprintf
=no
12404 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12406 if test "$wx_cv_func_vsnprintf" = yes; then
12407 cat >> confdefs.h
<<\EOF
12408 #define HAVE_VSNPRINTF 1
12412 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12415 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12416 echo "configure:12417: checking for vsscanf" >&5
12417 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12418 echo $ac_n "(cached) $ac_c" 1>&6
12421 cat > conftest.
$ac_ext <<EOF
12422 #line 12423 "configure"
12423 #include "confdefs.h"
12426 #include <stdarg.h>
12430 int wx_test_vsscanf(const char *, ...);
12432 wx_test_vsscanf("%d");
12436 int wx_test_vsscanf(const char *fmt, ...)
12439 va_start(argp, fmt);
12440 vsscanf("42", fmt, argp);
12445 if { (eval echo configure
:12446: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12448 wx_cv_func_vsscanf
=yes
12451 echo "configure: failed program was:" >&5
12452 cat conftest.
$ac_ext >&5
12455 wx_cv_func_vsscanf
=no
12462 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12464 if test "$wx_cv_func_vsscanf" = yes; then
12465 cat >> confdefs.h
<<\EOF
12466 #define HAVE_VSSCANF 1
12471 if test "$TOOLKIT" != "MSW"; then
12476 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12477 ac_cpp
='$CXXCPP $CPPFLAGS'
12478 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12479 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12480 cross_compiling
=$ac_cv_prog_cxx_cross
12482 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12483 echo "configure:12484: checking if iconv() takes char**" >&5
12484 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12485 echo $ac_n "(cached) $ac_c" 1>&6
12488 cat > conftest.
$ac_ext <<EOF
12489 #line 12490 "configure"
12490 #include "confdefs.h"
12494 char **inbuf, **outbuf;
12496 size_t insz, outsz;
12497 iconv(cd, inbuf, &insz, outbuf, &outsz);
12501 if { (eval echo configure
:12502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12503 wx_cv_iconv_takes_char
=yes
12505 echo "configure: failed program was:" >&5
12506 cat conftest.
$ac_ext >&5
12508 wx_cv_iconv_takes_char
=no
12514 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12516 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12517 ac_cpp
='$CPP $CPPFLAGS'
12518 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12519 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12520 cross_compiling
=$ac_cv_prog_cc_cross
12522 if test "$wx_cv_iconv_takes_char" = yes ; then
12523 cat >> confdefs.h
<<\EOF
12524 #define WX_ICONV_TAKES_CHAR 1
12530 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
12531 for ac_func
in sigaction
12533 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12534 echo "configure:12535: checking for $ac_func" >&5
12535 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12536 echo $ac_n "(cached) $ac_c" 1>&6
12538 cat > conftest.
$ac_ext <<EOF
12539 #line 12540 "configure"
12540 #include "confdefs.h"
12541 /* System header to define __stub macros and hopefully few prototypes,
12542 which can conflict with char $ac_func(); below. */
12543 #include <assert.h>
12544 /* Override any gcc2 internal prototype to avoid an error. */
12545 /* We use char because int might match the return type of a gcc2
12546 builtin and then its argument prototype would still apply. */
12551 /* The GNU C library defines this for functions which it implements
12552 to always fail with ENOSYS. Some functions are actually named
12553 something starting with __ and the normal name is an alias. */
12554 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12562 if { (eval echo configure
:12563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12564 eval "ac_cv_func_$ac_func=yes"
12566 echo "configure: failed program was:" >&5
12567 cat conftest.
$ac_ext >&5
12569 eval "ac_cv_func_$ac_func=no"
12574 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12575 echo "$ac_t""yes" 1>&6
12576 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12577 cat >> confdefs.h
<<EOF
12578 #define $ac_tr_func 1
12582 echo "$ac_t""no" 1>&6
12587 if test "$ac_cv_func_sigaction" = "no"; then
12588 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
12589 wxUSE_ON_FATAL_EXCEPTION
=no
12592 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12595 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12596 ac_cpp
='$CXXCPP $CPPFLAGS'
12597 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12598 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12599 cross_compiling
=$ac_cv_prog_cxx_cross
12602 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
12603 echo "configure:12604: checking for sa_handler type" >&5
12604 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
12605 echo $ac_n "(cached) $ac_c" 1>&6
12608 cat > conftest.
$ac_ext <<EOF
12609 #line 12610 "configure"
12610 #include "confdefs.h"
12611 #include <signal.h>
12614 extern void testSigHandler(int);
12616 struct sigaction sa;
12617 sa.sa_handler = testSigHandler;
12621 if { (eval echo configure
:12622: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12624 wx_cv_type_sa_handler
=int
12627 echo "configure: failed program was:" >&5
12628 cat conftest.
$ac_ext >&5
12631 wx_cv_type_sa_handler
=void
12638 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
12641 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12642 ac_cpp
='$CPP $CPPFLAGS'
12643 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12644 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12645 cross_compiling
=$ac_cv_prog_cc_cross
12648 cat >> confdefs.h
<<EOF
12649 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
12655 for ac_func
in vfork
12657 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12658 echo "configure:12659: checking for $ac_func" >&5
12659 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12660 echo $ac_n "(cached) $ac_c" 1>&6
12662 cat > conftest.
$ac_ext <<EOF
12663 #line 12664 "configure"
12664 #include "confdefs.h"
12665 /* System header to define __stub macros and hopefully few prototypes,
12666 which can conflict with char $ac_func(); below. */
12667 #include <assert.h>
12668 /* Override any gcc2 internal prototype to avoid an error. */
12669 /* We use char because int might match the return type of a gcc2
12670 builtin and then its argument prototype would still apply. */
12675 /* The GNU C library defines this for functions which it implements
12676 to always fail with ENOSYS. Some functions are actually named
12677 something starting with __ and the normal name is an alias. */
12678 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12686 if { (eval echo configure
:12687: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12688 eval "ac_cv_func_$ac_func=yes"
12690 echo "configure: failed program was:" >&5
12691 cat conftest.
$ac_ext >&5
12693 eval "ac_cv_func_$ac_func=no"
12698 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12699 echo "$ac_t""yes" 1>&6
12700 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12701 cat >> confdefs.h
<<EOF
12702 #define $ac_tr_func 1
12706 echo "$ac_t""no" 1>&6
12711 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
12712 for ac_func
in fcntl flock
12714 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12715 echo "configure:12716: checking for $ac_func" >&5
12716 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12717 echo $ac_n "(cached) $ac_c" 1>&6
12719 cat > conftest.
$ac_ext <<EOF
12720 #line 12721 "configure"
12721 #include "confdefs.h"
12722 /* System header to define __stub macros and hopefully few prototypes,
12723 which can conflict with char $ac_func(); below. */
12724 #include <assert.h>
12725 /* Override any gcc2 internal prototype to avoid an error. */
12726 /* We use char because int might match the return type of a gcc2
12727 builtin and then its argument prototype would still apply. */
12732 /* The GNU C library defines this for functions which it implements
12733 to always fail with ENOSYS. Some functions are actually named
12734 something starting with __ and the normal name is an alias. */
12735 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12743 if { (eval echo configure
:12744: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12745 eval "ac_cv_func_$ac_func=yes"
12747 echo "configure: failed program was:" >&5
12748 cat conftest.
$ac_ext >&5
12750 eval "ac_cv_func_$ac_func=no"
12755 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12756 echo "$ac_t""yes" 1>&6
12757 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12758 cat >> confdefs.h
<<EOF
12759 #define $ac_tr_func 1
12763 echo "$ac_t""no" 1>&6
12768 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
12769 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
12770 wxUSE_SNGLINST_CHECKER
=no
12774 for ac_func
in timegm
12776 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12777 echo "configure:12778: checking for $ac_func" >&5
12778 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12779 echo $ac_n "(cached) $ac_c" 1>&6
12781 cat > conftest.
$ac_ext <<EOF
12782 #line 12783 "configure"
12783 #include "confdefs.h"
12784 /* System header to define __stub macros and hopefully few prototypes,
12785 which can conflict with char $ac_func(); below. */
12786 #include <assert.h>
12787 /* Override any gcc2 internal prototype to avoid an error. */
12788 /* We use char because int might match the return type of a gcc2
12789 builtin and then its argument prototype would still apply. */
12794 /* The GNU C library defines this for functions which it implements
12795 to always fail with ENOSYS. Some functions are actually named
12796 something starting with __ and the normal name is an alias. */
12797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12805 if { (eval echo configure
:12806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12807 eval "ac_cv_func_$ac_func=yes"
12809 echo "configure: failed program was:" >&5
12810 cat conftest.
$ac_ext >&5
12812 eval "ac_cv_func_$ac_func=no"
12817 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12818 echo "$ac_t""yes" 1>&6
12819 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12820 cat >> confdefs.h
<<EOF
12821 #define $ac_tr_func 1
12825 echo "$ac_t""no" 1>&6
12830 for ac_func
in putenv setenv
12832 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12833 echo "configure:12834: checking for $ac_func" >&5
12834 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12835 echo $ac_n "(cached) $ac_c" 1>&6
12837 cat > conftest.
$ac_ext <<EOF
12838 #line 12839 "configure"
12839 #include "confdefs.h"
12840 /* System header to define __stub macros and hopefully few prototypes,
12841 which can conflict with char $ac_func(); below. */
12842 #include <assert.h>
12843 /* Override any gcc2 internal prototype to avoid an error. */
12844 /* We use char because int might match the return type of a gcc2
12845 builtin and then its argument prototype would still apply. */
12850 /* The GNU C library defines this for functions which it implements
12851 to always fail with ENOSYS. Some functions are actually named
12852 something starting with __ and the normal name is an alias. */
12853 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12861 if { (eval echo configure
:12862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12863 eval "ac_cv_func_$ac_func=yes"
12865 echo "configure: failed program was:" >&5
12866 cat conftest.
$ac_ext >&5
12868 eval "ac_cv_func_$ac_func=no"
12873 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12874 echo "$ac_t""yes" 1>&6
12875 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12876 cat >> confdefs.h
<<EOF
12877 #define $ac_tr_func 1
12881 echo "$ac_t""no" 1>&6
12886 HAVE_SOME_SLEEP_FUNC
=0
12887 if test "$USE_BEOS" = 1; then
12888 cat >> confdefs.h
<<\EOF
12889 #define HAVE_SLEEP 1
12892 HAVE_SOME_SLEEP_FUNC
=1
12895 if test "$USE_MAC" = 1; then
12896 cat >> confdefs.h
<<\EOF
12897 #define HAVE_USLEEP 1
12900 HAVE_SOME_SLEEP_FUNC
=1
12903 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
12905 for ac_func
in nanosleep
12907 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12908 echo "configure:12909: checking for $ac_func" >&5
12909 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12910 echo $ac_n "(cached) $ac_c" 1>&6
12912 cat > conftest.
$ac_ext <<EOF
12913 #line 12914 "configure"
12914 #include "confdefs.h"
12915 /* System header to define __stub macros and hopefully few prototypes,
12916 which can conflict with char $ac_func(); below. */
12917 #include <assert.h>
12918 /* Override any gcc2 internal prototype to avoid an error. */
12919 /* We use char because int might match the return type of a gcc2
12920 builtin and then its argument prototype would still apply. */
12925 /* The GNU C library defines this for functions which it implements
12926 to always fail with ENOSYS. Some functions are actually named
12927 something starting with __ and the normal name is an alias. */
12928 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12936 if { (eval echo configure
:12937: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12938 eval "ac_cv_func_$ac_func=yes"
12940 echo "configure: failed program was:" >&5
12941 cat conftest.
$ac_ext >&5
12943 eval "ac_cv_func_$ac_func=no"
12948 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12949 echo "$ac_t""yes" 1>&6
12950 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12951 cat >> confdefs.h
<<EOF
12952 #define $ac_tr_func 1
12954 cat >> confdefs.h
<<\EOF
12955 #define HAVE_NANOSLEEP 1
12959 echo "$ac_t""no" 1>&6
12960 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
12961 echo "configure:12962: checking for nanosleep in -lposix4" >&5
12962 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
12963 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12964 echo $ac_n "(cached) $ac_c" 1>&6
12966 ac_save_LIBS
="$LIBS"
12967 LIBS
="-lposix4 $LIBS"
12968 cat > conftest.
$ac_ext <<EOF
12969 #line 12970 "configure"
12970 #include "confdefs.h"
12971 /* Override any gcc2 internal prototype to avoid an error. */
12972 /* We use char because int might match the return type of a gcc2
12973 builtin and then its argument prototype would still apply. */
12980 if { (eval echo configure
:12981: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12982 eval "ac_cv_lib_$ac_lib_var=yes"
12984 echo "configure: failed program was:" >&5
12985 cat conftest.
$ac_ext >&5
12987 eval "ac_cv_lib_$ac_lib_var=no"
12990 LIBS
="$ac_save_LIBS"
12993 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12994 echo "$ac_t""yes" 1>&6
12996 cat >> confdefs.h
<<\EOF
12997 #define HAVE_NANOSLEEP 1
13000 POSIX4_LINK
="-lposix4"
13003 echo "$ac_t""no" 1>&6
13005 for ac_func
in usleep
13007 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13008 echo "configure:13009: checking for $ac_func" >&5
13009 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13010 echo $ac_n "(cached) $ac_c" 1>&6
13012 cat > conftest.
$ac_ext <<EOF
13013 #line 13014 "configure"
13014 #include "confdefs.h"
13015 /* System header to define __stub macros and hopefully few prototypes,
13016 which can conflict with char $ac_func(); below. */
13017 #include <assert.h>
13018 /* Override any gcc2 internal prototype to avoid an error. */
13019 /* We use char because int might match the return type of a gcc2
13020 builtin and then its argument prototype would still apply. */
13025 /* The GNU C library defines this for functions which it implements
13026 to always fail with ENOSYS. Some functions are actually named
13027 something starting with __ and the normal name is an alias. */
13028 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13036 if { (eval echo configure
:13037: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13038 eval "ac_cv_func_$ac_func=yes"
13040 echo "configure: failed program was:" >&5
13041 cat conftest.
$ac_ext >&5
13043 eval "ac_cv_func_$ac_func=no"
13048 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13049 echo "$ac_t""yes" 1>&6
13050 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13051 cat >> confdefs.h
<<EOF
13052 #define $ac_tr_func 1
13054 cat >> confdefs.h
<<\EOF
13055 #define HAVE_USLEEP 1
13059 echo "$ac_t""no" 1>&6
13060 echo "configure: warning: wxSleep() function will not work" 1>&2
13076 for ac_func
in uname gethostname
13078 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13079 echo "configure:13080: checking for $ac_func" >&5
13080 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13081 echo $ac_n "(cached) $ac_c" 1>&6
13083 cat > conftest.
$ac_ext <<EOF
13084 #line 13085 "configure"
13085 #include "confdefs.h"
13086 /* System header to define __stub macros and hopefully few prototypes,
13087 which can conflict with char $ac_func(); below. */
13088 #include <assert.h>
13089 /* Override any gcc2 internal prototype to avoid an error. */
13090 /* We use char because int might match the return type of a gcc2
13091 builtin and then its argument prototype would still apply. */
13096 /* The GNU C library defines this for functions which it implements
13097 to always fail with ENOSYS. Some functions are actually named
13098 something starting with __ and the normal name is an alias. */
13099 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13107 if { (eval echo configure
:13108: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13109 eval "ac_cv_func_$ac_func=yes"
13111 echo "configure: failed program was:" >&5
13112 cat conftest.
$ac_ext >&5
13114 eval "ac_cv_func_$ac_func=no"
13119 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13120 echo "$ac_t""yes" 1>&6
13121 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13122 cat >> confdefs.h
<<EOF
13123 #define $ac_tr_func 1
13127 echo "$ac_t""no" 1>&6
13134 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13135 ac_cpp
='$CXXCPP $CPPFLAGS'
13136 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13137 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13138 cross_compiling
=$ac_cv_prog_cxx_cross
13141 for ac_func
in strtok_r
13143 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13144 echo "configure:13145: checking for $ac_func" >&5
13145 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13146 echo $ac_n "(cached) $ac_c" 1>&6
13148 cat > conftest.
$ac_ext <<EOF
13149 #line 13150 "configure"
13150 #include "confdefs.h"
13151 /* System header to define __stub macros and hopefully few prototypes,
13152 which can conflict with char $ac_func(); below. */
13153 #include <assert.h>
13154 /* Override any gcc2 internal prototype to avoid an error. */
13158 /* We use char because int might match the return type of a gcc2
13159 builtin and then its argument prototype would still apply. */
13164 /* The GNU C library defines this for functions which it implements
13165 to always fail with ENOSYS. Some functions are actually named
13166 something starting with __ and the normal name is an alias. */
13167 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13175 if { (eval echo configure
:13176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13177 eval "ac_cv_func_$ac_func=yes"
13179 echo "configure: failed program was:" >&5
13180 cat conftest.
$ac_ext >&5
13182 eval "ac_cv_func_$ac_func=no"
13187 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13188 echo "$ac_t""yes" 1>&6
13189 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13190 cat >> confdefs.h
<<EOF
13191 #define $ac_tr_func 1
13195 echo "$ac_t""no" 1>&6
13201 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13202 ac_cpp
='$CPP $CPPFLAGS'
13203 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13204 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13205 cross_compiling
=$ac_cv_prog_cc_cross
13209 for ac_func
in inet_addr
13211 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13212 echo "configure:13213: checking for $ac_func" >&5
13213 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13214 echo $ac_n "(cached) $ac_c" 1>&6
13216 cat > conftest.
$ac_ext <<EOF
13217 #line 13218 "configure"
13218 #include "confdefs.h"
13219 /* System header to define __stub macros and hopefully few prototypes,
13220 which can conflict with char $ac_func(); below. */
13221 #include <assert.h>
13222 /* Override any gcc2 internal prototype to avoid an error. */
13223 /* We use char because int might match the return type of a gcc2
13224 builtin and then its argument prototype would still apply. */
13229 /* The GNU C library defines this for functions which it implements
13230 to always fail with ENOSYS. Some functions are actually named
13231 something starting with __ and the normal name is an alias. */
13232 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13240 if { (eval echo configure
:13241: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13242 eval "ac_cv_func_$ac_func=yes"
13244 echo "configure: failed program was:" >&5
13245 cat conftest.
$ac_ext >&5
13247 eval "ac_cv_func_$ac_func=no"
13252 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13253 echo "$ac_t""yes" 1>&6
13254 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13255 cat >> confdefs.h
<<EOF
13256 #define $ac_tr_func 1
13258 cat >> confdefs.h
<<\EOF
13259 #define HAVE_INET_ADDR 1
13263 echo "$ac_t""no" 1>&6
13264 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13265 echo "configure:13266: checking for inet_addr in -lnsl" >&5
13266 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13267 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13268 echo $ac_n "(cached) $ac_c" 1>&6
13270 ac_save_LIBS
="$LIBS"
13272 cat > conftest.
$ac_ext <<EOF
13273 #line 13274 "configure"
13274 #include "confdefs.h"
13275 /* Override any gcc2 internal prototype to avoid an error. */
13276 /* We use char because int might match the return type of a gcc2
13277 builtin and then its argument prototype would still apply. */
13284 if { (eval echo configure
:13285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13286 eval "ac_cv_lib_$ac_lib_var=yes"
13288 echo "configure: failed program was:" >&5
13289 cat conftest.
$ac_ext >&5
13291 eval "ac_cv_lib_$ac_lib_var=no"
13294 LIBS
="$ac_save_LIBS"
13297 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13298 echo "$ac_t""yes" 1>&6
13301 echo "$ac_t""no" 1>&6
13302 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13303 echo "configure:13304: checking for inet_addr in -lresolv" >&5
13304 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13305 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13306 echo $ac_n "(cached) $ac_c" 1>&6
13308 ac_save_LIBS
="$LIBS"
13309 LIBS
="-lresolv $LIBS"
13310 cat > conftest.
$ac_ext <<EOF
13311 #line 13312 "configure"
13312 #include "confdefs.h"
13313 /* Override any gcc2 internal prototype to avoid an error. */
13314 /* We use char because int might match the return type of a gcc2
13315 builtin and then its argument prototype would still apply. */
13322 if { (eval echo configure
:13323: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13324 eval "ac_cv_lib_$ac_lib_var=yes"
13326 echo "configure: failed program was:" >&5
13327 cat conftest.
$ac_ext >&5
13329 eval "ac_cv_lib_$ac_lib_var=no"
13332 LIBS
="$ac_save_LIBS"
13335 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13336 echo "$ac_t""yes" 1>&6
13340 echo "$ac_t""no" 1>&6
13352 for ac_func
in inet_aton
13354 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13355 echo "configure:13356: checking for $ac_func" >&5
13356 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13357 echo $ac_n "(cached) $ac_c" 1>&6
13359 cat > conftest.
$ac_ext <<EOF
13360 #line 13361 "configure"
13361 #include "confdefs.h"
13362 /* System header to define __stub macros and hopefully few prototypes,
13363 which can conflict with char $ac_func(); below. */
13364 #include <assert.h>
13365 /* Override any gcc2 internal prototype to avoid an error. */
13366 /* We use char because int might match the return type of a gcc2
13367 builtin and then its argument prototype would still apply. */
13372 /* The GNU C library defines this for functions which it implements
13373 to always fail with ENOSYS. Some functions are actually named
13374 something starting with __ and the normal name is an alias. */
13375 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13383 if { (eval echo configure
:13384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13385 eval "ac_cv_func_$ac_func=yes"
13387 echo "configure: failed program was:" >&5
13388 cat conftest.
$ac_ext >&5
13390 eval "ac_cv_func_$ac_func=no"
13395 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13396 echo "$ac_t""yes" 1>&6
13397 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13398 cat >> confdefs.h
<<EOF
13399 #define $ac_tr_func 1
13401 cat >> confdefs.h
<<\EOF
13402 #define HAVE_INET_ATON 1
13406 echo "$ac_t""no" 1>&6
13407 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13408 echo "configure:13409: checking for inet_aton in -l$INET_LINK" >&5
13409 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13410 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13411 echo $ac_n "(cached) $ac_c" 1>&6
13413 ac_save_LIBS
="$LIBS"
13414 LIBS
="-l$INET_LINK $LIBS"
13415 cat > conftest.
$ac_ext <<EOF
13416 #line 13417 "configure"
13417 #include "confdefs.h"
13418 /* Override any gcc2 internal prototype to avoid an error. */
13419 /* We use char because int might match the return type of a gcc2
13420 builtin and then its argument prototype would still apply. */
13427 if { (eval echo configure
:13428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13429 eval "ac_cv_lib_$ac_lib_var=yes"
13431 echo "configure: failed program was:" >&5
13432 cat conftest.
$ac_ext >&5
13434 eval "ac_cv_lib_$ac_lib_var=no"
13437 LIBS
="$ac_save_LIBS"
13440 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13441 echo "$ac_t""yes" 1>&6
13442 cat >> confdefs.h
<<\EOF
13443 #define HAVE_INET_ATON 1
13447 echo "$ac_t""no" 1>&6
13455 if test "x$INET_LINK" != "x"; then
13456 cat >> confdefs.h
<<\EOF
13457 #define HAVE_INET_ADDR 1
13460 INET_LINK
="-l$INET_LINK"
13466 cat > confcache
<<\EOF
13467 # This file is a shell script that caches the results of configure
13468 # tests run on this system so they can be shared between configure
13469 # scripts and configure runs. It is not useful on other systems.
13470 # If it contains results you don't want to keep, you may remove or edit it.
13472 # By default, configure uses ./config.cache as the cache file,
13473 # creating it if it does not exist already. You can give configure
13474 # the --cache-file=FILE option to use a different cache file; that is
13475 # what configure does when it calls configure scripts in
13476 # subdirectories, so they share the cache.
13477 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13478 # config.status only pays attention to the cache file if you give it the
13479 # --recheck option to rerun configure.
13482 # The following way of writing the cache mishandles newlines in values,
13483 # but we know of no workaround that is simple, portable, and efficient.
13484 # So, don't put newlines in cache variables' values.
13485 # Ultrix sh set writes to stderr and can't be redirected directly,
13486 # and sets the high bit in the cache file unless we assign to the vars.
13488 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13490 # `set' does not quote correctly, so add quotes (double-quote substitution
13491 # turns \\\\ into \\, and sed turns \\ into \).
13493 -e "s/'/'\\\\''/g" \
13494 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13497 # `set' quotes correctly as required by POSIX, so do not add quotes.
13498 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13501 if cmp -s $cache_file confcache
; then
13504 if test -w $cache_file; then
13505 echo "updating cache $cache_file"
13506 cat confcache
> $cache_file
13508 echo "not updating unwritable cache $cache_file"
13515 if test "$TOOLKIT" != "MSW"; then
13521 if test "$wxUSE_THREADS" = "yes" ; then
13522 if test "$wxUSE_WINE" = 1 ; then
13523 echo "configure: warning: Threads are not supported under WINE" 1>&2
13525 elif test "$USE_BEOS" = 1; then
13526 echo "configure: warning: BeOS threads are not yet supported" 1>&2
13531 if test "$wxUSE_THREADS" = "yes" ; then
13533 if test "$USE_AIX" = 1; then
13534 THREADS_LIB
=pthreads
13536 THREADS_LIB
=pthread
13539 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
13540 echo "configure:13541: checking for pthread_create in -l$THREADS_LIB" >&5
13541 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
13542 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13543 echo $ac_n "(cached) $ac_c" 1>&6
13545 ac_save_LIBS
="$LIBS"
13546 LIBS
="-l$THREADS_LIB $LIBS"
13547 cat > conftest.
$ac_ext <<EOF
13548 #line 13549 "configure"
13549 #include "confdefs.h"
13550 /* Override any gcc2 internal prototype to avoid an error. */
13551 /* We use char because int might match the return type of a gcc2
13552 builtin and then its argument prototype would still apply. */
13553 char pthread_create();
13559 if { (eval echo configure
:13560: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13561 eval "ac_cv_lib_$ac_lib_var=yes"
13563 echo "configure: failed program was:" >&5
13564 cat conftest.
$ac_ext >&5
13566 eval "ac_cv_lib_$ac_lib_var=no"
13569 LIBS
="$ac_save_LIBS"
13572 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13573 echo "$ac_t""yes" 1>&6
13575 THREADS_OBJ
="threadpsx.lo"
13576 THREADS_LINK
=$THREADS_LIB
13579 echo "$ac_t""no" 1>&6
13581 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
13582 echo "configure:13583: checking for pthread_create in -lc_r" >&5
13583 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
13584 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13585 echo $ac_n "(cached) $ac_c" 1>&6
13587 ac_save_LIBS
="$LIBS"
13589 cat > conftest.
$ac_ext <<EOF
13590 #line 13591 "configure"
13591 #include "confdefs.h"
13592 /* Override any gcc2 internal prototype to avoid an error. */
13593 /* We use char because int might match the return type of a gcc2
13594 builtin and then its argument prototype would still apply. */
13595 char pthread_create();
13601 if { (eval echo configure
:13602: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13603 eval "ac_cv_lib_$ac_lib_var=yes"
13605 echo "configure: failed program was:" >&5
13606 cat conftest.
$ac_ext >&5
13608 eval "ac_cv_lib_$ac_lib_var=no"
13611 LIBS
="$ac_save_LIBS"
13614 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13615 echo "$ac_t""yes" 1>&6
13617 THREADS_OBJ
="threadpsx.lo"
13621 echo "$ac_t""no" 1>&6
13623 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
13624 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
13625 echo "configure:13626: checking for sys/prctl.h" >&5
13626 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13627 echo $ac_n "(cached) $ac_c" 1>&6
13629 cat > conftest.
$ac_ext <<EOF
13630 #line 13631 "configure"
13631 #include "confdefs.h"
13632 #include <sys/prctl.h>
13634 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13635 { (eval echo configure
:13636: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13636 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13637 if test -z "$ac_err"; then
13639 eval "ac_cv_header_$ac_safe=yes"
13642 echo "configure: failed program was:" >&5
13643 cat conftest.
$ac_ext >&5
13645 eval "ac_cv_header_$ac_safe=no"
13649 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13650 echo "$ac_t""yes" 1>&6
13652 THREADS_OBJ
="threadsgi.lo"
13655 echo "$ac_t""no" 1>&6
13665 if test -z "$THREADS_OBJ" ; then
13667 echo "configure: warning: No thread support on this system" 1>&2
13671 if test "$wxUSE_THREADS" = "yes" ; then
13672 for ac_func
in thr_setconcurrency
13674 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13675 echo "configure:13676: checking for $ac_func" >&5
13676 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13677 echo $ac_n "(cached) $ac_c" 1>&6
13679 cat > conftest.
$ac_ext <<EOF
13680 #line 13681 "configure"
13681 #include "confdefs.h"
13682 /* System header to define __stub macros and hopefully few prototypes,
13683 which can conflict with char $ac_func(); below. */
13684 #include <assert.h>
13685 /* Override any gcc2 internal prototype to avoid an error. */
13686 /* We use char because int might match the return type of a gcc2
13687 builtin and then its argument prototype would still apply. */
13692 /* The GNU C library defines this for functions which it implements
13693 to always fail with ENOSYS. Some functions are actually named
13694 something starting with __ and the normal name is an alias. */
13695 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13703 if { (eval echo configure
:13704: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13705 eval "ac_cv_func_$ac_func=yes"
13707 echo "configure: failed program was:" >&5
13708 cat conftest.
$ac_ext >&5
13710 eval "ac_cv_func_$ac_func=no"
13715 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13716 echo "$ac_t""yes" 1>&6
13717 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13718 cat >> confdefs.h
<<EOF
13719 #define $ac_tr_func 1
13723 echo "$ac_t""no" 1>&6
13729 for ac_hdr
in sched.h
13731 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13732 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13733 echo "configure:13734: checking for $ac_hdr" >&5
13734 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13735 echo $ac_n "(cached) $ac_c" 1>&6
13737 cat > conftest.
$ac_ext <<EOF
13738 #line 13739 "configure"
13739 #include "confdefs.h"
13742 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13743 { (eval echo configure
:13744: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13744 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13745 if test -z "$ac_err"; then
13747 eval "ac_cv_header_$ac_safe=yes"
13750 echo "configure: failed program was:" >&5
13751 cat conftest.
$ac_ext >&5
13753 eval "ac_cv_header_$ac_safe=no"
13757 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13758 echo "$ac_t""yes" 1>&6
13759 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13760 cat >> confdefs.h
<<EOF
13761 #define $ac_tr_hdr 1
13765 echo "$ac_t""no" 1>&6
13770 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
13771 echo "configure:13772: checking for sched_yield in -l$THREADS_LINK" >&5
13772 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
13773 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13774 echo $ac_n "(cached) $ac_c" 1>&6
13776 ac_save_LIBS
="$LIBS"
13777 LIBS
="-l$THREADS_LINK $LIBS"
13778 cat > conftest.
$ac_ext <<EOF
13779 #line 13780 "configure"
13780 #include "confdefs.h"
13781 /* Override any gcc2 internal prototype to avoid an error. */
13782 /* We use char because int might match the return type of a gcc2
13783 builtin and then its argument prototype would still apply. */
13784 char sched_yield();
13790 if { (eval echo configure
:13791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13792 eval "ac_cv_lib_$ac_lib_var=yes"
13794 echo "configure: failed program was:" >&5
13795 cat conftest.
$ac_ext >&5
13797 eval "ac_cv_lib_$ac_lib_var=no"
13800 LIBS
="$ac_save_LIBS"
13803 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13804 echo "$ac_t""yes" 1>&6
13805 cat >> confdefs.h
<<\EOF
13806 #define HAVE_SCHED_YIELD 1
13810 echo "$ac_t""no" 1>&6
13811 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
13812 echo "configure:13813: checking for sched_yield in -lposix4" >&5
13813 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
13814 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13815 echo $ac_n "(cached) $ac_c" 1>&6
13817 ac_save_LIBS
="$LIBS"
13818 LIBS
="-lposix4 $LIBS"
13819 cat > conftest.
$ac_ext <<EOF
13820 #line 13821 "configure"
13821 #include "confdefs.h"
13822 /* Override any gcc2 internal prototype to avoid an error. */
13823 /* We use char because int might match the return type of a gcc2
13824 builtin and then its argument prototype would still apply. */
13825 char sched_yield();
13831 if { (eval echo configure
:13832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13833 eval "ac_cv_lib_$ac_lib_var=yes"
13835 echo "configure: failed program was:" >&5
13836 cat conftest.
$ac_ext >&5
13838 eval "ac_cv_lib_$ac_lib_var=no"
13841 LIBS
="$ac_save_LIBS"
13844 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13845 echo "$ac_t""yes" 1>&6
13846 cat >> confdefs.h
<<\EOF
13847 #define HAVE_SCHED_YIELD 1
13849 POSIX4_LINK
="-lposix4"
13851 echo "$ac_t""no" 1>&6
13852 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
13861 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
13862 echo "configure:13863: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
13863 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
13864 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13865 echo $ac_n "(cached) $ac_c" 1>&6
13867 ac_save_LIBS
="$LIBS"
13868 LIBS
="-l$THREADS_LINK $LIBS"
13869 cat > conftest.
$ac_ext <<EOF
13870 #line 13871 "configure"
13871 #include "confdefs.h"
13872 /* Override any gcc2 internal prototype to avoid an error. */
13873 /* We use char because int might match the return type of a gcc2
13874 builtin and then its argument prototype would still apply. */
13875 char pthread_attr_getschedpolicy();
13878 pthread_attr_getschedpolicy()
13881 if { (eval echo configure
:13882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13883 eval "ac_cv_lib_$ac_lib_var=yes"
13885 echo "configure: failed program was:" >&5
13886 cat conftest.
$ac_ext >&5
13888 eval "ac_cv_lib_$ac_lib_var=no"
13891 LIBS
="$ac_save_LIBS"
13894 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13895 echo "$ac_t""yes" 1>&6
13896 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
13897 echo "configure:13898: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
13898 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
13899 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13900 echo $ac_n "(cached) $ac_c" 1>&6
13902 ac_save_LIBS
="$LIBS"
13903 LIBS
="-l$THREADS_LINK $LIBS"
13904 cat > conftest.
$ac_ext <<EOF
13905 #line 13906 "configure"
13906 #include "confdefs.h"
13907 /* Override any gcc2 internal prototype to avoid an error. */
13908 /* We use char because int might match the return type of a gcc2
13909 builtin and then its argument prototype would still apply. */
13910 char pthread_attr_setschedparam();
13913 pthread_attr_setschedparam()
13916 if { (eval echo configure
:13917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13918 eval "ac_cv_lib_$ac_lib_var=yes"
13920 echo "configure: failed program was:" >&5
13921 cat conftest.
$ac_ext >&5
13923 eval "ac_cv_lib_$ac_lib_var=no"
13926 LIBS
="$ac_save_LIBS"
13929 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13930 echo "$ac_t""yes" 1>&6
13931 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
13932 echo "configure:13933: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
13933 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
13934 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13935 echo $ac_n "(cached) $ac_c" 1>&6
13937 ac_save_LIBS
="$LIBS"
13938 LIBS
="-l$THREADS_LINK $LIBS"
13939 cat > conftest.
$ac_ext <<EOF
13940 #line 13941 "configure"
13941 #include "confdefs.h"
13942 /* Override any gcc2 internal prototype to avoid an error. */
13943 /* We use char because int might match the return type of a gcc2
13944 builtin and then its argument prototype would still apply. */
13945 char sched_get_priority_max();
13948 sched_get_priority_max()
13951 if { (eval echo configure
:13952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13953 eval "ac_cv_lib_$ac_lib_var=yes"
13955 echo "configure: failed program was:" >&5
13956 cat conftest.
$ac_ext >&5
13958 eval "ac_cv_lib_$ac_lib_var=no"
13961 LIBS
="$ac_save_LIBS"
13964 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13965 echo "$ac_t""yes" 1>&6
13968 echo "$ac_t""no" 1>&6
13969 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
13970 echo "configure:13971: checking for sched_get_priority_max in -lposix4" >&5
13971 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
13972 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13973 echo $ac_n "(cached) $ac_c" 1>&6
13975 ac_save_LIBS
="$LIBS"
13976 LIBS
="-lposix4 $LIBS"
13977 cat > conftest.
$ac_ext <<EOF
13978 #line 13979 "configure"
13979 #include "confdefs.h"
13980 /* Override any gcc2 internal prototype to avoid an error. */
13981 /* We use char because int might match the return type of a gcc2
13982 builtin and then its argument prototype would still apply. */
13983 char sched_get_priority_max();
13986 sched_get_priority_max()
13989 if { (eval echo configure
:13990: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13991 eval "ac_cv_lib_$ac_lib_var=yes"
13993 echo "configure: failed program was:" >&5
13994 cat conftest.
$ac_ext >&5
13996 eval "ac_cv_lib_$ac_lib_var=no"
13999 LIBS
="$ac_save_LIBS"
14002 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14003 echo "$ac_t""yes" 1>&6
14006 POSIX4_LINK
="-lposix4"
14009 echo "$ac_t""no" 1>&6
14017 echo "$ac_t""no" 1>&6
14022 echo "$ac_t""no" 1>&6
14026 if test "$HAVE_PRIOR_FUNCS" = 1; then
14027 cat >> confdefs.h
<<\EOF
14028 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14032 echo "configure: warning: Setting thread priority will not work" 1>&2
14035 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14036 echo "configure:14037: checking for pthread_cancel in -l$THREADS_LINK" >&5
14037 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14038 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14039 echo $ac_n "(cached) $ac_c" 1>&6
14041 ac_save_LIBS
="$LIBS"
14042 LIBS
="-l$THREADS_LINK $LIBS"
14043 cat > conftest.
$ac_ext <<EOF
14044 #line 14045 "configure"
14045 #include "confdefs.h"
14046 /* Override any gcc2 internal prototype to avoid an error. */
14047 /* We use char because int might match the return type of a gcc2
14048 builtin and then its argument prototype would still apply. */
14049 char pthread_cancel();
14055 if { (eval echo configure
:14056: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14057 eval "ac_cv_lib_$ac_lib_var=yes"
14059 echo "configure: failed program was:" >&5
14060 cat conftest.
$ac_ext >&5
14062 eval "ac_cv_lib_$ac_lib_var=no"
14065 LIBS
="$ac_save_LIBS"
14068 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14069 echo "$ac_t""yes" 1>&6
14070 cat >> confdefs.h
<<\EOF
14071 #define HAVE_PTHREAD_CANCEL 1
14075 echo "$ac_t""no" 1>&6
14076 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14080 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14081 echo "configure:14082: checking for pthread_cleanup_push/pop" >&5
14082 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14083 echo $ac_n "(cached) $ac_c" 1>&6
14086 cat > conftest.
$ac_ext <<EOF
14087 #line 14088 "configure"
14088 #include "confdefs.h"
14089 #include <pthread.h>
14092 pthread_cleanup_push(NULL, NULL);
14093 pthread_cleanup_pop(0);
14097 if { (eval echo configure
:14098: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14100 wx_cv_func_pthread_cleanup_push
=yes
14103 echo "configure: failed program was:" >&5
14104 cat conftest.
$ac_ext >&5
14107 wx_cv_func_pthread_cleanup_push
=no
14114 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14116 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14117 cat >> confdefs.h
<<\EOF
14118 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14124 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14125 echo "configure:14126: checking for pthread_mutexattr_t" >&5
14126 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14127 echo $ac_n "(cached) $ac_c" 1>&6
14130 cat > conftest.
$ac_ext <<EOF
14131 #line 14132 "configure"
14132 #include "confdefs.h"
14133 #include <pthread.h>
14136 pthread_mutexattr_t attr;
14137 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14141 if { (eval echo configure
:14142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14144 wx_cv_type_pthread_mutexattr_t
=yes
14147 echo "configure: failed program was:" >&5
14148 cat conftest.
$ac_ext >&5
14151 wx_cv_type_pthread_mutexattr_t
=no
14159 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14161 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14162 cat >> confdefs.h
<<\EOF
14163 #define HAVE_PTHREAD_MUTEXATTR_T 1
14167 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14168 echo "configure:14169: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14169 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14170 echo $ac_n "(cached) $ac_c" 1>&6
14173 cat > conftest.
$ac_ext <<EOF
14174 #line 14175 "configure"
14175 #include "confdefs.h"
14176 #include <pthread.h>
14179 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14183 if { (eval echo configure
:14184: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14186 wx_cv_type_pthread_rec_mutex_init
=yes
14189 echo "configure: failed program was:" >&5
14190 cat conftest.
$ac_ext >&5
14193 wx_cv_type_pthread_rec_mutex_init
=no
14201 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14202 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14203 cat >> confdefs.h
<<\EOF
14204 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14208 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14212 THREADS_LINK
="-l$THREADS_LINK"
14214 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14215 CFLAGS
="${CFLAGS} -mt"
14216 CXXFLAGS
="${CXXFLAGS} -mt"
14217 LDFLAGS
="${LDFLAGS} -mt"
14223 if test "$wxUSE_THREADS" = "yes"; then
14224 cat >> confdefs.h
<<\EOF
14225 #define wxUSE_THREADS 1
14229 if test "$wxUSE_MAC" = "0"; then
14230 CFLAGS
="${CFLAGS} -D_REENTRANT"
14231 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14234 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14236 if test "$ac_cv_func_strtok_r" = "yes"; then
14237 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14238 echo "configure:14239: checking if -D_REENTRANT is needed" >&5
14239 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14240 CFLAGS
="${CFLAGS} -D_REENTRANT"
14241 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14242 echo "$ac_t""yes" 1>&6
14244 echo "$ac_t""no" 1>&6
14249 if test "$WXGTK20" = 1 ; then
14250 cat >> confdefs.h
<<EOF
14251 #define __WXGTK20__ $WXGTK20
14257 if test "$WXGTK12" = 1 ; then
14258 cat >> confdefs.h
<<EOF
14259 #define __WXGTK12__ $WXGTK12
14264 if test "$WXGTK127" = 1 ; then
14265 cat >> confdefs.h
<<EOF
14266 #define __WXGTK127__ $WXGTK127
14271 if test "$WXWINE" = 1 ; then
14272 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14275 if test "$wxUSE_MAC" = 1 ; then
14276 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
14277 CFLAGS
="${CFLAGS} -fno-common -fpascal-strings"
14278 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings"
14279 # Extract the first word of "Rez", so it can be a program name with args.
14280 set dummy Rez
; ac_word
=$2
14281 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14282 echo "configure:14283: checking for $ac_word" >&5
14283 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14284 echo $ac_n "(cached) $ac_c" 1>&6
14286 if test -n "$REZ"; then
14287 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14289 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14291 for ac_dir
in $ac_dummy; do
14292 test -z "$ac_dir" && ac_dir
=.
14293 if test -f $ac_dir/$ac_word; then
14294 ac_cv_prog_REZ
="Rez"
14299 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14302 REZ
="$ac_cv_prog_REZ"
14303 if test -n "$REZ"; then
14304 echo "$ac_t""$REZ" 1>&6
14306 echo "$ac_t""no" 1>&6
14309 # Extract the first word of "Derez", so it can be a program name with args.
14310 set dummy Derez
; ac_word
=$2
14311 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14312 echo "configure:14313: checking for $ac_word" >&5
14313 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14314 echo $ac_n "(cached) $ac_c" 1>&6
14316 if test -n "$DEREZ"; then
14317 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14319 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14321 for ac_dir
in $ac_dummy; do
14322 test -z "$ac_dir" && ac_dir
=.
14323 if test -f $ac_dir/$ac_word; then
14324 ac_cv_prog_DEREZ
="Derez"
14329 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14332 DEREZ
="$ac_cv_prog_DEREZ"
14333 if test -n "$DEREZ"; then
14334 echo "$ac_t""$DEREZ" 1>&6
14336 echo "$ac_t""no" 1>&6
14340 REZFLAGS
="-d __UNIX__ -useDF"
14341 DEREZFLAGS
="Carbon.r -useDF"
14342 RESFLAGS
="Carbon.r -t APPL"
14343 LIBWXMACRES
="\$(LIBWX_MACRES)"
14344 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14347 if test "$wxUSE_CYGWIN" = 1 ; then
14348 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
14353 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14358 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14359 wxUSE_DEBUG_INFO
=yes
14363 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14364 cat >> confdefs.h
<<\EOF
14368 WXDEBUG_DEFINE
="-D__WXDEBUG__"
14370 if test "$wxUSE_GTK" = 1 ; then
14371 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
14375 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14376 cat >> confdefs.h
<<\EOF
14377 #define wxUSE_MEMORY_TRACING 1
14380 cat >> confdefs.h
<<\EOF
14381 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14384 cat >> confdefs.h
<<\EOF
14385 #define wxUSE_DEBUG_NEW_ALWAYS 1
14388 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
14391 if test "$wxUSE_DMALLOC" = "yes" ; then
14392 DMALLOC_LINK
="-ldmalloc"
14396 if test "$wxUSE_PROFILE" = "yes" ; then
14402 CODE_GEN_FLAGS_CXX
=
14403 if test "$GCC" = yes ; then
14404 if test "$wxUSE_NO_RTTI" = "yes" ; then
14405 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
14407 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14408 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
14410 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14411 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
14413 if test "$wxUSE_NO_DEPS" = "no" ; then
14414 DEP_INFO_FLAGS
="-MMD"
14419 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14420 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14421 if test "$wxUSE_OPTIMISE" = "no" ; then
14424 if test "$GCC" = yes ; then
14427 i586
-*-*|i686
-*-* )
14428 OPTIMISE
="${OPTIMISE} "
14436 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
14437 cat >> confdefs.h
<<\EOF
14438 #define WXWIN_COMPATIBILITY_2 1
14442 WXWIN_COMPATIBILITY_2_2
="yes"
14445 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
14446 cat >> confdefs.h
<<\EOF
14447 #define WXWIN_COMPATIBILITY_2_2 1
14454 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
14455 cat >> confdefs.h
<<\EOF
14456 #define wxUSE_ZLIB 1
14459 if test "$wxUSE_ZLIB" = "yes" ; then
14460 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
14463 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
14464 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
14465 echo "configure:14466: checking for zlib.h" >&5
14466 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14467 echo $ac_n "(cached) $ac_c" 1>&6
14469 cat > conftest.
$ac_ext <<EOF
14470 #line 14471 "configure"
14471 #include "confdefs.h"
14474 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14475 { (eval echo configure
:14476: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14476 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14477 if test -z "$ac_err"; then
14479 eval "ac_cv_header_$ac_safe=yes"
14482 echo "configure: failed program was:" >&5
14483 cat conftest.
$ac_ext >&5
14485 eval "ac_cv_header_$ac_safe=no"
14489 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14490 echo "$ac_t""yes" 1>&6
14491 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
14492 echo "configure:14493: checking for deflate in -lz" >&5
14493 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
14494 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14495 echo $ac_n "(cached) $ac_c" 1>&6
14497 ac_save_LIBS
="$LIBS"
14499 cat > conftest.
$ac_ext <<EOF
14500 #line 14501 "configure"
14501 #include "confdefs.h"
14502 /* Override any gcc2 internal prototype to avoid an error. */
14503 /* We use char because int might match the return type of a gcc2
14504 builtin and then its argument prototype would still apply. */
14511 if { (eval echo configure
:14512: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14513 eval "ac_cv_lib_$ac_lib_var=yes"
14515 echo "configure: failed program was:" >&5
14516 cat conftest.
$ac_ext >&5
14518 eval "ac_cv_lib_$ac_lib_var=no"
14521 LIBS
="$ac_save_LIBS"
14524 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14525 echo "$ac_t""yes" 1>&6
14528 echo "$ac_t""no" 1>&6
14532 echo "$ac_t""no" 1>&6
14535 if test "x$ZLIB_LINK" = "x" ; then
14536 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
14542 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
14543 cat >> confdefs.h
<<\EOF
14544 #define wxUSE_LIBPNG 1
14547 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
14548 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
14552 if test "$wxUSE_LIBPNG" = "yes" ; then
14553 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
14556 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
14557 echo $ac_n "checking for png.h""... $ac_c" 1>&6
14558 echo "configure:14559: checking for png.h" >&5
14559 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14560 echo $ac_n "(cached) $ac_c" 1>&6
14562 cat > conftest.
$ac_ext <<EOF
14563 #line 14564 "configure"
14564 #include "confdefs.h"
14567 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14568 { (eval echo configure
:14569: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14569 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14570 if test -z "$ac_err"; then
14572 eval "ac_cv_header_$ac_safe=yes"
14575 echo "configure: failed program was:" >&5
14576 cat conftest.
$ac_ext >&5
14578 eval "ac_cv_header_$ac_safe=no"
14582 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14583 echo "$ac_t""yes" 1>&6
14584 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
14585 echo "configure:14586: checking for png_check_sig in -lpng" >&5
14586 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
14587 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14588 echo $ac_n "(cached) $ac_c" 1>&6
14590 ac_save_LIBS
="$LIBS"
14591 LIBS
="-lpng -lz -lm $LIBS"
14592 cat > conftest.
$ac_ext <<EOF
14593 #line 14594 "configure"
14594 #include "confdefs.h"
14595 /* Override any gcc2 internal prototype to avoid an error. */
14596 /* We use char because int might match the return type of a gcc2
14597 builtin and then its argument prototype would still apply. */
14598 char png_check_sig();
14604 if { (eval echo configure
:14605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14606 eval "ac_cv_lib_$ac_lib_var=yes"
14608 echo "configure: failed program was:" >&5
14609 cat conftest.
$ac_ext >&5
14611 eval "ac_cv_lib_$ac_lib_var=no"
14614 LIBS
="$ac_save_LIBS"
14617 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14618 echo "$ac_t""yes" 1>&6
14621 echo "$ac_t""no" 1>&6
14626 echo "$ac_t""no" 1>&6
14629 if test "x$PNG_LINK" = "x" ; then
14630 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
14634 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
14638 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
14639 cat >> confdefs.h
<<\EOF
14640 #define wxUSE_LIBJPEG 1
14643 if test "$wxUSE_LIBJPEG" = "yes" ; then
14644 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
14647 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
14648 echo "configure:14649: checking for jpeglib.h" >&5
14649 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
14650 echo $ac_n "(cached) $ac_c" 1>&6
14652 cat > conftest.
$ac_ext <<EOF
14653 #line 14654 "configure"
14654 #include "confdefs.h"
14656 #undef HAVE_STDLIB_H
14658 #include <jpeglib.h>
14665 if { (eval echo configure
:14666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14667 ac_cv_header_jpeglib_h
=yes
14669 echo "configure: failed program was:" >&5
14670 cat conftest.
$ac_ext >&5
14672 ac_cv_header_jpeglib_h
=no
14679 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
14681 if test "$ac_cv_header_jpeglib_h" = "yes"; then
14682 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
14683 echo "configure:14684: checking for jpeg_read_header in -ljpeg" >&5
14684 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
14685 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14686 echo $ac_n "(cached) $ac_c" 1>&6
14688 ac_save_LIBS
="$LIBS"
14689 LIBS
="-ljpeg $LIBS"
14690 cat > conftest.
$ac_ext <<EOF
14691 #line 14692 "configure"
14692 #include "confdefs.h"
14693 /* Override any gcc2 internal prototype to avoid an error. */
14694 /* We use char because int might match the return type of a gcc2
14695 builtin and then its argument prototype would still apply. */
14696 char jpeg_read_header();
14702 if { (eval echo configure
:14703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14704 eval "ac_cv_lib_$ac_lib_var=yes"
14706 echo "configure: failed program was:" >&5
14707 cat conftest.
$ac_ext >&5
14709 eval "ac_cv_lib_$ac_lib_var=no"
14712 LIBS
="$ac_save_LIBS"
14715 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14716 echo "$ac_t""yes" 1>&6
14719 echo "$ac_t""no" 1>&6
14724 if test "x$JPEG_LINK" = "x" ; then
14725 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
14731 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
14732 cat >> confdefs.h
<<\EOF
14733 #define wxUSE_LIBTIFF 1
14736 if test "$wxUSE_LIBTIFF" = "yes" ; then
14737 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
14740 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
14741 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
14742 echo "configure:14743: checking for tiffio.h" >&5
14743 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14744 echo $ac_n "(cached) $ac_c" 1>&6
14746 cat > conftest.
$ac_ext <<EOF
14747 #line 14748 "configure"
14748 #include "confdefs.h"
14749 #include <tiffio.h>
14751 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14752 { (eval echo configure
:14753: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14753 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14754 if test -z "$ac_err"; then
14756 eval "ac_cv_header_$ac_safe=yes"
14759 echo "configure: failed program was:" >&5
14760 cat conftest.
$ac_ext >&5
14762 eval "ac_cv_header_$ac_safe=no"
14766 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14767 echo "$ac_t""yes" 1>&6
14768 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
14769 echo "configure:14770: checking for TIFFError in -ltiff" >&5
14770 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
14771 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14772 echo $ac_n "(cached) $ac_c" 1>&6
14774 ac_save_LIBS
="$LIBS"
14775 LIBS
="-ltiff -lm $LIBS"
14776 cat > conftest.
$ac_ext <<EOF
14777 #line 14778 "configure"
14778 #include "confdefs.h"
14779 /* Override any gcc2 internal prototype to avoid an error. */
14780 /* We use char because int might match the return type of a gcc2
14781 builtin and then its argument prototype would still apply. */
14788 if { (eval echo configure
:14789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14790 eval "ac_cv_lib_$ac_lib_var=yes"
14792 echo "configure: failed program was:" >&5
14793 cat conftest.
$ac_ext >&5
14795 eval "ac_cv_lib_$ac_lib_var=no"
14798 LIBS
="$ac_save_LIBS"
14801 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14802 echo "$ac_t""yes" 1>&6
14805 echo "$ac_t""no" 1>&6
14809 echo "$ac_t""no" 1>&6
14812 if test "x$TIFF_LINK" = "x" ; then
14813 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
14819 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
14820 cat >> confdefs.h
<<\EOF
14821 #define wxUSE_FREETYPE 1
14824 if test "$wxUSE_FREETYPE" = "yes" ; then
14825 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
14828 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
14829 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
14830 echo "configure:14831: checking for freetype.h" >&5
14831 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14832 echo $ac_n "(cached) $ac_c" 1>&6
14834 cat > conftest.
$ac_ext <<EOF
14835 #line 14836 "configure"
14836 #include "confdefs.h"
14837 #include <freetype.h>
14839 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14840 { (eval echo configure
:14841: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14841 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14842 if test -z "$ac_err"; then
14844 eval "ac_cv_header_$ac_safe=yes"
14847 echo "configure: failed program was:" >&5
14848 cat conftest.
$ac_ext >&5
14850 eval "ac_cv_header_$ac_safe=no"
14854 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14855 echo "$ac_t""yes" 1>&6
14856 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
14857 echo "configure:14858: checking for FT_Render_Glyph in -lfreetype" >&5
14858 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
14859 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14860 echo $ac_n "(cached) $ac_c" 1>&6
14862 ac_save_LIBS
="$LIBS"
14863 LIBS
="-lfreetype -lm $LIBS"
14864 cat > conftest.
$ac_ext <<EOF
14865 #line 14866 "configure"
14866 #include "confdefs.h"
14867 /* Override any gcc2 internal prototype to avoid an error. */
14868 /* We use char because int might match the return type of a gcc2
14869 builtin and then its argument prototype would still apply. */
14870 char FT_Render_Glyph();
14876 if { (eval echo configure
:14877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14878 eval "ac_cv_lib_$ac_lib_var=yes"
14880 echo "configure: failed program was:" >&5
14881 cat conftest.
$ac_ext >&5
14883 eval "ac_cv_lib_$ac_lib_var=no"
14886 LIBS
="$ac_save_LIBS"
14889 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14890 echo "$ac_t""yes" 1>&6
14891 FREETYPE_LINK
="-lfreetype"
14893 echo "$ac_t""no" 1>&6
14898 echo "$ac_t""no" 1>&6
14901 if test "x$FREETYPE_LINK" = "x" ; then
14902 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
14907 if test "$wxUSE_OPENGL" = "yes"; then
14908 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14909 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14910 echo "configure:14911: checking for GL/gl.h" >&5
14911 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14912 echo $ac_n "(cached) $ac_c" 1>&6
14914 cat > conftest.
$ac_ext <<EOF
14915 #line 14916 "configure"
14916 #include "confdefs.h"
14919 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14920 { (eval echo configure
:14921: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14921 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14922 if test -z "$ac_err"; then
14924 eval "ac_cv_header_$ac_safe=yes"
14927 echo "configure: failed program was:" >&5
14928 cat conftest.
$ac_ext >&5
14930 eval "ac_cv_header_$ac_safe=no"
14934 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14935 echo "$ac_t""yes" 1>&6
14937 cat >> confdefs.h
<<\EOF
14938 #define wxUSE_OPENGL 1
14941 cat >> confdefs.h
<<\EOF
14942 #define wxUSE_GLCANVAS 1
14945 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
14946 echo "configure:14947: checking for glFlush in -lGL" >&5
14947 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
14948 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14949 echo $ac_n "(cached) $ac_c" 1>&6
14951 ac_save_LIBS
="$LIBS"
14953 cat > conftest.
$ac_ext <<EOF
14954 #line 14955 "configure"
14955 #include "confdefs.h"
14956 /* Override any gcc2 internal prototype to avoid an error. */
14957 /* We use char because int might match the return type of a gcc2
14958 builtin and then its argument prototype would still apply. */
14965 if { (eval echo configure
:14966: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14967 eval "ac_cv_lib_$ac_lib_var=yes"
14969 echo "configure: failed program was:" >&5
14970 cat conftest.
$ac_ext >&5
14972 eval "ac_cv_lib_$ac_lib_var=no"
14975 LIBS
="$ac_save_LIBS"
14978 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14979 echo "$ac_t""yes" 1>&6
14981 OPENGL_LINK
="-lGL -lGLU"
14984 echo "$ac_t""no" 1>&6
14986 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
14987 echo "configure:14988: checking for glFlush in -lMesaGL" >&5
14988 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
14989 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14990 echo $ac_n "(cached) $ac_c" 1>&6
14992 ac_save_LIBS
="$LIBS"
14993 LIBS
="-lMesaGL $LIBS"
14994 cat > conftest.
$ac_ext <<EOF
14995 #line 14996 "configure"
14996 #include "confdefs.h"
14997 /* Override any gcc2 internal prototype to avoid an error. */
14998 /* We use char because int might match the return type of a gcc2
14999 builtin and then its argument prototype would still apply. */
15006 if { (eval echo configure
:15007: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15008 eval "ac_cv_lib_$ac_lib_var=yes"
15010 echo "configure: failed program was:" >&5
15011 cat conftest.
$ac_ext >&5
15013 eval "ac_cv_lib_$ac_lib_var=no"
15016 LIBS
="$ac_save_LIBS"
15019 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15020 echo "$ac_t""yes" 1>&6
15022 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15025 echo "$ac_t""no" 1>&6
15033 echo "$ac_t""no" 1>&6
15040 if test "$wxUSE_GUI" = "yes"; then
15041 cat >> confdefs.h
<<\EOF
15042 #define wxUSE_GUI 1
15047 cat >> confdefs.h
<<\EOF
15048 #define wxUSE_NOGUI 1
15054 if test "$wxUSE_UNIX" = "yes"; then
15055 cat >> confdefs.h
<<\EOF
15056 #define wxUSE_UNIX 1
15062 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15063 cat >> confdefs.h
<<\EOF
15064 #define wxUSE_APPLE_IEEE 1
15069 if test "$wxUSE_TIMER" = "yes"; then
15070 cat >> confdefs.h
<<\EOF
15071 #define wxUSE_TIMER 1
15076 if test "$wxUSE_WAVE" = "yes"; then
15077 cat >> confdefs.h
<<\EOF
15078 #define wxUSE_WAVE 1
15083 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15084 cat >> confdefs.h
<<\EOF
15085 #define wxUSE_CMDLINE_PARSER 1
15090 if test "$wxUSE_STOPWATCH" = "yes"; then
15091 cat >> confdefs.h
<<\EOF
15092 #define wxUSE_STOPWATCH 1
15097 if test "$wxUSE_DATETIME" = "yes"; then
15098 cat >> confdefs.h
<<\EOF
15099 #define wxUSE_DATETIME 1
15104 if test "$wxUSE_TIMEDATE" = "yes"; then
15105 cat >> confdefs.h
<<\EOF
15106 #define wxUSE_TIMEDATE 1
15111 if test "$wxUSE_FILE" = "yes"; then
15112 cat >> confdefs.h
<<\EOF
15113 #define wxUSE_FILE 1
15118 if test "$wxUSE_FFILE" = "yes"; then
15119 cat >> confdefs.h
<<\EOF
15120 #define wxUSE_FFILE 1
15125 if test "$wxUSE_FILESYSTEM" = "yes"; then
15126 cat >> confdefs.h
<<\EOF
15127 #define wxUSE_FILESYSTEM 1
15132 if test "$wxUSE_FS_INET" = "yes"; then
15133 cat >> confdefs.h
<<\EOF
15134 #define wxUSE_FS_INET 1
15139 if test "$wxUSE_FS_ZIP" = "yes"; then
15140 cat >> confdefs.h
<<\EOF
15141 #define wxUSE_FS_ZIP 1
15146 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15147 cat >> confdefs.h
<<\EOF
15148 #define wxUSE_ZIPSTREAM 1
15153 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15154 cat >> confdefs.h
<<\EOF
15155 #define wxUSE_ON_FATAL_EXCEPTION 1
15160 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15161 cat >> confdefs.h
<<\EOF
15162 #define wxUSE_SNGLINST_CHECKER 1
15167 if test "$wxUSE_BUSYINFO" = "yes"; then
15168 cat >> confdefs.h
<<\EOF
15169 #define wxUSE_BUSYINFO 1
15174 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15175 cat >> confdefs.h
<<\EOF
15176 #define wxUSE_STD_IOSTREAM 1
15181 if test "$wxUSE_TEXTFILE" = "yes"; then
15182 if test "$wxUSE_FILE" != "yes"; then
15183 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15185 cat >> confdefs.h
<<\EOF
15186 #define wxUSE_TEXTFILE 1
15192 if test "$wxUSE_CONFIG" = "yes" ; then
15193 if test "$wxUSE_TEXTFILE" != "yes"; then
15194 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15196 cat >> confdefs.h
<<\EOF
15197 #define wxUSE_CONFIG 1
15200 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15204 if test "$wxUSE_INTL" = "yes" ; then
15205 if test "$wxUSE_FILE" != "yes"; then
15206 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15208 cat >> confdefs.h
<<\EOF
15209 #define wxUSE_INTL 1
15212 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15213 GUIDIST
="$GUIDIST INTL_DIST"
15217 if test "$wxUSE_LOG" = "yes"; then
15218 cat >> confdefs.h
<<\EOF
15219 #define wxUSE_LOG 1
15224 if test "$wxUSE_LONGLONG" = "yes"; then
15225 cat >> confdefs.h
<<\EOF
15226 #define wxUSE_LONGLONG 1
15231 if test "$wxUSE_GEOMETRY" = "yes"; then
15232 cat >> confdefs.h
<<\EOF
15233 #define wxUSE_GEOMETRY 1
15238 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15239 cat >> confdefs.h
<<\EOF
15240 #define wxUSE_DIALUP_MANAGER 1
15243 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15246 if test "$wxUSE_STREAMS" = "yes" ; then
15247 cat >> confdefs.h
<<\EOF
15248 #define wxUSE_STREAMS 1
15254 if test "$wxUSE_DATETIME" = "yes"; then
15255 for ac_func
in strptime
15257 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15258 echo "configure:15259: checking for $ac_func" >&5
15259 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15260 echo $ac_n "(cached) $ac_c" 1>&6
15262 cat > conftest.
$ac_ext <<EOF
15263 #line 15264 "configure"
15264 #include "confdefs.h"
15265 /* System header to define __stub macros and hopefully few prototypes,
15266 which can conflict with char $ac_func(); below. */
15267 #include <assert.h>
15268 /* Override any gcc2 internal prototype to avoid an error. */
15269 /* We use char because int might match the return type of a gcc2
15270 builtin and then its argument prototype would still apply. */
15275 /* The GNU C library defines this for functions which it implements
15276 to always fail with ENOSYS. Some functions are actually named
15277 something starting with __ and the normal name is an alias. */
15278 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15286 if { (eval echo configure
:15287: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15288 eval "ac_cv_func_$ac_func=yes"
15290 echo "configure: failed program was:" >&5
15291 cat conftest.
$ac_ext >&5
15293 eval "ac_cv_func_$ac_func=no"
15298 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15299 echo "$ac_t""yes" 1>&6
15300 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15301 cat >> confdefs.h
<<EOF
15302 #define $ac_tr_func 1
15306 echo "$ac_t""no" 1>&6
15311 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15312 echo "configure:15313: checking for timezone variable in <time.h>" >&5
15313 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15314 echo $ac_n "(cached) $ac_c" 1>&6
15317 cat > conftest.
$ac_ext <<EOF
15318 #line 15319 "configure"
15319 #include "confdefs.h"
15330 if { (eval echo configure
:15331: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15333 wx_cv_var_timezone
=__timezone
15336 echo "configure: failed program was:" >&5
15337 cat conftest.
$ac_ext >&5
15340 cat > conftest.
$ac_ext <<EOF
15341 #line 15342 "configure"
15342 #include "confdefs.h"
15353 if { (eval echo configure
:15354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15356 wx_cv_var_timezone
=_timezone
15359 echo "configure: failed program was:" >&5
15360 cat conftest.
$ac_ext >&5
15363 cat > conftest.
$ac_ext <<EOF
15364 #line 15365 "configure"
15365 #include "confdefs.h"
15376 if { (eval echo configure
:15377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15379 wx_cv_var_timezone
=timezone
15382 echo "configure: failed program was:" >&5
15383 cat conftest.
$ac_ext >&5
15385 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
15401 echo "$ac_t""$wx_cv_var_timezone" 1>&6
15403 cat >> confdefs.h
<<EOF
15404 #define WX_TIMEZONE $wx_cv_var_timezone
15408 for ac_func
in localtime
15410 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15411 echo "configure:15412: checking for $ac_func" >&5
15412 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15413 echo $ac_n "(cached) $ac_c" 1>&6
15415 cat > conftest.
$ac_ext <<EOF
15416 #line 15417 "configure"
15417 #include "confdefs.h"
15418 /* System header to define __stub macros and hopefully few prototypes,
15419 which can conflict with char $ac_func(); below. */
15420 #include <assert.h>
15421 /* Override any gcc2 internal prototype to avoid an error. */
15422 /* We use char because int might match the return type of a gcc2
15423 builtin and then its argument prototype would still apply. */
15428 /* The GNU C library defines this for functions which it implements
15429 to always fail with ENOSYS. Some functions are actually named
15430 something starting with __ and the normal name is an alias. */
15431 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15439 if { (eval echo configure
:15440: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15441 eval "ac_cv_func_$ac_func=yes"
15443 echo "configure: failed program was:" >&5
15444 cat conftest.
$ac_ext >&5
15446 eval "ac_cv_func_$ac_func=no"
15451 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15452 echo "$ac_t""yes" 1>&6
15453 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15454 cat >> confdefs.h
<<EOF
15455 #define $ac_tr_func 1
15459 echo "$ac_t""no" 1>&6
15464 if test "$ac_cv_func_localtime" = "yes"; then
15465 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
15466 echo "configure:15467: checking for tm_gmtoff in struct tm" >&5
15467 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
15468 echo $ac_n "(cached) $ac_c" 1>&6
15471 cat > conftest.
$ac_ext <<EOF
15472 #line 15473 "configure"
15473 #include "confdefs.h"
15484 if { (eval echo configure
:15485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15487 wx_cv_struct_tm_has_gmtoff
=yes
15490 echo "configure: failed program was:" >&5
15491 cat conftest.
$ac_ext >&5
15493 wx_cv_struct_tm_has_gmtoff
=no
15500 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
15503 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
15504 cat >> confdefs.h
<<\EOF
15505 #define WX_GMTOFF_IN_TM 1
15510 for ac_func
in gettimeofday ftime
15512 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15513 echo "configure:15514: checking for $ac_func" >&5
15514 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15515 echo $ac_n "(cached) $ac_c" 1>&6
15517 cat > conftest.
$ac_ext <<EOF
15518 #line 15519 "configure"
15519 #include "confdefs.h"
15520 /* System header to define __stub macros and hopefully few prototypes,
15521 which can conflict with char $ac_func(); below. */
15522 #include <assert.h>
15523 /* Override any gcc2 internal prototype to avoid an error. */
15524 /* We use char because int might match the return type of a gcc2
15525 builtin and then its argument prototype would still apply. */
15530 /* The GNU C library defines this for functions which it implements
15531 to always fail with ENOSYS. Some functions are actually named
15532 something starting with __ and the normal name is an alias. */
15533 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15541 if { (eval echo configure
:15542: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15543 eval "ac_cv_func_$ac_func=yes"
15545 echo "configure: failed program was:" >&5
15546 cat conftest.
$ac_ext >&5
15548 eval "ac_cv_func_$ac_func=no"
15553 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15554 echo "$ac_t""yes" 1>&6
15555 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15556 cat >> confdefs.h
<<EOF
15557 #define $ac_tr_func 1
15561 echo "$ac_t""no" 1>&6
15566 if test "$ac_cv_func_gettimeofday" = "yes"; then
15567 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
15568 echo "configure:15569: checking whether gettimeofday takes two arguments" >&5
15569 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
15570 echo $ac_n "(cached) $ac_c" 1>&6
15575 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15576 ac_cpp
='$CXXCPP $CPPFLAGS'
15577 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15578 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15579 cross_compiling
=$ac_cv_prog_cxx_cross
15582 cat > conftest.
$ac_ext <<EOF
15583 #line 15584 "configure"
15584 #include "confdefs.h"
15586 #include <sys/time.h>
15587 #include <unistd.h>
15592 struct timezone tz;
15593 gettimeofday(&tv, &tz);
15597 if { (eval echo configure
:15598: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15599 wx_cv_func_gettimeofday_has_2_args
=yes
15601 echo "configure: failed program was:" >&5
15602 cat conftest.
$ac_ext >&5
15604 cat > conftest.
$ac_ext <<EOF
15605 #line 15606 "configure"
15606 #include "confdefs.h"
15608 #include <sys/time.h>
15609 #include <unistd.h>
15618 if { (eval echo configure
:15619: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15620 wx_cv_func_gettimeofday_has_2_args
=no
15622 echo "configure: failed program was:" >&5
15623 cat conftest.
$ac_ext >&5
15625 wx_cv_func_gettimeofday_has_2_args
=unknown
15633 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15634 ac_cpp
='$CPP $CPPFLAGS'
15635 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15636 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15637 cross_compiling
=$ac_cv_prog_cc_cross
15642 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
15644 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
15645 cat >> confdefs.h
<<\EOF
15646 #define WX_GETTIMEOFDAY_NO_TZ 1
15652 cat >> confdefs.h
<<\EOF
15653 #define wxUSE_TIMEDATE 1
15656 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
15660 if test "$TOOLKIT" != "MSW"; then
15662 if test "$wxUSE_SOCKETS" = "yes"; then
15663 echo $ac_n "checking for socket""... $ac_c" 1>&6
15664 echo "configure:15665: checking for socket" >&5
15665 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
15666 echo $ac_n "(cached) $ac_c" 1>&6
15668 cat > conftest.
$ac_ext <<EOF
15669 #line 15670 "configure"
15670 #include "confdefs.h"
15671 /* System header to define __stub macros and hopefully few prototypes,
15672 which can conflict with char socket(); below. */
15673 #include <assert.h>
15674 /* Override any gcc2 internal prototype to avoid an error. */
15675 /* We use char because int might match the return type of a gcc2
15676 builtin and then its argument prototype would still apply. */
15681 /* The GNU C library defines this for functions which it implements
15682 to always fail with ENOSYS. Some functions are actually named
15683 something starting with __ and the normal name is an alias. */
15684 #if defined (__stub_socket) || defined (__stub___socket)
15692 if { (eval echo configure
:15693: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15694 eval "ac_cv_func_socket=yes"
15696 echo "configure: failed program was:" >&5
15697 cat conftest.
$ac_ext >&5
15699 eval "ac_cv_func_socket=no"
15704 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
15705 echo "$ac_t""yes" 1>&6
15708 echo "$ac_t""no" 1>&6
15709 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
15710 echo "configure:15711: checking for socket in -lsocket" >&5
15711 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
15712 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15713 echo $ac_n "(cached) $ac_c" 1>&6
15715 ac_save_LIBS
="$LIBS"
15716 LIBS
="-lsocket $LIBS"
15717 cat > conftest.
$ac_ext <<EOF
15718 #line 15719 "configure"
15719 #include "confdefs.h"
15720 /* Override any gcc2 internal prototype to avoid an error. */
15721 /* We use char because int might match the return type of a gcc2
15722 builtin and then its argument prototype would still apply. */
15729 if { (eval echo configure
:15730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15731 eval "ac_cv_lib_$ac_lib_var=yes"
15733 echo "configure: failed program was:" >&5
15734 cat conftest.
$ac_ext >&5
15736 eval "ac_cv_lib_$ac_lib_var=no"
15739 LIBS
="$ac_save_LIBS"
15742 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15743 echo "$ac_t""yes" 1>&6
15744 INET_LINK
="$INET_LINK -lsocket"
15746 echo "$ac_t""no" 1>&6
15748 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
15760 if test "$wxUSE_SOCKETS" = "yes" ; then
15761 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
15762 echo "configure:15763: checking what is the type of the third argument of getsockname" >&5
15763 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
15764 echo $ac_n "(cached) $ac_c" 1>&6
15769 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15770 ac_cpp
='$CXXCPP $CPPFLAGS'
15771 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15772 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15773 cross_compiling
=$ac_cv_prog_cxx_cross
15776 cat > conftest.
$ac_ext <<EOF
15777 #line 15778 "configure"
15778 #include "confdefs.h"
15780 #include <sys/types.h>
15781 #include <sys/socket.h>
15786 getsockname(0, 0, &len);
15790 if { (eval echo configure
:15791: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15792 wx_cv_type_getsockname3
=socklen_t
15794 echo "configure: failed program was:" >&5
15795 cat conftest.
$ac_ext >&5
15797 cat > conftest.
$ac_ext <<EOF
15798 #line 15799 "configure"
15799 #include "confdefs.h"
15801 #include <sys/types.h>
15802 #include <sys/socket.h>
15807 getsockname(0, 0, &len);
15811 if { (eval echo configure
:15812: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15813 wx_cv_type_getsockname3
=size_t
15815 echo "configure: failed program was:" >&5
15816 cat conftest.
$ac_ext >&5
15818 cat > conftest.
$ac_ext <<EOF
15819 #line 15820 "configure"
15820 #include "confdefs.h"
15822 #include <sys/types.h>
15823 #include <sys/socket.h>
15828 getsockname(0, 0, &len);
15832 if { (eval echo configure
:15833: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15834 wx_cv_type_getsockname3
=int
15836 echo "configure: failed program was:" >&5
15837 cat conftest.
$ac_ext >&5
15839 wx_cv_type_getsockname3
=unknown
15851 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15852 ac_cpp
='$CPP $CPPFLAGS'
15853 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15854 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15855 cross_compiling
=$ac_cv_prog_cc_cross
15860 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
15862 if test "$wx_cv_type_getsockname3" = "unknown"; then
15864 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
15866 cat >> confdefs.h
<<EOF
15867 #define SOCKLEN_T $wx_cv_type_getsockname3
15875 if test "$wxUSE_SOCKETS" = "yes" ; then
15876 cat >> confdefs.h
<<\EOF
15877 #define wxUSE_SOCKETS 1
15880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
15881 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
15885 if test "$wxUSE_GUI" = "yes"; then
15887 if test "$TOOLKIT" != "MSW"; then
15889 if test "$wxUSE_JOYSTICK" = "yes"; then
15890 for ac_hdr
in linux
/joystick.h
15892 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15893 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15894 echo "configure:15895: checking for $ac_hdr" >&5
15895 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15896 echo $ac_n "(cached) $ac_c" 1>&6
15898 cat > conftest.
$ac_ext <<EOF
15899 #line 15900 "configure"
15900 #include "confdefs.h"
15903 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15904 { (eval echo configure
:15905: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15905 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15906 if test -z "$ac_err"; then
15908 eval "ac_cv_header_$ac_safe=yes"
15911 echo "configure: failed program was:" >&5
15912 cat conftest.
$ac_ext >&5
15914 eval "ac_cv_header_$ac_safe=no"
15918 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15919 echo "$ac_t""yes" 1>&6
15920 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15921 cat >> confdefs.h
<<EOF
15922 #define $ac_tr_hdr 1
15926 echo "$ac_t""no" 1>&6
15930 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
15932 echo "configure: warning: Joystick not supported by this system" 1>&2
15938 if test "$wxUSE_JOYSTICK" = "yes"; then
15939 cat >> confdefs.h
<<\EOF
15940 #define wxUSE_JOYSTICK 1
15943 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
15949 if test "$TOOLKIT" != "MSW"; then
15953 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
15954 if test "$USE_MAC" = 1; then
15957 for ac_func
in dlopen
15959 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15960 echo "configure:15961: checking for $ac_func" >&5
15961 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15962 echo $ac_n "(cached) $ac_c" 1>&6
15964 cat > conftest.
$ac_ext <<EOF
15965 #line 15966 "configure"
15966 #include "confdefs.h"
15967 /* System header to define __stub macros and hopefully few prototypes,
15968 which can conflict with char $ac_func(); below. */
15969 #include <assert.h>
15970 /* Override any gcc2 internal prototype to avoid an error. */
15971 /* We use char because int might match the return type of a gcc2
15972 builtin and then its argument prototype would still apply. */
15977 /* The GNU C library defines this for functions which it implements
15978 to always fail with ENOSYS. Some functions are actually named
15979 something starting with __ and the normal name is an alias. */
15980 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15988 if { (eval echo configure
:15989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15990 eval "ac_cv_func_$ac_func=yes"
15992 echo "configure: failed program was:" >&5
15993 cat conftest.
$ac_ext >&5
15995 eval "ac_cv_func_$ac_func=no"
16000 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16001 echo "$ac_t""yes" 1>&6
16002 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16003 cat >> confdefs.h
<<EOF
16004 #define $ac_tr_func 1
16007 cat >> confdefs.h
<<\EOF
16008 #define HAVE_DLOPEN 1
16014 echo "$ac_t""no" 1>&6
16015 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16016 echo "configure:16017: checking for dlopen in -ldl" >&5
16017 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16018 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16019 echo $ac_n "(cached) $ac_c" 1>&6
16021 ac_save_LIBS
="$LIBS"
16023 cat > conftest.
$ac_ext <<EOF
16024 #line 16025 "configure"
16025 #include "confdefs.h"
16026 /* Override any gcc2 internal prototype to avoid an error. */
16027 /* We use char because int might match the return type of a gcc2
16028 builtin and then its argument prototype would still apply. */
16035 if { (eval echo configure
:16036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16037 eval "ac_cv_lib_$ac_lib_var=yes"
16039 echo "configure: failed program was:" >&5
16040 cat conftest.
$ac_ext >&5
16042 eval "ac_cv_lib_$ac_lib_var=no"
16045 LIBS
="$ac_save_LIBS"
16048 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16049 echo "$ac_t""yes" 1>&6
16051 cat >> confdefs.h
<<\EOF
16052 #define HAVE_DLOPEN 1
16059 echo "$ac_t""no" 1>&6
16061 for ac_func
in shl_load
16063 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16064 echo "configure:16065: checking for $ac_func" >&5
16065 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16066 echo $ac_n "(cached) $ac_c" 1>&6
16068 cat > conftest.
$ac_ext <<EOF
16069 #line 16070 "configure"
16070 #include "confdefs.h"
16071 /* System header to define __stub macros and hopefully few prototypes,
16072 which can conflict with char $ac_func(); below. */
16073 #include <assert.h>
16074 /* Override any gcc2 internal prototype to avoid an error. */
16075 /* We use char because int might match the return type of a gcc2
16076 builtin and then its argument prototype would still apply. */
16081 /* The GNU C library defines this for functions which it implements
16082 to always fail with ENOSYS. Some functions are actually named
16083 something starting with __ and the normal name is an alias. */
16084 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16092 if { (eval echo configure
:16093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16094 eval "ac_cv_func_$ac_func=yes"
16096 echo "configure: failed program was:" >&5
16097 cat conftest.
$ac_ext >&5
16099 eval "ac_cv_func_$ac_func=no"
16104 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16105 echo "$ac_t""yes" 1>&6
16106 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16107 cat >> confdefs.h
<<EOF
16108 #define $ac_tr_func 1
16111 cat >> confdefs.h
<<\EOF
16112 #define HAVE_SHL_LOAD 1
16118 echo "$ac_t""no" 1>&6
16119 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16120 echo "configure:16121: checking for dld in -lshl_load" >&5
16121 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16122 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16123 echo $ac_n "(cached) $ac_c" 1>&6
16125 ac_save_LIBS
="$LIBS"
16126 LIBS
="-lshl_load $LIBS"
16127 cat > conftest.
$ac_ext <<EOF
16128 #line 16129 "configure"
16129 #include "confdefs.h"
16130 /* Override any gcc2 internal prototype to avoid an error. */
16131 /* We use char because int might match the return type of a gcc2
16132 builtin and then its argument prototype would still apply. */
16139 if { (eval echo configure
:16140: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16141 eval "ac_cv_lib_$ac_lib_var=yes"
16143 echo "configure: failed program was:" >&5
16144 cat conftest.
$ac_ext >&5
16146 eval "ac_cv_lib_$ac_lib_var=no"
16149 LIBS
="$ac_save_LIBS"
16152 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16153 echo "$ac_t""yes" 1>&6
16159 echo "$ac_t""no" 1>&6
16174 if test "$HAVE_DL_FUNCS" = 1; then
16175 for ac_func
in dlerror
16177 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16178 echo "configure:16179: checking for $ac_func" >&5
16179 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16180 echo $ac_n "(cached) $ac_c" 1>&6
16182 cat > conftest.
$ac_ext <<EOF
16183 #line 16184 "configure"
16184 #include "confdefs.h"
16185 /* System header to define __stub macros and hopefully few prototypes,
16186 which can conflict with char $ac_func(); below. */
16187 #include <assert.h>
16188 /* Override any gcc2 internal prototype to avoid an error. */
16189 /* We use char because int might match the return type of a gcc2
16190 builtin and then its argument prototype would still apply. */
16195 /* The GNU C library defines this for functions which it implements
16196 to always fail with ENOSYS. Some functions are actually named
16197 something starting with __ and the normal name is an alias. */
16198 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16206 if { (eval echo configure
:16207: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16208 eval "ac_cv_func_$ac_func=yes"
16210 echo "configure: failed program was:" >&5
16211 cat conftest.
$ac_ext >&5
16213 eval "ac_cv_func_$ac_func=no"
16218 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16219 echo "$ac_t""yes" 1>&6
16220 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16221 cat >> confdefs.h
<<EOF
16222 #define $ac_tr_func 1
16224 cat >> confdefs.h
<<\EOF
16225 #define HAVE_DLERROR 1
16229 echo "$ac_t""no" 1>&6
16230 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16231 echo "configure:16232: checking for dlerror in -ldl" >&5
16232 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16233 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16234 echo $ac_n "(cached) $ac_c" 1>&6
16236 ac_save_LIBS
="$LIBS"
16238 cat > conftest.
$ac_ext <<EOF
16239 #line 16240 "configure"
16240 #include "confdefs.h"
16241 /* Override any gcc2 internal prototype to avoid an error. */
16242 /* We use char because int might match the return type of a gcc2
16243 builtin and then its argument prototype would still apply. */
16250 if { (eval echo configure
:16251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16252 eval "ac_cv_lib_$ac_lib_var=yes"
16254 echo "configure: failed program was:" >&5
16255 cat conftest.
$ac_ext >&5
16257 eval "ac_cv_lib_$ac_lib_var=no"
16260 LIBS
="$ac_save_LIBS"
16263 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16264 echo "$ac_t""yes" 1>&6
16265 cat >> confdefs.h
<<\EOF
16266 #define HAVE_DLERROR 1
16270 echo "$ac_t""no" 1>&6
16279 if test "$HAVE_DL_FUNCS" = 0; then
16280 if test "$HAVE_SHL_FUNCS" = 0; then
16281 if test "$USE_UNIX" = 1; then
16282 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16283 wxUSE_DYNLIB_CLASS
=no
16285 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16293 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16294 cat >> confdefs.h
<<\EOF
16295 #define wxUSE_DYNLIB_CLASS 1
16304 if test "$wxUSE_FONTMAP" = "yes" ; then
16305 cat >> confdefs.h
<<\EOF
16306 #define wxUSE_FONTMAP 1
16311 if test "$wxUSE_UNICODE" = "yes" ; then
16312 cat >> confdefs.h
<<\EOF
16313 #define wxUSE_UNICODE 1
16318 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16319 cat >> confdefs.h
<<\EOF
16320 #define wxUSE_WCSRTOMBS 1
16325 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16326 cat >> confdefs.h
<<\EOF
16327 #define wxUSE_EXPERIMENTAL_PRINTF 1
16333 if test "$wxUSE_SERIAL" = "yes" ; then
16334 cat >> confdefs.h
<<\EOF
16335 #define wxUSE_SERIAL 1
16342 if test "$wxUSE_ODBC" = "yes" ; then
16343 cat >> confdefs.h
<<\EOF
16344 #define wxUSE_ODBC 1
16347 WXODBCFLAG
="-D_IODBC_"
16348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
16352 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16353 cat >> confdefs.h
<<\EOF
16354 #define wxUSE_POSTSCRIPT 1
16359 cat >> confdefs.h
<<\EOF
16360 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16364 cat >> confdefs.h
<<\EOF
16365 #define wxUSE_NORMALIZED_PS_FONTS 1
16370 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16371 cat >> confdefs.h
<<\EOF
16372 #define wxUSE_CONSTRAINTS 1
16375 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
16378 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16379 cat >> confdefs.h
<<\EOF
16380 #define wxUSE_MDI_ARCHITECTURE 1
16383 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
16386 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
16387 cat >> confdefs.h
<<\EOF
16388 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
16391 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
16392 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
16397 if test "$wxUSE_HELP" = "yes"; then
16398 cat >> confdefs.h
<<\EOF
16399 #define wxUSE_HELP 1
16402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
16405 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16406 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16407 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
16409 cat >> confdefs.h
<<\EOF
16410 #define wxUSE_PRINTING_ARCHITECTURE 1
16414 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
16417 if test "$wxUSE_PROLOGIO" = "yes" ; then
16418 cat >> confdefs.h
<<\EOF
16419 #define wxUSE_PROLOGIO 1
16424 if test "$wxUSE_RESOURCES" = "yes" ; then
16425 if test "$wxUSE_PROLOGIO" = "yes" ; then
16426 cat >> confdefs.h
<<\EOF
16427 #define wxUSE_RESOURCES 1
16430 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
16432 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
16436 if test "$wxUSE_X_RESOURCES" = "yes"; then
16437 cat >> confdefs.h
<<\EOF
16438 #define wxUSE_X_RESOURCES 1
16444 if test "$wxUSE_IPC" = "yes"; then
16445 if test "$wxUSE_SOCKETS" != "yes"; then
16446 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
16449 cat >> confdefs.h
<<\EOF
16450 #define wxUSE_IPC 1
16455 if test "$wxUSE_CLIPBOARD" = "yes"; then
16456 cat >> confdefs.h
<<\EOF
16457 #define wxUSE_CLIPBOARD 1
16460 cat >> confdefs.h
<<\EOF
16461 #define wxUSE_DATAOBJ 1
16466 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
16467 if test "$wxUSE_GTK" = 1; then
16468 if test "$WXGTK12" != 1; then
16469 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
16470 wxUSE_DRAG_AND_DROP
=no
16474 if test "$wxUSE_MOTIF" = 1; then
16475 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
16476 wxUSE_DRAG_AND_DROP
=no
16479 if test "$wxUSE_MAC" = 1; then
16480 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
16481 wxUSE_DRAG_AND_DROP
=no
16484 if test "$USE_WIN32" = 1; then
16486 for ac_hdr
in ole2.h
16488 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16489 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16490 echo "configure:16491: checking for $ac_hdr" >&5
16491 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16492 echo $ac_n "(cached) $ac_c" 1>&6
16494 cat > conftest.
$ac_ext <<EOF
16495 #line 16496 "configure"
16496 #include "confdefs.h"
16499 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16500 { (eval echo configure
:16501: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16501 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16502 if test -z "$ac_err"; then
16504 eval "ac_cv_header_$ac_safe=yes"
16507 echo "configure: failed program was:" >&5
16508 cat conftest.
$ac_ext >&5
16510 eval "ac_cv_header_$ac_safe=no"
16514 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16515 echo "$ac_t""yes" 1>&6
16516 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16517 cat >> confdefs.h
<<EOF
16518 #define $ac_tr_hdr 1
16522 echo "$ac_t""no" 1>&6
16527 if test "$ac_cv_header_ole2_h" = "yes" ; then
16528 if test "$GCC" = yes ; then
16529 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
16530 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
16531 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
16532 LIBS
="$LIBS -lole32 -luuid"
16534 if test "$wxUSE_METAFILE" = "yes"; then
16535 cat >> confdefs.h
<<\EOF
16536 #define wxUSE_METAFILE 1
16539 cat >> confdefs.h
<<\EOF
16540 #define wxUSE_ENH_METAFILE 1
16546 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
16547 wxUSE_DRAG_AND_DROP
=no
16551 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
16552 cat >> confdefs.h
<<\EOF
16553 #define wxUSE_DRAG_AND_DROP 1
16556 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
16561 if test "$wxUSE_SPLINES" = "yes" ; then
16562 cat >> confdefs.h
<<\EOF
16563 #define wxUSE_SPLINES 1
16570 if test "$wxUSE_CONTROLS" = "yes"; then
16574 if test "$wxUSE_ACCEL" = "yes"; then
16575 cat >> confdefs.h
<<\EOF
16576 #define wxUSE_ACCEL 1
16582 if test "$wxUSE_BUTTON" = "yes"; then
16583 cat >> confdefs.h
<<\EOF
16584 #define wxUSE_BUTTON 1
16590 if test "$wxUSE_BMPBUTTON" = "yes"; then
16591 cat >> confdefs.h
<<\EOF
16592 #define wxUSE_BMPBUTTON 1
16598 if test "$wxUSE_CALCTRL" = "yes"; then
16599 cat >> confdefs.h
<<\EOF
16600 #define wxUSE_CALENDARCTRL 1
16604 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
16607 if test "$wxUSE_CARET" = "yes"; then
16608 cat >> confdefs.h
<<\EOF
16609 #define wxUSE_CARET 1
16613 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
16616 if test "$wxUSE_COMBOBOX" = "yes"; then
16617 cat >> confdefs.h
<<\EOF
16618 #define wxUSE_COMBOBOX 1
16624 if test "$wxUSE_CHOICE" = "yes"; then
16625 cat >> confdefs.h
<<\EOF
16626 #define wxUSE_CHOICE 1
16632 if test "$wxUSE_CHECKBOX" = "yes"; then
16633 cat >> confdefs.h
<<\EOF
16634 #define wxUSE_CHECKBOX 1
16640 if test "$wxUSE_CHECKLST" = "yes"; then
16641 cat >> confdefs.h
<<\EOF
16642 #define wxUSE_CHECKLISTBOX 1
16646 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
16649 if test "$wxUSE_GAUGE" = "yes"; then
16650 cat >> confdefs.h
<<\EOF
16651 #define wxUSE_GAUGE 1
16657 if test "$wxUSE_NEW_GRID" = "yes"; then
16659 cat >> confdefs.h
<<\EOF
16660 #define wxUSE_NEW_GRID 1
16664 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
16667 if test "$wxUSE_GRID" = "yes"; then
16668 cat >> confdefs.h
<<\EOF
16669 #define wxUSE_GRID 1
16673 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
16676 if test "$wxUSE_IMAGLIST" = "yes"; then
16677 cat >> confdefs.h
<<\EOF
16678 #define wxUSE_IMAGLIST 1
16683 if test "$wxUSE_LISTBOX" = "yes"; then
16684 cat >> confdefs.h
<<\EOF
16685 #define wxUSE_LISTBOX 1
16691 if test "$wxUSE_LISTCTRL" = "yes"; then
16692 if test "$wxUSE_IMAGLIST" = "yes"; then
16693 cat >> confdefs.h
<<\EOF
16694 #define wxUSE_LISTCTRL 1
16698 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
16700 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
16704 if test "$wxUSE_NOTEBOOK" = "yes"; then
16705 cat >> confdefs.h
<<\EOF
16706 #define wxUSE_NOTEBOOK 1
16710 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
16713 if test "$wxUSE_RADIOBOX" = "yes"; then
16714 cat >> confdefs.h
<<\EOF
16715 #define wxUSE_RADIOBOX 1
16721 if test "$wxUSE_RADIOBTN" = "yes"; then
16722 cat >> confdefs.h
<<\EOF
16723 #define wxUSE_RADIOBTN 1
16729 if test "$wxUSE_SASH" = "yes"; then
16730 cat >> confdefs.h
<<\EOF
16731 #define wxUSE_SASH 1
16734 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
16737 if test "$wxUSE_SCROLLBAR" = "yes"; then
16738 cat >> confdefs.h
<<\EOF
16739 #define wxUSE_SCROLLBAR 1
16743 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
16746 if test "$wxUSE_SLIDER" = "yes"; then
16747 cat >> confdefs.h
<<\EOF
16748 #define wxUSE_SLIDER 1
16754 if test "$wxUSE_SPINBTN" = "yes"; then
16755 cat >> confdefs.h
<<\EOF
16756 #define wxUSE_SPINBTN 1
16762 if test "$wxUSE_SPINCTRL" = "yes"; then
16763 cat >> confdefs.h
<<\EOF
16764 #define wxUSE_SPINCTRL 1
16770 if test "$wxUSE_SPLITTER" = "yes"; then
16771 cat >> confdefs.h
<<\EOF
16772 #define wxUSE_SPLITTER 1
16775 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
16778 if test "$wxUSE_STATBMP" = "yes"; then
16779 cat >> confdefs.h
<<\EOF
16780 #define wxUSE_STATBMP 1
16786 if test "$wxUSE_STATBOX" = "yes"; then
16787 cat >> confdefs.h
<<\EOF
16788 #define wxUSE_STATBOX 1
16794 if test "$wxUSE_STATTEXT" = "yes"; then
16795 cat >> confdefs.h
<<\EOF
16796 #define wxUSE_STATTEXT 1
16802 if test "$wxUSE_STATLINE" = "yes"; then
16803 if test "$wxUSE_WINE" = 1 ; then
16804 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
16806 cat >> confdefs.h
<<\EOF
16807 #define wxUSE_STATLINE 1
16814 if test "$wxUSE_STATUSBAR" = "yes"; then
16815 cat >> confdefs.h
<<\EOF
16816 #define wxUSE_STATUSBAR 1
16821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
16824 if test "$wxUSE_TABDIALOG" = "yes"; then
16825 cat >> confdefs.h
<<\EOF
16826 #define wxUSE_TAB_DIALOG 1
16829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
16832 if test "$wxUSE_TEXTCTRL" = "yes"; then
16833 cat >> confdefs.h
<<\EOF
16834 #define wxUSE_TEXTCTRL 1
16838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
16841 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16842 if test "$wxUSE_MAC" = 1; then
16843 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
16847 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16848 cat >> confdefs.h
<<\EOF
16849 #define wxUSE_TOGGLEBTN 1
16856 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
16857 cat >> confdefs.h
<<\EOF
16858 #define wxUSE_TOOLBAR_SIMPLE 1
16861 wxUSE_TOOLBAR
="yes"
16865 if test "$wxUSE_TOOLBAR" = "yes"; then
16866 cat >> confdefs.h
<<\EOF
16867 #define wxUSE_TOOLBAR 1
16872 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
16873 wxUSE_TOOLBAR_NATIVE
="yes"
16876 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
16877 cat >> confdefs.h
<<\EOF
16878 #define wxUSE_TOOLBAR_NATIVE 1
16884 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
16887 if test "$wxUSE_TOOLTIPS" = "yes"; then
16888 if test "$wxUSE_MOTIF" = 1; then
16889 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
16891 if test "$wxUSE_WINE" = 1; then
16892 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
16894 cat >> confdefs.h
<<\EOF
16895 #define wxUSE_TOOLTIPS 1
16902 if test "$wxUSE_TREECTRL" = "yes"; then
16903 if test "$wxUSE_IMAGLIST" = "yes"; then
16904 cat >> confdefs.h
<<\EOF
16905 #define wxUSE_TREECTRL 1
16909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
16911 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
16915 if test "$USES_CONTROLS" = 1; then
16916 cat >> confdefs.h
<<\EOF
16917 #define wxUSE_CONTROLS 1
16924 if test "$wxUSE_MENUS" = "yes"; then
16925 cat >> confdefs.h
<<\EOF
16926 #define wxUSE_MENUS 1
16929 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
16932 if test "$wxUSE_METAFILE" = "yes"; then
16933 cat >> confdefs.h
<<\EOF
16934 #define wxUSE_METAFILE 1
16939 if test "$wxUSE_MIMETYPE" = "yes"; then
16940 cat >> confdefs.h
<<\EOF
16941 #define wxUSE_MIMETYPE 1
16946 if test "$wxUSE_MINIFRAME" = "yes"; then
16947 cat >> confdefs.h
<<\EOF
16948 #define wxUSE_MINIFRAME 1
16951 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
16954 if test "$wxUSE_HTML" = "yes"; then
16955 cat >> confdefs.h
<<\EOF
16956 #define wxUSE_HTML 1
16959 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
16960 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
16963 if test "$wxUSE_VALIDATORS" = "yes"; then
16964 cat >> confdefs.h
<<\EOF
16965 #define wxUSE_VALIDATORS 1
16968 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
16971 if test "$wxUSE_IMAGE" = "yes" ; then
16972 cat >> confdefs.h
<<\EOF
16973 #define wxUSE_IMAGE 1
16978 if test "$wxUSE_GIF" = "yes" ; then
16979 cat >> confdefs.h
<<\EOF
16980 #define wxUSE_GIF 1
16985 if test "$wxUSE_PCX" = "yes" ; then
16986 cat >> confdefs.h
<<\EOF
16987 #define wxUSE_PCX 1
16992 if test "$wxUSE_PNM" = "yes" ; then
16993 cat >> confdefs.h
<<\EOF
16994 #define wxUSE_PNM 1
16999 if test "$wxUSE_XPM" = "yes" ; then
17000 cat >> confdefs.h
<<\EOF
17001 #define wxUSE_XPM 1
17007 if test "$wxUSE_CHOICEDLG" = "yes"; then
17008 cat >> confdefs.h
<<\EOF
17009 #define wxUSE_CHOICEDLG 1
17014 if test "$wxUSE_COLOURDLG" = "yes"; then
17015 cat >> confdefs.h
<<\EOF
17016 #define wxUSE_COLOURDLG 1
17021 if test "$wxUSE_FILEDLG" = "yes"; then
17022 cat >> confdefs.h
<<\EOF
17023 #define wxUSE_FILEDLG 1
17028 if test "$wxUSE_FONTDLG" = "yes"; then
17029 cat >> confdefs.h
<<\EOF
17030 #define wxUSE_FONTDLG 1
17035 if test "$wxUSE_DIRDLG" = "yes"; then
17036 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17037 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17039 if test "$wxUSE_TREECTRL" != "yes"; then
17040 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17042 cat >> confdefs.h
<<\EOF
17043 #define wxUSE_DIRDLG 1
17050 if test "$wxUSE_MSGDLG" = "yes"; then
17051 cat >> confdefs.h
<<\EOF
17052 #define wxUSE_MSGDLG 1
17057 if test "$wxUSE_NUMBERDLG" = "yes"; then
17058 cat >> confdefs.h
<<\EOF
17059 #define wxUSE_NUMBERDLG 1
17064 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17065 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17066 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17068 cat >> confdefs.h
<<\EOF
17069 #define wxUSE_PROGRESSDLG 1
17075 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17076 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17077 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17079 cat >> confdefs.h
<<\EOF
17080 #define wxUSE_STARTUP_TIPS 1
17086 if test "$wxUSE_TEXTDLG" = "yes"; then
17087 cat >> confdefs.h
<<\EOF
17088 #define wxUSE_TEXTDLG 1
17094 if test "$cross_compiling" = "yes"; then
17097 OSINFO
=`uname -s -r -m`
17098 OSINFO
="\"$OSINFO\""
17101 cat >> confdefs.h
<<EOF
17102 #define WXWIN_OS_DESCRIPTION $OSINFO
17107 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17108 OPENGL_LIBS
="$OPENGL_LINK"
17110 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17111 if test "$USE_MAC" = 1 ; then
17112 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17114 if test "$wxUSE_GUI" = "yes"; then
17115 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17118 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17120 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17122 if test "$wxUSE_GTK" = 1; then
17123 WXCONFIG_INCLUDE
=""
17125 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17128 if test "$GXX" = yes ; then
17129 CXXWARNINGS
="-Wall"
17131 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17133 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17134 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17136 LDFLAGS
="$LDFLAGS $PROFILE"
17138 if test "$wxUSE_GUI" = "yes"; then
17140 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag \
17141 drawing dynamic event font fractal image \
17142 minimal richedit widgets"
17144 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17145 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17148 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17153 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17248 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17249 echo "configure:17250: checking whether ${MAKE-make} sets \${MAKE}" >&5
17250 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
17251 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17252 echo $ac_n "(cached) $ac_c" 1>&6
17254 cat > conftestmake
<<\EOF
17256 @
echo 'ac_maketemp="${MAKE}"'
17258 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17259 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17260 if test -n "$ac_maketemp"; then
17261 eval ac_cv_prog_make_
${ac_make}_set
=yes
17263 eval ac_cv_prog_make_
${ac_make}_set
=no
17267 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
17268 echo "$ac_t""yes" 1>&6
17271 echo "$ac_t""no" 1>&6
17272 SET_MAKE
="MAKE=${MAKE-make}"
17276 if test -d include
; then
17277 if test -d include
/wx
; then
17278 if test -d include
/wx
/${SETUPH_DIR}; then
17279 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
17280 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
17288 if test "$wxUSE_GUI" = "yes"; then
17289 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
17290 wx_cv_path_ifs
=$PATH_IFS
17291 wx_cv_program_ext
=$PROGRAM_EXT
17292 wx_cv_target_library
=$WX_TARGET_LIBRARY
17293 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
17294 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
17295 wx_cv_target_library wx_cv_target_libtype
17296 subdirs
="demos samples utils contrib"
17301 cat > confcache
<<\EOF
17302 # This file is a shell script that caches the results of configure
17303 # tests run on this system so they can be shared between configure
17304 # scripts and configure runs. It is not useful on other systems.
17305 # If it contains results you don't want to keep, you may remove or edit it.
17307 # By default, configure uses ./config.cache as the cache file,
17308 # creating it if it does not exist already. You can give configure
17309 # the --cache-file=FILE option to use a different cache file; that is
17310 # what configure does when it calls configure scripts in
17311 # subdirectories, so they share the cache.
17312 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17313 # config.status only pays attention to the cache file if you give it the
17314 # --recheck option to rerun configure.
17317 # The following way of writing the cache mishandles newlines in values,
17318 # but we know of no workaround that is simple, portable, and efficient.
17319 # So, don't put newlines in cache variables' values.
17320 # Ultrix sh set writes to stderr and can't be redirected directly,
17321 # and sets the high bit in the cache file unless we assign to the vars.
17323 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17325 # `set' does not quote correctly, so add quotes (double-quote substitution
17326 # turns \\\\ into \\, and sed turns \\ into \).
17328 -e "s/'/'\\\\''/g" \
17329 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17332 # `set' quotes correctly as required by POSIX, so do not add quotes.
17333 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17336 if cmp -s $cache_file confcache
; then
17339 if test -w $cache_file; then
17340 echo "updating cache $cache_file"
17341 cat confcache
> $cache_file
17343 echo "not updating unwritable cache $cache_file"
17348 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17350 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17351 # Let make expand exec_prefix.
17352 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17354 # Any assignment to VPATH causes Sun make to only execute
17355 # the first set of double-colon rules, so remove it if not needed.
17356 # If there is a colon in the path, we need to keep it.
17357 if test "x$srcdir" = x.
; then
17358 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
17361 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17363 DEFS
=-DHAVE_CONFIG_H
17365 # Without the "./", some shells look in PATH for config.status.
17366 : ${CONFIG_STATUS=./config.status}
17368 echo creating
$CONFIG_STATUS
17369 rm -f $CONFIG_STATUS
17370 cat > $CONFIG_STATUS <<EOF
17372 # Generated automatically by configure.
17373 # Run this file to recreate the current configuration.
17374 # This directory was configured as follows,
17375 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17377 # $0 $ac_configure_args
17379 # Compiler output produced by configure, useful for debugging
17380 # configure, is in ./config.log if it exists.
17382 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17385 case "\$ac_option" in
17386 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17387 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17388 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17389 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17390 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17392 -help | --help | --hel | --he | --h)
17393 echo "\$ac_cs_usage"; exit 0 ;;
17394 *) echo "\$ac_cs_usage"; exit 1 ;;
17398 ac_given_srcdir=$srcdir
17399 ac_given_INSTALL="$INSTALL"
17401 trap 'rm -fr `echo "
17407 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
17409 cat >> $CONFIG_STATUS <<EOF
17411 # Protect against being on the right side of a sed subst in config.status.
17412 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17413 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17417 s%@CFLAGS@%$CFLAGS%g
17418 s%@CPPFLAGS@%$CPPFLAGS%g
17419 s%@CXXFLAGS@%$CXXFLAGS%g
17420 s%@FFLAGS@%$FFLAGS%g
17422 s%@LDFLAGS@%$LDFLAGS%g
17424 s%@exec_prefix@%$exec_prefix%g
17425 s%@prefix@%$prefix%g
17426 s%@program_transform_name@%$program_transform_name%g
17427 s%@bindir@%$bindir%g
17428 s%@sbindir@%$sbindir%g
17429 s%@libexecdir@%$libexecdir%g
17430 s%@datadir@%$datadir%g
17431 s%@sysconfdir@%$sysconfdir%g
17432 s%@sharedstatedir@%$sharedstatedir%g
17433 s%@localstatedir@%$localstatedir%g
17434 s%@libdir@%$libdir%g
17435 s%@includedir@%$includedir%g
17436 s%@oldincludedir@%$oldincludedir%g
17437 s%@infodir@%$infodir%g
17438 s%@mandir@%$mandir%g
17440 s%@host_alias@%$host_alias%g
17441 s%@host_cpu@%$host_cpu%g
17442 s%@host_vendor@%$host_vendor%g
17443 s%@host_os@%$host_os%g
17444 s%@target@%$target%g
17445 s%@target_alias@%$target_alias%g
17446 s%@target_cpu@%$target_cpu%g
17447 s%@target_vendor@%$target_vendor%g
17448 s%@target_os@%$target_os%g
17450 s%@build_alias@%$build_alias%g
17451 s%@build_cpu@%$build_cpu%g
17452 s%@build_vendor@%$build_vendor%g
17453 s%@build_os@%$build_os%g
17457 s%@CXXCPP@%$CXXCPP%g
17458 s%@RANLIB@%$RANLIB%g
17460 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17461 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17462 s%@INSTALL_DATA@%$INSTALL_DATA%g
17466 s%@LEXLIB@%$LEXLIB%g
17468 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
17469 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
17470 s%@GTK_LIBS@%$GTK_LIBS%g
17471 s%@GTK_CONFIG@%$GTK_CONFIG%g
17472 s%@X_CFLAGS@%$X_CFLAGS%g
17473 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
17474 s%@X_LIBS@%$X_LIBS%g
17475 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
17478 s%@LEX_STEM@%$LEX_STEM%g
17479 s%@PATH_IFS@%$PATH_IFS%g
17480 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
17481 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
17482 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
17483 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
17484 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
17485 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
17486 s%@WX_LIBRARY@%$WX_LIBRARY%g
17487 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
17488 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
17489 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
17490 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
17491 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
17492 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
17493 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
17494 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
17495 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
17496 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
17497 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
17498 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
17499 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
17500 s%@WX_ALL@%$WX_ALL%g
17501 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
17502 s%@SHARED_LD@%$SHARED_LD%g
17503 s%@PIC_FLAG@%$PIC_FLAG%g
17504 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
17505 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
17506 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
17507 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
17508 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
17509 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
17510 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
17511 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
17512 s%@USE_GUI@%$USE_GUI%g
17513 s%@AFMINSTALL@%$AFMINSTALL%g
17514 s%@SETUPH_DIR@%$SETUPH_DIR%g
17515 s%@TOOLKIT@%$TOOLKIT%g
17516 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
17517 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
17518 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
17519 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
17520 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
17521 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
17522 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
17523 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
17524 s%@GUIDIST@%$GUIDIST%g
17525 s%@PORT_FILES@%$PORT_FILES%g
17526 s%@DISTDIR@%$DISTDIR%g
17527 s%@RPM_SPEC@%$RPM_SPEC%g
17528 s%@RPM_FILES@%$RPM_FILES%g
17529 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
17530 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
17531 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
17532 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
17533 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
17534 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
17535 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
17536 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
17537 s%@EXTRADEFS@%$EXTRADEFS%g
17538 s%@LD_LIBS@%$LD_LIBS%g
17539 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
17540 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
17541 s%@RESPROGRAM@%$RESPROGRAM%g
17542 s%@RESCOMP@%$RESCOMP%g
17543 s%@RESFLAGS@%$RESFLAGS%g
17544 s%@REZFLAGS@%$REZFLAGS%g
17545 s%@DEREZFLAGS@%$DEREZFLAGS%g
17546 s%@LIBWXMACRES@%$LIBWXMACRES%g
17547 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
17548 s%@DLLTOOL@%$DLLTOOL%g
17552 s%@MAKEINFO@%$MAKEINFO%g
17553 s%@SET_MAKE@%$SET_MAKE%g
17554 s%@subdirs@%$subdirs%g
17559 cat >> $CONFIG_STATUS <<\EOF
17561 # Split the substitutions into bite-sized pieces for seds with
17562 # small command number limits, like on Digital OSF/1 and HP-UX.
17563 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
17564 ac_file
=1 # Number of current file.
17565 ac_beg
=1 # First line for current file.
17566 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
17569 while $ac_more_lines; do
17570 if test $ac_beg -gt 1; then
17571 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
17573 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
17575 if test ! -s conftest.s
$ac_file; then
17576 ac_more_lines
=false
17577 rm -f conftest.s
$ac_file
17579 if test -z "$ac_sed_cmds"; then
17580 ac_sed_cmds
="sed -f conftest.s$ac_file"
17582 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
17584 ac_file
=`expr $ac_file + 1`
17586 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
17589 if test -z "$ac_sed_cmds"; then
17594 cat >> $CONFIG_STATUS <<EOF
17596 CONFIG_FILES=\${CONFIG_FILES-"wx-config
17603 cat >> $CONFIG_STATUS <<\EOF
17604 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
17605 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17607 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17608 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17609 *) ac_file_in
="${ac_file}.in" ;;
17612 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17614 # Remove last slash and all that follows it. Not all systems have dirname.
17615 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17616 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
17617 # The file is in a subdirectory.
17618 test ! -d "$ac_dir" && mkdir "$ac_dir"
17619 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
17620 # A "../" for each directory in $ac_dir_suffix.
17621 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17623 ac_dir_suffix
= ac_dots
=
17626 case "$ac_given_srcdir" in
17628 if test -z "$ac_dots"; then top_srcdir
=.
17629 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17630 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
17631 *) # Relative path.
17632 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17633 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17636 case "$ac_given_INSTALL" in
17637 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
17638 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
17641 echo creating
"$ac_file"
17643 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
17645 *Makefile
*) ac_comsub
="1i\\
17646 # $configure_input" ;;
17650 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17652 s%@configure_input@%$configure_input%g
17653 s%@srcdir@%$srcdir%g
17654 s%@top_srcdir@%$top_srcdir%g
17655 s%@INSTALL@%$INSTALL%g
17656 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
17660 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17661 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17663 # ac_d sets the value in "#define NAME VALUE" lines.
17664 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17665 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
17668 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17669 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17670 ac_uB
='\([ ]\)%\1#\2define\3'
17673 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17674 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17675 ac_eB
='$%\1#\2define\3'
17679 if test "${CONFIG_HEADERS+set}" != set; then
17681 cat >> $CONFIG_STATUS <<EOF
17682 CONFIG_HEADERS="setup.h:setup.h.in"
17684 cat >> $CONFIG_STATUS <<\EOF
17686 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
17687 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17689 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17690 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17691 *) ac_file_in
="${ac_file}.in" ;;
17694 echo creating
$ac_file
17696 rm -f conftest.frag conftest.
in conftest.out
17697 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17698 cat $ac_file_inputs > conftest.
in
17702 # Transform confdefs.h into a sed script conftest.vals that substitutes
17703 # the proper values into config.h.in to produce config.h. And first:
17704 # Protect against being on the right side of a sed subst in config.status.
17705 # Protect against being in an unquoted here document in config.status.
17706 rm -f conftest.vals
17707 cat > conftest.hdr
<<\EOF
17710 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17714 sed -n -f conftest.hdr confdefs.h > conftest.vals
17717 # This sed command replaces #undef with comments. This is necessary, for
17718 # example, in the case of _POSIX_SOURCE, which is predefined and required
17719 # on some systems where configure will not decide to define it.
17720 cat >> conftest.vals <<\EOF
17721 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17724 # Break up conftest.vals because some shells have a limit on
17725 # the size of here documents, and old seds have small limits too.
17727 rm -f conftest.tail
17730 ac_lines=`grep -c . conftest.vals
`
17731 # grep -c gives empty output for an empty file on some AIX systems.
17732 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17733 # Write a limited-size here document to conftest.frag.
17734 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17735 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17737 sed -f conftest.frag conftest.in > conftest.out
17739 mv conftest.out conftest.in
17740 ' >> $CONFIG_STATUS
17741 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17742 rm -f conftest.vals
17743 mv conftest.tail conftest.vals
17745 rm -f conftest.vals
17747 cat >> $CONFIG_STATUS <<\EOF
17748 rm -f conftest.frag conftest.h
17749 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17750 cat conftest.in >> conftest.h
17752 if cmp -s $ac_file conftest.h 2>/dev/null; then
17753 echo "$ac_file is unchanged"
17756 # Remove last slash and all that follows it. Not all systems have dirname.
17757 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17758 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17759 # The file is in a subdirectory.
17760 test ! -d "$ac_dir" && mkdir "$ac_dir"
17763 mv conftest.h $ac_file
17768 cat >> $CONFIG_STATUS <<EOF
17770 SETUPH_DIR="${SETUPH_DIR}"
17771 TOOLKIT_NAME="${TOOLKIT_NAME}"
17776 cat >> $CONFIG_STATUS <<\EOF
17778 if test ! -f wx${TOOLKIT_NAME}-config; then
17780 mv wx-config wx${TOOLKIT_NAME}-config
17781 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
17785 if test ! -d lib; then
17788 if test ! -d lib/wx; then
17791 if test ! -d lib/wx/include; then
17792 mkdir lib/wx/include
17794 if test ! -d lib/wx/include/wx; then
17795 mkdir lib/wx/include/wx
17797 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
17798 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
17800 if test -f setup.h; then
17801 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
17805 if test ! -d include; then
17808 if test ! -d include/wx; then
17811 if test ! -d include/wx/${SETUPH_DIR}; then
17812 mkdir include/wx/${SETUPH_DIR}
17814 if test -f setup.h; then
17815 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
17821 chmod +x $CONFIG_STATUS
17822 rm -fr confdefs* $ac_clean_files
17823 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17825 if test "$no_recursion" != yes; then
17827 # Remove --cache-file and --srcdir arguments so they do not pile up.
17828 ac_sub_configure_args=
17830 for ac_arg in $ac_configure_args; do
17831 if test -n "$ac_prev"; then
17836 -cache-file | --cache-file | --cache-fil | --cache-fi \
17837 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
17838 ac_prev=cache_file ;;
17839 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
17840 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
17842 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
17844 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
17846 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
17850 for ac_config_dir in demos samples utils contrib; do
17852 # Do not complain, so a configure script can configure whichever
17853 # parts of a large source tree are present.
17854 if test ! -d $srcdir/$ac_config_dir; then
17858 echo configuring in $ac_config_dir
17863 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
17865 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
17873 # A "../" for each directory in /$ac_config_dir.
17874 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
17877 .) # No --srcdir option. We are building in place.
17878 ac_sub_srcdir=$srcdir ;;
17879 /*) # Absolute path.
17880 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
17881 *) # Relative path.
17882 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
17885 # Check for guested configure; otherwise get Cygnus style configure.
17886 if test -f $ac_sub_srcdir/configure; then
17887 ac_sub_configure=$ac_sub_srcdir/configure
17888 elif test -f $ac_sub_srcdir/configure.in; then
17889 ac_sub_configure=$ac_configure
17891 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
17895 # The recursion is here.
17896 if test -n "$ac_sub_configure"; then
17898 # Make the cache file name correct relative to the subdirectory.
17899 case "$cache_file" in
17900 /*) ac_sub_cache_file=$cache_file ;;
17901 *) # Relative path.
17902 ac_sub_cache_file="$ac_dots$cache_file" ;;
17904 case "$ac_given_INSTALL" in
17905 [/$]*) INSTALL="$ac_given_INSTALL" ;;
17906 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
17909 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
17910 # The eval makes quoting arguments work.
17911 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
17914 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }