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
1530 DEFAULT_wxUSE_LOGWINDOW
=yes
1531 DEFAULT_wxUSE_LOGGUI
=yes
1533 DEFAULT_wxUSE_GUI
=yes
1535 DEFAULT_wxUSE_ZLIB
=yes
1536 DEFAULT_wxUSE_LIBPNG
=yes
1537 DEFAULT_wxUSE_LIBJPEG
=yes
1538 DEFAULT_wxUSE_LIBTIFF
=yes
1539 DEFAULT_wxUSE_ODBC
=no
1540 DEFAULT_wxUSE_FREETYPE
=no
1541 DEFAULT_wxUSE_OPENGL
=no
1543 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1544 DEFAULT_wxUSE_SNGLINST_CHECKER
=yes
1545 DEFAULT_wxUSE_STD_IOSTREAM
=no
1546 DEFAULT_wxUSE_CMDLINE_PARSER
=yes
1547 DEFAULT_wxUSE_DATETIME
=yes
1548 DEFAULT_wxUSE_TIMEDATE
=no
1549 DEFAULT_wxUSE_TIMER
=yes
1550 DEFAULT_wxUSE_STOPWATCH
=yes
1551 DEFAULT_wxUSE_FILE
=yes
1552 DEFAULT_wxUSE_FFILE
=yes
1553 DEFAULT_wxUSE_TEXTFILE
=yes
1554 DEFAULT_wxUSE_WAVE
=no
1555 DEFAULT_wxUSE_INTL
=yes
1556 DEFAULT_wxUSE_CONFIG
=yes
1557 DEFAULT_wxUSE_FONTMAP
=yes
1558 DEFAULT_wxUSE_STREAMS
=yes
1559 DEFAULT_wxUSE_SOCKETS
=yes
1560 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1561 DEFAULT_wxUSE_SERIAL
=yes
1562 DEFAULT_wxUSE_JOYSTICK
=yes
1563 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1564 DEFAULT_wxUSE_LONGLONG
=yes
1565 DEFAULT_wxUSE_GEOMETRY
=yes
1567 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1568 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1569 DEFAULT_wxUSE_POSTSCRIPT
=yes
1571 DEFAULT_wxUSE_X_RESOURCES
=no
1572 DEFAULT_wxUSE_CLIPBOARD
=yes
1573 DEFAULT_wxUSE_TOOLTIPS
=yes
1574 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1575 DEFAULT_wxUSE_SPLINES
=yes
1577 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1578 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1579 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1581 DEFAULT_wxUSE_PROLOGIO
=yes
1582 DEFAULT_wxUSE_RESOURCES
=yes
1583 DEFAULT_wxUSE_CONSTRAINTS
=yes
1584 DEFAULT_wxUSE_IPC
=yes
1585 DEFAULT_wxUSE_HELP
=yes
1586 DEFAULT_wxUSE_WXTREE
=yes
1587 DEFAULT_wxUSE_METAFILE
=yes
1588 DEFAULT_wxUSE_MIMETYPE
=yes
1590 DEFAULT_wxUSE_COMMONDLGS
=yes
1591 DEFAULT_wxUSE_CHOICEDLG
=yes
1592 DEFAULT_wxUSE_COLOURDLG
=yes
1593 DEFAULT_wxUSE_DIRDLG
=yes
1594 DEFAULT_wxUSE_FILEDLG
=yes
1595 DEFAULT_wxUSE_FONTDLG
=yes
1596 DEFAULT_wxUSE_MSGDLG
=yes
1597 DEFAULT_wxUSE_NUMBERDLG
=yes
1598 DEFAULT_wxUSE_TEXTDLG
=yes
1599 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1600 DEFAULT_wxUSE_PROGRESSDLG
=yes
1601 DEFAULT_wxUSE_MENUS
=yes
1602 DEFAULT_wxUSE_MINIFRAME
=yes
1603 DEFAULT_wxUSE_HTML
=yes
1604 DEFAULT_wxUSE_FILESYSTEM
=yes
1605 DEFAULT_wxUSE_FS_INET
=yes
1606 DEFAULT_wxUSE_FS_ZIP
=yes
1607 DEFAULT_wxUSE_BUSYINFO
=yes
1608 DEFAULT_wxUSE_ZIPSTREAM
=yes
1609 DEFAULT_wxUSE_VALIDATORS
=yes
1611 DEFAULT_wxUSE_ACCEL
=yes
1612 DEFAULT_wxUSE_BUTTON
=yes
1613 DEFAULT_wxUSE_BMPBUTTON
=yes
1614 DEFAULT_wxUSE_CALCTRL
=yes
1615 DEFAULT_wxUSE_CARET
=yes
1616 DEFAULT_wxUSE_CHECKBOX
=yes
1617 DEFAULT_wxUSE_CHECKLST
=yes
1618 DEFAULT_wxUSE_CHOICE
=yes
1619 DEFAULT_wxUSE_COMBOBOX
=yes
1620 DEFAULT_wxUSE_GAUGE
=yes
1621 DEFAULT_wxUSE_GRID
=yes
1622 DEFAULT_wxUSE_NEW_GRID
=yes
1623 DEFAULT_wxUSE_IMAGLIST
=yes
1624 DEFAULT_wxUSE_LISTBOX
=yes
1625 DEFAULT_wxUSE_LISTCTRL
=yes
1626 DEFAULT_wxUSE_NOTEBOOK
=yes
1627 DEFAULT_wxUSE_RADIOBOX
=yes
1628 DEFAULT_wxUSE_RADIOBTN
=yes
1629 DEFAULT_wxUSE_SASH
=yes
1630 DEFAULT_wxUSE_SCROLLBAR
=yes
1631 DEFAULT_wxUSE_SLIDER
=yes
1632 DEFAULT_wxUSE_SPINBTN
=yes
1633 DEFAULT_wxUSE_SPINCTRL
=yes
1634 DEFAULT_wxUSE_SPLITTER
=yes
1635 DEFAULT_wxUSE_STATBMP
=yes
1636 DEFAULT_wxUSE_STATBOX
=yes
1637 DEFAULT_wxUSE_STATLINE
=yes
1638 DEFAULT_wxUSE_STATTEXT
=yes
1639 DEFAULT_wxUSE_STATUSBAR
=yes
1640 DEFAULT_wxUSE_TABDIALOG
=no
1641 DEFAULT_wxUSE_TEXTCTRL
=yes
1642 DEFAULT_wxUSE_TOGGLEBTN
=yes
1643 DEFAULT_wxUSE_TOOLBAR
=yes
1644 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1645 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1646 DEFAULT_wxUSE_TREECTRL
=yes
1648 DEFAULT_wxUSE_UNICODE
=no
1649 DEFAULT_wxUSE_WCSRTOMBS
=no
1651 DEFAULT_wxUSE_IMAGE
=yes
1652 DEFAULT_wxUSE_GIF
=yes
1653 DEFAULT_wxUSE_PCX
=yes
1654 DEFAULT_wxUSE_PNM
=yes
1655 DEFAULT_wxUSE_XPM
=yes
1660 for toolkit
in `echo $ALL_TOOLKITS`; do
1661 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1662 if test "x$LINE" != x
; then
1663 has_toolkit_in_cache
=1
1664 eval "DEFAULT_$LINE"
1665 eval "CACHE_$toolkit=1"
1671 echo $ac_n "checking for --enable-gui""... $ac_c" 1>&6
1672 echo "configure:1673: checking for --enable-gui" >&5
1674 # Check whether --enable-gui or --disable-gui was given.
1675 if test "${enable_gui+set}" = set; then
1676 enableval
="$enable_gui"
1678 if test "$enableval" = yes; then
1679 ac_cv_use_gui
='wxUSE_GUI=yes'
1681 ac_cv_use_gui
='wxUSE_GUI=no'
1686 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1687 if test "x$LINE" != x
; then
1688 eval "DEFAULT_$LINE"
1693 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1698 eval "$ac_cv_use_gui"
1699 if test "$no_cache" != 1; then
1700 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1703 if test "$wxUSE_GUI" = yes; then
1704 echo "$ac_t""yes" 1>&6
1706 echo "$ac_t""no" 1>&6
1710 if test "$wxUSE_GUI" = "yes"; then
1713 echo $ac_n "checking for --enable-universal""... $ac_c" 1>&6
1714 echo "configure:1715: checking for --enable-universal" >&5
1716 # Check whether --enable-universal or --disable-universal was given.
1717 if test "${enable_universal+set}" = set; then
1718 enableval
="$enable_universal"
1720 if test "$enableval" = yes; then
1721 ac_cv_use_universal
='wxUSE_UNIVERSAL=yes'
1723 ac_cv_use_universal
='wxUSE_UNIVERSAL=no'
1728 LINE
=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
1729 if test "x$LINE" != x
; then
1730 eval "DEFAULT_$LINE"
1735 ac_cv_use_universal
='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
1740 eval "$ac_cv_use_universal"
1741 if test "$no_cache" != 1; then
1742 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
1745 if test "$wxUSE_UNIVERSAL" = yes; then
1746 echo "$ac_t""yes" 1>&6
1748 echo "$ac_t""no" 1>&6
1751 # Check whether --with-gtk or --without-gtk was given.
1752 if test "${with_gtk+set}" = set; then
1754 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1757 # Check whether --with-motif or --without-motif was given.
1758 if test "${with_motif+set}" = set; then
1759 withval
="$with_motif"
1760 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1763 # Check whether --with-mac or --without-mac was given.
1764 if test "${with_mac+set}" = set; then
1766 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1769 # Check whether --with-wine or --without-wine was given.
1770 if test "${with_wine+set}" = set; then
1771 withval
="$with_wine"
1772 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1775 # Check whether --with-cygwin or --without-cygwin was given.
1776 if test "${with_cygwin+set}" = set; then
1777 withval
="$with_cygwin"
1778 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1781 # Check whether --with-mingw or --without-mingw was given.
1782 if test "${with_mingw+set}" = set; then
1783 withval
="$with_mingw"
1784 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1787 # Check whether --with-pm or --without-pm was given.
1788 if test "${with_pm+set}" = set; then
1790 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1793 # Check whether --with-mgl or --without-mgl was given.
1794 if test "${with_mgl+set}" = set; then
1796 wxUSE_MGL
="$withval" CACHE_MGL
=1 TOOLKIT_GIVEN
=1
1800 # Check whether --enable-gtk2 or --disable-gtk2 was given.
1801 if test "${enable_gtk2+set}" = set; then
1802 enableval
="$enable_gtk2"
1810 echo $ac_n "checking for --with-libpng""... $ac_c" 1>&6
1811 echo "configure:1812: checking for --with-libpng" >&5
1813 # Check whether --with-libpng or --without-libpng was given.
1814 if test "${with_libpng+set}" = set; then
1815 withval
="$with_libpng"
1817 if test "$withval" = yes; then
1818 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1819 elif test "$withval" = no
; then
1820 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1821 elif test "$withval" = sys
; then
1822 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1824 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1829 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1830 if test "x$LINE" != x
; then
1831 eval "DEFAULT_$LINE"
1836 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1841 eval "$ac_cv_use_libpng"
1842 if test "$no_cache" != 1; then
1843 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1846 if test "$wxUSE_LIBPNG" = yes; then
1847 echo "$ac_t""yes" 1>&6
1848 elif test "$wxUSE_LIBPNG" = no
; then
1849 echo "$ac_t""no" 1>&6
1850 elif test "$wxUSE_LIBPNG" = sys
; then
1851 echo "$ac_t""system version" 1>&6
1853 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1857 echo $ac_n "checking for --with-libjpeg""... $ac_c" 1>&6
1858 echo "configure:1859: checking for --with-libjpeg" >&5
1860 # Check whether --with-libjpeg or --without-libjpeg was given.
1861 if test "${with_libjpeg+set}" = set; then
1862 withval
="$with_libjpeg"
1864 if test "$withval" = yes; then
1865 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1866 elif test "$withval" = no
; then
1867 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1868 elif test "$withval" = sys
; then
1869 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1871 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1876 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1877 if test "x$LINE" != x
; then
1878 eval "DEFAULT_$LINE"
1883 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1888 eval "$ac_cv_use_libjpeg"
1889 if test "$no_cache" != 1; then
1890 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1893 if test "$wxUSE_LIBJPEG" = yes; then
1894 echo "$ac_t""yes" 1>&6
1895 elif test "$wxUSE_LIBJPEG" = no
; then
1896 echo "$ac_t""no" 1>&6
1897 elif test "$wxUSE_LIBJPEG" = sys
; then
1898 echo "$ac_t""system version" 1>&6
1900 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1904 echo $ac_n "checking for --with-libtiff""... $ac_c" 1>&6
1905 echo "configure:1906: checking for --with-libtiff" >&5
1907 # Check whether --with-libtiff or --without-libtiff was given.
1908 if test "${with_libtiff+set}" = set; then
1909 withval
="$with_libtiff"
1911 if test "$withval" = yes; then
1912 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1913 elif test "$withval" = no
; then
1914 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1915 elif test "$withval" = sys
; then
1916 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1918 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1923 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1924 if test "x$LINE" != x
; then
1925 eval "DEFAULT_$LINE"
1930 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1935 eval "$ac_cv_use_libtiff"
1936 if test "$no_cache" != 1; then
1937 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1940 if test "$wxUSE_LIBTIFF" = yes; then
1941 echo "$ac_t""yes" 1>&6
1942 elif test "$wxUSE_LIBTIFF" = no
; then
1943 echo "$ac_t""no" 1>&6
1944 elif test "$wxUSE_LIBTIFF" = sys
; then
1945 echo "$ac_t""system version" 1>&6
1947 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1951 echo $ac_n "checking for --with-freetype""... $ac_c" 1>&6
1952 echo "configure:1953: checking for --with-freetype" >&5
1954 # Check whether --with-freetype or --without-freetype was given.
1955 if test "${with_freetype+set}" = set; then
1956 withval
="$with_freetype"
1958 if test "$withval" = yes; then
1959 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1960 elif test "$withval" = no
; then
1961 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1962 elif test "$withval" = sys
; then
1963 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1965 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1970 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1971 if test "x$LINE" != x
; then
1972 eval "DEFAULT_$LINE"
1977 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1982 eval "$ac_cv_use_freetype"
1983 if test "$no_cache" != 1; then
1984 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1987 if test "$wxUSE_FREETYPE" = yes; then
1988 echo "$ac_t""yes" 1>&6
1989 elif test "$wxUSE_FREETYPE" = no
; then
1990 echo "$ac_t""no" 1>&6
1991 elif test "$wxUSE_FREETYPE" = sys
; then
1992 echo "$ac_t""system version" 1>&6
1994 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1998 echo $ac_n "checking for --with-opengl""... $ac_c" 1>&6
1999 echo "configure:2000: checking for --with-opengl" >&5
2001 # Check whether --with-opengl or --without-opengl was given.
2002 if test "${with_opengl+set}" = set; then
2003 withval
="$with_opengl"
2005 if test "$withval" = yes; then
2006 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
2008 ac_cv_use_opengl
='wxUSE_OPENGL=no'
2013 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
2014 if test "x$LINE" != x
; then
2015 eval "DEFAULT_$LINE"
2020 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
2025 eval "$ac_cv_use_opengl"
2026 if test "$no_cache" != 1; then
2027 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
2030 if test "$wxUSE_OPENGL" = yes; then
2031 echo "$ac_t""yes" 1>&6
2033 echo "$ac_t""no" 1>&6
2040 echo $ac_n "checking for --with-dmalloc""... $ac_c" 1>&6
2041 echo "configure:2042: checking for --with-dmalloc" >&5
2043 # Check whether --with-dmalloc or --without-dmalloc was given.
2044 if test "${with_dmalloc+set}" = set; then
2045 withval
="$with_dmalloc"
2047 if test "$withval" = yes; then
2048 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
2050 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
2055 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
2056 if test "x$LINE" != x
; then
2057 eval "DEFAULT_$LINE"
2062 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
2067 eval "$ac_cv_use_dmalloc"
2068 if test "$no_cache" != 1; then
2069 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
2072 if test "$wxUSE_DMALLOC" = yes; then
2073 echo "$ac_t""yes" 1>&6
2075 echo "$ac_t""no" 1>&6
2079 echo $ac_n "checking for --with-zlib""... $ac_c" 1>&6
2080 echo "configure:2081: checking for --with-zlib" >&5
2082 # Check whether --with-zlib or --without-zlib was given.
2083 if test "${with_zlib+set}" = set; then
2084 withval
="$with_zlib"
2086 if test "$withval" = yes; then
2087 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
2088 elif test "$withval" = no
; then
2089 ac_cv_use_zlib
='wxUSE_ZLIB=no'
2090 elif test "$withval" = sys
; then
2091 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
2093 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2098 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
2099 if test "x$LINE" != x
; then
2100 eval "DEFAULT_$LINE"
2105 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
2110 eval "$ac_cv_use_zlib"
2111 if test "$no_cache" != 1; then
2112 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
2115 if test "$wxUSE_ZLIB" = yes; then
2116 echo "$ac_t""yes" 1>&6
2117 elif test "$wxUSE_ZLIB" = no
; then
2118 echo "$ac_t""no" 1>&6
2119 elif test "$wxUSE_ZLIB" = sys
; then
2120 echo "$ac_t""system version" 1>&6
2122 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
2126 echo $ac_n "checking for --with-odbc""... $ac_c" 1>&6
2127 echo "configure:2128: checking for --with-odbc" >&5
2129 # Check whether --with-odbc or --without-odbc was given.
2130 if test "${with_odbc+set}" = set; then
2131 withval
="$with_odbc"
2133 if test "$withval" = yes; then
2134 ac_cv_use_odbc
='wxUSE_ODBC=yes'
2136 ac_cv_use_odbc
='wxUSE_ODBC=no'
2141 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
2142 if test "x$LINE" != x
; then
2143 eval "DEFAULT_$LINE"
2148 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
2153 eval "$ac_cv_use_odbc"
2154 if test "$no_cache" != 1; then
2155 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
2158 if test "$wxUSE_ODBC" = yes; then
2159 echo "$ac_t""yes" 1>&6
2161 echo "$ac_t""no" 1>&6
2168 echo $ac_n "checking for --enable-shared""... $ac_c" 1>&6
2169 echo "configure:2170: checking for --enable-shared" >&5
2171 # Check whether --enable-shared or --disable-shared was given.
2172 if test "${enable_shared+set}" = set; then
2173 enableval
="$enable_shared"
2175 if test "$enableval" = yes; then
2176 ac_cv_use_shared
='wxUSE_SHARED=yes'
2178 ac_cv_use_shared
='wxUSE_SHARED=no'
2183 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2184 if test "x$LINE" != x
; then
2185 eval "DEFAULT_$LINE"
2190 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2195 eval "$ac_cv_use_shared"
2196 if test "$no_cache" != 1; then
2197 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2200 if test "$wxUSE_SHARED" = yes; then
2201 echo "$ac_t""yes" 1>&6
2203 echo "$ac_t""no" 1>&6
2207 echo $ac_n "checking for --enable-burnt_name""... $ac_c" 1>&6
2208 echo "configure:2209: checking for --enable-burnt_name" >&5
2210 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2211 if test "${enable_burnt_name+set}" = set; then
2212 enableval
="$enable_burnt_name"
2214 if test "$enableval" = yes; then
2215 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2217 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2222 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2223 if test "x$LINE" != x
; then
2224 eval "DEFAULT_$LINE"
2229 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2234 eval "$ac_cv_use_burnt_name"
2235 if test "$no_cache" != 1; then
2236 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2239 if test "$wxUSE_BURNT_NAME" = yes; then
2240 echo "$ac_t""yes" 1>&6
2242 echo "$ac_t""no" 1>&6
2246 echo $ac_n "checking for --enable-optimise""... $ac_c" 1>&6
2247 echo "configure:2248: checking for --enable-optimise" >&5
2249 # Check whether --enable-optimise or --disable-optimise was given.
2250 if test "${enable_optimise+set}" = set; then
2251 enableval
="$enable_optimise"
2253 if test "$enableval" = yes; then
2254 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2256 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2261 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2262 if test "x$LINE" != x
; then
2263 eval "DEFAULT_$LINE"
2268 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2273 eval "$ac_cv_use_optimise"
2274 if test "$no_cache" != 1; then
2275 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2278 if test "$wxUSE_OPTIMISE" = yes; then
2279 echo "$ac_t""yes" 1>&6
2281 echo "$ac_t""no" 1>&6
2285 echo $ac_n "checking for --enable-debug""... $ac_c" 1>&6
2286 echo "configure:2287: checking for --enable-debug" >&5
2288 # Check whether --enable-debug or --disable-debug was given.
2289 if test "${enable_debug+set}" = set; then
2290 enableval
="$enable_debug"
2292 if test "$enableval" = yes; then
2293 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2295 ac_cv_use_debug
='wxUSE_DEBUG=no'
2300 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2301 if test "x$LINE" != x
; then
2302 eval "DEFAULT_$LINE"
2307 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2312 eval "$ac_cv_use_debug"
2313 if test "$no_cache" != 1; then
2314 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2317 if test "$wxUSE_DEBUG" = yes; then
2318 echo "$ac_t""yes" 1>&6
2320 echo "$ac_t""no" 1>&6
2324 if test "$wxUSE_DEBUG" = "yes"; then
2325 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2326 DEFAULT_wxUSE_DEBUG_INFO
=yes
2327 elif test "$wxUSE_DEBUG" = "no"; then
2328 DEFAULT_wxUSE_DEBUG_FLAG
=no
2329 DEFAULT_wxUSE_DEBUG_INFO
=no
2333 echo $ac_n "checking for --enable-debug_flag""... $ac_c" 1>&6
2334 echo "configure:2335: checking for --enable-debug_flag" >&5
2336 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2337 if test "${enable_debug_flag+set}" = set; then
2338 enableval
="$enable_debug_flag"
2340 if test "$enableval" = yes; then
2341 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2343 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2348 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2349 if test "x$LINE" != x
; then
2350 eval "DEFAULT_$LINE"
2355 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2360 eval "$ac_cv_use_debug_flag"
2361 if test "$no_cache" != 1; then
2362 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2365 if test "$wxUSE_DEBUG_FLAG" = yes; then
2366 echo "$ac_t""yes" 1>&6
2368 echo "$ac_t""no" 1>&6
2372 echo $ac_n "checking for --enable-debug_info""... $ac_c" 1>&6
2373 echo "configure:2374: checking for --enable-debug_info" >&5
2375 # Check whether --enable-debug_info or --disable-debug_info was given.
2376 if test "${enable_debug_info+set}" = set; then
2377 enableval
="$enable_debug_info"
2379 if test "$enableval" = yes; then
2380 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2382 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2387 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2388 if test "x$LINE" != x
; then
2389 eval "DEFAULT_$LINE"
2394 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2399 eval "$ac_cv_use_debug_info"
2400 if test "$no_cache" != 1; then
2401 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2404 if test "$wxUSE_DEBUG_INFO" = yes; then
2405 echo "$ac_t""yes" 1>&6
2407 echo "$ac_t""no" 1>&6
2411 echo $ac_n "checking for --enable-debug_gdb""... $ac_c" 1>&6
2412 echo "configure:2413: checking for --enable-debug_gdb" >&5
2414 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2415 if test "${enable_debug_gdb+set}" = set; then
2416 enableval
="$enable_debug_gdb"
2418 if test "$enableval" = yes; then
2419 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2421 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2426 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2427 if test "x$LINE" != x
; then
2428 eval "DEFAULT_$LINE"
2433 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2438 eval "$ac_cv_use_debug_gdb"
2439 if test "$no_cache" != 1; then
2440 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2443 if test "$wxUSE_DEBUG_GDB" = yes; then
2444 echo "$ac_t""yes" 1>&6
2446 echo "$ac_t""no" 1>&6
2450 echo $ac_n "checking for --enable-debug_cntxt""... $ac_c" 1>&6
2451 echo "configure:2452: checking for --enable-debug_cntxt" >&5
2453 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2454 if test "${enable_debug_cntxt+set}" = set; then
2455 enableval
="$enable_debug_cntxt"
2457 if test "$enableval" = yes; then
2458 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2460 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2465 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2466 if test "x$LINE" != x
; then
2467 eval "DEFAULT_$LINE"
2472 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2477 eval "$ac_cv_use_debug_cntxt"
2478 if test "$no_cache" != 1; then
2479 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2482 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2483 echo "$ac_t""yes" 1>&6
2485 echo "$ac_t""no" 1>&6
2489 echo $ac_n "checking for --enable-mem_tracing""... $ac_c" 1>&6
2490 echo "configure:2491: checking for --enable-mem_tracing" >&5
2492 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2493 if test "${enable_mem_tracing+set}" = set; then
2494 enableval
="$enable_mem_tracing"
2496 if test "$enableval" = yes; then
2497 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2499 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2504 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2505 if test "x$LINE" != x
; then
2506 eval "DEFAULT_$LINE"
2511 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2516 eval "$ac_cv_use_mem_tracing"
2517 if test "$no_cache" != 1; then
2518 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2521 if test "$wxUSE_MEM_TRACING" = yes; then
2522 echo "$ac_t""yes" 1>&6
2524 echo "$ac_t""no" 1>&6
2528 echo $ac_n "checking for --enable-profile""... $ac_c" 1>&6
2529 echo "configure:2530: checking for --enable-profile" >&5
2531 # Check whether --enable-profile or --disable-profile was given.
2532 if test "${enable_profile+set}" = set; then
2533 enableval
="$enable_profile"
2535 if test "$enableval" = yes; then
2536 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2538 ac_cv_use_profile
='wxUSE_PROFILE=no'
2543 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2544 if test "x$LINE" != x
; then
2545 eval "DEFAULT_$LINE"
2550 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2555 eval "$ac_cv_use_profile"
2556 if test "$no_cache" != 1; then
2557 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2560 if test "$wxUSE_PROFILE" = yes; then
2561 echo "$ac_t""yes" 1>&6
2563 echo "$ac_t""no" 1>&6
2567 echo $ac_n "checking for --enable-no_rtti""... $ac_c" 1>&6
2568 echo "configure:2569: checking for --enable-no_rtti" >&5
2570 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2571 if test "${enable_no_rtti+set}" = set; then
2572 enableval
="$enable_no_rtti"
2574 if test "$enableval" = yes; then
2575 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2577 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2582 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2583 if test "x$LINE" != x
; then
2584 eval "DEFAULT_$LINE"
2589 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2594 eval "$ac_cv_use_no_rtti"
2595 if test "$no_cache" != 1; then
2596 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2599 if test "$wxUSE_NO_RTTI" = yes; then
2600 echo "$ac_t""yes" 1>&6
2602 echo "$ac_t""no" 1>&6
2606 echo $ac_n "checking for --enable-no_exceptions""... $ac_c" 1>&6
2607 echo "configure:2608: checking for --enable-no_exceptions" >&5
2609 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2610 if test "${enable_no_exceptions+set}" = set; then
2611 enableval
="$enable_no_exceptions"
2613 if test "$enableval" = yes; then
2614 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2616 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2621 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2622 if test "x$LINE" != x
; then
2623 eval "DEFAULT_$LINE"
2628 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2633 eval "$ac_cv_use_no_exceptions"
2634 if test "$no_cache" != 1; then
2635 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2638 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2639 echo "$ac_t""yes" 1>&6
2641 echo "$ac_t""no" 1>&6
2645 echo $ac_n "checking for --enable-permissive""... $ac_c" 1>&6
2646 echo "configure:2647: checking for --enable-permissive" >&5
2648 # Check whether --enable-permissive or --disable-permissive was given.
2649 if test "${enable_permissive+set}" = set; then
2650 enableval
="$enable_permissive"
2652 if test "$enableval" = yes; then
2653 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2655 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2660 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2661 if test "x$LINE" != x
; then
2662 eval "DEFAULT_$LINE"
2667 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2672 eval "$ac_cv_use_permissive"
2673 if test "$no_cache" != 1; then
2674 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2677 if test "$wxUSE_PERMISSIVE" = yes; then
2678 echo "$ac_t""yes" 1>&6
2680 echo "$ac_t""no" 1>&6
2684 echo $ac_n "checking for --enable-no_deps""... $ac_c" 1>&6
2685 echo "configure:2686: checking for --enable-no_deps" >&5
2687 # Check whether --enable-no_deps or --disable-no_deps was given.
2688 if test "${enable_no_deps+set}" = set; then
2689 enableval
="$enable_no_deps"
2691 if test "$enableval" = yes; then
2692 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2694 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2699 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2700 if test "x$LINE" != x
; then
2701 eval "DEFAULT_$LINE"
2706 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2711 eval "$ac_cv_use_no_deps"
2712 if test "$no_cache" != 1; then
2713 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2716 if test "$wxUSE_NO_DEPS" = yes; then
2717 echo "$ac_t""yes" 1>&6
2719 echo "$ac_t""no" 1>&6
2724 echo $ac_n "checking for --enable-compat20""... $ac_c" 1>&6
2725 echo "configure:2726: checking for --enable-compat20" >&5
2727 # Check whether --enable-compat20 or --disable-compat20 was given.
2728 if test "${enable_compat20+set}" = set; then
2729 enableval
="$enable_compat20"
2731 if test "$enableval" = yes; then
2732 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=yes'
2734 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2=no'
2739 LINE
=`grep "WXWIN_COMPATIBILITY_2" ${wx_arg_cache_file}`
2740 if test "x$LINE" != x
; then
2741 eval "DEFAULT_$LINE"
2746 ac_cv_use_compat20
='WXWIN_COMPATIBILITY_2='$DEFAULT_WXWIN_COMPATIBILITY_2
2751 eval "$ac_cv_use_compat20"
2752 if test "$no_cache" != 1; then
2753 echo $ac_cv_use_compat20 >> ${wx_arg_cache_file}.tmp
2756 if test "$WXWIN_COMPATIBILITY_2" = yes; then
2757 echo "$ac_t""yes" 1>&6
2759 echo "$ac_t""no" 1>&6
2763 echo $ac_n "checking for --enable-compat22""... $ac_c" 1>&6
2764 echo "configure:2765: checking for --enable-compat22" >&5
2766 # Check whether --enable-compat22 or --disable-compat22 was given.
2767 if test "${enable_compat22+set}" = set; then
2768 enableval
="$enable_compat22"
2770 if test "$enableval" = yes; then
2771 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=yes'
2773 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2=no'
2778 LINE
=`grep "WXWIN_COMPATIBILITY_2_2" ${wx_arg_cache_file}`
2779 if test "x$LINE" != x
; then
2780 eval "DEFAULT_$LINE"
2785 ac_cv_use_compat22
='WXWIN_COMPATIBILITY_2_2='$DEFAULT_WXWIN_COMPATIBILITY_2_2
2790 eval "$ac_cv_use_compat22"
2791 if test "$no_cache" != 1; then
2792 echo $ac_cv_use_compat22 >> ${wx_arg_cache_file}.tmp
2795 if test "$WXWIN_COMPATIBILITY_2_2" = yes; then
2796 echo "$ac_t""yes" 1>&6
2798 echo "$ac_t""no" 1>&6
2804 echo $ac_n "checking for --enable-intl""... $ac_c" 1>&6
2805 echo "configure:2806: checking for --enable-intl" >&5
2807 # Check whether --enable-intl or --disable-intl was given.
2808 if test "${enable_intl+set}" = set; then
2809 enableval
="$enable_intl"
2811 if test "$enableval" = yes; then
2812 ac_cv_use_intl
='wxUSE_INTL=yes'
2814 ac_cv_use_intl
='wxUSE_INTL=no'
2819 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2820 if test "x$LINE" != x
; then
2821 eval "DEFAULT_$LINE"
2826 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2831 eval "$ac_cv_use_intl"
2832 if test "$no_cache" != 1; then
2833 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2836 if test "$wxUSE_INTL" = yes; then
2837 echo "$ac_t""yes" 1>&6
2839 echo "$ac_t""no" 1>&6
2843 echo $ac_n "checking for --enable-config""... $ac_c" 1>&6
2844 echo "configure:2845: checking for --enable-config" >&5
2846 # Check whether --enable-config or --disable-config was given.
2847 if test "${enable_config+set}" = set; then
2848 enableval
="$enable_config"
2850 if test "$enableval" = yes; then
2851 ac_cv_use_config
='wxUSE_CONFIG=yes'
2853 ac_cv_use_config
='wxUSE_CONFIG=no'
2858 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2859 if test "x$LINE" != x
; then
2860 eval "DEFAULT_$LINE"
2865 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2870 eval "$ac_cv_use_config"
2871 if test "$no_cache" != 1; then
2872 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2875 if test "$wxUSE_CONFIG" = yes; then
2876 echo "$ac_t""yes" 1>&6
2878 echo "$ac_t""no" 1>&6
2883 echo $ac_n "checking for --enable-sockets""... $ac_c" 1>&6
2884 echo "configure:2885: checking for --enable-sockets" >&5
2886 # Check whether --enable-sockets or --disable-sockets was given.
2887 if test "${enable_sockets+set}" = set; then
2888 enableval
="$enable_sockets"
2890 if test "$enableval" = yes; then
2891 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2893 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2898 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2899 if test "x$LINE" != x
; then
2900 eval "DEFAULT_$LINE"
2905 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2910 eval "$ac_cv_use_sockets"
2911 if test "$no_cache" != 1; then
2912 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2915 if test "$wxUSE_SOCKETS" = yes; then
2916 echo "$ac_t""yes" 1>&6
2918 echo "$ac_t""no" 1>&6
2923 echo $ac_n "checking for --enable-ipc""... $ac_c" 1>&6
2924 echo "configure:2925: checking for --enable-ipc" >&5
2926 # Check whether --enable-ipc or --disable-ipc was given.
2927 if test "${enable_ipc+set}" = set; then
2928 enableval
="$enable_ipc"
2930 if test "$enableval" = yes; then
2931 ac_cv_use_ipc
='wxUSE_IPC=yes'
2933 ac_cv_use_ipc
='wxUSE_IPC=no'
2938 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2939 if test "x$LINE" != x
; then
2940 eval "DEFAULT_$LINE"
2945 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2950 eval "$ac_cv_use_ipc"
2951 if test "$no_cache" != 1; then
2952 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2955 if test "$wxUSE_IPC" = yes; then
2956 echo "$ac_t""yes" 1>&6
2958 echo "$ac_t""no" 1>&6
2963 echo $ac_n "checking for --enable-cmdline""... $ac_c" 1>&6
2964 echo "configure:2965: checking for --enable-cmdline" >&5
2966 # Check whether --enable-cmdline or --disable-cmdline was given.
2967 if test "${enable_cmdline+set}" = set; then
2968 enableval
="$enable_cmdline"
2970 if test "$enableval" = yes; then
2971 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=yes'
2973 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER=no'
2978 LINE
=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
2979 if test "x$LINE" != x
; then
2980 eval "DEFAULT_$LINE"
2985 ac_cv_use_cmdline
='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
2990 eval "$ac_cv_use_cmdline"
2991 if test "$no_cache" != 1; then
2992 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
2995 if test "$wxUSE_CMDLINE_PARSER" = yes; then
2996 echo "$ac_t""yes" 1>&6
2998 echo "$ac_t""no" 1>&6
3002 echo $ac_n "checking for --enable-datetime""... $ac_c" 1>&6
3003 echo "configure:3004: checking for --enable-datetime" >&5
3005 # Check whether --enable-datetime or --disable-datetime was given.
3006 if test "${enable_datetime+set}" = set; then
3007 enableval
="$enable_datetime"
3009 if test "$enableval" = yes; then
3010 ac_cv_use_datetime
='wxUSE_DATETIME=yes'
3012 ac_cv_use_datetime
='wxUSE_DATETIME=no'
3017 LINE
=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
3018 if test "x$LINE" != x
; then
3019 eval "DEFAULT_$LINE"
3024 ac_cv_use_datetime
='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
3029 eval "$ac_cv_use_datetime"
3030 if test "$no_cache" != 1; then
3031 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
3034 if test "$wxUSE_DATETIME" = yes; then
3035 echo "$ac_t""yes" 1>&6
3037 echo "$ac_t""no" 1>&6
3041 echo $ac_n "checking for --enable-timedate""... $ac_c" 1>&6
3042 echo "configure:3043: checking for --enable-timedate" >&5
3044 # Check whether --enable-timedate or --disable-timedate was given.
3045 if test "${enable_timedate+set}" = set; then
3046 enableval
="$enable_timedate"
3048 if test "$enableval" = yes; then
3049 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
3051 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
3056 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
3057 if test "x$LINE" != x
; then
3058 eval "DEFAULT_$LINE"
3063 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
3068 eval "$ac_cv_use_timedate"
3069 if test "$no_cache" != 1; then
3070 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
3073 if test "$wxUSE_TIMEDATE" = yes; then
3074 echo "$ac_t""yes" 1>&6
3076 echo "$ac_t""no" 1>&6
3080 echo $ac_n "checking for --enable-stopwatch""... $ac_c" 1>&6
3081 echo "configure:3082: checking for --enable-stopwatch" >&5
3083 # Check whether --enable-stopwatch or --disable-stopwatch was given.
3084 if test "${enable_stopwatch+set}" = set; then
3085 enableval
="$enable_stopwatch"
3087 if test "$enableval" = yes; then
3088 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=yes'
3090 ac_cv_use_stopwatch
='wxUSE_STOPWATCH=no'
3095 LINE
=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
3096 if test "x$LINE" != x
; then
3097 eval "DEFAULT_$LINE"
3102 ac_cv_use_stopwatch
='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
3107 eval "$ac_cv_use_stopwatch"
3108 if test "$no_cache" != 1; then
3109 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
3112 if test "$wxUSE_STOPWATCH" = yes; then
3113 echo "$ac_t""yes" 1>&6
3115 echo "$ac_t""no" 1>&6
3119 echo $ac_n "checking for --enable-dialupman""... $ac_c" 1>&6
3120 echo "configure:3121: checking for --enable-dialupman" >&5
3122 # Check whether --enable-dialupman or --disable-dialupman was given.
3123 if test "${enable_dialupman+set}" = set; then
3124 enableval
="$enable_dialupman"
3126 if test "$enableval" = yes; then
3127 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
3129 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
3134 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
3135 if test "x$LINE" != x
; then
3136 eval "DEFAULT_$LINE"
3141 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
3146 eval "$ac_cv_use_dialupman"
3147 if test "$no_cache" != 1; then
3148 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
3151 if test "$wxUSE_DIALUP_MANAGER" = yes; then
3152 echo "$ac_t""yes" 1>&6
3154 echo "$ac_t""no" 1>&6
3158 echo $ac_n "checking for --enable-apple_ieee""... $ac_c" 1>&6
3159 echo "configure:3160: checking for --enable-apple_ieee" >&5
3161 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
3162 if test "${enable_apple_ieee+set}" = set; then
3163 enableval
="$enable_apple_ieee"
3165 if test "$enableval" = yes; then
3166 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
3168 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
3173 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
3174 if test "x$LINE" != x
; then
3175 eval "DEFAULT_$LINE"
3180 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
3185 eval "$ac_cv_use_apple_ieee"
3186 if test "$no_cache" != 1; then
3187 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
3190 if test "$wxUSE_APPLE_IEEE" = yes; then
3191 echo "$ac_t""yes" 1>&6
3193 echo "$ac_t""no" 1>&6
3197 echo $ac_n "checking for --enable-timer""... $ac_c" 1>&6
3198 echo "configure:3199: checking for --enable-timer" >&5
3200 # Check whether --enable-timer or --disable-timer was given.
3201 if test "${enable_timer+set}" = set; then
3202 enableval
="$enable_timer"
3204 if test "$enableval" = yes; then
3205 ac_cv_use_timer
='wxUSE_TIMER=yes'
3207 ac_cv_use_timer
='wxUSE_TIMER=no'
3212 LINE
=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
3213 if test "x$LINE" != x
; then
3214 eval "DEFAULT_$LINE"
3219 ac_cv_use_timer
='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
3224 eval "$ac_cv_use_timer"
3225 if test "$no_cache" != 1; then
3226 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
3229 if test "$wxUSE_TIMER" = yes; then
3230 echo "$ac_t""yes" 1>&6
3232 echo "$ac_t""no" 1>&6
3236 echo $ac_n "checking for --enable-wave""... $ac_c" 1>&6
3237 echo "configure:3238: checking for --enable-wave" >&5
3239 # Check whether --enable-wave or --disable-wave was given.
3240 if test "${enable_wave+set}" = set; then
3241 enableval
="$enable_wave"
3243 if test "$enableval" = yes; then
3244 ac_cv_use_wave
='wxUSE_WAVE=yes'
3246 ac_cv_use_wave
='wxUSE_WAVE=no'
3251 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
3252 if test "x$LINE" != x
; then
3253 eval "DEFAULT_$LINE"
3258 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
3263 eval "$ac_cv_use_wave"
3264 if test "$no_cache" != 1; then
3265 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
3268 if test "$wxUSE_WAVE" = yes; then
3269 echo "$ac_t""yes" 1>&6
3271 echo "$ac_t""no" 1>&6
3275 echo $ac_n "checking for --enable-fraction""... $ac_c" 1>&6
3276 echo "configure:3277: checking for --enable-fraction" >&5
3278 # Check whether --enable-fraction or --disable-fraction was given.
3279 if test "${enable_fraction+set}" = set; then
3280 enableval
="$enable_fraction"
3282 if test "$enableval" = yes; then
3283 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
3285 ac_cv_use_fraction
='wxUSE_FRACTION=no'
3290 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
3291 if test "x$LINE" != x
; then
3292 eval "DEFAULT_$LINE"
3297 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
3302 eval "$ac_cv_use_fraction"
3303 if test "$no_cache" != 1; then
3304 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
3307 if test "$wxUSE_FRACTION" = yes; then
3308 echo "$ac_t""yes" 1>&6
3310 echo "$ac_t""no" 1>&6
3314 echo $ac_n "checking for --enable-dynlib""... $ac_c" 1>&6
3315 echo "configure:3316: checking for --enable-dynlib" >&5
3317 # Check whether --enable-dynlib or --disable-dynlib was given.
3318 if test "${enable_dynlib+set}" = set; then
3319 enableval
="$enable_dynlib"
3321 if test "$enableval" = yes; then
3322 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
3324 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
3329 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
3330 if test "x$LINE" != x
; then
3331 eval "DEFAULT_$LINE"
3336 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
3341 eval "$ac_cv_use_dynlib"
3342 if test "$no_cache" != 1; then
3343 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
3346 if test "$wxUSE_DYNLIB_CLASS" = yes; then
3347 echo "$ac_t""yes" 1>&6
3349 echo "$ac_t""no" 1>&6
3353 echo $ac_n "checking for --enable-longlong""... $ac_c" 1>&6
3354 echo "configure:3355: checking for --enable-longlong" >&5
3356 # Check whether --enable-longlong or --disable-longlong was given.
3357 if test "${enable_longlong+set}" = set; then
3358 enableval
="$enable_longlong"
3360 if test "$enableval" = yes; then
3361 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
3363 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
3368 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
3369 if test "x$LINE" != x
; then
3370 eval "DEFAULT_$LINE"
3375 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
3380 eval "$ac_cv_use_longlong"
3381 if test "$no_cache" != 1; then
3382 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
3385 if test "$wxUSE_LONGLONG" = yes; then
3386 echo "$ac_t""yes" 1>&6
3388 echo "$ac_t""no" 1>&6
3392 echo $ac_n "checking for --enable-geometry""... $ac_c" 1>&6
3393 echo "configure:3394: checking for --enable-geometry" >&5
3395 # Check whether --enable-geometry or --disable-geometry was given.
3396 if test "${enable_geometry+set}" = set; then
3397 enableval
="$enable_geometry"
3399 if test "$enableval" = yes; then
3400 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3402 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3407 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3408 if test "x$LINE" != x
; then
3409 eval "DEFAULT_$LINE"
3414 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3419 eval "$ac_cv_use_geometry"
3420 if test "$no_cache" != 1; then
3421 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3424 if test "$wxUSE_GEOMETRY" = yes; then
3425 echo "$ac_t""yes" 1>&6
3427 echo "$ac_t""no" 1>&6
3431 echo $ac_n "checking for --enable-log""... $ac_c" 1>&6
3432 echo "configure:3433: checking for --enable-log" >&5
3434 # Check whether --enable-log or --disable-log was given.
3435 if test "${enable_log+set}" = set; then
3436 enableval
="$enable_log"
3438 if test "$enableval" = yes; then
3439 ac_cv_use_log
='wxUSE_LOG=yes'
3441 ac_cv_use_log
='wxUSE_LOG=no'
3446 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3447 if test "x$LINE" != x
; then
3448 eval "DEFAULT_$LINE"
3453 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3458 eval "$ac_cv_use_log"
3459 if test "$no_cache" != 1; then
3460 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3463 if test "$wxUSE_LOG" = yes; then
3464 echo "$ac_t""yes" 1>&6
3466 echo "$ac_t""no" 1>&6
3470 echo $ac_n "checking for --enable-streams""... $ac_c" 1>&6
3471 echo "configure:3472: checking for --enable-streams" >&5
3473 # Check whether --enable-streams or --disable-streams was given.
3474 if test "${enable_streams+set}" = set; then
3475 enableval
="$enable_streams"
3477 if test "$enableval" = yes; then
3478 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3480 ac_cv_use_streams
='wxUSE_STREAMS=no'
3485 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3486 if test "x$LINE" != x
; then
3487 eval "DEFAULT_$LINE"
3492 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3497 eval "$ac_cv_use_streams"
3498 if test "$no_cache" != 1; then
3499 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3502 if test "$wxUSE_STREAMS" = yes; then
3503 echo "$ac_t""yes" 1>&6
3505 echo "$ac_t""no" 1>&6
3509 echo $ac_n "checking for --enable-file""... $ac_c" 1>&6
3510 echo "configure:3511: checking for --enable-file" >&5
3512 # Check whether --enable-file or --disable-file was given.
3513 if test "${enable_file+set}" = set; then
3514 enableval
="$enable_file"
3516 if test "$enableval" = yes; then
3517 ac_cv_use_file
='wxUSE_FILE=yes'
3519 ac_cv_use_file
='wxUSE_FILE=no'
3524 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3525 if test "x$LINE" != x
; then
3526 eval "DEFAULT_$LINE"
3531 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3536 eval "$ac_cv_use_file"
3537 if test "$no_cache" != 1; then
3538 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3541 if test "$wxUSE_FILE" = yes; then
3542 echo "$ac_t""yes" 1>&6
3544 echo "$ac_t""no" 1>&6
3548 echo $ac_n "checking for --enable-ffile""... $ac_c" 1>&6
3549 echo "configure:3550: checking for --enable-ffile" >&5
3551 # Check whether --enable-ffile or --disable-ffile was given.
3552 if test "${enable_ffile+set}" = set; then
3553 enableval
="$enable_ffile"
3555 if test "$enableval" = yes; then
3556 ac_cv_use_ffile
='wxUSE_FFILE=yes'
3558 ac_cv_use_ffile
='wxUSE_FFILE=no'
3563 LINE
=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
3564 if test "x$LINE" != x
; then
3565 eval "DEFAULT_$LINE"
3570 ac_cv_use_ffile
='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
3575 eval "$ac_cv_use_ffile"
3576 if test "$no_cache" != 1; then
3577 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
3580 if test "$wxUSE_FFILE" = yes; then
3581 echo "$ac_t""yes" 1>&6
3583 echo "$ac_t""no" 1>&6
3587 echo $ac_n "checking for --enable-textfile""... $ac_c" 1>&6
3588 echo "configure:3589: checking for --enable-textfile" >&5
3590 # Check whether --enable-textfile or --disable-textfile was given.
3591 if test "${enable_textfile+set}" = set; then
3592 enableval
="$enable_textfile"
3594 if test "$enableval" = yes; then
3595 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3597 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3602 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3603 if test "x$LINE" != x
; then
3604 eval "DEFAULT_$LINE"
3609 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3614 eval "$ac_cv_use_textfile"
3615 if test "$no_cache" != 1; then
3616 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3619 if test "$wxUSE_TEXTFILE" = yes; then
3620 echo "$ac_t""yes" 1>&6
3622 echo "$ac_t""no" 1>&6
3626 echo $ac_n "checking for --enable-fontmap""... $ac_c" 1>&6
3627 echo "configure:3628: checking for --enable-fontmap" >&5
3629 # Check whether --enable-fontmap or --disable-fontmap was given.
3630 if test "${enable_fontmap+set}" = set; then
3631 enableval
="$enable_fontmap"
3633 if test "$enableval" = yes; then
3634 ac_cv_use_fontmap
='wxUSE_FONTMAP=yes'
3636 ac_cv_use_fontmap
='wxUSE_FONTMAP=no'
3641 LINE
=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
3642 if test "x$LINE" != x
; then
3643 eval "DEFAULT_$LINE"
3648 ac_cv_use_fontmap
='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
3653 eval "$ac_cv_use_fontmap"
3654 if test "$no_cache" != 1; then
3655 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
3658 if test "$wxUSE_FONTMAP" = yes; then
3659 echo "$ac_t""yes" 1>&6
3661 echo "$ac_t""no" 1>&6
3665 echo $ac_n "checking for --enable-unicode""... $ac_c" 1>&6
3666 echo "configure:3667: checking for --enable-unicode" >&5
3668 # Check whether --enable-unicode or --disable-unicode was given.
3669 if test "${enable_unicode+set}" = set; then
3670 enableval
="$enable_unicode"
3672 if test "$enableval" = yes; then
3673 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3675 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3680 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3681 if test "x$LINE" != x
; then
3682 eval "DEFAULT_$LINE"
3687 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3692 eval "$ac_cv_use_unicode"
3693 if test "$no_cache" != 1; then
3694 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3697 if test "$wxUSE_UNICODE" = yes; then
3698 echo "$ac_t""yes" 1>&6
3700 echo "$ac_t""no" 1>&6
3704 echo $ac_n "checking for --enable-wcsrtombs""... $ac_c" 1>&6
3705 echo "configure:3706: checking for --enable-wcsrtombs" >&5
3707 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3708 if test "${enable_wcsrtombs+set}" = set; then
3709 enableval
="$enable_wcsrtombs"
3711 if test "$enableval" = yes; then
3712 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3714 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3719 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3720 if test "x$LINE" != x
; then
3721 eval "DEFAULT_$LINE"
3726 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3731 eval "$ac_cv_use_wcsrtombs"
3732 if test "$no_cache" != 1; then
3733 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3736 if test "$wxUSE_WCSRTOMBS" = yes; then
3737 echo "$ac_t""yes" 1>&6
3739 echo "$ac_t""no" 1>&6
3743 echo $ac_n "checking for --enable-wxprintfv""... $ac_c" 1>&6
3744 echo "configure:3745: checking for --enable-wxprintfv" >&5
3746 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3747 if test "${enable_wxprintfv+set}" = set; then
3748 enableval
="$enable_wxprintfv"
3750 if test "$enableval" = yes; then
3751 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3753 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3758 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x
; then
3760 eval "DEFAULT_$LINE"
3765 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3770 eval "$ac_cv_use_wxprintfv"
3771 if test "$no_cache" != 1; then
3772 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3775 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3776 echo "$ac_t""yes" 1>&6
3778 echo "$ac_t""no" 1>&6
3782 echo $ac_n "checking for --enable-std_iostreams""... $ac_c" 1>&6
3783 echo "configure:3784: checking for --enable-std_iostreams" >&5
3785 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3786 if test "${enable_std_iostreams+set}" = set; then
3787 enableval
="$enable_std_iostreams"
3789 if test "$enableval" = yes; then
3790 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3792 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3797 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3798 if test "x$LINE" != x
; then
3799 eval "DEFAULT_$LINE"
3804 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3809 eval "$ac_cv_use_std_iostreams"
3810 if test "$no_cache" != 1; then
3811 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3814 if test "$wxUSE_STD_IOSTREAM" = yes; then
3815 echo "$ac_t""yes" 1>&6
3817 echo "$ac_t""no" 1>&6
3821 echo $ac_n "checking for --enable-filesystem""... $ac_c" 1>&6
3822 echo "configure:3823: checking for --enable-filesystem" >&5
3824 # Check whether --enable-filesystem or --disable-filesystem was given.
3825 if test "${enable_filesystem+set}" = set; then
3826 enableval
="$enable_filesystem"
3828 if test "$enableval" = yes; then
3829 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3831 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3836 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3837 if test "x$LINE" != x
; then
3838 eval "DEFAULT_$LINE"
3843 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3848 eval "$ac_cv_use_filesystem"
3849 if test "$no_cache" != 1; then
3850 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3853 if test "$wxUSE_FILESYSTEM" = yes; then
3854 echo "$ac_t""yes" 1>&6
3856 echo "$ac_t""no" 1>&6
3860 echo $ac_n "checking for --enable-fs_inet""... $ac_c" 1>&6
3861 echo "configure:3862: checking for --enable-fs_inet" >&5
3863 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3864 if test "${enable_fs_inet+set}" = set; then
3865 enableval
="$enable_fs_inet"
3867 if test "$enableval" = yes; then
3868 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3870 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3875 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3876 if test "x$LINE" != x
; then
3877 eval "DEFAULT_$LINE"
3882 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3887 eval "$ac_cv_use_fs_inet"
3888 if test "$no_cache" != 1; then
3889 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3892 if test "$wxUSE_FS_INET" = yes; then
3893 echo "$ac_t""yes" 1>&6
3895 echo "$ac_t""no" 1>&6
3899 echo $ac_n "checking for --enable-fs_zip""... $ac_c" 1>&6
3900 echo "configure:3901: checking for --enable-fs_zip" >&5
3902 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3903 if test "${enable_fs_zip+set}" = set; then
3904 enableval
="$enable_fs_zip"
3906 if test "$enableval" = yes; then
3907 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3909 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3914 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3915 if test "x$LINE" != x
; then
3916 eval "DEFAULT_$LINE"
3921 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3926 eval "$ac_cv_use_fs_zip"
3927 if test "$no_cache" != 1; then
3928 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3931 if test "$wxUSE_FS_ZIP" = yes; then
3932 echo "$ac_t""yes" 1>&6
3934 echo "$ac_t""no" 1>&6
3938 echo $ac_n "checking for --enable-zipstream""... $ac_c" 1>&6
3939 echo "configure:3940: checking for --enable-zipstream" >&5
3941 # Check whether --enable-zipstream or --disable-zipstream was given.
3942 if test "${enable_zipstream+set}" = set; then
3943 enableval
="$enable_zipstream"
3945 if test "$enableval" = yes; then
3946 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3948 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3953 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3954 if test "x$LINE" != x
; then
3955 eval "DEFAULT_$LINE"
3960 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3965 eval "$ac_cv_use_zipstream"
3966 if test "$no_cache" != 1; then
3967 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3970 if test "$wxUSE_ZIPSTREAM" = yes; then
3971 echo "$ac_t""yes" 1>&6
3973 echo "$ac_t""no" 1>&6
3978 echo $ac_n "checking for --enable-catch_segvs""... $ac_c" 1>&6
3979 echo "configure:3980: checking for --enable-catch_segvs" >&5
3981 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3982 if test "${enable_catch_segvs+set}" = set; then
3983 enableval
="$enable_catch_segvs"
3985 if test "$enableval" = yes; then
3986 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3988 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3993 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3994 if test "x$LINE" != x
; then
3995 eval "DEFAULT_$LINE"
4000 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
4005 eval "$ac_cv_use_catch_segvs"
4006 if test "$no_cache" != 1; then
4007 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
4010 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
4011 echo "$ac_t""yes" 1>&6
4013 echo "$ac_t""no" 1>&6
4017 echo $ac_n "checking for --enable-snglinst""... $ac_c" 1>&6
4018 echo "configure:4019: checking for --enable-snglinst" >&5
4020 # Check whether --enable-snglinst or --disable-snglinst was given.
4021 if test "${enable_snglinst+set}" = set; then
4022 enableval
="$enable_snglinst"
4024 if test "$enableval" = yes; then
4025 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=yes'
4027 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER=no'
4032 LINE
=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
4033 if test "x$LINE" != x
; then
4034 eval "DEFAULT_$LINE"
4039 ac_cv_use_snglinst
='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
4044 eval "$ac_cv_use_snglinst"
4045 if test "$no_cache" != 1; then
4046 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
4049 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
4050 echo "$ac_t""yes" 1>&6
4052 echo "$ac_t""no" 1>&6
4057 echo $ac_n "checking for --enable-mimetype""... $ac_c" 1>&6
4058 echo "configure:4059: checking for --enable-mimetype" >&5
4060 # Check whether --enable-mimetype or --disable-mimetype was given.
4061 if test "${enable_mimetype+set}" = set; then
4062 enableval
="$enable_mimetype"
4064 if test "$enableval" = yes; then
4065 ac_cv_use_mimetype
='wxUSE_MIMETYPE=yes'
4067 ac_cv_use_mimetype
='wxUSE_MIMETYPE=no'
4072 LINE
=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
4073 if test "x$LINE" != x
; then
4074 eval "DEFAULT_$LINE"
4079 ac_cv_use_mimetype
='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
4084 eval "$ac_cv_use_mimetype"
4085 if test "$no_cache" != 1; then
4086 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
4089 if test "$wxUSE_MIMETYPE" = yes; then
4090 echo "$ac_t""yes" 1>&6
4092 echo "$ac_t""no" 1>&6
4098 echo $ac_n "checking for --enable-threads""... $ac_c" 1>&6
4099 echo "configure:4100: checking for --enable-threads" >&5
4101 # Check whether --enable-threads or --disable-threads was given.
4102 if test "${enable_threads+set}" = set; then
4103 enableval
="$enable_threads"
4105 if test "$enableval" = yes; then
4106 ac_cv_use_threads
='wxUSE_THREADS=yes'
4108 ac_cv_use_threads
='wxUSE_THREADS=no'
4113 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
4114 if test "x$LINE" != x
; then
4115 eval "DEFAULT_$LINE"
4120 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
4125 eval "$ac_cv_use_threads"
4126 if test "$no_cache" != 1; then
4127 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
4130 if test "$wxUSE_THREADS" = yes; then
4131 echo "$ac_t""yes" 1>&6
4133 echo "$ac_t""no" 1>&6
4137 echo $ac_n "checking for --enable-serial""... $ac_c" 1>&6
4138 echo "configure:4139: checking for --enable-serial" >&5
4140 # Check whether --enable-serial or --disable-serial was given.
4141 if test "${enable_serial+set}" = set; then
4142 enableval
="$enable_serial"
4144 if test "$enableval" = yes; then
4145 ac_cv_use_serial
='wxUSE_SERIAL=yes'
4147 ac_cv_use_serial
='wxUSE_SERIAL=no'
4152 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
4153 if test "x$LINE" != x
; then
4154 eval "DEFAULT_$LINE"
4159 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
4164 eval "$ac_cv_use_serial"
4165 if test "$no_cache" != 1; then
4166 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
4169 if test "$wxUSE_SERIAL" = yes; then
4170 echo "$ac_t""yes" 1>&6
4172 echo "$ac_t""no" 1>&6
4176 if test "$wxUSE_GUI" = "yes"; then
4180 echo $ac_n "checking for --enable-docview""... $ac_c" 1>&6
4181 echo "configure:4182: checking for --enable-docview" >&5
4183 # Check whether --enable-docview or --disable-docview was given.
4184 if test "${enable_docview+set}" = set; then
4185 enableval
="$enable_docview"
4187 if test "$enableval" = yes; then
4188 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
4190 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
4195 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
4196 if test "x$LINE" != x
; then
4197 eval "DEFAULT_$LINE"
4202 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
4207 eval "$ac_cv_use_docview"
4208 if test "$no_cache" != 1; then
4209 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
4212 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
4213 echo "$ac_t""yes" 1>&6
4215 echo "$ac_t""no" 1>&6
4219 echo $ac_n "checking for --enable-help""... $ac_c" 1>&6
4220 echo "configure:4221: checking for --enable-help" >&5
4222 # Check whether --enable-help or --disable-help was given.
4223 if test "${enable_help+set}" = set; then
4224 enableval
="$enable_help"
4226 if test "$enableval" = yes; then
4227 ac_cv_use_help
='wxUSE_HELP=yes'
4229 ac_cv_use_help
='wxUSE_HELP=no'
4234 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
4235 if test "x$LINE" != x
; then
4236 eval "DEFAULT_$LINE"
4241 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
4246 eval "$ac_cv_use_help"
4247 if test "$no_cache" != 1; then
4248 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
4251 if test "$wxUSE_HELP" = yes; then
4252 echo "$ac_t""yes" 1>&6
4254 echo "$ac_t""no" 1>&6
4258 echo $ac_n "checking for --enable-constraints""... $ac_c" 1>&6
4259 echo "configure:4260: checking for --enable-constraints" >&5
4261 # Check whether --enable-constraints or --disable-constraints was given.
4262 if test "${enable_constraints+set}" = set; then
4263 enableval
="$enable_constraints"
4265 if test "$enableval" = yes; then
4266 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
4268 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
4273 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
4274 if test "x$LINE" != x
; then
4275 eval "DEFAULT_$LINE"
4280 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
4285 eval "$ac_cv_use_constraints"
4286 if test "$no_cache" != 1; then
4287 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
4290 if test "$wxUSE_CONSTRAINTS" = yes; then
4291 echo "$ac_t""yes" 1>&6
4293 echo "$ac_t""no" 1>&6
4297 echo $ac_n "checking for --enable-printarch""... $ac_c" 1>&6
4298 echo "configure:4299: checking for --enable-printarch" >&5
4300 # Check whether --enable-printarch or --disable-printarch was given.
4301 if test "${enable_printarch+set}" = set; then
4302 enableval
="$enable_printarch"
4304 if test "$enableval" = yes; then
4305 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
4307 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
4312 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
4313 if test "x$LINE" != x
; then
4314 eval "DEFAULT_$LINE"
4319 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
4324 eval "$ac_cv_use_printarch"
4325 if test "$no_cache" != 1; then
4326 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
4329 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
4330 echo "$ac_t""yes" 1>&6
4332 echo "$ac_t""no" 1>&6
4336 echo $ac_n "checking for --enable-mdi""... $ac_c" 1>&6
4337 echo "configure:4338: checking for --enable-mdi" >&5
4339 # Check whether --enable-mdi or --disable-mdi was given.
4340 if test "${enable_mdi+set}" = set; then
4341 enableval
="$enable_mdi"
4343 if test "$enableval" = yes; then
4344 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
4346 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
4351 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
4352 if test "x$LINE" != x
; then
4353 eval "DEFAULT_$LINE"
4358 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
4363 eval "$ac_cv_use_mdi"
4364 if test "$no_cache" != 1; then
4365 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
4368 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
4369 echo "$ac_t""yes" 1>&6
4371 echo "$ac_t""no" 1>&6
4375 echo $ac_n "checking for --enable-loggui""... $ac_c" 1>&6
4376 echo "configure:4377: checking for --enable-loggui" >&5
4378 # Check whether --enable-loggui or --disable-loggui was given.
4379 if test "${enable_loggui+set}" = set; then
4380 enableval
="$enable_loggui"
4382 if test "$enableval" = yes; then
4383 ac_cv_use_loggui
='wxUSE_LOGGUI=yes'
4385 ac_cv_use_loggui
='wxUSE_LOGGUI=no'
4390 LINE
=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
4391 if test "x$LINE" != x
; then
4392 eval "DEFAULT_$LINE"
4397 ac_cv_use_loggui
='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
4402 eval "$ac_cv_use_loggui"
4403 if test "$no_cache" != 1; then
4404 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
4407 if test "$wxUSE_LOGGUI" = yes; then
4408 echo "$ac_t""yes" 1>&6
4410 echo "$ac_t""no" 1>&6
4414 echo $ac_n "checking for --enable-logwin""... $ac_c" 1>&6
4415 echo "configure:4416: checking for --enable-logwin" >&5
4417 # Check whether --enable-logwin or --disable-logwin was given.
4418 if test "${enable_logwin+set}" = set; then
4419 enableval
="$enable_logwin"
4421 if test "$enableval" = yes; then
4422 ac_cv_use_logwin
='wxUSE_LOGWINDOW=yes'
4424 ac_cv_use_logwin
='wxUSE_LOGWINDOW=no'
4429 LINE
=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
4430 if test "x$LINE" != x
; then
4431 eval "DEFAULT_$LINE"
4436 ac_cv_use_logwin
='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
4441 eval "$ac_cv_use_logwin"
4442 if test "$no_cache" != 1; then
4443 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
4446 if test "$wxUSE_LOGWINDOW" = yes; then
4447 echo "$ac_t""yes" 1>&6
4449 echo "$ac_t""no" 1>&6
4454 echo $ac_n "checking for --enable-postscript""... $ac_c" 1>&6
4455 echo "configure:4456: checking for --enable-postscript" >&5
4457 # Check whether --enable-postscript or --disable-postscript was given.
4458 if test "${enable_postscript+set}" = set; then
4459 enableval
="$enable_postscript"
4461 if test "$enableval" = yes; then
4462 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
4464 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
4469 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
4470 if test "x$LINE" != x
; then
4471 eval "DEFAULT_$LINE"
4476 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
4481 eval "$ac_cv_use_postscript"
4482 if test "$no_cache" != 1; then
4483 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
4486 if test "$wxUSE_POSTSCRIPT" = yes; then
4487 echo "$ac_t""yes" 1>&6
4489 echo "$ac_t""no" 1>&6
4496 echo $ac_n "checking for --enable-prologio""... $ac_c" 1>&6
4497 echo "configure:4498: checking for --enable-prologio" >&5
4499 # Check whether --enable-prologio or --disable-prologio was given.
4500 if test "${enable_prologio+set}" = set; then
4501 enableval
="$enable_prologio"
4503 if test "$enableval" = yes; then
4504 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
4506 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
4511 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
4512 if test "x$LINE" != x
; then
4513 eval "DEFAULT_$LINE"
4518 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
4523 eval "$ac_cv_use_prologio"
4524 if test "$no_cache" != 1; then
4525 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
4528 if test "$wxUSE_PROLOGIO" = yes; then
4529 echo "$ac_t""yes" 1>&6
4531 echo "$ac_t""no" 1>&6
4535 echo $ac_n "checking for --enable-resources""... $ac_c" 1>&6
4536 echo "configure:4537: checking for --enable-resources" >&5
4538 # Check whether --enable-resources or --disable-resources was given.
4539 if test "${enable_resources+set}" = set; then
4540 enableval
="$enable_resources"
4542 if test "$enableval" = yes; then
4543 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
4545 ac_cv_use_resources
='wxUSE_RESOURCES=no'
4550 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
4551 if test "x$LINE" != x
; then
4552 eval "DEFAULT_$LINE"
4557 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
4562 eval "$ac_cv_use_resources"
4563 if test "$no_cache" != 1; then
4564 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
4567 if test "$wxUSE_RESOURCES" = yes; then
4568 echo "$ac_t""yes" 1>&6
4570 echo "$ac_t""no" 1>&6
4575 echo $ac_n "checking for --enable-xresources""... $ac_c" 1>&6
4576 echo "configure:4577: checking for --enable-xresources" >&5
4578 # Check whether --enable-xresources or --disable-xresources was given.
4579 if test "${enable_xresources+set}" = set; then
4580 enableval
="$enable_xresources"
4582 if test "$enableval" = yes; then
4583 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
4585 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
4590 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
4591 if test "x$LINE" != x
; then
4592 eval "DEFAULT_$LINE"
4597 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
4602 eval "$ac_cv_use_xresources"
4603 if test "$no_cache" != 1; then
4604 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
4607 if test "$wxUSE_X_RESOURCES" = yes; then
4608 echo "$ac_t""yes" 1>&6
4610 echo "$ac_t""no" 1>&6
4616 echo $ac_n "checking for --enable-clipboard""... $ac_c" 1>&6
4617 echo "configure:4618: checking for --enable-clipboard" >&5
4619 # Check whether --enable-clipboard or --disable-clipboard was given.
4620 if test "${enable_clipboard+set}" = set; then
4621 enableval
="$enable_clipboard"
4623 if test "$enableval" = yes; then
4624 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
4626 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
4631 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
4632 if test "x$LINE" != x
; then
4633 eval "DEFAULT_$LINE"
4638 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4643 eval "$ac_cv_use_clipboard"
4644 if test "$no_cache" != 1; then
4645 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4648 if test "$wxUSE_CLIPBOARD" = yes; then
4649 echo "$ac_t""yes" 1>&6
4651 echo "$ac_t""no" 1>&6
4655 echo $ac_n "checking for --enable-dnd""... $ac_c" 1>&6
4656 echo "configure:4657: checking for --enable-dnd" >&5
4658 # Check whether --enable-dnd or --disable-dnd was given.
4659 if test "${enable_dnd+set}" = set; then
4660 enableval
="$enable_dnd"
4662 if test "$enableval" = yes; then
4663 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4665 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4670 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4671 if test "x$LINE" != x
; then
4672 eval "DEFAULT_$LINE"
4677 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4682 eval "$ac_cv_use_dnd"
4683 if test "$no_cache" != 1; then
4684 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4687 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4688 echo "$ac_t""yes" 1>&6
4690 echo "$ac_t""no" 1>&6
4694 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
4695 echo "configure:4696: checking for --enable-metafile" >&5
4697 # Check whether --enable-metafile or --disable-metafile was given.
4698 if test "${enable_metafile+set}" = set; then
4699 enableval
="$enable_metafile"
4701 if test "$enableval" = yes; then
4702 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
4704 ac_cv_use_metafile
='wxUSE_METAFILE=no'
4709 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
4710 if test "x$LINE" != x
; then
4711 eval "DEFAULT_$LINE"
4716 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
4721 eval "$ac_cv_use_metafile"
4722 if test "$no_cache" != 1; then
4723 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
4726 if test "$wxUSE_METAFILE" = yes; then
4727 echo "$ac_t""yes" 1>&6
4729 echo "$ac_t""no" 1>&6
4734 echo $ac_n "checking for --enable-wxtree""... $ac_c" 1>&6
4735 echo "configure:4736: checking for --enable-wxtree" >&5
4737 # Check whether --enable-wxtree or --disable-wxtree was given.
4738 if test "${enable_wxtree+set}" = set; then
4739 enableval
="$enable_wxtree"
4741 if test "$enableval" = yes; then
4742 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4744 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4749 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4750 if test "x$LINE" != x
; then
4751 eval "DEFAULT_$LINE"
4756 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4761 eval "$ac_cv_use_wxtree"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4766 if test "$wxUSE_WXTREE" = yes; then
4767 echo "$ac_t""yes" 1>&6
4769 echo "$ac_t""no" 1>&6
4775 echo $ac_n "checking for --enable-controls""... $ac_c" 1>&6
4776 echo "configure:4777: checking for --enable-controls" >&5
4778 # Check whether --enable-controls or --disable-controls was given.
4779 if test "${enable_controls+set}" = set; then
4780 enableval
="$enable_controls"
4782 if test "$enableval" = yes; then
4783 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4785 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4790 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4791 if test "x$LINE" != x
; then
4792 eval "DEFAULT_$LINE"
4797 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4802 eval "$ac_cv_use_controls"
4803 if test "$no_cache" != 1; then
4804 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4807 if test "$wxUSE_CONTROLS" = yes; then
4808 echo "$ac_t""yes" 1>&6
4810 echo "$ac_t""no" 1>&6
4814 if test "$wxUSE_CONTROLS" = "yes"; then
4815 DEFAULT_wxUSE_ACCEL
=yes
4816 DEFAULT_wxUSE_BMPBUTTON
=yes
4817 DEFAULT_wxUSE_BUTTON
=yes
4818 DEFAULT_wxUSE_CALCTRL
=no
4819 DEFAULT_wxUSE_CARET
=yes
4820 DEFAULT_wxUSE_COMBOBOX
=yes
4821 DEFAULT_wxUSE_CHECKBOX
=yes
4822 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4823 DEFAULT_wxUSE_CHOICE
=yes
4824 DEFAULT_wxUSE_GAUGE
=yes
4825 DEFAULT_wxUSE_GRID
=yes
4826 DEFAULT_wxUSE_NEW_GRID
=yes
4827 DEFAULT_wxUSE_IMAGLIST
=yes
4828 DEFAULT_wxUSE_LISTBOX
=yes
4829 DEFAULT_wxUSE_LISTCTRL
=yes
4830 DEFAULT_wxUSE_NOTEBOOK
=yes
4831 DEFAULT_wxUSE_RADIOBOX
=yes
4832 DEFAULT_wxUSE_RADIOBTN
=yes
4833 DEFAULT_wxUSE_SASH
=yes
4834 DEFAULT_wxUSE_SCROLLBAR
=yes
4835 DEFAULT_wxUSE_SLIDER
=yes
4836 DEFAULT_wxUSE_SPINBTN
=yes
4837 DEFAULT_wxUSE_SPINCTRL
=yes
4838 DEFAULT_wxUSE_SPLITTER
=yes
4839 DEFAULT_wxUSE_STATBMP
=yes
4840 DEFAULT_wxUSE_STATBOX
=yes
4841 DEFAULT_wxUSE_STATLINE
=yes
4842 DEFAULT_wxUSE_STATUSBAR
=yes
4843 DEFAULT_wxUSE_TAB_DIALOG
=yes
4844 DEFAULT_wxUSE_TOGGLEBTN
=yes
4845 DEFAULT_wxUSE_TOOLBAR
=yes
4846 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4847 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4848 DEFAULT_wxUSE_TOOLTIPS
=yes
4849 DEFAULT_wxUSE_TREECTRL
=yes
4850 elif test "$wxUSE_CONTROLS" = "no"; then
4851 DEFAULT_wxUSE_ACCEL
=no
4852 DEFAULT_wxUSE_BMPBUTTON
=no
4853 DEFAULT_wxUSE_BUTTON
=no
4854 DEFAULT_wxUSE_CALCTRL
=no
4855 DEFAULT_wxUSE_CARET
=no
4856 DEFAULT_wxUSE_COMBOBOX
=no
4857 DEFAULT_wxUSE_CHECKBOX
=no
4858 DEFAULT_wxUSE_CHECKLISTBOX
=no
4859 DEFAULT_wxUSE_CHOICE
=no
4860 DEFAULT_wxUSE_GAUGE
=no
4861 DEFAULT_wxUSE_GRID
=no
4862 DEFAULT_wxUSE_NEW_GRID
=no
4863 DEFAULT_wxUSE_IMAGLIST
=no
4864 DEFAULT_wxUSE_LISTBOX
=no
4865 DEFAULT_wxUSE_LISTCTRL
=no
4866 DEFAULT_wxUSE_NOTEBOOK
=no
4867 DEFAULT_wxUSE_RADIOBOX
=no
4868 DEFAULT_wxUSE_RADIOBTN
=no
4869 DEFAULT_wxUSE_SASH
=no
4870 DEFAULT_wxUSE_SCROLLBAR
=no
4871 DEFAULT_wxUSE_SLIDER
=no
4872 DEFAULT_wxUSE_SPINBTN
=no
4873 DEFAULT_wxUSE_SPINCTRL
=no
4874 DEFAULT_wxUSE_SPLITTER
=no
4875 DEFAULT_wxUSE_STATBMP
=no
4876 DEFAULT_wxUSE_STATBOX
=no
4877 DEFAULT_wxUSE_STATLINE
=no
4878 DEFAULT_wxUSE_STATUSBAR
=no
4879 DEFAULT_wxUSE_TAB_DIALOG
=no
4880 DEFAULT_wxUSE_TOGGLEBTN
=no
4881 DEFAULT_wxUSE_TOOLBAR
=no
4882 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4883 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4884 DEFAULT_wxUSE_TOOLTIPS
=no
4885 DEFAULT_wxUSE_TREECTRL
=no
4889 echo $ac_n "checking for --enable-accel""... $ac_c" 1>&6
4890 echo "configure:4891: checking for --enable-accel" >&5
4892 # Check whether --enable-accel or --disable-accel was given.
4893 if test "${enable_accel+set}" = set; then
4894 enableval
="$enable_accel"
4896 if test "$enableval" = yes; then
4897 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4899 ac_cv_use_accel
='wxUSE_ACCEL=no'
4904 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4905 if test "x$LINE" != x
; then
4906 eval "DEFAULT_$LINE"
4911 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4916 eval "$ac_cv_use_accel"
4917 if test "$no_cache" != 1; then
4918 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4921 if test "$wxUSE_ACCEL" = yes; then
4922 echo "$ac_t""yes" 1>&6
4924 echo "$ac_t""no" 1>&6
4928 echo $ac_n "checking for --enable-button""... $ac_c" 1>&6
4929 echo "configure:4930: checking for --enable-button" >&5
4931 # Check whether --enable-button or --disable-button was given.
4932 if test "${enable_button+set}" = set; then
4933 enableval
="$enable_button"
4935 if test "$enableval" = yes; then
4936 ac_cv_use_button
='wxUSE_BUTTON=yes'
4938 ac_cv_use_button
='wxUSE_BUTTON=no'
4943 LINE
=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
4944 if test "x$LINE" != x
; then
4945 eval "DEFAULT_$LINE"
4950 ac_cv_use_button
='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
4955 eval "$ac_cv_use_button"
4956 if test "$no_cache" != 1; then
4957 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
4960 if test "$wxUSE_BUTTON" = yes; then
4961 echo "$ac_t""yes" 1>&6
4963 echo "$ac_t""no" 1>&6
4967 echo $ac_n "checking for --enable-bmpbutton""... $ac_c" 1>&6
4968 echo "configure:4969: checking for --enable-bmpbutton" >&5
4970 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4971 if test "${enable_bmpbutton+set}" = set; then
4972 enableval
="$enable_bmpbutton"
4974 if test "$enableval" = yes; then
4975 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4977 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4982 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4983 if test "x$LINE" != x
; then
4984 eval "DEFAULT_$LINE"
4989 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4994 eval "$ac_cv_use_bmpbutton"
4995 if test "$no_cache" != 1; then
4996 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4999 if test "$wxUSE_BMPBUTTON" = yes; then
5000 echo "$ac_t""yes" 1>&6
5002 echo "$ac_t""no" 1>&6
5006 echo $ac_n "checking for --enable-calendar""... $ac_c" 1>&6
5007 echo "configure:5008: checking for --enable-calendar" >&5
5009 # Check whether --enable-calendar or --disable-calendar was given.
5010 if test "${enable_calendar+set}" = set; then
5011 enableval
="$enable_calendar"
5013 if test "$enableval" = yes; then
5014 ac_cv_use_calendar
='wxUSE_CALCTRL=yes'
5016 ac_cv_use_calendar
='wxUSE_CALCTRL=no'
5021 LINE
=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
5022 if test "x$LINE" != x
; then
5023 eval "DEFAULT_$LINE"
5028 ac_cv_use_calendar
='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
5033 eval "$ac_cv_use_calendar"
5034 if test "$no_cache" != 1; then
5035 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
5038 if test "$wxUSE_CALCTRL" = yes; then
5039 echo "$ac_t""yes" 1>&6
5041 echo "$ac_t""no" 1>&6
5045 echo $ac_n "checking for --enable-caret""... $ac_c" 1>&6
5046 echo "configure:5047: checking for --enable-caret" >&5
5048 # Check whether --enable-caret or --disable-caret was given.
5049 if test "${enable_caret+set}" = set; then
5050 enableval
="$enable_caret"
5052 if test "$enableval" = yes; then
5053 ac_cv_use_caret
='wxUSE_CARET=yes'
5055 ac_cv_use_caret
='wxUSE_CARET=no'
5060 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
5061 if test "x$LINE" != x
; then
5062 eval "DEFAULT_$LINE"
5067 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
5072 eval "$ac_cv_use_caret"
5073 if test "$no_cache" != 1; then
5074 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
5077 if test "$wxUSE_CARET" = yes; then
5078 echo "$ac_t""yes" 1>&6
5080 echo "$ac_t""no" 1>&6
5084 echo $ac_n "checking for --enable-checkbox""... $ac_c" 1>&6
5085 echo "configure:5086: checking for --enable-checkbox" >&5
5087 # Check whether --enable-checkbox or --disable-checkbox was given.
5088 if test "${enable_checkbox+set}" = set; then
5089 enableval
="$enable_checkbox"
5091 if test "$enableval" = yes; then
5092 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
5094 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
5099 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
5100 if test "x$LINE" != x
; then
5101 eval "DEFAULT_$LINE"
5106 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
5111 eval "$ac_cv_use_checkbox"
5112 if test "$no_cache" != 1; then
5113 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
5116 if test "$wxUSE_CHECKBOX" = yes; then
5117 echo "$ac_t""yes" 1>&6
5119 echo "$ac_t""no" 1>&6
5123 echo $ac_n "checking for --enable-checklst""... $ac_c" 1>&6
5124 echo "configure:5125: checking for --enable-checklst" >&5
5126 # Check whether --enable-checklst or --disable-checklst was given.
5127 if test "${enable_checklst+set}" = set; then
5128 enableval
="$enable_checklst"
5130 if test "$enableval" = yes; then
5131 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
5133 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
5138 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
5139 if test "x$LINE" != x
; then
5140 eval "DEFAULT_$LINE"
5145 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
5150 eval "$ac_cv_use_checklst"
5151 if test "$no_cache" != 1; then
5152 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
5155 if test "$wxUSE_CHECKLST" = yes; then
5156 echo "$ac_t""yes" 1>&6
5158 echo "$ac_t""no" 1>&6
5162 echo $ac_n "checking for --enable-choice""... $ac_c" 1>&6
5163 echo "configure:5164: checking for --enable-choice" >&5
5165 # Check whether --enable-choice or --disable-choice was given.
5166 if test "${enable_choice+set}" = set; then
5167 enableval
="$enable_choice"
5169 if test "$enableval" = yes; then
5170 ac_cv_use_choice
='wxUSE_CHOICE=yes'
5172 ac_cv_use_choice
='wxUSE_CHOICE=no'
5177 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
5178 if test "x$LINE" != x
; then
5179 eval "DEFAULT_$LINE"
5184 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
5189 eval "$ac_cv_use_choice"
5190 if test "$no_cache" != 1; then
5191 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
5194 if test "$wxUSE_CHOICE" = yes; then
5195 echo "$ac_t""yes" 1>&6
5197 echo "$ac_t""no" 1>&6
5201 echo $ac_n "checking for --enable-combobox""... $ac_c" 1>&6
5202 echo "configure:5203: checking for --enable-combobox" >&5
5204 # Check whether --enable-combobox or --disable-combobox was given.
5205 if test "${enable_combobox+set}" = set; then
5206 enableval
="$enable_combobox"
5208 if test "$enableval" = yes; then
5209 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
5211 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
5216 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
5217 if test "x$LINE" != x
; then
5218 eval "DEFAULT_$LINE"
5223 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5228 eval "$ac_cv_use_combobox"
5229 if test "$no_cache" != 1; then
5230 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
5233 if test "$wxUSE_COMBOBOX" = yes; then
5234 echo "$ac_t""yes" 1>&6
5236 echo "$ac_t""no" 1>&6
5240 echo $ac_n "checking for --enable-gauge""... $ac_c" 1>&6
5241 echo "configure:5242: checking for --enable-gauge" >&5
5243 # Check whether --enable-gauge or --disable-gauge was given.
5244 if test "${enable_gauge+set}" = set; then
5245 enableval
="$enable_gauge"
5247 if test "$enableval" = yes; then
5248 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
5250 ac_cv_use_gauge
='wxUSE_GAUGE=no'
5255 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
5256 if test "x$LINE" != x
; then
5257 eval "DEFAULT_$LINE"
5262 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5267 eval "$ac_cv_use_gauge"
5268 if test "$no_cache" != 1; then
5269 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
5272 if test "$wxUSE_GAUGE" = yes; then
5273 echo "$ac_t""yes" 1>&6
5275 echo "$ac_t""no" 1>&6
5279 echo $ac_n "checking for --enable-grid""... $ac_c" 1>&6
5280 echo "configure:5281: checking for --enable-grid" >&5
5282 # Check whether --enable-grid or --disable-grid was given.
5283 if test "${enable_grid+set}" = set; then
5284 enableval
="$enable_grid"
5286 if test "$enableval" = yes; then
5287 ac_cv_use_grid
='wxUSE_GRID=yes'
5289 ac_cv_use_grid
='wxUSE_GRID=no'
5294 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
5295 if test "x$LINE" != x
; then
5296 eval "DEFAULT_$LINE"
5301 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5306 eval "$ac_cv_use_grid"
5307 if test "$no_cache" != 1; then
5308 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
5311 if test "$wxUSE_GRID" = yes; then
5312 echo "$ac_t""yes" 1>&6
5314 echo "$ac_t""no" 1>&6
5318 echo $ac_n "checking for --enable-newgrid""... $ac_c" 1>&6
5319 echo "configure:5320: checking for --enable-newgrid" >&5
5321 # Check whether --enable-newgrid or --disable-newgrid was given.
5322 if test "${enable_newgrid+set}" = set; then
5323 enableval
="$enable_newgrid"
5325 if test "$enableval" = yes; then
5326 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
5328 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
5333 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
5334 if test "x$LINE" != x
; then
5335 eval "DEFAULT_$LINE"
5340 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
5345 eval "$ac_cv_use_newgrid"
5346 if test "$no_cache" != 1; then
5347 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
5350 if test "$wxUSE_NEW_GRID" = yes; then
5351 echo "$ac_t""yes" 1>&6
5353 echo "$ac_t""no" 1>&6
5357 echo $ac_n "checking for --enable-imaglist""... $ac_c" 1>&6
5358 echo "configure:5359: checking for --enable-imaglist" >&5
5360 # Check whether --enable-imaglist or --disable-imaglist was given.
5361 if test "${enable_imaglist+set}" = set; then
5362 enableval
="$enable_imaglist"
5364 if test "$enableval" = yes; then
5365 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
5367 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
5372 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
5373 if test "x$LINE" != x
; then
5374 eval "DEFAULT_$LINE"
5379 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
5384 eval "$ac_cv_use_imaglist"
5385 if test "$no_cache" != 1; then
5386 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
5389 if test "$wxUSE_IMAGLIST" = yes; then
5390 echo "$ac_t""yes" 1>&6
5392 echo "$ac_t""no" 1>&6
5396 echo $ac_n "checking for --enable-listbox""... $ac_c" 1>&6
5397 echo "configure:5398: checking for --enable-listbox" >&5
5399 # Check whether --enable-listbox or --disable-listbox was given.
5400 if test "${enable_listbox+set}" = set; then
5401 enableval
="$enable_listbox"
5403 if test "$enableval" = yes; then
5404 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
5406 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
5411 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
5412 if test "x$LINE" != x
; then
5413 eval "DEFAULT_$LINE"
5418 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
5423 eval "$ac_cv_use_listbox"
5424 if test "$no_cache" != 1; then
5425 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
5428 if test "$wxUSE_LISTBOX" = yes; then
5429 echo "$ac_t""yes" 1>&6
5431 echo "$ac_t""no" 1>&6
5435 echo $ac_n "checking for --enable-listctrl""... $ac_c" 1>&6
5436 echo "configure:5437: checking for --enable-listctrl" >&5
5438 # Check whether --enable-listctrl or --disable-listctrl was given.
5439 if test "${enable_listctrl+set}" = set; then
5440 enableval
="$enable_listctrl"
5442 if test "$enableval" = yes; then
5443 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
5445 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
5450 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
5451 if test "x$LINE" != x
; then
5452 eval "DEFAULT_$LINE"
5457 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5462 eval "$ac_cv_use_listctrl"
5463 if test "$no_cache" != 1; then
5464 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
5467 if test "$wxUSE_LISTCTRL" = yes; then
5468 echo "$ac_t""yes" 1>&6
5470 echo "$ac_t""no" 1>&6
5474 echo $ac_n "checking for --enable-notebook""... $ac_c" 1>&6
5475 echo "configure:5476: checking for --enable-notebook" >&5
5477 # Check whether --enable-notebook or --disable-notebook was given.
5478 if test "${enable_notebook+set}" = set; then
5479 enableval
="$enable_notebook"
5481 if test "$enableval" = yes; then
5482 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
5484 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
5489 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
5490 if test "x$LINE" != x
; then
5491 eval "DEFAULT_$LINE"
5496 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5501 eval "$ac_cv_use_notebook"
5502 if test "$no_cache" != 1; then
5503 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
5506 if test "$wxUSE_NOTEBOOK" = yes; then
5507 echo "$ac_t""yes" 1>&6
5509 echo "$ac_t""no" 1>&6
5513 echo $ac_n "checking for --enable-radiobox""... $ac_c" 1>&6
5514 echo "configure:5515: checking for --enable-radiobox" >&5
5516 # Check whether --enable-radiobox or --disable-radiobox was given.
5517 if test "${enable_radiobox+set}" = set; then
5518 enableval
="$enable_radiobox"
5520 if test "$enableval" = yes; then
5521 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
5523 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
5528 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
5529 if test "x$LINE" != x
; then
5530 eval "DEFAULT_$LINE"
5535 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
5540 eval "$ac_cv_use_radiobox"
5541 if test "$no_cache" != 1; then
5542 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
5545 if test "$wxUSE_RADIOBOX" = yes; then
5546 echo "$ac_t""yes" 1>&6
5548 echo "$ac_t""no" 1>&6
5552 echo $ac_n "checking for --enable-radiobtn""... $ac_c" 1>&6
5553 echo "configure:5554: checking for --enable-radiobtn" >&5
5555 # Check whether --enable-radiobtn or --disable-radiobtn was given.
5556 if test "${enable_radiobtn+set}" = set; then
5557 enableval
="$enable_radiobtn"
5559 if test "$enableval" = yes; then
5560 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
5562 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
5567 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
5568 if test "x$LINE" != x
; then
5569 eval "DEFAULT_$LINE"
5574 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
5579 eval "$ac_cv_use_radiobtn"
5580 if test "$no_cache" != 1; then
5581 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
5584 if test "$wxUSE_RADIOBTN" = yes; then
5585 echo "$ac_t""yes" 1>&6
5587 echo "$ac_t""no" 1>&6
5591 echo $ac_n "checking for --enable-sash""... $ac_c" 1>&6
5592 echo "configure:5593: checking for --enable-sash" >&5
5594 # Check whether --enable-sash or --disable-sash was given.
5595 if test "${enable_sash+set}" = set; then
5596 enableval
="$enable_sash"
5598 if test "$enableval" = yes; then
5599 ac_cv_use_sash
='wxUSE_SASH=yes'
5601 ac_cv_use_sash
='wxUSE_SASH=no'
5606 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
5607 if test "x$LINE" != x
; then
5608 eval "DEFAULT_$LINE"
5613 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
5618 eval "$ac_cv_use_sash"
5619 if test "$no_cache" != 1; then
5620 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
5623 if test "$wxUSE_SASH" = yes; then
5624 echo "$ac_t""yes" 1>&6
5626 echo "$ac_t""no" 1>&6
5630 echo $ac_n "checking for --enable-scrollbar""... $ac_c" 1>&6
5631 echo "configure:5632: checking for --enable-scrollbar" >&5
5633 # Check whether --enable-scrollbar or --disable-scrollbar was given.
5634 if test "${enable_scrollbar+set}" = set; then
5635 enableval
="$enable_scrollbar"
5637 if test "$enableval" = yes; then
5638 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
5640 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
5645 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
5646 if test "x$LINE" != x
; then
5647 eval "DEFAULT_$LINE"
5652 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5657 eval "$ac_cv_use_scrollbar"
5658 if test "$no_cache" != 1; then
5659 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
5662 if test "$wxUSE_SCROLLBAR" = yes; then
5663 echo "$ac_t""yes" 1>&6
5665 echo "$ac_t""no" 1>&6
5669 echo $ac_n "checking for --enable-slider""... $ac_c" 1>&6
5670 echo "configure:5671: checking for --enable-slider" >&5
5672 # Check whether --enable-slider or --disable-slider was given.
5673 if test "${enable_slider+set}" = set; then
5674 enableval
="$enable_slider"
5676 if test "$enableval" = yes; then
5677 ac_cv_use_slider
='wxUSE_SLIDER=yes'
5679 ac_cv_use_slider
='wxUSE_SLIDER=no'
5684 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
5685 if test "x$LINE" != x
; then
5686 eval "DEFAULT_$LINE"
5691 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
5696 eval "$ac_cv_use_slider"
5697 if test "$no_cache" != 1; then
5698 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
5701 if test "$wxUSE_SLIDER" = yes; then
5702 echo "$ac_t""yes" 1>&6
5704 echo "$ac_t""no" 1>&6
5708 echo $ac_n "checking for --enable-spinbtn""... $ac_c" 1>&6
5709 echo "configure:5710: checking for --enable-spinbtn" >&5
5711 # Check whether --enable-spinbtn or --disable-spinbtn was given.
5712 if test "${enable_spinbtn+set}" = set; then
5713 enableval
="$enable_spinbtn"
5715 if test "$enableval" = yes; then
5716 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
5718 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
5723 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
5724 if test "x$LINE" != x
; then
5725 eval "DEFAULT_$LINE"
5730 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
5735 eval "$ac_cv_use_spinbtn"
5736 if test "$no_cache" != 1; then
5737 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
5740 if test "$wxUSE_SPINBTN" = yes; then
5741 echo "$ac_t""yes" 1>&6
5743 echo "$ac_t""no" 1>&6
5747 echo $ac_n "checking for --enable-spinctrl""... $ac_c" 1>&6
5748 echo "configure:5749: checking for --enable-spinctrl" >&5
5750 # Check whether --enable-spinctrl or --disable-spinctrl was given.
5751 if test "${enable_spinctrl+set}" = set; then
5752 enableval
="$enable_spinctrl"
5754 if test "$enableval" = yes; then
5755 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
5757 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5762 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5763 if test "x$LINE" != x
; then
5764 eval "DEFAULT_$LINE"
5769 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5774 eval "$ac_cv_use_spinctrl"
5775 if test "$no_cache" != 1; then
5776 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5779 if test "$wxUSE_SPINCTRL" = yes; then
5780 echo "$ac_t""yes" 1>&6
5782 echo "$ac_t""no" 1>&6
5786 echo $ac_n "checking for --enable-splitter""... $ac_c" 1>&6
5787 echo "configure:5788: checking for --enable-splitter" >&5
5789 # Check whether --enable-splitter or --disable-splitter was given.
5790 if test "${enable_splitter+set}" = set; then
5791 enableval
="$enable_splitter"
5793 if test "$enableval" = yes; then
5794 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5796 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5801 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5802 if test "x$LINE" != x
; then
5803 eval "DEFAULT_$LINE"
5808 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5813 eval "$ac_cv_use_splitter"
5814 if test "$no_cache" != 1; then
5815 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5818 if test "$wxUSE_SPLITTER" = yes; then
5819 echo "$ac_t""yes" 1>&6
5821 echo "$ac_t""no" 1>&6
5825 echo $ac_n "checking for --enable-statbmp""... $ac_c" 1>&6
5826 echo "configure:5827: checking for --enable-statbmp" >&5
5828 # Check whether --enable-statbmp or --disable-statbmp was given.
5829 if test "${enable_statbmp+set}" = set; then
5830 enableval
="$enable_statbmp"
5832 if test "$enableval" = yes; then
5833 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5835 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5840 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5841 if test "x$LINE" != x
; then
5842 eval "DEFAULT_$LINE"
5847 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5852 eval "$ac_cv_use_statbmp"
5853 if test "$no_cache" != 1; then
5854 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5857 if test "$wxUSE_STATBMP" = yes; then
5858 echo "$ac_t""yes" 1>&6
5860 echo "$ac_t""no" 1>&6
5864 echo $ac_n "checking for --enable-statbox""... $ac_c" 1>&6
5865 echo "configure:5866: checking for --enable-statbox" >&5
5867 # Check whether --enable-statbox or --disable-statbox was given.
5868 if test "${enable_statbox+set}" = set; then
5869 enableval
="$enable_statbox"
5871 if test "$enableval" = yes; then
5872 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5874 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5879 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5880 if test "x$LINE" != x
; then
5881 eval "DEFAULT_$LINE"
5886 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5891 eval "$ac_cv_use_statbox"
5892 if test "$no_cache" != 1; then
5893 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5896 if test "$wxUSE_STATBOX" = yes; then
5897 echo "$ac_t""yes" 1>&6
5899 echo "$ac_t""no" 1>&6
5903 echo $ac_n "checking for --enable-statline""... $ac_c" 1>&6
5904 echo "configure:5905: checking for --enable-statline" >&5
5906 # Check whether --enable-statline or --disable-statline was given.
5907 if test "${enable_statline+set}" = set; then
5908 enableval
="$enable_statline"
5910 if test "$enableval" = yes; then
5911 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5913 ac_cv_use_statline
='wxUSE_STATLINE=no'
5918 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5919 if test "x$LINE" != x
; then
5920 eval "DEFAULT_$LINE"
5925 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5930 eval "$ac_cv_use_statline"
5931 if test "$no_cache" != 1; then
5932 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5935 if test "$wxUSE_STATLINE" = yes; then
5936 echo "$ac_t""yes" 1>&6
5938 echo "$ac_t""no" 1>&6
5942 echo $ac_n "checking for --enable-stattext""... $ac_c" 1>&6
5943 echo "configure:5944: checking for --enable-stattext" >&5
5945 # Check whether --enable-stattext or --disable-stattext was given.
5946 if test "${enable_stattext+set}" = set; then
5947 enableval
="$enable_stattext"
5949 if test "$enableval" = yes; then
5950 ac_cv_use_stattext
='wxUSE_STATTEXT=yes'
5952 ac_cv_use_stattext
='wxUSE_STATTEXT=no'
5957 LINE
=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
5958 if test "x$LINE" != x
; then
5959 eval "DEFAULT_$LINE"
5964 ac_cv_use_stattext
='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
5969 eval "$ac_cv_use_stattext"
5970 if test "$no_cache" != 1; then
5971 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
5974 if test "$wxUSE_STATTEXT" = yes; then
5975 echo "$ac_t""yes" 1>&6
5977 echo "$ac_t""no" 1>&6
5981 echo $ac_n "checking for --enable-statusbar""... $ac_c" 1>&6
5982 echo "configure:5983: checking for --enable-statusbar" >&5
5984 # Check whether --enable-statusbar or --disable-statusbar was given.
5985 if test "${enable_statusbar+set}" = set; then
5986 enableval
="$enable_statusbar"
5988 if test "$enableval" = yes; then
5989 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5991 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5996 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5997 if test "x$LINE" != x
; then
5998 eval "DEFAULT_$LINE"
6003 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
6008 eval "$ac_cv_use_statusbar"
6009 if test "$no_cache" != 1; then
6010 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
6013 if test "$wxUSE_STATUSBAR" = yes; then
6014 echo "$ac_t""yes" 1>&6
6016 echo "$ac_t""no" 1>&6
6020 echo $ac_n "checking for --enable-tabdialog""... $ac_c" 1>&6
6021 echo "configure:6022: checking for --enable-tabdialog" >&5
6023 # Check whether --enable-tabdialog or --disable-tabdialog was given.
6024 if test "${enable_tabdialog+set}" = set; then
6025 enableval
="$enable_tabdialog"
6027 if test "$enableval" = yes; then
6028 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
6030 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
6035 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
6036 if test "x$LINE" != x
; then
6037 eval "DEFAULT_$LINE"
6042 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
6047 eval "$ac_cv_use_tabdialog"
6048 if test "$no_cache" != 1; then
6049 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
6052 if test "$wxUSE_TABDIALOG" = yes; then
6053 echo "$ac_t""yes" 1>&6
6055 echo "$ac_t""no" 1>&6
6059 echo $ac_n "checking for --enable-textctrl""... $ac_c" 1>&6
6060 echo "configure:6061: checking for --enable-textctrl" >&5
6062 # Check whether --enable-textctrl or --disable-textctrl was given.
6063 if test "${enable_textctrl+set}" = set; then
6064 enableval
="$enable_textctrl"
6066 if test "$enableval" = yes; then
6067 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=yes'
6069 ac_cv_use_textctrl
='wxUSE_TEXTCTRL=no'
6074 LINE
=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
6075 if test "x$LINE" != x
; then
6076 eval "DEFAULT_$LINE"
6081 ac_cv_use_textctrl
='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
6086 eval "$ac_cv_use_textctrl"
6087 if test "$no_cache" != 1; then
6088 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
6091 if test "$wxUSE_TEXTCTRL" = yes; then
6092 echo "$ac_t""yes" 1>&6
6094 echo "$ac_t""no" 1>&6
6098 echo $ac_n "checking for --enable-togglebtn""... $ac_c" 1>&6
6099 echo "configure:6100: checking for --enable-togglebtn" >&5
6101 # Check whether --enable-togglebtn or --disable-togglebtn was given.
6102 if test "${enable_togglebtn+set}" = set; then
6103 enableval
="$enable_togglebtn"
6105 if test "$enableval" = yes; then
6106 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=yes'
6108 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN=no'
6113 LINE
=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
6114 if test "x$LINE" != x
; then
6115 eval "DEFAULT_$LINE"
6120 ac_cv_use_togglebtn
='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
6125 eval "$ac_cv_use_togglebtn"
6126 if test "$no_cache" != 1; then
6127 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
6130 if test "$wxUSE_TOGGLEBTN" = yes; then
6131 echo "$ac_t""yes" 1>&6
6133 echo "$ac_t""no" 1>&6
6137 echo $ac_n "checking for --enable-toolbar""... $ac_c" 1>&6
6138 echo "configure:6139: checking for --enable-toolbar" >&5
6140 # Check whether --enable-toolbar or --disable-toolbar was given.
6141 if test "${enable_toolbar+set}" = set; then
6142 enableval
="$enable_toolbar"
6144 if test "$enableval" = yes; then
6145 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
6147 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
6152 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
6153 if test "x$LINE" != x
; then
6154 eval "DEFAULT_$LINE"
6159 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
6164 eval "$ac_cv_use_toolbar"
6165 if test "$no_cache" != 1; then
6166 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
6169 if test "$wxUSE_TOOLBAR" = yes; then
6170 echo "$ac_t""yes" 1>&6
6172 echo "$ac_t""no" 1>&6
6176 echo $ac_n "checking for --enable-tbarnative""... $ac_c" 1>&6
6177 echo "configure:6178: checking for --enable-tbarnative" >&5
6179 # Check whether --enable-tbarnative or --disable-tbarnative was given.
6180 if test "${enable_tbarnative+set}" = set; then
6181 enableval
="$enable_tbarnative"
6183 if test "$enableval" = yes; then
6184 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
6186 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
6191 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
6192 if test "x$LINE" != x
; then
6193 eval "DEFAULT_$LINE"
6198 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
6203 eval "$ac_cv_use_tbarnative"
6204 if test "$no_cache" != 1; then
6205 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
6208 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
6209 echo "$ac_t""yes" 1>&6
6211 echo "$ac_t""no" 1>&6
6215 echo $ac_n "checking for --enable-tbarsmpl""... $ac_c" 1>&6
6216 echo "configure:6217: checking for --enable-tbarsmpl" >&5
6218 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
6219 if test "${enable_tbarsmpl+set}" = set; then
6220 enableval
="$enable_tbarsmpl"
6222 if test "$enableval" = yes; then
6223 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
6225 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
6230 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
6231 if test "x$LINE" != x
; then
6232 eval "DEFAULT_$LINE"
6237 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
6242 eval "$ac_cv_use_tbarsmpl"
6243 if test "$no_cache" != 1; then
6244 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
6247 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
6248 echo "$ac_t""yes" 1>&6
6250 echo "$ac_t""no" 1>&6
6254 echo $ac_n "checking for --enable-treectrl""... $ac_c" 1>&6
6255 echo "configure:6256: checking for --enable-treectrl" >&5
6257 # Check whether --enable-treectrl or --disable-treectrl was given.
6258 if test "${enable_treectrl+set}" = set; then
6259 enableval
="$enable_treectrl"
6261 if test "$enableval" = yes; then
6262 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
6264 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
6269 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
6270 if test "x$LINE" != x
; then
6271 eval "DEFAULT_$LINE"
6276 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
6281 eval "$ac_cv_use_treectrl"
6282 if test "$no_cache" != 1; then
6283 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
6286 if test "$wxUSE_TREECTRL" = yes; then
6287 echo "$ac_t""yes" 1>&6
6289 echo "$ac_t""no" 1>&6
6295 echo $ac_n "checking for --enable-commondlg""... $ac_c" 1>&6
6296 echo "configure:6297: checking for --enable-commondlg" >&5
6298 # Check whether --enable-commondlg or --disable-commondlg was given.
6299 if test "${enable_commondlg+set}" = set; then
6300 enableval
="$enable_commondlg"
6302 if test "$enableval" = yes; then
6303 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
6305 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
6310 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
6311 if test "x$LINE" != x
; then
6312 eval "DEFAULT_$LINE"
6317 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
6322 eval "$ac_cv_use_commondlg"
6323 if test "$no_cache" != 1; then
6324 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
6327 if test "$wxUSE_COMMONDLGS" = yes; then
6328 echo "$ac_t""yes" 1>&6
6330 echo "$ac_t""no" 1>&6
6334 echo $ac_n "checking for --enable-choicedlg""... $ac_c" 1>&6
6335 echo "configure:6336: checking for --enable-choicedlg" >&5
6337 # Check whether --enable-choicedlg or --disable-choicedlg was given.
6338 if test "${enable_choicedlg+set}" = set; then
6339 enableval
="$enable_choicedlg"
6341 if test "$enableval" = yes; then
6342 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=yes'
6344 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG=no'
6349 LINE
=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
6350 if test "x$LINE" != x
; then
6351 eval "DEFAULT_$LINE"
6356 ac_cv_use_choicedlg
='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
6361 eval "$ac_cv_use_choicedlg"
6362 if test "$no_cache" != 1; then
6363 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
6366 if test "$wxUSE_CHOICEDLG" = yes; then
6367 echo "$ac_t""yes" 1>&6
6369 echo "$ac_t""no" 1>&6
6373 echo $ac_n "checking for --enable-coldlg""... $ac_c" 1>&6
6374 echo "configure:6375: checking for --enable-coldlg" >&5
6376 # Check whether --enable-coldlg or --disable-coldlg was given.
6377 if test "${enable_coldlg+set}" = set; then
6378 enableval
="$enable_coldlg"
6380 if test "$enableval" = yes; then
6381 ac_cv_use_coldlg
='wxUSE_COLOURDLG=yes'
6383 ac_cv_use_coldlg
='wxUSE_COLOURDLG=no'
6388 LINE
=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
6389 if test "x$LINE" != x
; then
6390 eval "DEFAULT_$LINE"
6395 ac_cv_use_coldlg
='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
6400 eval "$ac_cv_use_coldlg"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
6405 if test "$wxUSE_COLOURDLG" = yes; then
6406 echo "$ac_t""yes" 1>&6
6408 echo "$ac_t""no" 1>&6
6412 echo $ac_n "checking for --enable-filedlg""... $ac_c" 1>&6
6413 echo "configure:6414: checking for --enable-filedlg" >&5
6415 # Check whether --enable-filedlg or --disable-filedlg was given.
6416 if test "${enable_filedlg+set}" = set; then
6417 enableval
="$enable_filedlg"
6419 if test "$enableval" = yes; then
6420 ac_cv_use_filedlg
='wxUSE_FILEDLG=yes'
6422 ac_cv_use_filedlg
='wxUSE_FILEDLG=no'
6427 LINE
=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
6428 if test "x$LINE" != x
; then
6429 eval "DEFAULT_$LINE"
6434 ac_cv_use_filedlg
='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
6439 eval "$ac_cv_use_filedlg"
6440 if test "$no_cache" != 1; then
6441 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
6444 if test "$wxUSE_FILEDLG" = yes; then
6445 echo "$ac_t""yes" 1>&6
6447 echo "$ac_t""no" 1>&6
6451 echo $ac_n "checking for --enable-fontdlg""... $ac_c" 1>&6
6452 echo "configure:6453: checking for --enable-fontdlg" >&5
6454 # Check whether --enable-fontdlg or --disable-fontdlg was given.
6455 if test "${enable_fontdlg+set}" = set; then
6456 enableval
="$enable_fontdlg"
6458 if test "$enableval" = yes; then
6459 ac_cv_use_fontdlg
='wxUSE_FONTDLG=yes'
6461 ac_cv_use_fontdlg
='wxUSE_FONTDLG=no'
6466 LINE
=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
6467 if test "x$LINE" != x
; then
6468 eval "DEFAULT_$LINE"
6473 ac_cv_use_fontdlg
='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
6478 eval "$ac_cv_use_fontdlg"
6479 if test "$no_cache" != 1; then
6480 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
6483 if test "$wxUSE_FONTDLG" = yes; then
6484 echo "$ac_t""yes" 1>&6
6486 echo "$ac_t""no" 1>&6
6490 echo $ac_n "checking for --enable-dirdlg""... $ac_c" 1>&6
6491 echo "configure:6492: checking for --enable-dirdlg" >&5
6493 # Check whether --enable-dirdlg or --disable-dirdlg was given.
6494 if test "${enable_dirdlg+set}" = set; then
6495 enableval
="$enable_dirdlg"
6497 if test "$enableval" = yes; then
6498 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
6500 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
6505 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
6506 if test "x$LINE" != x
; then
6507 eval "DEFAULT_$LINE"
6512 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
6517 eval "$ac_cv_use_dirdlg"
6518 if test "$no_cache" != 1; then
6519 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
6522 if test "$wxUSE_DIRDLG" = yes; then
6523 echo "$ac_t""yes" 1>&6
6525 echo "$ac_t""no" 1>&6
6529 echo $ac_n "checking for --enable-msgdlg""... $ac_c" 1>&6
6530 echo "configure:6531: checking for --enable-msgdlg" >&5
6532 # Check whether --enable-msgdlg or --disable-msgdlg was given.
6533 if test "${enable_msgdlg+set}" = set; then
6534 enableval
="$enable_msgdlg"
6536 if test "$enableval" = yes; then
6537 ac_cv_use_msgdlg
='wxUSE_MSGDLG=yes'
6539 ac_cv_use_msgdlg
='wxUSE_MSGDLG=no'
6544 LINE
=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
6545 if test "x$LINE" != x
; then
6546 eval "DEFAULT_$LINE"
6551 ac_cv_use_msgdlg
='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
6556 eval "$ac_cv_use_msgdlg"
6557 if test "$no_cache" != 1; then
6558 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
6561 if test "$wxUSE_MSGDLG" = yes; then
6562 echo "$ac_t""yes" 1>&6
6564 echo "$ac_t""no" 1>&6
6568 echo $ac_n "checking for --enable-numberdlg""... $ac_c" 1>&6
6569 echo "configure:6570: checking for --enable-numberdlg" >&5
6571 # Check whether --enable-numberdlg or --disable-numberdlg was given.
6572 if test "${enable_numberdlg+set}" = set; then
6573 enableval
="$enable_numberdlg"
6575 if test "$enableval" = yes; then
6576 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=yes'
6578 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG=no'
6583 LINE
=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
6584 if test "x$LINE" != x
; then
6585 eval "DEFAULT_$LINE"
6590 ac_cv_use_numberdlg
='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
6595 eval "$ac_cv_use_numberdlg"
6596 if test "$no_cache" != 1; then
6597 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
6600 if test "$wxUSE_NUMBERDLG" = yes; then
6601 echo "$ac_t""yes" 1>&6
6603 echo "$ac_t""no" 1>&6
6607 echo $ac_n "checking for --enable-textdlg""... $ac_c" 1>&6
6608 echo "configure:6609: checking for --enable-textdlg" >&5
6610 # Check whether --enable-textdlg or --disable-textdlg was given.
6611 if test "${enable_textdlg+set}" = set; then
6612 enableval
="$enable_textdlg"
6614 if test "$enableval" = yes; then
6615 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
6617 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
6622 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
6623 if test "x$LINE" != x
; then
6624 eval "DEFAULT_$LINE"
6629 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
6634 eval "$ac_cv_use_textdlg"
6635 if test "$no_cache" != 1; then
6636 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
6639 if test "$wxUSE_TEXTDLG" = yes; then
6640 echo "$ac_t""yes" 1>&6
6642 echo "$ac_t""no" 1>&6
6646 echo $ac_n "checking for --enable-tipdlg""... $ac_c" 1>&6
6647 echo "configure:6648: checking for --enable-tipdlg" >&5
6649 # Check whether --enable-tipdlg or --disable-tipdlg was given.
6650 if test "${enable_tipdlg+set}" = set; then
6651 enableval
="$enable_tipdlg"
6653 if test "$enableval" = yes; then
6654 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
6656 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
6661 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
6662 if test "x$LINE" != x
; then
6663 eval "DEFAULT_$LINE"
6668 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
6673 eval "$ac_cv_use_tipdlg"
6674 if test "$no_cache" != 1; then
6675 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
6678 if test "$wxUSE_STARTUP_TIPS" = yes; then
6679 echo "$ac_t""yes" 1>&6
6681 echo "$ac_t""no" 1>&6
6685 echo $ac_n "checking for --enable-progressdlg""... $ac_c" 1>&6
6686 echo "configure:6687: checking for --enable-progressdlg" >&5
6688 # Check whether --enable-progressdlg or --disable-progressdlg was given.
6689 if test "${enable_progressdlg+set}" = set; then
6690 enableval
="$enable_progressdlg"
6692 if test "$enableval" = yes; then
6693 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
6695 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
6700 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
6701 if test "x$LINE" != x
; then
6702 eval "DEFAULT_$LINE"
6707 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
6712 eval "$ac_cv_use_progressdlg"
6713 if test "$no_cache" != 1; then
6714 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
6717 if test "$wxUSE_PROGRESSDLG" = yes; then
6718 echo "$ac_t""yes" 1>&6
6720 echo "$ac_t""no" 1>&6
6724 echo $ac_n "checking for --enable-menus""... $ac_c" 1>&6
6725 echo "configure:6726: checking for --enable-menus" >&5
6727 # Check whether --enable-menus or --disable-menus was given.
6728 if test "${enable_menus+set}" = set; then
6729 enableval
="$enable_menus"
6731 if test "$enableval" = yes; then
6732 ac_cv_use_menus
='wxUSE_MENUS=yes'
6734 ac_cv_use_menus
='wxUSE_MENUS=no'
6739 LINE
=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
6740 if test "x$LINE" != x
; then
6741 eval "DEFAULT_$LINE"
6746 ac_cv_use_menus
='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
6751 eval "$ac_cv_use_menus"
6752 if test "$no_cache" != 1; then
6753 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
6756 if test "$wxUSE_MENUS" = yes; then
6757 echo "$ac_t""yes" 1>&6
6759 echo "$ac_t""no" 1>&6
6763 echo $ac_n "checking for --enable-miniframe""... $ac_c" 1>&6
6764 echo "configure:6765: checking for --enable-miniframe" >&5
6766 # Check whether --enable-miniframe or --disable-miniframe was given.
6767 if test "${enable_miniframe+set}" = set; then
6768 enableval
="$enable_miniframe"
6770 if test "$enableval" = yes; then
6771 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
6773 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
6778 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
6779 if test "x$LINE" != x
; then
6780 eval "DEFAULT_$LINE"
6785 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
6790 eval "$ac_cv_use_miniframe"
6791 if test "$no_cache" != 1; then
6792 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
6795 if test "$wxUSE_MINIFRAME" = yes; then
6796 echo "$ac_t""yes" 1>&6
6798 echo "$ac_t""no" 1>&6
6802 echo $ac_n "checking for --enable-html""... $ac_c" 1>&6
6803 echo "configure:6804: checking for --enable-html" >&5
6805 # Check whether --enable-html or --disable-html was given.
6806 if test "${enable_html+set}" = set; then
6807 enableval
="$enable_html"
6809 if test "$enableval" = yes; then
6810 ac_cv_use_html
='wxUSE_HTML=yes'
6812 ac_cv_use_html
='wxUSE_HTML=no'
6817 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
6818 if test "x$LINE" != x
; then
6819 eval "DEFAULT_$LINE"
6824 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
6829 eval "$ac_cv_use_html"
6830 if test "$no_cache" != 1; then
6831 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
6834 if test "$wxUSE_HTML" = yes; then
6835 echo "$ac_t""yes" 1>&6
6837 echo "$ac_t""no" 1>&6
6841 echo $ac_n "checking for --enable-tooltips""... $ac_c" 1>&6
6842 echo "configure:6843: checking for --enable-tooltips" >&5
6844 # Check whether --enable-tooltips or --disable-tooltips was given.
6845 if test "${enable_tooltips+set}" = set; then
6846 enableval
="$enable_tooltips"
6848 if test "$enableval" = yes; then
6849 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
6851 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
6856 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
6857 if test "x$LINE" != x
; then
6858 eval "DEFAULT_$LINE"
6863 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
6868 eval "$ac_cv_use_tooltips"
6869 if test "$no_cache" != 1; then
6870 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
6873 if test "$wxUSE_TOOLTIPS" = yes; then
6874 echo "$ac_t""yes" 1>&6
6876 echo "$ac_t""no" 1>&6
6880 echo $ac_n "checking for --enable-splines""... $ac_c" 1>&6
6881 echo "configure:6882: checking for --enable-splines" >&5
6883 # Check whether --enable-splines or --disable-splines was given.
6884 if test "${enable_splines+set}" = set; then
6885 enableval
="$enable_splines"
6887 if test "$enableval" = yes; then
6888 ac_cv_use_splines
='wxUSE_SPLINES=yes'
6890 ac_cv_use_splines
='wxUSE_SPLINES=no'
6895 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
6896 if test "x$LINE" != x
; then
6897 eval "DEFAULT_$LINE"
6902 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
6907 eval "$ac_cv_use_splines"
6908 if test "$no_cache" != 1; then
6909 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
6912 if test "$wxUSE_SPLINES" = yes; then
6913 echo "$ac_t""yes" 1>&6
6915 echo "$ac_t""no" 1>&6
6919 echo $ac_n "checking for --enable-validators""... $ac_c" 1>&6
6920 echo "configure:6921: checking for --enable-validators" >&5
6922 # Check whether --enable-validators or --disable-validators was given.
6923 if test "${enable_validators+set}" = set; then
6924 enableval
="$enable_validators"
6926 if test "$enableval" = yes; then
6927 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
6929 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
6934 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
6935 if test "x$LINE" != x
; then
6936 eval "DEFAULT_$LINE"
6941 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
6946 eval "$ac_cv_use_validators"
6947 if test "$no_cache" != 1; then
6948 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
6951 if test "$wxUSE_VALIDATORS" = yes; then
6952 echo "$ac_t""yes" 1>&6
6954 echo "$ac_t""no" 1>&6
6958 echo $ac_n "checking for --enable-busyinfo""... $ac_c" 1>&6
6959 echo "configure:6960: checking for --enable-busyinfo" >&5
6961 # Check whether --enable-busyinfo or --disable-busyinfo was given.
6962 if test "${enable_busyinfo+set}" = set; then
6963 enableval
="$enable_busyinfo"
6965 if test "$enableval" = yes; then
6966 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
6968 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
6973 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
6974 if test "x$LINE" != x
; then
6975 eval "DEFAULT_$LINE"
6980 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
6985 eval "$ac_cv_use_busyinfo"
6986 if test "$no_cache" != 1; then
6987 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
6990 if test "$wxUSE_BUSYINFO" = yes; then
6991 echo "$ac_t""yes" 1>&6
6993 echo "$ac_t""no" 1>&6
6997 echo $ac_n "checking for --enable-joystick""... $ac_c" 1>&6
6998 echo "configure:6999: checking for --enable-joystick" >&5
7000 # Check whether --enable-joystick or --disable-joystick was given.
7001 if test "${enable_joystick+set}" = set; then
7002 enableval
="$enable_joystick"
7004 if test "$enableval" = yes; then
7005 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
7007 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
7012 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
7013 if test "x$LINE" != x
; then
7014 eval "DEFAULT_$LINE"
7019 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
7024 eval "$ac_cv_use_joystick"
7025 if test "$no_cache" != 1; then
7026 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
7029 if test "$wxUSE_JOYSTICK" = yes; then
7030 echo "$ac_t""yes" 1>&6
7032 echo "$ac_t""no" 1>&6
7036 echo $ac_n "checking for --enable-metafile""... $ac_c" 1>&6
7037 echo "configure:7038: checking for --enable-metafile" >&5
7039 # Check whether --enable-metafile or --disable-metafile was given.
7040 if test "${enable_metafile+set}" = set; then
7041 enableval
="$enable_metafile"
7043 if test "$enableval" = yes; then
7044 ac_cv_use_metafile
='wxUSE_METAFILE=yes'
7046 ac_cv_use_metafile
='wxUSE_METAFILE=no'
7051 LINE
=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
7052 if test "x$LINE" != x
; then
7053 eval "DEFAULT_$LINE"
7058 ac_cv_use_metafile
='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
7063 eval "$ac_cv_use_metafile"
7064 if test "$no_cache" != 1; then
7065 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
7068 if test "$wxUSE_METAFILE" = yes; then
7069 echo "$ac_t""yes" 1>&6
7071 echo "$ac_t""no" 1>&6
7077 echo $ac_n "checking for --enable-image""... $ac_c" 1>&6
7078 echo "configure:7079: checking for --enable-image" >&5
7080 # Check whether --enable-image or --disable-image was given.
7081 if test "${enable_image+set}" = set; then
7082 enableval
="$enable_image"
7084 if test "$enableval" = yes; then
7085 ac_cv_use_image
='wxUSE_IMAGE=yes'
7087 ac_cv_use_image
='wxUSE_IMAGE=no'
7092 LINE
=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
7093 if test "x$LINE" != x
; then
7094 eval "DEFAULT_$LINE"
7099 ac_cv_use_image
='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
7104 eval "$ac_cv_use_image"
7105 if test "$no_cache" != 1; then
7106 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
7109 if test "$wxUSE_IMAGE" = yes; then
7110 echo "$ac_t""yes" 1>&6
7112 echo "$ac_t""no" 1>&6
7116 echo $ac_n "checking for --enable-gif""... $ac_c" 1>&6
7117 echo "configure:7118: checking for --enable-gif" >&5
7119 # Check whether --enable-gif or --disable-gif was given.
7120 if test "${enable_gif+set}" = set; then
7121 enableval
="$enable_gif"
7123 if test "$enableval" = yes; then
7124 ac_cv_use_gif
='wxUSE_GIF=yes'
7126 ac_cv_use_gif
='wxUSE_GIF=no'
7131 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
7132 if test "x$LINE" != x
; then
7133 eval "DEFAULT_$LINE"
7138 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
7143 eval "$ac_cv_use_gif"
7144 if test "$no_cache" != 1; then
7145 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
7148 if test "$wxUSE_GIF" = yes; then
7149 echo "$ac_t""yes" 1>&6
7151 echo "$ac_t""no" 1>&6
7155 echo $ac_n "checking for --enable-pcx""... $ac_c" 1>&6
7156 echo "configure:7157: checking for --enable-pcx" >&5
7158 # Check whether --enable-pcx or --disable-pcx was given.
7159 if test "${enable_pcx+set}" = set; then
7160 enableval
="$enable_pcx"
7162 if test "$enableval" = yes; then
7163 ac_cv_use_pcx
='wxUSE_PCX=yes'
7165 ac_cv_use_pcx
='wxUSE_PCX=no'
7170 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
7171 if test "x$LINE" != x
; then
7172 eval "DEFAULT_$LINE"
7177 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
7182 eval "$ac_cv_use_pcx"
7183 if test "$no_cache" != 1; then
7184 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
7187 if test "$wxUSE_PCX" = yes; then
7188 echo "$ac_t""yes" 1>&6
7190 echo "$ac_t""no" 1>&6
7194 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7195 echo "configure:7196: checking for --enable-pnm" >&5
7197 # Check whether --enable-pnm or --disable-pnm was given.
7198 if test "${enable_pnm+set}" = set; then
7199 enableval
="$enable_pnm"
7201 if test "$enableval" = yes; then
7202 ac_cv_use_pnm
='wxUSE_PNM=yes'
7204 ac_cv_use_pnm
='wxUSE_PNM=no'
7209 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
7210 if test "x$LINE" != x
; then
7211 eval "DEFAULT_$LINE"
7216 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
7221 eval "$ac_cv_use_pnm"
7222 if test "$no_cache" != 1; then
7223 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7226 if test "$wxUSE_PNM" = yes; then
7227 echo "$ac_t""yes" 1>&6
7229 echo "$ac_t""no" 1>&6
7233 echo $ac_n "checking for --enable-pnm""... $ac_c" 1>&6
7234 echo "configure:7235: checking for --enable-pnm" >&5
7236 # Check whether --enable-pnm or --disable-pnm was given.
7237 if test "${enable_pnm+set}" = set; then
7238 enableval
="$enable_pnm"
7240 if test "$enableval" = yes; then
7241 ac_cv_use_pnm
='wxUSE_XPM=yes'
7243 ac_cv_use_pnm
='wxUSE_XPM=no'
7248 LINE
=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
7249 if test "x$LINE" != x
; then
7250 eval "DEFAULT_$LINE"
7255 ac_cv_use_pnm
='wxUSE_XPM='$DEFAULT_wxUSE_XPM
7260 eval "$ac_cv_use_pnm"
7261 if test "$no_cache" != 1; then
7262 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
7265 if test "$wxUSE_XPM" = yes; then
7266 echo "$ac_t""yes" 1>&6
7268 echo "$ac_t""no" 1>&6
7275 echo "saving argument cache $wx_arg_cache_file"
7276 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
7280 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
7281 echo "configure:7282: checking for toolkit" >&5
7283 if test "$wxUSE_GUI" = "yes"; then
7285 if test "$USE_BEOS" = 1; then
7286 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
7289 if test "$TOOLKIT_GIVEN" = 1; then
7290 for toolkit
in `echo $ALL_TOOLKITS`; do
7292 eval "value=\$${var}"
7293 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
7296 for toolkit
in `echo $ALL_TOOLKITS`; do
7297 if test "$has_toolkit_in_cache" != 1; then
7298 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
7300 var
=DEFAULT_wxUSE_
$toolkit
7302 eval "wxUSE_$toolkit=\$${var}"
7306 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0} + ${wxUSE_MGL:-0}`
7310 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
7311 # PATH_IFS is autodetected by OS/2's configure (usually ';')
7320 case "$NUM_TOOLKITS" in
7324 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
7327 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
7330 for toolkit
in `echo $ALL_TOOLKITS`; do
7332 eval "value=\$${var}"
7333 if test "x$value" != x
; then
7334 cache_var
=CACHE_
$toolkit
7335 eval "cache=\$${cache_var}"
7336 if test "$cache" = 1; then
7337 echo "$var=$value" >> ${wx_arg_cache_file}
7339 if test "$value" = 1; then
7340 toolkit_echo
=`echo $toolkit | tr [A-Z] [a-z]`
7341 echo "$ac_t""$toolkit_echo" 1>&6
7348 echo "$ac_t""base only" 1>&6
7352 cat > confcache
<<\EOF
7353 # This file is a shell script that caches the results of configure
7354 # tests run on this system so they can be shared between configure
7355 # scripts and configure runs. It is not useful on other systems.
7356 # If it contains results you don't want to keep, you may remove or edit it.
7358 # By default, configure uses ./config.cache as the cache file,
7359 # creating it if it does not exist already. You can give configure
7360 # the --cache-file=FILE option to use a different cache file; that is
7361 # what configure does when it calls configure scripts in
7362 # subdirectories, so they share the cache.
7363 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7364 # config.status only pays attention to the cache file if you give it the
7365 # --recheck option to rerun configure.
7368 # The following way of writing the cache mishandles newlines in values,
7369 # but we know of no workaround that is simple, portable, and efficient.
7370 # So, don't put newlines in cache variables' values.
7371 # Ultrix sh set writes to stderr and can't be redirected directly,
7372 # and sets the high bit in the cache file unless we assign to the vars.
7374 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7376 # `set' does not quote correctly, so add quotes (double-quote substitution
7377 # turns \\\\ into \\, and sed turns \\ into \).
7379 -e "s/'/'\\\\''/g" \
7380 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7383 # `set' quotes correctly as required by POSIX, so do not add quotes.
7384 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7387 if cmp -s $cache_file confcache
; then
7390 if test -w $cache_file; then
7391 echo "updating cache $cache_file"
7392 cat confcache
> $cache_file
7394 echo "not updating unwritable cache $cache_file"
7400 if test "$build" != "$host" ; then
7404 RANLIB
=$host_alias-ranlib
7405 DLLTOOL
=$host_alias-dlltool
7406 RESCOMP
=$host_alias-windres
7409 STRIP
=$host_alias-strip
7412 # Extract the first word of "gcc", so it can be a program name with args.
7413 set dummy gcc
; ac_word
=$2
7414 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7415 echo "configure:7416: checking for $ac_word" >&5
7416 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7417 echo $ac_n "(cached) $ac_c" 1>&6
7419 if test -n "$CC"; then
7420 ac_cv_prog_CC
="$CC" # Let the user override the test.
7422 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7424 for ac_dir
in $ac_dummy; do
7425 test -z "$ac_dir" && ac_dir
=.
7426 if test -f $ac_dir/$ac_word; then
7435 if test -n "$CC"; then
7436 echo "$ac_t""$CC" 1>&6
7438 echo "$ac_t""no" 1>&6
7441 if test -z "$CC"; then
7442 # Extract the first word of "cc", so it can be a program name with args.
7443 set dummy cc
; ac_word
=$2
7444 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7445 echo "configure:7446: checking for $ac_word" >&5
7446 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7447 echo $ac_n "(cached) $ac_c" 1>&6
7449 if test -n "$CC"; then
7450 ac_cv_prog_CC
="$CC" # Let the user override the test.
7452 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7455 for ac_dir
in $ac_dummy; do
7456 test -z "$ac_dir" && ac_dir
=.
7457 if test -f $ac_dir/$ac_word; then
7458 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
7459 ac_prog_rejected
=yes
7467 if test $ac_prog_rejected = yes; then
7468 # We found a bogon in the path, so make sure we never use it.
7469 set dummy
$ac_cv_prog_CC
7471 if test $# -gt 0; then
7472 # We chose a different compiler from the bogus one.
7473 # However, it has the same basename, so the bogon will be chosen
7474 # first if we set CC to just the basename; use the full file name.
7476 set dummy
"$ac_dir/$ac_word" "$@"
7484 if test -n "$CC"; then
7485 echo "$ac_t""$CC" 1>&6
7487 echo "$ac_t""no" 1>&6
7490 if test -z "$CC"; then
7491 case "`uname -s`" in
7493 # Extract the first word of "cl", so it can be a program name with args.
7494 set dummy cl
; ac_word
=$2
7495 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7496 echo "configure:7497: checking for $ac_word" >&5
7497 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
7498 echo $ac_n "(cached) $ac_c" 1>&6
7500 if test -n "$CC"; then
7501 ac_cv_prog_CC
="$CC" # Let the user override the test.
7503 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7505 for ac_dir
in $ac_dummy; do
7506 test -z "$ac_dir" && ac_dir
=.
7507 if test -f $ac_dir/$ac_word; then
7516 if test -n "$CC"; then
7517 echo "$ac_t""$CC" 1>&6
7519 echo "$ac_t""no" 1>&6
7524 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
7527 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7528 echo "configure:7529: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
7531 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7532 ac_cpp
='$CPP $CPPFLAGS'
7533 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7534 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7535 cross_compiling
=$ac_cv_prog_cc_cross
7537 cat > conftest.
$ac_ext << EOF
7539 #line 7540 "configure"
7540 #include "confdefs.h"
7544 if { (eval echo configure
:7545: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7545 ac_cv_prog_cc_works
=yes
7546 # If we can't run a trivial program, we are probably using a cross compiler.
7547 if (.
/conftest
; exit) 2>/dev
/null
; then
7548 ac_cv_prog_cc_cross
=no
7550 ac_cv_prog_cc_cross
=yes
7553 echo "configure: failed program was:" >&5
7554 cat conftest.
$ac_ext >&5
7555 ac_cv_prog_cc_works
=no
7559 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7560 ac_cpp
='$CPP $CPPFLAGS'
7561 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7562 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7563 cross_compiling
=$ac_cv_prog_cc_cross
7565 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
7566 if test $ac_cv_prog_cc_works = no
; then
7567 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
7569 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7570 echo "configure:7571: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
7571 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
7572 cross_compiling
=$ac_cv_prog_cc_cross
7574 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
7575 echo "configure:7576: checking whether we are using GNU C" >&5
7576 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
7577 echo $ac_n "(cached) $ac_c" 1>&6
7579 cat > conftest.c
<<EOF
7584 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:7585: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7591 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
7593 if test $ac_cv_prog_gcc = yes; then
7599 ac_test_CFLAGS
="${CFLAGS+set}"
7600 ac_save_CFLAGS
="$CFLAGS"
7602 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
7603 echo "configure:7604: checking whether ${CC-cc} accepts -g" >&5
7604 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
7605 echo $ac_n "(cached) $ac_c" 1>&6
7607 echo 'void f(){}' > conftest.c
7608 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
7617 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
7618 if test "$ac_test_CFLAGS" = set; then
7619 CFLAGS
="$ac_save_CFLAGS"
7620 elif test $ac_cv_prog_cc_g = yes; then
7621 if test "$GCC" = yes; then
7627 if test "$GCC" = yes; then
7635 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
7637 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
7638 echo "configure:7639: checking how to run the C preprocessor" >&5
7639 # On Suns, sometimes $CPP names a directory.
7640 if test -n "$CPP" && test -d "$CPP"; then
7643 if test -z "$CPP"; then
7644 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
7645 echo $ac_n "(cached) $ac_c" 1>&6
7647 # This must be in double quotes, not single quotes, because CPP may get
7648 # substituted into the Makefile and "${CC-cc}" will confuse make.
7650 # On the NeXT, cc -E runs the code through the compiler's parser,
7651 # not just through cpp.
7652 cat > conftest.
$ac_ext <<EOF
7653 #line 7654 "configure"
7654 #include "confdefs.h"
7658 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7659 { (eval echo configure
:7660: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7660 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7661 if test -z "$ac_err"; then
7665 echo "configure: failed program was:" >&5
7666 cat conftest.
$ac_ext >&5
7668 CPP
="${CC-cc} -E -traditional-cpp"
7669 cat > conftest.
$ac_ext <<EOF
7670 #line 7671 "configure"
7671 #include "confdefs.h"
7675 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7676 { (eval echo configure
:7677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7677 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7678 if test -z "$ac_err"; then
7682 echo "configure: failed program was:" >&5
7683 cat conftest.
$ac_ext >&5
7685 CPP
="${CC-cc} -nologo -E"
7686 cat > conftest.
$ac_ext <<EOF
7687 #line 7688 "configure"
7688 #include "confdefs.h"
7692 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7693 { (eval echo configure
:7694: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7694 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7695 if test -z "$ac_err"; then
7699 echo "configure: failed program was:" >&5
7700 cat conftest.
$ac_ext >&5
7709 ac_cv_prog_CPP
="$CPP"
7711 CPP
="$ac_cv_prog_CPP"
7713 ac_cv_prog_CPP
="$CPP"
7715 echo "$ac_t""$CPP" 1>&6
7718 if test $ac_cv_prog_gcc = yes; then
7719 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
7720 echo "configure:7721: checking whether ${CC-cc} needs -traditional" >&5
7721 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
7722 echo $ac_n "(cached) $ac_c" 1>&6
7724 ac_pattern
="Autoconf.*'x'"
7725 cat > conftest.
$ac_ext <<EOF
7726 #line 7727 "configure"
7727 #include "confdefs.h"
7731 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7732 egrep "$ac_pattern" >/dev
/null
2>&1; then
7734 ac_cv_prog_gcc_traditional
=yes
7737 ac_cv_prog_gcc_traditional
=no
7742 if test $ac_cv_prog_gcc_traditional = no
; then
7743 cat > conftest.
$ac_ext <<EOF
7744 #line 7745 "configure"
7745 #include "confdefs.h"
7749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7750 egrep "$ac_pattern" >/dev
/null
2>&1; then
7752 ac_cv_prog_gcc_traditional
=yes
7759 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
7760 if test $ac_cv_prog_gcc_traditional = yes; then
7761 CC
="$CC -traditional"
7768 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7769 ac_cpp
='$CXXCPP $CPPFLAGS'
7770 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7771 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7772 cross_compiling
=$ac_cv_prog_cxx_cross
7775 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
7777 # Extract the first word of "$ac_prog", so it can be a program name with args.
7778 set dummy
$ac_prog; ac_word
=$2
7779 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7780 echo "configure:7781: checking for $ac_word" >&5
7781 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
7782 echo $ac_n "(cached) $ac_c" 1>&6
7784 if test -n "$CXX"; then
7785 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
7787 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7789 for ac_dir
in $ac_dummy; do
7790 test -z "$ac_dir" && ac_dir
=.
7791 if test -f $ac_dir/$ac_word; then
7792 ac_cv_prog_CXX
="$ac_prog"
7799 CXX
="$ac_cv_prog_CXX"
7800 if test -n "$CXX"; then
7801 echo "$ac_t""$CXX" 1>&6
7803 echo "$ac_t""no" 1>&6
7806 test -n "$CXX" && break
7808 test -n "$CXX" || CXX
="gcc"
7811 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
7812 echo "configure:7813: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
7815 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7816 ac_cpp
='$CXXCPP $CPPFLAGS'
7817 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7818 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7819 cross_compiling
=$ac_cv_prog_cxx_cross
7821 cat > conftest.
$ac_ext << EOF
7823 #line 7824 "configure"
7824 #include "confdefs.h"
7826 int main(){return(0);}
7828 if { (eval echo configure
:7829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7829 ac_cv_prog_cxx_works
=yes
7830 # If we can't run a trivial program, we are probably using a cross compiler.
7831 if (.
/conftest
; exit) 2>/dev
/null
; then
7832 ac_cv_prog_cxx_cross
=no
7834 ac_cv_prog_cxx_cross
=yes
7837 echo "configure: failed program was:" >&5
7838 cat conftest.
$ac_ext >&5
7839 ac_cv_prog_cxx_works
=no
7843 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7844 ac_cpp
='$CXXCPP $CPPFLAGS'
7845 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7846 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7847 cross_compiling
=$ac_cv_prog_cxx_cross
7849 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
7850 if test $ac_cv_prog_cxx_works = no
; then
7851 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
7853 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
7854 echo "configure:7855: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
7855 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
7856 cross_compiling
=$ac_cv_prog_cxx_cross
7858 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
7859 echo "configure:7860: checking whether we are using GNU C++" >&5
7860 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
7861 echo $ac_n "(cached) $ac_c" 1>&6
7863 cat > conftest.C
<<EOF
7868 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:7869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
7875 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
7877 if test $ac_cv_prog_gxx = yes; then
7883 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
7884 ac_save_CXXFLAGS
="$CXXFLAGS"
7886 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
7887 echo "configure:7888: checking whether ${CXX-g++} accepts -g" >&5
7888 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
7889 echo $ac_n "(cached) $ac_c" 1>&6
7891 echo 'void f(){}' > conftest.cc
7892 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
7893 ac_cv_prog_cxx_g
=yes
7901 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
7902 if test "$ac_test_CXXFLAGS" = set; then
7903 CXXFLAGS
="$ac_save_CXXFLAGS"
7904 elif test $ac_cv_prog_cxx_g = yes; then
7905 if test "$GXX" = yes; then
7911 if test "$GXX" = yes; then
7919 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
7920 echo "configure:7921: checking how to run the C++ preprocessor" >&5
7921 if test -z "$CXXCPP"; then
7922 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
7923 echo $ac_n "(cached) $ac_c" 1>&6
7926 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7927 ac_cpp
='$CXXCPP $CPPFLAGS'
7928 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7929 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7930 cross_compiling
=$ac_cv_prog_cxx_cross
7931 CXXCPP
="${CXX-g++} -E"
7932 cat > conftest.
$ac_ext <<EOF
7933 #line 7934 "configure"
7934 #include "confdefs.h"
7937 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7938 { (eval echo configure
:7939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7939 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7940 if test -z "$ac_err"; then
7944 echo "configure: failed program was:" >&5
7945 cat conftest.
$ac_ext >&5
7950 ac_cv_prog_CXXCPP
="$CXXCPP"
7952 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7953 ac_cpp
='$CXXCPP $CPPFLAGS'
7954 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7955 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7956 cross_compiling
=$ac_cv_prog_cxx_cross
7959 CXXCPP
="$ac_cv_prog_CXXCPP"
7960 echo "$ac_t""$CXXCPP" 1>&6
7963 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
7966 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
7967 ac_cpp
='$CPP $CPPFLAGS'
7968 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
7969 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
7970 cross_compiling
=$ac_cv_prog_cc_cross
7973 # Extract the first word of "ranlib", so it can be a program name with args.
7974 set dummy ranlib
; ac_word
=$2
7975 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7976 echo "configure:7977: checking for $ac_word" >&5
7977 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
7978 echo $ac_n "(cached) $ac_c" 1>&6
7980 if test -n "$RANLIB"; then
7981 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
7983 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7985 for ac_dir
in $ac_dummy; do
7986 test -z "$ac_dir" && ac_dir
=.
7987 if test -f $ac_dir/$ac_word; then
7988 ac_cv_prog_RANLIB
="ranlib"
7993 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
7996 RANLIB
="$ac_cv_prog_RANLIB"
7997 if test -n "$RANLIB"; then
7998 echo "$ac_t""$RANLIB" 1>&6
8000 echo "$ac_t""no" 1>&6
8004 # Extract the first word of "ar", so it can be a program name with args.
8005 set dummy
ar; ac_word
=$2
8006 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8007 echo "configure:8008: checking for $ac_word" >&5
8008 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
8009 echo $ac_n "(cached) $ac_c" 1>&6
8011 if test -n "$AR"; then
8012 ac_cv_prog_AR
="$AR" # Let the user override the test.
8014 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8016 for ac_dir
in $ac_dummy; do
8017 test -z "$ac_dir" && ac_dir
=.
8018 if test -f $ac_dir/$ac_word; then
8024 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
8028 if test -n "$AR"; then
8029 echo "$ac_t""$AR" 1>&6
8031 echo "$ac_t""no" 1>&6
8035 # Find a good install program. We prefer a C program (faster),
8036 # so one script is as good as another. But avoid the broken or
8037 # incompatible versions:
8038 # SysV /etc/install, /usr/sbin/install
8039 # SunOS /usr/etc/install
8040 # IRIX /sbin/install
8042 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
8043 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
8044 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
8045 # ./install, which can be erroneously created by make from ./install.sh.
8046 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
8047 echo "configure:8048: checking for a BSD compatible install" >&5
8048 if test -z "$INSTALL"; then
8049 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
8050 echo $ac_n "(cached) $ac_c" 1>&6
8052 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
8053 for ac_dir
in $PATH; do
8054 # Account for people who put trailing slashes in PATH elements.
8056 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
8058 # OSF1 and SCO ODT 3.0 have their own names for install.
8059 # Don't use installbsd from OSF since it installs stuff as root
8061 for ac_prog
in ginstall scoinst
install; do
8062 if test -f $ac_dir/$ac_prog; then
8063 if test $ac_prog = install &&
8064 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
8065 # AIX install. It has an incompatible calling convention.
8068 ac_cv_path_install
="$ac_dir/$ac_prog -c"
8079 if test "${ac_cv_path_install+set}" = set; then
8080 INSTALL
="$ac_cv_path_install"
8082 # As a last resort, use the slow shell script. We don't cache a
8083 # path for INSTALL within a source directory, because that will
8084 # break other packages using the cache if that directory is
8085 # removed, or if the path is relative.
8086 INSTALL
="$ac_install_sh"
8089 echo "$ac_t""$INSTALL" 1>&6
8091 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
8092 # It thinks the first close brace ends the variable substitution.
8093 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
8095 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
8097 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
8100 # Extract the first word of "strip", so it can be a program name with args.
8101 set dummy strip
; ac_word
=$2
8102 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8103 echo "configure:8104: checking for $ac_word" >&5
8104 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
8105 echo $ac_n "(cached) $ac_c" 1>&6
8107 if test -n "$STRIP"; then
8108 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
8110 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8112 for ac_dir
in $ac_dummy; do
8113 test -z "$ac_dir" && ac_dir
=.
8114 if test -f $ac_dir/$ac_word; then
8115 ac_cv_prog_STRIP
="strip"
8120 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
8123 STRIP
="$ac_cv_prog_STRIP"
8124 if test -n "$STRIP"; then
8125 echo "$ac_t""$STRIP" 1>&6
8127 echo "$ac_t""no" 1>&6
8131 echo $ac_n "checking make for VPATH support""... $ac_c" 1>&6
8132 echo "configure:8133: checking make for VPATH support" >&5
8133 cat - << EOF > confMake
8139 if test ! -d sub
; then
8142 echo dummy
> sub
/file
8143 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
8145 rm -f sub
/file check final_file confMake
8147 if test "$RESULT" = 0; then
8148 echo "$ac_t""yes" 1>&6
8150 echo "$ac_t""no" 1>&6
8151 { echo "configure: error:
8152 You need a make-utility that is able to use the variable
8154 If your version of make does not support VPATH correctly,
8155 please install GNU-make (possibly as gmake), and start
8156 configure with the following command:
8157 export MAKE=gmake; ./configure for sh-type shells
8158 setenv MAKE gmake; ./configure for csh-type shells
8159 Also please do remember to use gmake in this case every time
8160 you are trying to compile.
8164 for ac_prog
in 'bison -y' byacc
8166 # Extract the first word of "$ac_prog", so it can be a program name with args.
8167 set dummy
$ac_prog; ac_word
=$2
8168 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8169 echo "configure:8170: checking for $ac_word" >&5
8170 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
8171 echo $ac_n "(cached) $ac_c" 1>&6
8173 if test -n "$YACC"; then
8174 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
8176 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8178 for ac_dir
in $ac_dummy; do
8179 test -z "$ac_dir" && ac_dir
=.
8180 if test -f $ac_dir/$ac_word; then
8181 ac_cv_prog_YACC
="$ac_prog"
8188 YACC
="$ac_cv_prog_YACC"
8189 if test -n "$YACC"; then
8190 echo "$ac_t""$YACC" 1>&6
8192 echo "$ac_t""no" 1>&6
8195 test -n "$YACC" && break
8197 test -n "$YACC" || YACC
="yacc"
8200 # Extract the first word of "flex", so it can be a program name with args.
8201 set dummy flex
; ac_word
=$2
8202 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8203 echo "configure:8204: checking for $ac_word" >&5
8204 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
8205 echo $ac_n "(cached) $ac_c" 1>&6
8207 if test -n "$LEX"; then
8208 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
8210 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8212 for ac_dir
in $ac_dummy; do
8213 test -z "$ac_dir" && ac_dir
=.
8214 if test -f $ac_dir/$ac_word; then
8215 ac_cv_prog_LEX
="flex"
8220 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
8223 LEX
="$ac_cv_prog_LEX"
8224 if test -n "$LEX"; then
8225 echo "$ac_t""$LEX" 1>&6
8227 echo "$ac_t""no" 1>&6
8230 if test -z "$LEXLIB"
8236 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
8237 echo "configure:8238: checking for yywrap in -l$ac_lib" >&5
8238 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
8239 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8240 echo $ac_n "(cached) $ac_c" 1>&6
8242 ac_save_LIBS
="$LIBS"
8243 LIBS
="-l$ac_lib $LIBS"
8244 cat > conftest.
$ac_ext <<EOF
8245 #line 8246 "configure"
8246 #include "confdefs.h"
8247 /* Override any gcc2 internal prototype to avoid an error. */
8248 /* We use char because int might match the return type of a gcc2
8249 builtin and then its argument prototype would still apply. */
8256 if { (eval echo configure
:8257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8258 eval "ac_cv_lib_$ac_lib_var=yes"
8260 echo "configure: failed program was:" >&5
8261 cat conftest.
$ac_ext >&5
8263 eval "ac_cv_lib_$ac_lib_var=no"
8266 LIBS
="$ac_save_LIBS"
8269 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8270 echo "$ac_t""yes" 1>&6
8273 echo "$ac_t""no" 1>&6
8279 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
8280 echo "configure:8281: checking whether ln -s works" >&5
8281 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
8282 echo $ac_n "(cached) $ac_c" 1>&6
8285 if ln -s X conftestdata
2>/dev
/null
8288 ac_cv_prog_LN_S
="ln -s"
8293 LN_S
="$ac_cv_prog_LN_S"
8294 if test "$ac_cv_prog_LN_S" = "ln -s"; then
8295 echo "$ac_t""yes" 1>&6
8297 echo "$ac_t""no" 1>&6
8303 /usr/local/include \
8305 /usr/Motif-1.2/include \
8306 /usr/Motif-2.1/include \
8308 /usr/include/Motif1.2 \
8309 /opt/xpm/include/X11 \
8310 /opt/GBxpm/include/ \
8311 /opt/GBxpm/X11/include/ \
8313 /usr/Motif1.2/include \
8315 /usr/openwin/include \
8319 /usr/X11R6/include \
8320 /usr/X11R6.4/include \
8321 /usr/X11R5/include \
8322 /usr/X11R4/include \
8324 /usr/include/X11R6 \
8325 /usr/include/X11R5 \
8326 /usr/include/X11R4 \
8328 /usr/local/X11R6/include \
8329 /usr/local/X11R5/include \
8330 /usr/local/X11R4/include \
8332 /usr/local/include/X11R6 \
8333 /usr/local/include/X11R5 \
8334 /usr/local/include/X11R4 \
8338 /usr/local/X11/include \
8339 /usr/local/include/X11 \
8343 /usr/XFree86/include/X11 \
8345 X:/XFree86/include \
8346 X:/XFree86/include/X11 \
8349 /usr/local/include/gtk \
8351 /usr/local/include/glib \
8354 /usr/local/include/qt \
8356 /usr/include/windows \
8358 /usr/local/include/wine \
8360 /usr/unsupported/include \
8361 /usr/athena/include \
8362 /usr/local/x11r5/include \
8363 /usr/lpp/Xamples/include \
8365 /usr/openwin/share/include \
8369 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
8372 cat > confcache
<<\EOF
8373 # This file is a shell script that caches the results of configure
8374 # tests run on this system so they can be shared between configure
8375 # scripts and configure runs. It is not useful on other systems.
8376 # If it contains results you don't want to keep, you may remove or edit it.
8378 # By default, configure uses ./config.cache as the cache file,
8379 # creating it if it does not exist already. You can give configure
8380 # the --cache-file=FILE option to use a different cache file; that is
8381 # what configure does when it calls configure scripts in
8382 # subdirectories, so they share the cache.
8383 # Giving --cache-file=/dev/null disables caching, for debugging configure.
8384 # config.status only pays attention to the cache file if you give it the
8385 # --recheck option to rerun configure.
8388 # The following way of writing the cache mishandles newlines in values,
8389 # but we know of no workaround that is simple, portable, and efficient.
8390 # So, don't put newlines in cache variables' values.
8391 # Ultrix sh set writes to stderr and can't be redirected directly,
8392 # and sets the high bit in the cache file unless we assign to the vars.
8394 case `(ac_space=' '; set | grep ac_space) 2>&1` in
8396 # `set' does not quote correctly, so add quotes (double-quote substitution
8397 # turns \\\\ into \\, and sed turns \\ into \).
8399 -e "s/'/'\\\\''/g" \
8400 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
8403 # `set' quotes correctly as required by POSIX, so do not add quotes.
8404 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
8407 if cmp -s $cache_file confcache
; then
8410 if test -w $cache_file; then
8411 echo "updating cache $cache_file"
8412 cat confcache
> $cache_file
8414 echo "not updating unwritable cache $cache_file"
8423 if test "$wxUSE_GUI" = "yes"; then
8438 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
8439 if test "$cross_compiling" = "yes" ; then
8440 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
8442 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
8443 echo "configure:8444: checking for Windows headers" >&5
8446 for ac_dir
in $SEARCH_INCLUDE;
8448 if test -f "$ac_dir/windows.h"; then
8449 ac_find_includes
=$ac_dir
8454 if test "$ac_find_includes" != "" ; then
8455 echo "$ac_t""found $ac_find_includes" 1>&6
8456 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
8458 echo "$ac_t""no" 1>&6
8459 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
8463 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
8464 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
8466 if test "$wxUSE_ODBC" = "yes" ; then
8467 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
8470 if test "$wxUSE_MINGW" = 1; then
8471 LDFLAGS
="$LDFLAGS -mwindows"
8477 RCINCSWITCH
="--include-dir"
8478 RCDEFSWITCH
="--define"
8479 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
8482 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
8484 RESPROGRAM
="\$(RES_PROGRAM)"
8487 if test "$wxUSE_GTK" = 1; then
8488 echo $ac_n "checking for GTK+ version""... $ac_c" 1>&6
8489 echo "configure:8490: checking for GTK+ version" >&5
8491 gtk_version_cached
=1
8492 if eval "test \"`echo '$''{'wx_cv_lib_gtk'+set}'`\" = set"; then
8493 echo $ac_n "(cached) $ac_c" 1>&6
8496 gtk_version_cached
=0
8497 echo "$ac_t""""" 1>&6
8500 if test "x$wxUSE_GTK2" = "xyes"; then
8501 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
8502 if test "${with_gtk_prefix+set}" = set; then
8503 withval
="$with_gtk_prefix"
8504 gtk_config_prefix
="$withval"
8506 gtk_config_prefix
=""
8509 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
8510 if test "${with_gtk_exec_prefix+set}" = set; then
8511 withval
="$with_gtk_exec_prefix"
8512 gtk_config_exec_prefix
="$withval"
8514 gtk_config_exec_prefix
=""
8517 # Check whether --enable-gtktest or --disable-gtktest was given.
8518 if test "${enable_gtktest+set}" = set; then
8519 enableval
="$enable_gtktest"
8530 gtk_config_args
="$gtk_config_args gthread"
8535 if test x
$gtk_config_exec_prefix != x
; then
8536 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8537 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8538 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
8541 if test x
$gtk_config_prefix != x
; then
8542 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8543 if test x
${GTK_CONFIG_2_0+set} != xset
; then
8544 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
8548 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
8549 set dummy gtk
-config-2.0
; ac_word
=$2
8550 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8551 echo "configure:8552: checking for $ac_word" >&5
8552 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
8553 echo $ac_n "(cached) $ac_c" 1>&6
8555 case "$GTK_CONFIG_2_0" in
8557 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
8560 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
8563 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8565 for ac_dir
in $ac_dummy; do
8566 test -z "$ac_dir" && ac_dir
=.
8567 if test -f $ac_dir/$ac_word; then
8568 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
8573 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
8577 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
8578 if test -n "$GTK_CONFIG_2_0"; then
8579 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
8581 echo "$ac_t""no" 1>&6
8584 min_gtk_version
=1.3.1
8585 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8586 echo "configure:8587: checking for GTK - version >= $min_gtk_version" >&5
8588 if test "$GTK_CONFIG_2_0" = "no" ; then
8591 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
8592 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
8593 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8594 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
8595 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8596 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
8597 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
8598 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
8599 if test "x$enable_gtktest" = "xyes" ; then
8600 ac_save_CFLAGS
="$CFLAGS"
8601 ac_save_LIBS
="$LIBS"
8602 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8603 LIBS
="$GTK_LIBS $LIBS"
8605 if test "$cross_compiling" = yes; then
8606 echo $ac_n "cross compiling; assumed OK... $ac_c"
8608 cat > conftest.
$ac_ext <<EOF
8609 #line 8610 "configure"
8610 #include "confdefs.h"
8612 #include <gtk/gtk.h>
8619 int major, minor, micro;
8622 system ("touch conf.gtktest");
8624 /* HP/UX 9 (%@#!) writes to sscanf strings */
8625 tmp_version = g_strdup("$min_gtk_version");
8626 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
8627 printf("%s, bad version string\n", "$min_gtk_version");
8631 if ((gtk_major_version != $gtk_config_major_version) ||
8632 (gtk_minor_version != $gtk_config_minor_version) ||
8633 (gtk_micro_version != $gtk_config_micro_version))
8635 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
8636 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
8637 gtk_major_version, gtk_minor_version, gtk_micro_version);
8638 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
8639 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
8640 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
8641 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
8642 printf("*** required on your system.\n");
8643 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
8644 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
8645 printf("*** before re-running configure\n");
8647 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
8648 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
8649 (gtk_minor_version != GTK_MINOR_VERSION) ||
8650 (gtk_micro_version != GTK_MICRO_VERSION))
8652 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
8653 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
8654 printf("*** library (version %d.%d.%d)\n",
8655 gtk_major_version, gtk_minor_version, gtk_micro_version);
8657 #endif /* defined (GTK_MAJOR_VERSION) ... */
8660 if ((gtk_major_version > major) ||
8661 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8662 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
8668 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
8669 gtk_major_version, gtk_minor_version, gtk_micro_version);
8670 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
8671 major, minor, micro);
8672 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
8674 printf("*** If you have already installed a sufficiently new version, this error\n");
8675 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
8676 printf("*** being found. The easiest way to fix this is to remove the old version\n");
8677 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
8678 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
8679 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
8680 printf("*** so that the correct libraries are found at run-time))\n");
8687 if { (eval echo configure
:8688: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8691 echo "configure: failed program was:" >&5
8692 cat conftest.
$ac_ext >&5
8699 CFLAGS
="$ac_save_CFLAGS"
8700 LIBS
="$ac_save_LIBS"
8703 if test "x$no_gtk" = x
; then
8704 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
8707 echo "$ac_t""no" 1>&6
8708 if test "$GTK_CONFIG_2_0" = "no" ; then
8709 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
8710 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
8711 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
8712 echo "*** full path to gtk-config-2.0."
8714 if test -f conf.gtktest
; then
8717 echo "*** Could not run GTK test program, checking why..."
8718 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8719 LIBS
="$LIBS $GTK_LIBS"
8720 cat > conftest.
$ac_ext <<EOF
8721 #line 8722 "configure"
8722 #include "confdefs.h"
8724 #include <gtk/gtk.h>
8728 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
8731 if { (eval echo configure
:8732: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8733 echo "*** The test program compiled, but did not run. This usually means"
8734 echo "*** that the run-time linker is not finding GTK or finding the wrong"
8735 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
8736 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
8737 echo "*** to the installed location Also, make sure you have run ldconfig if that"
8738 echo "*** is required on your system"
8740 echo "*** If you have an old version installed, it is best to remove it, although"
8741 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
8743 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
8744 echo "*** came with the system with the command"
8746 echo "*** rpm --erase --nodeps gtk gtk-devel"
8748 echo "configure: failed program was:" >&5
8749 cat conftest.
$ac_ext >&5
8751 echo "*** The test program failed to compile or link. See the file config.log for the"
8752 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
8753 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
8754 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
8757 CFLAGS
="$ac_save_CFLAGS"
8758 LIBS
="$ac_save_LIBS"
8771 if test -z "$wx_cv_lib_gtk"; then
8773 if test x
$gtk_config_exec_prefix != x
; then
8774 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8775 if test x
${GTK_CONFIG+set} != xset
; then
8776 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
8779 if test x
$gtk_config_prefix != x
; then
8780 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8781 if test x
${GTK_CONFIG+set} != xset
; then
8782 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
8786 # Extract the first word of "gtk-config", so it can be a program name with args.
8787 set dummy gtk
-config; ac_word
=$2
8788 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8789 echo "configure:8790: checking for $ac_word" >&5
8790 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8791 echo $ac_n "(cached) $ac_c" 1>&6
8793 case "$GTK_CONFIG" in
8795 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
8798 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
8801 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8803 for ac_dir
in $ac_dummy; do
8804 test -z "$ac_dir" && ac_dir
=.
8805 if test -f $ac_dir/$ac_word; then
8806 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
8811 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
8815 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
8816 if test -n "$GTK_CONFIG"; then
8817 echo "$ac_t""$GTK_CONFIG" 1>&6
8819 echo "$ac_t""no" 1>&6
8822 min_gtk_version
=1.2.7
8823 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8824 echo "configure:8825: checking for GTK - version >= $min_gtk_version" >&5
8826 if test "$GTK_CONFIG" != "no" ; then
8827 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
8828 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
8829 ac_save_CFLAGS
="$CFLAGS"
8830 ac_save_LIBS
="$LIBS"
8831 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8832 LIBS
="$LIBS $GTK_LIBS"
8833 if test "$cross_compiling" = yes; then
8834 echo $ac_n "cross compiling; assumed OK... $ac_c"
8836 cat > conftest.
$ac_ext <<EOF
8837 #line 8838 "configure"
8838 #include "confdefs.h"
8840 #include <gtk/gtk.h>
8841 #include <gtk/gtkfeatures.h>
8848 int major, minor, micro;
8850 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
8851 printf("%s, bad version string\n", "$min_gtk_version");
8855 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
8856 (GTK_MINOR_VERSION != gtk_minor_version) ||
8857 (GTK_MICRO_VERSION != gtk_micro_version)) {
8858 printf("Headers vs. library version mismatch!\n");
8862 if (gtk_minor_version == 1) return FALSE;
8864 return !((gtk_major_version > major) ||
8865 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8866 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
8870 if { (eval echo configure
:8871: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8874 echo "configure: failed program was:" >&5
8875 cat conftest.
$ac_ext >&5
8882 CFLAGS
="$ac_save_CFLAGS"
8883 LIBS
="$ac_save_LIBS"
8887 if test "x$no_gtk" = x
; then
8888 echo "$ac_t""yes" 1>&6
8891 echo "$ac_t""no" 1>&6
8901 if test -z "$wx_cv_lib_gtk"; then
8903 if test x
$gtk_config_exec_prefix != x
; then
8904 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
8905 if test x
${GTK_CONFIG+set} != xset
; then
8906 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
8909 if test x
$gtk_config_prefix != x
; then
8910 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
8911 if test x
${GTK_CONFIG+set} != xset
; then
8912 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
8916 # Extract the first word of "gtk-config", so it can be a program name with args.
8917 set dummy gtk
-config; ac_word
=$2
8918 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
8919 echo "configure:8920: checking for $ac_word" >&5
8920 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
8921 echo $ac_n "(cached) $ac_c" 1>&6
8923 case "$GTK_CONFIG" in
8925 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
8928 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
8931 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
8933 for ac_dir
in $ac_dummy; do
8934 test -z "$ac_dir" && ac_dir
=.
8935 if test -f $ac_dir/$ac_word; then
8936 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
8941 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
8945 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
8946 if test -n "$GTK_CONFIG"; then
8947 echo "$ac_t""$GTK_CONFIG" 1>&6
8949 echo "$ac_t""no" 1>&6
8952 min_gtk_version
=1.2.3
8953 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
8954 echo "configure:8955: checking for GTK - version >= $min_gtk_version" >&5
8956 if test "$GTK_CONFIG" != "no" ; then
8957 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
8958 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
8959 ac_save_CFLAGS
="$CFLAGS"
8960 ac_save_LIBS
="$LIBS"
8961 CFLAGS
="$CFLAGS $GTK_CFLAGS"
8962 LIBS
="$LIBS $GTK_LIBS"
8963 if test "$cross_compiling" = yes; then
8964 echo $ac_n "cross compiling; assumed OK... $ac_c"
8966 cat > conftest.
$ac_ext <<EOF
8967 #line 8968 "configure"
8968 #include "confdefs.h"
8970 #include <gtk/gtk.h>
8971 #include <gtk/gtkfeatures.h>
8978 int major, minor, micro;
8980 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
8981 printf("%s, bad version string\n", "$min_gtk_version");
8985 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
8986 (GTK_MINOR_VERSION != gtk_minor_version) ||
8987 (GTK_MICRO_VERSION != gtk_micro_version)) {
8988 printf("Headers vs. library version mismatch!\n");
8992 if (gtk_minor_version == 1) return FALSE;
8994 return !((gtk_major_version > major) ||
8995 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
8996 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
9000 if { (eval echo configure
:9001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9004 echo "configure: failed program was:" >&5
9005 cat conftest.
$ac_ext >&5
9012 CFLAGS
="$ac_save_CFLAGS"
9013 LIBS
="$ac_save_LIBS"
9017 if test "x$no_gtk" = x
; then
9018 echo "$ac_t""yes" 1>&6
9021 echo "$ac_t""no" 1>&6
9031 if test -z "$wx_cv_lib_gtk"; then
9034 wx_cv_cflags_gtk
=$GTK_CFLAGS
9035 wx_cv_libs_gtk
=$GTK_LIBS
9042 if test "$gtk_version_cached" = 1; then
9043 echo "$ac_t""$wx_cv_lib_gtk" 1>&6
9046 case "$wx_cv_lib_gtk" in
9053 *) { echo "configure: error:
9054 Please check that gtk-config is in path, the directory
9055 where GTK+ libraries are installed (returned by
9056 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
9057 equivalent variable and GTK+ is version 1.2.3 or above.
9062 TOOLKIT_INCLUDE
="$wx_cv_cflags_gtk"
9063 GUI_TK_LIBRARY
="$wx_cv_libs_gtk"
9065 AFMINSTALL
=afminstall
9069 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
9070 echo "configure:9071: checking for gdk_im_open in -lgdk" >&5
9071 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
9072 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9073 echo $ac_n "(cached) $ac_c" 1>&6
9075 ac_save_LIBS
="$LIBS"
9077 cat > conftest.
$ac_ext <<EOF
9078 #line 9079 "configure"
9079 #include "confdefs.h"
9080 /* Override any gcc2 internal prototype to avoid an error. */
9081 /* We use char because int might match the return type of a gcc2
9082 builtin and then its argument prototype would still apply. */
9089 if { (eval echo configure
:9090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9091 eval "ac_cv_lib_$ac_lib_var=yes"
9093 echo "configure: failed program was:" >&5
9094 cat conftest.
$ac_ext >&5
9096 eval "ac_cv_lib_$ac_lib_var=no"
9099 LIBS
="$ac_save_LIBS"
9102 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9103 echo "$ac_t""yes" 1>&6
9104 cat >> confdefs.h
<<\EOF
9109 echo "$ac_t""no" 1>&6
9114 if test "$wxUSE_MGL" = 1; then
9116 echo $ac_n "checking for SciTech MGL library""... $ac_c" 1>&6
9117 echo "configure:9118: checking for SciTech MGL library" >&5
9118 if test "x$MGL_ROOT" = x
; then
9119 echo "$ac_t""not found" 1>&6
9120 { echo "configure: error: Cannot find MGL library. Make sure MGL_ROOT is set." 1>&2; exit 1; }
9122 echo "$ac_t""$MGL_ROOT" 1>&6
9125 MGL_OS
=linux
/gcc
/glibc
9128 if test "$wxUSE_DEBUG_FLAG" = yes ; then
9129 if test -f $MGL_ROOT/lib
/debug
/$MGL_OS/libmgl.a
; then
9133 if test "x$MGL_LIB_TYPE" = x
; then
9134 if test -f $MGL_ROOT/lib
/release
/$MGL_OS/libmgl.a
; then
9135 MGL_LIB_TYPE
=release
9137 { echo "configure: error: Cannot find MGL libraries, make sure they are compiled." 1>&2; exit 1; }
9141 TOOLKIT_INCLUDE
="-I$MGL_ROOT/include"
9142 GUI_TK_LIBRARY
="-L$MGL_ROOT/lib/$MGL_LIB_TYPE/$MGL_OS -lmgl -lmglcpp -lpm"
9144 AFMINSTALL
=afminstall
9149 if test "$wxUSE_WINE" = 1; then
9150 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
9151 echo "configure:9152: checking for WINE includes" >&5
9154 for ac_dir
in $SEARCH_INCLUDE;
9156 if test -f "$ac_dir/windows.h"; then
9157 ac_find_includes
=$ac_dir
9162 if test "$ac_find_includes" != "" ; then
9163 echo "$ac_t""found $ac_find_includes" 1>&6
9164 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
9166 echo "$ac_t""no" 1>&6
9167 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
9171 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
9172 echo "configure:9173: checking for Xpm library" >&5
9175 for ac_dir
in $SEARCH_LIB;
9177 for ac_extension
in a so sl
; do
9178 if test -f "$ac_dir/libXpm.$ac_extension"; then
9179 ac_find_libraries
=$ac_dir
9185 if test "$ac_find_libraries" != "" ; then
9186 GUI_TK_LIBRARY
="-L$ac_find_libraries"
9188 cat >> confdefs.h
<<\EOF
9189 #define wxHAVE_LIB_XPM 1
9192 echo "$ac_t""found at $ac_find_libraries" 1>&6
9194 echo "$ac_t""no" 1>&6
9195 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
9199 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
9200 echo "configure:9201: checking for Mesa library" >&5
9203 for ac_dir
in $SEARCH_LIB;
9205 for ac_extension
in a so sl
; do
9206 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
9207 ac_find_libraries
=$ac_dir
9213 if test "$ac_find_libraries" != "" ; then
9214 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
9215 MESA_LINK
="-lMesaGL"
9216 echo "$ac_t""found at $ac_find_libraries" 1>&6
9218 { echo "configure: error: no" 1>&2; exit 1; }
9221 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
9222 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
9229 # If we find X, set shell vars x_includes and x_libraries to the
9230 # paths, otherwise set no_x=yes.
9231 # Uses ac_ vars as temps to allow command line to override cache and checks.
9232 # --without-x overrides everything else, but does not touch the cache.
9233 echo $ac_n "checking for X""... $ac_c" 1>&6
9234 echo "configure:9235: checking for X" >&5
9236 # Check whether --with-x or --without-x was given.
9237 if test "${with_x+set}" = set; then
9242 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
9243 if test "x$with_x" = xno
; then
9244 # The user explicitly disabled X.
9247 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
9248 # Both variables are already set.
9251 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
9252 echo $ac_n "(cached) $ac_c" 1>&6
9254 # One or both of the vars are not set, and there is no cached value.
9255 ac_x_includes
=NO ac_x_libraries
=NO
9257 if mkdir conftestdir
; then
9259 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
9260 cat > Imakefile
<<'EOF'
9262 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
9264 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
9265 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9266 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
9267 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9268 for ac_extension
in a so sl
; do
9269 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
9270 test -f $ac_im_libdir/libX11.
$ac_extension; then
9271 ac_im_usrlibdir
=$ac_im_libdir; break
9274 # Screen out bogus values from the imake configuration. They are
9275 # bogus both because they are the default anyway, and because
9276 # using them would break gcc on systems where it needs fixed includes.
9277 case "$ac_im_incroot" in
9279 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
9281 case "$ac_im_usrlibdir" in
9283 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
9290 if test "$ac_x_includes" = NO
; then
9291 # Guess where to find include files, by looking for this one X11 .h file.
9292 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
9294 # First, try using that file with no special directory specified.
9295 cat > conftest.
$ac_ext <<EOF
9296 #line 9297 "configure"
9297 #include "confdefs.h"
9298 #include <$x_direct_test_include>
9300 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9301 { (eval echo configure
:9302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9302 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9303 if test -z "$ac_err"; then
9305 # We can compile using X headers with no special include directory.
9309 echo "configure: failed program was:" >&5
9310 cat conftest.
$ac_ext >&5
9312 # Look for the header file in a standard set of common directories.
9313 # Check X11 before X11Rn because it is often a symlink to the current release.
9316 /usr
/X
11R
6/include \
9317 /usr
/X
11R
5/include \
9318 /usr
/X
11R
4/include \
9321 /usr
/include
/X11R6 \
9322 /usr
/include
/X11R5 \
9323 /usr
/include
/X11R4 \
9325 /usr
/local
/X
11/include \
9326 /usr
/local
/X
11R
6/include \
9327 /usr
/local
/X
11R
5/include \
9328 /usr
/local
/X
11R
4/include \
9330 /usr
/local
/include
/X11 \
9331 /usr
/local
/include
/X11R6 \
9332 /usr
/local
/include
/X11R5 \
9333 /usr
/local
/include
/X11R4 \
9337 /usr
/XFree
86/include
/X11 \
9340 /usr
/local
/include \
9341 /usr
/unsupported
/include \
9342 /usr
/athena
/include \
9343 /usr
/local
/x
11r
5/include \
9344 /usr
/lpp
/Xamples
/include \
9346 /usr
/openwin
/include \
9347 /usr
/openwin
/share
/include \
9350 if test -r "$ac_dir/$x_direct_test_include"; then
9351 ac_x_includes
=$ac_dir
9357 fi # $ac_x_includes = NO
9359 if test "$ac_x_libraries" = NO
; then
9360 # Check for the libraries.
9362 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
9363 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
9365 # See if we find them without any special options.
9366 # Don't add to $LIBS permanently.
9367 ac_save_LIBS
="$LIBS"
9368 LIBS
="-l$x_direct_test_library $LIBS"
9369 cat > conftest.
$ac_ext <<EOF
9370 #line 9371 "configure"
9371 #include "confdefs.h"
9374 ${x_direct_test_function}()
9377 if { (eval echo configure
:9378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9379 LIBS
="$ac_save_LIBS"
9380 # We can link X programs with no special library path.
9383 echo "configure: failed program was:" >&5
9384 cat conftest.
$ac_ext >&5
9386 LIBS
="$ac_save_LIBS"
9387 # First see if replacing the include by lib works.
9388 # Check X11 before X11Rn because it is often a symlink to the current release.
9389 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
9400 /usr
/local
/X
11/lib \
9401 /usr
/local
/X
11R
6/lib \
9402 /usr
/local
/X
11R
5/lib \
9403 /usr
/local
/X
11R
4/lib \
9405 /usr
/local
/lib
/X11 \
9406 /usr
/local
/lib
/X11R6 \
9407 /usr
/local
/lib
/X11R5 \
9408 /usr
/local
/lib
/X11R4 \
9412 /usr
/XFree
86/lib
/X11 \
9416 /usr
/unsupported
/lib \
9418 /usr
/local
/x
11r
5/lib \
9419 /usr
/lpp
/Xamples
/lib \
9423 /usr
/openwin
/share
/lib \
9426 for ac_extension
in a so sl
; do
9427 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
9428 ac_x_libraries
=$ac_dir
9435 fi # $ac_x_libraries = NO
9437 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
9438 # Didn't find X anywhere. Cache the known absence of X.
9439 ac_cv_have_x
="have_x=no"
9441 # Record where we found X for the cache.
9442 ac_cv_have_x
="have_x=yes \
9443 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
9447 eval "$ac_cv_have_x"
9450 if test "$have_x" != yes; then
9451 echo "$ac_t""$have_x" 1>&6
9454 # If each of the values was on the command line, it overrides each guess.
9455 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
9456 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
9457 # Update the cache value to reflect the command line values.
9458 ac_cv_have_x
="have_x=yes \
9459 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
9460 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
9463 if test "$no_x" = yes; then
9464 # Not all programs may use this symbol, but it does not hurt to define it.
9465 cat >> confdefs.h
<<\EOF
9466 #define X_DISPLAY_MISSING 1
9469 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
9471 if test -n "$x_includes"; then
9472 X_CFLAGS
="$X_CFLAGS -I$x_includes"
9475 # It would also be nice to do this for all -L options, not just this one.
9476 if test -n "$x_libraries"; then
9477 X_LIBS
="$X_LIBS -L$x_libraries"
9478 # For Solaris; some versions of Sun CC require a space after -R and
9479 # others require no space. Words are not sufficient . . . .
9480 case "`(uname -sr) 2>/dev/null`" in
9482 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
9483 echo "configure:9484: checking whether -R must be followed by a space" >&5
9484 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
9485 cat > conftest.
$ac_ext <<EOF
9486 #line 9487 "configure"
9487 #include "confdefs.h"
9493 if { (eval echo configure
:9494: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9497 echo "configure: failed program was:" >&5
9498 cat conftest.
$ac_ext >&5
9503 if test $ac_R_nospace = yes; then
9504 echo "$ac_t""no" 1>&6
9505 X_LIBS
="$X_LIBS -R$x_libraries"
9507 LIBS
="$ac_xsave_LIBS -R $x_libraries"
9508 cat > conftest.
$ac_ext <<EOF
9509 #line 9510 "configure"
9510 #include "confdefs.h"
9516 if { (eval echo configure
:9517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9520 echo "configure: failed program was:" >&5
9521 cat conftest.
$ac_ext >&5
9526 if test $ac_R_space = yes; then
9527 echo "$ac_t""yes" 1>&6
9528 X_LIBS
="$X_LIBS -R $x_libraries"
9530 echo "$ac_t""neither works" 1>&6
9533 LIBS
="$ac_xsave_LIBS"
9537 # Check for system-dependent libraries X programs must link with.
9538 # Do this before checking for the system-independent R6 libraries
9539 # (-lICE), since we may need -lsocket or whatever for X linking.
9541 if test "$ISC" = yes; then
9542 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
9544 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
9545 # libraries were built with DECnet support. And karl@cs.umb.edu says
9546 # the Alpha needs dnet_stub (dnet does not exist).
9547 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
9548 echo "configure:9549: checking for dnet_ntoa in -ldnet" >&5
9549 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9550 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9551 echo $ac_n "(cached) $ac_c" 1>&6
9553 ac_save_LIBS
="$LIBS"
9555 cat > conftest.
$ac_ext <<EOF
9556 #line 9557 "configure"
9557 #include "confdefs.h"
9558 /* Override any gcc2 internal prototype to avoid an error. */
9559 /* We use char because int might match the return type of a gcc2
9560 builtin and then its argument prototype would still apply. */
9567 if { (eval echo configure
:9568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9569 eval "ac_cv_lib_$ac_lib_var=yes"
9571 echo "configure: failed program was:" >&5
9572 cat conftest.
$ac_ext >&5
9574 eval "ac_cv_lib_$ac_lib_var=no"
9577 LIBS
="$ac_save_LIBS"
9580 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9581 echo "$ac_t""yes" 1>&6
9582 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
9584 echo "$ac_t""no" 1>&6
9587 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
9588 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
9589 echo "configure:9590: checking for dnet_ntoa in -ldnet_stub" >&5
9590 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
9591 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9592 echo $ac_n "(cached) $ac_c" 1>&6
9594 ac_save_LIBS
="$LIBS"
9595 LIBS
="-ldnet_stub $LIBS"
9596 cat > conftest.
$ac_ext <<EOF
9597 #line 9598 "configure"
9598 #include "confdefs.h"
9599 /* Override any gcc2 internal prototype to avoid an error. */
9600 /* We use char because int might match the return type of a gcc2
9601 builtin and then its argument prototype would still apply. */
9608 if { (eval echo configure
:9609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9610 eval "ac_cv_lib_$ac_lib_var=yes"
9612 echo "configure: failed program was:" >&5
9613 cat conftest.
$ac_ext >&5
9615 eval "ac_cv_lib_$ac_lib_var=no"
9618 LIBS
="$ac_save_LIBS"
9621 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9622 echo "$ac_t""yes" 1>&6
9623 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
9625 echo "$ac_t""no" 1>&6
9630 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9631 # to get the SysV transport functions.
9632 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
9634 # The nsl library prevents programs from opening the X display
9635 # on Irix 5.2, according to dickey@clark.net.
9636 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
9637 echo "configure:9638: checking for gethostbyname" >&5
9638 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
9639 echo $ac_n "(cached) $ac_c" 1>&6
9641 cat > conftest.
$ac_ext <<EOF
9642 #line 9643 "configure"
9643 #include "confdefs.h"
9644 /* System header to define __stub macros and hopefully few prototypes,
9645 which can conflict with char gethostbyname(); below. */
9647 /* Override any gcc2 internal prototype to avoid an error. */
9648 /* We use char because int might match the return type of a gcc2
9649 builtin and then its argument prototype would still apply. */
9650 char gethostbyname();
9654 /* The GNU C library defines this for functions which it implements
9655 to always fail with ENOSYS. Some functions are actually named
9656 something starting with __ and the normal name is an alias. */
9657 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
9665 if { (eval echo configure
:9666: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9667 eval "ac_cv_func_gethostbyname=yes"
9669 echo "configure: failed program was:" >&5
9670 cat conftest.
$ac_ext >&5
9672 eval "ac_cv_func_gethostbyname=no"
9677 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
9678 echo "$ac_t""yes" 1>&6
9681 echo "$ac_t""no" 1>&6
9684 if test $ac_cv_func_gethostbyname = no
; then
9685 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
9686 echo "configure:9687: checking for gethostbyname in -lnsl" >&5
9687 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
9688 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9689 echo $ac_n "(cached) $ac_c" 1>&6
9691 ac_save_LIBS
="$LIBS"
9693 cat > conftest.
$ac_ext <<EOF
9694 #line 9695 "configure"
9695 #include "confdefs.h"
9696 /* Override any gcc2 internal prototype to avoid an error. */
9697 /* We use char because int might match the return type of a gcc2
9698 builtin and then its argument prototype would still apply. */
9699 char gethostbyname();
9705 if { (eval echo configure
:9706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9707 eval "ac_cv_lib_$ac_lib_var=yes"
9709 echo "configure: failed program was:" >&5
9710 cat conftest.
$ac_ext >&5
9712 eval "ac_cv_lib_$ac_lib_var=no"
9715 LIBS
="$ac_save_LIBS"
9718 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9719 echo "$ac_t""yes" 1>&6
9720 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
9722 echo "$ac_t""no" 1>&6
9727 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9728 # socket/setsockopt and other routines are undefined under SCO ODT
9729 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9730 # on later versions), says simon@lia.di.epfl.ch: it contains
9731 # gethostby* variants that don't use the nameserver (or something).
9732 # -lsocket must be given before -lnsl if both are needed.
9733 # We assume that if connect needs -lnsl, so does gethostbyname.
9734 echo $ac_n "checking for connect""... $ac_c" 1>&6
9735 echo "configure:9736: checking for connect" >&5
9736 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
9737 echo $ac_n "(cached) $ac_c" 1>&6
9739 cat > conftest.
$ac_ext <<EOF
9740 #line 9741 "configure"
9741 #include "confdefs.h"
9742 /* System header to define __stub macros and hopefully few prototypes,
9743 which can conflict with char connect(); below. */
9745 /* Override any gcc2 internal prototype to avoid an error. */
9746 /* We use char because int might match the return type of a gcc2
9747 builtin and then its argument prototype would still apply. */
9752 /* The GNU C library defines this for functions which it implements
9753 to always fail with ENOSYS. Some functions are actually named
9754 something starting with __ and the normal name is an alias. */
9755 #if defined (__stub_connect) || defined (__stub___connect)
9763 if { (eval echo configure
:9764: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9765 eval "ac_cv_func_connect=yes"
9767 echo "configure: failed program was:" >&5
9768 cat conftest.
$ac_ext >&5
9770 eval "ac_cv_func_connect=no"
9775 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
9776 echo "$ac_t""yes" 1>&6
9779 echo "$ac_t""no" 1>&6
9782 if test $ac_cv_func_connect = no
; then
9783 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
9784 echo "configure:9785: checking for connect in -lsocket" >&5
9785 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
9786 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9787 echo $ac_n "(cached) $ac_c" 1>&6
9789 ac_save_LIBS
="$LIBS"
9790 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
9791 cat > conftest.
$ac_ext <<EOF
9792 #line 9793 "configure"
9793 #include "confdefs.h"
9794 /* Override any gcc2 internal prototype to avoid an error. */
9795 /* We use char because int might match the return type of a gcc2
9796 builtin and then its argument prototype would still apply. */
9803 if { (eval echo configure
:9804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9805 eval "ac_cv_lib_$ac_lib_var=yes"
9807 echo "configure: failed program was:" >&5
9808 cat conftest.
$ac_ext >&5
9810 eval "ac_cv_lib_$ac_lib_var=no"
9813 LIBS
="$ac_save_LIBS"
9816 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9817 echo "$ac_t""yes" 1>&6
9818 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
9820 echo "$ac_t""no" 1>&6
9825 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
9826 echo $ac_n "checking for remove""... $ac_c" 1>&6
9827 echo "configure:9828: checking for remove" >&5
9828 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
9829 echo $ac_n "(cached) $ac_c" 1>&6
9831 cat > conftest.
$ac_ext <<EOF
9832 #line 9833 "configure"
9833 #include "confdefs.h"
9834 /* System header to define __stub macros and hopefully few prototypes,
9835 which can conflict with char remove(); below. */
9837 /* Override any gcc2 internal prototype to avoid an error. */
9838 /* We use char because int might match the return type of a gcc2
9839 builtin and then its argument prototype would still apply. */
9844 /* The GNU C library defines this for functions which it implements
9845 to always fail with ENOSYS. Some functions are actually named
9846 something starting with __ and the normal name is an alias. */
9847 #if defined (__stub_remove) || defined (__stub___remove)
9855 if { (eval echo configure
:9856: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9857 eval "ac_cv_func_remove=yes"
9859 echo "configure: failed program was:" >&5
9860 cat conftest.
$ac_ext >&5
9862 eval "ac_cv_func_remove=no"
9867 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
9868 echo "$ac_t""yes" 1>&6
9871 echo "$ac_t""no" 1>&6
9874 if test $ac_cv_func_remove = no
; then
9875 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
9876 echo "configure:9877: checking for remove in -lposix" >&5
9877 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
9878 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9879 echo $ac_n "(cached) $ac_c" 1>&6
9881 ac_save_LIBS
="$LIBS"
9882 LIBS
="-lposix $LIBS"
9883 cat > conftest.
$ac_ext <<EOF
9884 #line 9885 "configure"
9885 #include "confdefs.h"
9886 /* Override any gcc2 internal prototype to avoid an error. */
9887 /* We use char because int might match the return type of a gcc2
9888 builtin and then its argument prototype would still apply. */
9895 if { (eval echo configure
:9896: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9897 eval "ac_cv_lib_$ac_lib_var=yes"
9899 echo "configure: failed program was:" >&5
9900 cat conftest.
$ac_ext >&5
9902 eval "ac_cv_lib_$ac_lib_var=no"
9905 LIBS
="$ac_save_LIBS"
9908 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9909 echo "$ac_t""yes" 1>&6
9910 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
9912 echo "$ac_t""no" 1>&6
9917 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9918 echo $ac_n "checking for shmat""... $ac_c" 1>&6
9919 echo "configure:9920: checking for shmat" >&5
9920 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
9921 echo $ac_n "(cached) $ac_c" 1>&6
9923 cat > conftest.
$ac_ext <<EOF
9924 #line 9925 "configure"
9925 #include "confdefs.h"
9926 /* System header to define __stub macros and hopefully few prototypes,
9927 which can conflict with char shmat(); below. */
9929 /* Override any gcc2 internal prototype to avoid an error. */
9930 /* We use char because int might match the return type of a gcc2
9931 builtin and then its argument prototype would still apply. */
9936 /* The GNU C library defines this for functions which it implements
9937 to always fail with ENOSYS. Some functions are actually named
9938 something starting with __ and the normal name is an alias. */
9939 #if defined (__stub_shmat) || defined (__stub___shmat)
9947 if { (eval echo configure
:9948: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9949 eval "ac_cv_func_shmat=yes"
9951 echo "configure: failed program was:" >&5
9952 cat conftest.
$ac_ext >&5
9954 eval "ac_cv_func_shmat=no"
9959 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
9960 echo "$ac_t""yes" 1>&6
9963 echo "$ac_t""no" 1>&6
9966 if test $ac_cv_func_shmat = no
; then
9967 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
9968 echo "configure:9969: checking for shmat in -lipc" >&5
9969 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
9970 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9971 echo $ac_n "(cached) $ac_c" 1>&6
9973 ac_save_LIBS
="$LIBS"
9975 cat > conftest.
$ac_ext <<EOF
9976 #line 9977 "configure"
9977 #include "confdefs.h"
9978 /* Override any gcc2 internal prototype to avoid an error. */
9979 /* We use char because int might match the return type of a gcc2
9980 builtin and then its argument prototype would still apply. */
9987 if { (eval echo configure
:9988: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9989 eval "ac_cv_lib_$ac_lib_var=yes"
9991 echo "configure: failed program was:" >&5
9992 cat conftest.
$ac_ext >&5
9994 eval "ac_cv_lib_$ac_lib_var=no"
9997 LIBS
="$ac_save_LIBS"
10000 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10001 echo "$ac_t""yes" 1>&6
10002 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
10004 echo "$ac_t""no" 1>&6
10010 # Check for libraries that X11R6 Xt/Xaw programs need.
10011 ac_save_LDFLAGS
="$LDFLAGS"
10012 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
10013 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
10014 # check for ICE first), but we must link in the order -lSM -lICE or
10015 # we get undefined symbols. So assume we have SM if we have ICE.
10016 # These have to be linked with before -lX11, unlike the other
10017 # libraries we check for below, so use a different variable.
10018 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
10019 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
10020 echo "configure:10021: checking for IceConnectionNumber in -lICE" >&5
10021 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
10022 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10023 echo $ac_n "(cached) $ac_c" 1>&6
10025 ac_save_LIBS
="$LIBS"
10026 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
10027 cat > conftest.
$ac_ext <<EOF
10028 #line 10029 "configure"
10029 #include "confdefs.h"
10030 /* Override any gcc2 internal prototype to avoid an error. */
10031 /* We use char because int might match the return type of a gcc2
10032 builtin and then its argument prototype would still apply. */
10033 char IceConnectionNumber();
10036 IceConnectionNumber()
10039 if { (eval echo configure
:10040: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10041 eval "ac_cv_lib_$ac_lib_var=yes"
10043 echo "configure: failed program was:" >&5
10044 cat conftest.
$ac_ext >&5
10046 eval "ac_cv_lib_$ac_lib_var=no"
10049 LIBS
="$ac_save_LIBS"
10052 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10053 echo "$ac_t""yes" 1>&6
10054 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
10056 echo "$ac_t""no" 1>&6
10059 LDFLAGS
="$ac_save_LDFLAGS"
10063 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
10064 LDFLAGS
="$LDFLAGS $X_LIBS"
10066 if test "$wxUSE_MOTIF" = 1; then
10067 if test "$no_x" = "yes"; then
10068 { echo "configure: error: X11 not found" 1>&2; exit 1; }
10071 GUI_TK_LIBRARY
="$X_LIBS"
10072 TOOLKIT_INCLUDE
="$X_CFLAGS"
10074 AFMINSTALL
=afminstall
10077 COMPILED_X_PROGRAM
=0
10079 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
10080 echo "configure:10081: checking for Motif/Lesstif headers" >&5
10083 for ac_dir
in $SEARCH_INCLUDE;
10085 if test -f "$ac_dir/Xm/Xm.h"; then
10086 ac_find_includes
=$ac_dir
10091 if test "$ac_find_includes" != "" ; then
10092 echo "$ac_t""found $ac_find_includes" 1>&6
10094 cat > conftest.
$ac_ext <<EOF
10095 #line 10096 "configure"
10096 #include "confdefs.h"
10104 version = xmUseVersion;
10108 if { (eval echo configure
:10109: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10111 echo "$ac_t""found in default search path" 1>&6
10112 COMPILED_X_PROGRAM
=1
10115 echo "configure: failed program was:" >&5
10116 cat conftest.
$ac_ext >&5
10119 echo "$ac_t""no" 1>&6
10120 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
10127 if test "$COMPILED_X_PROGRAM" = 0; then
10128 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
10129 echo "configure:10130: checking for Motif/Lesstif library" >&5
10132 for ac_dir
in $SEARCH_LIB;
10134 for ac_extension
in a so sl
; do
10135 if test -f "$ac_dir/libXm.$ac_extension"; then
10136 ac_find_libraries
=$ac_dir
10142 if test "$ac_find_libraries" != "" ; then
10144 ac_path_to_include
=$ac_find_includes
10145 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
10147 if test $result = 0; then
10148 ac_path_to_include
=""
10150 ac_path_to_include
="-I$ac_find_includes"
10154 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10156 if test $result = 0; then
10159 ac_path_to_link
="-L$ac_find_libraries"
10163 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10164 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
10165 echo "$ac_t""found at $ac_find_libraries" 1>&6
10167 cat > conftest.
$ac_ext <<EOF
10168 #line 10169 "configure"
10169 #include "confdefs.h"
10177 version = xmUseVersion;
10181 if { (eval echo configure
:10182: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10184 echo "$ac_t""found in default search path" 1>&6
10185 COMPILED_X_PROGRAM
=1
10188 echo "configure: failed program was:" >&5
10189 cat conftest.
$ac_ext >&5
10192 echo "$ac_t""no" 1>&6
10193 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
10203 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
10204 echo "configure:10205: checking for Xpm library" >&5
10207 for ac_dir
in $SEARCH_LIB;
10209 for ac_extension
in a so sl
; do
10210 if test -f "$ac_dir/libXpm.$ac_extension"; then
10211 ac_find_libraries
=$ac_dir
10217 if test "$ac_find_libraries" != "" ; then
10219 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
10221 if test $result = 0; then
10224 ac_path_to_link
="-L$ac_find_libraries"
10227 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
10229 cat >> confdefs.h
<<\EOF
10230 #define wxHAVE_LIB_XPM 1
10233 echo "$ac_t""found at $ac_find_libraries" 1>&6
10235 cat > conftest.
$ac_ext <<EOF
10236 #line 10237 "configure"
10237 #include "confdefs.h"
10239 #include <X11/xpm.h>
10245 version = XpmLibraryVersion();
10249 if { (eval echo configure
:10250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10253 cat >> confdefs.h
<<\EOF
10254 #define wxHAVE_LIB_XPM 1
10257 echo "$ac_t""found in default search path" 1>&6
10258 COMPILED_X_PROGRAM
=0
10261 echo "configure: failed program was:" >&5
10262 cat conftest.
$ac_ext >&5
10265 echo "$ac_t""no" 1>&6
10266 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
10273 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
10274 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
10279 if test "$wxUSE_MAC" = 1; then
10284 if test "$wxUSE_PM" = 1; then
10289 if test "$TOOLKIT" != "PM" ; then
10290 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
10295 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10297 TOOLKIT_VPATH
="\${top_srcdir}/src/${TOOLKIT_DIR}"
10299 if test "$TOOLKIT_NAME" = "motif"; then
10300 TOOLKIT_VPATH
="${TOOLKIT_VPATH}${PATH_IFS}\${top_srcdir}/src/motif/xmcombo"
10303 if test "$wxUSE_UNIVERSAL" = "yes"; then
10304 TOOLKIT_NAME
="${TOOLKIT_NAME}univ"
10305 UNIV_VPATH
="\${top_srcdir}/src/univ${PATH_IFS}\${top_srcdir}/src/univ/themes"
10306 TOOLKIT_VPATH
="${UNIV_VPATH}${PATH_IFS}${TOOLKIT_VPATH}"
10309 SETUPH_DIR
="${TOOLKIT_DIR}"
10312 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10313 TOOLKIT_NAME
="${TOOLKIT_NAME}d"
10316 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
10317 if test "$wxUSE_UNIVERSAL" = "yes"; then
10318 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXUNIVERSAL__"
10321 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10323 if test "$wxUSE_UNIVERSAL" = "yes"; then
10324 ALL_OBJECTS
="\$(GUI_LOWLEVEL_OBJS) \${UNIVOBJS}"
10326 ALL_OBJECTS
="\$(GUIOBJS)"
10329 ALL_OBJECTS
="${ALL_OBJECTS} \$(COMMONOBJS) \$(GENERICOBJS)"
10331 if test "$TOOLKIT" != "MSW"; then
10332 ALL_OBJECTS
="${ALL_OBJECTS} \$(UNIXOBJS)"
10335 if test "$wxUSE_HTML" = "yes"; then
10336 ALL_OBJECTS
="${ALL_OBJECTS} \$(HTMLOBJS)"
10339 if test "$TOOLKIT" != "MSW"; then
10340 if test "$wxUSE_ODBC" = "yes" ; then
10341 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
10345 if test "$wxUSE_LIBJPEG" = "yes" ; then
10346 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
10348 if test "$wxUSE_LIBTIFF" = "yes" ; then
10349 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
10351 if test "$wxUSE_LIBPNG" = "yes" ; then
10352 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
10354 if test "$wxUSE_ZLIB" = "yes" ; then
10355 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10357 if test "$wxUSE_FREETYPE" = "yes" ; then
10358 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
10361 if test "$wxUSE_UNIVERSAL" = "yes"; then
10362 ALL_DEPFILES
="\$(GUI_LOWLEVEL_DEPS) \$(UNIVDEPS)"
10364 ALL_DEPFILES
="\$(GUIDEPS)"
10367 ALL_DEPFILES
="${ALL_DEPFILES} \$(COMMONDEPS) \$(GENERICDEPS)"
10369 if test "$TOOLKIT" != "MSW"; then
10370 ALL_DEPFILES
="${ALL_DEPFILES} \$(UNIXDEPS)"
10373 if test "$wxUSE_HTML" = "yes"; then
10374 ALL_DEPFILES
="${ALL_DEPFILES} \$(HTMLDEPS)"
10377 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
10378 if test "$wxUSE_UNIVERSAL" = "yes"; then
10379 PORT_FILES
="${PORT_FILES} \${top_srcdir}/src/univ/files.lst"
10381 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
10382 RPM_SPEC
="wx\$(TOOLKIT).spec"
10384 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
10385 DISTDIR
="wx\$(TOOLKIT)"
10391 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
10392 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
10394 TOOLKIT_NAME
="${TOOLKIT_DIR}"
10397 TOOLKIT_DEF
="-D__WXBASE__"
10399 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
10400 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
10402 if test "$wxUSE_ZLIB" = "yes" ; then
10403 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
10406 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
10408 PORT_FILES
="src/files.lst"
10409 RPM_FILES
="src/rpmfiles.lst"
10410 RPM_SPEC
="wxBase.spec"
10412 GUIDIST
="BASE_DIST"
10416 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
10417 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
10419 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
10420 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
10422 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10423 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10425 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
10426 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
10427 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
10428 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
10429 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
10430 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
10436 BURNT_LIBRARY_NAME
=
10437 WX_TARGET_LIBRARY_SONAME
=
10440 if test "$wxUSE_SHARED" = "yes"; then
10443 if test "$GCC" = yes ; then
10444 SHARED_LD
="${CC} -shared -fPIC -o"
10447 LDFLAGS
="-L/usr/lib"
10449 SHARED_LD
="${CXX} -b -o"
10452 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
10453 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
10454 if test "$wxUSE_OPENGL" = "yes"; then
10455 WX_ALL_INSTALLED
="preinstall_gl"
10456 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
10458 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
10463 SHARED_LD
="${CC} -shared -o"
10465 if test "$wxUSE_BURNT_NAME" = "yes" ; then
10466 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
10467 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
10468 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
10470 if test "$wxUSE_OPENGL" = "yes"; then
10471 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10472 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10474 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10475 WX_ALL
="CREATE_LINKS"
10478 *-*-irix5* | *-*-irix6* )
10479 if test "$GCC" = yes ; then
10480 SHARED_LD
="${CC} -shared -o"
10483 SHARED_LD
="${CXX} -shared -o"
10485 if test "$wxUSE_OPENGL" = "yes"; then
10486 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10487 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10489 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10490 WX_ALL
="CREATE_LINKS"
10494 if test "$GCC" = yes ; then
10495 SHARED_LD
="${CC} -shared -o"
10498 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
10500 SHARED_LD
="${CXX} -G -o"
10503 if test "$wxUSE_OPENGL" = "yes"; then
10504 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10505 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10507 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10508 WX_ALL
="CREATE_LINKS"
10512 SHARED_LD
="${CC} -shared -o"
10514 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10515 WX_ALL
="CREATE_LINKS"
10517 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* )
10518 SHARED_LD
="${CC} -shared -o"
10520 if test "$wxUSE_OPENGL" = "yes"; then
10521 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10522 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10524 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10525 WX_ALL
="CREATE_LINKS"
10529 SHARED_LD
="${CXX} -dynamiclib -o"
10530 PIC_FLAG
="-dynamic -fPIC"
10531 if test "$wxUSE_OPENGL" = "yes"; then
10532 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
10533 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
10535 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10536 WX_ALL
="CREATE_LINKS"
10538 WX_ALL
="${WX_ALL} ./lib/lib${WX_LIBRARY}-${WX_RELEASE}.r"
10539 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10540 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
10541 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib.${WX_CURRENT}"
10542 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.dylib"
10543 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.dylib"
10544 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib.${WX_CURRENT}"
10545 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.dylib"
10546 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.dylib"
10549 SHARED_LD
="${CXX} -shared -o"
10551 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10552 WX_ALL
="CREATE_LINKS"
10555 SHARED_LD
="${CXX} -shared -o"
10557 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10558 WX_ALL
="CREATE_LINKS"
10561 SHARED_LD
="${CC} -shared -o"
10563 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10564 WX_ALL
="CREATE_LINKS"
10567 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
10568 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
10571 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10572 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10573 if test "$wxUSE_OPENGL" = "yes"; then
10574 WX_ALL_INSTALLED
="preinstall_gl"
10575 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10577 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10581 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10582 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10583 if test "$wxUSE_OPENGL" = "yes"; then
10584 WX_ALL_INSTALLED
="preinstall_gl"
10585 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10587 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10591 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10592 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10595 SHARED_LD
="${LD} -shared -o"
10597 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
10598 WX_ALL
="CREATE_LINKS"
10601 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
10604 if test "x$WX_TARGET_LIBRARY" = "x"; then
10605 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
10606 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
10608 WX_TARGET_LIBRARY_TYPE
="so"
10610 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
10611 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
10613 if test "$wxUSE_OPENGL" = "yes"; then
10614 WX_ALL_INSTALLED
="preinstall_gl"
10615 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
10617 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
10620 if test "$wxUSE_GUI" = "no"; then
10621 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
10624 WX_TARGET_LIBRARY_TYPE
="a"
10628 for ac_hdr
in strings.h
10630 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10631 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10632 echo "configure:10633: checking for $ac_hdr" >&5
10633 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10634 echo $ac_n "(cached) $ac_c" 1>&6
10636 cat > conftest.
$ac_ext <<EOF
10637 #line 10638 "configure"
10638 #include "confdefs.h"
10641 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10642 { (eval echo configure
:10643: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10643 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10644 if test -z "$ac_err"; then
10646 eval "ac_cv_header_$ac_safe=yes"
10649 echo "configure: failed program was:" >&5
10650 cat conftest.
$ac_ext >&5
10652 eval "ac_cv_header_$ac_safe=no"
10656 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10657 echo "$ac_t""yes" 1>&6
10658 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10659 cat >> confdefs.h
<<EOF
10660 #define $ac_tr_hdr 1
10664 echo "$ac_t""no" 1>&6
10668 for ac_hdr
in stdlib.h
10670 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10671 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10672 echo "configure:10673: checking for $ac_hdr" >&5
10673 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10674 echo $ac_n "(cached) $ac_c" 1>&6
10676 cat > conftest.
$ac_ext <<EOF
10677 #line 10678 "configure"
10678 #include "confdefs.h"
10681 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10682 { (eval echo configure
:10683: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10683 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10684 if test -z "$ac_err"; then
10686 eval "ac_cv_header_$ac_safe=yes"
10689 echo "configure: failed program was:" >&5
10690 cat conftest.
$ac_ext >&5
10692 eval "ac_cv_header_$ac_safe=no"
10696 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10697 echo "$ac_t""yes" 1>&6
10698 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10699 cat >> confdefs.h
<<EOF
10700 #define $ac_tr_hdr 1
10704 echo "$ac_t""no" 1>&6
10708 for ac_hdr
in unistd.h
10710 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10711 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10712 echo "configure:10713: checking for $ac_hdr" >&5
10713 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10714 echo $ac_n "(cached) $ac_c" 1>&6
10716 cat > conftest.
$ac_ext <<EOF
10717 #line 10718 "configure"
10718 #include "confdefs.h"
10721 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10722 { (eval echo configure
:10723: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10723 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10724 if test -z "$ac_err"; then
10726 eval "ac_cv_header_$ac_safe=yes"
10729 echo "configure: failed program was:" >&5
10730 cat conftest.
$ac_ext >&5
10732 eval "ac_cv_header_$ac_safe=no"
10736 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10737 echo "$ac_t""yes" 1>&6
10738 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10739 cat >> confdefs.h
<<EOF
10740 #define $ac_tr_hdr 1
10744 echo "$ac_t""no" 1>&6
10748 for ac_hdr
in wchar.h
10750 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10751 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10752 echo "configure:10753: checking for $ac_hdr" >&5
10753 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10754 echo $ac_n "(cached) $ac_c" 1>&6
10756 cat > conftest.
$ac_ext <<EOF
10757 #line 10758 "configure"
10758 #include "confdefs.h"
10761 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10762 { (eval echo configure
:10763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10763 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10764 if test -z "$ac_err"; then
10766 eval "ac_cv_header_$ac_safe=yes"
10769 echo "configure: failed program was:" >&5
10770 cat conftest.
$ac_ext >&5
10772 eval "ac_cv_header_$ac_safe=no"
10776 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10777 echo "$ac_t""yes" 1>&6
10778 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10779 cat >> confdefs.h
<<EOF
10780 #define $ac_tr_hdr 1
10784 echo "$ac_t""no" 1>&6
10788 for ac_hdr
in wcstr.h
10790 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10791 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10792 echo "configure:10793: checking for $ac_hdr" >&5
10793 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10794 echo $ac_n "(cached) $ac_c" 1>&6
10796 cat > conftest.
$ac_ext <<EOF
10797 #line 10798 "configure"
10798 #include "confdefs.h"
10801 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10802 { (eval echo configure
:10803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10803 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10804 if test -z "$ac_err"; then
10806 eval "ac_cv_header_$ac_safe=yes"
10809 echo "configure: failed program was:" >&5
10810 cat conftest.
$ac_ext >&5
10812 eval "ac_cv_header_$ac_safe=no"
10816 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10817 echo "$ac_t""yes" 1>&6
10818 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10819 cat >> confdefs.h
<<EOF
10820 #define $ac_tr_hdr 1
10824 echo "$ac_t""no" 1>&6
10828 for ac_hdr
in fnmatch.h
10830 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10831 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10832 echo "configure:10833: checking for $ac_hdr" >&5
10833 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10834 echo $ac_n "(cached) $ac_c" 1>&6
10836 cat > conftest.
$ac_ext <<EOF
10837 #line 10838 "configure"
10838 #include "confdefs.h"
10841 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10842 { (eval echo configure
:10843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10843 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10844 if test -z "$ac_err"; then
10846 eval "ac_cv_header_$ac_safe=yes"
10849 echo "configure: failed program was:" >&5
10850 cat conftest.
$ac_ext >&5
10852 eval "ac_cv_header_$ac_safe=no"
10856 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10857 echo "$ac_t""yes" 1>&6
10858 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10859 cat >> confdefs.h
<<EOF
10860 #define $ac_tr_hdr 1
10864 echo "$ac_t""no" 1>&6
10868 for ac_hdr
in iconv.h
10870 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10871 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10872 echo "configure:10873: checking for $ac_hdr" >&5
10873 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10874 echo $ac_n "(cached) $ac_c" 1>&6
10876 cat > conftest.
$ac_ext <<EOF
10877 #line 10878 "configure"
10878 #include "confdefs.h"
10881 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10882 { (eval echo configure
:10883: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10883 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10884 if test -z "$ac_err"; then
10886 eval "ac_cv_header_$ac_safe=yes"
10889 echo "configure: failed program was:" >&5
10890 cat conftest.
$ac_ext >&5
10892 eval "ac_cv_header_$ac_safe=no"
10896 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10897 echo "$ac_t""yes" 1>&6
10898 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10899 cat >> confdefs.h
<<EOF
10900 #define $ac_tr_hdr 1
10904 echo "$ac_t""no" 1>&6
10908 for ac_hdr
in langinfo.h
10910 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10911 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10912 echo "configure:10913: checking for $ac_hdr" >&5
10913 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10914 echo $ac_n "(cached) $ac_c" 1>&6
10916 cat > conftest.
$ac_ext <<EOF
10917 #line 10918 "configure"
10918 #include "confdefs.h"
10921 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10922 { (eval echo configure
:10923: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10923 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10924 if test -z "$ac_err"; then
10926 eval "ac_cv_header_$ac_safe=yes"
10929 echo "configure: failed program was:" >&5
10930 cat conftest.
$ac_ext >&5
10932 eval "ac_cv_header_$ac_safe=no"
10936 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10937 echo "$ac_t""yes" 1>&6
10938 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10939 cat >> confdefs.h
<<EOF
10940 #define $ac_tr_hdr 1
10944 echo "$ac_t""no" 1>&6
10949 if test "$wxUSE_GUI" = "yes"; then
10950 if test "$wxUSE_UNIX" = "yes"; then
10951 for ac_hdr
in X
11/XKBlib.h
10953 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10954 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10955 echo "configure:10956: checking for $ac_hdr" >&5
10956 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10957 echo $ac_n "(cached) $ac_c" 1>&6
10959 cat > conftest.
$ac_ext <<EOF
10960 #line 10961 "configure"
10961 #include "confdefs.h"
10964 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10965 { (eval echo configure
:10966: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10966 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10967 if test -z "$ac_err"; then
10969 eval "ac_cv_header_$ac_safe=yes"
10972 echo "configure: failed program was:" >&5
10973 cat conftest.
$ac_ext >&5
10975 eval "ac_cv_header_$ac_safe=no"
10979 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10980 echo "$ac_t""yes" 1>&6
10981 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10982 cat >> confdefs.h
<<EOF
10983 #define $ac_tr_hdr 1
10987 echo "$ac_t""no" 1>&6
10995 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
10996 echo "configure:10997: checking for ANSI C header files" >&5
10997 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
10998 echo $ac_n "(cached) $ac_c" 1>&6
11000 cat > conftest.
$ac_ext <<EOF
11001 #line 11002 "configure"
11002 #include "confdefs.h"
11003 #include <stdlib.h>
11004 #include <stdarg.h>
11005 #include <string.h>
11008 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11009 { (eval echo configure
:11010: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11010 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11011 if test -z "$ac_err"; then
11013 ac_cv_header_stdc
=yes
11016 echo "configure: failed program was:" >&5
11017 cat conftest.
$ac_ext >&5
11019 ac_cv_header_stdc
=no
11023 if test $ac_cv_header_stdc = yes; then
11024 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
11025 cat > conftest.
$ac_ext <<EOF
11026 #line 11027 "configure"
11027 #include "confdefs.h"
11028 #include <string.h>
11030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11031 egrep "memchr" >/dev
/null
2>&1; then
11035 ac_cv_header_stdc
=no
11041 if test $ac_cv_header_stdc = yes; then
11042 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
11043 cat > conftest.
$ac_ext <<EOF
11044 #line 11045 "configure"
11045 #include "confdefs.h"
11046 #include <stdlib.h>
11048 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11049 egrep "free" >/dev
/null
2>&1; then
11053 ac_cv_header_stdc
=no
11059 if test $ac_cv_header_stdc = yes; then
11060 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
11061 if test "$cross_compiling" = yes; then
11064 cat > conftest.
$ac_ext <<EOF
11065 #line 11066 "configure"
11066 #include "confdefs.h"
11068 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
11069 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
11070 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
11071 int main () { int i; for (i = 0; i < 256; i++)
11072 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
11076 if { (eval echo configure
:11077: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11080 echo "configure: failed program was:" >&5
11081 cat conftest.
$ac_ext >&5
11083 ac_cv_header_stdc
=no
11091 echo "$ac_t""$ac_cv_header_stdc" 1>&6
11092 if test $ac_cv_header_stdc = yes; then
11093 cat >> confdefs.h
<<\EOF
11094 #define STDC_HEADERS 1
11099 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
11100 echo "configure:11101: checking for mode_t" >&5
11101 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
11102 echo $ac_n "(cached) $ac_c" 1>&6
11104 cat > conftest.
$ac_ext <<EOF
11105 #line 11106 "configure"
11106 #include "confdefs.h"
11107 #include <sys/types.h>
11109 #include <stdlib.h>
11110 #include <stddef.h>
11113 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11114 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11116 ac_cv_type_mode_t
=yes
11119 ac_cv_type_mode_t
=no
11124 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
11125 if test $ac_cv_type_mode_t = no
; then
11126 cat >> confdefs.h
<<\EOF
11132 echo $ac_n "checking for off_t""... $ac_c" 1>&6
11133 echo "configure:11134: checking for off_t" >&5
11134 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
11135 echo $ac_n "(cached) $ac_c" 1>&6
11137 cat > conftest.
$ac_ext <<EOF
11138 #line 11139 "configure"
11139 #include "confdefs.h"
11140 #include <sys/types.h>
11142 #include <stdlib.h>
11143 #include <stddef.h>
11146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11147 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11149 ac_cv_type_off_t
=yes
11152 ac_cv_type_off_t
=no
11157 echo "$ac_t""$ac_cv_type_off_t" 1>&6
11158 if test $ac_cv_type_off_t = no
; then
11159 cat >> confdefs.h
<<\EOF
11165 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
11166 echo "configure:11167: checking for pid_t" >&5
11167 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
11168 echo $ac_n "(cached) $ac_c" 1>&6
11170 cat > conftest.
$ac_ext <<EOF
11171 #line 11172 "configure"
11172 #include "confdefs.h"
11173 #include <sys/types.h>
11175 #include <stdlib.h>
11176 #include <stddef.h>
11179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11180 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11182 ac_cv_type_pid_t
=yes
11185 ac_cv_type_pid_t
=no
11190 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
11191 if test $ac_cv_type_pid_t = no
; then
11192 cat >> confdefs.h
<<\EOF
11198 echo $ac_n "checking for size_t""... $ac_c" 1>&6
11199 echo "configure:11200: checking for size_t" >&5
11200 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
11201 echo $ac_n "(cached) $ac_c" 1>&6
11203 cat > conftest.
$ac_ext <<EOF
11204 #line 11205 "configure"
11205 #include "confdefs.h"
11206 #include <sys/types.h>
11208 #include <stdlib.h>
11209 #include <stddef.h>
11212 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11213 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
11215 ac_cv_type_size_t
=yes
11218 ac_cv_type_size_t
=no
11223 echo "$ac_t""$ac_cv_type_size_t" 1>&6
11224 if test $ac_cv_type_size_t = no
; then
11225 cat >> confdefs.h
<<\EOF
11226 #define size_t unsigned
11231 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
11232 echo "configure:11233: checking for uid_t in sys/types.h" >&5
11233 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
11234 echo $ac_n "(cached) $ac_c" 1>&6
11236 cat > conftest.
$ac_ext <<EOF
11237 #line 11238 "configure"
11238 #include "confdefs.h"
11239 #include <sys/types.h>
11241 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
11242 egrep "uid_t" >/dev
/null
2>&1; then
11244 ac_cv_type_uid_t
=yes
11247 ac_cv_type_uid_t
=no
11253 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
11254 if test $ac_cv_type_uid_t = no
; then
11255 cat >> confdefs.h
<<\EOF
11259 cat >> confdefs.h
<<\EOF
11266 echo $ac_n "checking for wchar_t""... $ac_c" 1>&6
11267 echo "configure:11268: checking for wchar_t" >&5
11268 if eval "test \"`echo '$''{'wx_cv_type_wchar_t'+set}'`\" = set"; then
11269 echo $ac_n "(cached) $ac_c" 1>&6
11272 cat > conftest.
$ac_ext <<EOF
11273 #line 11274 "configure"
11274 #include "confdefs.h"
11280 ws = L"Hello, world!";
11284 if { (eval echo configure
:11285: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11286 wx_cv_type_wchar_t
=yes
11288 echo "configure: failed program was:" >&5
11289 cat conftest.
$ac_ext >&5
11291 cat > conftest.
$ac_ext <<EOF
11292 #line 11293 "configure"
11293 #include "confdefs.h"
11294 #include <stdlib.h>
11299 ws = L"Hello, world!";
11303 if { (eval echo configure
:11304: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11305 wx_cv_type_wchar_t
=yes
11307 echo "configure: failed program was:" >&5
11308 cat conftest.
$ac_ext >&5
11310 wx_cv_type_wchar_t
=no
11319 echo "$ac_t""$wx_cv_type_wchar_t" 1>&6
11321 if test "$wx_cv_type_wchar_t" = "yes"; then
11322 cat >> confdefs.h
<<\EOF
11323 #define wxUSE_WCHAR_T 1
11330 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11331 ac_cpp
='$CXXCPP $CPPFLAGS'
11332 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11333 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11334 cross_compiling
=$ac_cv_prog_cxx_cross
11336 echo $ac_n "checking if size_t is unsigned int""... $ac_c" 1>&6
11337 echo "configure:11338: checking if size_t is unsigned int" >&5
11338 if eval "test \"`echo '$''{'wx_cv_size_t_is_uint'+set}'`\" = set"; then
11339 echo $ac_n "(cached) $ac_c" 1>&6
11341 cat > conftest.
$ac_ext <<EOF
11342 #line 11343 "configure"
11343 #include "confdefs.h"
11344 #include <stddef.h>
11349 struct Foo { void foo(size_t); void foo(unsigned int); };
11355 if { (eval echo configure
:11356: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11357 wx_cv_size_t_is_uint
=no
11359 echo "configure: failed program was:" >&5
11360 cat conftest.
$ac_ext >&5
11362 wx_cv_size_t_is_uint
=yes
11369 echo "$ac_t""$wx_cv_size_t_is_uint" 1>&6
11371 if test "$wx_cv_size_t_is_uint" = "yes"; then
11372 cat >> confdefs.h
<<\EOF
11373 #define wxSIZE_T_IS_UINT 1
11377 echo $ac_n "checking if size_t is unsigned long""... $ac_c" 1>&6
11378 echo "configure:11379: checking if size_t is unsigned long" >&5
11379 if eval "test \"`echo '$''{'wx_cv_size_t_is_ulong'+set}'`\" = set"; then
11380 echo $ac_n "(cached) $ac_c" 1>&6
11382 cat > conftest.
$ac_ext <<EOF
11383 #line 11384 "configure"
11384 #include "confdefs.h"
11385 #include <stddef.h>
11390 struct Foo { void foo(size_t); void foo(unsigned long); };
11396 if { (eval echo configure
:11397: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11398 wx_cv_size_t_is_ulong
=no
11400 echo "configure: failed program was:" >&5
11401 cat conftest.
$ac_ext >&5
11403 wx_cv_size_t_is_ulong
=yes
11410 echo "$ac_t""$wx_cv_size_t_is_ulong" 1>&6
11412 if test "$wx_cv_size_t_is_ulong" = "yes"; then
11413 cat >> confdefs.h
<<\EOF
11414 #define wxSIZE_T_IS_ULONG 1
11421 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11422 ac_cpp
='$CPP $CPPFLAGS'
11423 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11424 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11425 cross_compiling
=$ac_cv_prog_cc_cross
11429 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
11430 echo "configure:11431: checking for pw_gecos in struct passwd" >&5
11431 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
11432 echo $ac_n "(cached) $ac_c" 1>&6
11435 cat > conftest.
$ac_ext <<EOF
11436 #line 11437 "configure"
11437 #include "confdefs.h"
11447 if { (eval echo configure
:11448: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11450 wx_cv_struct_pw_gecos
=yes
11453 echo "configure: failed program was:" >&5
11454 cat conftest.
$ac_ext >&5
11457 wx_cv_struct_pw_gecos
=no
11466 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
11468 if test "$wx_cv_struct_pw_gecos" = "yes"; then
11469 cat >> confdefs.h
<<\EOF
11470 #define HAVE_PW_GECOS 1
11476 echo $ac_n "checking for working const""... $ac_c" 1>&6
11477 echo "configure:11478: checking for working const" >&5
11478 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
11479 echo $ac_n "(cached) $ac_c" 1>&6
11481 cat > conftest.
$ac_ext <<EOF
11482 #line 11483 "configure"
11483 #include "confdefs.h"
11487 /* Ultrix mips cc rejects this. */
11488 typedef int charset[2]; const charset x;
11489 /* SunOS 4.1.1 cc rejects this. */
11490 char const *const *ccp;
11492 /* NEC SVR4.0.2 mips cc rejects this. */
11493 struct point {int x, y;};
11494 static struct point const zero = {0,0};
11495 /* AIX XL C 1.02.0.0 rejects this.
11496 It does not let you subtract one const X* pointer from another in an arm
11497 of an if-expression whose if-part is not a constant expression */
11498 const char *g = "string";
11499 ccp = &g + (g ? g-g : 0);
11500 /* HPUX 7.0 cc rejects these. */
11503 ccp = (char const *const *) p;
11504 { /* SCO 3.2v4 cc rejects this. */
11506 char const *s = 0 ? (char *) 0 : (char const *) 0;
11510 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
11511 int x[] = {25, 17};
11512 const int *foo = &x[0];
11515 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
11516 typedef const int *iptr;
11520 { /* AIX XL C 1.02.0.0 rejects this saying
11521 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
11522 struct s { int j; const int *ap[3]; };
11523 struct s *b; b->j = 5;
11525 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
11526 const int foo = 10;
11531 if { (eval echo configure
:11532: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11535 echo "configure: failed program was:" >&5
11536 cat conftest.
$ac_ext >&5
11543 echo "$ac_t""$ac_cv_c_const" 1>&6
11544 if test $ac_cv_c_const = no
; then
11545 cat >> confdefs.h
<<\EOF
11551 echo $ac_n "checking for inline""... $ac_c" 1>&6
11552 echo "configure:11553: checking for inline" >&5
11553 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
11554 echo $ac_n "(cached) $ac_c" 1>&6
11557 for ac_kw
in inline __inline__ __inline
; do
11558 cat > conftest.
$ac_ext <<EOF
11559 #line 11560 "configure"
11560 #include "confdefs.h"
11566 if { (eval echo configure
:11567: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11568 ac_cv_c_inline
=$ac_kw; break
11570 echo "configure: failed program was:" >&5
11571 cat conftest.
$ac_ext >&5
11578 echo "$ac_t""$ac_cv_c_inline" 1>&6
11579 case "$ac_cv_c_inline" in
11581 no
) cat >> confdefs.h
<<\EOF
11585 *) cat >> confdefs.h
<<EOF
11586 #define inline $ac_cv_c_inline
11592 echo $ac_n "checking size of char""... $ac_c" 1>&6
11593 echo "configure:11594: checking size of char" >&5
11594 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
11595 echo $ac_n "(cached) $ac_c" 1>&6
11597 if test "$cross_compiling" = yes; then
11598 ac_cv_sizeof_char
=1
11600 cat > conftest.
$ac_ext <<EOF
11601 #line 11602 "configure"
11602 #include "confdefs.h"
11606 FILE *f=fopen("conftestval", "w");
11608 fprintf(f, "%d\n", sizeof(char));
11612 if { (eval echo configure
:11613: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11614 ac_cv_sizeof_char
=`cat conftestval`
11616 echo "configure: failed program was:" >&5
11617 cat conftest.
$ac_ext >&5
11619 ac_cv_sizeof_char
=0
11625 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
11626 cat >> confdefs.h
<<EOF
11627 #define SIZEOF_CHAR $ac_cv_sizeof_char
11631 echo $ac_n "checking size of short""... $ac_c" 1>&6
11632 echo "configure:11633: checking size of short" >&5
11633 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
11634 echo $ac_n "(cached) $ac_c" 1>&6
11636 if test "$cross_compiling" = yes; then
11637 ac_cv_sizeof_short
=2
11639 cat > conftest.
$ac_ext <<EOF
11640 #line 11641 "configure"
11641 #include "confdefs.h"
11645 FILE *f=fopen("conftestval", "w");
11647 fprintf(f, "%d\n", sizeof(short));
11651 if { (eval echo configure
:11652: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11653 ac_cv_sizeof_short
=`cat conftestval`
11655 echo "configure: failed program was:" >&5
11656 cat conftest.
$ac_ext >&5
11658 ac_cv_sizeof_short
=0
11664 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
11665 cat >> confdefs.h
<<EOF
11666 #define SIZEOF_SHORT $ac_cv_sizeof_short
11670 echo $ac_n "checking size of int *""... $ac_c" 1>&6
11671 echo "configure:11672: checking size of int *" >&5
11672 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
11673 echo $ac_n "(cached) $ac_c" 1>&6
11675 if test "$cross_compiling" = yes; then
11676 ac_cv_sizeof_int_p
=4
11678 cat > conftest.
$ac_ext <<EOF
11679 #line 11680 "configure"
11680 #include "confdefs.h"
11684 FILE *f=fopen("conftestval", "w");
11686 fprintf(f, "%d\n", sizeof(int *));
11690 if { (eval echo configure
:11691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11692 ac_cv_sizeof_int_p
=`cat conftestval`
11694 echo "configure: failed program was:" >&5
11695 cat conftest.
$ac_ext >&5
11697 ac_cv_sizeof_int_p
=0
11703 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
11704 cat >> confdefs.h
<<EOF
11705 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
11709 echo $ac_n "checking size of int""... $ac_c" 1>&6
11710 echo "configure:11711: checking size of int" >&5
11711 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
11712 echo $ac_n "(cached) $ac_c" 1>&6
11714 if test "$cross_compiling" = yes; then
11717 cat > conftest.
$ac_ext <<EOF
11718 #line 11719 "configure"
11719 #include "confdefs.h"
11723 FILE *f=fopen("conftestval", "w");
11725 fprintf(f, "%d\n", sizeof(int));
11729 if { (eval echo configure
:11730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11731 ac_cv_sizeof_int
=`cat conftestval`
11733 echo "configure: failed program was:" >&5
11734 cat conftest.
$ac_ext >&5
11742 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
11743 cat >> confdefs.h
<<EOF
11744 #define SIZEOF_INT $ac_cv_sizeof_int
11748 echo $ac_n "checking size of long""... $ac_c" 1>&6
11749 echo "configure:11750: checking size of long" >&5
11750 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
11751 echo $ac_n "(cached) $ac_c" 1>&6
11753 if test "$cross_compiling" = yes; then
11754 ac_cv_sizeof_long
=4
11756 cat > conftest.
$ac_ext <<EOF
11757 #line 11758 "configure"
11758 #include "confdefs.h"
11762 FILE *f=fopen("conftestval", "w");
11764 fprintf(f, "%d\n", sizeof(long));
11768 if { (eval echo configure
:11769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11770 ac_cv_sizeof_long
=`cat conftestval`
11772 echo "configure: failed program was:" >&5
11773 cat conftest.
$ac_ext >&5
11775 ac_cv_sizeof_long
=0
11781 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
11782 cat >> confdefs.h
<<EOF
11783 #define SIZEOF_LONG $ac_cv_sizeof_long
11787 echo $ac_n "checking size of long long""... $ac_c" 1>&6
11788 echo "configure:11789: checking size of long long" >&5
11789 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
11790 echo $ac_n "(cached) $ac_c" 1>&6
11792 if test "$cross_compiling" = yes; then
11793 ac_cv_sizeof_long_long
=0
11795 cat > conftest.
$ac_ext <<EOF
11796 #line 11797 "configure"
11797 #include "confdefs.h"
11801 FILE *f=fopen("conftestval", "w");
11803 fprintf(f, "%d\n", sizeof(long long));
11807 if { (eval echo configure
:11808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11809 ac_cv_sizeof_long_long
=`cat conftestval`
11811 echo "configure: failed program was:" >&5
11812 cat conftest.
$ac_ext >&5
11814 ac_cv_sizeof_long_long
=0
11820 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
11821 cat >> confdefs.h
<<EOF
11822 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
11827 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
11828 echo "configure:11829: checking size of wchar_t" >&5
11829 if eval "test \"`echo '$''{'wx_cv_sizeof_wchar_t'+set}'`\" = set"; then
11830 echo $ac_n "(cached) $ac_c" 1>&6
11833 if test "$cross_compiling" = yes; then
11834 wx_cv_sizeof_wchar_t
=4
11837 cat > conftest.
$ac_ext <<EOF
11838 #line 11839 "configure"
11839 #include "confdefs.h"
11841 #ifdef HAVE_WCHAR_H
11842 # include <wchar.h>
11844 #ifdef HAVE_STDLIB_H
11845 # include <stdlib.h>
11850 FILE *f=fopen("conftestval", "w");
11852 fprintf(f, "%i", sizeof(wchar_t));
11857 if { (eval echo configure
:11858: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11859 wx_cv_sizeof_wchar_t
=`cat conftestval`
11861 echo "configure: failed program was:" >&5
11862 cat conftest.
$ac_ext >&5
11864 wx_cv_sizeof_wchar_t
=0
11872 echo "$ac_t""$wx_cv_sizeof_wchar_t" 1>&6
11874 cat >> confdefs.h
<<EOF
11875 #define SIZEOF_WCHAR_T $wx_cv_sizeof_wchar_t
11879 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
11880 echo "configure:11881: checking whether byte ordering is bigendian" >&5
11881 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
11882 echo $ac_n "(cached) $ac_c" 1>&6
11884 ac_cv_c_bigendian
=unknown
11885 # See if sys/param.h defines the BYTE_ORDER macro.
11886 cat > conftest.
$ac_ext <<EOF
11887 #line 11888 "configure"
11888 #include "confdefs.h"
11889 #include <sys/types.h>
11890 #include <sys/param.h>
11893 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
11894 bogus endian macros
11898 if { (eval echo configure
:11899: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11900 # It does; now see whether it defined to BIG_ENDIAN or not.
11901 cat > conftest.
$ac_ext <<EOF
11902 #line 11903 "configure"
11903 #include "confdefs.h"
11904 #include <sys/types.h>
11905 #include <sys/param.h>
11908 #if BYTE_ORDER != BIG_ENDIAN
11913 if { (eval echo configure
:11914: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11915 ac_cv_c_bigendian
=yes
11917 echo "configure: failed program was:" >&5
11918 cat conftest.
$ac_ext >&5
11920 ac_cv_c_bigendian
=no
11924 echo "configure: failed program was:" >&5
11925 cat conftest.
$ac_ext >&5
11928 if test $ac_cv_c_bigendian = unknown
; then
11929 if test "$cross_compiling" = yes; then
11930 ac_cv_c_bigendian
=unknown
11932 cat > conftest.
$ac_ext <<EOF
11933 #line 11934 "configure"
11934 #include "confdefs.h"
11936 /* Are we little or big endian? From Harbison&Steele. */
11940 char c[sizeof (long)];
11943 exit (u.c[sizeof (long) - 1] == 1);
11946 if { (eval echo configure
:11947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
11948 ac_cv_c_bigendian
=no
11950 echo "configure: failed program was:" >&5
11951 cat conftest.
$ac_ext >&5
11953 ac_cv_c_bigendian
=yes
11961 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
11962 if test $ac_cv_c_bigendian = unknown
; then
11963 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
11965 if test $ac_cv_c_bigendian = yes; then
11966 cat >> confdefs.h
<<\EOF
11967 #define WORDS_BIGENDIAN 1
11974 if test "$cross_compiling" = "yes"; then
11975 cat >> confdefs.h
<<\EOF
11976 #define wxUSE_IOSTREAMH 1
11982 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11983 ac_cpp
='$CXXCPP $CPPFLAGS'
11984 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11985 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11986 cross_compiling
=$ac_cv_prog_cxx_cross
11989 for ac_hdr
in iostream
11991 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11992 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11993 echo "configure:11994: checking for $ac_hdr" >&5
11994 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11995 echo $ac_n "(cached) $ac_c" 1>&6
11997 cat > conftest.
$ac_ext <<EOF
11998 #line 11999 "configure"
11999 #include "confdefs.h"
12002 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12003 { (eval echo configure
:12004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12004 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12005 if test -z "$ac_err"; then
12007 eval "ac_cv_header_$ac_safe=yes"
12010 echo "configure: failed program was:" >&5
12011 cat conftest.
$ac_ext >&5
12013 eval "ac_cv_header_$ac_safe=no"
12017 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12018 echo "$ac_t""yes" 1>&6
12019 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12020 cat >> confdefs.h
<<EOF
12021 #define $ac_tr_hdr 1
12025 echo "$ac_t""no" 1>&6
12030 if test "$ac_cv_header_iostream" = "yes" ; then
12033 cat >> confdefs.h
<<\EOF
12034 #define wxUSE_IOSTREAMH 1
12040 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12041 ac_cpp
='$CPP $CPPFLAGS'
12042 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12043 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12044 cross_compiling
=$ac_cv_prog_cc_cross
12050 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
12051 echo "configure:12052: checking if C++ compiler supports bool" >&5
12052 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
12053 echo $ac_n "(cached) $ac_c" 1>&6
12058 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12059 ac_cpp
='$CXXCPP $CPPFLAGS'
12060 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12061 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12062 cross_compiling
=$ac_cv_prog_cxx_cross
12065 cat > conftest.
$ac_ext <<EOF
12066 #line 12067 "configure"
12067 #include "confdefs.h"
12078 if { (eval echo configure
:12079: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12084 echo "configure: failed program was:" >&5
12085 cat conftest.
$ac_ext >&5
12095 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12096 ac_cpp
='$CPP $CPPFLAGS'
12097 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12098 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12099 cross_compiling
=$ac_cv_prog_cc_cross
12104 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
12106 if test "$wx_cv_cpp_bool" = "yes"; then
12107 cat >> confdefs.h
<<\EOF
12108 #define HAVE_BOOL 1
12115 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
12116 echo "configure:12117: checking for wcslen in -lc" >&5
12117 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
12118 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12119 echo $ac_n "(cached) $ac_c" 1>&6
12121 ac_save_LIBS
="$LIBS"
12123 cat > conftest.
$ac_ext <<EOF
12124 #line 12125 "configure"
12125 #include "confdefs.h"
12126 /* Override any gcc2 internal prototype to avoid an error. */
12127 /* We use char because int might match the return type of a gcc2
12128 builtin and then its argument prototype would still apply. */
12135 if { (eval echo configure
:12136: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12137 eval "ac_cv_lib_$ac_lib_var=yes"
12139 echo "configure: failed program was:" >&5
12140 cat conftest.
$ac_ext >&5
12142 eval "ac_cv_lib_$ac_lib_var=no"
12145 LIBS
="$ac_save_LIBS"
12148 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12149 echo "$ac_t""yes" 1>&6
12151 cat >> confdefs.h
<<\EOF
12152 #define HAVE_WCSLEN 1
12158 echo "$ac_t""no" 1>&6
12160 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
12161 echo "configure:12162: checking for wcslen in -lw" >&5
12162 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
12163 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12164 echo $ac_n "(cached) $ac_c" 1>&6
12166 ac_save_LIBS
="$LIBS"
12168 cat > conftest.
$ac_ext <<EOF
12169 #line 12170 "configure"
12170 #include "confdefs.h"
12171 /* Override any gcc2 internal prototype to avoid an error. */
12172 /* We use char because int might match the return type of a gcc2
12173 builtin and then its argument prototype would still apply. */
12180 if { (eval echo configure
:12181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12182 eval "ac_cv_lib_$ac_lib_var=yes"
12184 echo "configure: failed program was:" >&5
12185 cat conftest.
$ac_ext >&5
12187 eval "ac_cv_lib_$ac_lib_var=no"
12190 LIBS
="$ac_save_LIBS"
12193 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12194 echo "$ac_t""yes" 1>&6
12196 cat >> confdefs.h
<<\EOF
12197 #define HAVE_WCSLEN 1
12203 echo "$ac_t""no" 1>&6
12210 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
12211 echo "configure:12212: checking for vprintf" >&5
12212 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
12213 echo $ac_n "(cached) $ac_c" 1>&6
12215 cat > conftest.
$ac_ext <<EOF
12216 #line 12217 "configure"
12217 #include "confdefs.h"
12218 /* System header to define __stub macros and hopefully few prototypes,
12219 which can conflict with char vprintf(); below. */
12220 #include <assert.h>
12221 /* Override any gcc2 internal prototype to avoid an error. */
12222 /* We use char because int might match the return type of a gcc2
12223 builtin and then its argument prototype would still apply. */
12228 /* The GNU C library defines this for functions which it implements
12229 to always fail with ENOSYS. Some functions are actually named
12230 something starting with __ and the normal name is an alias. */
12231 #if defined (__stub_vprintf) || defined (__stub___vprintf)
12239 if { (eval echo configure
:12240: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12241 eval "ac_cv_func_vprintf=yes"
12243 echo "configure: failed program was:" >&5
12244 cat conftest.
$ac_ext >&5
12246 eval "ac_cv_func_vprintf=no"
12251 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
12252 echo "$ac_t""yes" 1>&6
12253 cat >> confdefs.h
<<\EOF
12254 #define HAVE_VPRINTF 1
12258 echo "$ac_t""no" 1>&6
12261 if test "$ac_cv_func_vprintf" != yes; then
12262 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
12263 echo "configure:12264: checking for _doprnt" >&5
12264 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
12265 echo $ac_n "(cached) $ac_c" 1>&6
12267 cat > conftest.
$ac_ext <<EOF
12268 #line 12269 "configure"
12269 #include "confdefs.h"
12270 /* System header to define __stub macros and hopefully few prototypes,
12271 which can conflict with char _doprnt(); below. */
12272 #include <assert.h>
12273 /* Override any gcc2 internal prototype to avoid an error. */
12274 /* We use char because int might match the return type of a gcc2
12275 builtin and then its argument prototype would still apply. */
12280 /* The GNU C library defines this for functions which it implements
12281 to always fail with ENOSYS. Some functions are actually named
12282 something starting with __ and the normal name is an alias. */
12283 #if defined (__stub__doprnt) || defined (__stub____doprnt)
12291 if { (eval echo configure
:12292: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12293 eval "ac_cv_func__doprnt=yes"
12295 echo "configure: failed program was:" >&5
12296 cat conftest.
$ac_ext >&5
12298 eval "ac_cv_func__doprnt=no"
12303 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
12304 echo "$ac_t""yes" 1>&6
12305 cat >> confdefs.h
<<\EOF
12306 #define HAVE_DOPRNT 1
12310 echo "$ac_t""no" 1>&6
12321 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
12322 echo "configure:12323: checking for vsnprintf" >&5
12323 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
12324 echo $ac_n "(cached) $ac_c" 1>&6
12327 cat > conftest.
$ac_ext <<EOF
12328 #line 12329 "configure"
12329 #include "confdefs.h"
12332 #include <stdarg.h>
12336 int wx_test_vsnprintf(const char *, ...);
12338 wx_test_vsnprintf("%s");
12342 int wx_test_vsnprintf(const char *fmt, ...)
12347 va_start(argp, fmt);
12348 vsnprintf(s, 42, fmt, argp);
12353 if { (eval echo configure
:12354: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12356 wx_cv_func_vsnprintf
=yes
12359 echo "configure: failed program was:" >&5
12360 cat conftest.
$ac_ext >&5
12363 cat > conftest.
$ac_ext <<EOF
12364 #line 12365 "configure"
12365 #include "confdefs.h"
12368 #include <stdarg.h>
12372 int wx_test_vsnprintf(const char *, ...);
12374 wx_test_vsnprintf("%s");
12378 int wx_test_vsnprintf(const char *fmt, ...)
12383 va_start(argp, fmt);
12384 _vsnprintf(s, 42, fmt, argp);
12389 if { (eval echo configure
:12390: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12392 wx_cv_func_vsnprintf
=yes
12395 echo "configure: failed program was:" >&5
12396 cat conftest.
$ac_ext >&5
12399 wx_cv_func_vsnprintf
=no
12409 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
12411 if test "$wx_cv_func_vsnprintf" = yes; then
12412 cat >> confdefs.h
<<\EOF
12413 #define HAVE_VSNPRINTF 1
12417 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
12420 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
12421 echo "configure:12422: checking for vsscanf" >&5
12422 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
12423 echo $ac_n "(cached) $ac_c" 1>&6
12426 cat > conftest.
$ac_ext <<EOF
12427 #line 12428 "configure"
12428 #include "confdefs.h"
12431 #include <stdarg.h>
12435 int wx_test_vsscanf(const char *, ...);
12437 wx_test_vsscanf("%d");
12441 int wx_test_vsscanf(const char *fmt, ...)
12444 va_start(argp, fmt);
12445 vsscanf("42", fmt, argp);
12450 if { (eval echo configure
:12451: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12453 wx_cv_func_vsscanf
=yes
12456 echo "configure: failed program was:" >&5
12457 cat conftest.
$ac_ext >&5
12460 wx_cv_func_vsscanf
=no
12467 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
12469 if test "$wx_cv_func_vsscanf" = yes; then
12470 cat >> confdefs.h
<<\EOF
12471 #define HAVE_VSSCANF 1
12476 if test "$TOOLKIT" != "MSW"; then
12481 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12482 ac_cpp
='$CXXCPP $CPPFLAGS'
12483 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12484 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12485 cross_compiling
=$ac_cv_prog_cxx_cross
12487 echo $ac_n "checking if iconv() takes char**""... $ac_c" 1>&6
12488 echo "configure:12489: checking if iconv() takes char**" >&5
12489 if eval "test \"`echo '$''{'wx_cv_iconv_takes_char'+set}'`\" = set"; then
12490 echo $ac_n "(cached) $ac_c" 1>&6
12493 cat > conftest.
$ac_ext <<EOF
12494 #line 12495 "configure"
12495 #include "confdefs.h"
12499 char **inbuf, **outbuf;
12501 size_t insz, outsz;
12502 iconv(cd, inbuf, &insz, outbuf, &outsz);
12506 if { (eval echo configure
:12507: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12508 wx_cv_iconv_takes_char
=yes
12510 echo "configure: failed program was:" >&5
12511 cat conftest.
$ac_ext >&5
12513 wx_cv_iconv_takes_char
=no
12519 echo "$ac_t""$wx_cv_iconv_takes_char" 1>&6
12521 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12522 ac_cpp
='$CPP $CPPFLAGS'
12523 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12524 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12525 cross_compiling
=$ac_cv_prog_cc_cross
12527 if test "$wx_cv_iconv_takes_char" = yes ; then
12528 cat >> confdefs.h
<<\EOF
12529 #define WX_ICONV_TAKES_CHAR 1
12535 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
12536 for ac_func
in sigaction
12538 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12539 echo "configure:12540: checking for $ac_func" >&5
12540 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12541 echo $ac_n "(cached) $ac_c" 1>&6
12543 cat > conftest.
$ac_ext <<EOF
12544 #line 12545 "configure"
12545 #include "confdefs.h"
12546 /* System header to define __stub macros and hopefully few prototypes,
12547 which can conflict with char $ac_func(); below. */
12548 #include <assert.h>
12549 /* Override any gcc2 internal prototype to avoid an error. */
12550 /* We use char because int might match the return type of a gcc2
12551 builtin and then its argument prototype would still apply. */
12556 /* The GNU C library defines this for functions which it implements
12557 to always fail with ENOSYS. Some functions are actually named
12558 something starting with __ and the normal name is an alias. */
12559 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12567 if { (eval echo configure
:12568: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12569 eval "ac_cv_func_$ac_func=yes"
12571 echo "configure: failed program was:" >&5
12572 cat conftest.
$ac_ext >&5
12574 eval "ac_cv_func_$ac_func=no"
12579 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12580 echo "$ac_t""yes" 1>&6
12581 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12582 cat >> confdefs.h
<<EOF
12583 #define $ac_tr_func 1
12587 echo "$ac_t""no" 1>&6
12592 if test "$ac_cv_func_sigaction" = "no"; then
12593 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
12594 wxUSE_ON_FATAL_EXCEPTION
=no
12597 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
12600 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12601 ac_cpp
='$CXXCPP $CPPFLAGS'
12602 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12603 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12604 cross_compiling
=$ac_cv_prog_cxx_cross
12607 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
12608 echo "configure:12609: checking for sa_handler type" >&5
12609 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
12610 echo $ac_n "(cached) $ac_c" 1>&6
12613 cat > conftest.
$ac_ext <<EOF
12614 #line 12615 "configure"
12615 #include "confdefs.h"
12616 #include <signal.h>
12619 extern void testSigHandler(int);
12621 struct sigaction sa;
12622 sa.sa_handler = testSigHandler;
12626 if { (eval echo configure
:12627: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12629 wx_cv_type_sa_handler
=int
12632 echo "configure: failed program was:" >&5
12633 cat conftest.
$ac_ext >&5
12636 wx_cv_type_sa_handler
=void
12643 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
12646 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12647 ac_cpp
='$CPP $CPPFLAGS'
12648 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12649 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12650 cross_compiling
=$ac_cv_prog_cc_cross
12653 cat >> confdefs.h
<<EOF
12654 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
12660 for ac_func
in vfork
12662 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12663 echo "configure:12664: checking for $ac_func" >&5
12664 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12665 echo $ac_n "(cached) $ac_c" 1>&6
12667 cat > conftest.
$ac_ext <<EOF
12668 #line 12669 "configure"
12669 #include "confdefs.h"
12670 /* System header to define __stub macros and hopefully few prototypes,
12671 which can conflict with char $ac_func(); below. */
12672 #include <assert.h>
12673 /* Override any gcc2 internal prototype to avoid an error. */
12674 /* We use char because int might match the return type of a gcc2
12675 builtin and then its argument prototype would still apply. */
12680 /* The GNU C library defines this for functions which it implements
12681 to always fail with ENOSYS. Some functions are actually named
12682 something starting with __ and the normal name is an alias. */
12683 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12691 if { (eval echo configure
:12692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12693 eval "ac_cv_func_$ac_func=yes"
12695 echo "configure: failed program was:" >&5
12696 cat conftest.
$ac_ext >&5
12698 eval "ac_cv_func_$ac_func=no"
12703 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12704 echo "$ac_t""yes" 1>&6
12705 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12706 cat >> confdefs.h
<<EOF
12707 #define $ac_tr_func 1
12711 echo "$ac_t""no" 1>&6
12716 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
12717 for ac_func
in fcntl flock
12719 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12720 echo "configure:12721: checking for $ac_func" >&5
12721 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12722 echo $ac_n "(cached) $ac_c" 1>&6
12724 cat > conftest.
$ac_ext <<EOF
12725 #line 12726 "configure"
12726 #include "confdefs.h"
12727 /* System header to define __stub macros and hopefully few prototypes,
12728 which can conflict with char $ac_func(); below. */
12729 #include <assert.h>
12730 /* Override any gcc2 internal prototype to avoid an error. */
12731 /* We use char because int might match the return type of a gcc2
12732 builtin and then its argument prototype would still apply. */
12737 /* The GNU C library defines this for functions which it implements
12738 to always fail with ENOSYS. Some functions are actually named
12739 something starting with __ and the normal name is an alias. */
12740 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12748 if { (eval echo configure
:12749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12750 eval "ac_cv_func_$ac_func=yes"
12752 echo "configure: failed program was:" >&5
12753 cat conftest.
$ac_ext >&5
12755 eval "ac_cv_func_$ac_func=no"
12760 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12761 echo "$ac_t""yes" 1>&6
12762 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12763 cat >> confdefs.h
<<EOF
12764 #define $ac_tr_func 1
12768 echo "$ac_t""no" 1>&6
12773 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
12774 echo "configure: warning: wxSingleInstanceChecker not available" 1>&2
12775 wxUSE_SNGLINST_CHECKER
=no
12779 for ac_func
in timegm
12781 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12782 echo "configure:12783: checking for $ac_func" >&5
12783 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12784 echo $ac_n "(cached) $ac_c" 1>&6
12786 cat > conftest.
$ac_ext <<EOF
12787 #line 12788 "configure"
12788 #include "confdefs.h"
12789 /* System header to define __stub macros and hopefully few prototypes,
12790 which can conflict with char $ac_func(); below. */
12791 #include <assert.h>
12792 /* Override any gcc2 internal prototype to avoid an error. */
12793 /* We use char because int might match the return type of a gcc2
12794 builtin and then its argument prototype would still apply. */
12799 /* The GNU C library defines this for functions which it implements
12800 to always fail with ENOSYS. Some functions are actually named
12801 something starting with __ and the normal name is an alias. */
12802 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12810 if { (eval echo configure
:12811: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12812 eval "ac_cv_func_$ac_func=yes"
12814 echo "configure: failed program was:" >&5
12815 cat conftest.
$ac_ext >&5
12817 eval "ac_cv_func_$ac_func=no"
12822 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12823 echo "$ac_t""yes" 1>&6
12824 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12825 cat >> confdefs.h
<<EOF
12826 #define $ac_tr_func 1
12830 echo "$ac_t""no" 1>&6
12835 for ac_func
in putenv setenv
12837 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12838 echo "configure:12839: checking for $ac_func" >&5
12839 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12840 echo $ac_n "(cached) $ac_c" 1>&6
12842 cat > conftest.
$ac_ext <<EOF
12843 #line 12844 "configure"
12844 #include "confdefs.h"
12845 /* System header to define __stub macros and hopefully few prototypes,
12846 which can conflict with char $ac_func(); below. */
12847 #include <assert.h>
12848 /* Override any gcc2 internal prototype to avoid an error. */
12849 /* We use char because int might match the return type of a gcc2
12850 builtin and then its argument prototype would still apply. */
12855 /* The GNU C library defines this for functions which it implements
12856 to always fail with ENOSYS. Some functions are actually named
12857 something starting with __ and the normal name is an alias. */
12858 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12866 if { (eval echo configure
:12867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12868 eval "ac_cv_func_$ac_func=yes"
12870 echo "configure: failed program was:" >&5
12871 cat conftest.
$ac_ext >&5
12873 eval "ac_cv_func_$ac_func=no"
12878 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12879 echo "$ac_t""yes" 1>&6
12880 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12881 cat >> confdefs.h
<<EOF
12882 #define $ac_tr_func 1
12886 echo "$ac_t""no" 1>&6
12891 HAVE_SOME_SLEEP_FUNC
=0
12892 if test "$USE_BEOS" = 1; then
12893 cat >> confdefs.h
<<\EOF
12894 #define HAVE_SLEEP 1
12897 HAVE_SOME_SLEEP_FUNC
=1
12900 if test "$USE_MAC" = 1; then
12901 cat >> confdefs.h
<<\EOF
12902 #define HAVE_USLEEP 1
12905 HAVE_SOME_SLEEP_FUNC
=1
12908 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
12910 for ac_func
in nanosleep
12912 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12913 echo "configure:12914: checking for $ac_func" >&5
12914 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12915 echo $ac_n "(cached) $ac_c" 1>&6
12917 cat > conftest.
$ac_ext <<EOF
12918 #line 12919 "configure"
12919 #include "confdefs.h"
12920 /* System header to define __stub macros and hopefully few prototypes,
12921 which can conflict with char $ac_func(); below. */
12922 #include <assert.h>
12923 /* Override any gcc2 internal prototype to avoid an error. */
12924 /* We use char because int might match the return type of a gcc2
12925 builtin and then its argument prototype would still apply. */
12930 /* The GNU C library defines this for functions which it implements
12931 to always fail with ENOSYS. Some functions are actually named
12932 something starting with __ and the normal name is an alias. */
12933 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12941 if { (eval echo configure
:12942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12943 eval "ac_cv_func_$ac_func=yes"
12945 echo "configure: failed program was:" >&5
12946 cat conftest.
$ac_ext >&5
12948 eval "ac_cv_func_$ac_func=no"
12953 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12954 echo "$ac_t""yes" 1>&6
12955 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12956 cat >> confdefs.h
<<EOF
12957 #define $ac_tr_func 1
12959 cat >> confdefs.h
<<\EOF
12960 #define HAVE_NANOSLEEP 1
12964 echo "$ac_t""no" 1>&6
12965 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
12966 echo "configure:12967: checking for nanosleep in -lposix4" >&5
12967 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
12968 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12969 echo $ac_n "(cached) $ac_c" 1>&6
12971 ac_save_LIBS
="$LIBS"
12972 LIBS
="-lposix4 $LIBS"
12973 cat > conftest.
$ac_ext <<EOF
12974 #line 12975 "configure"
12975 #include "confdefs.h"
12976 /* Override any gcc2 internal prototype to avoid an error. */
12977 /* We use char because int might match the return type of a gcc2
12978 builtin and then its argument prototype would still apply. */
12985 if { (eval echo configure
:12986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12987 eval "ac_cv_lib_$ac_lib_var=yes"
12989 echo "configure: failed program was:" >&5
12990 cat conftest.
$ac_ext >&5
12992 eval "ac_cv_lib_$ac_lib_var=no"
12995 LIBS
="$ac_save_LIBS"
12998 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12999 echo "$ac_t""yes" 1>&6
13001 cat >> confdefs.h
<<\EOF
13002 #define HAVE_NANOSLEEP 1
13005 POSIX4_LINK
="-lposix4"
13008 echo "$ac_t""no" 1>&6
13010 for ac_func
in usleep
13012 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13013 echo "configure:13014: checking for $ac_func" >&5
13014 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13015 echo $ac_n "(cached) $ac_c" 1>&6
13017 cat > conftest.
$ac_ext <<EOF
13018 #line 13019 "configure"
13019 #include "confdefs.h"
13020 /* System header to define __stub macros and hopefully few prototypes,
13021 which can conflict with char $ac_func(); below. */
13022 #include <assert.h>
13023 /* Override any gcc2 internal prototype to avoid an error. */
13024 /* We use char because int might match the return type of a gcc2
13025 builtin and then its argument prototype would still apply. */
13030 /* The GNU C library defines this for functions which it implements
13031 to always fail with ENOSYS. Some functions are actually named
13032 something starting with __ and the normal name is an alias. */
13033 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13041 if { (eval echo configure
:13042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13043 eval "ac_cv_func_$ac_func=yes"
13045 echo "configure: failed program was:" >&5
13046 cat conftest.
$ac_ext >&5
13048 eval "ac_cv_func_$ac_func=no"
13053 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13054 echo "$ac_t""yes" 1>&6
13055 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13056 cat >> confdefs.h
<<EOF
13057 #define $ac_tr_func 1
13059 cat >> confdefs.h
<<\EOF
13060 #define HAVE_USLEEP 1
13064 echo "$ac_t""no" 1>&6
13065 echo "configure: warning: wxSleep() function will not work" 1>&2
13081 for ac_func
in uname gethostname
13083 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13084 echo "configure:13085: checking for $ac_func" >&5
13085 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13086 echo $ac_n "(cached) $ac_c" 1>&6
13088 cat > conftest.
$ac_ext <<EOF
13089 #line 13090 "configure"
13090 #include "confdefs.h"
13091 /* System header to define __stub macros and hopefully few prototypes,
13092 which can conflict with char $ac_func(); below. */
13093 #include <assert.h>
13094 /* Override any gcc2 internal prototype to avoid an error. */
13095 /* We use char because int might match the return type of a gcc2
13096 builtin and then its argument prototype would still apply. */
13101 /* The GNU C library defines this for functions which it implements
13102 to always fail with ENOSYS. Some functions are actually named
13103 something starting with __ and the normal name is an alias. */
13104 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13112 if { (eval echo configure
:13113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13114 eval "ac_cv_func_$ac_func=yes"
13116 echo "configure: failed program was:" >&5
13117 cat conftest.
$ac_ext >&5
13119 eval "ac_cv_func_$ac_func=no"
13124 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13125 echo "$ac_t""yes" 1>&6
13126 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13127 cat >> confdefs.h
<<EOF
13128 #define $ac_tr_func 1
13132 echo "$ac_t""no" 1>&6
13139 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13140 ac_cpp
='$CXXCPP $CPPFLAGS'
13141 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13142 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13143 cross_compiling
=$ac_cv_prog_cxx_cross
13146 for ac_func
in strtok_r
13148 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13149 echo "configure:13150: checking for $ac_func" >&5
13150 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13151 echo $ac_n "(cached) $ac_c" 1>&6
13153 cat > conftest.
$ac_ext <<EOF
13154 #line 13155 "configure"
13155 #include "confdefs.h"
13156 /* System header to define __stub macros and hopefully few prototypes,
13157 which can conflict with char $ac_func(); below. */
13158 #include <assert.h>
13159 /* Override any gcc2 internal prototype to avoid an error. */
13163 /* We use char because int might match the return type of a gcc2
13164 builtin and then its argument prototype would still apply. */
13169 /* The GNU C library defines this for functions which it implements
13170 to always fail with ENOSYS. Some functions are actually named
13171 something starting with __ and the normal name is an alias. */
13172 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13180 if { (eval echo configure
:13181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13182 eval "ac_cv_func_$ac_func=yes"
13184 echo "configure: failed program was:" >&5
13185 cat conftest.
$ac_ext >&5
13187 eval "ac_cv_func_$ac_func=no"
13192 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13193 echo "$ac_t""yes" 1>&6
13194 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13195 cat >> confdefs.h
<<EOF
13196 #define $ac_tr_func 1
13200 echo "$ac_t""no" 1>&6
13206 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13207 ac_cpp
='$CPP $CPPFLAGS'
13208 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13209 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13210 cross_compiling
=$ac_cv_prog_cc_cross
13214 for ac_func
in inet_addr
13216 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13217 echo "configure:13218: checking for $ac_func" >&5
13218 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13219 echo $ac_n "(cached) $ac_c" 1>&6
13221 cat > conftest.
$ac_ext <<EOF
13222 #line 13223 "configure"
13223 #include "confdefs.h"
13224 /* System header to define __stub macros and hopefully few prototypes,
13225 which can conflict with char $ac_func(); below. */
13226 #include <assert.h>
13227 /* Override any gcc2 internal prototype to avoid an error. */
13228 /* We use char because int might match the return type of a gcc2
13229 builtin and then its argument prototype would still apply. */
13234 /* The GNU C library defines this for functions which it implements
13235 to always fail with ENOSYS. Some functions are actually named
13236 something starting with __ and the normal name is an alias. */
13237 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13245 if { (eval echo configure
:13246: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13247 eval "ac_cv_func_$ac_func=yes"
13249 echo "configure: failed program was:" >&5
13250 cat conftest.
$ac_ext >&5
13252 eval "ac_cv_func_$ac_func=no"
13257 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13258 echo "$ac_t""yes" 1>&6
13259 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13260 cat >> confdefs.h
<<EOF
13261 #define $ac_tr_func 1
13263 cat >> confdefs.h
<<\EOF
13264 #define HAVE_INET_ADDR 1
13268 echo "$ac_t""no" 1>&6
13269 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
13270 echo "configure:13271: checking for inet_addr in -lnsl" >&5
13271 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
13272 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13273 echo $ac_n "(cached) $ac_c" 1>&6
13275 ac_save_LIBS
="$LIBS"
13277 cat > conftest.
$ac_ext <<EOF
13278 #line 13279 "configure"
13279 #include "confdefs.h"
13280 /* Override any gcc2 internal prototype to avoid an error. */
13281 /* We use char because int might match the return type of a gcc2
13282 builtin and then its argument prototype would still apply. */
13289 if { (eval echo configure
:13290: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13291 eval "ac_cv_lib_$ac_lib_var=yes"
13293 echo "configure: failed program was:" >&5
13294 cat conftest.
$ac_ext >&5
13296 eval "ac_cv_lib_$ac_lib_var=no"
13299 LIBS
="$ac_save_LIBS"
13302 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13303 echo "$ac_t""yes" 1>&6
13306 echo "$ac_t""no" 1>&6
13307 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
13308 echo "configure:13309: checking for inet_addr in -lresolv" >&5
13309 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
13310 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13311 echo $ac_n "(cached) $ac_c" 1>&6
13313 ac_save_LIBS
="$LIBS"
13314 LIBS
="-lresolv $LIBS"
13315 cat > conftest.
$ac_ext <<EOF
13316 #line 13317 "configure"
13317 #include "confdefs.h"
13318 /* Override any gcc2 internal prototype to avoid an error. */
13319 /* We use char because int might match the return type of a gcc2
13320 builtin and then its argument prototype would still apply. */
13327 if { (eval echo configure
:13328: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13329 eval "ac_cv_lib_$ac_lib_var=yes"
13331 echo "configure: failed program was:" >&5
13332 cat conftest.
$ac_ext >&5
13334 eval "ac_cv_lib_$ac_lib_var=no"
13337 LIBS
="$ac_save_LIBS"
13340 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13341 echo "$ac_t""yes" 1>&6
13345 echo "$ac_t""no" 1>&6
13357 for ac_func
in inet_aton
13359 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13360 echo "configure:13361: checking for $ac_func" >&5
13361 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13362 echo $ac_n "(cached) $ac_c" 1>&6
13364 cat > conftest.
$ac_ext <<EOF
13365 #line 13366 "configure"
13366 #include "confdefs.h"
13367 /* System header to define __stub macros and hopefully few prototypes,
13368 which can conflict with char $ac_func(); below. */
13369 #include <assert.h>
13370 /* Override any gcc2 internal prototype to avoid an error. */
13371 /* We use char because int might match the return type of a gcc2
13372 builtin and then its argument prototype would still apply. */
13377 /* The GNU C library defines this for functions which it implements
13378 to always fail with ENOSYS. Some functions are actually named
13379 something starting with __ and the normal name is an alias. */
13380 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13388 if { (eval echo configure
:13389: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13390 eval "ac_cv_func_$ac_func=yes"
13392 echo "configure: failed program was:" >&5
13393 cat conftest.
$ac_ext >&5
13395 eval "ac_cv_func_$ac_func=no"
13400 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13401 echo "$ac_t""yes" 1>&6
13402 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13403 cat >> confdefs.h
<<EOF
13404 #define $ac_tr_func 1
13406 cat >> confdefs.h
<<\EOF
13407 #define HAVE_INET_ATON 1
13411 echo "$ac_t""no" 1>&6
13412 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
13413 echo "configure:13414: checking for inet_aton in -l$INET_LINK" >&5
13414 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
13415 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13416 echo $ac_n "(cached) $ac_c" 1>&6
13418 ac_save_LIBS
="$LIBS"
13419 LIBS
="-l$INET_LINK $LIBS"
13420 cat > conftest.
$ac_ext <<EOF
13421 #line 13422 "configure"
13422 #include "confdefs.h"
13423 /* Override any gcc2 internal prototype to avoid an error. */
13424 /* We use char because int might match the return type of a gcc2
13425 builtin and then its argument prototype would still apply. */
13432 if { (eval echo configure
:13433: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13434 eval "ac_cv_lib_$ac_lib_var=yes"
13436 echo "configure: failed program was:" >&5
13437 cat conftest.
$ac_ext >&5
13439 eval "ac_cv_lib_$ac_lib_var=no"
13442 LIBS
="$ac_save_LIBS"
13445 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13446 echo "$ac_t""yes" 1>&6
13447 cat >> confdefs.h
<<\EOF
13448 #define HAVE_INET_ATON 1
13452 echo "$ac_t""no" 1>&6
13460 if test "x$INET_LINK" != "x"; then
13461 cat >> confdefs.h
<<\EOF
13462 #define HAVE_INET_ADDR 1
13465 INET_LINK
="-l$INET_LINK"
13471 cat > confcache
<<\EOF
13472 # This file is a shell script that caches the results of configure
13473 # tests run on this system so they can be shared between configure
13474 # scripts and configure runs. It is not useful on other systems.
13475 # If it contains results you don't want to keep, you may remove or edit it.
13477 # By default, configure uses ./config.cache as the cache file,
13478 # creating it if it does not exist already. You can give configure
13479 # the --cache-file=FILE option to use a different cache file; that is
13480 # what configure does when it calls configure scripts in
13481 # subdirectories, so they share the cache.
13482 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13483 # config.status only pays attention to the cache file if you give it the
13484 # --recheck option to rerun configure.
13487 # The following way of writing the cache mishandles newlines in values,
13488 # but we know of no workaround that is simple, portable, and efficient.
13489 # So, don't put newlines in cache variables' values.
13490 # Ultrix sh set writes to stderr and can't be redirected directly,
13491 # and sets the high bit in the cache file unless we assign to the vars.
13493 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13495 # `set' does not quote correctly, so add quotes (double-quote substitution
13496 # turns \\\\ into \\, and sed turns \\ into \).
13498 -e "s/'/'\\\\''/g" \
13499 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13502 # `set' quotes correctly as required by POSIX, so do not add quotes.
13503 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13506 if cmp -s $cache_file confcache
; then
13509 if test -w $cache_file; then
13510 echo "updating cache $cache_file"
13511 cat confcache
> $cache_file
13513 echo "not updating unwritable cache $cache_file"
13520 if test "$TOOLKIT" != "MSW"; then
13526 if test "$wxUSE_THREADS" = "yes" ; then
13527 if test "$wxUSE_WINE" = 1 ; then
13528 echo "configure: warning: Threads are not supported under WINE" 1>&2
13530 elif test "$USE_BEOS" = 1; then
13531 echo "configure: warning: BeOS threads are not yet supported" 1>&2
13536 if test "$wxUSE_THREADS" = "yes" ; then
13538 if test "$USE_AIX" = 1; then
13539 THREADS_LIB
=pthreads
13541 THREADS_LIB
=pthread
13544 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
13545 echo "configure:13546: checking for pthread_create in -l$THREADS_LIB" >&5
13546 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
13547 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13548 echo $ac_n "(cached) $ac_c" 1>&6
13550 ac_save_LIBS
="$LIBS"
13551 LIBS
="-l$THREADS_LIB $LIBS"
13552 cat > conftest.
$ac_ext <<EOF
13553 #line 13554 "configure"
13554 #include "confdefs.h"
13555 /* Override any gcc2 internal prototype to avoid an error. */
13556 /* We use char because int might match the return type of a gcc2
13557 builtin and then its argument prototype would still apply. */
13558 char pthread_create();
13564 if { (eval echo configure
:13565: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13566 eval "ac_cv_lib_$ac_lib_var=yes"
13568 echo "configure: failed program was:" >&5
13569 cat conftest.
$ac_ext >&5
13571 eval "ac_cv_lib_$ac_lib_var=no"
13574 LIBS
="$ac_save_LIBS"
13577 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13578 echo "$ac_t""yes" 1>&6
13580 THREADS_OBJ
="threadpsx.lo"
13581 THREADS_LINK
=$THREADS_LIB
13584 echo "$ac_t""no" 1>&6
13586 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
13587 echo "configure:13588: checking for pthread_create in -lc_r" >&5
13588 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
13589 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13590 echo $ac_n "(cached) $ac_c" 1>&6
13592 ac_save_LIBS
="$LIBS"
13594 cat > conftest.
$ac_ext <<EOF
13595 #line 13596 "configure"
13596 #include "confdefs.h"
13597 /* Override any gcc2 internal prototype to avoid an error. */
13598 /* We use char because int might match the return type of a gcc2
13599 builtin and then its argument prototype would still apply. */
13600 char pthread_create();
13606 if { (eval echo configure
:13607: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13608 eval "ac_cv_lib_$ac_lib_var=yes"
13610 echo "configure: failed program was:" >&5
13611 cat conftest.
$ac_ext >&5
13613 eval "ac_cv_lib_$ac_lib_var=no"
13616 LIBS
="$ac_save_LIBS"
13619 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13620 echo "$ac_t""yes" 1>&6
13622 THREADS_OBJ
="threadpsx.lo"
13626 echo "$ac_t""no" 1>&6
13628 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
13629 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
13630 echo "configure:13631: checking for sys/prctl.h" >&5
13631 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13632 echo $ac_n "(cached) $ac_c" 1>&6
13634 cat > conftest.
$ac_ext <<EOF
13635 #line 13636 "configure"
13636 #include "confdefs.h"
13637 #include <sys/prctl.h>
13639 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13640 { (eval echo configure
:13641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13641 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13642 if test -z "$ac_err"; then
13644 eval "ac_cv_header_$ac_safe=yes"
13647 echo "configure: failed program was:" >&5
13648 cat conftest.
$ac_ext >&5
13650 eval "ac_cv_header_$ac_safe=no"
13654 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13655 echo "$ac_t""yes" 1>&6
13657 THREADS_OBJ
="threadsgi.lo"
13660 echo "$ac_t""no" 1>&6
13670 if test -z "$THREADS_OBJ" ; then
13672 echo "configure: warning: No thread support on this system" 1>&2
13676 if test "$wxUSE_THREADS" = "yes" ; then
13677 for ac_func
in thr_setconcurrency
13679 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13680 echo "configure:13681: checking for $ac_func" >&5
13681 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13682 echo $ac_n "(cached) $ac_c" 1>&6
13684 cat > conftest.
$ac_ext <<EOF
13685 #line 13686 "configure"
13686 #include "confdefs.h"
13687 /* System header to define __stub macros and hopefully few prototypes,
13688 which can conflict with char $ac_func(); below. */
13689 #include <assert.h>
13690 /* Override any gcc2 internal prototype to avoid an error. */
13691 /* We use char because int might match the return type of a gcc2
13692 builtin and then its argument prototype would still apply. */
13697 /* The GNU C library defines this for functions which it implements
13698 to always fail with ENOSYS. Some functions are actually named
13699 something starting with __ and the normal name is an alias. */
13700 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13708 if { (eval echo configure
:13709: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13710 eval "ac_cv_func_$ac_func=yes"
13712 echo "configure: failed program was:" >&5
13713 cat conftest.
$ac_ext >&5
13715 eval "ac_cv_func_$ac_func=no"
13720 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13721 echo "$ac_t""yes" 1>&6
13722 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13723 cat >> confdefs.h
<<EOF
13724 #define $ac_tr_func 1
13728 echo "$ac_t""no" 1>&6
13734 for ac_hdr
in sched.h
13736 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
13737 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
13738 echo "configure:13739: checking for $ac_hdr" >&5
13739 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13740 echo $ac_n "(cached) $ac_c" 1>&6
13742 cat > conftest.
$ac_ext <<EOF
13743 #line 13744 "configure"
13744 #include "confdefs.h"
13747 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13748 { (eval echo configure
:13749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13749 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13750 if test -z "$ac_err"; then
13752 eval "ac_cv_header_$ac_safe=yes"
13755 echo "configure: failed program was:" >&5
13756 cat conftest.
$ac_ext >&5
13758 eval "ac_cv_header_$ac_safe=no"
13762 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13763 echo "$ac_t""yes" 1>&6
13764 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
13765 cat >> confdefs.h
<<EOF
13766 #define $ac_tr_hdr 1
13770 echo "$ac_t""no" 1>&6
13775 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
13776 echo "configure:13777: checking for sched_yield in -l$THREADS_LINK" >&5
13777 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
13778 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13779 echo $ac_n "(cached) $ac_c" 1>&6
13781 ac_save_LIBS
="$LIBS"
13782 LIBS
="-l$THREADS_LINK $LIBS"
13783 cat > conftest.
$ac_ext <<EOF
13784 #line 13785 "configure"
13785 #include "confdefs.h"
13786 /* Override any gcc2 internal prototype to avoid an error. */
13787 /* We use char because int might match the return type of a gcc2
13788 builtin and then its argument prototype would still apply. */
13789 char sched_yield();
13795 if { (eval echo configure
:13796: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13797 eval "ac_cv_lib_$ac_lib_var=yes"
13799 echo "configure: failed program was:" >&5
13800 cat conftest.
$ac_ext >&5
13802 eval "ac_cv_lib_$ac_lib_var=no"
13805 LIBS
="$ac_save_LIBS"
13808 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13809 echo "$ac_t""yes" 1>&6
13810 cat >> confdefs.h
<<\EOF
13811 #define HAVE_SCHED_YIELD 1
13815 echo "$ac_t""no" 1>&6
13816 echo $ac_n "checking for sched_yield in -lposix4""... $ac_c" 1>&6
13817 echo "configure:13818: checking for sched_yield in -lposix4" >&5
13818 ac_lib_var
=`echo posix4'_'sched_yield | sed 'y%./+-%__p_%'`
13819 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13820 echo $ac_n "(cached) $ac_c" 1>&6
13822 ac_save_LIBS
="$LIBS"
13823 LIBS
="-lposix4 $LIBS"
13824 cat > conftest.
$ac_ext <<EOF
13825 #line 13826 "configure"
13826 #include "confdefs.h"
13827 /* Override any gcc2 internal prototype to avoid an error. */
13828 /* We use char because int might match the return type of a gcc2
13829 builtin and then its argument prototype would still apply. */
13830 char sched_yield();
13836 if { (eval echo configure
:13837: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13838 eval "ac_cv_lib_$ac_lib_var=yes"
13840 echo "configure: failed program was:" >&5
13841 cat conftest.
$ac_ext >&5
13843 eval "ac_cv_lib_$ac_lib_var=no"
13846 LIBS
="$ac_save_LIBS"
13849 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13850 echo "$ac_t""yes" 1>&6
13851 cat >> confdefs.h
<<\EOF
13852 #define HAVE_SCHED_YIELD 1
13854 POSIX4_LINK
="-lposix4"
13856 echo "$ac_t""no" 1>&6
13857 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
13866 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
13867 echo "configure:13868: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
13868 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
13869 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13870 echo $ac_n "(cached) $ac_c" 1>&6
13872 ac_save_LIBS
="$LIBS"
13873 LIBS
="-l$THREADS_LINK $LIBS"
13874 cat > conftest.
$ac_ext <<EOF
13875 #line 13876 "configure"
13876 #include "confdefs.h"
13877 /* Override any gcc2 internal prototype to avoid an error. */
13878 /* We use char because int might match the return type of a gcc2
13879 builtin and then its argument prototype would still apply. */
13880 char pthread_attr_getschedpolicy();
13883 pthread_attr_getschedpolicy()
13886 if { (eval echo configure
:13887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13888 eval "ac_cv_lib_$ac_lib_var=yes"
13890 echo "configure: failed program was:" >&5
13891 cat conftest.
$ac_ext >&5
13893 eval "ac_cv_lib_$ac_lib_var=no"
13896 LIBS
="$ac_save_LIBS"
13899 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13900 echo "$ac_t""yes" 1>&6
13901 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
13902 echo "configure:13903: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
13903 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
13904 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13905 echo $ac_n "(cached) $ac_c" 1>&6
13907 ac_save_LIBS
="$LIBS"
13908 LIBS
="-l$THREADS_LINK $LIBS"
13909 cat > conftest.
$ac_ext <<EOF
13910 #line 13911 "configure"
13911 #include "confdefs.h"
13912 /* Override any gcc2 internal prototype to avoid an error. */
13913 /* We use char because int might match the return type of a gcc2
13914 builtin and then its argument prototype would still apply. */
13915 char pthread_attr_setschedparam();
13918 pthread_attr_setschedparam()
13921 if { (eval echo configure
:13922: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13923 eval "ac_cv_lib_$ac_lib_var=yes"
13925 echo "configure: failed program was:" >&5
13926 cat conftest.
$ac_ext >&5
13928 eval "ac_cv_lib_$ac_lib_var=no"
13931 LIBS
="$ac_save_LIBS"
13934 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13935 echo "$ac_t""yes" 1>&6
13936 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
13937 echo "configure:13938: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
13938 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
13939 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13940 echo $ac_n "(cached) $ac_c" 1>&6
13942 ac_save_LIBS
="$LIBS"
13943 LIBS
="-l$THREADS_LINK $LIBS"
13944 cat > conftest.
$ac_ext <<EOF
13945 #line 13946 "configure"
13946 #include "confdefs.h"
13947 /* Override any gcc2 internal prototype to avoid an error. */
13948 /* We use char because int might match the return type of a gcc2
13949 builtin and then its argument prototype would still apply. */
13950 char sched_get_priority_max();
13953 sched_get_priority_max()
13956 if { (eval echo configure
:13957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13958 eval "ac_cv_lib_$ac_lib_var=yes"
13960 echo "configure: failed program was:" >&5
13961 cat conftest.
$ac_ext >&5
13963 eval "ac_cv_lib_$ac_lib_var=no"
13966 LIBS
="$ac_save_LIBS"
13969 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13970 echo "$ac_t""yes" 1>&6
13973 echo "$ac_t""no" 1>&6
13974 echo $ac_n "checking for sched_get_priority_max in -lposix4""... $ac_c" 1>&6
13975 echo "configure:13976: checking for sched_get_priority_max in -lposix4" >&5
13976 ac_lib_var
=`echo posix4'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
13977 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13978 echo $ac_n "(cached) $ac_c" 1>&6
13980 ac_save_LIBS
="$LIBS"
13981 LIBS
="-lposix4 $LIBS"
13982 cat > conftest.
$ac_ext <<EOF
13983 #line 13984 "configure"
13984 #include "confdefs.h"
13985 /* Override any gcc2 internal prototype to avoid an error. */
13986 /* We use char because int might match the return type of a gcc2
13987 builtin and then its argument prototype would still apply. */
13988 char sched_get_priority_max();
13991 sched_get_priority_max()
13994 if { (eval echo configure
:13995: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13996 eval "ac_cv_lib_$ac_lib_var=yes"
13998 echo "configure: failed program was:" >&5
13999 cat conftest.
$ac_ext >&5
14001 eval "ac_cv_lib_$ac_lib_var=no"
14004 LIBS
="$ac_save_LIBS"
14007 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14008 echo "$ac_t""yes" 1>&6
14011 POSIX4_LINK
="-lposix4"
14014 echo "$ac_t""no" 1>&6
14022 echo "$ac_t""no" 1>&6
14027 echo "$ac_t""no" 1>&6
14031 if test "$HAVE_PRIOR_FUNCS" = 1; then
14032 cat >> confdefs.h
<<\EOF
14033 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
14037 echo "configure: warning: Setting thread priority will not work" 1>&2
14040 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
14041 echo "configure:14042: checking for pthread_cancel in -l$THREADS_LINK" >&5
14042 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
14043 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14044 echo $ac_n "(cached) $ac_c" 1>&6
14046 ac_save_LIBS
="$LIBS"
14047 LIBS
="-l$THREADS_LINK $LIBS"
14048 cat > conftest.
$ac_ext <<EOF
14049 #line 14050 "configure"
14050 #include "confdefs.h"
14051 /* Override any gcc2 internal prototype to avoid an error. */
14052 /* We use char because int might match the return type of a gcc2
14053 builtin and then its argument prototype would still apply. */
14054 char pthread_cancel();
14060 if { (eval echo configure
:14061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14062 eval "ac_cv_lib_$ac_lib_var=yes"
14064 echo "configure: failed program was:" >&5
14065 cat conftest.
$ac_ext >&5
14067 eval "ac_cv_lib_$ac_lib_var=no"
14070 LIBS
="$ac_save_LIBS"
14073 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14074 echo "$ac_t""yes" 1>&6
14075 cat >> confdefs.h
<<\EOF
14076 #define HAVE_PTHREAD_CANCEL 1
14080 echo "$ac_t""no" 1>&6
14081 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
14085 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
14086 echo "configure:14087: checking for pthread_cleanup_push/pop" >&5
14087 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
14088 echo $ac_n "(cached) $ac_c" 1>&6
14091 cat > conftest.
$ac_ext <<EOF
14092 #line 14093 "configure"
14093 #include "confdefs.h"
14094 #include <pthread.h>
14097 pthread_cleanup_push(NULL, NULL);
14098 pthread_cleanup_pop(0);
14102 if { (eval echo configure
:14103: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14105 wx_cv_func_pthread_cleanup_push
=yes
14108 echo "configure: failed program was:" >&5
14109 cat conftest.
$ac_ext >&5
14112 wx_cv_func_pthread_cleanup_push
=no
14119 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
14121 if test "$wx_cv_func_pthread_cleanup_push" = "yes"; then
14122 cat >> confdefs.h
<<\EOF
14123 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
14129 echo $ac_n "checking for pthread_mutexattr_t""... $ac_c" 1>&6
14130 echo "configure:14131: checking for pthread_mutexattr_t" >&5
14131 if eval "test \"`echo '$''{'wx_cv_type_pthread_mutexattr_t'+set}'`\" = set"; then
14132 echo $ac_n "(cached) $ac_c" 1>&6
14135 cat > conftest.
$ac_ext <<EOF
14136 #line 14137 "configure"
14137 #include "confdefs.h"
14138 #include <pthread.h>
14141 pthread_mutexattr_t attr;
14142 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
14146 if { (eval echo configure
:14147: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14149 wx_cv_type_pthread_mutexattr_t
=yes
14152 echo "configure: failed program was:" >&5
14153 cat conftest.
$ac_ext >&5
14156 wx_cv_type_pthread_mutexattr_t
=no
14164 echo "$ac_t""$wx_cv_type_pthread_mutexattr_t" 1>&6
14166 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
14167 cat >> confdefs.h
<<\EOF
14168 #define HAVE_PTHREAD_MUTEXATTR_T 1
14172 echo $ac_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER""... $ac_c" 1>&6
14173 echo "configure:14174: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
14174 if eval "test \"`echo '$''{'wx_cv_type_pthread_rec_mutex_init'+set}'`\" = set"; then
14175 echo $ac_n "(cached) $ac_c" 1>&6
14178 cat > conftest.
$ac_ext <<EOF
14179 #line 14180 "configure"
14180 #include "confdefs.h"
14181 #include <pthread.h>
14184 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
14188 if { (eval echo configure
:14189: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14191 wx_cv_type_pthread_rec_mutex_init
=yes
14194 echo "configure: failed program was:" >&5
14195 cat conftest.
$ac_ext >&5
14198 wx_cv_type_pthread_rec_mutex_init
=no
14206 echo "$ac_t""$wx_cv_type_pthread_rec_mutex_init" 1>&6
14207 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
14208 cat >> confdefs.h
<<\EOF
14209 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
14213 echo "configure: warning: wxMutex won't be recursive on this platform" 1>&2
14217 THREADS_LINK
="-l$THREADS_LINK"
14219 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
14220 CFLAGS
="${CFLAGS} -mt"
14221 CXXFLAGS
="${CXXFLAGS} -mt"
14222 LDFLAGS
="${LDFLAGS} -mt"
14228 if test "$wxUSE_THREADS" = "yes"; then
14229 cat >> confdefs.h
<<\EOF
14230 #define wxUSE_THREADS 1
14234 if test "$wxUSE_MAC" = "0"; then
14235 CFLAGS
="${CFLAGS} -D_REENTRANT"
14236 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14239 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
14241 if test "$ac_cv_func_strtok_r" = "yes"; then
14242 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
14243 echo "configure:14244: checking if -D_REENTRANT is needed" >&5
14244 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
14245 CFLAGS
="${CFLAGS} -D_REENTRANT"
14246 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
14247 echo "$ac_t""yes" 1>&6
14249 echo "$ac_t""no" 1>&6
14254 if test "$WXGTK20" = 1 ; then
14255 cat >> confdefs.h
<<EOF
14256 #define __WXGTK20__ $WXGTK20
14262 if test "$WXGTK12" = 1 ; then
14263 cat >> confdefs.h
<<EOF
14264 #define __WXGTK12__ $WXGTK12
14269 if test "$WXGTK127" = 1 ; then
14270 cat >> confdefs.h
<<EOF
14271 #define __WXGTK127__ $WXGTK127
14276 if test "$WXWINE" = 1 ; then
14277 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
14280 if test "$wxUSE_MAC" = 1 ; then
14281 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -D__POWERPC__ -DTARGET_CARBON"
14282 CFLAGS
="${CFLAGS} -fno-common -fpascal-strings"
14283 CPPFLAGS
="${CPPFLAGS} -cpp-precomp -fno-common -fpascal-strings"
14284 # Extract the first word of "Rez", so it can be a program name with args.
14285 set dummy Rez
; ac_word
=$2
14286 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14287 echo "configure:14288: checking for $ac_word" >&5
14288 if eval "test \"`echo '$''{'ac_cv_prog_REZ'+set}'`\" = set"; then
14289 echo $ac_n "(cached) $ac_c" 1>&6
14291 if test -n "$REZ"; then
14292 ac_cv_prog_REZ
="$REZ" # Let the user override the test.
14294 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14296 for ac_dir
in $ac_dummy; do
14297 test -z "$ac_dir" && ac_dir
=.
14298 if test -f $ac_dir/$ac_word; then
14299 ac_cv_prog_REZ
="Rez"
14304 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ
="/Developer/Tools/Rez"
14307 REZ
="$ac_cv_prog_REZ"
14308 if test -n "$REZ"; then
14309 echo "$ac_t""$REZ" 1>&6
14311 echo "$ac_t""no" 1>&6
14314 # Extract the first word of "Derez", so it can be a program name with args.
14315 set dummy Derez
; ac_word
=$2
14316 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
14317 echo "configure:14318: checking for $ac_word" >&5
14318 if eval "test \"`echo '$''{'ac_cv_prog_DEREZ'+set}'`\" = set"; then
14319 echo $ac_n "(cached) $ac_c" 1>&6
14321 if test -n "$DEREZ"; then
14322 ac_cv_prog_DEREZ
="$DEREZ" # Let the user override the test.
14324 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
14326 for ac_dir
in $ac_dummy; do
14327 test -z "$ac_dir" && ac_dir
=.
14328 if test -f $ac_dir/$ac_word; then
14329 ac_cv_prog_DEREZ
="Derez"
14334 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ
="/Developer/Tools/Derez"
14337 DEREZ
="$ac_cv_prog_DEREZ"
14338 if test -n "$DEREZ"; then
14339 echo "$ac_t""$DEREZ" 1>&6
14341 echo "$ac_t""no" 1>&6
14345 REZFLAGS
="-d __UNIX__ -useDF"
14346 DEREZFLAGS
="Carbon.r -useDF"
14347 RESFLAGS
="Carbon.r -t APPL"
14348 LIBWXMACRES
="\$(LIBWX_MACRES)"
14349 LIBWXMACRESCOMP
="\$(LIBWX_MACRESCOMP)"
14352 if test "$wxUSE_CYGWIN" = 1 ; then
14353 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
14358 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
14363 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
14364 wxUSE_DEBUG_INFO
=yes
14368 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
14369 cat >> confdefs.h
<<\EOF
14373 WXDEBUG_DEFINE
="-D__WXDEBUG__"
14375 if test "$wxUSE_GTK" = 1 ; then
14376 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
14380 if test "$wxUSE_MEM_TRACING" = "yes" ; then
14381 cat >> confdefs.h
<<\EOF
14382 #define wxUSE_MEMORY_TRACING 1
14385 cat >> confdefs.h
<<\EOF
14386 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
14389 cat >> confdefs.h
<<\EOF
14390 #define wxUSE_DEBUG_NEW_ALWAYS 1
14393 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
14396 if test "$wxUSE_DMALLOC" = "yes" ; then
14397 DMALLOC_LINK
="-ldmalloc"
14401 if test "$wxUSE_PROFILE" = "yes" ; then
14407 CODE_GEN_FLAGS_CXX
=
14408 if test "$GCC" = yes ; then
14409 if test "$wxUSE_NO_RTTI" = "yes" ; then
14410 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-rtti"
14412 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
14413 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS -fno-exceptions"
14415 if test "$wxUSE_PERMISSIVE" = "yes" ; then
14416 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
14418 if test "$wxUSE_NO_DEPS" = "no" ; then
14419 DEP_INFO_FLAGS
="-MMD"
14424 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
14425 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
14426 if test "$wxUSE_OPTIMISE" = "no" ; then
14429 if test "$GCC" = yes ; then
14432 i586
-*-*|i686
-*-* )
14433 OPTIMISE
="${OPTIMISE} "
14441 if test "$WXWIN_COMPATIBILITY_2" = "yes"; then
14442 cat >> confdefs.h
<<\EOF
14443 #define WXWIN_COMPATIBILITY_2 1
14447 WXWIN_COMPATIBILITY_2_2
="yes"
14450 if test "$WXWIN_COMPATIBILITY_2_2" = "yes"; then
14451 cat >> confdefs.h
<<\EOF
14452 #define WXWIN_COMPATIBILITY_2_2 1
14459 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
14460 cat >> confdefs.h
<<\EOF
14461 #define wxUSE_ZLIB 1
14464 if test "$wxUSE_ZLIB" = "yes" ; then
14465 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
14468 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
14469 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
14470 echo "configure:14471: checking for zlib.h" >&5
14471 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14472 echo $ac_n "(cached) $ac_c" 1>&6
14474 cat > conftest.
$ac_ext <<EOF
14475 #line 14476 "configure"
14476 #include "confdefs.h"
14479 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14480 { (eval echo configure
:14481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14481 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14482 if test -z "$ac_err"; then
14484 eval "ac_cv_header_$ac_safe=yes"
14487 echo "configure: failed program was:" >&5
14488 cat conftest.
$ac_ext >&5
14490 eval "ac_cv_header_$ac_safe=no"
14494 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14495 echo "$ac_t""yes" 1>&6
14496 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
14497 echo "configure:14498: checking for deflate in -lz" >&5
14498 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
14499 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14500 echo $ac_n "(cached) $ac_c" 1>&6
14502 ac_save_LIBS
="$LIBS"
14504 cat > conftest.
$ac_ext <<EOF
14505 #line 14506 "configure"
14506 #include "confdefs.h"
14507 /* Override any gcc2 internal prototype to avoid an error. */
14508 /* We use char because int might match the return type of a gcc2
14509 builtin and then its argument prototype would still apply. */
14516 if { (eval echo configure
:14517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14518 eval "ac_cv_lib_$ac_lib_var=yes"
14520 echo "configure: failed program was:" >&5
14521 cat conftest.
$ac_ext >&5
14523 eval "ac_cv_lib_$ac_lib_var=no"
14526 LIBS
="$ac_save_LIBS"
14529 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14530 echo "$ac_t""yes" 1>&6
14533 echo "$ac_t""no" 1>&6
14537 echo "$ac_t""no" 1>&6
14540 if test "x$ZLIB_LINK" = "x" ; then
14541 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
14547 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
14548 cat >> confdefs.h
<<\EOF
14549 #define wxUSE_LIBPNG 1
14552 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
14553 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
14557 if test "$wxUSE_LIBPNG" = "yes" ; then
14558 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
14561 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
14562 echo $ac_n "checking for png.h""... $ac_c" 1>&6
14563 echo "configure:14564: checking for png.h" >&5
14564 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14565 echo $ac_n "(cached) $ac_c" 1>&6
14567 cat > conftest.
$ac_ext <<EOF
14568 #line 14569 "configure"
14569 #include "confdefs.h"
14572 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14573 { (eval echo configure
:14574: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14574 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14575 if test -z "$ac_err"; then
14577 eval "ac_cv_header_$ac_safe=yes"
14580 echo "configure: failed program was:" >&5
14581 cat conftest.
$ac_ext >&5
14583 eval "ac_cv_header_$ac_safe=no"
14587 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14588 echo "$ac_t""yes" 1>&6
14589 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
14590 echo "configure:14591: checking for png_check_sig in -lpng" >&5
14591 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
14592 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14593 echo $ac_n "(cached) $ac_c" 1>&6
14595 ac_save_LIBS
="$LIBS"
14596 LIBS
="-lpng -lz -lm $LIBS"
14597 cat > conftest.
$ac_ext <<EOF
14598 #line 14599 "configure"
14599 #include "confdefs.h"
14600 /* Override any gcc2 internal prototype to avoid an error. */
14601 /* We use char because int might match the return type of a gcc2
14602 builtin and then its argument prototype would still apply. */
14603 char png_check_sig();
14609 if { (eval echo configure
:14610: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14611 eval "ac_cv_lib_$ac_lib_var=yes"
14613 echo "configure: failed program was:" >&5
14614 cat conftest.
$ac_ext >&5
14616 eval "ac_cv_lib_$ac_lib_var=no"
14619 LIBS
="$ac_save_LIBS"
14622 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14623 echo "$ac_t""yes" 1>&6
14626 echo "$ac_t""no" 1>&6
14631 echo "$ac_t""no" 1>&6
14634 if test "x$PNG_LINK" = "x" ; then
14635 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
14639 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
14643 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
14644 cat >> confdefs.h
<<\EOF
14645 #define wxUSE_LIBJPEG 1
14648 if test "$wxUSE_LIBJPEG" = "yes" ; then
14649 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
14652 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
14653 echo "configure:14654: checking for jpeglib.h" >&5
14654 if eval "test \"`echo '$''{'ac_cv_header_jpeglib_h'+set}'`\" = set"; then
14655 echo $ac_n "(cached) $ac_c" 1>&6
14657 cat > conftest.
$ac_ext <<EOF
14658 #line 14659 "configure"
14659 #include "confdefs.h"
14661 #undef HAVE_STDLIB_H
14663 #include <jpeglib.h>
14670 if { (eval echo configure
:14671: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14672 ac_cv_header_jpeglib_h
=yes
14674 echo "configure: failed program was:" >&5
14675 cat conftest.
$ac_ext >&5
14677 ac_cv_header_jpeglib_h
=no
14684 echo "$ac_t""$ac_cv_header_jpeglib_h" 1>&6
14686 if test "$ac_cv_header_jpeglib_h" = "yes"; then
14687 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
14688 echo "configure:14689: checking for jpeg_read_header in -ljpeg" >&5
14689 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
14690 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14691 echo $ac_n "(cached) $ac_c" 1>&6
14693 ac_save_LIBS
="$LIBS"
14694 LIBS
="-ljpeg $LIBS"
14695 cat > conftest.
$ac_ext <<EOF
14696 #line 14697 "configure"
14697 #include "confdefs.h"
14698 /* Override any gcc2 internal prototype to avoid an error. */
14699 /* We use char because int might match the return type of a gcc2
14700 builtin and then its argument prototype would still apply. */
14701 char jpeg_read_header();
14707 if { (eval echo configure
:14708: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14709 eval "ac_cv_lib_$ac_lib_var=yes"
14711 echo "configure: failed program was:" >&5
14712 cat conftest.
$ac_ext >&5
14714 eval "ac_cv_lib_$ac_lib_var=no"
14717 LIBS
="$ac_save_LIBS"
14720 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14721 echo "$ac_t""yes" 1>&6
14724 echo "$ac_t""no" 1>&6
14729 if test "x$JPEG_LINK" = "x" ; then
14730 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
14736 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
14737 cat >> confdefs.h
<<\EOF
14738 #define wxUSE_LIBTIFF 1
14741 if test "$wxUSE_LIBTIFF" = "yes" ; then
14742 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
14745 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
14746 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
14747 echo "configure:14748: checking for tiffio.h" >&5
14748 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14749 echo $ac_n "(cached) $ac_c" 1>&6
14751 cat > conftest.
$ac_ext <<EOF
14752 #line 14753 "configure"
14753 #include "confdefs.h"
14754 #include <tiffio.h>
14756 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14757 { (eval echo configure
:14758: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14758 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14759 if test -z "$ac_err"; then
14761 eval "ac_cv_header_$ac_safe=yes"
14764 echo "configure: failed program was:" >&5
14765 cat conftest.
$ac_ext >&5
14767 eval "ac_cv_header_$ac_safe=no"
14771 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14772 echo "$ac_t""yes" 1>&6
14773 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
14774 echo "configure:14775: checking for TIFFError in -ltiff" >&5
14775 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
14776 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14777 echo $ac_n "(cached) $ac_c" 1>&6
14779 ac_save_LIBS
="$LIBS"
14780 LIBS
="-ltiff -lm $LIBS"
14781 cat > conftest.
$ac_ext <<EOF
14782 #line 14783 "configure"
14783 #include "confdefs.h"
14784 /* Override any gcc2 internal prototype to avoid an error. */
14785 /* We use char because int might match the return type of a gcc2
14786 builtin and then its argument prototype would still apply. */
14793 if { (eval echo configure
:14794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14795 eval "ac_cv_lib_$ac_lib_var=yes"
14797 echo "configure: failed program was:" >&5
14798 cat conftest.
$ac_ext >&5
14800 eval "ac_cv_lib_$ac_lib_var=no"
14803 LIBS
="$ac_save_LIBS"
14806 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14807 echo "$ac_t""yes" 1>&6
14810 echo "$ac_t""no" 1>&6
14814 echo "$ac_t""no" 1>&6
14817 if test "x$TIFF_LINK" = "x" ; then
14818 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
14824 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
14825 cat >> confdefs.h
<<\EOF
14826 #define wxUSE_FREETYPE 1
14829 if test "$wxUSE_FREETYPE" = "yes" ; then
14830 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
14833 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
14834 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
14835 echo "configure:14836: checking for freetype.h" >&5
14836 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14837 echo $ac_n "(cached) $ac_c" 1>&6
14839 cat > conftest.
$ac_ext <<EOF
14840 #line 14841 "configure"
14841 #include "confdefs.h"
14842 #include <freetype.h>
14844 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14845 { (eval echo configure
:14846: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14846 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14847 if test -z "$ac_err"; then
14849 eval "ac_cv_header_$ac_safe=yes"
14852 echo "configure: failed program was:" >&5
14853 cat conftest.
$ac_ext >&5
14855 eval "ac_cv_header_$ac_safe=no"
14859 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14860 echo "$ac_t""yes" 1>&6
14861 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
14862 echo "configure:14863: checking for FT_Render_Glyph in -lfreetype" >&5
14863 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
14864 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14865 echo $ac_n "(cached) $ac_c" 1>&6
14867 ac_save_LIBS
="$LIBS"
14868 LIBS
="-lfreetype -lm $LIBS"
14869 cat > conftest.
$ac_ext <<EOF
14870 #line 14871 "configure"
14871 #include "confdefs.h"
14872 /* Override any gcc2 internal prototype to avoid an error. */
14873 /* We use char because int might match the return type of a gcc2
14874 builtin and then its argument prototype would still apply. */
14875 char FT_Render_Glyph();
14881 if { (eval echo configure
:14882: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14883 eval "ac_cv_lib_$ac_lib_var=yes"
14885 echo "configure: failed program was:" >&5
14886 cat conftest.
$ac_ext >&5
14888 eval "ac_cv_lib_$ac_lib_var=no"
14891 LIBS
="$ac_save_LIBS"
14894 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14895 echo "$ac_t""yes" 1>&6
14896 FREETYPE_LINK
="-lfreetype"
14898 echo "$ac_t""no" 1>&6
14903 echo "$ac_t""no" 1>&6
14906 if test "x$FREETYPE_LINK" = "x" ; then
14907 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
14912 if test "$wxUSE_OPENGL" = "yes"; then
14913 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
14914 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
14915 echo "configure:14916: checking for GL/gl.h" >&5
14916 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14917 echo $ac_n "(cached) $ac_c" 1>&6
14919 cat > conftest.
$ac_ext <<EOF
14920 #line 14921 "configure"
14921 #include "confdefs.h"
14924 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14925 { (eval echo configure
:14926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14926 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14927 if test -z "$ac_err"; then
14929 eval "ac_cv_header_$ac_safe=yes"
14932 echo "configure: failed program was:" >&5
14933 cat conftest.
$ac_ext >&5
14935 eval "ac_cv_header_$ac_safe=no"
14939 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14940 echo "$ac_t""yes" 1>&6
14942 cat >> confdefs.h
<<\EOF
14943 #define wxUSE_OPENGL 1
14946 cat >> confdefs.h
<<\EOF
14947 #define wxUSE_GLCANVAS 1
14950 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
14951 echo "configure:14952: checking for glFlush in -lGL" >&5
14952 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
14953 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14954 echo $ac_n "(cached) $ac_c" 1>&6
14956 ac_save_LIBS
="$LIBS"
14958 cat > conftest.
$ac_ext <<EOF
14959 #line 14960 "configure"
14960 #include "confdefs.h"
14961 /* Override any gcc2 internal prototype to avoid an error. */
14962 /* We use char because int might match the return type of a gcc2
14963 builtin and then its argument prototype would still apply. */
14970 if { (eval echo configure
:14971: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14972 eval "ac_cv_lib_$ac_lib_var=yes"
14974 echo "configure: failed program was:" >&5
14975 cat conftest.
$ac_ext >&5
14977 eval "ac_cv_lib_$ac_lib_var=no"
14980 LIBS
="$ac_save_LIBS"
14983 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14984 echo "$ac_t""yes" 1>&6
14986 OPENGL_LINK
="-lGL -lGLU"
14989 echo "$ac_t""no" 1>&6
14991 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
14992 echo "configure:14993: checking for glFlush in -lMesaGL" >&5
14993 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
14994 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14995 echo $ac_n "(cached) $ac_c" 1>&6
14997 ac_save_LIBS
="$LIBS"
14998 LIBS
="-lMesaGL $LIBS"
14999 cat > conftest.
$ac_ext <<EOF
15000 #line 15001 "configure"
15001 #include "confdefs.h"
15002 /* Override any gcc2 internal prototype to avoid an error. */
15003 /* We use char because int might match the return type of a gcc2
15004 builtin and then its argument prototype would still apply. */
15011 if { (eval echo configure
:15012: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15013 eval "ac_cv_lib_$ac_lib_var=yes"
15015 echo "configure: failed program was:" >&5
15016 cat conftest.
$ac_ext >&5
15018 eval "ac_cv_lib_$ac_lib_var=no"
15021 LIBS
="$ac_save_LIBS"
15024 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15025 echo "$ac_t""yes" 1>&6
15027 OPENGL_LINK
="-lMesaGL -lMesaGLU"
15030 echo "$ac_t""no" 1>&6
15038 echo "$ac_t""no" 1>&6
15045 if test "$wxUSE_GUI" = "yes"; then
15046 cat >> confdefs.h
<<\EOF
15047 #define wxUSE_GUI 1
15052 cat >> confdefs.h
<<\EOF
15053 #define wxUSE_NOGUI 1
15059 if test "$wxUSE_UNIX" = "yes"; then
15060 cat >> confdefs.h
<<\EOF
15061 #define wxUSE_UNIX 1
15067 if test "$wxUSE_APPLE_IEEE" = "yes"; then
15068 cat >> confdefs.h
<<\EOF
15069 #define wxUSE_APPLE_IEEE 1
15074 if test "$wxUSE_TIMER" = "yes"; then
15075 cat >> confdefs.h
<<\EOF
15076 #define wxUSE_TIMER 1
15081 if test "$wxUSE_WAVE" = "yes"; then
15082 cat >> confdefs.h
<<\EOF
15083 #define wxUSE_WAVE 1
15088 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
15089 cat >> confdefs.h
<<\EOF
15090 #define wxUSE_CMDLINE_PARSER 1
15095 if test "$wxUSE_STOPWATCH" = "yes"; then
15096 cat >> confdefs.h
<<\EOF
15097 #define wxUSE_STOPWATCH 1
15102 if test "$wxUSE_DATETIME" = "yes"; then
15103 cat >> confdefs.h
<<\EOF
15104 #define wxUSE_DATETIME 1
15109 if test "$wxUSE_TIMEDATE" = "yes"; then
15110 cat >> confdefs.h
<<\EOF
15111 #define wxUSE_TIMEDATE 1
15116 if test "$wxUSE_FILE" = "yes"; then
15117 cat >> confdefs.h
<<\EOF
15118 #define wxUSE_FILE 1
15123 if test "$wxUSE_FFILE" = "yes"; then
15124 cat >> confdefs.h
<<\EOF
15125 #define wxUSE_FFILE 1
15130 if test "$wxUSE_FILESYSTEM" = "yes"; then
15131 cat >> confdefs.h
<<\EOF
15132 #define wxUSE_FILESYSTEM 1
15137 if test "$wxUSE_FS_INET" = "yes"; then
15138 cat >> confdefs.h
<<\EOF
15139 #define wxUSE_FS_INET 1
15144 if test "$wxUSE_FS_ZIP" = "yes"; then
15145 cat >> confdefs.h
<<\EOF
15146 #define wxUSE_FS_ZIP 1
15151 if test "$wxUSE_ZIPSTREAM" = "yes"; then
15152 cat >> confdefs.h
<<\EOF
15153 #define wxUSE_ZIPSTREAM 1
15158 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
15159 cat >> confdefs.h
<<\EOF
15160 #define wxUSE_ON_FATAL_EXCEPTION 1
15165 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
15166 cat >> confdefs.h
<<\EOF
15167 #define wxUSE_SNGLINST_CHECKER 1
15172 if test "$wxUSE_BUSYINFO" = "yes"; then
15173 cat >> confdefs.h
<<\EOF
15174 #define wxUSE_BUSYINFO 1
15179 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
15180 cat >> confdefs.h
<<\EOF
15181 #define wxUSE_STD_IOSTREAM 1
15186 if test "$wxUSE_TEXTFILE" = "yes"; then
15187 if test "$wxUSE_FILE" != "yes"; then
15188 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
15190 cat >> confdefs.h
<<\EOF
15191 #define wxUSE_TEXTFILE 1
15197 if test "$wxUSE_CONFIG" = "yes" ; then
15198 if test "$wxUSE_TEXTFILE" != "yes"; then
15199 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
15201 cat >> confdefs.h
<<\EOF
15202 #define wxUSE_CONFIG 1
15205 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
15209 if test "$wxUSE_INTL" = "yes" ; then
15210 if test "$wxUSE_FILE" != "yes"; then
15211 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
15213 cat >> confdefs.h
<<\EOF
15214 #define wxUSE_INTL 1
15217 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
15218 GUIDIST
="$GUIDIST INTL_DIST"
15222 if test "$wxUSE_LOG" = "yes"; then
15223 cat >> confdefs.h
<<\EOF
15224 #define wxUSE_LOG 1
15228 if test "$wxUSE_LOGGUI" = "yes"; then
15229 cat >> confdefs.h
<<\EOF
15230 #define wxUSE_LOGGUI 1
15235 if test "$wxUSE_LOGWINDOW" = "yes"; then
15236 cat >> confdefs.h
<<\EOF
15237 #define wxUSE_LOGWINDOW 1
15243 if test "$wxUSE_LONGLONG" = "yes"; then
15244 cat >> confdefs.h
<<\EOF
15245 #define wxUSE_LONGLONG 1
15250 if test "$wxUSE_GEOMETRY" = "yes"; then
15251 cat >> confdefs.h
<<\EOF
15252 #define wxUSE_GEOMETRY 1
15257 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
15258 cat >> confdefs.h
<<\EOF
15259 #define wxUSE_DIALUP_MANAGER 1
15262 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
15265 if test "$wxUSE_STREAMS" = "yes" ; then
15266 cat >> confdefs.h
<<\EOF
15267 #define wxUSE_STREAMS 1
15273 if test "$wxUSE_DATETIME" = "yes"; then
15274 for ac_func
in strptime
15276 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15277 echo "configure:15278: checking for $ac_func" >&5
15278 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15279 echo $ac_n "(cached) $ac_c" 1>&6
15281 cat > conftest.
$ac_ext <<EOF
15282 #line 15283 "configure"
15283 #include "confdefs.h"
15284 /* System header to define __stub macros and hopefully few prototypes,
15285 which can conflict with char $ac_func(); below. */
15286 #include <assert.h>
15287 /* Override any gcc2 internal prototype to avoid an error. */
15288 /* We use char because int might match the return type of a gcc2
15289 builtin and then its argument prototype would still apply. */
15294 /* The GNU C library defines this for functions which it implements
15295 to always fail with ENOSYS. Some functions are actually named
15296 something starting with __ and the normal name is an alias. */
15297 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15305 if { (eval echo configure
:15306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15307 eval "ac_cv_func_$ac_func=yes"
15309 echo "configure: failed program was:" >&5
15310 cat conftest.
$ac_ext >&5
15312 eval "ac_cv_func_$ac_func=no"
15317 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15318 echo "$ac_t""yes" 1>&6
15319 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15320 cat >> confdefs.h
<<EOF
15321 #define $ac_tr_func 1
15325 echo "$ac_t""no" 1>&6
15330 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
15331 echo "configure:15332: checking for timezone variable in <time.h>" >&5
15332 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
15333 echo $ac_n "(cached) $ac_c" 1>&6
15336 cat > conftest.
$ac_ext <<EOF
15337 #line 15338 "configure"
15338 #include "confdefs.h"
15349 if { (eval echo configure
:15350: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15352 wx_cv_var_timezone
=__timezone
15355 echo "configure: failed program was:" >&5
15356 cat conftest.
$ac_ext >&5
15359 cat > conftest.
$ac_ext <<EOF
15360 #line 15361 "configure"
15361 #include "confdefs.h"
15372 if { (eval echo configure
:15373: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15375 wx_cv_var_timezone
=_timezone
15378 echo "configure: failed program was:" >&5
15379 cat conftest.
$ac_ext >&5
15382 cat > conftest.
$ac_ext <<EOF
15383 #line 15384 "configure"
15384 #include "confdefs.h"
15395 if { (eval echo configure
:15396: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15398 wx_cv_var_timezone
=timezone
15401 echo "configure: failed program was:" >&5
15402 cat conftest.
$ac_ext >&5
15404 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
15420 echo "$ac_t""$wx_cv_var_timezone" 1>&6
15422 cat >> confdefs.h
<<EOF
15423 #define WX_TIMEZONE $wx_cv_var_timezone
15427 for ac_func
in localtime
15429 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15430 echo "configure:15431: checking for $ac_func" >&5
15431 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15432 echo $ac_n "(cached) $ac_c" 1>&6
15434 cat > conftest.
$ac_ext <<EOF
15435 #line 15436 "configure"
15436 #include "confdefs.h"
15437 /* System header to define __stub macros and hopefully few prototypes,
15438 which can conflict with char $ac_func(); below. */
15439 #include <assert.h>
15440 /* Override any gcc2 internal prototype to avoid an error. */
15441 /* We use char because int might match the return type of a gcc2
15442 builtin and then its argument prototype would still apply. */
15447 /* The GNU C library defines this for functions which it implements
15448 to always fail with ENOSYS. Some functions are actually named
15449 something starting with __ and the normal name is an alias. */
15450 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15458 if { (eval echo configure
:15459: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15460 eval "ac_cv_func_$ac_func=yes"
15462 echo "configure: failed program was:" >&5
15463 cat conftest.
$ac_ext >&5
15465 eval "ac_cv_func_$ac_func=no"
15470 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15471 echo "$ac_t""yes" 1>&6
15472 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15473 cat >> confdefs.h
<<EOF
15474 #define $ac_tr_func 1
15478 echo "$ac_t""no" 1>&6
15483 if test "$ac_cv_func_localtime" = "yes"; then
15484 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
15485 echo "configure:15486: checking for tm_gmtoff in struct tm" >&5
15486 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
15487 echo $ac_n "(cached) $ac_c" 1>&6
15490 cat > conftest.
$ac_ext <<EOF
15491 #line 15492 "configure"
15492 #include "confdefs.h"
15503 if { (eval echo configure
:15504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15506 wx_cv_struct_tm_has_gmtoff
=yes
15509 echo "configure: failed program was:" >&5
15510 cat conftest.
$ac_ext >&5
15512 wx_cv_struct_tm_has_gmtoff
=no
15519 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
15522 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
15523 cat >> confdefs.h
<<\EOF
15524 #define WX_GMTOFF_IN_TM 1
15529 for ac_func
in gettimeofday ftime
15531 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15532 echo "configure:15533: checking for $ac_func" >&5
15533 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15534 echo $ac_n "(cached) $ac_c" 1>&6
15536 cat > conftest.
$ac_ext <<EOF
15537 #line 15538 "configure"
15538 #include "confdefs.h"
15539 /* System header to define __stub macros and hopefully few prototypes,
15540 which can conflict with char $ac_func(); below. */
15541 #include <assert.h>
15542 /* Override any gcc2 internal prototype to avoid an error. */
15543 /* We use char because int might match the return type of a gcc2
15544 builtin and then its argument prototype would still apply. */
15549 /* The GNU C library defines this for functions which it implements
15550 to always fail with ENOSYS. Some functions are actually named
15551 something starting with __ and the normal name is an alias. */
15552 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
15560 if { (eval echo configure
:15561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15562 eval "ac_cv_func_$ac_func=yes"
15564 echo "configure: failed program was:" >&5
15565 cat conftest.
$ac_ext >&5
15567 eval "ac_cv_func_$ac_func=no"
15572 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
15573 echo "$ac_t""yes" 1>&6
15574 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
15575 cat >> confdefs.h
<<EOF
15576 #define $ac_tr_func 1
15580 echo "$ac_t""no" 1>&6
15585 if test "$ac_cv_func_gettimeofday" = "yes"; then
15586 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
15587 echo "configure:15588: checking whether gettimeofday takes two arguments" >&5
15588 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
15589 echo $ac_n "(cached) $ac_c" 1>&6
15594 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15595 ac_cpp
='$CXXCPP $CPPFLAGS'
15596 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15597 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15598 cross_compiling
=$ac_cv_prog_cxx_cross
15601 cat > conftest.
$ac_ext <<EOF
15602 #line 15603 "configure"
15603 #include "confdefs.h"
15605 #include <sys/time.h>
15606 #include <unistd.h>
15611 struct timezone tz;
15612 gettimeofday(&tv, &tz);
15616 if { (eval echo configure
:15617: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15618 wx_cv_func_gettimeofday_has_2_args
=yes
15620 echo "configure: failed program was:" >&5
15621 cat conftest.
$ac_ext >&5
15623 cat > conftest.
$ac_ext <<EOF
15624 #line 15625 "configure"
15625 #include "confdefs.h"
15627 #include <sys/time.h>
15628 #include <unistd.h>
15637 if { (eval echo configure
:15638: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15639 wx_cv_func_gettimeofday_has_2_args
=no
15641 echo "configure: failed program was:" >&5
15642 cat conftest.
$ac_ext >&5
15644 wx_cv_func_gettimeofday_has_2_args
=unknown
15652 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15653 ac_cpp
='$CPP $CPPFLAGS'
15654 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15655 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15656 cross_compiling
=$ac_cv_prog_cc_cross
15661 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
15663 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
15664 cat >> confdefs.h
<<\EOF
15665 #define WX_GETTIMEOFDAY_NO_TZ 1
15671 cat >> confdefs.h
<<\EOF
15672 #define wxUSE_TIMEDATE 1
15675 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
15679 if test "$TOOLKIT" != "MSW"; then
15681 if test "$wxUSE_SOCKETS" = "yes"; then
15682 echo $ac_n "checking for socket""... $ac_c" 1>&6
15683 echo "configure:15684: checking for socket" >&5
15684 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
15685 echo $ac_n "(cached) $ac_c" 1>&6
15687 cat > conftest.
$ac_ext <<EOF
15688 #line 15689 "configure"
15689 #include "confdefs.h"
15690 /* System header to define __stub macros and hopefully few prototypes,
15691 which can conflict with char socket(); below. */
15692 #include <assert.h>
15693 /* Override any gcc2 internal prototype to avoid an error. */
15694 /* We use char because int might match the return type of a gcc2
15695 builtin and then its argument prototype would still apply. */
15700 /* The GNU C library defines this for functions which it implements
15701 to always fail with ENOSYS. Some functions are actually named
15702 something starting with __ and the normal name is an alias. */
15703 #if defined (__stub_socket) || defined (__stub___socket)
15711 if { (eval echo configure
:15712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15713 eval "ac_cv_func_socket=yes"
15715 echo "configure: failed program was:" >&5
15716 cat conftest.
$ac_ext >&5
15718 eval "ac_cv_func_socket=no"
15723 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
15724 echo "$ac_t""yes" 1>&6
15727 echo "$ac_t""no" 1>&6
15728 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
15729 echo "configure:15730: checking for socket in -lsocket" >&5
15730 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
15731 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
15732 echo $ac_n "(cached) $ac_c" 1>&6
15734 ac_save_LIBS
="$LIBS"
15735 LIBS
="-lsocket $LIBS"
15736 cat > conftest.
$ac_ext <<EOF
15737 #line 15738 "configure"
15738 #include "confdefs.h"
15739 /* Override any gcc2 internal prototype to avoid an error. */
15740 /* We use char because int might match the return type of a gcc2
15741 builtin and then its argument prototype would still apply. */
15748 if { (eval echo configure
:15749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
15750 eval "ac_cv_lib_$ac_lib_var=yes"
15752 echo "configure: failed program was:" >&5
15753 cat conftest.
$ac_ext >&5
15755 eval "ac_cv_lib_$ac_lib_var=no"
15758 LIBS
="$ac_save_LIBS"
15761 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
15762 echo "$ac_t""yes" 1>&6
15763 INET_LINK
="$INET_LINK -lsocket"
15765 echo "$ac_t""no" 1>&6
15767 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
15779 if test "$wxUSE_SOCKETS" = "yes" ; then
15780 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
15781 echo "configure:15782: checking what is the type of the third argument of getsockname" >&5
15782 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
15783 echo $ac_n "(cached) $ac_c" 1>&6
15788 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15789 ac_cpp
='$CXXCPP $CPPFLAGS'
15790 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15791 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15792 cross_compiling
=$ac_cv_prog_cxx_cross
15795 cat > conftest.
$ac_ext <<EOF
15796 #line 15797 "configure"
15797 #include "confdefs.h"
15799 #include <sys/types.h>
15800 #include <sys/socket.h>
15805 getsockname(0, 0, &len);
15809 if { (eval echo configure
:15810: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15811 wx_cv_type_getsockname3
=socklen_t
15813 echo "configure: failed program was:" >&5
15814 cat conftest.
$ac_ext >&5
15816 cat > conftest.
$ac_ext <<EOF
15817 #line 15818 "configure"
15818 #include "confdefs.h"
15820 #include <sys/types.h>
15821 #include <sys/socket.h>
15826 getsockname(0, 0, &len);
15830 if { (eval echo configure
:15831: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15832 wx_cv_type_getsockname3
=size_t
15834 echo "configure: failed program was:" >&5
15835 cat conftest.
$ac_ext >&5
15837 cat > conftest.
$ac_ext <<EOF
15838 #line 15839 "configure"
15839 #include "confdefs.h"
15841 #include <sys/types.h>
15842 #include <sys/socket.h>
15847 getsockname(0, 0, &len);
15851 if { (eval echo configure
:15852: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
15853 wx_cv_type_getsockname3
=int
15855 echo "configure: failed program was:" >&5
15856 cat conftest.
$ac_ext >&5
15858 wx_cv_type_getsockname3
=unknown
15870 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
15871 ac_cpp
='$CPP $CPPFLAGS'
15872 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
15873 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
15874 cross_compiling
=$ac_cv_prog_cc_cross
15879 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
15881 if test "$wx_cv_type_getsockname3" = "unknown"; then
15883 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
15885 cat >> confdefs.h
<<EOF
15886 #define SOCKLEN_T $wx_cv_type_getsockname3
15894 if test "$wxUSE_SOCKETS" = "yes" ; then
15895 cat >> confdefs.h
<<\EOF
15896 #define wxUSE_SOCKETS 1
15899 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
15900 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
15904 if test "$wxUSE_GUI" = "yes"; then
15906 if test "$TOOLKIT" != "MSW"; then
15908 if test "$wxUSE_JOYSTICK" = "yes"; then
15909 for ac_hdr
in linux
/joystick.h
15911 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
15912 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
15913 echo "configure:15914: checking for $ac_hdr" >&5
15914 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
15915 echo $ac_n "(cached) $ac_c" 1>&6
15917 cat > conftest.
$ac_ext <<EOF
15918 #line 15919 "configure"
15919 #include "confdefs.h"
15922 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
15923 { (eval echo configure
:15924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
15924 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
15925 if test -z "$ac_err"; then
15927 eval "ac_cv_header_$ac_safe=yes"
15930 echo "configure: failed program was:" >&5
15931 cat conftest.
$ac_ext >&5
15933 eval "ac_cv_header_$ac_safe=no"
15937 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
15938 echo "$ac_t""yes" 1>&6
15939 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
15940 cat >> confdefs.h
<<EOF
15941 #define $ac_tr_hdr 1
15945 echo "$ac_t""no" 1>&6
15949 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
15951 echo "configure: warning: Joystick not supported by this system" 1>&2
15957 if test "$wxUSE_JOYSTICK" = "yes"; then
15958 cat >> confdefs.h
<<\EOF
15959 #define wxUSE_JOYSTICK 1
15962 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
15968 if test "$TOOLKIT" != "MSW"; then
15972 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
15973 if test "$USE_MAC" = 1; then
15976 for ac_func
in dlopen
15978 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
15979 echo "configure:15980: checking for $ac_func" >&5
15980 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
15981 echo $ac_n "(cached) $ac_c" 1>&6
15983 cat > conftest.
$ac_ext <<EOF
15984 #line 15985 "configure"
15985 #include "confdefs.h"
15986 /* System header to define __stub macros and hopefully few prototypes,
15987 which can conflict with char $ac_func(); below. */
15988 #include <assert.h>
15989 /* Override any gcc2 internal prototype to avoid an error. */
15990 /* We use char because int might match the return type of a gcc2
15991 builtin and then its argument prototype would still apply. */
15996 /* The GNU C library defines this for functions which it implements
15997 to always fail with ENOSYS. Some functions are actually named
15998 something starting with __ and the normal name is an alias. */
15999 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16007 if { (eval echo configure
:16008: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16009 eval "ac_cv_func_$ac_func=yes"
16011 echo "configure: failed program was:" >&5
16012 cat conftest.
$ac_ext >&5
16014 eval "ac_cv_func_$ac_func=no"
16019 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16020 echo "$ac_t""yes" 1>&6
16021 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16022 cat >> confdefs.h
<<EOF
16023 #define $ac_tr_func 1
16026 cat >> confdefs.h
<<\EOF
16027 #define HAVE_DLOPEN 1
16033 echo "$ac_t""no" 1>&6
16034 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
16035 echo "configure:16036: checking for dlopen in -ldl" >&5
16036 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
16037 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16038 echo $ac_n "(cached) $ac_c" 1>&6
16040 ac_save_LIBS
="$LIBS"
16042 cat > conftest.
$ac_ext <<EOF
16043 #line 16044 "configure"
16044 #include "confdefs.h"
16045 /* Override any gcc2 internal prototype to avoid an error. */
16046 /* We use char because int might match the return type of a gcc2
16047 builtin and then its argument prototype would still apply. */
16054 if { (eval echo configure
:16055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16056 eval "ac_cv_lib_$ac_lib_var=yes"
16058 echo "configure: failed program was:" >&5
16059 cat conftest.
$ac_ext >&5
16061 eval "ac_cv_lib_$ac_lib_var=no"
16064 LIBS
="$ac_save_LIBS"
16067 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16068 echo "$ac_t""yes" 1>&6
16070 cat >> confdefs.h
<<\EOF
16071 #define HAVE_DLOPEN 1
16078 echo "$ac_t""no" 1>&6
16080 for ac_func
in shl_load
16082 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16083 echo "configure:16084: checking for $ac_func" >&5
16084 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16085 echo $ac_n "(cached) $ac_c" 1>&6
16087 cat > conftest.
$ac_ext <<EOF
16088 #line 16089 "configure"
16089 #include "confdefs.h"
16090 /* System header to define __stub macros and hopefully few prototypes,
16091 which can conflict with char $ac_func(); below. */
16092 #include <assert.h>
16093 /* Override any gcc2 internal prototype to avoid an error. */
16094 /* We use char because int might match the return type of a gcc2
16095 builtin and then its argument prototype would still apply. */
16100 /* The GNU C library defines this for functions which it implements
16101 to always fail with ENOSYS. Some functions are actually named
16102 something starting with __ and the normal name is an alias. */
16103 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16111 if { (eval echo configure
:16112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16113 eval "ac_cv_func_$ac_func=yes"
16115 echo "configure: failed program was:" >&5
16116 cat conftest.
$ac_ext >&5
16118 eval "ac_cv_func_$ac_func=no"
16123 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16124 echo "$ac_t""yes" 1>&6
16125 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16126 cat >> confdefs.h
<<EOF
16127 #define $ac_tr_func 1
16130 cat >> confdefs.h
<<\EOF
16131 #define HAVE_SHL_LOAD 1
16137 echo "$ac_t""no" 1>&6
16138 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
16139 echo "configure:16140: checking for dld in -lshl_load" >&5
16140 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
16141 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16142 echo $ac_n "(cached) $ac_c" 1>&6
16144 ac_save_LIBS
="$LIBS"
16145 LIBS
="-lshl_load $LIBS"
16146 cat > conftest.
$ac_ext <<EOF
16147 #line 16148 "configure"
16148 #include "confdefs.h"
16149 /* Override any gcc2 internal prototype to avoid an error. */
16150 /* We use char because int might match the return type of a gcc2
16151 builtin and then its argument prototype would still apply. */
16158 if { (eval echo configure
:16159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16160 eval "ac_cv_lib_$ac_lib_var=yes"
16162 echo "configure: failed program was:" >&5
16163 cat conftest.
$ac_ext >&5
16165 eval "ac_cv_lib_$ac_lib_var=no"
16168 LIBS
="$ac_save_LIBS"
16171 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16172 echo "$ac_t""yes" 1>&6
16178 echo "$ac_t""no" 1>&6
16193 if test "$HAVE_DL_FUNCS" = 1; then
16194 for ac_func
in dlerror
16196 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
16197 echo "configure:16198: checking for $ac_func" >&5
16198 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
16199 echo $ac_n "(cached) $ac_c" 1>&6
16201 cat > conftest.
$ac_ext <<EOF
16202 #line 16203 "configure"
16203 #include "confdefs.h"
16204 /* System header to define __stub macros and hopefully few prototypes,
16205 which can conflict with char $ac_func(); below. */
16206 #include <assert.h>
16207 /* Override any gcc2 internal prototype to avoid an error. */
16208 /* We use char because int might match the return type of a gcc2
16209 builtin and then its argument prototype would still apply. */
16214 /* The GNU C library defines this for functions which it implements
16215 to always fail with ENOSYS. Some functions are actually named
16216 something starting with __ and the normal name is an alias. */
16217 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
16225 if { (eval echo configure
:16226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16227 eval "ac_cv_func_$ac_func=yes"
16229 echo "configure: failed program was:" >&5
16230 cat conftest.
$ac_ext >&5
16232 eval "ac_cv_func_$ac_func=no"
16237 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
16238 echo "$ac_t""yes" 1>&6
16239 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
16240 cat >> confdefs.h
<<EOF
16241 #define $ac_tr_func 1
16243 cat >> confdefs.h
<<\EOF
16244 #define HAVE_DLERROR 1
16248 echo "$ac_t""no" 1>&6
16249 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
16250 echo "configure:16251: checking for dlerror in -ldl" >&5
16251 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
16252 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
16253 echo $ac_n "(cached) $ac_c" 1>&6
16255 ac_save_LIBS
="$LIBS"
16257 cat > conftest.
$ac_ext <<EOF
16258 #line 16259 "configure"
16259 #include "confdefs.h"
16260 /* Override any gcc2 internal prototype to avoid an error. */
16261 /* We use char because int might match the return type of a gcc2
16262 builtin and then its argument prototype would still apply. */
16269 if { (eval echo configure
:16270: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
16271 eval "ac_cv_lib_$ac_lib_var=yes"
16273 echo "configure: failed program was:" >&5
16274 cat conftest.
$ac_ext >&5
16276 eval "ac_cv_lib_$ac_lib_var=no"
16279 LIBS
="$ac_save_LIBS"
16282 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
16283 echo "$ac_t""yes" 1>&6
16284 cat >> confdefs.h
<<\EOF
16285 #define HAVE_DLERROR 1
16289 echo "$ac_t""no" 1>&6
16298 if test "$HAVE_DL_FUNCS" = 0; then
16299 if test "$HAVE_SHL_FUNCS" = 0; then
16300 if test "$USE_UNIX" = 1; then
16301 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
16302 wxUSE_DYNLIB_CLASS
=no
16304 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
16312 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
16313 cat >> confdefs.h
<<\EOF
16314 #define wxUSE_DYNLIB_CLASS 1
16323 if test "$wxUSE_FONTMAP" = "yes" ; then
16324 cat >> confdefs.h
<<\EOF
16325 #define wxUSE_FONTMAP 1
16330 if test "$wxUSE_UNICODE" = "yes" ; then
16331 cat >> confdefs.h
<<\EOF
16332 #define wxUSE_UNICODE 1
16337 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
16338 cat >> confdefs.h
<<\EOF
16339 #define wxUSE_WCSRTOMBS 1
16344 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
16345 cat >> confdefs.h
<<\EOF
16346 #define wxUSE_EXPERIMENTAL_PRINTF 1
16352 if test "$wxUSE_SERIAL" = "yes" ; then
16353 cat >> confdefs.h
<<\EOF
16354 #define wxUSE_SERIAL 1
16361 if test "$wxUSE_ODBC" = "yes" ; then
16362 cat >> confdefs.h
<<\EOF
16363 #define wxUSE_ODBC 1
16366 WXODBCFLAG
="-D_IODBC_"
16367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
16371 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
16372 cat >> confdefs.h
<<\EOF
16373 #define wxUSE_POSTSCRIPT 1
16378 cat >> confdefs.h
<<\EOF
16379 #define wxUSE_AFM_FOR_POSTSCRIPT 1
16383 cat >> confdefs.h
<<\EOF
16384 #define wxUSE_NORMALIZED_PS_FONTS 1
16389 if test "$wxUSE_CONSTRAINTS" = "yes"; then
16390 cat >> confdefs.h
<<\EOF
16391 #define wxUSE_CONSTRAINTS 1
16394 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
16397 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16398 cat >> confdefs.h
<<\EOF
16399 #define wxUSE_MDI_ARCHITECTURE 1
16402 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
16405 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
16406 cat >> confdefs.h
<<\EOF
16407 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
16410 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
16411 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
16412 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
16416 if test "$wxUSE_HELP" = "yes"; then
16417 cat >> confdefs.h
<<\EOF
16418 #define wxUSE_HELP 1
16421 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
16424 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
16425 if test "$wxUSE_CONSTRAINTS" != "yes"; then
16426 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
16428 cat >> confdefs.h
<<\EOF
16429 #define wxUSE_PRINTING_ARCHITECTURE 1
16433 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
16436 if test "$wxUSE_PROLOGIO" = "yes" ; then
16437 cat >> confdefs.h
<<\EOF
16438 #define wxUSE_PROLOGIO 1
16443 if test "$wxUSE_RESOURCES" = "yes" ; then
16444 if test "$wxUSE_PROLOGIO" = "yes" ; then
16445 cat >> confdefs.h
<<\EOF
16446 #define wxUSE_RESOURCES 1
16449 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
16451 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
16455 if test "$wxUSE_X_RESOURCES" = "yes"; then
16456 cat >> confdefs.h
<<\EOF
16457 #define wxUSE_X_RESOURCES 1
16463 if test "$wxUSE_IPC" = "yes"; then
16464 if test "$wxUSE_SOCKETS" != "yes"; then
16465 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
16468 cat >> confdefs.h
<<\EOF
16469 #define wxUSE_IPC 1
16474 if test "$wxUSE_CLIPBOARD" = "yes"; then
16475 cat >> confdefs.h
<<\EOF
16476 #define wxUSE_CLIPBOARD 1
16479 cat >> confdefs.h
<<\EOF
16480 #define wxUSE_DATAOBJ 1
16485 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
16486 if test "$wxUSE_GTK" = 1; then
16487 if test "$WXGTK12" != 1; then
16488 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
16489 wxUSE_DRAG_AND_DROP
=no
16493 if test "$wxUSE_MOTIF" = 1; then
16494 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
16495 wxUSE_DRAG_AND_DROP
=no
16498 if test "$wxUSE_MAC" = 1; then
16499 echo "configure: warning: Drag and drop is not yet supported under Mac OS X" 1>&2
16500 wxUSE_DRAG_AND_DROP
=no
16503 if test "$USE_WIN32" = 1; then
16505 for ac_hdr
in ole2.h
16507 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
16508 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
16509 echo "configure:16510: checking for $ac_hdr" >&5
16510 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
16511 echo $ac_n "(cached) $ac_c" 1>&6
16513 cat > conftest.
$ac_ext <<EOF
16514 #line 16515 "configure"
16515 #include "confdefs.h"
16518 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
16519 { (eval echo configure
:16520: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
16520 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
16521 if test -z "$ac_err"; then
16523 eval "ac_cv_header_$ac_safe=yes"
16526 echo "configure: failed program was:" >&5
16527 cat conftest.
$ac_ext >&5
16529 eval "ac_cv_header_$ac_safe=no"
16533 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
16534 echo "$ac_t""yes" 1>&6
16535 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
16536 cat >> confdefs.h
<<EOF
16537 #define $ac_tr_hdr 1
16541 echo "$ac_t""no" 1>&6
16546 if test "$ac_cv_header_ole2_h" = "yes" ; then
16547 if test "$GCC" = yes ; then
16548 ALL_OBJECTS
="$ALL_OBJECTS \$(OLEOBJS)"
16549 ALL_DEPFILES
="$ALL_DEPFILES \$(OLEDEPS)"
16550 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
16551 LIBS
="$LIBS -lole32 -luuid"
16553 if test "$wxUSE_METAFILE" = "yes"; then
16554 cat >> confdefs.h
<<\EOF
16555 #define wxUSE_METAFILE 1
16558 cat >> confdefs.h
<<\EOF
16559 #define wxUSE_ENH_METAFILE 1
16565 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
16566 wxUSE_DRAG_AND_DROP
=no
16570 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
16571 cat >> confdefs.h
<<\EOF
16572 #define wxUSE_DRAG_AND_DROP 1
16575 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
16580 if test "$wxUSE_SPLINES" = "yes" ; then
16581 cat >> confdefs.h
<<\EOF
16582 #define wxUSE_SPLINES 1
16589 if test "$wxUSE_CONTROLS" = "yes"; then
16593 if test "$wxUSE_ACCEL" = "yes"; then
16594 cat >> confdefs.h
<<\EOF
16595 #define wxUSE_ACCEL 1
16601 if test "$wxUSE_BUTTON" = "yes"; then
16602 cat >> confdefs.h
<<\EOF
16603 #define wxUSE_BUTTON 1
16609 if test "$wxUSE_BMPBUTTON" = "yes"; then
16610 cat >> confdefs.h
<<\EOF
16611 #define wxUSE_BMPBUTTON 1
16617 if test "$wxUSE_CALCTRL" = "yes"; then
16618 cat >> confdefs.h
<<\EOF
16619 #define wxUSE_CALENDARCTRL 1
16623 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS calendar"
16626 if test "$wxUSE_CARET" = "yes"; then
16627 cat >> confdefs.h
<<\EOF
16628 #define wxUSE_CARET 1
16632 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
16635 if test "$wxUSE_COMBOBOX" = "yes"; then
16636 cat >> confdefs.h
<<\EOF
16637 #define wxUSE_COMBOBOX 1
16643 if test "$wxUSE_CHOICE" = "yes"; then
16644 cat >> confdefs.h
<<\EOF
16645 #define wxUSE_CHOICE 1
16651 if test "$wxUSE_CHECKBOX" = "yes"; then
16652 cat >> confdefs.h
<<\EOF
16653 #define wxUSE_CHECKBOX 1
16659 if test "$wxUSE_CHECKLST" = "yes"; then
16660 cat >> confdefs.h
<<\EOF
16661 #define wxUSE_CHECKLISTBOX 1
16665 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
16668 if test "$wxUSE_GAUGE" = "yes"; then
16669 cat >> confdefs.h
<<\EOF
16670 #define wxUSE_GAUGE 1
16676 if test "$wxUSE_NEW_GRID" = "yes"; then
16678 cat >> confdefs.h
<<\EOF
16679 #define wxUSE_NEW_GRID 1
16683 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
16686 if test "$wxUSE_GRID" = "yes"; then
16687 cat >> confdefs.h
<<\EOF
16688 #define wxUSE_GRID 1
16692 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
16695 if test "$wxUSE_IMAGLIST" = "yes"; then
16696 cat >> confdefs.h
<<\EOF
16697 #define wxUSE_IMAGLIST 1
16702 if test "$wxUSE_LISTBOX" = "yes"; then
16703 cat >> confdefs.h
<<\EOF
16704 #define wxUSE_LISTBOX 1
16710 if test "$wxUSE_LISTCTRL" = "yes"; then
16711 if test "$wxUSE_IMAGLIST" = "yes"; then
16712 cat >> confdefs.h
<<\EOF
16713 #define wxUSE_LISTCTRL 1
16717 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
16719 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
16723 if test "$wxUSE_NOTEBOOK" = "yes"; then
16724 cat >> confdefs.h
<<\EOF
16725 #define wxUSE_NOTEBOOK 1
16729 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
16732 if test "$wxUSE_RADIOBOX" = "yes"; then
16733 cat >> confdefs.h
<<\EOF
16734 #define wxUSE_RADIOBOX 1
16740 if test "$wxUSE_RADIOBTN" = "yes"; then
16741 cat >> confdefs.h
<<\EOF
16742 #define wxUSE_RADIOBTN 1
16748 if test "$wxUSE_SASH" = "yes"; then
16749 cat >> confdefs.h
<<\EOF
16750 #define wxUSE_SASH 1
16753 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
16756 if test "$wxUSE_SCROLLBAR" = "yes"; then
16757 cat >> confdefs.h
<<\EOF
16758 #define wxUSE_SCROLLBAR 1
16762 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
16765 if test "$wxUSE_SLIDER" = "yes"; then
16766 cat >> confdefs.h
<<\EOF
16767 #define wxUSE_SLIDER 1
16773 if test "$wxUSE_SPINBTN" = "yes"; then
16774 cat >> confdefs.h
<<\EOF
16775 #define wxUSE_SPINBTN 1
16781 if test "$wxUSE_SPINCTRL" = "yes"; then
16782 cat >> confdefs.h
<<\EOF
16783 #define wxUSE_SPINCTRL 1
16789 if test "$wxUSE_SPLITTER" = "yes"; then
16790 cat >> confdefs.h
<<\EOF
16791 #define wxUSE_SPLITTER 1
16794 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
16797 if test "$wxUSE_STATBMP" = "yes"; then
16798 cat >> confdefs.h
<<\EOF
16799 #define wxUSE_STATBMP 1
16805 if test "$wxUSE_STATBOX" = "yes"; then
16806 cat >> confdefs.h
<<\EOF
16807 #define wxUSE_STATBOX 1
16813 if test "$wxUSE_STATTEXT" = "yes"; then
16814 cat >> confdefs.h
<<\EOF
16815 #define wxUSE_STATTEXT 1
16821 if test "$wxUSE_STATLINE" = "yes"; then
16822 if test "$wxUSE_WINE" = 1 ; then
16823 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
16825 cat >> confdefs.h
<<\EOF
16826 #define wxUSE_STATLINE 1
16833 if test "$wxUSE_STATUSBAR" = "yes"; then
16834 cat >> confdefs.h
<<\EOF
16835 #define wxUSE_STATUSBAR 1
16840 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
16843 if test "$wxUSE_TABDIALOG" = "yes"; then
16844 cat >> confdefs.h
<<\EOF
16845 #define wxUSE_TAB_DIALOG 1
16848 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
16851 if test "$wxUSE_TEXTCTRL" = "yes"; then
16852 cat >> confdefs.h
<<\EOF
16853 #define wxUSE_TEXTCTRL 1
16857 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS text"
16860 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16861 if test "$wxUSE_MAC" = 1; then
16862 echo "configure: warning: Toggle button is not yet supported under Mac OS X" 1>&2
16866 if test "$wxUSE_TOGGLEBTN" = "yes"; then
16867 cat >> confdefs.h
<<\EOF
16868 #define wxUSE_TOGGLEBTN 1
16875 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
16876 cat >> confdefs.h
<<\EOF
16877 #define wxUSE_TOOLBAR_SIMPLE 1
16880 wxUSE_TOOLBAR
="yes"
16884 if test "$wxUSE_TOOLBAR" = "yes"; then
16885 cat >> confdefs.h
<<\EOF
16886 #define wxUSE_TOOLBAR 1
16891 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
16892 wxUSE_TOOLBAR_NATIVE
="yes"
16895 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
16896 cat >> confdefs.h
<<\EOF
16897 #define wxUSE_TOOLBAR_NATIVE 1
16903 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
16906 if test "$wxUSE_TOOLTIPS" = "yes"; then
16907 if test "$wxUSE_MOTIF" = 1; then
16908 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
16910 if test "$wxUSE_WINE" = 1; then
16911 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
16913 cat >> confdefs.h
<<\EOF
16914 #define wxUSE_TOOLTIPS 1
16921 if test "$wxUSE_TREECTRL" = "yes"; then
16922 if test "$wxUSE_IMAGLIST" = "yes"; then
16923 cat >> confdefs.h
<<\EOF
16924 #define wxUSE_TREECTRL 1
16928 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
16930 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
16934 if test "$USES_CONTROLS" = 1; then
16935 cat >> confdefs.h
<<\EOF
16936 #define wxUSE_CONTROLS 1
16943 if test "$wxUSE_MENUS" = "yes"; then
16944 cat >> confdefs.h
<<\EOF
16945 #define wxUSE_MENUS 1
16948 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS menu"
16951 if test "$wxUSE_METAFILE" = "yes"; then
16952 cat >> confdefs.h
<<\EOF
16953 #define wxUSE_METAFILE 1
16958 if test "$wxUSE_MIMETYPE" = "yes"; then
16959 cat >> confdefs.h
<<\EOF
16960 #define wxUSE_MIMETYPE 1
16965 if test "$wxUSE_MINIFRAME" = "yes"; then
16966 cat >> confdefs.h
<<\EOF
16967 #define wxUSE_MINIFRAME 1
16970 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
16973 if test "$wxUSE_HTML" = "yes"; then
16974 cat >> confdefs.h
<<\EOF
16975 #define wxUSE_HTML 1
16978 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
16979 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
16982 if test "$wxUSE_VALIDATORS" = "yes"; then
16983 cat >> confdefs.h
<<\EOF
16984 #define wxUSE_VALIDATORS 1
16987 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
16990 if test "$wxUSE_IMAGE" = "yes" ; then
16991 cat >> confdefs.h
<<\EOF
16992 #define wxUSE_IMAGE 1
16997 if test "$wxUSE_GIF" = "yes" ; then
16998 cat >> confdefs.h
<<\EOF
16999 #define wxUSE_GIF 1
17004 if test "$wxUSE_PCX" = "yes" ; then
17005 cat >> confdefs.h
<<\EOF
17006 #define wxUSE_PCX 1
17011 if test "$wxUSE_PNM" = "yes" ; then
17012 cat >> confdefs.h
<<\EOF
17013 #define wxUSE_PNM 1
17018 if test "$wxUSE_XPM" = "yes" ; then
17019 cat >> confdefs.h
<<\EOF
17020 #define wxUSE_XPM 1
17026 if test "$wxUSE_CHOICEDLG" = "yes"; then
17027 cat >> confdefs.h
<<\EOF
17028 #define wxUSE_CHOICEDLG 1
17033 if test "$wxUSE_COLOURDLG" = "yes"; then
17034 cat >> confdefs.h
<<\EOF
17035 #define wxUSE_COLOURDLG 1
17040 if test "$wxUSE_FILEDLG" = "yes"; then
17041 cat >> confdefs.h
<<\EOF
17042 #define wxUSE_FILEDLG 1
17047 if test "$wxUSE_FONTDLG" = "yes"; then
17048 cat >> confdefs.h
<<\EOF
17049 #define wxUSE_FONTDLG 1
17054 if test "$wxUSE_DIRDLG" = "yes"; then
17055 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17056 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
17058 if test "$wxUSE_TREECTRL" != "yes"; then
17059 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
17061 cat >> confdefs.h
<<\EOF
17062 #define wxUSE_DIRDLG 1
17069 if test "$wxUSE_MSGDLG" = "yes"; then
17070 cat >> confdefs.h
<<\EOF
17071 #define wxUSE_MSGDLG 1
17076 if test "$wxUSE_NUMBERDLG" = "yes"; then
17077 cat >> confdefs.h
<<\EOF
17078 #define wxUSE_NUMBERDLG 1
17083 if test "$wxUSE_PROGRESSDLG" = "yes"; then
17084 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17085 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
17087 cat >> confdefs.h
<<\EOF
17088 #define wxUSE_PROGRESSDLG 1
17094 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
17095 if test "$wxUSE_CONSTRAINTS" != "yes"; then
17096 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
17098 cat >> confdefs.h
<<\EOF
17099 #define wxUSE_STARTUP_TIPS 1
17105 if test "$wxUSE_TEXTDLG" = "yes"; then
17106 cat >> confdefs.h
<<\EOF
17107 #define wxUSE_TEXTDLG 1
17113 if test "$cross_compiling" = "yes"; then
17116 OSINFO
=`uname -s -r -m`
17117 OSINFO
="\"$OSINFO\""
17120 cat >> confdefs.h
<<EOF
17121 #define WXWIN_OS_DESCRIPTION $OSINFO
17126 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
17127 OPENGL_LIBS
="$OPENGL_LINK"
17129 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
17130 if test "$USE_MAC" = 1 ; then
17131 EXTRA_LIBS
="$EXTRA_LIBS -framework Carbon -framework System"
17133 if test "$wxUSE_GUI" = "yes"; then
17134 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
17137 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
17139 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
17141 if test "$wxUSE_GTK" = 1; then
17142 WXCONFIG_INCLUDE
=""
17144 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
17147 if test "$GXX" = yes ; then
17148 CXXWARNINGS
="-Wall"
17150 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
17152 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
17153 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
17155 LDFLAGS
="$LDFLAGS $PROFILE"
17157 if test "$wxUSE_GUI" = "yes"; then
17159 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag \
17160 drawing dynamic event font fractal image \
17161 minimal richedit widgets"
17163 if test "$wxUSE_UNIVERSAL" = "yes" ; then
17164 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS univ"
17167 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
17172 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
17267 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
17268 echo "configure:17269: checking whether ${MAKE-make} sets \${MAKE}" >&5
17269 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
17270 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
17271 echo $ac_n "(cached) $ac_c" 1>&6
17273 cat > conftestmake
<<\EOF
17275 @
echo 'ac_maketemp="${MAKE}"'
17277 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
17278 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
17279 if test -n "$ac_maketemp"; then
17280 eval ac_cv_prog_make_
${ac_make}_set
=yes
17282 eval ac_cv_prog_make_
${ac_make}_set
=no
17286 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
17287 echo "$ac_t""yes" 1>&6
17290 echo "$ac_t""no" 1>&6
17291 SET_MAKE
="MAKE=${MAKE-make}"
17295 if test -d include
; then
17296 if test -d include
/wx
; then
17297 if test -d include
/wx
/${SETUPH_DIR}; then
17298 if test -f include
/wx
/${SETUPH_DIR}/setup.h
; then
17299 mv -f include
/wx
/${SETUPH_DIR}/setup.h setup.h
17307 if test "$wxUSE_GUI" = "yes"; then
17308 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
17309 wx_cv_path_ifs
=$PATH_IFS
17310 wx_cv_program_ext
=$PROGRAM_EXT
17311 wx_cv_target_library
=$WX_TARGET_LIBRARY
17312 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
17313 export wx_cv_path_samplesubdirs wx_cv_path_ifs wx_cv_program_ext \
17314 wx_cv_target_library wx_cv_target_libtype
17315 subdirs
="demos samples utils contrib"
17320 cat > confcache
<<\EOF
17321 # This file is a shell script that caches the results of configure
17322 # tests run on this system so they can be shared between configure
17323 # scripts and configure runs. It is not useful on other systems.
17324 # If it contains results you don't want to keep, you may remove or edit it.
17326 # By default, configure uses ./config.cache as the cache file,
17327 # creating it if it does not exist already. You can give configure
17328 # the --cache-file=FILE option to use a different cache file; that is
17329 # what configure does when it calls configure scripts in
17330 # subdirectories, so they share the cache.
17331 # Giving --cache-file=/dev/null disables caching, for debugging configure.
17332 # config.status only pays attention to the cache file if you give it the
17333 # --recheck option to rerun configure.
17336 # The following way of writing the cache mishandles newlines in values,
17337 # but we know of no workaround that is simple, portable, and efficient.
17338 # So, don't put newlines in cache variables' values.
17339 # Ultrix sh set writes to stderr and can't be redirected directly,
17340 # and sets the high bit in the cache file unless we assign to the vars.
17342 case `(ac_space=' '; set | grep ac_space) 2>&1` in
17344 # `set' does not quote correctly, so add quotes (double-quote substitution
17345 # turns \\\\ into \\, and sed turns \\ into \).
17347 -e "s/'/'\\\\''/g" \
17348 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
17351 # `set' quotes correctly as required by POSIX, so do not add quotes.
17352 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
17355 if cmp -s $cache_file confcache
; then
17358 if test -w $cache_file; then
17359 echo "updating cache $cache_file"
17360 cat confcache
> $cache_file
17362 echo "not updating unwritable cache $cache_file"
17367 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
17369 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
17370 # Let make expand exec_prefix.
17371 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
17373 # Any assignment to VPATH causes Sun make to only execute
17374 # the first set of double-colon rules, so remove it if not needed.
17375 # If there is a colon in the path, we need to keep it.
17376 if test "x$srcdir" = x.
; then
17377 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
17380 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
17382 DEFS
=-DHAVE_CONFIG_H
17384 # Without the "./", some shells look in PATH for config.status.
17385 : ${CONFIG_STATUS=./config.status}
17387 echo creating
$CONFIG_STATUS
17388 rm -f $CONFIG_STATUS
17389 cat > $CONFIG_STATUS <<EOF
17391 # Generated automatically by configure.
17392 # Run this file to recreate the current configuration.
17393 # This directory was configured as follows,
17394 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
17396 # $0 $ac_configure_args
17398 # Compiler output produced by configure, useful for debugging
17399 # configure, is in ./config.log if it exists.
17401 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
17404 case "\$ac_option" in
17405 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17406 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
17407 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
17408 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
17409 echo "$CONFIG_STATUS generated by autoconf version 2.13"
17411 -help | --help | --hel | --he | --h)
17412 echo "\$ac_cs_usage"; exit 0 ;;
17413 *) echo "\$ac_cs_usage"; exit 1 ;;
17417 ac_given_srcdir=$srcdir
17418 ac_given_INSTALL="$INSTALL"
17420 trap 'rm -fr `echo "
17426 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
17428 cat >> $CONFIG_STATUS <<EOF
17430 # Protect against being on the right side of a sed subst in config.status.
17431 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
17432 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
17436 s%@CFLAGS@%$CFLAGS%g
17437 s%@CPPFLAGS@%$CPPFLAGS%g
17438 s%@CXXFLAGS@%$CXXFLAGS%g
17439 s%@FFLAGS@%$FFLAGS%g
17441 s%@LDFLAGS@%$LDFLAGS%g
17443 s%@exec_prefix@%$exec_prefix%g
17444 s%@prefix@%$prefix%g
17445 s%@program_transform_name@%$program_transform_name%g
17446 s%@bindir@%$bindir%g
17447 s%@sbindir@%$sbindir%g
17448 s%@libexecdir@%$libexecdir%g
17449 s%@datadir@%$datadir%g
17450 s%@sysconfdir@%$sysconfdir%g
17451 s%@sharedstatedir@%$sharedstatedir%g
17452 s%@localstatedir@%$localstatedir%g
17453 s%@libdir@%$libdir%g
17454 s%@includedir@%$includedir%g
17455 s%@oldincludedir@%$oldincludedir%g
17456 s%@infodir@%$infodir%g
17457 s%@mandir@%$mandir%g
17459 s%@host_alias@%$host_alias%g
17460 s%@host_cpu@%$host_cpu%g
17461 s%@host_vendor@%$host_vendor%g
17462 s%@host_os@%$host_os%g
17463 s%@target@%$target%g
17464 s%@target_alias@%$target_alias%g
17465 s%@target_cpu@%$target_cpu%g
17466 s%@target_vendor@%$target_vendor%g
17467 s%@target_os@%$target_os%g
17469 s%@build_alias@%$build_alias%g
17470 s%@build_cpu@%$build_cpu%g
17471 s%@build_vendor@%$build_vendor%g
17472 s%@build_os@%$build_os%g
17476 s%@CXXCPP@%$CXXCPP%g
17477 s%@RANLIB@%$RANLIB%g
17479 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
17480 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
17481 s%@INSTALL_DATA@%$INSTALL_DATA%g
17485 s%@LEXLIB@%$LEXLIB%g
17487 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
17488 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
17489 s%@GTK_LIBS@%$GTK_LIBS%g
17490 s%@GTK_CONFIG@%$GTK_CONFIG%g
17491 s%@X_CFLAGS@%$X_CFLAGS%g
17492 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
17493 s%@X_LIBS@%$X_LIBS%g
17494 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
17497 s%@LEX_STEM@%$LEX_STEM%g
17498 s%@PATH_IFS@%$PATH_IFS%g
17499 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
17500 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
17501 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
17502 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
17503 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
17504 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
17505 s%@WX_LIBRARY@%$WX_LIBRARY%g
17506 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
17507 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
17508 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
17509 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
17510 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
17511 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
17512 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
17513 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
17514 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
17515 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
17516 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
17517 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
17518 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
17519 s%@WX_ALL@%$WX_ALL%g
17520 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
17521 s%@SHARED_LD@%$SHARED_LD%g
17522 s%@PIC_FLAG@%$PIC_FLAG%g
17523 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
17524 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
17525 s%@CODE_GEN_FLAGS_CXX@%$CODE_GEN_FLAGS_CXX%g
17526 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
17527 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
17528 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
17529 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
17530 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
17531 s%@USE_GUI@%$USE_GUI%g
17532 s%@AFMINSTALL@%$AFMINSTALL%g
17533 s%@SETUPH_DIR@%$SETUPH_DIR%g
17534 s%@TOOLKIT@%$TOOLKIT%g
17535 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
17536 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
17537 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
17538 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
17539 s%@TOOLKIT_VPATH@%$TOOLKIT_VPATH%g
17540 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
17541 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
17542 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
17543 s%@GUIDIST@%$GUIDIST%g
17544 s%@PORT_FILES@%$PORT_FILES%g
17545 s%@DISTDIR@%$DISTDIR%g
17546 s%@RPM_SPEC@%$RPM_SPEC%g
17547 s%@RPM_FILES@%$RPM_FILES%g
17548 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
17549 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
17550 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
17551 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
17552 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
17553 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
17554 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
17555 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
17556 s%@EXTRADEFS@%$EXTRADEFS%g
17557 s%@LD_LIBS@%$LD_LIBS%g
17558 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
17559 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
17560 s%@RESPROGRAM@%$RESPROGRAM%g
17561 s%@RESCOMP@%$RESCOMP%g
17562 s%@RESFLAGS@%$RESFLAGS%g
17563 s%@REZFLAGS@%$REZFLAGS%g
17564 s%@DEREZFLAGS@%$DEREZFLAGS%g
17565 s%@LIBWXMACRES@%$LIBWXMACRES%g
17566 s%@LIBWXMACRESCOMP@%$LIBWXMACRESCOMP%g
17567 s%@DLLTOOL@%$DLLTOOL%g
17571 s%@MAKEINFO@%$MAKEINFO%g
17572 s%@SET_MAKE@%$SET_MAKE%g
17573 s%@subdirs@%$subdirs%g
17578 cat >> $CONFIG_STATUS <<\EOF
17580 # Split the substitutions into bite-sized pieces for seds with
17581 # small command number limits, like on Digital OSF/1 and HP-UX.
17582 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
17583 ac_file
=1 # Number of current file.
17584 ac_beg
=1 # First line for current file.
17585 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
17588 while $ac_more_lines; do
17589 if test $ac_beg -gt 1; then
17590 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
17592 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
17594 if test ! -s conftest.s
$ac_file; then
17595 ac_more_lines
=false
17596 rm -f conftest.s
$ac_file
17598 if test -z "$ac_sed_cmds"; then
17599 ac_sed_cmds
="sed -f conftest.s$ac_file"
17601 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
17603 ac_file
=`expr $ac_file + 1`
17605 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
17608 if test -z "$ac_sed_cmds"; then
17613 cat >> $CONFIG_STATUS <<EOF
17615 CONFIG_FILES=\${CONFIG_FILES-"wx-config
17622 cat >> $CONFIG_STATUS <<\EOF
17623 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
17624 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17626 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17627 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17628 *) ac_file_in
="${ac_file}.in" ;;
17631 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
17633 # Remove last slash and all that follows it. Not all systems have dirname.
17634 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17635 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
17636 # The file is in a subdirectory.
17637 test ! -d "$ac_dir" && mkdir "$ac_dir"
17638 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
17639 # A "../" for each directory in $ac_dir_suffix.
17640 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
17642 ac_dir_suffix
= ac_dots
=
17645 case "$ac_given_srcdir" in
17647 if test -z "$ac_dots"; then top_srcdir
=.
17648 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
17649 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
17650 *) # Relative path.
17651 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
17652 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
17655 case "$ac_given_INSTALL" in
17656 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
17657 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
17660 echo creating
"$ac_file"
17662 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
17664 *Makefile
*) ac_comsub
="1i\\
17665 # $configure_input" ;;
17669 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17671 s%@configure_input@%$configure_input%g
17672 s%@srcdir@%$srcdir%g
17673 s%@top_srcdir@%$top_srcdir%g
17674 s%@INSTALL@%$INSTALL%g
17675 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
17679 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
17680 # NAME is the cpp macro being defined and VALUE is the value it is being given.
17682 # ac_d sets the value in "#define NAME VALUE" lines.
17683 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
17684 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
17687 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
17688 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17689 ac_uB
='\([ ]\)%\1#\2define\3'
17692 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
17693 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
17694 ac_eB
='$%\1#\2define\3'
17698 if test "${CONFIG_HEADERS+set}" != set; then
17700 cat >> $CONFIG_STATUS <<EOF
17701 CONFIG_HEADERS="setup.h:setup.h.in"
17703 cat >> $CONFIG_STATUS <<\EOF
17705 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
17706 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
17708 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
17709 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
17710 *) ac_file_in
="${ac_file}.in" ;;
17713 echo creating
$ac_file
17715 rm -f conftest.frag conftest.
in conftest.out
17716 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
17717 cat $ac_file_inputs > conftest.
in
17721 # Transform confdefs.h into a sed script conftest.vals that substitutes
17722 # the proper values into config.h.in to produce config.h. And first:
17723 # Protect against being on the right side of a sed subst in config.status.
17724 # Protect against being in an unquoted here document in config.status.
17725 rm -f conftest.vals
17726 cat > conftest.hdr
<<\EOF
17729 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
17733 sed -n -f conftest.hdr confdefs.h > conftest.vals
17736 # This sed command replaces #undef with comments. This is necessary, for
17737 # example, in the case of _POSIX_SOURCE, which is predefined and required
17738 # on some systems where configure will not decide to define it.
17739 cat >> conftest.vals <<\EOF
17740 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
17743 # Break up conftest.vals because some shells have a limit on
17744 # the size of here documents, and old seds have small limits too.
17746 rm -f conftest.tail
17749 ac_lines=`grep -c . conftest.vals
`
17750 # grep -c gives empty output for an empty file on some AIX systems.
17751 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
17752 # Write a limited-size here document to conftest.frag.
17753 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
17754 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
17756 sed -f conftest.frag conftest.in > conftest.out
17758 mv conftest.out conftest.in
17759 ' >> $CONFIG_STATUS
17760 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
17761 rm -f conftest.vals
17762 mv conftest.tail conftest.vals
17764 rm -f conftest.vals
17766 cat >> $CONFIG_STATUS <<\EOF
17767 rm -f conftest.frag conftest.h
17768 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
17769 cat conftest.in >> conftest.h
17771 if cmp -s $ac_file conftest.h 2>/dev/null; then
17772 echo "$ac_file is unchanged"
17775 # Remove last slash and all that follows it. Not all systems have dirname.
17776 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
17777 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
17778 # The file is in a subdirectory.
17779 test ! -d "$ac_dir" && mkdir "$ac_dir"
17782 mv conftest.h $ac_file
17787 cat >> $CONFIG_STATUS <<EOF
17789 SETUPH_DIR="${SETUPH_DIR}"
17790 TOOLKIT_NAME="${TOOLKIT_NAME}"
17795 cat >> $CONFIG_STATUS <<\EOF
17797 if test ! -f wx${TOOLKIT_NAME}-config; then
17799 mv wx-config wx${TOOLKIT_NAME}-config
17800 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
17804 if test ! -d lib; then
17807 if test ! -d lib/wx; then
17810 if test ! -d lib/wx/include; then
17811 mkdir lib/wx/include
17813 if test ! -d lib/wx/include/wx; then
17814 mkdir lib/wx/include/wx
17816 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
17817 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
17819 if test -f setup.h; then
17820 cp -fp setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
17824 if test ! -d include; then
17827 if test ! -d include/wx; then
17830 if test ! -d include/wx/${SETUPH_DIR}; then
17831 mkdir include/wx/${SETUPH_DIR}
17833 if test -f setup.h; then
17834 cp -fp setup.h include/wx/${SETUPH_DIR}/setup.h
17840 chmod +x $CONFIG_STATUS
17841 rm -fr confdefs* $ac_clean_files
17842 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
17844 if test "$no_recursion" != yes; then
17846 # Remove --cache-file and --srcdir arguments so they do not pile up.
17847 ac_sub_configure_args=
17849 for ac_arg in $ac_configure_args; do
17850 if test -n "$ac_prev"; then
17855 -cache-file | --cache-file | --cache-fil | --cache-fi \
17856 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
17857 ac_prev=cache_file ;;
17858 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
17859 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
17861 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
17863 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
17865 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
17869 for ac_config_dir in demos samples utils contrib; do
17871 # Do not complain, so a configure script can configure whichever
17872 # parts of a large source tree are present.
17873 if test ! -d $srcdir/$ac_config_dir; then
17877 echo configuring in $ac_config_dir
17882 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
17884 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
17892 # A "../" for each directory in /$ac_config_dir.
17893 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
17896 .) # No --srcdir option. We are building in place.
17897 ac_sub_srcdir=$srcdir ;;
17898 /*) # Absolute path.
17899 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
17900 *) # Relative path.
17901 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
17904 # Check for guested configure; otherwise get Cygnus style configure.
17905 if test -f $ac_sub_srcdir/configure; then
17906 ac_sub_configure=$ac_sub_srcdir/configure
17907 elif test -f $ac_sub_srcdir/configure.in; then
17908 ac_sub_configure=$ac_configure
17910 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
17914 # The recursion is here.
17915 if test -n "$ac_sub_configure"; then
17917 # Make the cache file name correct relative to the subdirectory.
17918 case "$cache_file" in
17919 /*) ac_sub_cache_file=$cache_file ;;
17920 *) # Relative path.
17921 ac_sub_cache_file="$ac_dots$cache_file" ;;
17923 case "$ac_given_INSTALL" in
17924 [/$]*) INSTALL="$ac_given_INSTALL" ;;
17925 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
17928 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
17929 # The eval makes quoting arguments work.
17930 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
17933 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }