3 # From configure.in Id: configure.in
43 # Guess values for system-dependent variables and create Makefiles.
44 # Generated automatically using autoconf version 2.14
45 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
47 # This configure script is free software; the Free Software Foundation
48 # gives unlimited permission to copy, distribute and modify it.
52 ac_default_prefix
=/usr
/local
53 # Any additions from configure.in:
57 --with-motif use Motif/Lesstif"
61 --with-cygwin use Cygwin for MS-Windows"
63 --with-mingw use GCC Minimal MS-Windows"
65 --with-gtk-prefix=PFX Prefix where GTK is installed"
67 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
69 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
71 --with-zlib use zlib for LZW compression"
73 --with-libpng use libpng (PNG image format)"
75 --with-libgif use libgif (GIF file format)"
77 --with-libjpeg use libjpeg (JPEG file format)"
79 --with-opengl use OpenGL (or Mesa)"
81 --with-odbc use the IODBC and wxODBC classes"
83 --enable-shared create shared library code"
85 --enable-optimise create optimised code"
87 --enable-debug same as debug_flag and debug_info"
89 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
91 --enable-debug_info create code with debugging information"
93 --enable-debug_gdb create code with extra GDB debugging information"
95 --enable-debug_cntxt use wxDebugContext"
97 --enable-mem_tracing create code with memory tracing"
99 --enable-profile create code with profiling information"
101 --enable-no_rtti create code without RTTI information"
103 --enable-no_exceptions create code without exceptions information"
105 --enable-permissive compile code disregarding strict ANSI"
107 --enable-no_deps create code without dependency information"
109 --enable-gui use GUI classes"
111 --enable-intl use internationalization system"
113 --enable-config use wxConfig (and derived) classes"
115 --enable-sockets use socket/network classes"
117 --enable-ipc use interprocess communication (wxSocket etc.)"
119 --enable-apple_ieee use the Apple IEEE codec"
121 --enable-timedate use date/time classes"
123 --enable-wave use wxWave class"
125 --enable-fraction use wxFraction class"
127 --enable-dynlib use wxLibrary class for DLL loading"
129 --enable-longlong use wxLongLong class"
131 --enable-log use logging system"
133 --enable-streams use wxStream etc classes"
135 --enable-file use wxFile classes"
137 --enable-textfile use wxTextFile classes"
139 --enable-unicode compile wxString with Unicode support"
141 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
143 --enable-wxprintfv use wxWindows implementation of vprintf()"
145 --enable-joystick compile in joystick support (Linux only)"
147 --enable-std_iostreams use standard C++ stream classes"
149 --enable-fs_inet use virtual HTTP/FTP filesystems"
151 --enable-fs_zip use virtual ZIP filesystems"
153 --enable-zipstream use wxZipInputStream"
155 --enable-threads use threads"
157 --enable-serial use class serialization"
159 --enable-docview use document view architecture"
161 --enable-help use help (using external browser at present)"
163 --enable-constraints use layout-constraints system"
165 --enable-printarch use printing architecture"
167 --enable-mdi use multiple document interface architecture"
169 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
171 --enable-prologio use Prolog IO library"
173 --enable-resources use wxWindows resources"
175 --enable-xresources use X resources for save (default for gtk+)"
177 --enable-clipboard use wxClipboard classes"
179 --enable-dnd use Drag'n'Drop classes"
181 --enable-wxtree make wxTree library"
183 --enable-controls use all usual controls"
185 --enable-accel use accelerators"
187 --enable-caret use wxCaret class"
189 --enable-bmpbutton use wxBitmapButton class"
191 --enable-checkbox use wxCheckBox class"
193 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
195 --enable-choice use wxChoice class"
197 --enable-combobox use wxComboBox classes"
199 --enable-gauge use wxGauge class"
201 --enable-grid use wxGrid class"
203 --enable-imaglist use wxImageList class"
205 --enable-listbox use wxListBox class"
207 --enable-listctrl use wxListCtrl class"
209 --enable-notebook use wxNotebook class"
211 --enable-radiobox use wxRadioBox class"
213 --enable-radiobtn use wxRadioButton class"
215 --enable-sash use wxSashWindow class"
217 --enable-scrollbar use wxScrollBar class and scrollable windows"
219 --enable-slider use wxSlider class"
221 --enable-spinbtn use wxSpinButton class"
223 --enable-splitter use wxSplitterWindow class"
225 --enable-statbmp use wxStaticBitmap class"
227 --enable-statbox use wxStaticBox class"
229 --enable-statline use wxStaticLine class"
231 --enable-statusbar use wxStatusBar class"
233 --enable-tabdialog use wxTabControl class"
235 --enable-toolbar use wxToolBar class"
237 --enable-treectrl use wxTreeCtrl class"
239 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
241 --enable-dirdlg use wxDirDialog"
243 --enable-textdlg use wxTextDialog"
245 --enable-tipdlg use startup tips"
247 --enable-progressdlg use wxProgressDialog"
249 --enable-miniframe use wxMiniFrame class"
251 --enable-html use wxHTML sub-library"
253 --enable-tooltips use wxToolTip class"
255 --enable-splines use spline drawing code"
257 --enable-validators use wxValidator and derived classes"
259 --enable-busyinfo use wxBusyInfo"
261 --with-x use the X Window System"
263 # Initialize some variables set by options.
264 # The variables have the same names as the options, with
265 # dashes changed to underlines.
267 cache_file
=.
/config.cache
276 program_transform_name
=s
,x
,x
,
284 bindir
='${exec_prefix}/bin'
285 sbindir
='${exec_prefix}/sbin'
286 libexecdir
='${exec_prefix}/libexec'
287 datadir
='${prefix}/share'
288 sysconfdir
='${prefix}/etc'
289 sharedstatedir
='${prefix}/com'
290 localstatedir
='${prefix}/var'
291 libdir
='${exec_prefix}/lib'
292 includedir
='${prefix}/include'
293 oldincludedir
='/usr/include'
294 infodir
='${prefix}/info'
295 mandir
='${prefix}/man'
297 # Initialize some other variables.
300 SHELL
=${CONFIG_SHELL-/bin/sh}
301 # Maximum number of lines to put in a shell here document.
308 # If the previous option needs an argument, assign it.
309 if test -n "$ac_prev"; then
310 eval "$ac_prev=\$ac_option"
316 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
320 # Accept the important Cygnus configure options, so we can diagnose typos.
324 -bindir | --bindir | --bindi | --bind | --bin | --bi)
326 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
327 bindir
="$ac_optarg" ;;
329 -build | --build | --buil | --bui | --bu)
331 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
332 build
="$ac_optarg" ;;
334 -cache-file | --cache-file | --cache-fil | --cache-fi \
335 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
336 ac_prev
=cache_file
;;
337 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
338 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
339 cache_file
="$ac_optarg" ;;
341 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
343 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
345 datadir
="$ac_optarg" ;;
347 -disable-* | --disable-*)
348 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
349 # Reject names that are not valid shell variable names.
350 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
351 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
353 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
354 eval "enable_${ac_feature}=no" ;;
356 -enable-* | --enable-*)
357 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
358 # Reject names that are not valid shell variable names.
359 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
360 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
362 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
367 eval "enable_${ac_feature}='$ac_optarg'" ;;
369 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
370 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
371 | --exec | --exe | --ex)
372 ac_prev
=exec_prefix
;;
373 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
374 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
375 | --exec=* | --exe=* | --ex=*)
376 exec_prefix
="$ac_optarg" ;;
378 -gas | --gas | --ga | --g)
379 # Obsolete; use --with-gas.
382 -help | --help | --hel | --he)
383 # Omit some internal or obsolete options to make the list less imposing.
384 # This message is too long to be a string in the A/UX 3.1 sh.
386 Usage: configure [options] [host]
387 Options: [defaults in brackets after descriptions]
389 --cache-file=FILE cache test results in FILE
390 --help print this message
391 --no-create do not create output files
392 --quiet, --silent do not print \`checking...' messages
393 --version print the version of autoconf that created configure
394 Directory and file names:
395 --prefix=PREFIX install architecture-independent files in PREFIX
397 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
399 --bindir=DIR user executables in DIR [EPREFIX/bin]
400 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
401 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
402 --datadir=DIR read-only architecture-independent data in DIR
404 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
405 --sharedstatedir=DIR modifiable architecture-independent data in DIR
407 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
408 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
409 --includedir=DIR C header files in DIR [PREFIX/include]
410 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
411 --infodir=DIR info documentation in DIR [PREFIX/info]
412 --mandir=DIR man documentation in DIR [PREFIX/man]
413 --srcdir=DIR find the sources in DIR [configure dir or ..]
414 --program-prefix=PREFIX prepend PREFIX to installed program names
415 --program-suffix=SUFFIX append SUFFIX to installed program names
416 --program-transform-name=PROGRAM
417 run sed PROGRAM on installed program names
421 --build=BUILD configure for building on BUILD [BUILD=HOST]
422 --host=HOST configure for HOST [guessed]
423 --target=TARGET configure for TARGET [TARGET=HOST]
424 Features and packages:
425 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
426 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
427 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
428 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
429 --x-includes=DIR X include files are in DIR
430 --x-libraries=DIR X library files are in DIR
432 if test -n "$ac_help"; then
433 echo "--enable and --with options recognized:$ac_help"
437 -host | --host | --hos | --ho)
439 -host=* | --host=* | --hos=* | --ho=*)
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev
=includedir
;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir
="$ac_optarg" ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir
="$ac_optarg" ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
457 libdir
="$ac_optarg" ;;
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev
=libexecdir
;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir
="$ac_optarg" ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev
=localstatedir
;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir
="$ac_optarg" ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
478 mandir
="$ac_optarg" ;;
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev
=oldincludedir
;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir
="$ac_optarg" ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
504 prefix
="$ac_optarg" ;;
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev
=program_prefix
;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix
="$ac_optarg" ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev
=program_suffix
;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix
="$ac_optarg" ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev
=program_transform_name
;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name
="$ac_optarg" ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir
="$ac_optarg" ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev
=sharedstatedir
;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir
="$ac_optarg" ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
566 srcdir
="$ac_optarg" ;;
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev
=sysconfdir
;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir
="$ac_optarg" ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target
="$ac_optarg" ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers)
584 echo "configure generated by autoconf version 2.14"
588 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
589 # Reject names that are not valid shell variable names.
590 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
591 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
593 ac_package
=`echo $ac_package| sed 's/-/_/g'`
598 eval "with_${ac_package}='$ac_optarg'" ;;
600 -without-* | --without-*)
601 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
602 # Reject names that are not valid shell variable names.
603 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
604 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
606 ac_package
=`echo $ac_package| sed 's/-/_/g'`
607 eval "with_${ac_package}=no" ;;
610 # Obsolete; use --with-x.
613 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
614 | --x-incl | --x-inc | --x-in | --x-i)
615 ac_prev
=x_includes
;;
616 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
617 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
618 x_includes
="$ac_optarg" ;;
620 -x-libraries | --x-libraries | --x-librarie | --x-librari \
621 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
622 ac_prev
=x_libraries
;;
623 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
624 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
625 x_libraries
="$ac_optarg" ;;
627 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
631 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
632 echo "configure: warning: $ac_option: invalid host type" 1>&2
634 if test "x$nonopt" != xNONE
; then
635 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
643 if test -n "$ac_prev"; then
644 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
647 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
649 # File descriptor usage:
652 # 2 errors and warnings
653 # 3 some systems may open it to /dev/tty
654 # 4 used on the Kubota Titan
655 # 6 checking for... messages and results
656 # 5 compiler messages saved in config.log
657 if test "$silent" = yes; then
665 This file contains any messages produced by compilers while
666 running configure, to aid debugging if configure makes a mistake.
669 # Strip out --no-create and --no-recursion so they do not pile up.
670 # Also quote any args containing shell metacharacters.
675 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
676 | --no-cr | --no-c) ;;
677 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
678 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
679 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
680 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
681 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
686 # Only set these to C if already set. These must not be set unconditionally
687 # because not all systems understand e.g. LANG=C (notably SCO).
688 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
689 # Non-C LC_CTYPE values break the ctype check.
690 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
691 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
692 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
693 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
695 # confdefs.h avoids OS command line length limits that DEFS can exceed.
696 rm -rf conftest
* confdefs.h
697 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
700 # A filename unique to this package, relative to the directory that
701 # configure is in, which we can look for to find out if srcdir is correct.
702 ac_unique_file
=wx
-config.
in
704 # Find the source files, if location was not specified.
705 if test -z "$srcdir"; then
706 ac_srcdir_defaulted
=yes
707 # Try the directory containing this script, then its parent.
709 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
710 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
712 if test ! -r $srcdir/$ac_unique_file; then
716 ac_srcdir_defaulted
=no
718 if test ! -r $srcdir/$ac_unique_file; then
719 if test "$ac_srcdir_defaulted" = yes; then
720 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
722 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
725 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
727 # Prefer explicitly selected file to automatically selected ones.
728 if test -z "$CONFIG_SITE"; then
729 if test "x$prefix" != xNONE
; then
730 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
732 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
735 for ac_site_file
in $CONFIG_SITE; do
736 if test -r "$ac_site_file"; then
737 echo "loading site script $ac_site_file"
742 if test -r "$cache_file"; then
743 echo "loading cache $cache_file"
746 echo "creating cache $cache_file"
751 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
752 ac_cpp
='$CPP $CPPFLAGS'
753 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
754 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
755 cross_compiling
=$ac_cv_prog_cc_cross
759 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
760 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
761 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
768 ac_n
= ac_c
='\c' ac_t
=
774 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
775 if test -f $ac_dir/install-sh; then
777 ac_install_sh
="$ac_aux_dir/install-sh -c"
779 elif test -f $ac_dir/install.sh
; then
781 ac_install_sh
="$ac_aux_dir/install.sh -c"
785 if test -z "$ac_aux_dir"; then
786 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
788 ac_config_guess
=$ac_aux_dir/config.guess
789 ac_config_sub
=$ac_aux_dir/config.sub
790 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
793 # Do some error checking and defaulting for the host and target type.
795 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
798 # 1. You are not allowed to specify --host, --target, and nonopt at the
800 # 2. Host defaults to nonopt.
801 # 3. If nonopt is not specified, then host defaults to the current host,
802 # as determined by config.guess.
803 # 4. Target and build default to nonopt.
804 # 5. If nonopt is not specified, then target and build default to host.
806 # The aliases save the names the user supplied, while $host etc.
807 # will get canonicalized.
808 case $host---$target---$nonopt in
809 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
810 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
814 # Make sure we can run config.sub.
815 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
816 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
819 echo $ac_n "checking host system type""... $ac_c" 1>&6
820 echo "configure:821: checking host system type" >&5
823 case "$host_alias" in
827 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
828 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
830 *) host_alias
=$nonopt ;;
834 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
835 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
836 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
837 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
838 echo "$ac_t""$host" 1>&6
840 echo $ac_n "checking target system type""... $ac_c" 1>&6
841 echo "configure:842: checking target system type" >&5
844 case "$target_alias" in
847 NONE
) target_alias
=$host_alias ;;
848 *) target_alias
=$nonopt ;;
852 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
853 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
854 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
855 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
856 echo "$ac_t""$target" 1>&6
858 echo $ac_n "checking build system type""... $ac_c" 1>&6
859 echo "configure:860: checking build system type" >&5
862 case "$build_alias" in
865 NONE
) build_alias
=$host_alias ;;
866 *) build_alias
=$nonopt ;;
870 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
871 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
872 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
873 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
874 echo "$ac_t""$build" 1>&6
876 test "$host_alias" != "$target_alias" &&
877 test "$program_prefix$program_suffix$program_transform_name" = \
879 program_prefix
=${target_alias}-
883 WX_MAJOR_VERSION_NUMBER
=2
884 WX_MINOR_VERSION_NUMBER
=1
890 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
892 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
893 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
894 WX_REVISION
=$WX_INTERFACE_AGE
895 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
918 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
921 DEFAULT_wxUSE_MOTIF
=0
925 DEFAULT_DEFAULT_wxUSE_GTK
=0
926 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
927 DEFAULT_DEFAULT_wxUSE_MSW
=0
928 DEFAULT_DEFAULT_wxUSE_WINE
=0
933 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
934 cat >> confdefs.h
<<\EOF
941 cat >> confdefs.h
<<\EOF
946 if test "x$TMP" = "xalpha"; then
948 cat >> confdefs.h
<<\EOF
953 DEFAULT_DEFAULT_wxUSE_GTK
=1
955 *-*-irix5* | *-*-irix6* )
958 cat >> confdefs.h
<<\EOF
962 cat >> confdefs.h
<<\EOF
966 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
972 cat >> confdefs.h
<<\EOF
976 cat >> confdefs.h
<<\EOF
977 #define __SOLARIS__ 1
980 cat >> confdefs.h
<<\EOF
984 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
990 cat >> confdefs.h
<<\EOF
994 cat >> confdefs.h
<<\EOF
998 cat >> confdefs.h
<<\EOF
1002 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1004 *-*-freebsd* | *-*-netbsd*)
1007 cat >> confdefs.h
<<\EOF
1008 #define __FREEBSD__ 1
1011 cat >> confdefs.h
<<\EOF
1015 DEFAULT_DEFAULT_wxUSE_GTK
=1
1020 cat >> confdefs.h
<<\EOF
1024 cat >> confdefs.h
<<\EOF
1028 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1033 cat >> confdefs.h
<<\EOF
1037 cat >> confdefs.h
<<\EOF
1041 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1046 cat >> confdefs.h
<<\EOF
1050 cat >> confdefs.h
<<\EOF
1054 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1060 cat >> confdefs.h
<<\EOF
1064 cat >> confdefs.h
<<\EOF
1068 cat >> confdefs.h
<<\EOF
1072 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1077 cat >> confdefs.h
<<\EOF
1081 cat >> confdefs.h
<<\EOF
1085 cat >> confdefs.h
<<\EOF
1086 #define __WINDOWS__ 1
1089 cat >> confdefs.h
<<\EOF
1090 #define __GNUWIN32__ 1
1093 cat >> confdefs.h
<<\EOF
1097 cat >> confdefs.h
<<\EOF
1098 #define WINVER 0x0400
1101 DEFAULT_DEFAULT_wxUSE_MSW
=1
1105 cat >> confdefs.h
<<\EOF
1109 cat >> confdefs.h
<<\EOF
1113 cat >> confdefs.h
<<\EOF
1114 #define __WINDOWS__ 1
1117 cat >> confdefs.h
<<\EOF
1118 #define __GNUWIN32__ 1
1121 cat >> confdefs.h
<<\EOF
1125 cat >> confdefs.h
<<\EOF
1126 #define WINVER 0x0400
1129 DEFAULT_DEFAULT_wxUSE_MSW
=1
1133 cat >> confdefs.h
<<\EOF
1140 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1143 if test "$USE_UNIX" = 1 ; then
1145 cat >> confdefs.h
<<\EOF
1149 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1150 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1153 if test "$USE_LINUX" = 1; then
1154 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1155 echo "configure:1156: checking for gettext in -lc" >&5
1156 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1157 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1158 echo $ac_n "(cached) $ac_c" 1>&6
1160 ac_save_LIBS
="$LIBS"
1162 cat > conftest.
$ac_ext <<EOF
1163 #line 1164 "configure"
1164 #include "confdefs.h"
1165 /* Override any gcc2 internal prototype to avoid an error. */
1166 /* We use char because int might match the return type of a gcc2
1167 builtin and then its argument prototype would still apply. */
1174 if { (eval echo configure
:1175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1176 eval "ac_cv_lib_$ac_lib_var=yes"
1178 echo "configure: failed program was:" >&5
1179 cat conftest.
$ac_ext >&5
1181 eval "ac_cv_lib_$ac_lib_var=no"
1184 LIBS
="$ac_save_LIBS"
1187 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1188 echo "$ac_t""yes" 1>&6
1189 cat >> confdefs.h
<<\EOF
1190 #define wxHAVE_GLIBC2 1
1194 echo "$ac_t""no" 1>&6
1202 wx_arg_cache_file
="configarg.cache"
1203 echo "loading argument cache $wx_arg_cache_file"
1204 rm -f ${wx_arg_cache_file}.tmp
1205 touch ${wx_arg_cache_file}.tmp
1206 touch ${wx_arg_cache_file}
1210 if test $DEBUG_CONFIGURE = 1; then
1211 DEFAULT_wxUSE_THREADS
=yes
1213 DEFAULT_wxUSE_SHARED
=yes
1214 DEFAULT_wxUSE_OPTIMISE
=yes
1215 DEFAULT_wxUSE_PROFILE
=no
1216 DEFAULT_wxUSE_NO_DEPS
=no
1217 DEFAULT_wxUSE_NO_RTTI
=no
1218 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1219 DEFAULT_wxUSE_PERMISSIVE
=no
1220 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1221 DEFAULT_wxUSE_DEBUG_INFO
=yes
1222 DEFAULT_wxUSE_DEBUG_GDB
=yes
1223 DEFAULT_wxUSE_MEM_TRACING
=no
1224 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1225 DEFAULT_wxUSE_DMALLOC
=no
1226 DEFAULT_wxUSE_APPLE_IEEE
=no
1228 DEFAULT_wxUSE_LOG
=yes
1230 DEFAULT_wxUSE_GUI
=yes
1232 DEFAULT_wxUSE_ZLIB
=no
1233 DEFAULT_wxUSE_LIBPNG
=no
1234 DEFAULT_wxUSE_LIBGIF
=no
1235 DEFAULT_wxUSE_LIBJPEG
=no
1236 DEFAULT_wxUSE_ODBC
=no
1238 DEFAULT_wxUSE_STD_IOSTREAM
=no
1239 DEFAULT_wxUSE_FILE
=no
1240 DEFAULT_wxUSE_TEXTFILE
=no
1241 DEFAULT_wxUSE_TIMEDATE
=no
1242 DEFAULT_wxUSE_WAVE
=no
1243 DEFAULT_wxUSE_INTL
=no
1244 DEFAULT_wxUSE_CONFIG
=no
1245 DEFAULT_wxUSE_STREAMS
=no
1246 DEFAULT_wxUSE_SOCKETS
=no
1247 DEFAULT_wxUSE_SERIAL
=no
1248 DEFAULT_wxUSE_JOYSTICK
=no
1249 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1250 DEFAULT_wxUSE_LONGLONG
=no
1252 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1253 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1254 DEFAULT_wxUSE_POSTSCRIPT
=no
1256 DEFAULT_wxUSE_X_RESOURCES
=no
1257 DEFAULT_wxUSE_CLIPBOARD
=no
1258 DEFAULT_wxUSE_TOOLTIPS
=no
1259 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1260 DEFAULT_wxUSE_SPLINES
=no
1262 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1263 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1264 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1266 DEFAULT_wxUSE_PROLOGIO
=no
1267 DEFAULT_wxUSE_RESOURCES
=no
1268 DEFAULT_wxUSE_CONSTRAINTS
=no
1269 DEFAULT_wxUSE_IPC
=no
1270 DEFAULT_wxUSE_HELP
=no
1271 DEFAULT_wxUSE_WXTREE
=no
1272 DEFAULT_wxUSE_METAFILE
=no
1274 DEFAULT_wxUSE_COMMONDLGS
=no
1275 DEFAULT_wxUSE_DIRDLG
=no
1276 DEFAULT_wxUSE_TEXTDLG
=no
1277 DEFAULT_wxUSE_STARTUP_TIPS
=no
1278 DEFAULT_wxUSE_PROGRESSDLG
=no
1279 DEFAULT_wxUSE_MINIFRAME
=no
1280 DEFAULT_wxUSE_HTML
=no
1281 DEFAULT_wxUSE_FS_INET
=no
1282 DEFAULT_wxUSE_FS_ZIP
=no
1283 DEFAULT_wxUSE_BUSYINFO
=no
1284 DEFAULT_wxUSE_ZIPSTREAM
=no
1285 DEFAULT_wxUSE_VALIDATORS
=yes
1287 DEFAULT_wxUSE_ACCEL
=no
1288 DEFAULT_wxUSE_CARET
=no
1289 DEFAULT_wxUSE_BMPBUTTON
=no
1290 DEFAULT_wxUSE_CHECKBOX
=no
1291 DEFAULT_wxUSE_CHECKLST
=no
1292 DEFAULT_wxUSE_CHOICE
=yes
1293 DEFAULT_wxUSE_COMBOBOX
=no
1294 DEFAULT_wxUSE_GAUGE
=no
1295 DEFAULT_wxUSE_GRID
=no
1296 DEFAULT_wxUSE_IMAGLIST
=no
1297 DEFAULT_wxUSE_LISTBOX
=no
1298 DEFAULT_wxUSE_LISTCTRL
=no
1299 DEFAULT_wxUSE_NOTEBOOK
=no
1300 DEFAULT_wxUSE_RADIOBOX
=no
1301 DEFAULT_wxUSE_RADIOBTN
=no
1302 DEFAULT_wxUSE_SASH
=no
1303 DEFAULT_wxUSE_SCROLLBAR
=no
1304 DEFAULT_wxUSE_SLIDER
=no
1305 DEFAULT_wxUSE_SPINBTN
=no
1306 DEFAULT_wxUSE_SPLITTER
=no
1307 DEFAULT_wxUSE_STATBMP
=no
1308 DEFAULT_wxUSE_STATBOX
=no
1309 DEFAULT_wxUSE_STATLINE
=no
1310 DEFAULT_wxUSE_STATUSBAR
=yes
1311 DEFAULT_wxUSE_TABDIALOG
=no
1312 DEFAULT_wxUSE_TOOLBAR
=no
1313 DEFAULT_wxUSE_TREECTRL
=no
1315 DEFAULT_wxUSE_UNICODE
=no
1316 DEFAULT_wxUSE_WCSRTOMBS
=no
1318 DEFAULT_wxUSE_THREADS
=yes
1320 DEFAULT_wxUSE_SHARED
=yes
1321 DEFAULT_wxUSE_OPTIMISE
=yes
1322 DEFAULT_wxUSE_PROFILE
=no
1323 DEFAULT_wxUSE_NO_DEPS
=no
1324 DEFAULT_wxUSE_NO_RTTI
=no
1325 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1326 DEFAULT_wxUSE_PERMISSIVE
=no
1327 DEFAULT_wxUSE_DEBUG_FLAG
=no
1328 DEFAULT_wxUSE_DEBUG_INFO
=no
1329 DEFAULT_wxUSE_DEBUG_GDB
=no
1330 DEFAULT_wxUSE_MEM_TRACING
=no
1331 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1332 DEFAULT_wxUSE_DMALLOC
=no
1333 DEFAULT_wxUSE_APPLE_IEEE
=yes
1335 DEFAULT_wxUSE_LOG
=yes
1337 DEFAULT_wxUSE_GUI
=yes
1339 DEFAULT_wxUSE_ZLIB
=yes
1340 DEFAULT_wxUSE_LIBPNG
=yes
1341 DEFAULT_wxUSE_LIBGIF
=yes
1342 DEFAULT_wxUSE_LIBJPEG
=yes
1343 DEFAULT_wxUSE_ODBC
=no
1345 DEFAULT_wxUSE_STD_IOSTREAM
=no
1346 DEFAULT_wxUSE_FILE
=yes
1347 DEFAULT_wxUSE_TEXTFILE
=yes
1348 DEFAULT_wxUSE_TIMEDATE
=yes
1349 DEFAULT_wxUSE_WAVE
=no
1350 DEFAULT_wxUSE_INTL
=yes
1351 DEFAULT_wxUSE_CONFIG
=yes
1352 DEFAULT_wxUSE_STREAMS
=yes
1353 DEFAULT_wxUSE_SOCKETS
=yes
1354 DEFAULT_wxUSE_SERIAL
=yes
1355 DEFAULT_wxUSE_JOYSTICK
=yes
1356 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1357 DEFAULT_wxUSE_LONGLONG
=no
1359 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1360 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1361 DEFAULT_wxUSE_POSTSCRIPT
=yes
1363 DEFAULT_wxUSE_X_RESOURCES
=no
1364 DEFAULT_wxUSE_CLIPBOARD
=yes
1365 DEFAULT_wxUSE_TOOLTIPS
=yes
1366 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1367 DEFAULT_wxUSE_SPLINES
=yes
1369 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1370 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1371 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1373 DEFAULT_wxUSE_PROLOGIO
=yes
1374 DEFAULT_wxUSE_RESOURCES
=yes
1375 DEFAULT_wxUSE_CONSTRAINTS
=yes
1376 DEFAULT_wxUSE_IPC
=yes
1377 DEFAULT_wxUSE_HELP
=yes
1378 DEFAULT_wxUSE_WXTREE
=yes
1379 DEFAULT_wxUSE_METAFILE
=yes
1381 DEFAULT_wxUSE_COMMONDLGS
=yes
1382 DEFAULT_wxUSE_DIRDLG
=yes
1383 DEFAULT_wxUSE_TEXTDLG
=yes
1384 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1385 DEFAULT_wxUSE_PROGRESSDLG
=yes
1386 DEFAULT_wxUSE_MINIFRAME
=yes
1387 DEFAULT_wxUSE_HTML
=yes
1388 DEFAULT_wxUSE_FS_INET
=yes
1389 DEFAULT_wxUSE_FS_ZIP
=yes
1390 DEFAULT_wxUSE_BUSYINFO
=yes
1391 DEFAULT_wxUSE_ZIPSTREAM
=yes
1392 DEFAULT_wxUSE_VALIDATORS
=yes
1394 DEFAULT_wxUSE_ACCEL
=yes
1395 DEFAULT_wxUSE_CARET
=yes
1396 DEFAULT_wxUSE_BMPBUTTON
=yes
1397 DEFAULT_wxUSE_CHECKBOX
=yes
1398 DEFAULT_wxUSE_CHECKLST
=yes
1399 DEFAULT_wxUSE_CHOICE
=yes
1400 DEFAULT_wxUSE_COMBOBOX
=yes
1401 DEFAULT_wxUSE_GAUGE
=yes
1402 DEFAULT_wxUSE_GRID
=yes
1403 DEFAULT_wxUSE_IMAGLIST
=yes
1404 DEFAULT_wxUSE_LISTBOX
=yes
1405 DEFAULT_wxUSE_LISTCTRL
=yes
1406 DEFAULT_wxUSE_NOTEBOOK
=yes
1407 DEFAULT_wxUSE_RADIOBOX
=yes
1408 DEFAULT_wxUSE_RADIOBTN
=yes
1409 DEFAULT_wxUSE_SASH
=yes
1410 DEFAULT_wxUSE_SCROLLBAR
=yes
1411 DEFAULT_wxUSE_SLIDER
=yes
1412 DEFAULT_wxUSE_SPINBTN
=yes
1413 DEFAULT_wxUSE_SPLITTER
=yes
1414 DEFAULT_wxUSE_STATBMP
=yes
1415 DEFAULT_wxUSE_STATBOX
=yes
1416 DEFAULT_wxUSE_STATLINE
=yes
1417 DEFAULT_wxUSE_STATUSBAR
=yes
1418 DEFAULT_wxUSE_TABDIALOG
=no
1419 DEFAULT_wxUSE_TOOLBAR
=yes
1420 DEFAULT_wxUSE_TREECTRL
=yes
1422 DEFAULT_wxUSE_UNICODE
=no
1423 DEFAULT_wxUSE_WCSRTOMBS
=no
1428 for toolkit
in `echo $ALL_TOOLKITS`; do
1429 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1430 if test "x$LINE" != x
; then
1431 has_toolkit_in_cache
=1
1432 eval "DEFAULT_$LINE"
1433 eval "CACHE_$toolkit=1"
1437 # Check whether --with-gtk or --without-gtk was given.
1438 if test "${with_gtk+set}" = set; then
1440 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1443 # Check whether --with-motif or --without-motif was given.
1444 if test "${with_motif+set}" = set; then
1445 withval
="$with_motif"
1446 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1449 # Check whether --with-wine or --without-wine was given.
1450 if test "${with_wine+set}" = set; then
1451 withval
="$with_wine"
1452 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1455 # Check whether --with-cygwin or --without-cygwin was given.
1456 if test "${with_cygwin+set}" = set; then
1457 withval
="$with_cygwin"
1458 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1461 # Check whether --with-mingw or --without-mingw was given.
1462 if test "${with_mingw+set}" = set; then
1463 withval
="$with_mingw"
1464 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1468 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1469 if test "${with_gtk_prefix+set}" = set; then
1470 withval
="$with_gtk_prefix"
1471 gtk_config_prefix
="$withval"
1473 gtk_config_prefix
=""
1476 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1477 if test "${with_gtk_exec_prefix+set}" = set; then
1478 withval
="$with_gtk_exec_prefix"
1479 gtk_config_exec_prefix
="$withval"
1481 gtk_config_exec_prefix
=""
1486 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1487 echo "configure:1488: checking "for --with-dmalloc"" >&5
1489 # Check whether --with-dmalloc or --without-dmalloc was given.
1490 if test "${with_dmalloc+set}" = set; then
1491 withval
="$with_dmalloc"
1493 if test "$withval" = yes; then
1494 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1496 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1501 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1502 if test "x$LINE" != x
; then
1503 eval "DEFAULT_$LINE"
1508 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1513 eval "$ac_cv_use_dmalloc"
1514 if test "$no_cache" != 1; then
1515 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1518 if test "$wxUSE_DMALLOC" = yes; then
1519 echo "$ac_t""yes" 1>&6
1521 echo "$ac_t""no" 1>&6
1525 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1526 echo "configure:1527: checking "for --with-zlib"" >&5
1528 # Check whether --with-zlib or --without-zlib was given.
1529 if test "${with_zlib+set}" = set; then
1530 withval
="$with_zlib"
1532 if test "$withval" = yes; then
1533 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1535 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1540 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1541 if test "x$LINE" != x
; then
1542 eval "DEFAULT_$LINE"
1547 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1552 eval "$ac_cv_use_zlib"
1553 if test "$no_cache" != 1; then
1554 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1557 if test "$wxUSE_ZLIB" = yes; then
1558 echo "$ac_t""yes" 1>&6
1560 echo "$ac_t""no" 1>&6
1564 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1565 echo "configure:1566: checking "for --with-libpng"" >&5
1567 # Check whether --with-libpng or --without-libpng was given.
1568 if test "${with_libpng+set}" = set; then
1569 withval
="$with_libpng"
1571 if test "$withval" = yes; then
1572 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1574 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1579 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1580 if test "x$LINE" != x
; then
1581 eval "DEFAULT_$LINE"
1586 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1591 eval "$ac_cv_use_libpng"
1592 if test "$no_cache" != 1; then
1593 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1596 if test "$wxUSE_LIBPNG" = yes; then
1597 echo "$ac_t""yes" 1>&6
1599 echo "$ac_t""no" 1>&6
1603 echo $ac_n "checking "for --with-libgif"""... $ac_c" 1>&6
1604 echo "configure:1605: checking "for --with-libgif"" >&5
1606 # Check whether --with-libgif or --without-libgif was given.
1607 if test "${with_libgif+set}" = set; then
1608 withval
="$with_libgif"
1610 if test "$withval" = yes; then
1611 ac_cv_use_libgif
='wxUSE_LIBGIF=yes'
1613 ac_cv_use_libgif
='wxUSE_LIBGIF=no'
1618 LINE
=`grep "wxUSE_LIBGIF" ${wx_arg_cache_file}`
1619 if test "x$LINE" != x
; then
1620 eval "DEFAULT_$LINE"
1625 ac_cv_use_libgif
='wxUSE_LIBGIF='$DEFAULT_wxUSE_LIBGIF
1630 eval "$ac_cv_use_libgif"
1631 if test "$no_cache" != 1; then
1632 echo $ac_cv_use_libgif >> ${wx_arg_cache_file}.tmp
1635 if test "$wxUSE_LIBGIF" = yes; then
1636 echo "$ac_t""yes" 1>&6
1638 echo "$ac_t""no" 1>&6
1642 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1643 echo "configure:1644: checking "for --with-libjpeg"" >&5
1645 # Check whether --with-libjpeg or --without-libjpeg was given.
1646 if test "${with_libjpeg+set}" = set; then
1647 withval
="$with_libjpeg"
1649 if test "$withval" = yes; then
1650 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1652 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1657 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1658 if test "x$LINE" != x
; then
1659 eval "DEFAULT_$LINE"
1664 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1669 eval "$ac_cv_use_libjpeg"
1670 if test "$no_cache" != 1; then
1671 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1674 if test "$wxUSE_LIBJPEG" = yes; then
1675 echo "$ac_t""yes" 1>&6
1677 echo "$ac_t""no" 1>&6
1681 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1682 echo "configure:1683: checking "for --with-opengl"" >&5
1684 # Check whether --with-opengl or --without-opengl was given.
1685 if test "${with_opengl+set}" = set; then
1686 withval
="$with_opengl"
1688 if test "$withval" = yes; then
1689 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1691 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1696 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1697 if test "x$LINE" != x
; then
1698 eval "DEFAULT_$LINE"
1703 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1708 eval "$ac_cv_use_opengl"
1709 if test "$no_cache" != 1; then
1710 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1713 if test "$wxUSE_OPENGL" = yes; then
1714 echo "$ac_t""yes" 1>&6
1716 echo "$ac_t""no" 1>&6
1720 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1721 echo "configure:1722: checking "for --with-odbc"" >&5
1723 # Check whether --with-odbc or --without-odbc was given.
1724 if test "${with_odbc+set}" = set; then
1725 withval
="$with_odbc"
1727 if test "$withval" = yes; then
1728 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1730 ac_cv_use_odbc
='wxUSE_ODBC=no'
1735 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1736 if test "x$LINE" != x
; then
1737 eval "DEFAULT_$LINE"
1742 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1747 eval "$ac_cv_use_odbc"
1748 if test "$no_cache" != 1; then
1749 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1752 if test "$wxUSE_ODBC" = yes; then
1753 echo "$ac_t""yes" 1>&6
1755 echo "$ac_t""no" 1>&6
1762 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1763 echo "configure:1764: checking "for --enable-shared"" >&5
1765 # Check whether --enable-shared or --disable-shared was given.
1766 if test "${enable_shared+set}" = set; then
1767 enableval
="$enable_shared"
1769 if test "$enableval" = yes; then
1770 ac_cv_use_shared
='wxUSE_SHARED=yes'
1772 ac_cv_use_shared
='wxUSE_SHARED=no'
1777 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1778 if test "x$LINE" != x
; then
1779 eval "DEFAULT_$LINE"
1784 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1789 eval "$ac_cv_use_shared"
1790 if test "$no_cache" != 1; then
1791 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1794 if test "$wxUSE_SHARED" = yes; then
1795 echo "$ac_t""yes" 1>&6
1797 echo "$ac_t""no" 1>&6
1801 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1802 echo "configure:1803: checking "for --enable-optimise"" >&5
1804 # Check whether --enable-optimise or --disable-optimise was given.
1805 if test "${enable_optimise+set}" = set; then
1806 enableval
="$enable_optimise"
1808 if test "$enableval" = yes; then
1809 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1811 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1816 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1817 if test "x$LINE" != x
; then
1818 eval "DEFAULT_$LINE"
1823 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1828 eval "$ac_cv_use_optimise"
1829 if test "$no_cache" != 1; then
1830 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1833 if test "$wxUSE_OPTIMISE" = yes; then
1834 echo "$ac_t""yes" 1>&6
1836 echo "$ac_t""no" 1>&6
1840 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1841 echo "configure:1842: checking "for --enable-debug"" >&5
1843 # Check whether --enable-debug or --disable-debug was given.
1844 if test "${enable_debug+set}" = set; then
1845 enableval
="$enable_debug"
1847 if test "$enableval" = yes; then
1848 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1850 ac_cv_use_debug
='wxUSE_DEBUG=no'
1855 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1856 if test "x$LINE" != x
; then
1857 eval "DEFAULT_$LINE"
1862 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1867 eval "$ac_cv_use_debug"
1868 if test "$no_cache" != 1; then
1869 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1872 if test "$wxUSE_DEBUG" = yes; then
1873 echo "$ac_t""yes" 1>&6
1875 echo "$ac_t""no" 1>&6
1879 if test "$wxUSE_DEBUG" = "yes"; then
1880 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1881 DEFAULT_wxUSE_DEBUG_INFO
=yes
1882 elif test "$wxUSE_DEBUG" = "no"; then
1883 DEFAULT_wxUSE_DEBUG_FLAG
=no
1884 DEFAULT_wxUSE_DEBUG_INFO
=no
1888 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1889 echo "configure:1890: checking "for --enable-debug_flag"" >&5
1891 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1892 if test "${enable_debug_flag+set}" = set; then
1893 enableval
="$enable_debug_flag"
1895 if test "$enableval" = yes; then
1896 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1898 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1903 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1904 if test "x$LINE" != x
; then
1905 eval "DEFAULT_$LINE"
1910 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
1915 eval "$ac_cv_use_debug_flag"
1916 if test "$no_cache" != 1; then
1917 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
1920 if test "$wxUSE_DEBUG_FLAG" = yes; then
1921 echo "$ac_t""yes" 1>&6
1923 echo "$ac_t""no" 1>&6
1927 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
1928 echo "configure:1929: checking "for --enable-debug_info"" >&5
1930 # Check whether --enable-debug_info or --disable-debug_info was given.
1931 if test "${enable_debug_info+set}" = set; then
1932 enableval
="$enable_debug_info"
1934 if test "$enableval" = yes; then
1935 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
1937 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
1942 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
1943 if test "x$LINE" != x
; then
1944 eval "DEFAULT_$LINE"
1949 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
1954 eval "$ac_cv_use_debug_info"
1955 if test "$no_cache" != 1; then
1956 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
1959 if test "$wxUSE_DEBUG_INFO" = yes; then
1960 echo "$ac_t""yes" 1>&6
1962 echo "$ac_t""no" 1>&6
1966 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
1967 echo "configure:1968: checking "for --enable-debug_gdb"" >&5
1969 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
1970 if test "${enable_debug_gdb+set}" = set; then
1971 enableval
="$enable_debug_gdb"
1973 if test "$enableval" = yes; then
1974 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
1976 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
1981 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
1982 if test "x$LINE" != x
; then
1983 eval "DEFAULT_$LINE"
1988 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
1993 eval "$ac_cv_use_debug_gdb"
1994 if test "$no_cache" != 1; then
1995 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
1998 if test "$wxUSE_DEBUG_GDB" = yes; then
1999 echo "$ac_t""yes" 1>&6
2001 echo "$ac_t""no" 1>&6
2005 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2006 echo "configure:2007: checking "for --enable-debug_cntxt"" >&5
2008 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2009 if test "${enable_debug_cntxt+set}" = set; then
2010 enableval
="$enable_debug_cntxt"
2012 if test "$enableval" = yes; then
2013 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2015 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2020 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2021 if test "x$LINE" != x
; then
2022 eval "DEFAULT_$LINE"
2027 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2032 eval "$ac_cv_use_debug_cntxt"
2033 if test "$no_cache" != 1; then
2034 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2037 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2038 echo "$ac_t""yes" 1>&6
2040 echo "$ac_t""no" 1>&6
2044 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2045 echo "configure:2046: checking "for --enable-mem_tracing"" >&5
2047 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2048 if test "${enable_mem_tracing+set}" = set; then
2049 enableval
="$enable_mem_tracing"
2051 if test "$enableval" = yes; then
2052 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2054 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2059 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2060 if test "x$LINE" != x
; then
2061 eval "DEFAULT_$LINE"
2066 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2071 eval "$ac_cv_use_mem_tracing"
2072 if test "$no_cache" != 1; then
2073 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2076 if test "$wxUSE_MEM_TRACING" = yes; then
2077 echo "$ac_t""yes" 1>&6
2079 echo "$ac_t""no" 1>&6
2083 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2084 echo "configure:2085: checking "for --enable-profile"" >&5
2086 # Check whether --enable-profile or --disable-profile was given.
2087 if test "${enable_profile+set}" = set; then
2088 enableval
="$enable_profile"
2090 if test "$enableval" = yes; then
2091 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2093 ac_cv_use_profile
='wxUSE_PROFILE=no'
2098 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2099 if test "x$LINE" != x
; then
2100 eval "DEFAULT_$LINE"
2105 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2110 eval "$ac_cv_use_profile"
2111 if test "$no_cache" != 1; then
2112 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2115 if test "$wxUSE_PROFILE" = yes; then
2116 echo "$ac_t""yes" 1>&6
2118 echo "$ac_t""no" 1>&6
2122 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2123 echo "configure:2124: checking "for --enable-no_rtti"" >&5
2125 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2126 if test "${enable_no_rtti+set}" = set; then
2127 enableval
="$enable_no_rtti"
2129 if test "$enableval" = yes; then
2130 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2132 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2137 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2138 if test "x$LINE" != x
; then
2139 eval "DEFAULT_$LINE"
2144 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2149 eval "$ac_cv_use_no_rtti"
2150 if test "$no_cache" != 1; then
2151 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2154 if test "$wxUSE_NO_RTTI" = yes; then
2155 echo "$ac_t""yes" 1>&6
2157 echo "$ac_t""no" 1>&6
2161 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2162 echo "configure:2163: checking "for --enable-no_exceptions"" >&5
2164 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2165 if test "${enable_no_exceptions+set}" = set; then
2166 enableval
="$enable_no_exceptions"
2168 if test "$enableval" = yes; then
2169 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2171 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2176 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2177 if test "x$LINE" != x
; then
2178 eval "DEFAULT_$LINE"
2183 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2188 eval "$ac_cv_use_no_exceptions"
2189 if test "$no_cache" != 1; then
2190 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2193 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2194 echo "$ac_t""yes" 1>&6
2196 echo "$ac_t""no" 1>&6
2200 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2201 echo "configure:2202: checking "for --enable-permissive"" >&5
2203 # Check whether --enable-permissive or --disable-permissive was given.
2204 if test "${enable_permissive+set}" = set; then
2205 enableval
="$enable_permissive"
2207 if test "$enableval" = yes; then
2208 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2210 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2215 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2216 if test "x$LINE" != x
; then
2217 eval "DEFAULT_$LINE"
2222 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2227 eval "$ac_cv_use_permissive"
2228 if test "$no_cache" != 1; then
2229 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2232 if test "$wxUSE_PERMISSIVE" = yes; then
2233 echo "$ac_t""yes" 1>&6
2235 echo "$ac_t""no" 1>&6
2239 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2240 echo "configure:2241: checking "for --enable-no_deps"" >&5
2242 # Check whether --enable-no_deps or --disable-no_deps was given.
2243 if test "${enable_no_deps+set}" = set; then
2244 enableval
="$enable_no_deps"
2246 if test "$enableval" = yes; then
2247 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2249 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2254 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2255 if test "x$LINE" != x
; then
2256 eval "DEFAULT_$LINE"
2261 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2266 eval "$ac_cv_use_no_deps"
2267 if test "$no_cache" != 1; then
2268 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2271 if test "$wxUSE_NO_DEPS" = yes; then
2272 echo "$ac_t""yes" 1>&6
2274 echo "$ac_t""no" 1>&6
2280 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
2281 echo "configure:2282: checking "for --enable-gui"" >&5
2283 # Check whether --enable-gui or --disable-gui was given.
2284 if test "${enable_gui+set}" = set; then
2285 enableval
="$enable_gui"
2287 if test "$enableval" = yes; then
2288 ac_cv_use_gui
='wxUSE_GUI=yes'
2290 ac_cv_use_gui
='wxUSE_GUI=no'
2295 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2296 if test "x$LINE" != x
; then
2297 eval "DEFAULT_$LINE"
2302 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2307 eval "$ac_cv_use_gui"
2308 if test "$no_cache" != 1; then
2309 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2312 if test "$wxUSE_GUI" = yes; then
2313 echo "$ac_t""yes" 1>&6
2315 echo "$ac_t""no" 1>&6
2321 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2322 echo "configure:2323: checking "for --enable-intl"" >&5
2324 # Check whether --enable-intl or --disable-intl was given.
2325 if test "${enable_intl+set}" = set; then
2326 enableval
="$enable_intl"
2328 if test "$enableval" = yes; then
2329 ac_cv_use_intl
='wxUSE_INTL=yes'
2331 ac_cv_use_intl
='wxUSE_INTL=no'
2336 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2337 if test "x$LINE" != x
; then
2338 eval "DEFAULT_$LINE"
2343 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2348 eval "$ac_cv_use_intl"
2349 if test "$no_cache" != 1; then
2350 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2353 if test "$wxUSE_INTL" = yes; then
2354 echo "$ac_t""yes" 1>&6
2356 echo "$ac_t""no" 1>&6
2360 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2361 echo "configure:2362: checking "for --enable-config"" >&5
2363 # Check whether --enable-config or --disable-config was given.
2364 if test "${enable_config+set}" = set; then
2365 enableval
="$enable_config"
2367 if test "$enableval" = yes; then
2368 ac_cv_use_config
='wxUSE_CONFIG=yes'
2370 ac_cv_use_config
='wxUSE_CONFIG=no'
2375 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2376 if test "x$LINE" != x
; then
2377 eval "DEFAULT_$LINE"
2382 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2387 eval "$ac_cv_use_config"
2388 if test "$no_cache" != 1; then
2389 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2392 if test "$wxUSE_CONFIG" = yes; then
2393 echo "$ac_t""yes" 1>&6
2395 echo "$ac_t""no" 1>&6
2399 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2400 echo "configure:2401: checking "for --enable-sockets"" >&5
2402 # Check whether --enable-sockets or --disable-sockets was given.
2403 if test "${enable_sockets+set}" = set; then
2404 enableval
="$enable_sockets"
2406 if test "$enableval" = yes; then
2407 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2409 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2414 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2415 if test "x$LINE" != x
; then
2416 eval "DEFAULT_$LINE"
2421 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2426 eval "$ac_cv_use_sockets"
2427 if test "$no_cache" != 1; then
2428 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2431 if test "$wxUSE_SOCKETS" = yes; then
2432 echo "$ac_t""yes" 1>&6
2434 echo "$ac_t""no" 1>&6
2438 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2439 echo "configure:2440: checking "for --enable-ipc"" >&5
2441 # Check whether --enable-ipc or --disable-ipc was given.
2442 if test "${enable_ipc+set}" = set; then
2443 enableval
="$enable_ipc"
2445 if test "$enableval" = yes; then
2446 ac_cv_use_ipc
='wxUSE_IPC=yes'
2448 ac_cv_use_ipc
='wxUSE_IPC=no'
2453 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2454 if test "x$LINE" != x
; then
2455 eval "DEFAULT_$LINE"
2460 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2465 eval "$ac_cv_use_ipc"
2466 if test "$no_cache" != 1; then
2467 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2470 if test "$wxUSE_IPC" = yes; then
2471 echo "$ac_t""yes" 1>&6
2473 echo "$ac_t""no" 1>&6
2477 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2478 echo "configure:2479: checking "for --enable-apple_ieee"" >&5
2480 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2481 if test "${enable_apple_ieee+set}" = set; then
2482 enableval
="$enable_apple_ieee"
2484 if test "$enableval" = yes; then
2485 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2487 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2492 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2493 if test "x$LINE" != x
; then
2494 eval "DEFAULT_$LINE"
2499 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2504 eval "$ac_cv_use_apple_ieee"
2505 if test "$no_cache" != 1; then
2506 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2509 if test "$wxUSE_APPLE_IEEE" = yes; then
2510 echo "$ac_t""yes" 1>&6
2512 echo "$ac_t""no" 1>&6
2516 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2517 echo "configure:2518: checking "for --enable-timedate"" >&5
2519 # Check whether --enable-timedate or --disable-timedate was given.
2520 if test "${enable_timedate+set}" = set; then
2521 enableval
="$enable_timedate"
2523 if test "$enableval" = yes; then
2524 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2526 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2531 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2532 if test "x$LINE" != x
; then
2533 eval "DEFAULT_$LINE"
2538 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2543 eval "$ac_cv_use_timedate"
2544 if test "$no_cache" != 1; then
2545 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2548 if test "$wxUSE_TIMEDATE" = yes; then
2549 echo "$ac_t""yes" 1>&6
2551 echo "$ac_t""no" 1>&6
2555 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2556 echo "configure:2557: checking "for --enable-wave"" >&5
2558 # Check whether --enable-wave or --disable-wave was given.
2559 if test "${enable_wave+set}" = set; then
2560 enableval
="$enable_wave"
2562 if test "$enableval" = yes; then
2563 ac_cv_use_wave
='wxUSE_WAVE=yes'
2565 ac_cv_use_wave
='wxUSE_WAVE=no'
2570 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2571 if test "x$LINE" != x
; then
2572 eval "DEFAULT_$LINE"
2577 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2582 eval "$ac_cv_use_wave"
2583 if test "$no_cache" != 1; then
2584 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2587 if test "$wxUSE_WAVE" = yes; then
2588 echo "$ac_t""yes" 1>&6
2590 echo "$ac_t""no" 1>&6
2594 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2595 echo "configure:2596: checking "for --enable-fraction"" >&5
2597 # Check whether --enable-fraction or --disable-fraction was given.
2598 if test "${enable_fraction+set}" = set; then
2599 enableval
="$enable_fraction"
2601 if test "$enableval" = yes; then
2602 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2604 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2609 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2610 if test "x$LINE" != x
; then
2611 eval "DEFAULT_$LINE"
2616 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2621 eval "$ac_cv_use_fraction"
2622 if test "$no_cache" != 1; then
2623 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2626 if test "$wxUSE_FRACTION" = yes; then
2627 echo "$ac_t""yes" 1>&6
2629 echo "$ac_t""no" 1>&6
2633 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2634 echo "configure:2635: checking "for --enable-dynlib"" >&5
2636 # Check whether --enable-dynlib or --disable-dynlib was given.
2637 if test "${enable_dynlib+set}" = set; then
2638 enableval
="$enable_dynlib"
2640 if test "$enableval" = yes; then
2641 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2643 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2648 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2649 if test "x$LINE" != x
; then
2650 eval "DEFAULT_$LINE"
2655 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2660 eval "$ac_cv_use_dynlib"
2661 if test "$no_cache" != 1; then
2662 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2665 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2666 echo "$ac_t""yes" 1>&6
2668 echo "$ac_t""no" 1>&6
2672 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2673 echo "configure:2674: checking "for --enable-longlong"" >&5
2675 # Check whether --enable-longlong or --disable-longlong was given.
2676 if test "${enable_longlong+set}" = set; then
2677 enableval
="$enable_longlong"
2679 if test "$enableval" = yes; then
2680 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2682 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2687 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2688 if test "x$LINE" != x
; then
2689 eval "DEFAULT_$LINE"
2694 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2699 eval "$ac_cv_use_longlong"
2700 if test "$no_cache" != 1; then
2701 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2704 if test "$wxUSE_LONGLONG" = yes; then
2705 echo "$ac_t""yes" 1>&6
2707 echo "$ac_t""no" 1>&6
2711 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2712 echo "configure:2713: checking "for --enable-log"" >&5
2714 # Check whether --enable-log or --disable-log was given.
2715 if test "${enable_log+set}" = set; then
2716 enableval
="$enable_log"
2718 if test "$enableval" = yes; then
2719 ac_cv_use_log
='wxUSE_LOG=yes'
2721 ac_cv_use_log
='wxUSE_LOG=no'
2726 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2727 if test "x$LINE" != x
; then
2728 eval "DEFAULT_$LINE"
2733 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2738 eval "$ac_cv_use_log"
2739 if test "$no_cache" != 1; then
2740 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2743 if test "$wxUSE_LOG" = yes; then
2744 echo "$ac_t""yes" 1>&6
2746 echo "$ac_t""no" 1>&6
2750 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2751 echo "configure:2752: checking "for --enable-streams"" >&5
2753 # Check whether --enable-streams or --disable-streams was given.
2754 if test "${enable_streams+set}" = set; then
2755 enableval
="$enable_streams"
2757 if test "$enableval" = yes; then
2758 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2760 ac_cv_use_streams
='wxUSE_STREAMS=no'
2765 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2766 if test "x$LINE" != x
; then
2767 eval "DEFAULT_$LINE"
2772 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2777 eval "$ac_cv_use_streams"
2778 if test "$no_cache" != 1; then
2779 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2782 if test "$wxUSE_STREAMS" = yes; then
2783 echo "$ac_t""yes" 1>&6
2785 echo "$ac_t""no" 1>&6
2789 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2790 echo "configure:2791: checking "for --enable-file"" >&5
2792 # Check whether --enable-file or --disable-file was given.
2793 if test "${enable_file+set}" = set; then
2794 enableval
="$enable_file"
2796 if test "$enableval" = yes; then
2797 ac_cv_use_file
='wxUSE_FILE=yes'
2799 ac_cv_use_file
='wxUSE_FILE=no'
2804 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2805 if test "x$LINE" != x
; then
2806 eval "DEFAULT_$LINE"
2811 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2816 eval "$ac_cv_use_file"
2817 if test "$no_cache" != 1; then
2818 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2821 if test "$wxUSE_FILE" = yes; then
2822 echo "$ac_t""yes" 1>&6
2824 echo "$ac_t""no" 1>&6
2828 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2829 echo "configure:2830: checking "for --enable-textfile"" >&5
2831 # Check whether --enable-textfile or --disable-textfile was given.
2832 if test "${enable_textfile+set}" = set; then
2833 enableval
="$enable_textfile"
2835 if test "$enableval" = yes; then
2836 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2838 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2843 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2844 if test "x$LINE" != x
; then
2845 eval "DEFAULT_$LINE"
2850 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2855 eval "$ac_cv_use_textfile"
2856 if test "$no_cache" != 1; then
2857 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2860 if test "$wxUSE_TEXTFILE" = yes; then
2861 echo "$ac_t""yes" 1>&6
2863 echo "$ac_t""no" 1>&6
2867 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2868 echo "configure:2869: checking "for --enable-unicode"" >&5
2870 # Check whether --enable-unicode or --disable-unicode was given.
2871 if test "${enable_unicode+set}" = set; then
2872 enableval
="$enable_unicode"
2874 if test "$enableval" = yes; then
2875 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2877 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2882 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2883 if test "x$LINE" != x
; then
2884 eval "DEFAULT_$LINE"
2889 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2894 eval "$ac_cv_use_unicode"
2895 if test "$no_cache" != 1; then
2896 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2899 if test "$wxUSE_UNICODE" = yes; then
2900 echo "$ac_t""yes" 1>&6
2902 echo "$ac_t""no" 1>&6
2906 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2907 echo "configure:2908: checking "for --enable-wcsrtombs"" >&5
2909 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2910 if test "${enable_wcsrtombs+set}" = set; then
2911 enableval
="$enable_wcsrtombs"
2913 if test "$enableval" = yes; then
2914 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
2916 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
2921 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
2922 if test "x$LINE" != x
; then
2923 eval "DEFAULT_$LINE"
2928 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
2933 eval "$ac_cv_use_wcsrtombs"
2934 if test "$no_cache" != 1; then
2935 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
2938 if test "$wxUSE_WCSRTOMBS" = yes; then
2939 echo "$ac_t""yes" 1>&6
2941 echo "$ac_t""no" 1>&6
2945 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
2946 echo "configure:2947: checking "for --enable-wxprintfv"" >&5
2948 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
2949 if test "${enable_wxprintfv+set}" = set; then
2950 enableval
="$enable_wxprintfv"
2952 if test "$enableval" = yes; then
2953 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
2955 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
2960 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
2961 if test "x$LINE" != x
; then
2962 eval "DEFAULT_$LINE"
2967 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
2972 eval "$ac_cv_use_wxprintfv"
2973 if test "$no_cache" != 1; then
2974 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
2977 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
2978 echo "$ac_t""yes" 1>&6
2980 echo "$ac_t""no" 1>&6
2984 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
2985 echo "configure:2986: checking "for --enable-joystick"" >&5
2987 # Check whether --enable-joystick or --disable-joystick was given.
2988 if test "${enable_joystick+set}" = set; then
2989 enableval
="$enable_joystick"
2991 if test "$enableval" = yes; then
2992 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
2994 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
2999 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3000 if test "x$LINE" != x
; then
3001 eval "DEFAULT_$LINE"
3006 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3011 eval "$ac_cv_use_joystick"
3012 if test "$no_cache" != 1; then
3013 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3016 if test "$wxUSE_JOYSTICK" = yes; then
3017 echo "$ac_t""yes" 1>&6
3019 echo "$ac_t""no" 1>&6
3023 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3024 echo "configure:3025: checking "for --enable-std_iostreams"" >&5
3026 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3027 if test "${enable_std_iostreams+set}" = set; then
3028 enableval
="$enable_std_iostreams"
3030 if test "$enableval" = yes; then
3031 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3033 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3038 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3039 if test "x$LINE" != x
; then
3040 eval "DEFAULT_$LINE"
3045 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3050 eval "$ac_cv_use_std_iostreams"
3051 if test "$no_cache" != 1; then
3052 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3055 if test "$wxUSE_STD_IOSTREAM" = yes; then
3056 echo "$ac_t""yes" 1>&6
3058 echo "$ac_t""no" 1>&6
3062 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3063 echo "configure:3064: checking "for --enable-fs_inet"" >&5
3065 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3066 if test "${enable_fs_inet+set}" = set; then
3067 enableval
="$enable_fs_inet"
3069 if test "$enableval" = yes; then
3070 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3072 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3077 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3078 if test "x$LINE" != x
; then
3079 eval "DEFAULT_$LINE"
3084 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3089 eval "$ac_cv_use_fs_inet"
3090 if test "$no_cache" != 1; then
3091 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3094 if test "$wxUSE_FS_INET" = yes; then
3095 echo "$ac_t""yes" 1>&6
3097 echo "$ac_t""no" 1>&6
3101 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3102 echo "configure:3103: checking "for --enable-fs_zip"" >&5
3104 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3105 if test "${enable_fs_zip+set}" = set; then
3106 enableval
="$enable_fs_zip"
3108 if test "$enableval" = yes; then
3109 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3111 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3116 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3117 if test "x$LINE" != x
; then
3118 eval "DEFAULT_$LINE"
3123 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3128 eval "$ac_cv_use_fs_zip"
3129 if test "$no_cache" != 1; then
3130 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3133 if test "$wxUSE_FS_ZIP" = yes; then
3134 echo "$ac_t""yes" 1>&6
3136 echo "$ac_t""no" 1>&6
3140 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3141 echo "configure:3142: checking "for --enable-zipstream"" >&5
3143 # Check whether --enable-zipstream or --disable-zipstream was given.
3144 if test "${enable_zipstream+set}" = set; then
3145 enableval
="$enable_zipstream"
3147 if test "$enableval" = yes; then
3148 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3150 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3155 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3156 if test "x$LINE" != x
; then
3157 eval "DEFAULT_$LINE"
3162 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3167 eval "$ac_cv_use_zipstream"
3168 if test "$no_cache" != 1; then
3169 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3172 if test "$wxUSE_ZIPSTREAM" = yes; then
3173 echo "$ac_t""yes" 1>&6
3175 echo "$ac_t""no" 1>&6
3181 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3182 echo "configure:3183: checking "for --enable-threads"" >&5
3184 # Check whether --enable-threads or --disable-threads was given.
3185 if test "${enable_threads+set}" = set; then
3186 enableval
="$enable_threads"
3188 if test "$enableval" = yes; then
3189 ac_cv_use_threads
='wxUSE_THREADS=yes'
3191 ac_cv_use_threads
='wxUSE_THREADS=no'
3196 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3197 if test "x$LINE" != x
; then
3198 eval "DEFAULT_$LINE"
3203 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3208 eval "$ac_cv_use_threads"
3209 if test "$no_cache" != 1; then
3210 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3213 if test "$wxUSE_THREADS" = yes; then
3214 echo "$ac_t""yes" 1>&6
3216 echo "$ac_t""no" 1>&6
3220 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3221 echo "configure:3222: checking "for --enable-serial"" >&5
3223 # Check whether --enable-serial or --disable-serial was given.
3224 if test "${enable_serial+set}" = set; then
3225 enableval
="$enable_serial"
3227 if test "$enableval" = yes; then
3228 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3230 ac_cv_use_serial
='wxUSE_SERIAL=no'
3235 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3236 if test "x$LINE" != x
; then
3237 eval "DEFAULT_$LINE"
3242 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3247 eval "$ac_cv_use_serial"
3248 if test "$no_cache" != 1; then
3249 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3252 if test "$wxUSE_SERIAL" = yes; then
3253 echo "$ac_t""yes" 1>&6
3255 echo "$ac_t""no" 1>&6
3261 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3262 echo "configure:3263: checking "for --enable-docview"" >&5
3264 # Check whether --enable-docview or --disable-docview was given.
3265 if test "${enable_docview+set}" = set; then
3266 enableval
="$enable_docview"
3268 if test "$enableval" = yes; then
3269 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3271 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3276 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3277 if test "x$LINE" != x
; then
3278 eval "DEFAULT_$LINE"
3283 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3288 eval "$ac_cv_use_docview"
3289 if test "$no_cache" != 1; then
3290 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3293 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3294 echo "$ac_t""yes" 1>&6
3296 echo "$ac_t""no" 1>&6
3300 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3301 echo "configure:3302: checking "for --enable-help"" >&5
3303 # Check whether --enable-help or --disable-help was given.
3304 if test "${enable_help+set}" = set; then
3305 enableval
="$enable_help"
3307 if test "$enableval" = yes; then
3308 ac_cv_use_help
='wxUSE_HELP=yes'
3310 ac_cv_use_help
='wxUSE_HELP=no'
3315 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3316 if test "x$LINE" != x
; then
3317 eval "DEFAULT_$LINE"
3322 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3327 eval "$ac_cv_use_help"
3328 if test "$no_cache" != 1; then
3329 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3332 if test "$wxUSE_HELP" = yes; then
3333 echo "$ac_t""yes" 1>&6
3335 echo "$ac_t""no" 1>&6
3339 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3340 echo "configure:3341: checking "for --enable-constraints"" >&5
3342 # Check whether --enable-constraints or --disable-constraints was given.
3343 if test "${enable_constraints+set}" = set; then
3344 enableval
="$enable_constraints"
3346 if test "$enableval" = yes; then
3347 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3349 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3354 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3355 if test "x$LINE" != x
; then
3356 eval "DEFAULT_$LINE"
3361 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3366 eval "$ac_cv_use_constraints"
3367 if test "$no_cache" != 1; then
3368 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3371 if test "$wxUSE_CONSTRAINTS" = yes; then
3372 echo "$ac_t""yes" 1>&6
3374 echo "$ac_t""no" 1>&6
3378 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3379 echo "configure:3380: checking "for --enable-printarch"" >&5
3381 # Check whether --enable-printarch or --disable-printarch was given.
3382 if test "${enable_printarch+set}" = set; then
3383 enableval
="$enable_printarch"
3385 if test "$enableval" = yes; then
3386 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3388 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3393 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3394 if test "x$LINE" != x
; then
3395 eval "DEFAULT_$LINE"
3400 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3405 eval "$ac_cv_use_printarch"
3406 if test "$no_cache" != 1; then
3407 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3410 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3411 echo "$ac_t""yes" 1>&6
3413 echo "$ac_t""no" 1>&6
3417 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3418 echo "configure:3419: checking "for --enable-mdi"" >&5
3420 # Check whether --enable-mdi or --disable-mdi was given.
3421 if test "${enable_mdi+set}" = set; then
3422 enableval
="$enable_mdi"
3424 if test "$enableval" = yes; then
3425 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3427 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3432 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3433 if test "x$LINE" != x
; then
3434 eval "DEFAULT_$LINE"
3439 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3444 eval "$ac_cv_use_mdi"
3445 if test "$no_cache" != 1; then
3446 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3449 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3450 echo "$ac_t""yes" 1>&6
3452 echo "$ac_t""no" 1>&6
3457 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3458 echo "configure:3459: checking "for --enable-postscript"" >&5
3460 # Check whether --enable-postscript or --disable-postscript was given.
3461 if test "${enable_postscript+set}" = set; then
3462 enableval
="$enable_postscript"
3464 if test "$enableval" = yes; then
3465 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3467 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3472 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3473 if test "x$LINE" != x
; then
3474 eval "DEFAULT_$LINE"
3479 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3484 eval "$ac_cv_use_postscript"
3485 if test "$no_cache" != 1; then
3486 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3489 if test "$wxUSE_POSTSCRIPT" = yes; then
3490 echo "$ac_t""yes" 1>&6
3492 echo "$ac_t""no" 1>&6
3498 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3499 echo "configure:3500: checking "for --enable-prologio"" >&5
3501 # Check whether --enable-prologio or --disable-prologio was given.
3502 if test "${enable_prologio+set}" = set; then
3503 enableval
="$enable_prologio"
3505 if test "$enableval" = yes; then
3506 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3508 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3513 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3514 if test "x$LINE" != x
; then
3515 eval "DEFAULT_$LINE"
3520 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3525 eval "$ac_cv_use_prologio"
3526 if test "$no_cache" != 1; then
3527 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3530 if test "$wxUSE_PROLOGIO" = yes; then
3531 echo "$ac_t""yes" 1>&6
3533 echo "$ac_t""no" 1>&6
3537 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3538 echo "configure:3539: checking "for --enable-resources"" >&5
3540 # Check whether --enable-resources or --disable-resources was given.
3541 if test "${enable_resources+set}" = set; then
3542 enableval
="$enable_resources"
3544 if test "$enableval" = yes; then
3545 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3547 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3552 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3553 if test "x$LINE" != x
; then
3554 eval "DEFAULT_$LINE"
3559 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3564 eval "$ac_cv_use_resources"
3565 if test "$no_cache" != 1; then
3566 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3569 if test "$wxUSE_RESOURCES" = yes; then
3570 echo "$ac_t""yes" 1>&6
3572 echo "$ac_t""no" 1>&6
3577 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3578 echo "configure:3579: checking "for --enable-xresources"" >&5
3580 # Check whether --enable-xresources or --disable-xresources was given.
3581 if test "${enable_xresources+set}" = set; then
3582 enableval
="$enable_xresources"
3584 if test "$enableval" = yes; then
3585 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3587 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3592 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3593 if test "x$LINE" != x
; then
3594 eval "DEFAULT_$LINE"
3599 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3604 eval "$ac_cv_use_xresources"
3605 if test "$no_cache" != 1; then
3606 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3609 if test "$wxUSE_X_RESOURCES" = yes; then
3610 echo "$ac_t""yes" 1>&6
3612 echo "$ac_t""no" 1>&6
3618 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3619 echo "configure:3620: checking "for --enable-clipboard"" >&5
3621 # Check whether --enable-clipboard or --disable-clipboard was given.
3622 if test "${enable_clipboard+set}" = set; then
3623 enableval
="$enable_clipboard"
3625 if test "$enableval" = yes; then
3626 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3628 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3633 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3634 if test "x$LINE" != x
; then
3635 eval "DEFAULT_$LINE"
3640 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3645 eval "$ac_cv_use_clipboard"
3646 if test "$no_cache" != 1; then
3647 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3650 if test "$wxUSE_CLIPBOARD" = yes; then
3651 echo "$ac_t""yes" 1>&6
3653 echo "$ac_t""no" 1>&6
3657 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3658 echo "configure:3659: checking "for --enable-dnd"" >&5
3660 # Check whether --enable-dnd or --disable-dnd was given.
3661 if test "${enable_dnd+set}" = set; then
3662 enableval
="$enable_dnd"
3664 if test "$enableval" = yes; then
3665 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3667 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3672 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3673 if test "x$LINE" != x
; then
3674 eval "DEFAULT_$LINE"
3679 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3684 eval "$ac_cv_use_dnd"
3685 if test "$no_cache" != 1; then
3686 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3689 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3690 echo "$ac_t""yes" 1>&6
3692 echo "$ac_t""no" 1>&6
3697 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3698 echo "configure:3699: checking "for --enable-wxtree"" >&5
3700 # Check whether --enable-wxtree or --disable-wxtree was given.
3701 if test "${enable_wxtree+set}" = set; then
3702 enableval
="$enable_wxtree"
3704 if test "$enableval" = yes; then
3705 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3707 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3712 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3713 if test "x$LINE" != x
; then
3714 eval "DEFAULT_$LINE"
3719 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3724 eval "$ac_cv_use_wxtree"
3725 if test "$no_cache" != 1; then
3726 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3729 if test "$wxUSE_WXTREE" = yes; then
3730 echo "$ac_t""yes" 1>&6
3732 echo "$ac_t""no" 1>&6
3738 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3739 echo "configure:3740: checking "for --enable-controls"" >&5
3741 # Check whether --enable-controls or --disable-controls was given.
3742 if test "${enable_controls+set}" = set; then
3743 enableval
="$enable_controls"
3745 if test "$enableval" = yes; then
3746 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3748 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3753 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3754 if test "x$LINE" != x
; then
3755 eval "DEFAULT_$LINE"
3760 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3765 eval "$ac_cv_use_controls"
3766 if test "$no_cache" != 1; then
3767 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3770 if test "$wxUSE_CONTROLS" = yes; then
3771 echo "$ac_t""yes" 1>&6
3773 echo "$ac_t""no" 1>&6
3777 if test "$wxUSE_CONTROLS" = "yes"; then
3778 DEFAULT_wxUSE_ACCEL
=yes
3779 DEFAULT_wxUSE_CARET
=yes
3780 DEFAULT_wxUSE_COMBOBOX
=yes
3781 DEFAULT_wxUSE_BMPBUTTON
=yes
3782 DEFAULT_wxUSE_CHECKBOX
=yes
3783 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3784 DEFAULT_wxUSE_CHOICE
=yes
3785 DEFAULT_wxUSE_GAUGE
=yes
3786 DEFAULT_wxUSE_GRID
=yes
3787 DEFAULT_wxUSE_IMAGLIST
=yes
3788 DEFAULT_wxUSE_LISTBOX
=yes
3789 DEFAULT_wxUSE_LISTCTRL
=yes
3790 DEFAULT_wxUSE_NOTEBOOK
=yes
3791 DEFAULT_wxUSE_RADIOBOX
=yes
3792 DEFAULT_wxUSE_RADIOBTN
=yes
3793 DEFAULT_wxUSE_SASH
=yes
3794 DEFAULT_wxUSE_SCROLLBAR
=yes
3795 DEFAULT_wxUSE_SLIDER
=yes
3796 DEFAULT_wxUSE_SPINBTN
=yes
3797 DEFAULT_wxUSE_SPLITTER
=yes
3798 DEFAULT_wxUSE_STATBMP
=yes
3799 DEFAULT_wxUSE_STATBOX
=yes
3800 DEFAULT_wxUSE_STATLINE
=yes
3801 DEFAULT_wxUSE_STATUSBAR
=yes
3802 DEFAULT_wxUSE_TAB_DIALOG
=yes
3803 DEFAULT_wxUSE_TOOLBAR
=yes
3804 DEFAULT_wxUSE_TOOLTIPS
=yes
3805 DEFAULT_wxUSE_TREECTRL
=yes
3806 elif test "$wxUSE_CONTROLS" = "no"; then
3807 DEFAULT_wxUSE_ACCEL
=no
3808 DEFAULT_wxUSE_CARET
=no
3809 DEFAULT_wxUSE_COMBOBOX
=no
3810 DEFAULT_wxUSE_BMPBUTTON
=no
3811 DEFAULT_wxUSE_CHECKBOX
=no
3812 DEFAULT_wxUSE_CHECKLISTBOX
=no
3813 DEFAULT_wxUSE_CHOICE
=no
3814 DEFAULT_wxUSE_GAUGE
=no
3815 DEFAULT_wxUSE_GRID
=no
3816 DEFAULT_wxUSE_IMAGLIST
=no
3817 DEFAULT_wxUSE_LISTBOX
=no
3818 DEFAULT_wxUSE_LISTCTRL
=no
3819 DEFAULT_wxUSE_NOTEBOOK
=no
3820 DEFAULT_wxUSE_RADIOBOX
=no
3821 DEFAULT_wxUSE_RADIOBTN
=no
3822 DEFAULT_wxUSE_SASH
=no
3823 DEFAULT_wxUSE_SCROLLBAR
=no
3824 DEFAULT_wxUSE_SLIDER
=no
3825 DEFAULT_wxUSE_SPINBTN
=no
3826 DEFAULT_wxUSE_SPLITTER
=no
3827 DEFAULT_wxUSE_STATBMP
=no
3828 DEFAULT_wxUSE_STATBOX
=no
3829 DEFAULT_wxUSE_STATLINE
=no
3830 DEFAULT_wxUSE_STATUSBAR
=no
3831 DEFAULT_wxUSE_TAB_DIALOG
=no
3832 DEFAULT_wxUSE_TOOLBAR
=no
3833 DEFAULT_wxUSE_TOOLTIPS
=no
3834 DEFAULT_wxUSE_TREECTRL
=no
3838 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3839 echo "configure:3840: checking "for --enable-accel"" >&5
3841 # Check whether --enable-accel or --disable-accel was given.
3842 if test "${enable_accel+set}" = set; then
3843 enableval
="$enable_accel"
3845 if test "$enableval" = yes; then
3846 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3848 ac_cv_use_accel
='wxUSE_ACCEL=no'
3853 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3854 if test "x$LINE" != x
; then
3855 eval "DEFAULT_$LINE"
3860 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3865 eval "$ac_cv_use_accel"
3866 if test "$no_cache" != 1; then
3867 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3870 if test "$wxUSE_ACCEL" = yes; then
3871 echo "$ac_t""yes" 1>&6
3873 echo "$ac_t""no" 1>&6
3877 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3878 echo "configure:3879: checking "for --enable-caret"" >&5
3880 # Check whether --enable-caret or --disable-caret was given.
3881 if test "${enable_caret+set}" = set; then
3882 enableval
="$enable_caret"
3884 if test "$enableval" = yes; then
3885 ac_cv_use_caret
='wxUSE_CARET=yes'
3887 ac_cv_use_caret
='wxUSE_CARET=no'
3892 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3893 if test "x$LINE" != x
; then
3894 eval "DEFAULT_$LINE"
3899 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3904 eval "$ac_cv_use_caret"
3905 if test "$no_cache" != 1; then
3906 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3909 if test "$wxUSE_CARET" = yes; then
3910 echo "$ac_t""yes" 1>&6
3912 echo "$ac_t""no" 1>&6
3916 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
3917 echo "configure:3918: checking "for --enable-bmpbutton"" >&5
3919 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
3920 if test "${enable_bmpbutton+set}" = set; then
3921 enableval
="$enable_bmpbutton"
3923 if test "$enableval" = yes; then
3924 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
3926 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
3931 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
3932 if test "x$LINE" != x
; then
3933 eval "DEFAULT_$LINE"
3938 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
3943 eval "$ac_cv_use_bmpbutton"
3944 if test "$no_cache" != 1; then
3945 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
3948 if test "$wxUSE_BMPBUTTON" = yes; then
3949 echo "$ac_t""yes" 1>&6
3951 echo "$ac_t""no" 1>&6
3955 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
3956 echo "configure:3957: checking "for --enable-checkbox"" >&5
3958 # Check whether --enable-checkbox or --disable-checkbox was given.
3959 if test "${enable_checkbox+set}" = set; then
3960 enableval
="$enable_checkbox"
3962 if test "$enableval" = yes; then
3963 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
3965 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
3970 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
3971 if test "x$LINE" != x
; then
3972 eval "DEFAULT_$LINE"
3977 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
3982 eval "$ac_cv_use_checkbox"
3983 if test "$no_cache" != 1; then
3984 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
3987 if test "$wxUSE_CHECKBOX" = yes; then
3988 echo "$ac_t""yes" 1>&6
3990 echo "$ac_t""no" 1>&6
3994 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
3995 echo "configure:3996: checking "for --enable-checklst"" >&5
3997 # Check whether --enable-checklst or --disable-checklst was given.
3998 if test "${enable_checklst+set}" = set; then
3999 enableval
="$enable_checklst"
4001 if test "$enableval" = yes; then
4002 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4004 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4009 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4010 if test "x$LINE" != x
; then
4011 eval "DEFAULT_$LINE"
4016 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4021 eval "$ac_cv_use_checklst"
4022 if test "$no_cache" != 1; then
4023 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4026 if test "$wxUSE_CHECKLST" = yes; then
4027 echo "$ac_t""yes" 1>&6
4029 echo "$ac_t""no" 1>&6
4033 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4034 echo "configure:4035: checking "for --enable-choice"" >&5
4036 # Check whether --enable-choice or --disable-choice was given.
4037 if test "${enable_choice+set}" = set; then
4038 enableval
="$enable_choice"
4040 if test "$enableval" = yes; then
4041 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4043 ac_cv_use_choice
='wxUSE_CHOICE=no'
4048 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4049 if test "x$LINE" != x
; then
4050 eval "DEFAULT_$LINE"
4055 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4060 eval "$ac_cv_use_choice"
4061 if test "$no_cache" != 1; then
4062 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4065 if test "$wxUSE_CHOICE" = yes; then
4066 echo "$ac_t""yes" 1>&6
4068 echo "$ac_t""no" 1>&6
4072 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4073 echo "configure:4074: checking "for --enable-combobox"" >&5
4075 # Check whether --enable-combobox or --disable-combobox was given.
4076 if test "${enable_combobox+set}" = set; then
4077 enableval
="$enable_combobox"
4079 if test "$enableval" = yes; then
4080 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4082 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4087 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4088 if test "x$LINE" != x
; then
4089 eval "DEFAULT_$LINE"
4094 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4099 eval "$ac_cv_use_combobox"
4100 if test "$no_cache" != 1; then
4101 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4104 if test "$wxUSE_COMBOBOX" = yes; then
4105 echo "$ac_t""yes" 1>&6
4107 echo "$ac_t""no" 1>&6
4111 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4112 echo "configure:4113: checking "for --enable-gauge"" >&5
4114 # Check whether --enable-gauge or --disable-gauge was given.
4115 if test "${enable_gauge+set}" = set; then
4116 enableval
="$enable_gauge"
4118 if test "$enableval" = yes; then
4119 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4121 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4126 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4127 if test "x$LINE" != x
; then
4128 eval "DEFAULT_$LINE"
4133 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4138 eval "$ac_cv_use_gauge"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4143 if test "$wxUSE_GAUGE" = yes; then
4144 echo "$ac_t""yes" 1>&6
4146 echo "$ac_t""no" 1>&6
4150 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4151 echo "configure:4152: checking "for --enable-grid"" >&5
4153 # Check whether --enable-grid or --disable-grid was given.
4154 if test "${enable_grid+set}" = set; then
4155 enableval
="$enable_grid"
4157 if test "$enableval" = yes; then
4158 ac_cv_use_grid
='wxUSE_GRID=yes'
4160 ac_cv_use_grid
='wxUSE_GRID=no'
4165 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4166 if test "x$LINE" != x
; then
4167 eval "DEFAULT_$LINE"
4172 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4177 eval "$ac_cv_use_grid"
4178 if test "$no_cache" != 1; then
4179 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4182 if test "$wxUSE_GRID" = yes; then
4183 echo "$ac_t""yes" 1>&6
4185 echo "$ac_t""no" 1>&6
4189 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4190 echo "configure:4191: checking "for --enable-imaglist"" >&5
4192 # Check whether --enable-imaglist or --disable-imaglist was given.
4193 if test "${enable_imaglist+set}" = set; then
4194 enableval
="$enable_imaglist"
4196 if test "$enableval" = yes; then
4197 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4199 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4204 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4205 if test "x$LINE" != x
; then
4206 eval "DEFAULT_$LINE"
4211 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4216 eval "$ac_cv_use_imaglist"
4217 if test "$no_cache" != 1; then
4218 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4221 if test "$wxUSE_IMAGLIST" = yes; then
4222 echo "$ac_t""yes" 1>&6
4224 echo "$ac_t""no" 1>&6
4228 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4229 echo "configure:4230: checking "for --enable-listbox"" >&5
4231 # Check whether --enable-listbox or --disable-listbox was given.
4232 if test "${enable_listbox+set}" = set; then
4233 enableval
="$enable_listbox"
4235 if test "$enableval" = yes; then
4236 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4238 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4243 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4244 if test "x$LINE" != x
; then
4245 eval "DEFAULT_$LINE"
4250 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4255 eval "$ac_cv_use_listbox"
4256 if test "$no_cache" != 1; then
4257 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4260 if test "$wxUSE_LISTBOX" = yes; then
4261 echo "$ac_t""yes" 1>&6
4263 echo "$ac_t""no" 1>&6
4267 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4268 echo "configure:4269: checking "for --enable-listctrl"" >&5
4270 # Check whether --enable-listctrl or --disable-listctrl was given.
4271 if test "${enable_listctrl+set}" = set; then
4272 enableval
="$enable_listctrl"
4274 if test "$enableval" = yes; then
4275 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4277 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4282 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4283 if test "x$LINE" != x
; then
4284 eval "DEFAULT_$LINE"
4289 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4294 eval "$ac_cv_use_listctrl"
4295 if test "$no_cache" != 1; then
4296 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4299 if test "$wxUSE_LISTCTRL" = yes; then
4300 echo "$ac_t""yes" 1>&6
4302 echo "$ac_t""no" 1>&6
4306 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4307 echo "configure:4308: checking "for --enable-notebook"" >&5
4309 # Check whether --enable-notebook or --disable-notebook was given.
4310 if test "${enable_notebook+set}" = set; then
4311 enableval
="$enable_notebook"
4313 if test "$enableval" = yes; then
4314 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4316 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4321 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4322 if test "x$LINE" != x
; then
4323 eval "DEFAULT_$LINE"
4328 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4333 eval "$ac_cv_use_notebook"
4334 if test "$no_cache" != 1; then
4335 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4338 if test "$wxUSE_NOTEBOOK" = yes; then
4339 echo "$ac_t""yes" 1>&6
4341 echo "$ac_t""no" 1>&6
4345 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4346 echo "configure:4347: checking "for --enable-radiobox"" >&5
4348 # Check whether --enable-radiobox or --disable-radiobox was given.
4349 if test "${enable_radiobox+set}" = set; then
4350 enableval
="$enable_radiobox"
4352 if test "$enableval" = yes; then
4353 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4355 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4360 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4361 if test "x$LINE" != x
; then
4362 eval "DEFAULT_$LINE"
4367 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4372 eval "$ac_cv_use_radiobox"
4373 if test "$no_cache" != 1; then
4374 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4377 if test "$wxUSE_RADIOBOX" = yes; then
4378 echo "$ac_t""yes" 1>&6
4380 echo "$ac_t""no" 1>&6
4384 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4385 echo "configure:4386: checking "for --enable-radiobtn"" >&5
4387 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4388 if test "${enable_radiobtn+set}" = set; then
4389 enableval
="$enable_radiobtn"
4391 if test "$enableval" = yes; then
4392 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4394 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4399 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4400 if test "x$LINE" != x
; then
4401 eval "DEFAULT_$LINE"
4406 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4411 eval "$ac_cv_use_radiobtn"
4412 if test "$no_cache" != 1; then
4413 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4416 if test "$wxUSE_RADIOBTN" = yes; then
4417 echo "$ac_t""yes" 1>&6
4419 echo "$ac_t""no" 1>&6
4423 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4424 echo "configure:4425: checking "for --enable-sash"" >&5
4426 # Check whether --enable-sash or --disable-sash was given.
4427 if test "${enable_sash+set}" = set; then
4428 enableval
="$enable_sash"
4430 if test "$enableval" = yes; then
4431 ac_cv_use_sash
='wxUSE_SASH=yes'
4433 ac_cv_use_sash
='wxUSE_SASH=no'
4438 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4439 if test "x$LINE" != x
; then
4440 eval "DEFAULT_$LINE"
4445 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4450 eval "$ac_cv_use_sash"
4451 if test "$no_cache" != 1; then
4452 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4455 if test "$wxUSE_SASH" = yes; then
4456 echo "$ac_t""yes" 1>&6
4458 echo "$ac_t""no" 1>&6
4462 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4463 echo "configure:4464: checking "for --enable-scrollbar"" >&5
4465 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4466 if test "${enable_scrollbar+set}" = set; then
4467 enableval
="$enable_scrollbar"
4469 if test "$enableval" = yes; then
4470 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4472 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4477 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4478 if test "x$LINE" != x
; then
4479 eval "DEFAULT_$LINE"
4484 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4489 eval "$ac_cv_use_scrollbar"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4494 if test "$wxUSE_SCROLLBAR" = yes; then
4495 echo "$ac_t""yes" 1>&6
4497 echo "$ac_t""no" 1>&6
4501 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4502 echo "configure:4503: checking "for --enable-slider"" >&5
4504 # Check whether --enable-slider or --disable-slider was given.
4505 if test "${enable_slider+set}" = set; then
4506 enableval
="$enable_slider"
4508 if test "$enableval" = yes; then
4509 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4511 ac_cv_use_slider
='wxUSE_SLIDER=no'
4516 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4517 if test "x$LINE" != x
; then
4518 eval "DEFAULT_$LINE"
4523 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4528 eval "$ac_cv_use_slider"
4529 if test "$no_cache" != 1; then
4530 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4533 if test "$wxUSE_SLIDER" = yes; then
4534 echo "$ac_t""yes" 1>&6
4536 echo "$ac_t""no" 1>&6
4540 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4541 echo "configure:4542: checking "for --enable-spinbtn"" >&5
4543 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4544 if test "${enable_spinbtn+set}" = set; then
4545 enableval
="$enable_spinbtn"
4547 if test "$enableval" = yes; then
4548 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4550 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4555 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4556 if test "x$LINE" != x
; then
4557 eval "DEFAULT_$LINE"
4562 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4567 eval "$ac_cv_use_spinbtn"
4568 if test "$no_cache" != 1; then
4569 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4572 if test "$wxUSE_SPINBTN" = yes; then
4573 echo "$ac_t""yes" 1>&6
4575 echo "$ac_t""no" 1>&6
4579 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4580 echo "configure:4581: checking "for --enable-splitter"" >&5
4582 # Check whether --enable-splitter or --disable-splitter was given.
4583 if test "${enable_splitter+set}" = set; then
4584 enableval
="$enable_splitter"
4586 if test "$enableval" = yes; then
4587 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4589 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4594 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4595 if test "x$LINE" != x
; then
4596 eval "DEFAULT_$LINE"
4601 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4606 eval "$ac_cv_use_splitter"
4607 if test "$no_cache" != 1; then
4608 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4611 if test "$wxUSE_SPLITTER" = yes; then
4612 echo "$ac_t""yes" 1>&6
4614 echo "$ac_t""no" 1>&6
4618 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4619 echo "configure:4620: checking "for --enable-statbmp"" >&5
4621 # Check whether --enable-statbmp or --disable-statbmp was given.
4622 if test "${enable_statbmp+set}" = set; then
4623 enableval
="$enable_statbmp"
4625 if test "$enableval" = yes; then
4626 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4628 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4633 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4634 if test "x$LINE" != x
; then
4635 eval "DEFAULT_$LINE"
4640 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4645 eval "$ac_cv_use_statbmp"
4646 if test "$no_cache" != 1; then
4647 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4650 if test "$wxUSE_STATBMP" = yes; then
4651 echo "$ac_t""yes" 1>&6
4653 echo "$ac_t""no" 1>&6
4657 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4658 echo "configure:4659: checking "for --enable-statbox"" >&5
4660 # Check whether --enable-statbox or --disable-statbox was given.
4661 if test "${enable_statbox+set}" = set; then
4662 enableval
="$enable_statbox"
4664 if test "$enableval" = yes; then
4665 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4667 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4672 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4673 if test "x$LINE" != x
; then
4674 eval "DEFAULT_$LINE"
4679 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4684 eval "$ac_cv_use_statbox"
4685 if test "$no_cache" != 1; then
4686 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4689 if test "$wxUSE_STATBOX" = yes; then
4690 echo "$ac_t""yes" 1>&6
4692 echo "$ac_t""no" 1>&6
4696 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4697 echo "configure:4698: checking "for --enable-statline"" >&5
4699 # Check whether --enable-statline or --disable-statline was given.
4700 if test "${enable_statline+set}" = set; then
4701 enableval
="$enable_statline"
4703 if test "$enableval" = yes; then
4704 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4706 ac_cv_use_statline
='wxUSE_STATLINE=no'
4711 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4712 if test "x$LINE" != x
; then
4713 eval "DEFAULT_$LINE"
4718 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4723 eval "$ac_cv_use_statline"
4724 if test "$no_cache" != 1; then
4725 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4728 if test "$wxUSE_STATLINE" = yes; then
4729 echo "$ac_t""yes" 1>&6
4731 echo "$ac_t""no" 1>&6
4735 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4736 echo "configure:4737: checking "for --enable-statusbar"" >&5
4738 # Check whether --enable-statusbar or --disable-statusbar was given.
4739 if test "${enable_statusbar+set}" = set; then
4740 enableval
="$enable_statusbar"
4742 if test "$enableval" = yes; then
4743 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4745 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4750 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x
; then
4752 eval "DEFAULT_$LINE"
4757 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4762 eval "$ac_cv_use_statusbar"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4767 if test "$wxUSE_STATUSBAR" = yes; then
4768 echo "$ac_t""yes" 1>&6
4770 echo "$ac_t""no" 1>&6
4774 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4775 echo "configure:4776: checking "for --enable-tabdialog"" >&5
4777 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4778 if test "${enable_tabdialog+set}" = set; then
4779 enableval
="$enable_tabdialog"
4781 if test "$enableval" = yes; then
4782 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4784 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4789 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4790 if test "x$LINE" != x
; then
4791 eval "DEFAULT_$LINE"
4796 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4801 eval "$ac_cv_use_tabdialog"
4802 if test "$no_cache" != 1; then
4803 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4806 if test "$wxUSE_TABDIALOG" = yes; then
4807 echo "$ac_t""yes" 1>&6
4809 echo "$ac_t""no" 1>&6
4813 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4814 echo "configure:4815: checking "for --enable-toolbar"" >&5
4816 # Check whether --enable-toolbar or --disable-toolbar was given.
4817 if test "${enable_toolbar+set}" = set; then
4818 enableval
="$enable_toolbar"
4820 if test "$enableval" = yes; then
4821 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4823 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4828 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4829 if test "x$LINE" != x
; then
4830 eval "DEFAULT_$LINE"
4835 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4840 eval "$ac_cv_use_toolbar"
4841 if test "$no_cache" != 1; then
4842 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4845 if test "$wxUSE_TOOLBAR" = yes; then
4846 echo "$ac_t""yes" 1>&6
4848 echo "$ac_t""no" 1>&6
4852 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4853 echo "configure:4854: checking "for --enable-treectrl"" >&5
4855 # Check whether --enable-treectrl or --disable-treectrl was given.
4856 if test "${enable_treectrl+set}" = set; then
4857 enableval
="$enable_treectrl"
4859 if test "$enableval" = yes; then
4860 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
4862 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
4867 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
4868 if test "x$LINE" != x
; then
4869 eval "DEFAULT_$LINE"
4874 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
4879 eval "$ac_cv_use_treectrl"
4880 if test "$no_cache" != 1; then
4881 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
4884 if test "$wxUSE_TREECTRL" = yes; then
4885 echo "$ac_t""yes" 1>&6
4887 echo "$ac_t""no" 1>&6
4893 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
4894 echo "configure:4895: checking "for --enable-commondlg"" >&5
4896 # Check whether --enable-commondlg or --disable-commondlg was given.
4897 if test "${enable_commondlg+set}" = set; then
4898 enableval
="$enable_commondlg"
4900 if test "$enableval" = yes; then
4901 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
4903 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
4908 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
4909 if test "x$LINE" != x
; then
4910 eval "DEFAULT_$LINE"
4915 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
4920 eval "$ac_cv_use_commondlg"
4921 if test "$no_cache" != 1; then
4922 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
4925 if test "$wxUSE_COMMONDLGS" = yes; then
4926 echo "$ac_t""yes" 1>&6
4928 echo "$ac_t""no" 1>&6
4932 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
4933 echo "configure:4934: checking "for --enable-dirdlg"" >&5
4935 # Check whether --enable-dirdlg or --disable-dirdlg was given.
4936 if test "${enable_dirdlg+set}" = set; then
4937 enableval
="$enable_dirdlg"
4939 if test "$enableval" = yes; then
4940 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
4942 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
4947 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
4948 if test "x$LINE" != x
; then
4949 eval "DEFAULT_$LINE"
4954 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
4959 eval "$ac_cv_use_dirdlg"
4960 if test "$no_cache" != 1; then
4961 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
4964 if test "$wxUSE_DIRDLG" = yes; then
4965 echo "$ac_t""yes" 1>&6
4967 echo "$ac_t""no" 1>&6
4971 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
4972 echo "configure:4973: checking "for --enable-textdlg"" >&5
4974 # Check whether --enable-textdlg or --disable-textdlg was given.
4975 if test "${enable_textdlg+set}" = set; then
4976 enableval
="$enable_textdlg"
4978 if test "$enableval" = yes; then
4979 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
4981 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
4986 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
4987 if test "x$LINE" != x
; then
4988 eval "DEFAULT_$LINE"
4993 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
4998 eval "$ac_cv_use_textdlg"
4999 if test "$no_cache" != 1; then
5000 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5003 if test "$wxUSE_TEXTDLG" = yes; then
5004 echo "$ac_t""yes" 1>&6
5006 echo "$ac_t""no" 1>&6
5010 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5011 echo "configure:5012: checking "for --enable-tipdlg"" >&5
5013 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5014 if test "${enable_tipdlg+set}" = set; then
5015 enableval
="$enable_tipdlg"
5017 if test "$enableval" = yes; then
5018 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5020 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5025 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5026 if test "x$LINE" != x
; then
5027 eval "DEFAULT_$LINE"
5032 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5037 eval "$ac_cv_use_tipdlg"
5038 if test "$no_cache" != 1; then
5039 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5042 if test "$wxUSE_STARTUP_TIPS" = yes; then
5043 echo "$ac_t""yes" 1>&6
5045 echo "$ac_t""no" 1>&6
5049 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5050 echo "configure:5051: checking "for --enable-progressdlg"" >&5
5052 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5053 if test "${enable_progressdlg+set}" = set; then
5054 enableval
="$enable_progressdlg"
5056 if test "$enableval" = yes; then
5057 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5059 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5064 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5065 if test "x$LINE" != x
; then
5066 eval "DEFAULT_$LINE"
5071 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5076 eval "$ac_cv_use_progressdlg"
5077 if test "$no_cache" != 1; then
5078 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5081 if test "$wxUSE_PROGRESSDLG" = yes; then
5082 echo "$ac_t""yes" 1>&6
5084 echo "$ac_t""no" 1>&6
5088 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5089 echo "configure:5090: checking "for --enable-miniframe"" >&5
5091 # Check whether --enable-miniframe or --disable-miniframe was given.
5092 if test "${enable_miniframe+set}" = set; then
5093 enableval
="$enable_miniframe"
5095 if test "$enableval" = yes; then
5096 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5098 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5103 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5104 if test "x$LINE" != x
; then
5105 eval "DEFAULT_$LINE"
5110 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5115 eval "$ac_cv_use_miniframe"
5116 if test "$no_cache" != 1; then
5117 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5120 if test "$wxUSE_MINIFRAME" = yes; then
5121 echo "$ac_t""yes" 1>&6
5123 echo "$ac_t""no" 1>&6
5127 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5128 echo "configure:5129: checking "for --enable-html"" >&5
5130 # Check whether --enable-html or --disable-html was given.
5131 if test "${enable_html+set}" = set; then
5132 enableval
="$enable_html"
5134 if test "$enableval" = yes; then
5135 ac_cv_use_html
='wxUSE_HTML=yes'
5137 ac_cv_use_html
='wxUSE_HTML=no'
5142 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5143 if test "x$LINE" != x
; then
5144 eval "DEFAULT_$LINE"
5149 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5154 eval "$ac_cv_use_html"
5155 if test "$no_cache" != 1; then
5156 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5159 if test "$wxUSE_HTML" = yes; then
5160 echo "$ac_t""yes" 1>&6
5162 echo "$ac_t""no" 1>&6
5166 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5167 echo "configure:5168: checking "for --enable-tooltips"" >&5
5169 # Check whether --enable-tooltips or --disable-tooltips was given.
5170 if test "${enable_tooltips+set}" = set; then
5171 enableval
="$enable_tooltips"
5173 if test "$enableval" = yes; then
5174 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5176 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5181 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5182 if test "x$LINE" != x
; then
5183 eval "DEFAULT_$LINE"
5188 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5193 eval "$ac_cv_use_tooltips"
5194 if test "$no_cache" != 1; then
5195 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5198 if test "$wxUSE_TOOLTIPS" = yes; then
5199 echo "$ac_t""yes" 1>&6
5201 echo "$ac_t""no" 1>&6
5205 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5206 echo "configure:5207: checking "for --enable-splines"" >&5
5208 # Check whether --enable-splines or --disable-splines was given.
5209 if test "${enable_splines+set}" = set; then
5210 enableval
="$enable_splines"
5212 if test "$enableval" = yes; then
5213 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5215 ac_cv_use_splines
='wxUSE_SPLINES=no'
5220 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5221 if test "x$LINE" != x
; then
5222 eval "DEFAULT_$LINE"
5227 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5232 eval "$ac_cv_use_splines"
5233 if test "$no_cache" != 1; then
5234 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5237 if test "$wxUSE_SPLINES" = yes; then
5238 echo "$ac_t""yes" 1>&6
5240 echo "$ac_t""no" 1>&6
5244 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5245 echo "configure:5246: checking "for --enable-validators"" >&5
5247 # Check whether --enable-validators or --disable-validators was given.
5248 if test "${enable_validators+set}" = set; then
5249 enableval
="$enable_validators"
5251 if test "$enableval" = yes; then
5252 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5254 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5259 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5260 if test "x$LINE" != x
; then
5261 eval "DEFAULT_$LINE"
5266 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5271 eval "$ac_cv_use_validators"
5272 if test "$no_cache" != 1; then
5273 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5276 if test "$wxUSE_VALIDATORS" = yes; then
5277 echo "$ac_t""yes" 1>&6
5279 echo "$ac_t""no" 1>&6
5283 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5284 echo "configure:5285: checking "for --enable-busyinfo"" >&5
5286 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5287 if test "${enable_busyinfo+set}" = set; then
5288 enableval
="$enable_busyinfo"
5290 if test "$enableval" = yes; then
5291 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5293 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5298 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5299 if test "x$LINE" != x
; then
5300 eval "DEFAULT_$LINE"
5305 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5310 eval "$ac_cv_use_busyinfo"
5311 if test "$no_cache" != 1; then
5312 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5315 if test "$wxUSE_BUSYINFO" = yes; then
5316 echo "$ac_t""yes" 1>&6
5318 echo "$ac_t""no" 1>&6
5323 echo "saving argument cache $wx_arg_cache_file"
5324 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5328 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5329 echo "configure:5330: checking for toolkit" >&5
5331 if test "$TOOLKIT_GIVEN" = 1; then
5332 for toolkit
in `echo $ALL_TOOLKITS`; do
5334 eval "value=\$${var}"
5335 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5338 for toolkit
in `echo $ALL_TOOLKITS`; do
5339 if test "$has_toolkit_in_cache" != 1; then
5340 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5342 var
=DEFAULT_wxUSE_
$toolkit
5344 eval "wxUSE_$toolkit=\$${var}"
5348 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5350 case "$NUM_TOOLKITS" in
5354 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5357 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5360 for toolkit
in `echo $ALL_TOOLKITS`; do
5362 eval "value=\$${var}"
5363 if test "x$value" != x
; then
5364 cache_var
=CACHE_
$toolkit
5365 eval "cache=\$${cache_var}"
5366 if test "$cache" = 1; then
5367 echo "$var=$value" >> ${wx_arg_cache_file}
5369 if test "$value" = 1; then
5370 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5376 cat > confcache
<<\EOF
5377 # This file is a shell script that caches the results of configure
5378 # tests run on this system so they can be shared between configure
5379 # scripts and configure runs. It is not useful on other systems.
5380 # If it contains results you don't want to keep, you may remove or edit it.
5382 # By default, configure uses ./config.cache as the cache file,
5383 # creating it if it does not exist already. You can give configure
5384 # the --cache-file=FILE option to use a different cache file; that is
5385 # what configure does when it calls configure scripts in
5386 # subdirectories, so they share the cache.
5387 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5388 # config.status only pays attention to the cache file if you give it the
5389 # --recheck option to rerun configure.
5392 # The following way of writing the cache mishandles newlines in values,
5393 # but we know of no workaround that is simple, portable, and efficient.
5394 # So, don't put newlines in cache variables' values.
5395 # Ultrix sh set writes to stderr and can't be redirected directly,
5396 # and sets the high bit in the cache file unless we assign to the vars.
5398 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5400 # `set' does not quote correctly, so add quotes (double-quote substitution
5401 # turns \\\\ into \\, and sed turns \\ into \).
5403 -e "s/'/'\\\\''/g" \
5404 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5407 # `set' quotes correctly as required by POSIX, so do not add quotes.
5408 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5411 if cmp -s $cache_file confcache
; then
5414 if test -w $cache_file; then
5415 echo "updating cache $cache_file"
5416 cat confcache
> $cache_file
5418 echo "not updating unwritable cache $cache_file"
5424 if eval "test $host != $build"; then
5425 if eval "test $host_alias != NONE"; then
5429 RANLIB
=$host_alias-ranlib
5430 DLLTOOL
=$host_alias-dlltool
5433 STRIP
=$host_alias-strip
5437 # Extract the first word of "gcc", so it can be a program name with args.
5438 set dummy gcc
; ac_word
=$2
5439 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5440 echo "configure:5441: checking for $ac_word" >&5
5441 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5442 echo $ac_n "(cached) $ac_c" 1>&6
5444 if test -n "$CC"; then
5445 ac_cv_prog_CC
="$CC" # Let the user override the test.
5447 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5449 for ac_dir
in $ac_dummy; do
5450 test -z "$ac_dir" && ac_dir
=.
5451 if test -f $ac_dir/$ac_word; then
5460 if test -n "$CC"; then
5461 echo "$ac_t""$CC" 1>&6
5463 echo "$ac_t""no" 1>&6
5466 if test -z "$CC"; then
5467 # Extract the first word of "cc", so it can be a program name with args.
5468 set dummy cc
; ac_word
=$2
5469 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5470 echo "configure:5471: checking for $ac_word" >&5
5471 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5472 echo $ac_n "(cached) $ac_c" 1>&6
5474 if test -n "$CC"; then
5475 ac_cv_prog_CC
="$CC" # Let the user override the test.
5477 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5480 for ac_dir
in $ac_dummy; do
5481 test -z "$ac_dir" && ac_dir
=.
5482 if test -f $ac_dir/$ac_word; then
5483 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5484 ac_prog_rejected
=yes
5492 if test $ac_prog_rejected = yes; then
5493 # We found a bogon in the path, so make sure we never use it.
5494 set dummy
$ac_cv_prog_CC
5496 if test $# -gt 0; then
5497 # We chose a different compiler from the bogus one.
5498 # However, it has the same basename, so the bogon will be chosen
5499 # first if we set CC to just the basename; use the full file name.
5501 set dummy
"$ac_dir/$ac_word" "$@"
5509 if test -n "$CC"; then
5510 echo "$ac_t""$CC" 1>&6
5512 echo "$ac_t""no" 1>&6
5515 if test -z "$CC"; then
5516 case "`uname -s`" in
5518 # Extract the first word of "cl", so it can be a program name with args.
5519 set dummy cl
; ac_word
=$2
5520 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5521 echo "configure:5522: checking for $ac_word" >&5
5522 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5523 echo $ac_n "(cached) $ac_c" 1>&6
5525 if test -n "$CC"; then
5526 ac_cv_prog_CC
="$CC" # Let the user override the test.
5528 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5530 for ac_dir
in $ac_dummy; do
5531 test -z "$ac_dir" && ac_dir
=.
5532 if test -f $ac_dir/$ac_word; then
5541 if test -n "$CC"; then
5542 echo "$ac_t""$CC" 1>&6
5544 echo "$ac_t""no" 1>&6
5549 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5552 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5553 echo "configure:5554: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5556 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5557 ac_cpp
='$CPP $CPPFLAGS'
5558 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5559 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5560 cross_compiling
=$ac_cv_prog_cc_cross
5562 cat > conftest.
$ac_ext << EOF
5564 #line 5565 "configure"
5565 #include "confdefs.h"
5569 if { (eval echo configure
:5570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5570 ac_cv_prog_cc_works
=yes
5571 # If we can't run a trivial program, we are probably using a cross compiler.
5572 if (.
/conftest
; exit) 2>/dev
/null
; then
5573 ac_cv_prog_cc_cross
=no
5575 ac_cv_prog_cc_cross
=yes
5578 echo "configure: failed program was:" >&5
5579 cat conftest.
$ac_ext >&5
5580 ac_cv_prog_cc_works
=no
5584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5585 ac_cpp
='$CPP $CPPFLAGS'
5586 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5587 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5588 cross_compiling
=$ac_cv_prog_cc_cross
5590 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5591 if test $ac_cv_prog_cc_works = no
; then
5592 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5594 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5595 echo "configure:5596: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5596 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5597 cross_compiling
=$ac_cv_prog_cc_cross
5599 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5600 echo "configure:5601: checking whether we are using GNU C" >&5
5601 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5602 echo $ac_n "(cached) $ac_c" 1>&6
5604 cat > conftest.c
<<EOF
5609 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5610: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5616 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5618 if test $ac_cv_prog_gcc = yes; then
5624 ac_test_CFLAGS
="${CFLAGS+set}"
5625 ac_save_CFLAGS
="$CFLAGS"
5627 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5628 echo "configure:5629: checking whether ${CC-cc} accepts -g" >&5
5629 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5630 echo $ac_n "(cached) $ac_c" 1>&6
5632 echo 'void f(){}' > conftest.c
5633 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5642 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5643 if test "$ac_test_CFLAGS" = set; then
5644 CFLAGS
="$ac_save_CFLAGS"
5645 elif test $ac_cv_prog_cc_g = yes; then
5646 if test "$GCC" = yes; then
5652 if test "$GCC" = yes; then
5660 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5662 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5663 echo "configure:5664: checking how to run the C preprocessor" >&5
5664 # On Suns, sometimes $CPP names a directory.
5665 if test -n "$CPP" && test -d "$CPP"; then
5668 if test -z "$CPP"; then
5669 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5670 echo $ac_n "(cached) $ac_c" 1>&6
5672 # This must be in double quotes, not single quotes, because CPP may get
5673 # substituted into the Makefile and "${CC-cc}" will confuse make.
5675 # On the NeXT, cc -E runs the code through the compiler's parser,
5676 # not just through cpp.
5677 cat > conftest.
$ac_ext <<EOF
5678 #line 5679 "configure"
5679 #include "confdefs.h"
5683 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5684 { (eval echo configure
:5685: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5685 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5686 if test -z "$ac_err"; then
5690 echo "configure: failed program was:" >&5
5691 cat conftest.
$ac_ext >&5
5693 CPP
="${CC-cc} -E -traditional-cpp"
5694 cat > conftest.
$ac_ext <<EOF
5695 #line 5696 "configure"
5696 #include "confdefs.h"
5700 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5701 { (eval echo configure
:5702: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5702 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5703 if test -z "$ac_err"; then
5707 echo "configure: failed program was:" >&5
5708 cat conftest.
$ac_ext >&5
5710 CPP
="${CC-cc} -nologo -E"
5711 cat > conftest.
$ac_ext <<EOF
5712 #line 5713 "configure"
5713 #include "confdefs.h"
5717 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5718 { (eval echo configure
:5719: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5719 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5720 if test -z "$ac_err"; then
5724 echo "configure: failed program was:" >&5
5725 cat conftest.
$ac_ext >&5
5734 ac_cv_prog_CPP
="$CPP"
5736 CPP
="$ac_cv_prog_CPP"
5738 ac_cv_prog_CPP
="$CPP"
5740 echo "$ac_t""$CPP" 1>&6
5743 if test $ac_cv_prog_gcc = yes; then
5744 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
5745 echo "configure:5746: checking whether ${CC-cc} needs -traditional" >&5
5746 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
5747 echo $ac_n "(cached) $ac_c" 1>&6
5749 ac_pattern
="Autoconf.*'x'"
5750 cat > conftest.
$ac_ext <<EOF
5751 #line 5752 "configure"
5752 #include "confdefs.h"
5756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5757 egrep "$ac_pattern" >/dev
/null
2>&1; then
5759 ac_cv_prog_gcc_traditional
=yes
5762 ac_cv_prog_gcc_traditional
=no
5767 if test $ac_cv_prog_gcc_traditional = no
; then
5768 cat > conftest.
$ac_ext <<EOF
5769 #line 5770 "configure"
5770 #include "confdefs.h"
5774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5775 egrep "$ac_pattern" >/dev
/null
2>&1; then
5777 ac_cv_prog_gcc_traditional
=yes
5784 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
5785 if test $ac_cv_prog_gcc_traditional = yes; then
5786 CC
="$CC -traditional"
5793 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5794 ac_cpp
='$CXXCPP $CPPFLAGS'
5795 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5796 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5797 cross_compiling
=$ac_cv_prog_cxx_cross
5800 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
5802 # Extract the first word of "$ac_prog", so it can be a program name with args.
5803 set dummy
$ac_prog; ac_word
=$2
5804 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5805 echo "configure:5806: checking for $ac_word" >&5
5806 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
5807 echo $ac_n "(cached) $ac_c" 1>&6
5809 if test -n "$CXX"; then
5810 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5812 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5814 for ac_dir
in $ac_dummy; do
5815 test -z "$ac_dir" && ac_dir
=.
5816 if test -f $ac_dir/$ac_word; then
5817 ac_cv_prog_CXX
="$ac_prog"
5824 CXX
="$ac_cv_prog_CXX"
5825 if test -n "$CXX"; then
5826 echo "$ac_t""$CXX" 1>&6
5828 echo "$ac_t""no" 1>&6
5831 test -n "$CXX" && break
5833 test -n "$CXX" || CXX
="gcc"
5836 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5837 echo "configure:5838: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
5840 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5841 ac_cpp
='$CXXCPP $CPPFLAGS'
5842 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5843 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5844 cross_compiling
=$ac_cv_prog_cxx_cross
5846 cat > conftest.
$ac_ext << EOF
5848 #line 5849 "configure"
5849 #include "confdefs.h"
5851 int main(){return(0);}
5853 if { (eval echo configure
:5854: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5854 ac_cv_prog_cxx_works
=yes
5855 # If we can't run a trivial program, we are probably using a cross compiler.
5856 if (.
/conftest
; exit) 2>/dev
/null
; then
5857 ac_cv_prog_cxx_cross
=no
5859 ac_cv_prog_cxx_cross
=yes
5862 echo "configure: failed program was:" >&5
5863 cat conftest.
$ac_ext >&5
5864 ac_cv_prog_cxx_works
=no
5868 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5869 ac_cpp
='$CXXCPP $CPPFLAGS'
5870 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5871 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5872 cross_compiling
=$ac_cv_prog_cxx_cross
5874 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
5875 if test $ac_cv_prog_cxx_works = no
; then
5876 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
5878 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5879 echo "configure:5880: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
5880 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
5881 cross_compiling
=$ac_cv_prog_cxx_cross
5883 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
5884 echo "configure:5885: checking whether we are using GNU C++" >&5
5885 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
5886 echo $ac_n "(cached) $ac_c" 1>&6
5888 cat > conftest.C
<<EOF
5893 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:5894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5900 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
5902 if test $ac_cv_prog_gxx = yes; then
5908 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
5909 ac_save_CXXFLAGS
="$CXXFLAGS"
5911 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
5912 echo "configure:5913: checking whether ${CXX-g++} accepts -g" >&5
5913 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
5914 echo $ac_n "(cached) $ac_c" 1>&6
5916 echo 'void f(){}' > conftest.cc
5917 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
5918 ac_cv_prog_cxx_g
=yes
5926 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
5927 if test "$ac_test_CXXFLAGS" = set; then
5928 CXXFLAGS
="$ac_save_CXXFLAGS"
5929 elif test $ac_cv_prog_cxx_g = yes; then
5930 if test "$GXX" = yes; then
5936 if test "$GXX" = yes; then
5944 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
5945 echo "configure:5946: checking how to run the C++ preprocessor" >&5
5946 if test -z "$CXXCPP"; then
5947 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
5948 echo $ac_n "(cached) $ac_c" 1>&6
5951 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5952 ac_cpp
='$CXXCPP $CPPFLAGS'
5953 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5954 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5955 cross_compiling
=$ac_cv_prog_cxx_cross
5956 CXXCPP
="${CXX-g++} -E"
5957 cat > conftest.
$ac_ext <<EOF
5958 #line 5959 "configure"
5959 #include "confdefs.h"
5962 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5963 { (eval echo configure
:5964: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5964 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5965 if test -z "$ac_err"; then
5969 echo "configure: failed program was:" >&5
5970 cat conftest.
$ac_ext >&5
5975 ac_cv_prog_CXXCPP
="$CXXCPP"
5977 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5978 ac_cpp
='$CXXCPP $CPPFLAGS'
5979 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5980 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5981 cross_compiling
=$ac_cv_prog_cxx_cross
5984 CXXCPP
="$ac_cv_prog_CXXCPP"
5985 echo "$ac_t""$CXXCPP" 1>&6
5988 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
5991 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5992 ac_cpp
='$CPP $CPPFLAGS'
5993 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5994 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5995 cross_compiling
=$ac_cv_prog_cc_cross
5998 # Extract the first word of "ranlib", so it can be a program name with args.
5999 set dummy ranlib
; ac_word
=$2
6000 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6001 echo "configure:6002: checking for $ac_word" >&5
6002 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6003 echo $ac_n "(cached) $ac_c" 1>&6
6005 if test -n "$RANLIB"; then
6006 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6008 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6010 for ac_dir
in $ac_dummy; do
6011 test -z "$ac_dir" && ac_dir
=.
6012 if test -f $ac_dir/$ac_word; then
6013 ac_cv_prog_RANLIB
="ranlib"
6018 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6021 RANLIB
="$ac_cv_prog_RANLIB"
6022 if test -n "$RANLIB"; then
6023 echo "$ac_t""$RANLIB" 1>&6
6025 echo "$ac_t""no" 1>&6
6029 # Extract the first word of "ar", so it can be a program name with args.
6030 set dummy
ar; ac_word
=$2
6031 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6032 echo "configure:6033: checking for $ac_word" >&5
6033 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6034 echo $ac_n "(cached) $ac_c" 1>&6
6036 if test -n "$AR"; then
6037 ac_cv_prog_AR
="$AR" # Let the user override the test.
6039 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6041 for ac_dir
in $ac_dummy; do
6042 test -z "$ac_dir" && ac_dir
=.
6043 if test -f $ac_dir/$ac_word; then
6049 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6053 if test -n "$AR"; then
6054 echo "$ac_t""$AR" 1>&6
6056 echo "$ac_t""no" 1>&6
6060 # Find a good install program. We prefer a C program (faster),
6061 # so one script is as good as another. But avoid the broken or
6062 # incompatible versions:
6063 # SysV /etc/install, /usr/sbin/install
6064 # SunOS /usr/etc/install
6065 # IRIX /sbin/install
6067 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6068 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6069 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6070 # ./install, which can be erroneously created by make from ./install.sh.
6071 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6072 echo "configure:6073: checking for a BSD compatible install" >&5
6073 if test -z "$INSTALL"; then
6074 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6075 echo $ac_n "(cached) $ac_c" 1>&6
6077 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6078 for ac_dir
in $PATH; do
6079 # Account for people who put trailing slashes in PATH elements.
6081 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6083 # OSF1 and SCO ODT 3.0 have their own names for install.
6084 # Don't use installbsd from OSF since it installs stuff as root
6086 for ac_prog
in ginstall scoinst
install; do
6087 if test -f $ac_dir/$ac_prog; then
6088 if test $ac_prog = install &&
6089 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6090 # AIX install. It has an incompatible calling convention.
6093 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6104 if test "${ac_cv_path_install+set}" = set; then
6105 INSTALL
="$ac_cv_path_install"
6107 # As a last resort, use the slow shell script. We don't cache a
6108 # path for INSTALL within a source directory, because that will
6109 # break other packages using the cache if that directory is
6110 # removed, or if the path is relative.
6111 INSTALL
="$ac_install_sh"
6114 echo "$ac_t""$INSTALL" 1>&6
6116 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6117 # It thinks the first close brace ends the variable substitution.
6118 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6120 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6122 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6125 # Extract the first word of "strip", so it can be a program name with args.
6126 set dummy strip
; ac_word
=$2
6127 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6128 echo "configure:6129: checking for $ac_word" >&5
6129 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6130 echo $ac_n "(cached) $ac_c" 1>&6
6132 if test -n "$STRIP"; then
6133 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6135 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6137 for ac_dir
in $ac_dummy; do
6138 test -z "$ac_dir" && ac_dir
=.
6139 if test -f $ac_dir/$ac_word; then
6140 ac_cv_prog_STRIP
="strip"
6145 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6148 STRIP
="$ac_cv_prog_STRIP"
6149 if test -n "$STRIP"; then
6150 echo "$ac_t""$STRIP" 1>&6
6152 echo "$ac_t""no" 1>&6
6156 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6157 echo "configure:6158: checking "make for VPATH support
"" >&5
6158 cat - << EOF > confMake
6164 if test ! -d sub
; then
6167 echo dummy
> sub
/file
6168 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6170 rm -f sub
/file check final_file confMake
6172 if test "$RESULT" = 0; then
6173 echo "$ac_t""yes" 1>&6
6175 echo "$ac_t""no" 1>&6
6176 { echo "configure: error: You need a make-utility that is able to use the variable
6178 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6181 for ac_prog
in 'bison -y' byacc
6183 # Extract the first word of "$ac_prog", so it can be a program name with args.
6184 set dummy
$ac_prog; ac_word
=$2
6185 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6186 echo "configure:6187: checking for $ac_word" >&5
6187 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6188 echo $ac_n "(cached) $ac_c" 1>&6
6190 if test -n "$YACC"; then
6191 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6193 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6195 for ac_dir
in $ac_dummy; do
6196 test -z "$ac_dir" && ac_dir
=.
6197 if test -f $ac_dir/$ac_word; then
6198 ac_cv_prog_YACC
="$ac_prog"
6205 YACC
="$ac_cv_prog_YACC"
6206 if test -n "$YACC"; then
6207 echo "$ac_t""$YACC" 1>&6
6209 echo "$ac_t""no" 1>&6
6212 test -n "$YACC" && break
6214 test -n "$YACC" || YACC
="yacc"
6217 # Extract the first word of "flex", so it can be a program name with args.
6218 set dummy flex
; ac_word
=$2
6219 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6220 echo "configure:6221: checking for $ac_word" >&5
6221 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6222 echo $ac_n "(cached) $ac_c" 1>&6
6224 if test -n "$LEX"; then
6225 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6227 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6229 for ac_dir
in $ac_dummy; do
6230 test -z "$ac_dir" && ac_dir
=.
6231 if test -f $ac_dir/$ac_word; then
6232 ac_cv_prog_LEX
="flex"
6237 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6240 LEX
="$ac_cv_prog_LEX"
6241 if test -n "$LEX"; then
6242 echo "$ac_t""$LEX" 1>&6
6244 echo "$ac_t""no" 1>&6
6247 if test -z "$LEXLIB"
6253 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6254 echo "configure:6255: checking for yywrap in -l$ac_lib" >&5
6255 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6256 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6257 echo $ac_n "(cached) $ac_c" 1>&6
6259 ac_save_LIBS
="$LIBS"
6260 LIBS
="-l$ac_lib $LIBS"
6261 cat > conftest.
$ac_ext <<EOF
6262 #line 6263 "configure"
6263 #include "confdefs.h"
6264 /* Override any gcc2 internal prototype to avoid an error. */
6265 /* We use char because int might match the return type of a gcc2
6266 builtin and then its argument prototype would still apply. */
6273 if { (eval echo configure
:6274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6275 eval "ac_cv_lib_$ac_lib_var=yes"
6277 echo "configure: failed program was:" >&5
6278 cat conftest.
$ac_ext >&5
6280 eval "ac_cv_lib_$ac_lib_var=no"
6283 LIBS
="$ac_save_LIBS"
6286 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6287 echo "$ac_t""yes" 1>&6
6290 echo "$ac_t""no" 1>&6
6296 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6297 echo "configure:6298: checking whether ln -s works" >&5
6298 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6299 echo $ac_n "(cached) $ac_c" 1>&6
6302 if ln -s X conftestdata
2>/dev
/null
6305 ac_cv_prog_LN_S
="ln -s"
6310 LN_S
="$ac_cv_prog_LN_S"
6311 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6312 echo "$ac_t""yes" 1>&6
6314 echo "$ac_t""no" 1>&6
6320 /usr/Motif-1.2/include \
6321 /usr/Motif-2.1/include \
6323 /usr/include/Motif1.2 \
6324 /opt/xpm/include/X11 \
6325 /opt/GBxpm/include/ \
6326 /opt/GBxpm/X11/include/ \
6328 /usr/Motif1.2/include \
6332 /usr/X11R6/include \
6333 /usr/X11R5/include \
6334 /usr/X11R4/include \
6340 /usr/include/X11R6 \
6341 /usr/include/X11R5 \
6342 /usr/include/X11R4 \
6344 /usr/local/X11R6/include \
6345 /usr/local/X11R5/include \
6346 /usr/local/X11R4/include \
6348 /usr/local/include/X11R6 \
6349 /usr/local/include/X11R5 \
6350 /usr/local/include/X11R4 \
6354 /usr/local/X11/include \
6355 /usr/local/include/X11 \
6359 /usr/XFree86/include/X11 \
6362 /usr/local/include \
6365 /usr/local/include/gtk \
6367 /usr/local/include/glib \
6370 /usr/local/include/qt \
6372 /usr/include/windows \
6374 /usr/local/include/wine \
6376 /usr/unsupported/include \
6377 /usr/athena/include \
6378 /usr/local/x11r5/include \
6379 /usr/lpp/Xamples/include \
6381 /usr/openwin/include \
6382 /usr/openwin/share/include \
6385 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6388 cat > confcache
<<\EOF
6389 # This file is a shell script that caches the results of configure
6390 # tests run on this system so they can be shared between configure
6391 # scripts and configure runs. It is not useful on other systems.
6392 # If it contains results you don't want to keep, you may remove or edit it.
6394 # By default, configure uses ./config.cache as the cache file,
6395 # creating it if it does not exist already. You can give configure
6396 # the --cache-file=FILE option to use a different cache file; that is
6397 # what configure does when it calls configure scripts in
6398 # subdirectories, so they share the cache.
6399 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6400 # config.status only pays attention to the cache file if you give it the
6401 # --recheck option to rerun configure.
6404 # The following way of writing the cache mishandles newlines in values,
6405 # but we know of no workaround that is simple, portable, and efficient.
6406 # So, don't put newlines in cache variables' values.
6407 # Ultrix sh set writes to stderr and can't be redirected directly,
6408 # and sets the high bit in the cache file unless we assign to the vars.
6410 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6412 # `set' does not quote correctly, so add quotes (double-quote substitution
6413 # turns \\\\ into \\, and sed turns \\ into \).
6415 -e "s/'/'\\\\''/g" \
6416 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6419 # `set' quotes correctly as required by POSIX, so do not add quotes.
6420 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6423 if cmp -s $cache_file confcache
; then
6426 if test -w $cache_file; then
6427 echo "updating cache $cache_file"
6428 cat confcache
> $cache_file
6430 echo "not updating unwritable cache $cache_file"
6453 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6454 if test "$cross_compiling" = "yes" ; then
6455 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6457 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6458 echo "configure:6459: checking for Windows headers" >&5
6461 for ac_dir
in $SEARCH_INCLUDE;
6463 if test -f "$ac_dir/windows.h"; then
6464 ac_find_includes
=$ac_dir
6469 if test "$ac_find_includes" != "" ; then
6470 echo "$ac_t""found $ac_find_includes" 1>&6
6471 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6473 echo "$ac_t""no" 1>&6
6474 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6478 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6479 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6484 GUIHEADERS
=MSW_HEADERS
6485 COMMONOBJS
=MSW_COMMONOBJS
6486 GENERICOBJS
=MSW_GENERICOBJS
6492 if test "$wxUSE_GTK" = 1; then
6494 if test x
$gtk_config_exec_prefix != x
; then
6495 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6496 if test x
${GTK_CONFIG+set} != xset
; then
6497 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6500 if test x
$gtk_config_prefix != x
; then
6501 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6502 if test x
${GTK_CONFIG+set} != xset
; then
6503 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6507 # Extract the first word of "gtk-config", so it can be a program name with args.
6508 set dummy gtk
-config; ac_word
=$2
6509 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6510 echo "configure:6511: checking for $ac_word" >&5
6511 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6512 echo $ac_n "(cached) $ac_c" 1>&6
6514 case "$GTK_CONFIG" in
6516 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6519 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6522 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6524 for ac_dir
in $ac_dummy; do
6525 test -z "$ac_dir" && ac_dir
=.
6526 if test -f $ac_dir/$ac_word; then
6527 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6532 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6536 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6537 if test -n "$GTK_CONFIG"; then
6538 echo "$ac_t""$GTK_CONFIG" 1>&6
6540 echo "$ac_t""no" 1>&6
6543 min_gtk_version
=1.2.0
6544 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6545 echo "configure:6546: checking for GTK - version >= $min_gtk_version" >&5
6547 if test "$GTK_CONFIG" != "no" ; then
6548 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6549 GTK_LIBS
=`$GTK_CONFIG --libs`
6550 ac_save_CFLAGS
="$CFLAGS"
6551 ac_save_LIBS
="$LIBS"
6552 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6553 LIBS
="$LIBS $GTK_LIBS"
6554 if test "$cross_compiling" = yes; then
6555 echo $ac_n "cross compiling; assumed OK... $ac_c"
6557 cat > conftest.
$ac_ext <<EOF
6558 #line 6559 "configure"
6559 #include "confdefs.h"
6561 #include <gtk/gtk.h>
6567 int major, minor, micro;
6569 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6570 printf("%s, bad version string\n", "$min_gtk_version");
6574 if (gtk_minor_version == 1) return FALSE;
6576 return !((gtk_major_version > major) ||
6577 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6578 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6582 if { (eval echo configure
:6583: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6586 echo "configure: failed program was:" >&5
6587 cat conftest.
$ac_ext >&5
6594 CFLAGS
="$ac_save_CFLAGS"
6595 LIBS
="$ac_save_LIBS"
6599 if test "x$no_gtk" = x
; then
6600 echo "$ac_t""yes" 1>&6
6603 echo "$ac_t""no" 1>&6
6611 if test "$WXGTK12" != 1; then
6613 if test x
$gtk_config_exec_prefix != x
; then
6614 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6615 if test x
${GTK_CONFIG+set} != xset
; then
6616 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6619 if test x
$gtk_config_prefix != x
; then
6620 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6621 if test x
${GTK_CONFIG+set} != xset
; then
6622 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6626 # Extract the first word of "gtk-config", so it can be a program name with args.
6627 set dummy gtk
-config; ac_word
=$2
6628 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6629 echo "configure:6630: checking for $ac_word" >&5
6630 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6631 echo $ac_n "(cached) $ac_c" 1>&6
6633 case "$GTK_CONFIG" in
6635 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6638 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6641 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6643 for ac_dir
in $ac_dummy; do
6644 test -z "$ac_dir" && ac_dir
=.
6645 if test -f $ac_dir/$ac_word; then
6646 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6651 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6655 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6656 if test -n "$GTK_CONFIG"; then
6657 echo "$ac_t""$GTK_CONFIG" 1>&6
6659 echo "$ac_t""no" 1>&6
6662 min_gtk_version
=1.0.0
6663 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6664 echo "configure:6665: checking for GTK - version >= $min_gtk_version" >&5
6666 if test "$GTK_CONFIG" != "no" ; then
6667 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6668 GTK_LIBS
=`$GTK_CONFIG --libs`
6669 ac_save_CFLAGS
="$CFLAGS"
6670 ac_save_LIBS
="$LIBS"
6671 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6672 LIBS
="$LIBS $GTK_LIBS"
6673 if test "$cross_compiling" = yes; then
6674 echo $ac_n "cross compiling; assumed OK... $ac_c"
6676 cat > conftest.
$ac_ext <<EOF
6677 #line 6678 "configure"
6678 #include "confdefs.h"
6680 #include <gtk/gtk.h>
6686 int major, minor, micro;
6688 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6689 printf("%s, bad version string\n", "$min_gtk_version");
6693 if (gtk_minor_version == 1) return FALSE;
6695 return !((gtk_major_version > major) ||
6696 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6697 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6701 if { (eval echo configure
:6702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6705 echo "configure: failed program was:" >&5
6706 cat conftest.
$ac_ext >&5
6713 CFLAGS
="$ac_save_CFLAGS"
6714 LIBS
="$ac_save_LIBS"
6718 if test "x$no_gtk" = x
; then
6719 echo "$ac_t""yes" 1>&6
6722 echo "$ac_t""no" 1>&6
6725 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.X or 1.0.X?" 1>&2; exit 1; }
6732 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6733 GUI_TK_LIBRARY
="$GTK_LIBS -ldl"
6736 GUIHEADERS
=GTK_HEADERS
6738 COMMONOBJS
=GTK_COMMONOBJS
6739 GENERICOBJS
=GTK_GENERICOBJS
6741 COMMONDEPS
=GTK_COMMONDEPS
6742 GENERICDEPS
=GTK_GENERICDEPS
6747 if test "$wxUSE_WINE" = 1; then
6748 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6749 echo "configure:6750: checking for WINE includes" >&5
6752 for ac_dir
in $SEARCH_INCLUDE;
6754 if test -f "$ac_dir/windows.h"; then
6755 ac_find_includes
=$ac_dir
6760 if test "$ac_find_includes" != "" ; then
6761 echo "$ac_t""found $ac_find_includes" 1>&6
6762 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6764 echo "$ac_t""no" 1>&6
6765 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6769 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6770 echo "configure:6771: checking for Xpm library" >&5
6773 for ac_dir
in $SEARCH_LIB;
6775 for ac_extension
in a so sl
; do
6776 if test -f "$ac_dir/libXpm.$ac_extension"; then
6777 ac_find_libraries
=$ac_dir
6783 if test "$ac_find_libraries" != "" ; then
6784 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6786 cat >> confdefs.h
<<\EOF
6787 #define wxHAVE_LIB_XPM 1
6790 echo "$ac_t""found at $ac_find_libraries" 1>&6
6792 echo "$ac_t""no" 1>&6
6793 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6797 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6798 echo "configure:6799: checking for Mesa library" >&5
6801 for ac_dir
in $SEARCH_LIB;
6803 for ac_extension
in a so sl
; do
6804 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6805 ac_find_libraries
=$ac_dir
6811 if test "$ac_find_libraries" != "" ; then
6812 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
6813 MESA_LINK
="-lMesaGL"
6814 echo "$ac_t""found at $ac_find_libraries" 1>&6
6816 { echo "configure: error: no" 1>&2; exit 1; }
6819 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -ldl -lm"
6820 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
6824 GUIHEADERS
=MSW_HEADERS
6826 COMMONOBJS
=MSW_COMMONOBJS
6827 GENERICOBJS
=MSW_GENERICOBJS
6829 COMMONDEPS
=MSW_COMMONDEPS
6830 GENERICDEPS
=MSW_GENERICDEPS
6835 if test "$wxUSE_MOTIF" = 1; then
6836 # If we find X, set shell vars x_includes and x_libraries to the
6837 # paths, otherwise set no_x=yes.
6838 # Uses ac_ vars as temps to allow command line to override cache and checks.
6839 # --without-x overrides everything else, but does not touch the cache.
6840 echo $ac_n "checking for X""... $ac_c" 1>&6
6841 echo "configure:6842: checking for X" >&5
6843 # Check whether --with-x or --without-x was given.
6844 if test "${with_x+set}" = set; then
6849 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6850 if test "x$with_x" = xno
; then
6851 # The user explicitly disabled X.
6854 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6855 # Both variables are already set.
6858 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
6859 echo $ac_n "(cached) $ac_c" 1>&6
6861 # One or both of the vars are not set, and there is no cached value.
6862 ac_x_includes
=NO ac_x_libraries
=NO
6864 if mkdir conftestdir
; then
6866 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
6867 cat > Imakefile
<<'EOF'
6869 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
6871 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6872 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6873 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
6874 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6875 for ac_extension
in a so sl
; do
6876 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
6877 test -f $ac_im_libdir/libX11.
$ac_extension; then
6878 ac_im_usrlibdir
=$ac_im_libdir; break
6881 # Screen out bogus values from the imake configuration. They are
6882 # bogus both because they are the default anyway, and because
6883 # using them would break gcc on systems where it needs fixed includes.
6884 case "$ac_im_incroot" in
6886 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
6888 case "$ac_im_usrlibdir" in
6890 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
6897 if test "$ac_x_includes" = NO
; then
6898 # Guess where to find include files, by looking for this one X11 .h file.
6899 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
6901 # First, try using that file with no special directory specified.
6902 cat > conftest.
$ac_ext <<EOF
6903 #line 6904 "configure"
6904 #include "confdefs.h"
6905 #include <$x_direct_test_include>
6907 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6908 { (eval echo configure
:6909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6909 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6910 if test -z "$ac_err"; then
6912 # We can compile using X headers with no special include directory.
6916 echo "configure: failed program was:" >&5
6917 cat conftest.
$ac_ext >&5
6919 # Look for the header file in a standard set of common directories.
6920 # Check X11 before X11Rn because it is often a symlink to the current release.
6923 /usr
/X
11R
6/include \
6924 /usr
/X
11R
5/include \
6925 /usr
/X
11R
4/include \
6928 /usr
/include
/X11R6 \
6929 /usr
/include
/X11R5 \
6930 /usr
/include
/X11R4 \
6932 /usr
/local
/X
11/include \
6933 /usr
/local
/X
11R
6/include \
6934 /usr
/local
/X
11R
5/include \
6935 /usr
/local
/X
11R
4/include \
6937 /usr
/local
/include
/X11 \
6938 /usr
/local
/include
/X11R6 \
6939 /usr
/local
/include
/X11R5 \
6940 /usr
/local
/include
/X11R4 \
6944 /usr
/XFree
86/include
/X11 \
6947 /usr
/local
/include \
6948 /usr
/unsupported
/include \
6949 /usr
/athena
/include \
6950 /usr
/local
/x
11r
5/include \
6951 /usr
/lpp
/Xamples
/include \
6953 /usr
/openwin
/include \
6954 /usr
/openwin
/share
/include \
6957 if test -r "$ac_dir/$x_direct_test_include"; then
6958 ac_x_includes
=$ac_dir
6964 fi # $ac_x_includes = NO
6966 if test "$ac_x_libraries" = NO
; then
6967 # Check for the libraries.
6969 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
6970 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
6972 # See if we find them without any special options.
6973 # Don't add to $LIBS permanently.
6974 ac_save_LIBS
="$LIBS"
6975 LIBS
="-l$x_direct_test_library $LIBS"
6976 cat > conftest.
$ac_ext <<EOF
6977 #line 6978 "configure"
6978 #include "confdefs.h"
6981 ${x_direct_test_function}()
6984 if { (eval echo configure
:6985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6986 LIBS
="$ac_save_LIBS"
6987 # We can link X programs with no special library path.
6990 echo "configure: failed program was:" >&5
6991 cat conftest.
$ac_ext >&5
6993 LIBS
="$ac_save_LIBS"
6994 # First see if replacing the include by lib works.
6995 # Check X11 before X11Rn because it is often a symlink to the current release.
6996 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7007 /usr
/local
/X
11/lib \
7008 /usr
/local
/X
11R
6/lib \
7009 /usr
/local
/X
11R
5/lib \
7010 /usr
/local
/X
11R
4/lib \
7012 /usr
/local
/lib
/X11 \
7013 /usr
/local
/lib
/X11R6 \
7014 /usr
/local
/lib
/X11R5 \
7015 /usr
/local
/lib
/X11R4 \
7019 /usr
/XFree
86/lib
/X11 \
7023 /usr
/unsupported
/lib \
7025 /usr
/local
/x
11r
5/lib \
7026 /usr
/lpp
/Xamples
/lib \
7030 /usr
/openwin
/share
/lib \
7033 for ac_extension
in a so sl
; do
7034 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7035 ac_x_libraries
=$ac_dir
7042 fi # $ac_x_libraries = NO
7044 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7045 # Didn't find X anywhere. Cache the known absence of X.
7046 ac_cv_have_x
="have_x=no"
7048 # Record where we found X for the cache.
7049 ac_cv_have_x
="have_x=yes \
7050 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7054 eval "$ac_cv_have_x"
7057 if test "$have_x" != yes; then
7058 echo "$ac_t""$have_x" 1>&6
7061 # If each of the values was on the command line, it overrides each guess.
7062 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7063 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7064 # Update the cache value to reflect the command line values.
7065 ac_cv_have_x
="have_x=yes \
7066 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7067 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7070 if test "$no_x" = yes; then
7071 # Not all programs may use this symbol, but it does not hurt to define it.
7072 cat >> confdefs.h
<<\EOF
7073 #define X_DISPLAY_MISSING 1
7076 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7078 if test -n "$x_includes"; then
7079 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7082 # It would also be nice to do this for all -L options, not just this one.
7083 if test -n "$x_libraries"; then
7084 X_LIBS
="$X_LIBS -L$x_libraries"
7085 # For Solaris; some versions of Sun CC require a space after -R and
7086 # others require no space. Words are not sufficient . . . .
7087 case "`(uname -sr) 2>/dev/null`" in
7089 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7090 echo "configure:7091: checking whether -R must be followed by a space" >&5
7091 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7092 cat > conftest.
$ac_ext <<EOF
7093 #line 7094 "configure"
7094 #include "confdefs.h"
7100 if { (eval echo configure
:7101: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7104 echo "configure: failed program was:" >&5
7105 cat conftest.
$ac_ext >&5
7110 if test $ac_R_nospace = yes; then
7111 echo "$ac_t""no" 1>&6
7112 X_LIBS
="$X_LIBS -R$x_libraries"
7114 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7115 cat > conftest.
$ac_ext <<EOF
7116 #line 7117 "configure"
7117 #include "confdefs.h"
7123 if { (eval echo configure
:7124: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7127 echo "configure: failed program was:" >&5
7128 cat conftest.
$ac_ext >&5
7133 if test $ac_R_space = yes; then
7134 echo "$ac_t""yes" 1>&6
7135 X_LIBS
="$X_LIBS -R $x_libraries"
7137 echo "$ac_t""neither works" 1>&6
7140 LIBS
="$ac_xsave_LIBS"
7144 # Check for system-dependent libraries X programs must link with.
7145 # Do this before checking for the system-independent R6 libraries
7146 # (-lICE), since we may need -lsocket or whatever for X linking.
7148 if test "$ISC" = yes; then
7149 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7151 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7152 # libraries were built with DECnet support. And karl@cs.umb.edu says
7153 # the Alpha needs dnet_stub (dnet does not exist).
7154 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7155 echo "configure:7156: checking for dnet_ntoa in -ldnet" >&5
7156 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7157 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7158 echo $ac_n "(cached) $ac_c" 1>&6
7160 ac_save_LIBS
="$LIBS"
7162 cat > conftest.
$ac_ext <<EOF
7163 #line 7164 "configure"
7164 #include "confdefs.h"
7165 /* Override any gcc2 internal prototype to avoid an error. */
7166 /* We use char because int might match the return type of a gcc2
7167 builtin and then its argument prototype would still apply. */
7174 if { (eval echo configure
:7175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7176 eval "ac_cv_lib_$ac_lib_var=yes"
7178 echo "configure: failed program was:" >&5
7179 cat conftest.
$ac_ext >&5
7181 eval "ac_cv_lib_$ac_lib_var=no"
7184 LIBS
="$ac_save_LIBS"
7187 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7188 echo "$ac_t""yes" 1>&6
7189 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7191 echo "$ac_t""no" 1>&6
7194 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7195 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7196 echo "configure:7197: checking for dnet_ntoa in -ldnet_stub" >&5
7197 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7198 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7199 echo $ac_n "(cached) $ac_c" 1>&6
7201 ac_save_LIBS
="$LIBS"
7202 LIBS
="-ldnet_stub $LIBS"
7203 cat > conftest.
$ac_ext <<EOF
7204 #line 7205 "configure"
7205 #include "confdefs.h"
7206 /* Override any gcc2 internal prototype to avoid an error. */
7207 /* We use char because int might match the return type of a gcc2
7208 builtin and then its argument prototype would still apply. */
7215 if { (eval echo configure
:7216: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7217 eval "ac_cv_lib_$ac_lib_var=yes"
7219 echo "configure: failed program was:" >&5
7220 cat conftest.
$ac_ext >&5
7222 eval "ac_cv_lib_$ac_lib_var=no"
7225 LIBS
="$ac_save_LIBS"
7228 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7229 echo "$ac_t""yes" 1>&6
7230 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7232 echo "$ac_t""no" 1>&6
7237 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7238 # to get the SysV transport functions.
7239 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7241 # The nsl library prevents programs from opening the X display
7242 # on Irix 5.2, according to dickey@clark.net.
7243 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7244 echo "configure:7245: checking for gethostbyname" >&5
7245 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7246 echo $ac_n "(cached) $ac_c" 1>&6
7248 cat > conftest.
$ac_ext <<EOF
7249 #line 7250 "configure"
7250 #include "confdefs.h"
7251 /* System header to define __stub macros and hopefully few prototypes,
7252 which can conflict with char gethostbyname(); below. */
7254 /* Override any gcc2 internal prototype to avoid an error. */
7255 /* We use char because int might match the return type of a gcc2
7256 builtin and then its argument prototype would still apply. */
7257 char gethostbyname();
7262 /* The GNU C library defines this for functions which it implements
7263 to always fail with ENOSYS. Some functions are actually named
7264 something starting with __ and the normal name is an alias. */
7265 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7273 if { (eval echo configure
:7274: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7275 eval "ac_cv_func_gethostbyname=yes"
7277 echo "configure: failed program was:" >&5
7278 cat conftest.
$ac_ext >&5
7280 eval "ac_cv_func_gethostbyname=no"
7285 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7286 echo "$ac_t""yes" 1>&6
7289 echo "$ac_t""no" 1>&6
7292 if test $ac_cv_func_gethostbyname = no
; then
7293 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7294 echo "configure:7295: checking for gethostbyname in -lnsl" >&5
7295 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7296 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7297 echo $ac_n "(cached) $ac_c" 1>&6
7299 ac_save_LIBS
="$LIBS"
7301 cat > conftest.
$ac_ext <<EOF
7302 #line 7303 "configure"
7303 #include "confdefs.h"
7304 /* Override any gcc2 internal prototype to avoid an error. */
7305 /* We use char because int might match the return type of a gcc2
7306 builtin and then its argument prototype would still apply. */
7307 char gethostbyname();
7313 if { (eval echo configure
:7314: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7315 eval "ac_cv_lib_$ac_lib_var=yes"
7317 echo "configure: failed program was:" >&5
7318 cat conftest.
$ac_ext >&5
7320 eval "ac_cv_lib_$ac_lib_var=no"
7323 LIBS
="$ac_save_LIBS"
7326 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7327 echo "$ac_t""yes" 1>&6
7328 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7330 echo "$ac_t""no" 1>&6
7335 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7336 # socket/setsockopt and other routines are undefined under SCO ODT
7337 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7338 # on later versions), says simon@lia.di.epfl.ch: it contains
7339 # gethostby* variants that don't use the nameserver (or something).
7340 # -lsocket must be given before -lnsl if both are needed.
7341 # We assume that if connect needs -lnsl, so does gethostbyname.
7342 echo $ac_n "checking for connect""... $ac_c" 1>&6
7343 echo "configure:7344: checking for connect" >&5
7344 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7345 echo $ac_n "(cached) $ac_c" 1>&6
7347 cat > conftest.
$ac_ext <<EOF
7348 #line 7349 "configure"
7349 #include "confdefs.h"
7350 /* System header to define __stub macros and hopefully few prototypes,
7351 which can conflict with char connect(); below. */
7353 /* Override any gcc2 internal prototype to avoid an error. */
7354 /* We use char because int might match the return type of a gcc2
7355 builtin and then its argument prototype would still apply. */
7361 /* The GNU C library defines this for functions which it implements
7362 to always fail with ENOSYS. Some functions are actually named
7363 something starting with __ and the normal name is an alias. */
7364 #if defined (__stub_connect) || defined (__stub___connect)
7372 if { (eval echo configure
:7373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7374 eval "ac_cv_func_connect=yes"
7376 echo "configure: failed program was:" >&5
7377 cat conftest.
$ac_ext >&5
7379 eval "ac_cv_func_connect=no"
7384 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7385 echo "$ac_t""yes" 1>&6
7388 echo "$ac_t""no" 1>&6
7391 if test $ac_cv_func_connect = no
; then
7392 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7393 echo "configure:7394: checking for connect in -lsocket" >&5
7394 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7395 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7396 echo $ac_n "(cached) $ac_c" 1>&6
7398 ac_save_LIBS
="$LIBS"
7399 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7400 cat > conftest.
$ac_ext <<EOF
7401 #line 7402 "configure"
7402 #include "confdefs.h"
7403 /* Override any gcc2 internal prototype to avoid an error. */
7404 /* We use char because int might match the return type of a gcc2
7405 builtin and then its argument prototype would still apply. */
7412 if { (eval echo configure
:7413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7414 eval "ac_cv_lib_$ac_lib_var=yes"
7416 echo "configure: failed program was:" >&5
7417 cat conftest.
$ac_ext >&5
7419 eval "ac_cv_lib_$ac_lib_var=no"
7422 LIBS
="$ac_save_LIBS"
7425 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7426 echo "$ac_t""yes" 1>&6
7427 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7429 echo "$ac_t""no" 1>&6
7434 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7435 echo $ac_n "checking for remove""... $ac_c" 1>&6
7436 echo "configure:7437: checking for remove" >&5
7437 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7438 echo $ac_n "(cached) $ac_c" 1>&6
7440 cat > conftest.
$ac_ext <<EOF
7441 #line 7442 "configure"
7442 #include "confdefs.h"
7443 /* System header to define __stub macros and hopefully few prototypes,
7444 which can conflict with char remove(); below. */
7446 /* Override any gcc2 internal prototype to avoid an error. */
7447 /* We use char because int might match the return type of a gcc2
7448 builtin and then its argument prototype would still apply. */
7454 /* The GNU C library defines this for functions which it implements
7455 to always fail with ENOSYS. Some functions are actually named
7456 something starting with __ and the normal name is an alias. */
7457 #if defined (__stub_remove) || defined (__stub___remove)
7465 if { (eval echo configure
:7466: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7467 eval "ac_cv_func_remove=yes"
7469 echo "configure: failed program was:" >&5
7470 cat conftest.
$ac_ext >&5
7472 eval "ac_cv_func_remove=no"
7477 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7478 echo "$ac_t""yes" 1>&6
7481 echo "$ac_t""no" 1>&6
7484 if test $ac_cv_func_remove = no
; then
7485 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7486 echo "configure:7487: checking for remove in -lposix" >&5
7487 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7488 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7489 echo $ac_n "(cached) $ac_c" 1>&6
7491 ac_save_LIBS
="$LIBS"
7492 LIBS
="-lposix $LIBS"
7493 cat > conftest.
$ac_ext <<EOF
7494 #line 7495 "configure"
7495 #include "confdefs.h"
7496 /* Override any gcc2 internal prototype to avoid an error. */
7497 /* We use char because int might match the return type of a gcc2
7498 builtin and then its argument prototype would still apply. */
7505 if { (eval echo configure
:7506: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7507 eval "ac_cv_lib_$ac_lib_var=yes"
7509 echo "configure: failed program was:" >&5
7510 cat conftest.
$ac_ext >&5
7512 eval "ac_cv_lib_$ac_lib_var=no"
7515 LIBS
="$ac_save_LIBS"
7518 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7519 echo "$ac_t""yes" 1>&6
7520 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7522 echo "$ac_t""no" 1>&6
7527 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7528 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7529 echo "configure:7530: checking for shmat" >&5
7530 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7531 echo $ac_n "(cached) $ac_c" 1>&6
7533 cat > conftest.
$ac_ext <<EOF
7534 #line 7535 "configure"
7535 #include "confdefs.h"
7536 /* System header to define __stub macros and hopefully few prototypes,
7537 which can conflict with char shmat(); below. */
7539 /* Override any gcc2 internal prototype to avoid an error. */
7540 /* We use char because int might match the return type of a gcc2
7541 builtin and then its argument prototype would still apply. */
7547 /* The GNU C library defines this for functions which it implements
7548 to always fail with ENOSYS. Some functions are actually named
7549 something starting with __ and the normal name is an alias. */
7550 #if defined (__stub_shmat) || defined (__stub___shmat)
7558 if { (eval echo configure
:7559: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7560 eval "ac_cv_func_shmat=yes"
7562 echo "configure: failed program was:" >&5
7563 cat conftest.
$ac_ext >&5
7565 eval "ac_cv_func_shmat=no"
7570 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7571 echo "$ac_t""yes" 1>&6
7574 echo "$ac_t""no" 1>&6
7577 if test $ac_cv_func_shmat = no
; then
7578 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7579 echo "configure:7580: checking for shmat in -lipc" >&5
7580 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7581 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7582 echo $ac_n "(cached) $ac_c" 1>&6
7584 ac_save_LIBS
="$LIBS"
7586 cat > conftest.
$ac_ext <<EOF
7587 #line 7588 "configure"
7588 #include "confdefs.h"
7589 /* Override any gcc2 internal prototype to avoid an error. */
7590 /* We use char because int might match the return type of a gcc2
7591 builtin and then its argument prototype would still apply. */
7598 if { (eval echo configure
:7599: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7600 eval "ac_cv_lib_$ac_lib_var=yes"
7602 echo "configure: failed program was:" >&5
7603 cat conftest.
$ac_ext >&5
7605 eval "ac_cv_lib_$ac_lib_var=no"
7608 LIBS
="$ac_save_LIBS"
7611 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7612 echo "$ac_t""yes" 1>&6
7613 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7615 echo "$ac_t""no" 1>&6
7621 # Check for libraries that X11R6 Xt/Xaw programs need.
7622 ac_save_LDFLAGS
="$LDFLAGS"
7623 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7624 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7625 # check for ICE first), but we must link in the order -lSM -lICE or
7626 # we get undefined symbols. So assume we have SM if we have ICE.
7627 # These have to be linked with before -lX11, unlike the other
7628 # libraries we check for below, so use a different variable.
7629 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7630 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7631 echo "configure:7632: checking for IceConnectionNumber in -lICE" >&5
7632 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7633 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7634 echo $ac_n "(cached) $ac_c" 1>&6
7636 ac_save_LIBS
="$LIBS"
7637 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7638 cat > conftest.
$ac_ext <<EOF
7639 #line 7640 "configure"
7640 #include "confdefs.h"
7641 /* Override any gcc2 internal prototype to avoid an error. */
7642 /* We use char because int might match the return type of a gcc2
7643 builtin and then its argument prototype would still apply. */
7644 char IceConnectionNumber();
7647 IceConnectionNumber()
7650 if { (eval echo configure
:7651: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7652 eval "ac_cv_lib_$ac_lib_var=yes"
7654 echo "configure: failed program was:" >&5
7655 cat conftest.
$ac_ext >&5
7657 eval "ac_cv_lib_$ac_lib_var=no"
7660 LIBS
="$ac_save_LIBS"
7663 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7664 echo "$ac_t""yes" 1>&6
7665 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7667 echo "$ac_t""no" 1>&6
7670 LDFLAGS
="$ac_save_LDFLAGS"
7675 if test "$no_x" = "yes"; then
7676 { echo "configure: error: X11 libraries not found" 1>&2; exit 1; }
7679 TOOLKIT_INCLUDE
="$X_CFLAGS"
7680 GUI_TK_LIBRARY
="$X_LIBS"
7682 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
7683 echo "configure:7684: checking for Motif/Lesstif includes" >&5
7686 for ac_dir
in $SEARCH_INCLUDE;
7688 if test -f "$ac_dir/Xm/Xm.h"; then
7689 ac_find_includes
=$ac_dir
7694 if test "$ac_find_includes" != "" ; then
7695 echo "$ac_t""found $ac_find_includes" 1>&6
7697 echo "$ac_t""no" 1>&6
7698 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7701 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7702 echo "configure:7703: checking for Motif/Lesstif library" >&5
7705 for ac_dir
in $SEARCH_LIB;
7707 for ac_extension
in a so sl
; do
7708 if test -f "$ac_dir/libXm.$ac_extension"; then
7709 ac_find_libraries
=$ac_dir
7715 if test "$ac_find_libraries" != "" ; then
7717 ac_path_to_include
=$ac_find_includes
7718 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7720 if test $result = 0; then
7721 ac_path_to_include
=""
7723 ac_path_to_include
="-I$ac_find_includes"
7727 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7729 if test $result = 0; then
7732 ac_path_to_link
="-L$ac_find_libraries"
7736 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7737 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7738 echo "$ac_t""found at $ac_find_libraries" 1>&6
7740 echo "$ac_t""no" 1>&6
7741 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7744 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7745 echo "configure:7746: checking for Xt library" >&5
7748 for ac_dir
in $SEARCH_LIB;
7750 for ac_extension
in a so sl
; do
7751 if test -f "$ac_dir/libXt.$ac_extension"; then
7752 ac_find_libraries
=$ac_dir
7758 if test "$ac_find_libraries" != "" ; then
7760 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7762 if test $result = 0; then
7765 ac_path_to_link
="-L$ac_find_libraries"
7768 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7769 echo "$ac_t""found at $ac_find_libraries" 1>&6
7771 echo "$ac_t""no" 1>&6
7772 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7776 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7777 echo "configure:7778: checking for Xpm library" >&5
7780 for ac_dir
in $SEARCH_LIB;
7782 for ac_extension
in a so sl
; do
7783 if test -f "$ac_dir/libXpm.$ac_extension"; then
7784 ac_find_libraries
=$ac_dir
7790 if test "$ac_find_libraries" != "" ; then
7792 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7794 if test $result = 0; then
7797 ac_path_to_link
="-L$ac_find_libraries"
7800 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7802 cat >> confdefs.h
<<\EOF
7803 #define wxHAVE_LIB_XPM 1
7806 echo "$ac_t""found at $ac_find_libraries" 1>&6
7808 echo "$ac_t""no" 1>&6
7809 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7812 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXt -lX11 -ldl -lm"
7813 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7816 GUIHEADERS
=MOTIF_HEADERS
7817 GUIOBJS
=MOTIF_GUIOBJS
7818 COMMONOBJS
=MOTIF_COMMONOBJS
7819 GENERICOBJS
=MOTIF_GENERICOBJS
7820 GUIDEPS
=MOTIF_GUIDEPS
7821 COMMONDEPS
=MOTIF_COMMONDEPS
7822 GENERICDEPS
=MOTIF_GENERICDEPS
7827 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7829 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
7831 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
7833 WX_LIBRARY_NAME
="libwx_${TOOLKIT_DIR}.la"
7835 WX_LIBRARY_NAME_STATIC
="libwx_${TOOLKIT_DIR}.a"
7837 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
7839 WX_LIBRARY_LINK1
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so.${WX_CURRENT}"
7840 WX_LIBRARY_LINK2
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so"
7841 WX_LIBRARY_LINK3
="libwx_${TOOLKIT_DIR}.so"
7847 if test "$wxUSE_SHARED" = "yes"; then
7848 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
7852 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
7853 SHARED_LD
="${CXX} -b -o"
7857 SHARED_LD
="${CC} -shared -o"
7859 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7860 WX_CREATE_LINKS
="CREATE_LINKS"
7862 *-*-irix5* | *-*-irix6* )
7863 if test "$GCC" = yes ; then
7864 SHARED_LD
="${CC} -shared -o"
7867 SHARED_LD
="${CXX} -shared -o"
7869 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7870 WX_CREATE_LINKS
="CREATE_LINKS"
7873 if test "$GCC" = yes ; then
7874 SHARED_LD
="${CC} -shared -o"
7877 SHARED_LD
="${CXX} -G -o"
7880 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7881 WX_CREATE_LINKS
="CREATE_LINKS"
7884 SHARED_LD
="${CC} -shared -o"
7886 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7887 WX_CREATE_LINKS
="CREATE_LINKS"
7889 *-*-freebsd* | *-*-netbsd*)
7890 SHARED_LD
="${CC} -shared -o"
7892 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7893 WX_CREATE_LINKS
="CREATE_LINKS"
7896 SHARED_LD
="${CXX} -shared -o"
7898 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7899 WX_CREATE_LINKS
="CREATE_LINKS"
7902 SHARED_LD
="${CXX} -shared -o"
7904 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7905 WX_CREATE_LINKS
="CREATE_LINKS"
7908 SHARED_LD
="${CC} -shared -o"
7910 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7911 WX_CREATE_LINKS
="CREATE_LINKS"
7914 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
7917 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7920 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7925 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
7929 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7933 for ac_hdr
in strings.h
7935 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7936 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7937 echo "configure:7938: checking for $ac_hdr" >&5
7938 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7939 echo $ac_n "(cached) $ac_c" 1>&6
7941 cat > conftest.
$ac_ext <<EOF
7942 #line 7943 "configure"
7943 #include "confdefs.h"
7946 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7947 { (eval echo configure
:7948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7948 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7949 if test -z "$ac_err"; then
7951 eval "ac_cv_header_$ac_safe=yes"
7954 echo "configure: failed program was:" >&5
7955 cat conftest.
$ac_ext >&5
7957 eval "ac_cv_header_$ac_safe=no"
7961 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7962 echo "$ac_t""yes" 1>&6
7963 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7964 cat >> confdefs.h
<<EOF
7965 #define $ac_tr_hdr 1
7969 echo "$ac_t""no" 1>&6
7973 for ac_hdr
in unistd.h
7975 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7976 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7977 echo "configure:7978: checking for $ac_hdr" >&5
7978 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7979 echo $ac_n "(cached) $ac_c" 1>&6
7981 cat > conftest.
$ac_ext <<EOF
7982 #line 7983 "configure"
7983 #include "confdefs.h"
7986 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7987 { (eval echo configure
:7988: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7988 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7989 if test -z "$ac_err"; then
7991 eval "ac_cv_header_$ac_safe=yes"
7994 echo "configure: failed program was:" >&5
7995 cat conftest.
$ac_ext >&5
7997 eval "ac_cv_header_$ac_safe=no"
8001 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8002 echo "$ac_t""yes" 1>&6
8003 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8004 cat >> confdefs.h
<<EOF
8005 #define $ac_tr_hdr 1
8009 echo "$ac_t""no" 1>&6
8013 for ac_hdr
in wchar.h
8015 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8016 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8017 echo "configure:8018: checking for $ac_hdr" >&5
8018 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8019 echo $ac_n "(cached) $ac_c" 1>&6
8021 cat > conftest.
$ac_ext <<EOF
8022 #line 8023 "configure"
8023 #include "confdefs.h"
8026 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8027 { (eval echo configure
:8028: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8028 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8029 if test -z "$ac_err"; then
8031 eval "ac_cv_header_$ac_safe=yes"
8034 echo "configure: failed program was:" >&5
8035 cat conftest.
$ac_ext >&5
8037 eval "ac_cv_header_$ac_safe=no"
8041 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8042 echo "$ac_t""yes" 1>&6
8043 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8044 cat >> confdefs.h
<<EOF
8045 #define $ac_tr_hdr 1
8049 echo "$ac_t""no" 1>&6
8053 for ac_hdr
in wcstr.h
8055 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8056 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8057 echo "configure:8058: checking for $ac_hdr" >&5
8058 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8059 echo $ac_n "(cached) $ac_c" 1>&6
8061 cat > conftest.
$ac_ext <<EOF
8062 #line 8063 "configure"
8063 #include "confdefs.h"
8066 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8067 { (eval echo configure
:8068: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8068 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8069 if test -z "$ac_err"; then
8071 eval "ac_cv_header_$ac_safe=yes"
8074 echo "configure: failed program was:" >&5
8075 cat conftest.
$ac_ext >&5
8077 eval "ac_cv_header_$ac_safe=no"
8081 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8082 echo "$ac_t""yes" 1>&6
8083 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8084 cat >> confdefs.h
<<EOF
8085 #define $ac_tr_hdr 1
8089 echo "$ac_t""no" 1>&6
8093 for ac_hdr
in fnmatch.h
8095 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8096 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8097 echo "configure:8098: checking for $ac_hdr" >&5
8098 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8099 echo $ac_n "(cached) $ac_c" 1>&6
8101 cat > conftest.
$ac_ext <<EOF
8102 #line 8103 "configure"
8103 #include "confdefs.h"
8106 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8107 { (eval echo configure
:8108: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8108 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8109 if test -z "$ac_err"; then
8111 eval "ac_cv_header_$ac_safe=yes"
8114 echo "configure: failed program was:" >&5
8115 cat conftest.
$ac_ext >&5
8117 eval "ac_cv_header_$ac_safe=no"
8121 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8122 echo "$ac_t""yes" 1>&6
8123 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8124 cat >> confdefs.h
<<EOF
8125 #define $ac_tr_hdr 1
8129 echo "$ac_t""no" 1>&6
8133 for ac_hdr
in X
11/XKBlib.h
8135 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8136 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8137 echo "configure:8138: checking for $ac_hdr" >&5
8138 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8139 echo $ac_n "(cached) $ac_c" 1>&6
8141 cat > conftest.
$ac_ext <<EOF
8142 #line 8143 "configure"
8143 #include "confdefs.h"
8146 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8147 { (eval echo configure
:8148: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8148 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8149 if test -z "$ac_err"; then
8151 eval "ac_cv_header_$ac_safe=yes"
8154 echo "configure: failed program was:" >&5
8155 cat conftest.
$ac_ext >&5
8157 eval "ac_cv_header_$ac_safe=no"
8161 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8162 echo "$ac_t""yes" 1>&6
8163 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8164 cat >> confdefs.h
<<EOF
8165 #define $ac_tr_hdr 1
8169 echo "$ac_t""no" 1>&6
8175 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8176 echo "configure:8177: checking for ANSI C header files" >&5
8177 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8178 echo $ac_n "(cached) $ac_c" 1>&6
8180 cat > conftest.
$ac_ext <<EOF
8181 #line 8182 "configure"
8182 #include "confdefs.h"
8188 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8189 { (eval echo configure
:8190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8190 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8191 if test -z "$ac_err"; then
8193 ac_cv_header_stdc
=yes
8196 echo "configure: failed program was:" >&5
8197 cat conftest.
$ac_ext >&5
8199 ac_cv_header_stdc
=no
8203 if test $ac_cv_header_stdc = yes; then
8204 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8205 cat > conftest.
$ac_ext <<EOF
8206 #line 8207 "configure"
8207 #include "confdefs.h"
8210 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8211 egrep "memchr" >/dev
/null
2>&1; then
8215 ac_cv_header_stdc
=no
8221 if test $ac_cv_header_stdc = yes; then
8222 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8223 cat > conftest.
$ac_ext <<EOF
8224 #line 8225 "configure"
8225 #include "confdefs.h"
8228 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8229 egrep "free" >/dev
/null
2>&1; then
8233 ac_cv_header_stdc
=no
8239 if test $ac_cv_header_stdc = yes; then
8240 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8241 if test "$cross_compiling" = yes; then
8244 cat > conftest.
$ac_ext <<EOF
8245 #line 8246 "configure"
8246 #include "confdefs.h"
8248 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8249 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8250 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8251 int main () { int i; for (i = 0; i < 256; i++)
8252 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8256 if { (eval echo configure
:8257: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8260 echo "configure: failed program was:" >&5
8261 cat conftest.
$ac_ext >&5
8263 ac_cv_header_stdc
=no
8271 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8272 if test $ac_cv_header_stdc = yes; then
8273 cat >> confdefs.h
<<\EOF
8274 #define STDC_HEADERS 1
8279 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8280 echo "configure:8281: checking for mode_t" >&5
8281 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8282 echo $ac_n "(cached) $ac_c" 1>&6
8284 cat > conftest.
$ac_ext <<EOF
8285 #line 8286 "configure"
8286 #include "confdefs.h"
8287 #include <sys/types.h>
8293 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8294 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8296 ac_cv_type_mode_t
=yes
8299 ac_cv_type_mode_t
=no
8304 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8305 if test $ac_cv_type_mode_t = no
; then
8306 cat >> confdefs.h
<<\EOF
8312 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8313 echo "configure:8314: checking for off_t" >&5
8314 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8315 echo $ac_n "(cached) $ac_c" 1>&6
8317 cat > conftest.
$ac_ext <<EOF
8318 #line 8319 "configure"
8319 #include "confdefs.h"
8320 #include <sys/types.h>
8326 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8327 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8329 ac_cv_type_off_t
=yes
8337 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8338 if test $ac_cv_type_off_t = no
; then
8339 cat >> confdefs.h
<<\EOF
8345 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8346 echo "configure:8347: checking for pid_t" >&5
8347 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8348 echo $ac_n "(cached) $ac_c" 1>&6
8350 cat > conftest.
$ac_ext <<EOF
8351 #line 8352 "configure"
8352 #include "confdefs.h"
8353 #include <sys/types.h>
8359 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8360 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8362 ac_cv_type_pid_t
=yes
8370 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8371 if test $ac_cv_type_pid_t = no
; then
8372 cat >> confdefs.h
<<\EOF
8378 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8379 echo "configure:8380: checking for size_t" >&5
8380 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8381 echo $ac_n "(cached) $ac_c" 1>&6
8383 cat > conftest.
$ac_ext <<EOF
8384 #line 8385 "configure"
8385 #include "confdefs.h"
8386 #include <sys/types.h>
8392 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8393 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8395 ac_cv_type_size_t
=yes
8398 ac_cv_type_size_t
=no
8403 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8404 if test $ac_cv_type_size_t = no
; then
8405 cat >> confdefs.h
<<\EOF
8406 #define size_t unsigned
8411 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8412 echo "configure:8413: checking for uid_t in sys/types.h" >&5
8413 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8414 echo $ac_n "(cached) $ac_c" 1>&6
8416 cat > conftest.
$ac_ext <<EOF
8417 #line 8418 "configure"
8418 #include "confdefs.h"
8419 #include <sys/types.h>
8421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8422 egrep "uid_t" >/dev
/null
2>&1; then
8424 ac_cv_type_uid_t
=yes
8433 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8434 if test $ac_cv_type_uid_t = no
; then
8435 cat >> confdefs.h
<<\EOF
8439 cat >> confdefs.h
<<\EOF
8448 echo $ac_n "checking for working const""... $ac_c" 1>&6
8449 echo "configure:8450: checking for working const" >&5
8450 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8451 echo $ac_n "(cached) $ac_c" 1>&6
8453 cat > conftest.
$ac_ext <<EOF
8454 #line 8455 "configure"
8455 #include "confdefs.h"
8459 /* Ultrix mips cc rejects this. */
8460 typedef int charset[2]; const charset x;
8461 /* SunOS 4.1.1 cc rejects this. */
8462 char const *const *ccp;
8464 /* NEC SVR4.0.2 mips cc rejects this. */
8465 struct point {int x, y;};
8466 static struct point const zero = {0,0};
8467 /* AIX XL C 1.02.0.0 rejects this.
8468 It does not let you subtract one const X* pointer from another in an arm
8469 of an if-expression whose if-part is not a constant expression */
8470 const char *g = "string";
8471 ccp = &g + (g ? g-g : 0);
8472 /* HPUX 7.0 cc rejects these. */
8475 ccp = (char const *const *) p;
8476 { /* SCO 3.2v4 cc rejects this. */
8478 char const *s = 0 ? (char *) 0 : (char const *) 0;
8482 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8484 const int *foo = &x[0];
8487 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8488 typedef const int *iptr;
8492 { /* AIX XL C 1.02.0.0 rejects this saying
8493 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8494 struct s { int j; const int *ap[3]; };
8495 struct s *b; b->j = 5;
8497 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8503 if { (eval echo configure
:8504: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8507 echo "configure: failed program was:" >&5
8508 cat conftest.
$ac_ext >&5
8515 echo "$ac_t""$ac_cv_c_const" 1>&6
8516 if test $ac_cv_c_const = no
; then
8517 cat >> confdefs.h
<<\EOF
8523 echo $ac_n "checking for inline""... $ac_c" 1>&6
8524 echo "configure:8525: checking for inline" >&5
8525 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8526 echo $ac_n "(cached) $ac_c" 1>&6
8529 for ac_kw
in inline __inline__ __inline
; do
8530 cat > conftest.
$ac_ext <<EOF
8531 #line 8532 "configure"
8532 #include "confdefs.h"
8538 if { (eval echo configure
:8539: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8540 ac_cv_c_inline
=$ac_kw; break
8542 echo "configure: failed program was:" >&5
8543 cat conftest.
$ac_ext >&5
8550 echo "$ac_t""$ac_cv_c_inline" 1>&6
8551 case "$ac_cv_c_inline" in
8553 no
) cat >> confdefs.h
<<\EOF
8557 *) cat >> confdefs.h
<<EOF
8558 #define inline $ac_cv_c_inline
8564 echo $ac_n "checking size of char""... $ac_c" 1>&6
8565 echo "configure:8566: checking size of char" >&5
8566 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8567 echo $ac_n "(cached) $ac_c" 1>&6
8569 if test "$cross_compiling" = yes; then
8572 cat > conftest.
$ac_ext <<EOF
8573 #line 8574 "configure"
8574 #include "confdefs.h"
8578 FILE *f=fopen("conftestval", "w");
8580 fprintf(f, "%d\n", sizeof(char));
8584 if { (eval echo configure
:8585: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8586 ac_cv_sizeof_char
=`cat conftestval`
8588 echo "configure: failed program was:" >&5
8589 cat conftest.
$ac_ext >&5
8597 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8598 cat >> confdefs.h
<<EOF
8599 #define SIZEOF_CHAR $ac_cv_sizeof_char
8603 echo $ac_n "checking size of short""... $ac_c" 1>&6
8604 echo "configure:8605: checking size of short" >&5
8605 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8606 echo $ac_n "(cached) $ac_c" 1>&6
8608 if test "$cross_compiling" = yes; then
8609 ac_cv_sizeof_short
=2
8611 cat > conftest.
$ac_ext <<EOF
8612 #line 8613 "configure"
8613 #include "confdefs.h"
8617 FILE *f=fopen("conftestval", "w");
8619 fprintf(f, "%d\n", sizeof(short));
8623 if { (eval echo configure
:8624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8625 ac_cv_sizeof_short
=`cat conftestval`
8627 echo "configure: failed program was:" >&5
8628 cat conftest.
$ac_ext >&5
8630 ac_cv_sizeof_short
=0
8636 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8637 cat >> confdefs.h
<<EOF
8638 #define SIZEOF_SHORT $ac_cv_sizeof_short
8642 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8643 echo "configure:8644: checking size of int *" >&5
8644 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8645 echo $ac_n "(cached) $ac_c" 1>&6
8647 if test "$cross_compiling" = yes; then
8648 ac_cv_sizeof_int_p
=4
8650 cat > conftest.
$ac_ext <<EOF
8651 #line 8652 "configure"
8652 #include "confdefs.h"
8656 FILE *f=fopen("conftestval", "w");
8658 fprintf(f, "%d\n", sizeof(int *));
8662 if { (eval echo configure
:8663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8664 ac_cv_sizeof_int_p
=`cat conftestval`
8666 echo "configure: failed program was:" >&5
8667 cat conftest.
$ac_ext >&5
8669 ac_cv_sizeof_int_p
=0
8675 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8676 cat >> confdefs.h
<<EOF
8677 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8681 echo $ac_n "checking size of int""... $ac_c" 1>&6
8682 echo "configure:8683: checking size of int" >&5
8683 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8684 echo $ac_n "(cached) $ac_c" 1>&6
8686 if test "$cross_compiling" = yes; then
8689 cat > conftest.
$ac_ext <<EOF
8690 #line 8691 "configure"
8691 #include "confdefs.h"
8695 FILE *f=fopen("conftestval", "w");
8697 fprintf(f, "%d\n", sizeof(int));
8701 if { (eval echo configure
:8702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8703 ac_cv_sizeof_int
=`cat conftestval`
8705 echo "configure: failed program was:" >&5
8706 cat conftest.
$ac_ext >&5
8714 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8715 cat >> confdefs.h
<<EOF
8716 #define SIZEOF_INT $ac_cv_sizeof_int
8720 echo $ac_n "checking size of long""... $ac_c" 1>&6
8721 echo "configure:8722: checking size of long" >&5
8722 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8723 echo $ac_n "(cached) $ac_c" 1>&6
8725 if test "$cross_compiling" = yes; then
8728 cat > conftest.
$ac_ext <<EOF
8729 #line 8730 "configure"
8730 #include "confdefs.h"
8734 FILE *f=fopen("conftestval", "w");
8736 fprintf(f, "%d\n", sizeof(long));
8740 if { (eval echo configure
:8741: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8742 ac_cv_sizeof_long
=`cat conftestval`
8744 echo "configure: failed program was:" >&5
8745 cat conftest.
$ac_ext >&5
8753 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8754 cat >> confdefs.h
<<EOF
8755 #define SIZEOF_LONG $ac_cv_sizeof_long
8759 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8760 echo "configure:8761: checking size of long long" >&5
8761 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8762 echo $ac_n "(cached) $ac_c" 1>&6
8764 if test "$cross_compiling" = yes; then
8765 ac_cv_sizeof_long_long
=0
8767 cat > conftest.
$ac_ext <<EOF
8768 #line 8769 "configure"
8769 #include "confdefs.h"
8773 FILE *f=fopen("conftestval", "w");
8775 fprintf(f, "%d\n", sizeof(long long));
8779 if { (eval echo configure
:8780: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8781 ac_cv_sizeof_long_long
=`cat conftestval`
8783 echo "configure: failed program was:" >&5
8784 cat conftest.
$ac_ext >&5
8786 ac_cv_sizeof_long_long
=0
8792 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8793 cat >> confdefs.h
<<EOF
8794 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8799 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8800 echo "configure:8801: checking whether byte ordering is bigendian" >&5
8801 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8802 echo $ac_n "(cached) $ac_c" 1>&6
8804 ac_cv_c_bigendian
=unknown
8805 # See if sys/param.h defines the BYTE_ORDER macro.
8806 cat > conftest.
$ac_ext <<EOF
8807 #line 8808 "configure"
8808 #include "confdefs.h"
8809 #include <sys/types.h>
8810 #include <sys/param.h>
8813 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8818 if { (eval echo configure
:8819: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8820 # It does; now see whether it defined to BIG_ENDIAN or not.
8821 cat > conftest.
$ac_ext <<EOF
8822 #line 8823 "configure"
8823 #include "confdefs.h"
8824 #include <sys/types.h>
8825 #include <sys/param.h>
8828 #if BYTE_ORDER != BIG_ENDIAN
8833 if { (eval echo configure
:8834: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8835 ac_cv_c_bigendian
=yes
8837 echo "configure: failed program was:" >&5
8838 cat conftest.
$ac_ext >&5
8840 ac_cv_c_bigendian
=no
8844 echo "configure: failed program was:" >&5
8845 cat conftest.
$ac_ext >&5
8848 if test $ac_cv_c_bigendian = unknown
; then
8849 if test "$cross_compiling" = yes; then
8850 ac_cv_c_bigendian
=unknown
8852 cat > conftest.
$ac_ext <<EOF
8853 #line 8854 "configure"
8854 #include "confdefs.h"
8856 /* Are we little or big endian? From Harbison&Steele. */
8860 char c[sizeof (long)];
8863 exit (u.c[sizeof (long) - 1] == 1);
8866 if { (eval echo configure
:8867: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8868 ac_cv_c_bigendian
=no
8870 echo "configure: failed program was:" >&5
8871 cat conftest.
$ac_ext >&5
8873 ac_cv_c_bigendian
=yes
8881 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
8882 if test $ac_cv_c_bigendian = unknown
; then
8883 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
8885 if test $ac_cv_c_bigendian = yes; then
8886 cat >> confdefs.h
<<\EOF
8887 #define WORDS_BIGENDIAN 1
8894 if test "$cross_compiling" = "yes"; then
8895 cat >> confdefs.h
<<\EOF
8896 #define wxUSE_IOSTREAMH 1
8902 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8903 ac_cpp
='$CXXCPP $CPPFLAGS'
8904 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8905 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8906 cross_compiling
=$ac_cv_prog_cxx_cross
8909 for ac_hdr
in iostream
8911 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8912 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8913 echo "configure:8914: checking for $ac_hdr" >&5
8914 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8915 echo $ac_n "(cached) $ac_c" 1>&6
8917 cat > conftest.
$ac_ext <<EOF
8918 #line 8919 "configure"
8919 #include "confdefs.h"
8922 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8923 { (eval echo configure
:8924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8924 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8925 if test -z "$ac_err"; then
8927 eval "ac_cv_header_$ac_safe=yes"
8930 echo "configure: failed program was:" >&5
8931 cat conftest.
$ac_ext >&5
8933 eval "ac_cv_header_$ac_safe=no"
8937 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8938 echo "$ac_t""yes" 1>&6
8939 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8940 cat >> confdefs.h
<<EOF
8941 #define $ac_tr_hdr 1
8945 echo "$ac_t""no" 1>&6
8950 if test "x$HAVE_IOSTREAM" = x
; then
8951 cat >> confdefs.h
<<\EOF
8952 #define wxUSE_IOSTREAMH 1
8960 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8961 ac_cpp
='$CPP $CPPFLAGS'
8962 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8963 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8964 cross_compiling
=$ac_cv_prog_cc_cross
8970 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
8971 echo "configure:8972: checking if C++ compiler supports bool" >&5
8972 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
8973 echo $ac_n "(cached) $ac_c" 1>&6
8978 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8979 ac_cpp
='$CXXCPP $CPPFLAGS'
8980 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8981 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8982 cross_compiling
=$ac_cv_prog_cxx_cross
8985 cat > conftest.
$ac_ext <<EOF
8986 #line 8987 "configure"
8987 #include "confdefs.h"
8998 if { (eval echo configure
:8999: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9001 cat >> confdefs.h
<<\EOF
9008 echo "configure: failed program was:" >&5
9009 cat conftest.
$ac_ext >&5
9019 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9020 ac_cpp
='$CPP $CPPFLAGS'
9021 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9022 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9023 cross_compiling
=$ac_cv_prog_cc_cross
9028 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9030 if test "$wx_cv_cpp_bool" = "yes"; then
9031 cat >> confdefs.h
<<\EOF
9039 echo $ac_n "checking if size_t and int are different types""... $ac_c" 1>&6
9040 echo "configure:9041: checking if size_t and int are different types" >&5
9041 if eval "test \"`echo '$''{'wx_cv_cpp_sizet_not_int'+set}'`\" = set"; then
9042 echo $ac_n "(cached) $ac_c" 1>&6
9047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9048 ac_cpp
='$CXXCPP $CPPFLAGS'
9049 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9050 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9051 cross_compiling
=$ac_cv_prog_cxx_cross
9054 if test "$cross_compiling" = yes; then
9055 wx_cv_cpp_sizet_not_int
=no
9058 cat > conftest.
$ac_ext <<EOF
9059 #line 9060 "configure"
9060 #include "confdefs.h"
9062 extern "C" void exit(int);
9070 S(char *s) { m_s = s; }
9072 char operator[](size_t n) const { return m_s[n]; }
9073 char operator[](int n) const { return m_s[n]; }
9085 return s[n1] == s[n2];
9089 if { (eval echo configure
:9090: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9091 cat >> confdefs.h
<<\EOF
9092 #define wxUSE_SIZE_T_STRING_OPERATOR 1
9094 wx_cv_cpp_sizet_not_int
=yes
9096 echo "configure: failed program was:" >&5
9097 cat conftest.
$ac_ext >&5
9099 wx_cv_cpp_sizet_not_int
=no
9106 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9107 ac_cpp
='$CPP $CPPFLAGS'
9108 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9109 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9110 cross_compiling
=$ac_cv_prog_cc_cross
9115 echo "$ac_t""$wx_cv_cpp_sizet_not_int" 1>&6
9119 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9120 echo "configure:9121: checking if you need GNU extensions" >&5
9121 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9122 echo $ac_n "(cached) $ac_c" 1>&6
9125 cat > conftest.
$ac_ext <<EOF
9126 #line 9127 "configure"
9127 #include "confdefs.h"
9128 #include <features.h>
9132 #ifndef __GNU_LIBRARY__
9133 Compile error wanted
9139 if { (eval echo configure
:9140: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9141 wx_cv_gnu_extensions
=yes
9143 echo "configure: failed program was:" >&5
9144 cat conftest.
$ac_ext >&5
9146 wx_cv_gnu_extensions
=no
9153 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9154 if test "$wx_cv_gnu_extensions" = "yes"; then
9155 cat >> confdefs.h
<<EOF
9156 #define _GNU_SOURCE 1
9163 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9164 echo "configure:9165: checking for wcslen in -lc" >&5
9165 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9166 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9167 echo $ac_n "(cached) $ac_c" 1>&6
9169 ac_save_LIBS
="$LIBS"
9171 cat > conftest.
$ac_ext <<EOF
9172 #line 9173 "configure"
9173 #include "confdefs.h"
9174 /* Override any gcc2 internal prototype to avoid an error. */
9175 /* We use char because int might match the return type of a gcc2
9176 builtin and then its argument prototype would still apply. */
9183 if { (eval echo configure
:9184: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9185 eval "ac_cv_lib_$ac_lib_var=yes"
9187 echo "configure: failed program was:" >&5
9188 cat conftest.
$ac_ext >&5
9190 eval "ac_cv_lib_$ac_lib_var=no"
9193 LIBS
="$ac_save_LIBS"
9196 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9197 echo "$ac_t""yes" 1>&6
9199 cat >> confdefs.h
<<\EOF
9200 #define HAVE_WCSLEN 1
9206 echo "$ac_t""no" 1>&6
9208 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9209 echo "configure:9210: checking for wcslen in -lw" >&5
9210 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9211 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9212 echo $ac_n "(cached) $ac_c" 1>&6
9214 ac_save_LIBS
="$LIBS"
9216 cat > conftest.
$ac_ext <<EOF
9217 #line 9218 "configure"
9218 #include "confdefs.h"
9219 /* Override any gcc2 internal prototype to avoid an error. */
9220 /* We use char because int might match the return type of a gcc2
9221 builtin and then its argument prototype would still apply. */
9228 if { (eval echo configure
:9229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9230 eval "ac_cv_lib_$ac_lib_var=yes"
9232 echo "configure: failed program was:" >&5
9233 cat conftest.
$ac_ext >&5
9235 eval "ac_cv_lib_$ac_lib_var=no"
9238 LIBS
="$ac_save_LIBS"
9241 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9242 echo "$ac_t""yes" 1>&6
9244 cat >> confdefs.h
<<\EOF
9245 #define HAVE_WCSLEN 1
9251 echo "$ac_t""no" 1>&6
9258 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9259 echo "configure:9260: checking for vprintf" >&5
9260 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9261 echo $ac_n "(cached) $ac_c" 1>&6
9263 cat > conftest.
$ac_ext <<EOF
9264 #line 9265 "configure"
9265 #include "confdefs.h"
9266 /* System header to define __stub macros and hopefully few prototypes,
9267 which can conflict with char vprintf(); below. */
9269 /* Override any gcc2 internal prototype to avoid an error. */
9270 /* We use char because int might match the return type of a gcc2
9271 builtin and then its argument prototype would still apply. */
9277 /* The GNU C library defines this for functions which it implements
9278 to always fail with ENOSYS. Some functions are actually named
9279 something starting with __ and the normal name is an alias. */
9280 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9288 if { (eval echo configure
:9289: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9290 eval "ac_cv_func_vprintf=yes"
9292 echo "configure: failed program was:" >&5
9293 cat conftest.
$ac_ext >&5
9295 eval "ac_cv_func_vprintf=no"
9300 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9301 echo "$ac_t""yes" 1>&6
9302 cat >> confdefs.h
<<\EOF
9303 #define HAVE_VPRINTF 1
9307 echo "$ac_t""no" 1>&6
9310 if test "$ac_cv_func_vprintf" != yes; then
9311 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9312 echo "configure:9313: checking for _doprnt" >&5
9313 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9314 echo $ac_n "(cached) $ac_c" 1>&6
9316 cat > conftest.
$ac_ext <<EOF
9317 #line 9318 "configure"
9318 #include "confdefs.h"
9319 /* System header to define __stub macros and hopefully few prototypes,
9320 which can conflict with char _doprnt(); below. */
9322 /* Override any gcc2 internal prototype to avoid an error. */
9323 /* We use char because int might match the return type of a gcc2
9324 builtin and then its argument prototype would still apply. */
9330 /* The GNU C library defines this for functions which it implements
9331 to always fail with ENOSYS. Some functions are actually named
9332 something starting with __ and the normal name is an alias. */
9333 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9341 if { (eval echo configure
:9342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9343 eval "ac_cv_func__doprnt=yes"
9345 echo "configure: failed program was:" >&5
9346 cat conftest.
$ac_ext >&5
9348 eval "ac_cv_func__doprnt=no"
9353 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9354 echo "$ac_t""yes" 1>&6
9355 cat >> confdefs.h
<<\EOF
9356 #define HAVE_DOPRNT 1
9360 echo "$ac_t""no" 1>&6
9366 for ac_func
in vsnprintf
9368 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9369 echo "configure:9370: checking for $ac_func" >&5
9370 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9371 echo $ac_n "(cached) $ac_c" 1>&6
9373 cat > conftest.
$ac_ext <<EOF
9374 #line 9375 "configure"
9375 #include "confdefs.h"
9376 /* System header to define __stub macros and hopefully few prototypes,
9377 which can conflict with char $ac_func(); below. */
9379 /* Override any gcc2 internal prototype to avoid an error. */
9380 /* We use char because int might match the return type of a gcc2
9381 builtin and then its argument prototype would still apply. */
9387 /* The GNU C library defines this for functions which it implements
9388 to always fail with ENOSYS. Some functions are actually named
9389 something starting with __ and the normal name is an alias. */
9390 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9398 if { (eval echo configure
:9399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9400 eval "ac_cv_func_$ac_func=yes"
9402 echo "configure: failed program was:" >&5
9403 cat conftest.
$ac_ext >&5
9405 eval "ac_cv_func_$ac_func=no"
9410 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9411 echo "$ac_t""yes" 1>&6
9412 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9413 cat >> confdefs.h
<<EOF
9414 #define $ac_tr_func 1
9416 cat >> confdefs.h
<<\EOF
9417 #define HAVE_VSNPRINTF 1
9421 echo "$ac_t""no" 1>&6
9422 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9430 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9431 ac_cpp
='$CXXCPP $CPPFLAGS'
9432 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9433 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9434 cross_compiling
=$ac_cv_prog_cxx_cross
9437 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9438 echo "configure:9439: checking for vsscanf" >&5
9439 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9440 echo $ac_n "(cached) $ac_c" 1>&6
9443 if test "$cross_compiling" = yes; then
9444 wx_cv_func_vsscanf
=no
9447 cat > conftest.
$ac_ext <<EOF
9448 #line 9449 "configure"
9449 #include "confdefs.h"
9451 extern "C" void exit(int);
9457 int try_vsscanf(const char *format, ...)
9460 va_start(ap, format);
9462 vsscanf("17", format, ap);
9470 try_vsscanf("%d", &i);
9471 return i == 17 ? 0 : 1;
9475 if { (eval echo configure
:9476: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9478 cat >> confdefs.h
<<\EOF
9479 #define HAVE_VSSCANF 1
9482 wx_cv_func_vsscanf
=yes
9485 echo "configure: failed program was:" >&5
9486 cat conftest.
$ac_ext >&5
9488 wx_cv_func_vsscanf
=no
9496 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9499 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9500 ac_cpp
='$CPP $CPPFLAGS'
9501 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9502 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9503 cross_compiling
=$ac_cv_prog_cc_cross
9506 for ac_func
in vfork
9508 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9509 echo "configure:9510: checking for $ac_func" >&5
9510 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9511 echo $ac_n "(cached) $ac_c" 1>&6
9513 cat > conftest.
$ac_ext <<EOF
9514 #line 9515 "configure"
9515 #include "confdefs.h"
9516 /* System header to define __stub macros and hopefully few prototypes,
9517 which can conflict with char $ac_func(); below. */
9519 /* Override any gcc2 internal prototype to avoid an error. */
9520 /* We use char because int might match the return type of a gcc2
9521 builtin and then its argument prototype would still apply. */
9527 /* The GNU C library defines this for functions which it implements
9528 to always fail with ENOSYS. Some functions are actually named
9529 something starting with __ and the normal name is an alias. */
9530 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9538 if { (eval echo configure
:9539: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9540 eval "ac_cv_func_$ac_func=yes"
9542 echo "configure: failed program was:" >&5
9543 cat conftest.
$ac_ext >&5
9545 eval "ac_cv_func_$ac_func=no"
9550 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9551 echo "$ac_t""yes" 1>&6
9552 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9553 cat >> confdefs.h
<<EOF
9554 #define $ac_tr_func 1
9558 echo "$ac_t""no" 1>&6
9564 for ac_func
in nanosleep
9566 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9567 echo "configure:9568: checking for $ac_func" >&5
9568 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9569 echo $ac_n "(cached) $ac_c" 1>&6
9571 cat > conftest.
$ac_ext <<EOF
9572 #line 9573 "configure"
9573 #include "confdefs.h"
9574 /* System header to define __stub macros and hopefully few prototypes,
9575 which can conflict with char $ac_func(); below. */
9577 /* Override any gcc2 internal prototype to avoid an error. */
9578 /* We use char because int might match the return type of a gcc2
9579 builtin and then its argument prototype would still apply. */
9585 /* The GNU C library defines this for functions which it implements
9586 to always fail with ENOSYS. Some functions are actually named
9587 something starting with __ and the normal name is an alias. */
9588 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9596 if { (eval echo configure
:9597: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9598 eval "ac_cv_func_$ac_func=yes"
9600 echo "configure: failed program was:" >&5
9601 cat conftest.
$ac_ext >&5
9603 eval "ac_cv_func_$ac_func=no"
9608 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9609 echo "$ac_t""yes" 1>&6
9610 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9611 cat >> confdefs.h
<<EOF
9612 #define $ac_tr_func 1
9614 cat >> confdefs.h
<<\EOF
9615 #define HAVE_NANOSLEEP 1
9619 echo "$ac_t""no" 1>&6
9620 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9621 echo "configure:9622: checking for nanosleep in -lposix4" >&5
9622 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9623 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9624 echo $ac_n "(cached) $ac_c" 1>&6
9626 ac_save_LIBS
="$LIBS"
9627 LIBS
="-lposix4 $LIBS"
9628 cat > conftest.
$ac_ext <<EOF
9629 #line 9630 "configure"
9630 #include "confdefs.h"
9631 /* Override any gcc2 internal prototype to avoid an error. */
9632 /* We use char because int might match the return type of a gcc2
9633 builtin and then its argument prototype would still apply. */
9640 if { (eval echo configure
:9641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9642 eval "ac_cv_lib_$ac_lib_var=yes"
9644 echo "configure: failed program was:" >&5
9645 cat conftest.
$ac_ext >&5
9647 eval "ac_cv_lib_$ac_lib_var=no"
9650 LIBS
="$ac_save_LIBS"
9653 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9654 echo "$ac_t""yes" 1>&6
9656 cat >> confdefs.h
<<\EOF
9657 #define HAVE_NANOSLEEP 1
9660 POSIX4_LINK
="-lposix4"
9663 echo "$ac_t""no" 1>&6
9665 for ac_func
in usleep
9667 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9668 echo "configure:9669: checking for $ac_func" >&5
9669 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9670 echo $ac_n "(cached) $ac_c" 1>&6
9672 cat > conftest.
$ac_ext <<EOF
9673 #line 9674 "configure"
9674 #include "confdefs.h"
9675 /* System header to define __stub macros and hopefully few prototypes,
9676 which can conflict with char $ac_func(); below. */
9678 /* Override any gcc2 internal prototype to avoid an error. */
9679 /* We use char because int might match the return type of a gcc2
9680 builtin and then its argument prototype would still apply. */
9686 /* The GNU C library defines this for functions which it implements
9687 to always fail with ENOSYS. Some functions are actually named
9688 something starting with __ and the normal name is an alias. */
9689 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9697 if { (eval echo configure
:9698: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9699 eval "ac_cv_func_$ac_func=yes"
9701 echo "configure: failed program was:" >&5
9702 cat conftest.
$ac_ext >&5
9704 eval "ac_cv_func_$ac_func=no"
9709 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9710 echo "$ac_t""yes" 1>&6
9711 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9712 cat >> confdefs.h
<<EOF
9713 #define $ac_tr_func 1
9715 cat >> confdefs.h
<<\EOF
9716 #define HAVE_USLEEP 1
9720 echo "$ac_t""no" 1>&6
9721 echo "configure: warning: wxSleep() function will not work" 1>&2
9733 for ac_func
in uname gethostname
9735 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9736 echo "configure:9737: checking for $ac_func" >&5
9737 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9738 echo $ac_n "(cached) $ac_c" 1>&6
9740 cat > conftest.
$ac_ext <<EOF
9741 #line 9742 "configure"
9742 #include "confdefs.h"
9743 /* System header to define __stub macros and hopefully few prototypes,
9744 which can conflict with char $ac_func(); below. */
9746 /* Override any gcc2 internal prototype to avoid an error. */
9747 /* We use char because int might match the return type of a gcc2
9748 builtin and then its argument prototype would still apply. */
9754 /* The GNU C library defines this for functions which it implements
9755 to always fail with ENOSYS. Some functions are actually named
9756 something starting with __ and the normal name is an alias. */
9757 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9765 if { (eval echo configure
:9766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9767 eval "ac_cv_func_$ac_func=yes"
9769 echo "configure: failed program was:" >&5
9770 cat conftest.
$ac_ext >&5
9772 eval "ac_cv_func_$ac_func=no"
9777 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9778 echo "$ac_t""yes" 1>&6
9779 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9780 cat >> confdefs.h
<<EOF
9781 #define $ac_tr_func 1
9785 echo "$ac_t""no" 1>&6
9790 for ac_func
in inet_addr
9792 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9793 echo "configure:9794: checking for $ac_func" >&5
9794 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9795 echo $ac_n "(cached) $ac_c" 1>&6
9797 cat > conftest.
$ac_ext <<EOF
9798 #line 9799 "configure"
9799 #include "confdefs.h"
9800 /* System header to define __stub macros and hopefully few prototypes,
9801 which can conflict with char $ac_func(); below. */
9803 /* Override any gcc2 internal prototype to avoid an error. */
9804 /* We use char because int might match the return type of a gcc2
9805 builtin and then its argument prototype would still apply. */
9811 /* The GNU C library defines this for functions which it implements
9812 to always fail with ENOSYS. Some functions are actually named
9813 something starting with __ and the normal name is an alias. */
9814 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9822 if { (eval echo configure
:9823: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9824 eval "ac_cv_func_$ac_func=yes"
9826 echo "configure: failed program was:" >&5
9827 cat conftest.
$ac_ext >&5
9829 eval "ac_cv_func_$ac_func=no"
9834 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9835 echo "$ac_t""yes" 1>&6
9836 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9837 cat >> confdefs.h
<<EOF
9838 #define $ac_tr_func 1
9842 echo "$ac_t""no" 1>&6
9846 for ac_func
in inet_aton
9848 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9849 echo "configure:9850: checking for $ac_func" >&5
9850 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9851 echo $ac_n "(cached) $ac_c" 1>&6
9853 cat > conftest.
$ac_ext <<EOF
9854 #line 9855 "configure"
9855 #include "confdefs.h"
9856 /* System header to define __stub macros and hopefully few prototypes,
9857 which can conflict with char $ac_func(); below. */
9859 /* Override any gcc2 internal prototype to avoid an error. */
9860 /* We use char because int might match the return type of a gcc2
9861 builtin and then its argument prototype would still apply. */
9867 /* The GNU C library defines this for functions which it implements
9868 to always fail with ENOSYS. Some functions are actually named
9869 something starting with __ and the normal name is an alias. */
9870 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9878 if { (eval echo configure
:9879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9880 eval "ac_cv_func_$ac_func=yes"
9882 echo "configure: failed program was:" >&5
9883 cat conftest.
$ac_ext >&5
9885 eval "ac_cv_func_$ac_func=no"
9890 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9891 echo "$ac_t""yes" 1>&6
9892 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9893 cat >> confdefs.h
<<EOF
9894 #define $ac_tr_func 1
9898 echo "$ac_t""no" 1>&6
9902 echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
9903 echo "configure:9904: checking for inet_aton in -lresolv" >&5
9904 ac_lib_var
=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
9905 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9906 echo $ac_n "(cached) $ac_c" 1>&6
9908 ac_save_LIBS
="$LIBS"
9909 LIBS
="-lresolv $LIBS"
9910 cat > conftest.
$ac_ext <<EOF
9911 #line 9912 "configure"
9912 #include "confdefs.h"
9913 /* Override any gcc2 internal prototype to avoid an error. */
9914 /* We use char because int might match the return type of a gcc2
9915 builtin and then its argument prototype would still apply. */
9922 if { (eval echo configure
:9923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9924 eval "ac_cv_lib_$ac_lib_var=yes"
9926 echo "configure: failed program was:" >&5
9927 cat conftest.
$ac_ext >&5
9929 eval "ac_cv_lib_$ac_lib_var=no"
9932 LIBS
="$ac_save_LIBS"
9935 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9936 echo "$ac_t""yes" 1>&6
9937 ac_tr_lib
=HAVE_LIB
`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9938 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9939 cat >> confdefs.h
<<EOF
9940 #define $ac_tr_lib 1
9943 LIBS
="-lresolv $LIBS"
9946 echo "$ac_t""no" 1>&6
9951 cat > confcache
<<\EOF
9952 # This file is a shell script that caches the results of configure
9953 # tests run on this system so they can be shared between configure
9954 # scripts and configure runs. It is not useful on other systems.
9955 # If it contains results you don't want to keep, you may remove or edit it.
9957 # By default, configure uses ./config.cache as the cache file,
9958 # creating it if it does not exist already. You can give configure
9959 # the --cache-file=FILE option to use a different cache file; that is
9960 # what configure does when it calls configure scripts in
9961 # subdirectories, so they share the cache.
9962 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9963 # config.status only pays attention to the cache file if you give it the
9964 # --recheck option to rerun configure.
9967 # The following way of writing the cache mishandles newlines in values,
9968 # but we know of no workaround that is simple, portable, and efficient.
9969 # So, don't put newlines in cache variables' values.
9970 # Ultrix sh set writes to stderr and can't be redirected directly,
9971 # and sets the high bit in the cache file unless we assign to the vars.
9973 case `(ac_space=' '; set | grep ac_space) 2>&1` in
9975 # `set' does not quote correctly, so add quotes (double-quote substitution
9976 # turns \\\\ into \\, and sed turns \\ into \).
9978 -e "s/'/'\\\\''/g" \
9979 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9982 # `set' quotes correctly as required by POSIX, so do not add quotes.
9983 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9986 if cmp -s $cache_file confcache
; then
9989 if test -w $cache_file; then
9990 echo "updating cache $cache_file"
9991 cat confcache
> $cache_file
9993 echo "not updating unwritable cache $cache_file"
10000 if test "$USE_UNIX" = 1; then
10006 if test "$wxUSE_THREADS" = "yes" ; then
10007 if test "$wxUSE_WINE" = 1 ; then
10008 echo "configure: warning: Threads are not supported under WINE" 1>&2
10013 if test "$wxUSE_THREADS" = "yes" ; then
10015 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10016 echo "configure:10017: checking for pthread_create in -lpthread" >&5
10017 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10018 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10019 echo $ac_n "(cached) $ac_c" 1>&6
10021 ac_save_LIBS
="$LIBS"
10022 LIBS
="-lpthread $LIBS"
10023 cat > conftest.
$ac_ext <<EOF
10024 #line 10025 "configure"
10025 #include "confdefs.h"
10026 /* Override any gcc2 internal prototype to avoid an error. */
10027 /* We use char because int might match the return type of a gcc2
10028 builtin and then its argument prototype would still apply. */
10029 char pthread_create();
10035 if { (eval echo configure
:10036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10037 eval "ac_cv_lib_$ac_lib_var=yes"
10039 echo "configure: failed program was:" >&5
10040 cat conftest.
$ac_ext >&5
10042 eval "ac_cv_lib_$ac_lib_var=no"
10045 LIBS
="$ac_save_LIBS"
10048 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10049 echo "$ac_t""yes" 1>&6
10051 THREADS_OBJ
="threadpsx.lo"
10052 THREADS_LINK
="pthread"
10055 echo "$ac_t""no" 1>&6
10057 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10058 echo "configure:10059: checking for pthread_create in -lc_r" >&5
10059 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10060 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10061 echo $ac_n "(cached) $ac_c" 1>&6
10063 ac_save_LIBS
="$LIBS"
10065 cat > conftest.
$ac_ext <<EOF
10066 #line 10067 "configure"
10067 #include "confdefs.h"
10068 /* Override any gcc2 internal prototype to avoid an error. */
10069 /* We use char because int might match the return type of a gcc2
10070 builtin and then its argument prototype would still apply. */
10071 char pthread_create();
10077 if { (eval echo configure
:10078: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10079 eval "ac_cv_lib_$ac_lib_var=yes"
10081 echo "configure: failed program was:" >&5
10082 cat conftest.
$ac_ext >&5
10084 eval "ac_cv_lib_$ac_lib_var=no"
10087 LIBS
="$ac_save_LIBS"
10090 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10091 echo "$ac_t""yes" 1>&6
10093 THREADS_OBJ
="threadpsx.lo"
10097 echo "$ac_t""no" 1>&6
10099 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10100 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10101 echo "configure:10102: checking for sys/prctl.h" >&5
10102 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10103 echo $ac_n "(cached) $ac_c" 1>&6
10105 cat > conftest.
$ac_ext <<EOF
10106 #line 10107 "configure"
10107 #include "confdefs.h"
10108 #include <sys/prctl.h>
10110 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10111 { (eval echo configure
:10112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10112 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10113 if test -z "$ac_err"; then
10115 eval "ac_cv_header_$ac_safe=yes"
10118 echo "configure: failed program was:" >&5
10119 cat conftest.
$ac_ext >&5
10121 eval "ac_cv_header_$ac_safe=no"
10125 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10126 echo "$ac_t""yes" 1>&6
10128 THREADS_OBJ
="threadsgi.lo"
10131 echo "$ac_t""no" 1>&6
10141 if test -z "$THREADS_OBJ" ; then
10143 echo "configure: warning: No thread support on this system" 1>&2
10147 if test "$wxUSE_THREADS" = "yes" ; then
10149 for ac_hdr
in sched.h
10151 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10152 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10153 echo "configure:10154: checking for $ac_hdr" >&5
10154 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10155 echo $ac_n "(cached) $ac_c" 1>&6
10157 cat > conftest.
$ac_ext <<EOF
10158 #line 10159 "configure"
10159 #include "confdefs.h"
10162 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10163 { (eval echo configure
:10164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10164 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10165 if test -z "$ac_err"; then
10167 eval "ac_cv_header_$ac_safe=yes"
10170 echo "configure: failed program was:" >&5
10171 cat conftest.
$ac_ext >&5
10173 eval "ac_cv_header_$ac_safe=no"
10177 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10178 echo "$ac_t""yes" 1>&6
10179 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10180 cat >> confdefs.h
<<EOF
10181 #define $ac_tr_hdr 1
10185 echo "$ac_t""no" 1>&6
10190 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10191 echo "configure:10192: checking for sched_yield in -l$THREADS_LINK" >&5
10192 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10193 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10194 echo $ac_n "(cached) $ac_c" 1>&6
10196 ac_save_LIBS
="$LIBS"
10197 LIBS
="-l$THREADS_LINK $LIBS"
10198 cat > conftest.
$ac_ext <<EOF
10199 #line 10200 "configure"
10200 #include "confdefs.h"
10201 /* Override any gcc2 internal prototype to avoid an error. */
10202 /* We use char because int might match the return type of a gcc2
10203 builtin and then its argument prototype would still apply. */
10204 char sched_yield();
10210 if { (eval echo configure
:10211: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10212 eval "ac_cv_lib_$ac_lib_var=yes"
10214 echo "configure: failed program was:" >&5
10215 cat conftest.
$ac_ext >&5
10217 eval "ac_cv_lib_$ac_lib_var=no"
10220 LIBS
="$ac_save_LIBS"
10223 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10224 echo "$ac_t""yes" 1>&6
10225 cat >> confdefs.h
<<\EOF
10226 #define HAVE_SCHED_YIELD 1
10230 echo "$ac_t""no" 1>&6
10231 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10232 echo "configure:10233: checking for sched_yield in -l"posix4
"" >&5
10233 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10234 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10235 echo $ac_n "(cached) $ac_c" 1>&6
10237 ac_save_LIBS
="$LIBS"
10238 LIBS
="-l"posix4
" $LIBS"
10239 cat > conftest.
$ac_ext <<EOF
10240 #line 10241 "configure"
10241 #include "confdefs.h"
10242 /* Override any gcc2 internal prototype to avoid an error. */
10243 /* We use char because int might match the return type of a gcc2
10244 builtin and then its argument prototype would still apply. */
10245 char sched_yield();
10251 if { (eval echo configure
:10252: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10253 eval "ac_cv_lib_$ac_lib_var=yes"
10255 echo "configure: failed program was:" >&5
10256 cat conftest.
$ac_ext >&5
10258 eval "ac_cv_lib_$ac_lib_var=no"
10261 LIBS
="$ac_save_LIBS"
10264 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10265 echo "$ac_t""yes" 1>&6
10266 cat >> confdefs.h
<<\EOF
10267 #define HAVE_SCHED_YIELD 1
10269 POSIX4_LINK
="-lposix4"
10271 echo "$ac_t""no" 1>&6
10272 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10280 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10281 echo "configure:10282: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10282 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10283 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10284 echo $ac_n "(cached) $ac_c" 1>&6
10286 ac_save_LIBS
="$LIBS"
10287 LIBS
="-l$THREADS_LINK $LIBS"
10288 cat > conftest.
$ac_ext <<EOF
10289 #line 10290 "configure"
10290 #include "confdefs.h"
10291 /* Override any gcc2 internal prototype to avoid an error. */
10292 /* We use char because int might match the return type of a gcc2
10293 builtin and then its argument prototype would still apply. */
10294 char pthread_attr_getschedpolicy();
10297 pthread_attr_getschedpolicy()
10300 if { (eval echo configure
:10301: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10302 eval "ac_cv_lib_$ac_lib_var=yes"
10304 echo "configure: failed program was:" >&5
10305 cat conftest.
$ac_ext >&5
10307 eval "ac_cv_lib_$ac_lib_var=no"
10310 LIBS
="$ac_save_LIBS"
10313 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10314 echo "$ac_t""yes" 1>&6
10315 cat >> confdefs.h
<<\EOF
10316 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10320 echo "$ac_t""no" 1>&6
10321 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10322 echo "configure:10323: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10323 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10324 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10325 echo $ac_n "(cached) $ac_c" 1>&6
10327 ac_save_LIBS
="$LIBS"
10328 LIBS
="-l"posix4
" $LIBS"
10329 cat > conftest.
$ac_ext <<EOF
10330 #line 10331 "configure"
10331 #include "confdefs.h"
10332 /* Override any gcc2 internal prototype to avoid an error. */
10333 /* We use char because int might match the return type of a gcc2
10334 builtin and then its argument prototype would still apply. */
10335 char pthread_attr_getschedpolicy();
10338 pthread_attr_getschedpolicy()
10341 if { (eval echo configure
:10342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10343 eval "ac_cv_lib_$ac_lib_var=yes"
10345 echo "configure: failed program was:" >&5
10346 cat conftest.
$ac_ext >&5
10348 eval "ac_cv_lib_$ac_lib_var=no"
10351 LIBS
="$ac_save_LIBS"
10354 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10355 echo "$ac_t""yes" 1>&6
10356 cat >> confdefs.h
<<\EOF
10357 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10359 POSIX4_LINK
="-lposix4"
10361 echo "$ac_t""no" 1>&6
10362 echo "configure: warning: Setting thread priority will not work" 1>&2
10370 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10371 echo "configure:10372: checking for pthread_cancel in -l$THREADS_LINK" >&5
10372 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10373 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10374 echo $ac_n "(cached) $ac_c" 1>&6
10376 ac_save_LIBS
="$LIBS"
10377 LIBS
="-l$THREADS_LINK $LIBS"
10378 cat > conftest.
$ac_ext <<EOF
10379 #line 10380 "configure"
10380 #include "confdefs.h"
10381 /* Override any gcc2 internal prototype to avoid an error. */
10382 /* We use char because int might match the return type of a gcc2
10383 builtin and then its argument prototype would still apply. */
10384 char pthread_cancel();
10390 if { (eval echo configure
:10391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10392 eval "ac_cv_lib_$ac_lib_var=yes"
10394 echo "configure: failed program was:" >&5
10395 cat conftest.
$ac_ext >&5
10397 eval "ac_cv_lib_$ac_lib_var=no"
10400 LIBS
="$ac_save_LIBS"
10403 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10404 echo "$ac_t""yes" 1>&6
10405 cat >> confdefs.h
<<\EOF
10406 #define HAVE_PTHREAD_CANCEL 1
10410 echo "$ac_t""no" 1>&6
10411 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10415 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10416 echo "configure:10417: checking for pthread_cleanup_push/pop" >&5
10417 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10418 echo $ac_n "(cached) $ac_c" 1>&6
10421 cat > conftest.
$ac_ext <<EOF
10422 #line 10423 "configure"
10423 #include "confdefs.h"
10424 #include <pthread.h>
10427 pthread_cleanup_push(NULL, NULL);
10428 pthread_cleanup_pop(0);
10432 if { (eval echo configure
:10433: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10435 wx_cv_func_pthread_cleanup_push
=yes
10436 cat >> confdefs.h
<<\EOF
10437 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10442 echo "configure: failed program was:" >&5
10443 cat conftest.
$ac_ext >&5
10446 wx_cv_func_pthread_cleanup_push
=no
10453 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10455 THREADS_LINK
="-l$THREADS_LINK"
10460 if test "$wxUSE_THREADS" = "yes"; then
10461 cat >> confdefs.h
<<\EOF
10462 #define wxUSE_THREADS 1
10466 CFLAGS
="${CFLAGS} -D_REENTRANT"
10467 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10469 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
10472 if test "$WXGTK12" = 1 ; then
10473 cat >> confdefs.h
<<EOF
10474 #define __WXGTK12__ $WXGTK12
10479 if test "$WXWINE" = 1 ; then
10480 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10483 if test "$wxUSE_CYGWIN" = 1 ; then
10484 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10489 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10494 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10495 wxUSE_DEBUG_INFO
=yes
10499 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10500 cat >> confdefs.h
<<\EOF
10504 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10506 if test "$wxUSE_GTK" = 1 ; then
10507 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10511 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10512 cat >> confdefs.h
<<\EOF
10513 #define wxUSE_MEMORY_TRACING 1
10516 cat >> confdefs.h
<<\EOF
10517 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10520 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10523 if test "$wxUSE_DMALLOC" = "yes" ; then
10524 DMALLOC_LINK
="-ldmalloc"
10528 if test "$wxUSE_PROFILE" = "yes" ; then
10533 if test "$GCC" = yes ; then
10534 if test "$wxUSE_NO_RTTI" = "yes" ; then
10535 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10537 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10538 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10540 if test "$wxUSE_PERMISSIVE" = "yes" ; then
10541 CFLAGS
="${CFLAGS} -fpermissive"
10542 CXXFLAGS
="${CXXFLAGS} -fpermissive"
10544 if test "$wxUSE_NO_DEPS" = "no" ; then
10545 DEP_INFO_FLAGS
="-MMD"
10550 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10551 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10552 if test "$wxUSE_OPTIMISE" = "no" ; then
10555 if test "$GCC" = yes ; then
10558 i586
-*-*|i686
-*-* )
10559 OPTIMISE
="${OPTIMISE} "
10569 if test "$wxUSE_ZLIB" = "yes" ; then
10570 cat >> confdefs.h
<<\EOF
10571 #define wxUSE_ZLIB 1
10574 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10578 if test "$wxUSE_LIBPNG" = "yes" ; then
10579 cat >> confdefs.h
<<\EOF
10580 #define wxUSE_LIBPNG 1
10583 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10587 if test "$wxUSE_LIBGIF" = "yes" ; then
10588 cat >> confdefs.h
<<\EOF
10589 #define wxUSE_LIBGIF 1
10595 if test "$wxUSE_LIBJPEG" = "yes" ; then
10596 cat >> confdefs.h
<<\EOF
10597 #define wxUSE_LIBJPEG 1
10600 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10603 if test "$wxUSE_OPENGL" = "yes"; then
10604 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10605 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10606 echo "configure:10607: checking for GL/gl.h" >&5
10607 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10608 echo $ac_n "(cached) $ac_c" 1>&6
10610 cat > conftest.
$ac_ext <<EOF
10611 #line 10612 "configure"
10612 #include "confdefs.h"
10615 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10616 { (eval echo configure
:10617: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10617 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10618 if test -z "$ac_err"; then
10620 eval "ac_cv_header_$ac_safe=yes"
10623 echo "configure: failed program was:" >&5
10624 cat conftest.
$ac_ext >&5
10626 eval "ac_cv_header_$ac_safe=no"
10630 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10631 echo "$ac_t""yes" 1>&6
10633 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10634 echo "configure:10635: checking for glInitNames in -lGL" >&5
10635 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10636 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10637 echo $ac_n "(cached) $ac_c" 1>&6
10639 ac_save_LIBS
="$LIBS"
10640 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10641 cat > conftest.
$ac_ext <<EOF
10642 #line 10643 "configure"
10643 #include "confdefs.h"
10644 /* Override any gcc2 internal prototype to avoid an error. */
10645 /* We use char because int might match the return type of a gcc2
10646 builtin and then its argument prototype would still apply. */
10647 char glInitNames();
10653 if { (eval echo configure
:10654: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10655 eval "ac_cv_lib_$ac_lib_var=yes"
10657 echo "configure: failed program was:" >&5
10658 cat conftest.
$ac_ext >&5
10660 eval "ac_cv_lib_$ac_lib_var=no"
10663 LIBS
="$ac_save_LIBS"
10666 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10667 echo "$ac_t""yes" 1>&6
10670 cat >> confdefs.h
<<\EOF
10671 #define wxUSE_OPENGL 1
10674 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10677 echo "$ac_t""no" 1>&6
10679 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10680 echo "configure:10681: checking for glInitNames in -lMesaGL" >&5
10681 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10682 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10683 echo $ac_n "(cached) $ac_c" 1>&6
10685 ac_save_LIBS
="$LIBS"
10686 LIBS
="-lMesaGL $LIBS"
10687 cat > conftest.
$ac_ext <<EOF
10688 #line 10689 "configure"
10689 #include "confdefs.h"
10690 /* Override any gcc2 internal prototype to avoid an error. */
10691 /* We use char because int might match the return type of a gcc2
10692 builtin and then its argument prototype would still apply. */
10693 char glInitNames();
10699 if { (eval echo configure
:10700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10701 eval "ac_cv_lib_$ac_lib_var=yes"
10703 echo "configure: failed program was:" >&5
10704 cat conftest.
$ac_ext >&5
10706 eval "ac_cv_lib_$ac_lib_var=no"
10709 LIBS
="$ac_save_LIBS"
10712 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10713 echo "$ac_t""yes" 1>&6
10715 OPENGL_LINK
="-lMesaGL"
10716 cat >> confdefs.h
<<\EOF
10717 #define wxUSE_OPENGL 1
10720 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10723 echo "$ac_t""no" 1>&6
10732 echo "$ac_t""no" 1>&6
10739 if test "$wxUSE_GUI" = "yes"; then
10740 cat >> confdefs.h
<<\EOF
10741 #define wxUSE_GUI 1
10746 cat >> confdefs.h
<<\EOF
10747 #define wxUSE_NOGUI 1
10753 if test "$wxUSE_UNIX" = "yes"; then
10754 cat >> confdefs.h
<<\EOF
10755 #define wxUSE_UNIX 1
10761 if test "$wxUSE_APPLE_IEEE" = "yes"; then
10762 cat >> confdefs.h
<<\EOF
10763 #define wxUSE_APPLE_IEEE 1
10768 if test "$wxUSE_TIMEDATE" = "yes"; then
10769 cat >> confdefs.h
<<\EOF
10770 #define wxUSE_TIMEDATE 1
10773 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
10776 if test "$wxUSE_WAVE" = "yes"; then
10777 cat >> confdefs.h
<<\EOF
10778 #define wxUSE_WAVE 1
10783 if test "$wxUSE_FILE" = "yes"; then
10784 cat >> confdefs.h
<<\EOF
10785 #define wxUSE_FILE 1
10790 if test "$wxUSE_FS_INET" = "yes"; then
10791 cat >> confdefs.h
<<\EOF
10792 #define wxUSE_FS_INET 1
10797 if test "$wxUSE_FS_ZIP" = "yes"; then
10798 cat >> confdefs.h
<<\EOF
10799 #define wxUSE_FS_ZIP 1
10804 if test "$wxUSE_ZIPSTREAM" = "yes"; then
10805 cat >> confdefs.h
<<\EOF
10806 #define wxUSE_ZIPSTREAM 1
10811 if test "$wxUSE_BUSYINFO" = "yes"; then
10812 cat >> confdefs.h
<<\EOF
10813 #define wxUSE_BUSYINFO 1
10818 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
10819 cat >> confdefs.h
<<\EOF
10820 #define wxUSE_STD_IOSTREAM 1
10825 if test "$wxUSE_TEXTFILE" = "yes"; then
10826 if test "$wxUSE_FILE" != "yes"; then
10827 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
10829 cat >> confdefs.h
<<\EOF
10830 #define wxUSE_TEXTFILE 1
10836 if test "$wxUSE_CONFIG" = "yes" ; then
10837 if test "$wxUSE_TEXTFILE" != "yes"; then
10838 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
10840 cat >> confdefs.h
<<\EOF
10841 #define wxUSE_CONFIG 1
10844 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
10848 if test "$wxUSE_INTL" = "yes" ; then
10849 if test "$wxUSE_FILE" != "yes"; then
10850 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
10852 cat >> confdefs.h
<<\EOF
10853 #define wxUSE_INTL 1
10856 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
10860 if test "$wxUSE_LOG" = "yes"; then
10861 cat >> confdefs.h
<<\EOF
10862 #define wxUSE_LOG 1
10867 if test "$wxUSE_LONGLONG" = "yes"; then
10868 cat >> confdefs.h
<<\EOF
10869 #define wxUSE_LONGLONG 1
10874 if test "$wxUSE_SOCKETS" = "yes" ; then
10875 if test "$wxUSE_THREADS" = "yes" ; then
10876 cat >> confdefs.h
<<\EOF
10877 #define wxUSE_SOCKETS 1
10880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
10881 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
10883 echo "configure: warning: Socket classes require --with-threads and won't be compiled without it" 1>&2
10888 if test "$wxUSE_STREAMS" = "yes" ; then
10889 cat >> confdefs.h
<<\EOF
10890 #define wxUSE_STREAMS 1
10895 if test "$wxUSE_SERIAL" = "yes" ; then
10896 cat >> confdefs.h
<<\EOF
10897 #define wxUSE_SERIAL 1
10903 if test "$wxUSE_SOCKETS" = "yes"; then
10906 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10907 ac_cpp
='$CXXCPP $CPPFLAGS'
10908 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10909 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10910 cross_compiling
=$ac_cv_prog_cxx_cross
10912 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
10913 echo "configure:10914: checking the type of the third argument of getsockname" >&5
10914 cat > conftest.
$ac_ext <<EOF
10915 #line 10916 "configure"
10916 #include "confdefs.h"
10917 #include <sys/socket.h>
10919 socklen_t len; getsockname(0, NULL, &len);
10922 if { (eval echo configure
:10923: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10924 cat >> confdefs.h
<<\EOF
10925 #define SOCKLEN_T socklen_t
10927 echo "$ac_t""socklen_t" 1>&6
10929 echo "configure: failed program was:" >&5
10930 cat conftest.
$ac_ext >&5
10932 cat > conftest.
$ac_ext <<EOF
10933 #line 10934 "configure"
10934 #include "confdefs.h"
10935 #include <sys/socket.h>
10937 size_t len; getsockname(0, NULL, &len);
10940 if { (eval echo configure
:10941: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10942 cat >> confdefs.h
<<\EOF
10943 #define SOCKLEN_T size_t
10945 echo "$ac_t""size_t" 1>&6
10947 echo "configure: failed program was:" >&5
10948 cat conftest.
$ac_ext >&5
10950 cat > conftest.
$ac_ext <<EOF
10951 #line 10952 "configure"
10952 #include "confdefs.h"
10953 #include <sys/socket.h>
10955 int len; getsockname(0, NULL, &len);
10958 if { (eval echo configure
:10959: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10960 cat >> confdefs.h
<<\EOF
10961 #define SOCKLEN_T int
10963 echo "$ac_t""int" 1>&6
10965 echo "configure: failed program was:" >&5
10966 cat conftest.
$ac_ext >&5
10968 echo "$ac_t""unknown" 1>&6
10979 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10980 ac_cpp
='$CPP $CPPFLAGS'
10981 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10982 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10983 cross_compiling
=$ac_cv_prog_cc_cross
10988 if test "$wxUSE_JOYSTICK" = 1; then
10989 for ac_hdr
in linux
/joystick.h
10991 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10992 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10993 echo "configure:10994: checking for $ac_hdr" >&5
10994 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10995 echo $ac_n "(cached) $ac_c" 1>&6
10997 cat > conftest.
$ac_ext <<EOF
10998 #line 10999 "configure"
10999 #include "confdefs.h"
11002 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11003 { (eval echo configure
:11004: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11004 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11005 if test -z "$ac_err"; then
11007 eval "ac_cv_header_$ac_safe=yes"
11010 echo "configure: failed program was:" >&5
11011 cat conftest.
$ac_ext >&5
11013 eval "ac_cv_header_$ac_safe=no"
11017 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11018 echo "$ac_t""yes" 1>&6
11019 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11020 cat >> confdefs.h
<<EOF
11021 #define $ac_tr_hdr 1
11025 echo "$ac_t""no" 1>&6
11029 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
11030 cat >> confdefs.h
<<\EOF
11031 #define wxUSE_JOYSTICK 1
11034 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
11041 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
11042 for ac_func
in dlopen
11044 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11045 echo "configure:11046: checking for $ac_func" >&5
11046 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11047 echo $ac_n "(cached) $ac_c" 1>&6
11049 cat > conftest.
$ac_ext <<EOF
11050 #line 11051 "configure"
11051 #include "confdefs.h"
11052 /* System header to define __stub macros and hopefully few prototypes,
11053 which can conflict with char $ac_func(); below. */
11054 #include <assert.h>
11055 /* Override any gcc2 internal prototype to avoid an error. */
11056 /* We use char because int might match the return type of a gcc2
11057 builtin and then its argument prototype would still apply. */
11063 /* The GNU C library defines this for functions which it implements
11064 to always fail with ENOSYS. Some functions are actually named
11065 something starting with __ and the normal name is an alias. */
11066 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11074 if { (eval echo configure
:11075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11076 eval "ac_cv_func_$ac_func=yes"
11078 echo "configure: failed program was:" >&5
11079 cat conftest.
$ac_ext >&5
11081 eval "ac_cv_func_$ac_func=no"
11086 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11087 echo "$ac_t""yes" 1>&6
11088 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11089 cat >> confdefs.h
<<EOF
11090 #define $ac_tr_func 1
11092 cat >> confdefs.h
<<\EOF
11093 #define HAVE_DLOPEN 1
11097 echo "$ac_t""no" 1>&6
11098 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11099 echo "configure:11100: checking for dlopen in -ldl" >&5
11100 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11101 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11102 echo $ac_n "(cached) $ac_c" 1>&6
11104 ac_save_LIBS
="$LIBS"
11106 cat > conftest.
$ac_ext <<EOF
11107 #line 11108 "configure"
11108 #include "confdefs.h"
11109 /* Override any gcc2 internal prototype to avoid an error. */
11110 /* We use char because int might match the return type of a gcc2
11111 builtin and then its argument prototype would still apply. */
11118 if { (eval echo configure
:11119: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11120 eval "ac_cv_lib_$ac_lib_var=yes"
11122 echo "configure: failed program was:" >&5
11123 cat conftest.
$ac_ext >&5
11125 eval "ac_cv_lib_$ac_lib_var=no"
11128 LIBS
="$ac_save_LIBS"
11131 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11132 echo "$ac_t""yes" 1>&6
11133 cat >> confdefs.h
<<\EOF
11134 #define HAVE_DLOPEN 1
11138 echo "$ac_t""no" 1>&6
11144 for ac_func
in shl_load
11146 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11147 echo "configure:11148: checking for $ac_func" >&5
11148 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11149 echo $ac_n "(cached) $ac_c" 1>&6
11151 cat > conftest.
$ac_ext <<EOF
11152 #line 11153 "configure"
11153 #include "confdefs.h"
11154 /* System header to define __stub macros and hopefully few prototypes,
11155 which can conflict with char $ac_func(); below. */
11156 #include <assert.h>
11157 /* Override any gcc2 internal prototype to avoid an error. */
11158 /* We use char because int might match the return type of a gcc2
11159 builtin and then its argument prototype would still apply. */
11165 /* The GNU C library defines this for functions which it implements
11166 to always fail with ENOSYS. Some functions are actually named
11167 something starting with __ and the normal name is an alias. */
11168 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11176 if { (eval echo configure
:11177: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11178 eval "ac_cv_func_$ac_func=yes"
11180 echo "configure: failed program was:" >&5
11181 cat conftest.
$ac_ext >&5
11183 eval "ac_cv_func_$ac_func=no"
11188 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11189 echo "$ac_t""yes" 1>&6
11190 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11191 cat >> confdefs.h
<<EOF
11192 #define $ac_tr_func 1
11194 cat >> confdefs.h
<<\EOF
11195 #define HAVE_SHL_LOAD 1
11197 HAVE_DL_FUNCS
=1 HAVE_SHL_FUNCS
=1
11199 echo "$ac_t""no" 1>&6
11204 if test "$HAVE_DL_FUNCS" = 0; then
11205 if test "$USE_UNIX" = 1; then
11206 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
11208 wxUSE_DYNLIB_CLASS
=no
11210 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
11215 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
11216 cat >> confdefs.h
<<\EOF
11217 #define wxUSE_DYNLIB_CLASS 1
11223 if test "$wxUSE_UNICODE" = "yes" ; then
11224 cat >> confdefs.h
<<\EOF
11225 #define wxUSE_UNICODE 1
11230 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
11231 cat >> confdefs.h
<<\EOF
11232 #define wxUSE_WCSRTOMBS 1
11237 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
11238 cat >> confdefs.h
<<\EOF
11239 #define wxUSE_EXPERIMENTAL_PRINTF 1
11246 if test "$wxUSE_ODBC" = "yes" ; then
11247 cat >> confdefs.h
<<\EOF
11248 #define wxUSE_ODBC 1
11251 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
11255 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
11256 cat >> confdefs.h
<<\EOF
11257 #define wxUSE_POSTSCRIPT 1
11262 cat >> confdefs.h
<<\EOF
11263 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11267 cat >> confdefs.h
<<\EOF
11268 #define wxUSE_NORMALIZED_PS_FONTS 1
11273 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11274 cat >> confdefs.h
<<\EOF
11275 #define wxUSE_CONSTRAINTS 1
11278 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
11281 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11282 cat >> confdefs.h
<<\EOF
11283 #define wxUSE_MDI_ARCHITECTURE 1
11286 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
11289 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11290 cat >> confdefs.h
<<\EOF
11291 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11294 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
11295 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11296 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
11300 if test "$wxUSE_HELP" = "yes"; then
11301 cat >> confdefs.h
<<\EOF
11302 #define wxUSE_HELP 1
11305 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
11308 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11309 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11310 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11312 cat >> confdefs.h
<<\EOF
11313 #define wxUSE_PRINTING_ARCHITECTURE 1
11317 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
11320 if test "$wxUSE_PROLOGIO" = "yes" ; then
11321 cat >> confdefs.h
<<\EOF
11322 #define wxUSE_PROLOGIO 1
11327 if test "$wxUSE_RESOURCES" = "yes" ; then
11328 if test "$wxUSE_PROLOGIO" = "yes" ; then
11329 cat >> confdefs.h
<<\EOF
11330 #define wxUSE_RESOURCES 1
11333 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
11335 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11339 if test "$wxUSE_X_RESOURCES" = "yes"; then
11340 cat >> confdefs.h
<<\EOF
11341 #define wxUSE_X_RESOURCES 1
11347 if test "$wxUSE_IPC" = "yes"; then
11348 cat >> confdefs.h
<<\EOF
11349 #define wxUSE_IPC 1
11354 if test "$wxUSE_CLIPBOARD" = "yes"; then
11355 cat >> confdefs.h
<<\EOF
11356 #define wxUSE_CLIPBOARD 1
11361 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11362 if test "$wxUSE_GTK" = 1; then
11363 if test "$WXGTK12" != 1; then
11364 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11365 wxUSE_DRAG_AND_DROP
=no
11369 if test "$wxUSE_MOTIF" = 1; then
11370 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11371 wxUSE_DRAG_AND_DROP
=no
11374 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
11375 cat >> confdefs.h
<<\EOF
11376 #define wxUSE_DRAG_AND_DROP 1
11379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
11383 if test "$wxUSE_SPLINES" = "yes" ; then
11384 cat >> confdefs.h
<<\EOF
11385 #define wxUSE_SPLINES 1
11391 if test "$wxUSE_ACCEL" = "yes"; then
11392 cat >> confdefs.h
<<\EOF
11393 #define wxUSE_ACCEL 1
11398 if test "$wxUSE_CARET" = "yes"; then
11399 cat >> confdefs.h
<<\EOF
11400 #define wxUSE_CARET 1
11403 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
11406 if test "$wxUSE_COMBOBOX" = "yes"; then
11407 cat >> confdefs.h
<<\EOF
11408 #define wxUSE_COMBOBOX 1
11413 if test "$wxUSE_CHOICE" = "yes"; then
11414 cat >> confdefs.h
<<\EOF
11415 #define wxUSE_CHOICE 1
11420 if test "$wxUSE_BMPBUTTON" = "yes"; then
11421 cat >> confdefs.h
<<\EOF
11422 #define wxUSE_BMPBUTTON 1
11427 if test "$wxUSE_CHECKBOX" = "yes"; then
11428 cat >> confdefs.h
<<\EOF
11429 #define wxUSE_CHECKBOX 1
11434 if test "$wxUSE_CHECKLST" = "yes"; then
11435 cat >> confdefs.h
<<\EOF
11436 #define wxUSE_CHECKLISTBOX 1
11439 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
11442 if test "$wxUSE_GAUGE" = "yes"; then
11443 cat >> confdefs.h
<<\EOF
11444 #define wxUSE_GAUGE 1
11449 if test "$wxUSE_GRID" = "yes"; then
11450 cat >> confdefs.h
<<\EOF
11451 #define wxUSE_GRID 1
11454 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
11457 if test "$wxUSE_IMAGLIST" = "yes"; then
11458 cat >> confdefs.h
<<\EOF
11459 #define wxUSE_IMAGLIST 1
11464 if test "$wxUSE_LISTBOX" = "yes"; then
11465 cat >> confdefs.h
<<\EOF
11466 #define wxUSE_LISTBOX 1
11471 if test "$wxUSE_LISTCTRL" = "yes"; then
11472 if test "$wxUSE_IMAGLIST" = "yes"; then
11473 cat >> confdefs.h
<<\EOF
11474 #define wxUSE_LISTCTRL 1
11477 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
11479 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
11483 if test "$wxUSE_NOTEBOOK" = "yes"; then
11484 cat >> confdefs.h
<<\EOF
11485 #define wxUSE_NOTEBOOK 1
11488 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
11491 if test "$wxUSE_RADIOBOX" = "yes"; then
11492 cat >> confdefs.h
<<\EOF
11493 #define wxUSE_RADIOBOX 1
11498 if test "$wxUSE_RADIOBTN" = "yes"; then
11499 cat >> confdefs.h
<<\EOF
11500 #define wxUSE_RADIOBTN 1
11505 if test "$wxUSE_SASH" = "yes"; then
11506 cat >> confdefs.h
<<\EOF
11507 #define wxUSE_SASH 1
11510 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
11513 if test "$wxUSE_SCROLLBAR" = "yes"; then
11514 cat >> confdefs.h
<<\EOF
11515 #define wxUSE_SCROLLBAR 1
11518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
11521 if test "$wxUSE_SLIDER" = "yes"; then
11522 cat >> confdefs.h
<<\EOF
11523 #define wxUSE_SLIDER 1
11528 if test "$wxUSE_SPINBTN" = "yes"; then
11529 cat >> confdefs.h
<<\EOF
11530 #define wxUSE_SPINBTN 1
11535 if test "$wxUSE_SPLITTER" = "yes"; then
11536 cat >> confdefs.h
<<\EOF
11537 #define wxUSE_SPLITTER 1
11540 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
11543 if test "$wxUSE_STATBMP" = "yes"; then
11544 cat >> confdefs.h
<<\EOF
11545 #define wxUSE_STATBMP 1
11550 if test "$wxUSE_STATBOX" = "yes"; then
11551 cat >> confdefs.h
<<\EOF
11552 #define wxUSE_STATBOX 1
11557 if test "$wxUSE_STATLINE" = "yes"; then
11558 if test "$wxUSE_WINE" = 1 ; then
11559 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
11561 if test "$wxUSE_MOTIF" = 1 ; then
11562 echo "configure: warning: wxStaticLine is not supported under Motif" 1>&2
11564 cat >> confdefs.h
<<\EOF
11565 #define wxUSE_STATLINE 1
11572 if test "$wxUSE_STATUSBAR" = "yes"; then
11573 cat >> confdefs.h
<<\EOF
11574 #define wxUSE_STATUSBAR 1
11579 if test "$wxUSE_TABDIALOG" = "yes"; then
11580 cat >> confdefs.h
<<\EOF
11581 #define wxUSE_TAB_DIALOG 1
11584 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
11587 if test "$wxUSE_TOOLBAR" = "yes"; then
11588 cat >> confdefs.h
<<\EOF
11589 #define wxUSE_TOOLBAR 1
11592 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
11595 if test "$wxUSE_TOOLTIPS" = "yes"; then
11596 if test "$wxUSE_MOTIF" = 1; then
11597 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
11599 if test "$wxUSE_WINE" = 1; then
11600 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
11602 cat >> confdefs.h
<<\EOF
11603 #define wxUSE_TOOLTIPS 1
11610 if test "$wxUSE_TREECTRL" = "yes"; then
11611 if test "$wxUSE_IMAGLIST" = "yes"; then
11612 cat >> confdefs.h
<<\EOF
11613 #define wxUSE_TREECTRL 1
11616 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
11618 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
11624 if test "$wxUSE_METAFILE" = "yes"; then
11625 cat >> confdefs.h
<<\EOF
11626 #define wxUSE_METAFILE 1
11631 if test "$wxUSE_DIRDLG" = "yes"; then
11632 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11633 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
11635 if test "$wxUSE_TREECTRL" != "yes"; then
11636 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
11638 cat >> confdefs.h
<<\EOF
11639 #define wxUSE_DIRDLG 1
11646 if test "$wxUSE_TEXTDLG" = "yes"; then
11647 cat >> confdefs.h
<<\EOF
11648 #define wxUSE_TEXTDLG 1
11653 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
11654 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11655 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
11657 cat >> confdefs.h
<<\EOF
11658 #define wxUSE_STARTUP_TIPS 1
11664 if test "$wxUSE_PROGRESSDLG" = "yes"; then
11665 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11666 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
11668 cat >> confdefs.h
<<\EOF
11669 #define wxUSE_PROGRESSDLG 1
11675 if test "$wxUSE_MINIFRAME" = "yes"; then
11676 cat >> confdefs.h
<<\EOF
11677 #define wxUSE_MINIFRAME 1
11680 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
11683 if test "$wxUSE_HTML" = "yes"; then
11684 cat >> confdefs.h
<<\EOF
11685 #define wxUSE_HTML 1
11688 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
11689 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
11692 if test "$wxUSE_VALIDATORS" = "yes"; then
11693 cat >> confdefs.h
<<\EOF
11694 #define wxUSE_VALIDATORS 1
11697 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
11701 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
11703 EXTRA_LIBS
="$LIBS $POSIX4_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $GUILIBS"
11705 LIBS
="\${top_builddir}/src/${TOOLKIT_DIR}/${WX_LIBRARY_NAME} $EXTRA_LIBS"
11707 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
11709 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
11711 if test "$GXX" = yes ; then
11712 CXXWARNINGS
="-Wall"
11714 EXTRA_CFLAGS
="$WXDEBUG $PROFILE $OPTIMISE $INCLUDES"
11716 CPPFLAGS
="-I\${top_srcdir}/include $CPPFLAGS"
11717 CFLAGS
="$CFLAGS $EXTRA_CFLAGS"
11718 CXXFLAGS
="$CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS"
11720 if test "$wxUSE_GUI" = "yes"; then
11722 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
11723 forty fractal image wxpoem"
11726 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
11776 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
11777 echo "configure:11778: checking whether ${MAKE-make} sets \${MAKE}" >&5
11778 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
11779 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
11780 echo $ac_n "(cached) $ac_c" 1>&6
11782 cat > conftestmake
<<\EOF
11784 @
echo 'ac_maketemp="${MAKE}"'
11786 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11787 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
11788 if test -n "$ac_maketemp"; then
11789 eval ac_cv_prog_make_
${ac_make}_set
=yes
11791 eval ac_cv_prog_make_
${ac_make}_set
=no
11795 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
11796 echo "$ac_t""yes" 1>&6
11799 echo "$ac_t""no" 1>&6
11800 SET_MAKE
="MAKE=${MAKE-make}"
11808 cat > confcache
<<\EOF
11809 # This file is a shell script that caches the results of configure
11810 # tests run on this system so they can be shared between configure
11811 # scripts and configure runs. It is not useful on other systems.
11812 # If it contains results you don't want to keep, you may remove or edit it.
11814 # By default, configure uses ./config.cache as the cache file,
11815 # creating it if it does not exist already. You can give configure
11816 # the --cache-file=FILE option to use a different cache file; that is
11817 # what configure does when it calls configure scripts in
11818 # subdirectories, so they share the cache.
11819 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11820 # config.status only pays attention to the cache file if you give it the
11821 # --recheck option to rerun configure.
11824 # The following way of writing the cache mishandles newlines in values,
11825 # but we know of no workaround that is simple, portable, and efficient.
11826 # So, don't put newlines in cache variables' values.
11827 # Ultrix sh set writes to stderr and can't be redirected directly,
11828 # and sets the high bit in the cache file unless we assign to the vars.
11830 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11832 # `set' does not quote correctly, so add quotes (double-quote substitution
11833 # turns \\\\ into \\, and sed turns \\ into \).
11835 -e "s/'/'\\\\''/g" \
11836 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11839 # `set' quotes correctly as required by POSIX, so do not add quotes.
11840 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11843 if cmp -s $cache_file confcache
; then
11846 if test -w $cache_file; then
11847 echo "updating cache $cache_file"
11848 cat confcache
> $cache_file
11850 echo "not updating unwritable cache $cache_file"
11855 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
11857 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11858 # Let make expand exec_prefix.
11859 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11861 # Any assignment to VPATH causes Sun make to only execute
11862 # the first set of double-colon rules, so remove it if not needed.
11863 # If there is a colon in the path, we need to keep it.
11864 if test "x$srcdir" = x.
; then
11865 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
11868 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
11870 DEFS
=-DHAVE_CONFIG_H
11872 # Without the "./", some shells look in PATH for config.status.
11873 : ${CONFIG_STATUS=./config.status}
11875 echo creating
$CONFIG_STATUS
11876 rm -f $CONFIG_STATUS
11877 cat > $CONFIG_STATUS <<EOF
11879 # Generated automatically by configure.
11880 # Run this file to recreate the current configuration.
11881 # This directory was configured as follows,
11882 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11884 # $0 $ac_configure_args
11886 # Compiler output produced by configure, useful for debugging
11887 # configure, is in ./config.log if it exists.
11889 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
11892 case "\$ac_option" in
11893 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11894 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
11895 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
11896 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
11897 echo "$CONFIG_STATUS generated by autoconf version 2.14"
11899 -help | --help | --hel | --he | --h)
11900 echo "\$ac_cs_usage"; exit 0 ;;
11901 *) echo "\$ac_cs_usage"; exit 1 ;;
11905 ac_given_srcdir=$srcdir
11906 ac_given_INSTALL="$INSTALL"
11908 trap 'rm -fr `echo "
11915 samples/bombs/Makefile
11916 samples/caret/Makefile
11917 samples/checklst/Makefile
11918 samples/config/Makefile
11919 samples/controls/Makefile
11920 samples/dialogs/Makefile
11921 samples/docview/Makefile
11922 samples/docvwmdi/Makefile
11923 samples/dnd/Makefile
11924 samples/drawing/Makefile
11925 samples/dynamic/Makefile
11926 samples/image/Makefile
11927 samples/layout/Makefile
11928 samples/listctrl/Makefile
11929 samples/mdi/Makefile
11930 samples/minifram/Makefile
11931 samples/minimal/Makefile
11932 samples/notebook/Makefile
11933 samples/printing/Makefile
11934 samples/proplist/Makefile
11935 samples/sashtest/Makefile
11936 samples/scroll/Makefile
11937 samples/splitter/Makefile
11938 samples/text/Makefile
11939 samples/thread/Makefile
11940 samples/toolbar/Makefile
11941 samples/treectrl/Makefile
11942 samples/typetest/Makefile
11943 samples/validate/Makefile
11944 samples/wxpoem/Makefile
11945 samples/wxsocket/Makefile
11946 samples/wizard/Makefile
11947 samples/html/Makefile
11948 samples/html/about/Makefile
11949 samples/html/help/Makefile
11950 samples/html/printing/Makefile
11951 samples/html/test/Makefile
11952 samples/html/zip/Makefile
11953 samples/html/virtual/Makefile
11954 samples/html/widget/Makefile
11956 utils/wxMMedia2/Makefile
11957 utils/wxMMedia2/lib/Makefile
11958 utils/wxMMedia2/sample/Makefile
11959 utils/glcanvas/Makefile
11960 utils/glcanvas/${TOOLKIT_DIR}/Makefile
11961 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
11963 cat >> $CONFIG_STATUS <<EOF
11965 # Protect against being on the right side of a sed subst in config.status.
11966 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
11967 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
11971 s%@CFLAGS@%$CFLAGS%g
11972 s%@CPPFLAGS@%$CPPFLAGS%g
11973 s%@CXXFLAGS@%$CXXFLAGS%g
11974 s%@FFLAGS@%$FFLAGS%g
11976 s%@LDFLAGS@%$LDFLAGS%g
11978 s%@exec_prefix@%$exec_prefix%g
11979 s%@prefix@%$prefix%g
11980 s%@program_transform_name@%$program_transform_name%g
11981 s%@bindir@%$bindir%g
11982 s%@sbindir@%$sbindir%g
11983 s%@libexecdir@%$libexecdir%g
11984 s%@datadir@%$datadir%g
11985 s%@sysconfdir@%$sysconfdir%g
11986 s%@sharedstatedir@%$sharedstatedir%g
11987 s%@localstatedir@%$localstatedir%g
11988 s%@libdir@%$libdir%g
11989 s%@includedir@%$includedir%g
11990 s%@oldincludedir@%$oldincludedir%g
11991 s%@infodir@%$infodir%g
11992 s%@mandir@%$mandir%g
11994 s%@host_alias@%$host_alias%g
11995 s%@host_cpu@%$host_cpu%g
11996 s%@host_vendor@%$host_vendor%g
11997 s%@host_os@%$host_os%g
11998 s%@target@%$target%g
11999 s%@target_alias@%$target_alias%g
12000 s%@target_cpu@%$target_cpu%g
12001 s%@target_vendor@%$target_vendor%g
12002 s%@target_os@%$target_os%g
12004 s%@build_alias@%$build_alias%g
12005 s%@build_cpu@%$build_cpu%g
12006 s%@build_vendor@%$build_vendor%g
12007 s%@build_os@%$build_os%g
12011 s%@CXXCPP@%$CXXCPP%g
12012 s%@RANLIB@%$RANLIB%g
12014 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
12015 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
12016 s%@INSTALL_DATA@%$INSTALL_DATA%g
12020 s%@LEXLIB@%$LEXLIB%g
12022 s%@GTK_CONFIG@%$GTK_CONFIG%g
12023 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
12024 s%@GTK_LIBS@%$GTK_LIBS%g
12025 s%@X_CFLAGS@%$X_CFLAGS%g
12026 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
12027 s%@X_LIBS@%$X_LIBS%g
12028 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
12029 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
12030 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
12031 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
12032 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
12033 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
12034 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
12035 s%@WX_LIBRARY@%$WX_LIBRARY%g
12036 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
12037 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
12038 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
12039 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
12040 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
12041 s%@WX_CREATE_LINKS@%$WX_CREATE_LINKS%g
12042 s%@WX_CREATE_INSTALLED_LINKS@%$WX_CREATE_INSTALLED_LINKS%g
12043 s%@SHARED_LD@%$SHARED_LD%g
12044 s%@PIC_FLAG@%$PIC_FLAG%g
12045 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
12046 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
12047 s%@TOOLKIT@%$TOOLKIT%g
12048 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
12049 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
12050 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
12051 s%@GUIHEADERS@%$GUIHEADERS%g
12052 s%@GUIOBJS@%$GUIOBJS%g
12053 s%@COMMONOBJS@%$COMMONOBJS%g
12054 s%@GENERICOBJS@%$GENERICOBJS%g
12055 s%@GUIDEPS@%$GUIDEPS%g
12056 s%@COMMONDEPS@%$COMMONDEPS%g
12057 s%@GENERICDEPS@%$GENERICDEPS%g
12058 s%@UNIXOBJS@%$UNIXOBJS%g
12059 s%@GUIDIST@%$GUIDIST%g
12060 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
12061 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
12062 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
12063 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
12064 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
12065 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
12066 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
12067 s%@LD_LIBS@%$LD_LIBS%g
12068 s%@SET_MAKE@%$SET_MAKE%g
12073 cat >> $CONFIG_STATUS <<\EOF
12075 # Split the substitutions into bite-sized pieces for seds with
12076 # small command number limits, like on Digital OSF/1 and HP-UX.
12077 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
12078 ac_file
=1 # Number of current file.
12079 ac_beg
=1 # First line for current file.
12080 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
12083 while $ac_more_lines; do
12084 if test $ac_beg -gt 1; then
12085 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
12087 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
12089 if test ! -s conftest.s
$ac_file; then
12090 ac_more_lines
=false
12091 rm -f conftest.s
$ac_file
12093 if test -z "$ac_sed_cmds"; then
12094 ac_sed_cmds
="sed -f conftest.s$ac_file"
12096 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
12098 ac_file
=`expr $ac_file + 1`
12100 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
12103 if test -z "$ac_sed_cmds"; then
12108 cat >> $CONFIG_STATUS <<EOF
12110 CONFIG_FILES=\${CONFIG_FILES-"wx-config
12116 samples/bombs/Makefile
12117 samples/caret/Makefile
12118 samples/checklst/Makefile
12119 samples/config/Makefile
12120 samples/controls/Makefile
12121 samples/dialogs/Makefile
12122 samples/docview/Makefile
12123 samples/docvwmdi/Makefile
12124 samples/dnd/Makefile
12125 samples/drawing/Makefile
12126 samples/dynamic/Makefile
12127 samples/image/Makefile
12128 samples/layout/Makefile
12129 samples/listctrl/Makefile
12130 samples/mdi/Makefile
12131 samples/minifram/Makefile
12132 samples/minimal/Makefile
12133 samples/notebook/Makefile
12134 samples/printing/Makefile
12135 samples/proplist/Makefile
12136 samples/sashtest/Makefile
12137 samples/scroll/Makefile
12138 samples/splitter/Makefile
12139 samples/text/Makefile
12140 samples/thread/Makefile
12141 samples/toolbar/Makefile
12142 samples/treectrl/Makefile
12143 samples/typetest/Makefile
12144 samples/validate/Makefile
12145 samples/wxpoem/Makefile
12146 samples/wxsocket/Makefile
12147 samples/wizard/Makefile
12148 samples/html/Makefile
12149 samples/html/about/Makefile
12150 samples/html/help/Makefile
12151 samples/html/printing/Makefile
12152 samples/html/test/Makefile
12153 samples/html/zip/Makefile
12154 samples/html/virtual/Makefile
12155 samples/html/widget/Makefile
12157 utils/wxMMedia2/Makefile
12158 utils/wxMMedia2/lib/Makefile
12159 utils/wxMMedia2/sample/Makefile
12160 utils/glcanvas/Makefile
12161 utils/glcanvas/${TOOLKIT_DIR}/Makefile
12164 cat >> $CONFIG_STATUS <<\EOF
12165 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
12166 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12168 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12169 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12170 *) ac_file_in
="${ac_file}.in" ;;
12173 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12175 # Remove last slash and all that follows it. Not all systems have dirname.
12176 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12177 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
12178 # The file is in a subdirectory.
12179 test ! -d "$ac_dir" && mkdir "$ac_dir"
12180 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
12181 # A "../" for each directory in $ac_dir_suffix.
12182 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12184 ac_dir_suffix
= ac_dots
=
12187 case "$ac_given_srcdir" in
12189 if test -z "$ac_dots"; then top_srcdir
=.
12190 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12191 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
12192 *) # Relative path.
12193 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12194 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12197 case "$ac_given_INSTALL" in
12198 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
12199 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
12202 echo creating
"$ac_file"
12204 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12206 *Makefile
*) ac_comsub
="1i\\
12207 # $configure_input" ;;
12211 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12213 s%@configure_input@%$configure_input%g
12214 s%@srcdir@%$srcdir%g
12215 s%@top_srcdir@%$top_srcdir%g
12216 s%@INSTALL@%$INSTALL%g
12217 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12221 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12222 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12224 # ac_d sets the value in "#define NAME VALUE" lines.
12225 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12226 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
12229 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12230 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12231 ac_uB
='\([ ]\)%\1#\2define\3'
12234 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12235 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12236 ac_eB
='$%\1#\2define\3'
12240 if test "${CONFIG_HEADERS+set}" != set; then
12242 cat >> $CONFIG_STATUS <<EOF
12243 CONFIG_HEADERS="setup.h:setup.h.in"
12245 cat >> $CONFIG_STATUS <<\EOF
12247 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
12248 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12250 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12251 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12252 *) ac_file_in
="${ac_file}.in" ;;
12255 echo creating
$ac_file
12257 rm -f conftest.frag conftest.
in conftest.out
12258 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12259 cat $ac_file_inputs > conftest.
in
12263 # Transform confdefs.h into a sed script conftest.vals that substitutes
12264 # the proper values into config.h.in to produce config.h. And first:
12265 # Protect against being on the right side of a sed subst in config.status.
12266 # Protect against being in an unquoted here document in config.status.
12267 rm -f conftest.vals
12268 cat > conftest.hdr
<<\EOF
12271 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12275 sed -n -f conftest.hdr confdefs.h > conftest.vals
12278 # This sed command replaces #undef with comments. This is necessary, for
12279 # example, in the case of _POSIX_SOURCE, which is predefined and required
12280 # on some systems where configure will not decide to define it.
12281 cat >> conftest.vals <<\EOF
12282 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12285 # Break up conftest.vals because some shells have a limit on
12286 # the size of here documents, and old seds have small limits too.
12288 rm -f conftest.tail
12291 ac_lines=`grep -c . conftest.vals
`
12292 # grep -c gives empty output for an empty file on some AIX systems.
12293 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12294 # Write a limited-size here document to conftest.frag.
12295 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12296 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12298 sed -f conftest.frag conftest.in > conftest.out
12300 mv conftest.out conftest.in
12301 ' >> $CONFIG_STATUS
12302 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12303 rm -f conftest.vals
12304 mv conftest.tail conftest.vals
12306 rm -f conftest.vals
12308 cat >> $CONFIG_STATUS <<\EOF
12309 rm -f conftest.frag conftest.h
12310 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12311 cat conftest.in >> conftest.h
12313 if cmp -s $ac_file conftest.h 2>/dev/null; then
12314 echo "$ac_file is unchanged"
12317 # Remove last slash and all that follows it. Not all systems have dirname.
12318 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12319 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12320 # The file is in a subdirectory.
12321 test ! -d "$ac_dir" && mkdir "$ac_dir"
12324 mv conftest.h $ac_file
12329 cat >> $CONFIG_STATUS <<EOF
12331 LN_S="${ac_cv_prog_LN_S}"
12332 TOOLKIT_DIR="${TOOLKIT_DIR}"
12336 cat >> $CONFIG_STATUS <<\EOF
12339 if test ! -d include; then
12342 if test ! -d include/wx; then
12345 if test ! -d include/wx/${TOOLKIT_DIR}; then
12346 mkdir include/wx/${TOOLKIT_DIR}
12348 cp -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
12352 chmod +x $CONFIG_STATUS
12353 rm -fr confdefs* $ac_clean_files
12354 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1