3 # From configure.in Id: configure.in
40 # Guess values for system-dependent variables and create Makefiles.
41 # Generated automatically using autoconf version 2.13
42 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
44 # This configure script is free software; the Free Software Foundation
45 # gives unlimited permission to copy, distribute and modify it.
49 ac_default_prefix
=/usr
/local
50 # Any additions from configure.in:
52 --enable-gui use GUI classes"
56 --with-motif use Motif/Lesstif"
60 --with-cygwin use Cygwin for MS-Windows"
62 --with-mingw use GCC Minimal MS-Windows"
64 --with-pm use OS/2 Presentation Manager"
66 --with-gtk-prefix=PFX Prefix where GTK is installed"
68 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
70 --with-libpng use libpng (PNG image format)"
72 --with-libjpeg use libjpeg (JPEG file format)"
74 --with-libtiff use libtiff (TIFF file format)"
76 --with-opengl use OpenGL (or Mesa)"
78 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
80 --with-zlib use zlib for LZW compression"
82 --with-odbc use the IODBC and wxODBC classes"
84 --enable-shared create shared library code"
86 --enable-optimise create optimised code"
88 --enable-debug same as debug_flag and debug_info"
90 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
92 --enable-debug_info create code with debugging information"
94 --enable-debug_gdb create code with extra GDB debugging information"
96 --enable-debug_cntxt use wxDebugContext"
98 --enable-mem_tracing create code with memory tracing"
100 --enable-profile create code with profiling information"
102 --enable-no_rtti create code without RTTI information"
104 --enable-no_exceptions create code without exceptions information"
106 --enable-permissive compile code disregarding strict ANSI"
108 --enable-no_deps create code without dependency information"
110 --enable-intl use internationalization system"
112 --enable-config use wxConfig (and derived) classes"
114 --enable-sockets use socket/network classes"
116 --enable-dialupman use dialup network classes"
118 --enable-ipc use interprocess communication (wxSocket etc.)"
120 --enable-apple_ieee use the Apple IEEE codec"
122 --enable-timedate use date/time classes"
124 --enable-wave use wxWave class"
126 --enable-fraction use wxFraction class"
128 --enable-dynlib use wxLibrary class for DLL loading"
130 --enable-longlong use wxLongLong class"
132 --enable-log use logging system"
134 --enable-streams use wxStream etc classes"
136 --enable-file use wxFile classes"
138 --enable-textfile use wxTextFile classes"
140 --enable-unicode compile wxString with Unicode support"
142 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
144 --enable-wxprintfv use wxWindows implementation of vprintf()"
146 --enable-joystick compile in joystick support (Linux only)"
148 --enable-std_iostreams use standard C++ stream classes"
150 --enable-fs_inet use virtual HTTP/FTP filesystems"
152 --enable-fs_zip use virtual ZIP filesystems"
154 --enable-zipstream use wxZipInputStream"
156 --enable-threads use threads"
158 --enable-serial use class serialization"
160 --enable-docview use document view architecture"
162 --enable-help use help (using external browser at present)"
164 --enable-constraints use layout-constraints system"
166 --enable-printarch use printing architecture"
168 --enable-mdi use multiple document interface architecture"
170 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
172 --enable-prologio use Prolog IO library"
174 --enable-resources use wxWindows resources"
176 --enable-xresources use X resources for save (default for gtk+)"
178 --enable-clipboard use wxClipboard classes"
180 --enable-dnd use Drag'n'Drop classes"
182 --enable-wxtree make wxTree library"
184 --enable-controls use all usual controls"
186 --enable-accel use accelerators"
188 --enable-caret use wxCaret class"
190 --enable-bmpbutton use wxBitmapButton class"
192 --enable-checkbox use wxCheckBox class"
194 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
196 --enable-choice use wxChoice class"
198 --enable-combobox use wxComboBox classes"
200 --enable-gauge use wxGauge class"
202 --enable-grid use wxGrid class"
204 --enable-newgrid use new wxGrid class"
206 --enable-imaglist use wxImageList class"
208 --enable-listbox use wxListBox class"
210 --enable-listctrl use wxListCtrl class"
212 --enable-notebook use wxNotebook class"
214 --enable-radiobox use wxRadioBox class"
216 --enable-radiobtn use wxRadioButton class"
218 --enable-sash use wxSashWindow class"
220 --enable-scrollbar use wxScrollBar class and scrollable windows"
222 --enable-slider use wxSlider class"
224 --enable-spinbtn use wxSpinButton class"
226 --enable-spinctrl use wxSpinCtrl class"
228 --enable-splitter use wxSplitterWindow class"
230 --enable-statbmp use wxStaticBitmap class"
232 --enable-statbox use wxStaticBox class"
234 --enable-statline use wxStaticLine class"
236 --enable-statusbar use wxStatusBar class"
238 --enable-tabdialog use wxTabControl class"
240 --enable-toolbar use wxToolBar class"
242 --enable-tbarnative use native wxToolBar class"
244 --enable-tbarsmpl use wxToolBarSimple class"
246 --enable-treectrl use wxTreeCtrl class"
248 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
250 --enable-dirdlg use wxDirDialog"
252 --enable-textdlg use wxTextDialog"
254 --enable-tipdlg use startup tips"
256 --enable-progressdlg use wxProgressDialog"
258 --enable-miniframe use wxMiniFrame class"
260 --enable-html use wxHTML sub-library"
262 --enable-tooltips use wxToolTip class"
264 --enable-splines use spline drawing code"
266 --enable-validators use wxValidator and derived classes"
268 --enable-busyinfo use wxBusyInfo"
270 --enable-gif use gif images (GIF file format)"
272 --enable-pcx use pcx images (PCX file format)"
274 --enable-pnm use pnm images (PNM file format)"
276 --with-x use the X Window System"
278 # Initialize some variables set by options.
279 # The variables have the same names as the options, with
280 # dashes changed to underlines.
282 cache_file
=.
/config.cache
291 program_transform_name
=s
,x
,x
,
299 bindir
='${exec_prefix}/bin'
300 sbindir
='${exec_prefix}/sbin'
301 libexecdir
='${exec_prefix}/libexec'
302 datadir
='${prefix}/share'
303 sysconfdir
='${prefix}/etc'
304 sharedstatedir
='${prefix}/com'
305 localstatedir
='${prefix}/var'
306 libdir
='${exec_prefix}/lib'
307 includedir
='${prefix}/include'
308 oldincludedir
='/usr/include'
309 infodir
='${prefix}/info'
310 mandir
='${prefix}/man'
312 # Initialize some other variables.
315 SHELL
=${CONFIG_SHELL-/bin/sh}
316 # Maximum number of lines to put in a shell here document.
323 # If the previous option needs an argument, assign it.
324 if test -n "$ac_prev"; then
325 eval "$ac_prev=\$ac_option"
331 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
335 # Accept the important Cygnus configure options, so we can diagnose typos.
339 -bindir | --bindir | --bindi | --bind | --bin | --bi)
341 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
342 bindir
="$ac_optarg" ;;
344 -build | --build | --buil | --bui | --bu)
346 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
347 build
="$ac_optarg" ;;
349 -cache-file | --cache-file | --cache-fil | --cache-fi \
350 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
351 ac_prev
=cache_file
;;
352 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
353 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
354 cache_file
="$ac_optarg" ;;
356 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
358 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
360 datadir
="$ac_optarg" ;;
362 -disable-* | --disable-*)
363 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
364 # Reject names that are not valid shell variable names.
365 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
366 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
368 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
369 eval "enable_${ac_feature}=no" ;;
371 -enable-* | --enable-*)
372 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
373 # Reject names that are not valid shell variable names.
374 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
375 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
377 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
382 eval "enable_${ac_feature}='$ac_optarg'" ;;
384 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
385 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
386 | --exec | --exe | --ex)
387 ac_prev
=exec_prefix
;;
388 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
389 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
390 | --exec=* | --exe=* | --ex=*)
391 exec_prefix
="$ac_optarg" ;;
393 -gas | --gas | --ga | --g)
394 # Obsolete; use --with-gas.
397 -help | --help | --hel | --he)
398 # Omit some internal or obsolete options to make the list less imposing.
399 # This message is too long to be a string in the A/UX 3.1 sh.
401 Usage: configure [options] [host]
402 Options: [defaults in brackets after descriptions]
404 --cache-file=FILE cache test results in FILE
405 --help print this message
406 --no-create do not create output files
407 --quiet, --silent do not print \`checking...' messages
408 --version print the version of autoconf that created configure
409 Directory and file names:
410 --prefix=PREFIX install architecture-independent files in PREFIX
412 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
414 --bindir=DIR user executables in DIR [EPREFIX/bin]
415 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
416 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
417 --datadir=DIR read-only architecture-independent data in DIR
419 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
420 --sharedstatedir=DIR modifiable architecture-independent data in DIR
422 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
423 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
424 --includedir=DIR C header files in DIR [PREFIX/include]
425 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
426 --infodir=DIR info documentation in DIR [PREFIX/info]
427 --mandir=DIR man documentation in DIR [PREFIX/man]
428 --srcdir=DIR find the sources in DIR [configure dir or ..]
429 --program-prefix=PREFIX prepend PREFIX to installed program names
430 --program-suffix=SUFFIX append SUFFIX to installed program names
431 --program-transform-name=PROGRAM
432 run sed PROGRAM on installed program names
436 --build=BUILD configure for building on BUILD [BUILD=HOST]
437 --host=HOST configure for HOST [guessed]
438 --target=TARGET configure for TARGET [TARGET=HOST]
439 Features and packages:
440 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
441 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
442 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
443 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
444 --x-includes=DIR X include files are in DIR
445 --x-libraries=DIR X library files are in DIR
447 if test -n "$ac_help"; then
448 echo "--enable and --with options recognized:$ac_help"
452 -host | --host | --hos | --ho)
454 -host=* | --host=* | --hos=* | --ho=*)
457 -includedir | --includedir | --includedi | --included | --include \
458 | --includ | --inclu | --incl | --inc)
459 ac_prev
=includedir
;;
460 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
461 | --includ=* | --inclu=* | --incl=* | --inc=*)
462 includedir
="$ac_optarg" ;;
464 -infodir | --infodir | --infodi | --infod | --info | --inf)
466 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
467 infodir
="$ac_optarg" ;;
469 -libdir | --libdir | --libdi | --libd)
471 -libdir=* | --libdir=* | --libdi=* | --libd=*)
472 libdir
="$ac_optarg" ;;
474 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
475 | --libexe | --libex | --libe)
476 ac_prev
=libexecdir
;;
477 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
478 | --libexe=* | --libex=* | --libe=*)
479 libexecdir
="$ac_optarg" ;;
481 -localstatedir | --localstatedir | --localstatedi | --localstated \
482 | --localstate | --localstat | --localsta | --localst \
483 | --locals | --local | --loca | --loc | --lo)
484 ac_prev
=localstatedir
;;
485 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
486 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
487 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
488 localstatedir
="$ac_optarg" ;;
490 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
492 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
493 mandir
="$ac_optarg" ;;
496 # Obsolete; use --without-fp.
499 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
503 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
504 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
507 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
508 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
509 | --oldin | --oldi | --old | --ol | --o)
510 ac_prev
=oldincludedir
;;
511 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
512 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
513 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
514 oldincludedir
="$ac_optarg" ;;
516 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
518 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
519 prefix
="$ac_optarg" ;;
521 -program-prefix | --program-prefix | --program-prefi | --program-pref \
522 | --program-pre | --program-pr | --program-p)
523 ac_prev
=program_prefix
;;
524 -program-prefix=* | --program-prefix=* | --program-prefi=* \
525 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
526 program_prefix
="$ac_optarg" ;;
528 -program-suffix | --program-suffix | --program-suffi | --program-suff \
529 | --program-suf | --program-su | --program-s)
530 ac_prev
=program_suffix
;;
531 -program-suffix=* | --program-suffix=* | --program-suffi=* \
532 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
533 program_suffix
="$ac_optarg" ;;
535 -program-transform-name | --program-transform-name \
536 | --program-transform-nam | --program-transform-na \
537 | --program-transform-n | --program-transform- \
538 | --program-transform | --program-transfor \
539 | --program-transfo | --program-transf \
540 | --program-trans | --program-tran \
541 | --progr-tra | --program-tr | --program-t)
542 ac_prev
=program_transform_name
;;
543 -program-transform-name=* | --program-transform-name=* \
544 | --program-transform-nam=* | --program-transform-na=* \
545 | --program-transform-n=* | --program-transform-=* \
546 | --program-transform=* | --program-transfor=* \
547 | --program-transfo=* | --program-transf=* \
548 | --program-trans=* | --program-tran=* \
549 | --progr-tra=* | --program-tr=* | --program-t=*)
550 program_transform_name
="$ac_optarg" ;;
552 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
553 | -silent | --silent | --silen | --sile | --sil)
556 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
558 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
560 sbindir
="$ac_optarg" ;;
562 -sharedstatedir | --sharedstatedir | --sharedstatedi \
563 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
564 | --sharedst | --shareds | --shared | --share | --shar \
566 ac_prev
=sharedstatedir
;;
567 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
568 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
569 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
571 sharedstatedir
="$ac_optarg" ;;
573 -site | --site | --sit)
575 -site=* | --site=* | --sit=*)
578 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
580 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
581 srcdir
="$ac_optarg" ;;
583 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
584 | --syscon | --sysco | --sysc | --sys | --sy)
585 ac_prev
=sysconfdir
;;
586 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
587 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
588 sysconfdir
="$ac_optarg" ;;
590 -target | --target | --targe | --targ | --tar | --ta | --t)
592 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
593 target
="$ac_optarg" ;;
595 -v | -verbose | --verbose | --verbos | --verbo | --verb)
598 -version | --version | --versio | --versi | --vers)
599 echo "configure generated by autoconf version 2.13"
603 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
604 # Reject names that are not valid shell variable names.
605 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
606 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
608 ac_package
=`echo $ac_package| sed 's/-/_/g'`
613 eval "with_${ac_package}='$ac_optarg'" ;;
615 -without-* | --without-*)
616 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
617 # Reject names that are not valid shell variable names.
618 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
619 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
621 ac_package
=`echo $ac_package| sed 's/-/_/g'`
622 eval "with_${ac_package}=no" ;;
625 # Obsolete; use --with-x.
628 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
629 | --x-incl | --x-inc | --x-in | --x-i)
630 ac_prev
=x_includes
;;
631 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
632 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
633 x_includes
="$ac_optarg" ;;
635 -x-libraries | --x-libraries | --x-librarie | --x-librari \
636 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
637 ac_prev
=x_libraries
;;
638 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
639 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
640 x_libraries
="$ac_optarg" ;;
642 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
646 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
647 echo "configure: warning: $ac_option: invalid host type" 1>&2
649 if test "x$nonopt" != xNONE
; then
650 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
658 if test -n "$ac_prev"; then
659 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
662 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
664 # File descriptor usage:
667 # 2 errors and warnings
668 # 3 some systems may open it to /dev/tty
669 # 4 used on the Kubota Titan
670 # 6 checking for... messages and results
671 # 5 compiler messages saved in config.log
672 if test "$silent" = yes; then
680 This file contains any messages produced by compilers while
681 running configure, to aid debugging if configure makes a mistake.
684 # Strip out --no-create and --no-recursion so they do not pile up.
685 # Also quote any args containing shell metacharacters.
690 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
691 | --no-cr | --no-c) ;;
692 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
693 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
694 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
695 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
696 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
701 # Only set these to C if already set. These must not be set unconditionally
702 # because not all systems understand e.g. LANG=C (notably SCO).
703 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
704 # Non-C LC_CTYPE values break the ctype check.
705 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
706 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
707 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
708 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
710 # confdefs.h avoids OS command line length limits that DEFS can exceed.
711 rm -rf conftest
* confdefs.h
712 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
715 # A filename unique to this package, relative to the directory that
716 # configure is in, which we can look for to find out if srcdir is correct.
717 ac_unique_file
=wx
-config.
in
719 # Find the source files, if location was not specified.
720 if test -z "$srcdir"; then
721 ac_srcdir_defaulted
=yes
722 # Try the directory containing this script, then its parent.
724 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
725 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
727 if test ! -r $srcdir/$ac_unique_file; then
731 ac_srcdir_defaulted
=no
733 if test ! -r $srcdir/$ac_unique_file; then
734 if test "$ac_srcdir_defaulted" = yes; then
735 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
737 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
740 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
742 # Prefer explicitly selected file to automatically selected ones.
743 if test -z "$CONFIG_SITE"; then
744 if test "x$prefix" != xNONE
; then
745 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
747 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
750 for ac_site_file
in $CONFIG_SITE; do
751 if test -r "$ac_site_file"; then
752 echo "loading site script $ac_site_file"
757 if test -r "$cache_file"; then
758 echo "loading cache $cache_file"
761 echo "creating cache $cache_file"
766 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
767 ac_cpp
='$CPP $CPPFLAGS'
768 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
769 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
770 cross_compiling
=$ac_cv_prog_cc_cross
774 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
775 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
776 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
783 ac_n
= ac_c
='\c' ac_t
=
789 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
790 if test -f $ac_dir/install-sh; then
792 ac_install_sh
="$ac_aux_dir/install-sh -c"
794 elif test -f $ac_dir/install.sh
; then
796 ac_install_sh
="$ac_aux_dir/install.sh -c"
800 if test -z "$ac_aux_dir"; then
801 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
803 ac_config_guess
=$ac_aux_dir/config.guess
804 ac_config_sub
=$ac_aux_dir/config.sub
805 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
808 # Do some error checking and defaulting for the host and target type.
810 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
813 # 1. You are not allowed to specify --host, --target, and nonopt at the
815 # 2. Host defaults to nonopt.
816 # 3. If nonopt is not specified, then host defaults to the current host,
817 # as determined by config.guess.
818 # 4. Target and build default to nonopt.
819 # 5. If nonopt is not specified, then target and build default to host.
821 # The aliases save the names the user supplied, while $host etc.
822 # will get canonicalized.
823 case $host---$target---$nonopt in
824 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
825 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
829 # Make sure we can run config.sub.
830 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
831 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
834 echo $ac_n "checking host system type""... $ac_c" 1>&6
835 echo "configure:836: checking host system type" >&5
838 case "$host_alias" in
842 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
843 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
845 *) host_alias
=$nonopt ;;
849 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
850 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
851 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
852 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
853 echo "$ac_t""$host" 1>&6
855 echo $ac_n "checking target system type""... $ac_c" 1>&6
856 echo "configure:857: checking target system type" >&5
859 case "$target_alias" in
862 NONE
) target_alias
=$host_alias ;;
863 *) target_alias
=$nonopt ;;
867 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
868 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
869 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
870 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
871 echo "$ac_t""$target" 1>&6
873 echo $ac_n "checking build system type""... $ac_c" 1>&6
874 echo "configure:875: checking build system type" >&5
877 case "$build_alias" in
880 NONE
) build_alias
=$host_alias ;;
881 *) build_alias
=$nonopt ;;
885 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
886 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
887 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
888 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
889 echo "$ac_t""$build" 1>&6
891 test "$host_alias" != "$target_alias" &&
892 test "$program_prefix$program_suffix$program_transform_name" = \
894 program_prefix
=${target_alias}-
898 WX_MAJOR_VERSION_NUMBER
=2
899 WX_MINOR_VERSION_NUMBER
=1
905 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
907 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
908 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
909 WX_REVISION
=$WX_INTERFACE_AGE
910 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
936 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
938 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE PM"
941 DEFAULT_wxUSE_MOTIF
=0
946 DEFAULT_DEFAULT_wxUSE_GTK
=0
947 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
948 DEFAULT_DEFAULT_wxUSE_MSW
=0
949 DEFAULT_DEFAULT_wxUSE_WINE
=0
950 DEFAULT_DEFAULT_wxUSE_PM
=0
955 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
956 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
957 cat >> confdefs.h
<<\EOF
964 cat >> confdefs.h
<<\EOF
969 if test "x$TMP" = "xalpha"; then
971 cat >> confdefs.h
<<\EOF
976 DEFAULT_DEFAULT_wxUSE_GTK
=1
978 *-*-irix5* | *-*-irix6* )
981 cat >> confdefs.h
<<\EOF
985 cat >> confdefs.h
<<\EOF
989 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
995 cat >> confdefs.h
<<\EOF
999 cat >> confdefs.h
<<\EOF
1000 #define __SOLARIS__ 1
1003 cat >> confdefs.h
<<\EOF
1007 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1008 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1014 cat >> confdefs.h
<<\EOF
1018 cat >> confdefs.h
<<\EOF
1022 cat >> confdefs.h
<<\EOF
1026 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1028 *-*-freebsd* | *-*-netbsd*)
1031 cat >> confdefs.h
<<\EOF
1032 #define __FREEBSD__ 1
1035 cat >> confdefs.h
<<\EOF
1039 DEFAULT_DEFAULT_wxUSE_GTK
=1
1044 cat >> confdefs.h
<<\EOF
1048 cat >> confdefs.h
<<\EOF
1052 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1057 cat >> confdefs.h
<<\EOF
1061 cat >> confdefs.h
<<\EOF
1065 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1070 cat >> confdefs.h
<<\EOF
1074 cat >> confdefs.h
<<\EOF
1078 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1084 cat >> confdefs.h
<<\EOF
1088 cat >> confdefs.h
<<\EOF
1092 cat >> confdefs.h
<<\EOF
1096 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1099 *-*-cygwin32* | *-*-mingw32* )
1102 cat >> confdefs.h
<<\EOF
1106 cat >> confdefs.h
<<\EOF
1110 cat >> confdefs.h
<<\EOF
1111 #define __WINDOWS__ 1
1114 cat >> confdefs.h
<<\EOF
1115 #define __GNUWIN32__ 1
1118 cat >> confdefs.h
<<\EOF
1122 cat >> confdefs.h
<<\EOF
1123 #define WINVER 0x0400
1127 DEFAULT_DEFAULT_wxUSE_MSW
=1
1131 cat >> confdefs.h
<<\EOF
1136 DEFAULT_DEFAULT_wxUSE_PM
=1
1141 cat >> confdefs.h
<<\EOF
1148 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1151 if test "$USE_UNIX" = 1 ; then
1153 cat >> confdefs.h
<<\EOF
1158 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1159 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1162 if test "$USE_BEOS" = 1; then
1163 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1164 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1167 if test "$USE_LINUX" = 1; then
1168 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1169 echo "configure:1170: checking for gettext in -lc" >&5
1170 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1171 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1172 echo $ac_n "(cached) $ac_c" 1>&6
1174 ac_save_LIBS
="$LIBS"
1176 cat > conftest.
$ac_ext <<EOF
1177 #line 1178 "configure"
1178 #include "confdefs.h"
1179 /* Override any gcc2 internal prototype to avoid an error. */
1180 /* We use char because int might match the return type of a gcc2
1181 builtin and then its argument prototype would still apply. */
1188 if { (eval echo configure
:1189: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1190 eval "ac_cv_lib_$ac_lib_var=yes"
1192 echo "configure: failed program was:" >&5
1193 cat conftest.
$ac_ext >&5
1195 eval "ac_cv_lib_$ac_lib_var=no"
1198 LIBS
="$ac_save_LIBS"
1201 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1202 echo "$ac_t""yes" 1>&6
1203 cat >> confdefs.h
<<\EOF
1204 #define wxHAVE_GLIBC2 1
1208 echo "$ac_t""no" 1>&6
1216 wx_arg_cache_file
="configarg.cache"
1217 echo "loading argument cache $wx_arg_cache_file"
1218 rm -f ${wx_arg_cache_file}.tmp
1219 touch ${wx_arg_cache_file}.tmp
1220 touch ${wx_arg_cache_file}
1224 if test $DEBUG_CONFIGURE = 1; then
1225 DEFAULT_wxUSE_THREADS
=yes
1227 DEFAULT_wxUSE_SHARED
=yes
1228 DEFAULT_wxUSE_OPTIMISE
=yes
1229 DEFAULT_wxUSE_PROFILE
=no
1230 DEFAULT_wxUSE_NO_DEPS
=no
1231 DEFAULT_wxUSE_NO_RTTI
=no
1232 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1233 DEFAULT_wxUSE_PERMISSIVE
=no
1234 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1235 DEFAULT_wxUSE_DEBUG_INFO
=yes
1236 DEFAULT_wxUSE_DEBUG_GDB
=yes
1237 DEFAULT_wxUSE_MEM_TRACING
=no
1238 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1239 DEFAULT_wxUSE_DMALLOC
=no
1240 DEFAULT_wxUSE_APPLE_IEEE
=no
1242 DEFAULT_wxUSE_LOG
=yes
1244 DEFAULT_wxUSE_GUI
=yes
1246 DEFAULT_wxUSE_ZLIB
=no
1247 DEFAULT_wxUSE_LIBPNG
=no
1248 DEFAULT_wxUSE_LIBJPEG
=no
1249 DEFAULT_wxUSE_LIBTIFF
=no
1250 DEFAULT_wxUSE_ODBC
=no
1252 DEFAULT_wxUSE_STD_IOSTREAM
=no
1253 DEFAULT_wxUSE_FILE
=no
1254 DEFAULT_wxUSE_TEXTFILE
=no
1255 DEFAULT_wxUSE_TIMEDATE
=no
1256 DEFAULT_wxUSE_WAVE
=no
1257 DEFAULT_wxUSE_INTL
=no
1258 DEFAULT_wxUSE_CONFIG
=no
1259 DEFAULT_wxUSE_STREAMS
=no
1260 DEFAULT_wxUSE_SOCKETS
=no
1261 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1262 DEFAULT_wxUSE_SERIAL
=no
1263 DEFAULT_wxUSE_JOYSTICK
=no
1264 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1265 DEFAULT_wxUSE_LONGLONG
=no
1267 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1268 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1269 DEFAULT_wxUSE_POSTSCRIPT
=no
1271 DEFAULT_wxUSE_X_RESOURCES
=no
1272 DEFAULT_wxUSE_CLIPBOARD
=no
1273 DEFAULT_wxUSE_TOOLTIPS
=no
1274 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1275 DEFAULT_wxUSE_SPLINES
=no
1277 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1278 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1279 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1281 DEFAULT_wxUSE_PROLOGIO
=no
1282 DEFAULT_wxUSE_RESOURCES
=no
1283 DEFAULT_wxUSE_CONSTRAINTS
=no
1284 DEFAULT_wxUSE_IPC
=no
1285 DEFAULT_wxUSE_HELP
=no
1286 DEFAULT_wxUSE_WXTREE
=no
1287 DEFAULT_wxUSE_METAFILE
=no
1289 DEFAULT_wxUSE_COMMONDLGS
=no
1290 DEFAULT_wxUSE_DIRDLG
=no
1291 DEFAULT_wxUSE_TEXTDLG
=no
1292 DEFAULT_wxUSE_STARTUP_TIPS
=no
1293 DEFAULT_wxUSE_PROGRESSDLG
=no
1294 DEFAULT_wxUSE_MINIFRAME
=no
1295 DEFAULT_wxUSE_HTML
=no
1296 DEFAULT_wxUSE_FS_INET
=no
1297 DEFAULT_wxUSE_FS_ZIP
=no
1298 DEFAULT_wxUSE_BUSYINFO
=no
1299 DEFAULT_wxUSE_ZIPSTREAM
=no
1300 DEFAULT_wxUSE_VALIDATORS
=yes
1302 DEFAULT_wxUSE_ACCEL
=no
1303 DEFAULT_wxUSE_CARET
=no
1304 DEFAULT_wxUSE_BMPBUTTON
=no
1305 DEFAULT_wxUSE_CHECKBOX
=no
1306 DEFAULT_wxUSE_CHECKLST
=no
1307 DEFAULT_wxUSE_CHOICE
=yes
1308 DEFAULT_wxUSE_COMBOBOX
=no
1309 DEFAULT_wxUSE_GAUGE
=no
1310 DEFAULT_wxUSE_GRID
=no
1311 DEFAULT_wxUSE_NEW_GRID
=no
1312 DEFAULT_wxUSE_IMAGLIST
=no
1313 DEFAULT_wxUSE_LISTBOX
=no
1314 DEFAULT_wxUSE_LISTCTRL
=no
1315 DEFAULT_wxUSE_NOTEBOOK
=no
1316 DEFAULT_wxUSE_RADIOBOX
=no
1317 DEFAULT_wxUSE_RADIOBTN
=no
1318 DEFAULT_wxUSE_SASH
=no
1319 DEFAULT_wxUSE_SCROLLBAR
=no
1320 DEFAULT_wxUSE_SLIDER
=no
1321 DEFAULT_wxUSE_SPINBTN
=no
1322 DEFAULT_wxUSE_SPINCTRL
=no
1323 DEFAULT_wxUSE_SPLITTER
=no
1324 DEFAULT_wxUSE_STATBMP
=no
1325 DEFAULT_wxUSE_STATBOX
=no
1326 DEFAULT_wxUSE_STATLINE
=no
1327 DEFAULT_wxUSE_STATUSBAR
=yes
1328 DEFAULT_wxUSE_TABDIALOG
=no
1329 DEFAULT_wxUSE_TOOLBAR
=no
1330 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1331 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1332 DEFAULT_wxUSE_TREECTRL
=no
1334 DEFAULT_wxUSE_UNICODE
=no
1335 DEFAULT_wxUSE_WCSRTOMBS
=no
1337 DEFAULT_wxUSE_GIF
=no
1338 DEFAULT_wxUSE_PCX
=no
1339 DEFAULT_wxUSE_PNM
=no
1341 DEFAULT_wxUSE_THREADS
=yes
1343 DEFAULT_wxUSE_SHARED
=yes
1344 DEFAULT_wxUSE_OPTIMISE
=yes
1345 DEFAULT_wxUSE_PROFILE
=no
1346 DEFAULT_wxUSE_NO_DEPS
=no
1347 DEFAULT_wxUSE_NO_RTTI
=no
1348 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1349 DEFAULT_wxUSE_PERMISSIVE
=no
1350 DEFAULT_wxUSE_DEBUG_FLAG
=no
1351 DEFAULT_wxUSE_DEBUG_INFO
=no
1352 DEFAULT_wxUSE_DEBUG_GDB
=no
1353 DEFAULT_wxUSE_MEM_TRACING
=no
1354 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1355 DEFAULT_wxUSE_DMALLOC
=no
1356 DEFAULT_wxUSE_APPLE_IEEE
=yes
1358 DEFAULT_wxUSE_LOG
=yes
1360 DEFAULT_wxUSE_GUI
=yes
1362 DEFAULT_wxUSE_ZLIB
=yes
1363 DEFAULT_wxUSE_LIBPNG
=yes
1364 DEFAULT_wxUSE_LIBJPEG
=yes
1365 DEFAULT_wxUSE_LIBTIFF
=yes
1366 DEFAULT_wxUSE_ODBC
=no
1368 DEFAULT_wxUSE_STD_IOSTREAM
=no
1369 DEFAULT_wxUSE_FILE
=yes
1370 DEFAULT_wxUSE_TEXTFILE
=yes
1371 DEFAULT_wxUSE_TIMEDATE
=yes
1372 DEFAULT_wxUSE_WAVE
=no
1373 DEFAULT_wxUSE_INTL
=yes
1374 DEFAULT_wxUSE_CONFIG
=yes
1375 DEFAULT_wxUSE_STREAMS
=yes
1376 DEFAULT_wxUSE_SOCKETS
=yes
1377 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1378 DEFAULT_wxUSE_SERIAL
=yes
1379 DEFAULT_wxUSE_JOYSTICK
=yes
1380 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1381 DEFAULT_wxUSE_LONGLONG
=yes
1383 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1384 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1385 DEFAULT_wxUSE_POSTSCRIPT
=yes
1387 DEFAULT_wxUSE_X_RESOURCES
=no
1388 DEFAULT_wxUSE_CLIPBOARD
=yes
1389 DEFAULT_wxUSE_TOOLTIPS
=yes
1390 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1391 DEFAULT_wxUSE_SPLINES
=yes
1393 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1394 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1395 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1397 DEFAULT_wxUSE_PROLOGIO
=yes
1398 DEFAULT_wxUSE_RESOURCES
=yes
1399 DEFAULT_wxUSE_CONSTRAINTS
=yes
1400 DEFAULT_wxUSE_IPC
=yes
1401 DEFAULT_wxUSE_HELP
=yes
1402 DEFAULT_wxUSE_WXTREE
=yes
1403 DEFAULT_wxUSE_METAFILE
=yes
1405 DEFAULT_wxUSE_COMMONDLGS
=yes
1406 DEFAULT_wxUSE_DIRDLG
=yes
1407 DEFAULT_wxUSE_TEXTDLG
=yes
1408 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1409 DEFAULT_wxUSE_PROGRESSDLG
=yes
1410 DEFAULT_wxUSE_MINIFRAME
=yes
1411 DEFAULT_wxUSE_HTML
=yes
1412 DEFAULT_wxUSE_FS_INET
=yes
1413 DEFAULT_wxUSE_FS_ZIP
=yes
1414 DEFAULT_wxUSE_BUSYINFO
=yes
1415 DEFAULT_wxUSE_ZIPSTREAM
=yes
1416 DEFAULT_wxUSE_VALIDATORS
=yes
1418 DEFAULT_wxUSE_ACCEL
=yes
1419 DEFAULT_wxUSE_CARET
=yes
1420 DEFAULT_wxUSE_BMPBUTTON
=yes
1421 DEFAULT_wxUSE_CHECKBOX
=yes
1422 DEFAULT_wxUSE_CHECKLST
=yes
1423 DEFAULT_wxUSE_CHOICE
=yes
1424 DEFAULT_wxUSE_COMBOBOX
=yes
1425 DEFAULT_wxUSE_GAUGE
=yes
1426 DEFAULT_wxUSE_GRID
=yes
1427 DEFAULT_wxUSE_NEW_GRID
=no
1428 DEFAULT_wxUSE_IMAGLIST
=yes
1429 DEFAULT_wxUSE_LISTBOX
=yes
1430 DEFAULT_wxUSE_LISTCTRL
=yes
1431 DEFAULT_wxUSE_NOTEBOOK
=yes
1432 DEFAULT_wxUSE_RADIOBOX
=yes
1433 DEFAULT_wxUSE_RADIOBTN
=yes
1434 DEFAULT_wxUSE_SASH
=yes
1435 DEFAULT_wxUSE_SCROLLBAR
=yes
1436 DEFAULT_wxUSE_SLIDER
=yes
1437 DEFAULT_wxUSE_SPINBTN
=yes
1438 DEFAULT_wxUSE_SPINCTRL
=yes
1439 DEFAULT_wxUSE_SPLITTER
=yes
1440 DEFAULT_wxUSE_STATBMP
=yes
1441 DEFAULT_wxUSE_STATBOX
=yes
1442 DEFAULT_wxUSE_STATLINE
=yes
1443 DEFAULT_wxUSE_STATUSBAR
=yes
1444 DEFAULT_wxUSE_TABDIALOG
=no
1445 DEFAULT_wxUSE_TOOLBAR
=yes
1446 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1447 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1448 DEFAULT_wxUSE_TREECTRL
=yes
1450 DEFAULT_wxUSE_UNICODE
=no
1451 DEFAULT_wxUSE_WCSRTOMBS
=no
1453 DEFAULT_wxUSE_GIF
=yes
1454 DEFAULT_wxUSE_PCX
=yes
1455 DEFAULT_wxUSE_PNM
=yes
1460 for toolkit
in `echo $ALL_TOOLKITS`; do
1461 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1462 if test "x$LINE" != x
; then
1463 has_toolkit_in_cache
=1
1464 eval "DEFAULT_$LINE"
1465 eval "CACHE_$toolkit=1"
1471 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1472 echo "configure:1473: checking "for --enable-gui"" >&5
1474 # Check whether --enable-gui or --disable-gui was given.
1475 if test "${enable_gui+set}" = set; then
1476 enableval
="$enable_gui"
1478 if test "$enableval" = yes; then
1479 ac_cv_use_gui
='wxUSE_GUI=yes'
1481 ac_cv_use_gui
='wxUSE_GUI=no'
1486 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1487 if test "x$LINE" != x
; then
1488 eval "DEFAULT_$LINE"
1493 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1498 eval "$ac_cv_use_gui"
1499 if test "$no_cache" != 1; then
1500 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1503 if test "$wxUSE_GUI" = yes; then
1504 echo "$ac_t""yes" 1>&6
1506 echo "$ac_t""no" 1>&6
1510 if test "$wxUSE_GUI" = "yes"; then
1512 # Check whether --with-gtk or --without-gtk was given.
1513 if test "${with_gtk+set}" = set; then
1515 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1518 # Check whether --with-motif or --without-motif was given.
1519 if test "${with_motif+set}" = set; then
1520 withval
="$with_motif"
1521 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1524 # Check whether --with-wine or --without-wine was given.
1525 if test "${with_wine+set}" = set; then
1526 withval
="$with_wine"
1527 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1530 # Check whether --with-cygwin or --without-cygwin was given.
1531 if test "${with_cygwin+set}" = set; then
1532 withval
="$with_cygwin"
1533 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1536 # Check whether --with-mingw or --without-mingw was given.
1537 if test "${with_mingw+set}" = set; then
1538 withval
="$with_mingw"
1539 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1542 # Check whether --with-pm or --without-pm was given.
1543 if test "${with_pm+set}" = set; then
1545 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1549 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1550 if test "${with_gtk_prefix+set}" = set; then
1551 withval
="$with_gtk_prefix"
1552 gtk_config_prefix
="$withval"
1554 gtk_config_prefix
=""
1557 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1558 if test "${with_gtk_exec_prefix+set}" = set; then
1559 withval
="$with_gtk_exec_prefix"
1560 gtk_config_exec_prefix
="$withval"
1562 gtk_config_exec_prefix
=""
1567 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1568 echo "configure:1569: checking "for --with-libpng"" >&5
1570 # Check whether --with-libpng or --without-libpng was given.
1571 if test "${with_libpng+set}" = set; then
1572 withval
="$with_libpng"
1574 if test "$withval" = yes; then
1575 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1577 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1582 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1583 if test "x$LINE" != x
; then
1584 eval "DEFAULT_$LINE"
1589 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1594 eval "$ac_cv_use_libpng"
1595 if test "$no_cache" != 1; then
1596 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1599 if test "$wxUSE_LIBPNG" = yes; then
1600 echo "$ac_t""yes" 1>&6
1602 echo "$ac_t""no" 1>&6
1606 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1607 echo "configure:1608: checking "for --with-libjpeg"" >&5
1609 # Check whether --with-libjpeg or --without-libjpeg was given.
1610 if test "${with_libjpeg+set}" = set; then
1611 withval
="$with_libjpeg"
1613 if test "$withval" = yes; then
1614 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1616 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1621 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1622 if test "x$LINE" != x
; then
1623 eval "DEFAULT_$LINE"
1628 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1633 eval "$ac_cv_use_libjpeg"
1634 if test "$no_cache" != 1; then
1635 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1638 if test "$wxUSE_LIBJPEG" = yes; then
1639 echo "$ac_t""yes" 1>&6
1641 echo "$ac_t""no" 1>&6
1645 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1646 echo "configure:1647: checking "for --with-libtiff"" >&5
1648 # Check whether --with-libtiff or --without-libtiff was given.
1649 if test "${with_libtiff+set}" = set; then
1650 withval
="$with_libtiff"
1652 if test "$withval" = yes; then
1653 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1655 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1660 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1661 if test "x$LINE" != x
; then
1662 eval "DEFAULT_$LINE"
1667 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1672 eval "$ac_cv_use_libtiff"
1673 if test "$no_cache" != 1; then
1674 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1677 if test "$wxUSE_LIBTIFF" = yes; then
1678 echo "$ac_t""yes" 1>&6
1680 echo "$ac_t""no" 1>&6
1684 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1685 echo "configure:1686: checking "for --with-opengl"" >&5
1687 # Check whether --with-opengl or --without-opengl was given.
1688 if test "${with_opengl+set}" = set; then
1689 withval
="$with_opengl"
1691 if test "$withval" = yes; then
1692 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1694 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1699 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1700 if test "x$LINE" != x
; then
1701 eval "DEFAULT_$LINE"
1706 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1711 eval "$ac_cv_use_opengl"
1712 if test "$no_cache" != 1; then
1713 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1716 if test "$wxUSE_OPENGL" = yes; then
1717 echo "$ac_t""yes" 1>&6
1719 echo "$ac_t""no" 1>&6
1726 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1727 echo "configure:1728: checking "for --with-dmalloc"" >&5
1729 # Check whether --with-dmalloc or --without-dmalloc was given.
1730 if test "${with_dmalloc+set}" = set; then
1731 withval
="$with_dmalloc"
1733 if test "$withval" = yes; then
1734 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1736 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1741 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1742 if test "x$LINE" != x
; then
1743 eval "DEFAULT_$LINE"
1748 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1753 eval "$ac_cv_use_dmalloc"
1754 if test "$no_cache" != 1; then
1755 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1758 if test "$wxUSE_DMALLOC" = yes; then
1759 echo "$ac_t""yes" 1>&6
1761 echo "$ac_t""no" 1>&6
1765 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1766 echo "configure:1767: checking "for --with-zlib"" >&5
1768 # Check whether --with-zlib or --without-zlib was given.
1769 if test "${with_zlib+set}" = set; then
1770 withval
="$with_zlib"
1772 if test "$withval" = yes; then
1773 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1775 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1780 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1781 if test "x$LINE" != x
; then
1782 eval "DEFAULT_$LINE"
1787 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1792 eval "$ac_cv_use_zlib"
1793 if test "$no_cache" != 1; then
1794 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1797 if test "$wxUSE_ZLIB" = yes; then
1798 echo "$ac_t""yes" 1>&6
1800 echo "$ac_t""no" 1>&6
1804 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1805 echo "configure:1806: checking "for --with-odbc"" >&5
1807 # Check whether --with-odbc or --without-odbc was given.
1808 if test "${with_odbc+set}" = set; then
1809 withval
="$with_odbc"
1811 if test "$withval" = yes; then
1812 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1814 ac_cv_use_odbc
='wxUSE_ODBC=no'
1819 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1820 if test "x$LINE" != x
; then
1821 eval "DEFAULT_$LINE"
1826 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1831 eval "$ac_cv_use_odbc"
1832 if test "$no_cache" != 1; then
1833 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1836 if test "$wxUSE_ODBC" = yes; then
1837 echo "$ac_t""yes" 1>&6
1839 echo "$ac_t""no" 1>&6
1846 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1847 echo "configure:1848: checking "for --enable-shared"" >&5
1849 # Check whether --enable-shared or --disable-shared was given.
1850 if test "${enable_shared+set}" = set; then
1851 enableval
="$enable_shared"
1853 if test "$enableval" = yes; then
1854 ac_cv_use_shared
='wxUSE_SHARED=yes'
1856 ac_cv_use_shared
='wxUSE_SHARED=no'
1861 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1862 if test "x$LINE" != x
; then
1863 eval "DEFAULT_$LINE"
1868 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1873 eval "$ac_cv_use_shared"
1874 if test "$no_cache" != 1; then
1875 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1878 if test "$wxUSE_SHARED" = yes; then
1879 echo "$ac_t""yes" 1>&6
1881 echo "$ac_t""no" 1>&6
1885 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1886 echo "configure:1887: checking "for --enable-optimise"" >&5
1888 # Check whether --enable-optimise or --disable-optimise was given.
1889 if test "${enable_optimise+set}" = set; then
1890 enableval
="$enable_optimise"
1892 if test "$enableval" = yes; then
1893 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1895 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1900 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1901 if test "x$LINE" != x
; then
1902 eval "DEFAULT_$LINE"
1907 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1912 eval "$ac_cv_use_optimise"
1913 if test "$no_cache" != 1; then
1914 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1917 if test "$wxUSE_OPTIMISE" = yes; then
1918 echo "$ac_t""yes" 1>&6
1920 echo "$ac_t""no" 1>&6
1924 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1925 echo "configure:1926: checking "for --enable-debug"" >&5
1927 # Check whether --enable-debug or --disable-debug was given.
1928 if test "${enable_debug+set}" = set; then
1929 enableval
="$enable_debug"
1931 if test "$enableval" = yes; then
1932 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1934 ac_cv_use_debug
='wxUSE_DEBUG=no'
1939 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1940 if test "x$LINE" != x
; then
1941 eval "DEFAULT_$LINE"
1946 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1951 eval "$ac_cv_use_debug"
1952 if test "$no_cache" != 1; then
1953 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1956 if test "$wxUSE_DEBUG" = yes; then
1957 echo "$ac_t""yes" 1>&6
1959 echo "$ac_t""no" 1>&6
1963 if test "$wxUSE_DEBUG" = "yes"; then
1964 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1965 DEFAULT_wxUSE_DEBUG_INFO
=yes
1966 elif test "$wxUSE_DEBUG" = "no"; then
1967 DEFAULT_wxUSE_DEBUG_FLAG
=no
1968 DEFAULT_wxUSE_DEBUG_INFO
=no
1972 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1973 echo "configure:1974: checking "for --enable-debug_flag"" >&5
1975 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1976 if test "${enable_debug_flag+set}" = set; then
1977 enableval
="$enable_debug_flag"
1979 if test "$enableval" = yes; then
1980 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1982 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1987 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1988 if test "x$LINE" != x
; then
1989 eval "DEFAULT_$LINE"
1994 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
1999 eval "$ac_cv_use_debug_flag"
2000 if test "$no_cache" != 1; then
2001 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2004 if test "$wxUSE_DEBUG_FLAG" = yes; then
2005 echo "$ac_t""yes" 1>&6
2007 echo "$ac_t""no" 1>&6
2011 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2012 echo "configure:2013: checking "for --enable-debug_info"" >&5
2014 # Check whether --enable-debug_info or --disable-debug_info was given.
2015 if test "${enable_debug_info+set}" = set; then
2016 enableval
="$enable_debug_info"
2018 if test "$enableval" = yes; then
2019 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2021 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2026 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2027 if test "x$LINE" != x
; then
2028 eval "DEFAULT_$LINE"
2033 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2038 eval "$ac_cv_use_debug_info"
2039 if test "$no_cache" != 1; then
2040 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2043 if test "$wxUSE_DEBUG_INFO" = yes; then
2044 echo "$ac_t""yes" 1>&6
2046 echo "$ac_t""no" 1>&6
2050 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2051 echo "configure:2052: checking "for --enable-debug_gdb"" >&5
2053 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2054 if test "${enable_debug_gdb+set}" = set; then
2055 enableval
="$enable_debug_gdb"
2057 if test "$enableval" = yes; then
2058 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2060 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2065 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2066 if test "x$LINE" != x
; then
2067 eval "DEFAULT_$LINE"
2072 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2077 eval "$ac_cv_use_debug_gdb"
2078 if test "$no_cache" != 1; then
2079 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2082 if test "$wxUSE_DEBUG_GDB" = yes; then
2083 echo "$ac_t""yes" 1>&6
2085 echo "$ac_t""no" 1>&6
2089 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2090 echo "configure:2091: checking "for --enable-debug_cntxt"" >&5
2092 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2093 if test "${enable_debug_cntxt+set}" = set; then
2094 enableval
="$enable_debug_cntxt"
2096 if test "$enableval" = yes; then
2097 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2099 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2104 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2105 if test "x$LINE" != x
; then
2106 eval "DEFAULT_$LINE"
2111 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2116 eval "$ac_cv_use_debug_cntxt"
2117 if test "$no_cache" != 1; then
2118 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2121 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2122 echo "$ac_t""yes" 1>&6
2124 echo "$ac_t""no" 1>&6
2128 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2129 echo "configure:2130: checking "for --enable-mem_tracing"" >&5
2131 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2132 if test "${enable_mem_tracing+set}" = set; then
2133 enableval
="$enable_mem_tracing"
2135 if test "$enableval" = yes; then
2136 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2138 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2143 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2144 if test "x$LINE" != x
; then
2145 eval "DEFAULT_$LINE"
2150 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2155 eval "$ac_cv_use_mem_tracing"
2156 if test "$no_cache" != 1; then
2157 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2160 if test "$wxUSE_MEM_TRACING" = yes; then
2161 echo "$ac_t""yes" 1>&6
2163 echo "$ac_t""no" 1>&6
2167 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2168 echo "configure:2169: checking "for --enable-profile"" >&5
2170 # Check whether --enable-profile or --disable-profile was given.
2171 if test "${enable_profile+set}" = set; then
2172 enableval
="$enable_profile"
2174 if test "$enableval" = yes; then
2175 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2177 ac_cv_use_profile
='wxUSE_PROFILE=no'
2182 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2183 if test "x$LINE" != x
; then
2184 eval "DEFAULT_$LINE"
2189 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2194 eval "$ac_cv_use_profile"
2195 if test "$no_cache" != 1; then
2196 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2199 if test "$wxUSE_PROFILE" = yes; then
2200 echo "$ac_t""yes" 1>&6
2202 echo "$ac_t""no" 1>&6
2206 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2207 echo "configure:2208: checking "for --enable-no_rtti"" >&5
2209 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2210 if test "${enable_no_rtti+set}" = set; then
2211 enableval
="$enable_no_rtti"
2213 if test "$enableval" = yes; then
2214 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2216 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2221 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2222 if test "x$LINE" != x
; then
2223 eval "DEFAULT_$LINE"
2228 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2233 eval "$ac_cv_use_no_rtti"
2234 if test "$no_cache" != 1; then
2235 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2238 if test "$wxUSE_NO_RTTI" = yes; then
2239 echo "$ac_t""yes" 1>&6
2241 echo "$ac_t""no" 1>&6
2245 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2246 echo "configure:2247: checking "for --enable-no_exceptions"" >&5
2248 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2249 if test "${enable_no_exceptions+set}" = set; then
2250 enableval
="$enable_no_exceptions"
2252 if test "$enableval" = yes; then
2253 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2255 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2260 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2261 if test "x$LINE" != x
; then
2262 eval "DEFAULT_$LINE"
2267 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2272 eval "$ac_cv_use_no_exceptions"
2273 if test "$no_cache" != 1; then
2274 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2277 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2278 echo "$ac_t""yes" 1>&6
2280 echo "$ac_t""no" 1>&6
2284 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2285 echo "configure:2286: checking "for --enable-permissive"" >&5
2287 # Check whether --enable-permissive or --disable-permissive was given.
2288 if test "${enable_permissive+set}" = set; then
2289 enableval
="$enable_permissive"
2291 if test "$enableval" = yes; then
2292 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2294 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2299 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2300 if test "x$LINE" != x
; then
2301 eval "DEFAULT_$LINE"
2306 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2311 eval "$ac_cv_use_permissive"
2312 if test "$no_cache" != 1; then
2313 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2316 if test "$wxUSE_PERMISSIVE" = yes; then
2317 echo "$ac_t""yes" 1>&6
2319 echo "$ac_t""no" 1>&6
2323 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2324 echo "configure:2325: checking "for --enable-no_deps"" >&5
2326 # Check whether --enable-no_deps or --disable-no_deps was given.
2327 if test "${enable_no_deps+set}" = set; then
2328 enableval
="$enable_no_deps"
2330 if test "$enableval" = yes; then
2331 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2333 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2338 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2339 if test "x$LINE" != x
; then
2340 eval "DEFAULT_$LINE"
2345 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2350 eval "$ac_cv_use_no_deps"
2351 if test "$no_cache" != 1; then
2352 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2355 if test "$wxUSE_NO_DEPS" = yes; then
2356 echo "$ac_t""yes" 1>&6
2358 echo "$ac_t""no" 1>&6
2364 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2365 echo "configure:2366: checking "for --enable-intl"" >&5
2367 # Check whether --enable-intl or --disable-intl was given.
2368 if test "${enable_intl+set}" = set; then
2369 enableval
="$enable_intl"
2371 if test "$enableval" = yes; then
2372 ac_cv_use_intl
='wxUSE_INTL=yes'
2374 ac_cv_use_intl
='wxUSE_INTL=no'
2379 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2380 if test "x$LINE" != x
; then
2381 eval "DEFAULT_$LINE"
2386 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2391 eval "$ac_cv_use_intl"
2392 if test "$no_cache" != 1; then
2393 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2396 if test "$wxUSE_INTL" = yes; then
2397 echo "$ac_t""yes" 1>&6
2399 echo "$ac_t""no" 1>&6
2403 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2404 echo "configure:2405: checking "for --enable-config"" >&5
2406 # Check whether --enable-config or --disable-config was given.
2407 if test "${enable_config+set}" = set; then
2408 enableval
="$enable_config"
2410 if test "$enableval" = yes; then
2411 ac_cv_use_config
='wxUSE_CONFIG=yes'
2413 ac_cv_use_config
='wxUSE_CONFIG=no'
2418 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2419 if test "x$LINE" != x
; then
2420 eval "DEFAULT_$LINE"
2425 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2430 eval "$ac_cv_use_config"
2431 if test "$no_cache" != 1; then
2432 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2435 if test "$wxUSE_CONFIG" = yes; then
2436 echo "$ac_t""yes" 1>&6
2438 echo "$ac_t""no" 1>&6
2442 if test "$wxUSE_GUI" = "yes"; then
2444 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2445 echo "configure:2446: checking "for --enable-sockets"" >&5
2447 # Check whether --enable-sockets or --disable-sockets was given.
2448 if test "${enable_sockets+set}" = set; then
2449 enableval
="$enable_sockets"
2451 if test "$enableval" = yes; then
2452 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2454 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2459 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2460 if test "x$LINE" != x
; then
2461 eval "DEFAULT_$LINE"
2466 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2471 eval "$ac_cv_use_sockets"
2472 if test "$no_cache" != 1; then
2473 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2476 if test "$wxUSE_SOCKETS" = yes; then
2477 echo "$ac_t""yes" 1>&6
2479 echo "$ac_t""no" 1>&6
2487 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2488 echo "configure:2489: checking "for --enable-dialupman"" >&5
2490 # Check whether --enable-dialupman or --disable-dialupman was given.
2491 if test "${enable_dialupman+set}" = set; then
2492 enableval
="$enable_dialupman"
2494 if test "$enableval" = yes; then
2495 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2497 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2502 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2503 if test "x$LINE" != x
; then
2504 eval "DEFAULT_$LINE"
2509 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2514 eval "$ac_cv_use_dialupman"
2515 if test "$no_cache" != 1; then
2516 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2519 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2520 echo "$ac_t""yes" 1>&6
2522 echo "$ac_t""no" 1>&6
2526 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2527 echo "configure:2528: checking "for --enable-ipc"" >&5
2529 # Check whether --enable-ipc or --disable-ipc was given.
2530 if test "${enable_ipc+set}" = set; then
2531 enableval
="$enable_ipc"
2533 if test "$enableval" = yes; then
2534 ac_cv_use_ipc
='wxUSE_IPC=yes'
2536 ac_cv_use_ipc
='wxUSE_IPC=no'
2541 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2542 if test "x$LINE" != x
; then
2543 eval "DEFAULT_$LINE"
2548 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2553 eval "$ac_cv_use_ipc"
2554 if test "$no_cache" != 1; then
2555 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2558 if test "$wxUSE_IPC" = yes; then
2559 echo "$ac_t""yes" 1>&6
2561 echo "$ac_t""no" 1>&6
2565 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2566 echo "configure:2567: checking "for --enable-apple_ieee"" >&5
2568 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2569 if test "${enable_apple_ieee+set}" = set; then
2570 enableval
="$enable_apple_ieee"
2572 if test "$enableval" = yes; then
2573 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2575 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2580 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2581 if test "x$LINE" != x
; then
2582 eval "DEFAULT_$LINE"
2587 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2592 eval "$ac_cv_use_apple_ieee"
2593 if test "$no_cache" != 1; then
2594 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2597 if test "$wxUSE_APPLE_IEEE" = yes; then
2598 echo "$ac_t""yes" 1>&6
2600 echo "$ac_t""no" 1>&6
2604 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2605 echo "configure:2606: checking "for --enable-timedate"" >&5
2607 # Check whether --enable-timedate or --disable-timedate was given.
2608 if test "${enable_timedate+set}" = set; then
2609 enableval
="$enable_timedate"
2611 if test "$enableval" = yes; then
2612 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2614 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2619 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2620 if test "x$LINE" != x
; then
2621 eval "DEFAULT_$LINE"
2626 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2631 eval "$ac_cv_use_timedate"
2632 if test "$no_cache" != 1; then
2633 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2636 if test "$wxUSE_TIMEDATE" = yes; then
2637 echo "$ac_t""yes" 1>&6
2639 echo "$ac_t""no" 1>&6
2643 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2644 echo "configure:2645: checking "for --enable-wave"" >&5
2646 # Check whether --enable-wave or --disable-wave was given.
2647 if test "${enable_wave+set}" = set; then
2648 enableval
="$enable_wave"
2650 if test "$enableval" = yes; then
2651 ac_cv_use_wave
='wxUSE_WAVE=yes'
2653 ac_cv_use_wave
='wxUSE_WAVE=no'
2658 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2659 if test "x$LINE" != x
; then
2660 eval "DEFAULT_$LINE"
2665 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2670 eval "$ac_cv_use_wave"
2671 if test "$no_cache" != 1; then
2672 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2675 if test "$wxUSE_WAVE" = yes; then
2676 echo "$ac_t""yes" 1>&6
2678 echo "$ac_t""no" 1>&6
2682 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2683 echo "configure:2684: checking "for --enable-fraction"" >&5
2685 # Check whether --enable-fraction or --disable-fraction was given.
2686 if test "${enable_fraction+set}" = set; then
2687 enableval
="$enable_fraction"
2689 if test "$enableval" = yes; then
2690 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2692 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2697 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2698 if test "x$LINE" != x
; then
2699 eval "DEFAULT_$LINE"
2704 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2709 eval "$ac_cv_use_fraction"
2710 if test "$no_cache" != 1; then
2711 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2714 if test "$wxUSE_FRACTION" = yes; then
2715 echo "$ac_t""yes" 1>&6
2717 echo "$ac_t""no" 1>&6
2721 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2722 echo "configure:2723: checking "for --enable-dynlib"" >&5
2724 # Check whether --enable-dynlib or --disable-dynlib was given.
2725 if test "${enable_dynlib+set}" = set; then
2726 enableval
="$enable_dynlib"
2728 if test "$enableval" = yes; then
2729 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2731 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2736 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2737 if test "x$LINE" != x
; then
2738 eval "DEFAULT_$LINE"
2743 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2748 eval "$ac_cv_use_dynlib"
2749 if test "$no_cache" != 1; then
2750 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2753 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2754 echo "$ac_t""yes" 1>&6
2756 echo "$ac_t""no" 1>&6
2760 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2761 echo "configure:2762: checking "for --enable-longlong"" >&5
2763 # Check whether --enable-longlong or --disable-longlong was given.
2764 if test "${enable_longlong+set}" = set; then
2765 enableval
="$enable_longlong"
2767 if test "$enableval" = yes; then
2768 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2770 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2775 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2776 if test "x$LINE" != x
; then
2777 eval "DEFAULT_$LINE"
2782 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2787 eval "$ac_cv_use_longlong"
2788 if test "$no_cache" != 1; then
2789 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2792 if test "$wxUSE_LONGLONG" = yes; then
2793 echo "$ac_t""yes" 1>&6
2795 echo "$ac_t""no" 1>&6
2799 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2800 echo "configure:2801: checking "for --enable-log"" >&5
2802 # Check whether --enable-log or --disable-log was given.
2803 if test "${enable_log+set}" = set; then
2804 enableval
="$enable_log"
2806 if test "$enableval" = yes; then
2807 ac_cv_use_log
='wxUSE_LOG=yes'
2809 ac_cv_use_log
='wxUSE_LOG=no'
2814 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2815 if test "x$LINE" != x
; then
2816 eval "DEFAULT_$LINE"
2821 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2826 eval "$ac_cv_use_log"
2827 if test "$no_cache" != 1; then
2828 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2831 if test "$wxUSE_LOG" = yes; then
2832 echo "$ac_t""yes" 1>&6
2834 echo "$ac_t""no" 1>&6
2838 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2839 echo "configure:2840: checking "for --enable-streams"" >&5
2841 # Check whether --enable-streams or --disable-streams was given.
2842 if test "${enable_streams+set}" = set; then
2843 enableval
="$enable_streams"
2845 if test "$enableval" = yes; then
2846 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2848 ac_cv_use_streams
='wxUSE_STREAMS=no'
2853 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2854 if test "x$LINE" != x
; then
2855 eval "DEFAULT_$LINE"
2860 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2865 eval "$ac_cv_use_streams"
2866 if test "$no_cache" != 1; then
2867 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2870 if test "$wxUSE_STREAMS" = yes; then
2871 echo "$ac_t""yes" 1>&6
2873 echo "$ac_t""no" 1>&6
2877 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2878 echo "configure:2879: checking "for --enable-file"" >&5
2880 # Check whether --enable-file or --disable-file was given.
2881 if test "${enable_file+set}" = set; then
2882 enableval
="$enable_file"
2884 if test "$enableval" = yes; then
2885 ac_cv_use_file
='wxUSE_FILE=yes'
2887 ac_cv_use_file
='wxUSE_FILE=no'
2892 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2893 if test "x$LINE" != x
; then
2894 eval "DEFAULT_$LINE"
2899 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2904 eval "$ac_cv_use_file"
2905 if test "$no_cache" != 1; then
2906 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2909 if test "$wxUSE_FILE" = yes; then
2910 echo "$ac_t""yes" 1>&6
2912 echo "$ac_t""no" 1>&6
2916 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2917 echo "configure:2918: checking "for --enable-textfile"" >&5
2919 # Check whether --enable-textfile or --disable-textfile was given.
2920 if test "${enable_textfile+set}" = set; then
2921 enableval
="$enable_textfile"
2923 if test "$enableval" = yes; then
2924 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2926 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2931 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2932 if test "x$LINE" != x
; then
2933 eval "DEFAULT_$LINE"
2938 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2943 eval "$ac_cv_use_textfile"
2944 if test "$no_cache" != 1; then
2945 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2948 if test "$wxUSE_TEXTFILE" = yes; then
2949 echo "$ac_t""yes" 1>&6
2951 echo "$ac_t""no" 1>&6
2955 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2956 echo "configure:2957: checking "for --enable-unicode"" >&5
2958 # Check whether --enable-unicode or --disable-unicode was given.
2959 if test "${enable_unicode+set}" = set; then
2960 enableval
="$enable_unicode"
2962 if test "$enableval" = yes; then
2963 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2965 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2970 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2971 if test "x$LINE" != x
; then
2972 eval "DEFAULT_$LINE"
2977 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2982 eval "$ac_cv_use_unicode"
2983 if test "$no_cache" != 1; then
2984 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2987 if test "$wxUSE_UNICODE" = yes; then
2988 echo "$ac_t""yes" 1>&6
2990 echo "$ac_t""no" 1>&6
2994 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2995 echo "configure:2996: checking "for --enable-wcsrtombs"" >&5
2997 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2998 if test "${enable_wcsrtombs+set}" = set; then
2999 enableval
="$enable_wcsrtombs"
3001 if test "$enableval" = yes; then
3002 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3004 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3009 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3010 if test "x$LINE" != x
; then
3011 eval "DEFAULT_$LINE"
3016 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3021 eval "$ac_cv_use_wcsrtombs"
3022 if test "$no_cache" != 1; then
3023 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3026 if test "$wxUSE_WCSRTOMBS" = yes; then
3027 echo "$ac_t""yes" 1>&6
3029 echo "$ac_t""no" 1>&6
3033 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3034 echo "configure:3035: checking "for --enable-wxprintfv"" >&5
3036 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3037 if test "${enable_wxprintfv+set}" = set; then
3038 enableval
="$enable_wxprintfv"
3040 if test "$enableval" = yes; then
3041 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3043 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3048 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3049 if test "x$LINE" != x
; then
3050 eval "DEFAULT_$LINE"
3055 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3060 eval "$ac_cv_use_wxprintfv"
3061 if test "$no_cache" != 1; then
3062 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3065 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3066 echo "$ac_t""yes" 1>&6
3068 echo "$ac_t""no" 1>&6
3072 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3073 echo "configure:3074: checking "for --enable-joystick"" >&5
3075 # Check whether --enable-joystick or --disable-joystick was given.
3076 if test "${enable_joystick+set}" = set; then
3077 enableval
="$enable_joystick"
3079 if test "$enableval" = yes; then
3080 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3082 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3087 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3088 if test "x$LINE" != x
; then
3089 eval "DEFAULT_$LINE"
3094 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3099 eval "$ac_cv_use_joystick"
3100 if test "$no_cache" != 1; then
3101 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3104 if test "$wxUSE_JOYSTICK" = yes; then
3105 echo "$ac_t""yes" 1>&6
3107 echo "$ac_t""no" 1>&6
3111 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3112 echo "configure:3113: checking "for --enable-std_iostreams"" >&5
3114 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3115 if test "${enable_std_iostreams+set}" = set; then
3116 enableval
="$enable_std_iostreams"
3118 if test "$enableval" = yes; then
3119 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3121 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3126 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3127 if test "x$LINE" != x
; then
3128 eval "DEFAULT_$LINE"
3133 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3138 eval "$ac_cv_use_std_iostreams"
3139 if test "$no_cache" != 1; then
3140 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3143 if test "$wxUSE_STD_IOSTREAM" = yes; then
3144 echo "$ac_t""yes" 1>&6
3146 echo "$ac_t""no" 1>&6
3150 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3151 echo "configure:3152: checking "for --enable-fs_inet"" >&5
3153 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3154 if test "${enable_fs_inet+set}" = set; then
3155 enableval
="$enable_fs_inet"
3157 if test "$enableval" = yes; then
3158 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3160 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3165 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3166 if test "x$LINE" != x
; then
3167 eval "DEFAULT_$LINE"
3172 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3177 eval "$ac_cv_use_fs_inet"
3178 if test "$no_cache" != 1; then
3179 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3182 if test "$wxUSE_FS_INET" = yes; then
3183 echo "$ac_t""yes" 1>&6
3185 echo "$ac_t""no" 1>&6
3189 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3190 echo "configure:3191: checking "for --enable-fs_zip"" >&5
3192 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3193 if test "${enable_fs_zip+set}" = set; then
3194 enableval
="$enable_fs_zip"
3196 if test "$enableval" = yes; then
3197 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3199 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3204 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3205 if test "x$LINE" != x
; then
3206 eval "DEFAULT_$LINE"
3211 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3216 eval "$ac_cv_use_fs_zip"
3217 if test "$no_cache" != 1; then
3218 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3221 if test "$wxUSE_FS_ZIP" = yes; then
3222 echo "$ac_t""yes" 1>&6
3224 echo "$ac_t""no" 1>&6
3228 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3229 echo "configure:3230: checking "for --enable-zipstream"" >&5
3231 # Check whether --enable-zipstream or --disable-zipstream was given.
3232 if test "${enable_zipstream+set}" = set; then
3233 enableval
="$enable_zipstream"
3235 if test "$enableval" = yes; then
3236 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3238 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3243 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3244 if test "x$LINE" != x
; then
3245 eval "DEFAULT_$LINE"
3250 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3255 eval "$ac_cv_use_zipstream"
3256 if test "$no_cache" != 1; then
3257 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3260 if test "$wxUSE_ZIPSTREAM" = yes; then
3261 echo "$ac_t""yes" 1>&6
3263 echo "$ac_t""no" 1>&6
3269 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3270 echo "configure:3271: checking "for --enable-threads"" >&5
3272 # Check whether --enable-threads or --disable-threads was given.
3273 if test "${enable_threads+set}" = set; then
3274 enableval
="$enable_threads"
3276 if test "$enableval" = yes; then
3277 ac_cv_use_threads
='wxUSE_THREADS=yes'
3279 ac_cv_use_threads
='wxUSE_THREADS=no'
3284 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3285 if test "x$LINE" != x
; then
3286 eval "DEFAULT_$LINE"
3291 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3296 eval "$ac_cv_use_threads"
3297 if test "$no_cache" != 1; then
3298 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3301 if test "$wxUSE_THREADS" = yes; then
3302 echo "$ac_t""yes" 1>&6
3304 echo "$ac_t""no" 1>&6
3308 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3309 echo "configure:3310: checking "for --enable-serial"" >&5
3311 # Check whether --enable-serial or --disable-serial was given.
3312 if test "${enable_serial+set}" = set; then
3313 enableval
="$enable_serial"
3315 if test "$enableval" = yes; then
3316 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3318 ac_cv_use_serial
='wxUSE_SERIAL=no'
3323 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3324 if test "x$LINE" != x
; then
3325 eval "DEFAULT_$LINE"
3330 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3335 eval "$ac_cv_use_serial"
3336 if test "$no_cache" != 1; then
3337 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3340 if test "$wxUSE_SERIAL" = yes; then
3341 echo "$ac_t""yes" 1>&6
3343 echo "$ac_t""no" 1>&6
3347 if test "$wxUSE_GUI" = "yes"; then
3351 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3352 echo "configure:3353: checking "for --enable-docview"" >&5
3354 # Check whether --enable-docview or --disable-docview was given.
3355 if test "${enable_docview+set}" = set; then
3356 enableval
="$enable_docview"
3358 if test "$enableval" = yes; then
3359 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3361 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3366 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3367 if test "x$LINE" != x
; then
3368 eval "DEFAULT_$LINE"
3373 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3378 eval "$ac_cv_use_docview"
3379 if test "$no_cache" != 1; then
3380 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3383 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3384 echo "$ac_t""yes" 1>&6
3386 echo "$ac_t""no" 1>&6
3390 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3391 echo "configure:3392: checking "for --enable-help"" >&5
3393 # Check whether --enable-help or --disable-help was given.
3394 if test "${enable_help+set}" = set; then
3395 enableval
="$enable_help"
3397 if test "$enableval" = yes; then
3398 ac_cv_use_help
='wxUSE_HELP=yes'
3400 ac_cv_use_help
='wxUSE_HELP=no'
3405 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3406 if test "x$LINE" != x
; then
3407 eval "DEFAULT_$LINE"
3412 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3417 eval "$ac_cv_use_help"
3418 if test "$no_cache" != 1; then
3419 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3422 if test "$wxUSE_HELP" = yes; then
3423 echo "$ac_t""yes" 1>&6
3425 echo "$ac_t""no" 1>&6
3429 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3430 echo "configure:3431: checking "for --enable-constraints"" >&5
3432 # Check whether --enable-constraints or --disable-constraints was given.
3433 if test "${enable_constraints+set}" = set; then
3434 enableval
="$enable_constraints"
3436 if test "$enableval" = yes; then
3437 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3439 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3444 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3445 if test "x$LINE" != x
; then
3446 eval "DEFAULT_$LINE"
3451 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3456 eval "$ac_cv_use_constraints"
3457 if test "$no_cache" != 1; then
3458 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3461 if test "$wxUSE_CONSTRAINTS" = yes; then
3462 echo "$ac_t""yes" 1>&6
3464 echo "$ac_t""no" 1>&6
3468 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3469 echo "configure:3470: checking "for --enable-printarch"" >&5
3471 # Check whether --enable-printarch or --disable-printarch was given.
3472 if test "${enable_printarch+set}" = set; then
3473 enableval
="$enable_printarch"
3475 if test "$enableval" = yes; then
3476 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3478 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3483 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3484 if test "x$LINE" != x
; then
3485 eval "DEFAULT_$LINE"
3490 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3495 eval "$ac_cv_use_printarch"
3496 if test "$no_cache" != 1; then
3497 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3500 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3501 echo "$ac_t""yes" 1>&6
3503 echo "$ac_t""no" 1>&6
3507 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3508 echo "configure:3509: checking "for --enable-mdi"" >&5
3510 # Check whether --enable-mdi or --disable-mdi was given.
3511 if test "${enable_mdi+set}" = set; then
3512 enableval
="$enable_mdi"
3514 if test "$enableval" = yes; then
3515 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3517 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3522 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3523 if test "x$LINE" != x
; then
3524 eval "DEFAULT_$LINE"
3529 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3534 eval "$ac_cv_use_mdi"
3535 if test "$no_cache" != 1; then
3536 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3539 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3540 echo "$ac_t""yes" 1>&6
3542 echo "$ac_t""no" 1>&6
3547 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3548 echo "configure:3549: checking "for --enable-postscript"" >&5
3550 # Check whether --enable-postscript or --disable-postscript was given.
3551 if test "${enable_postscript+set}" = set; then
3552 enableval
="$enable_postscript"
3554 if test "$enableval" = yes; then
3555 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3557 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3562 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3563 if test "x$LINE" != x
; then
3564 eval "DEFAULT_$LINE"
3569 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3574 eval "$ac_cv_use_postscript"
3575 if test "$no_cache" != 1; then
3576 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3579 if test "$wxUSE_POSTSCRIPT" = yes; then
3580 echo "$ac_t""yes" 1>&6
3582 echo "$ac_t""no" 1>&6
3588 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3589 echo "configure:3590: checking "for --enable-prologio"" >&5
3591 # Check whether --enable-prologio or --disable-prologio was given.
3592 if test "${enable_prologio+set}" = set; then
3593 enableval
="$enable_prologio"
3595 if test "$enableval" = yes; then
3596 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3598 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3603 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3604 if test "x$LINE" != x
; then
3605 eval "DEFAULT_$LINE"
3610 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3615 eval "$ac_cv_use_prologio"
3616 if test "$no_cache" != 1; then
3617 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3620 if test "$wxUSE_PROLOGIO" = yes; then
3621 echo "$ac_t""yes" 1>&6
3623 echo "$ac_t""no" 1>&6
3627 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3628 echo "configure:3629: checking "for --enable-resources"" >&5
3630 # Check whether --enable-resources or --disable-resources was given.
3631 if test "${enable_resources+set}" = set; then
3632 enableval
="$enable_resources"
3634 if test "$enableval" = yes; then
3635 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3637 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3642 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3643 if test "x$LINE" != x
; then
3644 eval "DEFAULT_$LINE"
3649 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3654 eval "$ac_cv_use_resources"
3655 if test "$no_cache" != 1; then
3656 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3659 if test "$wxUSE_RESOURCES" = yes; then
3660 echo "$ac_t""yes" 1>&6
3662 echo "$ac_t""no" 1>&6
3667 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3668 echo "configure:3669: checking "for --enable-xresources"" >&5
3670 # Check whether --enable-xresources or --disable-xresources was given.
3671 if test "${enable_xresources+set}" = set; then
3672 enableval
="$enable_xresources"
3674 if test "$enableval" = yes; then
3675 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3677 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3682 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3683 if test "x$LINE" != x
; then
3684 eval "DEFAULT_$LINE"
3689 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3694 eval "$ac_cv_use_xresources"
3695 if test "$no_cache" != 1; then
3696 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3699 if test "$wxUSE_X_RESOURCES" = yes; then
3700 echo "$ac_t""yes" 1>&6
3702 echo "$ac_t""no" 1>&6
3708 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3709 echo "configure:3710: checking "for --enable-clipboard"" >&5
3711 # Check whether --enable-clipboard or --disable-clipboard was given.
3712 if test "${enable_clipboard+set}" = set; then
3713 enableval
="$enable_clipboard"
3715 if test "$enableval" = yes; then
3716 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3718 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3723 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3724 if test "x$LINE" != x
; then
3725 eval "DEFAULT_$LINE"
3730 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3735 eval "$ac_cv_use_clipboard"
3736 if test "$no_cache" != 1; then
3737 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3740 if test "$wxUSE_CLIPBOARD" = yes; then
3741 echo "$ac_t""yes" 1>&6
3743 echo "$ac_t""no" 1>&6
3747 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3748 echo "configure:3749: checking "for --enable-dnd"" >&5
3750 # Check whether --enable-dnd or --disable-dnd was given.
3751 if test "${enable_dnd+set}" = set; then
3752 enableval
="$enable_dnd"
3754 if test "$enableval" = yes; then
3755 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3757 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3762 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3763 if test "x$LINE" != x
; then
3764 eval "DEFAULT_$LINE"
3769 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3774 eval "$ac_cv_use_dnd"
3775 if test "$no_cache" != 1; then
3776 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3779 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3780 echo "$ac_t""yes" 1>&6
3782 echo "$ac_t""no" 1>&6
3787 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3788 echo "configure:3789: checking "for --enable-wxtree"" >&5
3790 # Check whether --enable-wxtree or --disable-wxtree was given.
3791 if test "${enable_wxtree+set}" = set; then
3792 enableval
="$enable_wxtree"
3794 if test "$enableval" = yes; then
3795 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3797 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3802 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3803 if test "x$LINE" != x
; then
3804 eval "DEFAULT_$LINE"
3809 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3814 eval "$ac_cv_use_wxtree"
3815 if test "$no_cache" != 1; then
3816 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3819 if test "$wxUSE_WXTREE" = yes; then
3820 echo "$ac_t""yes" 1>&6
3822 echo "$ac_t""no" 1>&6
3828 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3829 echo "configure:3830: checking "for --enable-controls"" >&5
3831 # Check whether --enable-controls or --disable-controls was given.
3832 if test "${enable_controls+set}" = set; then
3833 enableval
="$enable_controls"
3835 if test "$enableval" = yes; then
3836 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3838 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3843 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3844 if test "x$LINE" != x
; then
3845 eval "DEFAULT_$LINE"
3850 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3855 eval "$ac_cv_use_controls"
3856 if test "$no_cache" != 1; then
3857 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3860 if test "$wxUSE_CONTROLS" = yes; then
3861 echo "$ac_t""yes" 1>&6
3863 echo "$ac_t""no" 1>&6
3867 if test "$wxUSE_CONTROLS" = "yes"; then
3868 DEFAULT_wxUSE_ACCEL
=yes
3869 DEFAULT_wxUSE_CARET
=yes
3870 DEFAULT_wxUSE_COMBOBOX
=yes
3871 DEFAULT_wxUSE_BMPBUTTON
=yes
3872 DEFAULT_wxUSE_CHECKBOX
=yes
3873 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3874 DEFAULT_wxUSE_CHOICE
=yes
3875 DEFAULT_wxUSE_GAUGE
=yes
3876 DEFAULT_wxUSE_GRID
=yes
3877 DEFAULT_wxUSE_NEW_GRID
=no
3878 DEFAULT_wxUSE_IMAGLIST
=yes
3879 DEFAULT_wxUSE_LISTBOX
=yes
3880 DEFAULT_wxUSE_LISTCTRL
=yes
3881 DEFAULT_wxUSE_NOTEBOOK
=yes
3882 DEFAULT_wxUSE_RADIOBOX
=yes
3883 DEFAULT_wxUSE_RADIOBTN
=yes
3884 DEFAULT_wxUSE_SASH
=yes
3885 DEFAULT_wxUSE_SCROLLBAR
=yes
3886 DEFAULT_wxUSE_SLIDER
=yes
3887 DEFAULT_wxUSE_SPINBTN
=yes
3888 DEFAULT_wxUSE_SPINCTRL
=yes
3889 DEFAULT_wxUSE_SPLITTER
=yes
3890 DEFAULT_wxUSE_STATBMP
=yes
3891 DEFAULT_wxUSE_STATBOX
=yes
3892 DEFAULT_wxUSE_STATLINE
=yes
3893 DEFAULT_wxUSE_STATUSBAR
=yes
3894 DEFAULT_wxUSE_TAB_DIALOG
=yes
3895 DEFAULT_wxUSE_TOOLBAR
=yes
3896 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
3897 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
3898 DEFAULT_wxUSE_TOOLTIPS
=yes
3899 DEFAULT_wxUSE_TREECTRL
=yes
3900 elif test "$wxUSE_CONTROLS" = "no"; then
3901 DEFAULT_wxUSE_ACCEL
=no
3902 DEFAULT_wxUSE_CARET
=no
3903 DEFAULT_wxUSE_COMBOBOX
=no
3904 DEFAULT_wxUSE_BMPBUTTON
=no
3905 DEFAULT_wxUSE_CHECKBOX
=no
3906 DEFAULT_wxUSE_CHECKLISTBOX
=no
3907 DEFAULT_wxUSE_CHOICE
=no
3908 DEFAULT_wxUSE_GAUGE
=no
3909 DEFAULT_wxUSE_GRID
=no
3910 DEFAULT_wxUSE_NEW_GRID
=no
3911 DEFAULT_wxUSE_IMAGLIST
=no
3912 DEFAULT_wxUSE_LISTBOX
=no
3913 DEFAULT_wxUSE_LISTCTRL
=no
3914 DEFAULT_wxUSE_NOTEBOOK
=no
3915 DEFAULT_wxUSE_RADIOBOX
=no
3916 DEFAULT_wxUSE_RADIOBTN
=no
3917 DEFAULT_wxUSE_SASH
=no
3918 DEFAULT_wxUSE_SCROLLBAR
=no
3919 DEFAULT_wxUSE_SLIDER
=no
3920 DEFAULT_wxUSE_SPINBTN
=no
3921 DEFAULT_wxUSE_SPINCTRL
=no
3922 DEFAULT_wxUSE_SPLITTER
=no
3923 DEFAULT_wxUSE_STATBMP
=no
3924 DEFAULT_wxUSE_STATBOX
=no
3925 DEFAULT_wxUSE_STATLINE
=no
3926 DEFAULT_wxUSE_STATUSBAR
=no
3927 DEFAULT_wxUSE_TAB_DIALOG
=no
3928 DEFAULT_wxUSE_TOOLBAR
=no
3929 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
3930 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
3931 DEFAULT_wxUSE_TOOLTIPS
=no
3932 DEFAULT_wxUSE_TREECTRL
=no
3936 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3937 echo "configure:3938: checking "for --enable-accel"" >&5
3939 # Check whether --enable-accel or --disable-accel was given.
3940 if test "${enable_accel+set}" = set; then
3941 enableval
="$enable_accel"
3943 if test "$enableval" = yes; then
3944 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3946 ac_cv_use_accel
='wxUSE_ACCEL=no'
3951 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x
; then
3953 eval "DEFAULT_$LINE"
3958 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3963 eval "$ac_cv_use_accel"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3968 if test "$wxUSE_ACCEL" = yes; then
3969 echo "$ac_t""yes" 1>&6
3971 echo "$ac_t""no" 1>&6
3975 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3976 echo "configure:3977: checking "for --enable-caret"" >&5
3978 # Check whether --enable-caret or --disable-caret was given.
3979 if test "${enable_caret+set}" = set; then
3980 enableval
="$enable_caret"
3982 if test "$enableval" = yes; then
3983 ac_cv_use_caret
='wxUSE_CARET=yes'
3985 ac_cv_use_caret
='wxUSE_CARET=no'
3990 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3991 if test "x$LINE" != x
; then
3992 eval "DEFAULT_$LINE"
3997 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4002 eval "$ac_cv_use_caret"
4003 if test "$no_cache" != 1; then
4004 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4007 if test "$wxUSE_CARET" = yes; then
4008 echo "$ac_t""yes" 1>&6
4010 echo "$ac_t""no" 1>&6
4014 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4015 echo "configure:4016: checking "for --enable-bmpbutton"" >&5
4017 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4018 if test "${enable_bmpbutton+set}" = set; then
4019 enableval
="$enable_bmpbutton"
4021 if test "$enableval" = yes; then
4022 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4024 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4029 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x
; then
4031 eval "DEFAULT_$LINE"
4036 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4041 eval "$ac_cv_use_bmpbutton"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4046 if test "$wxUSE_BMPBUTTON" = yes; then
4047 echo "$ac_t""yes" 1>&6
4049 echo "$ac_t""no" 1>&6
4053 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4054 echo "configure:4055: checking "for --enable-checkbox"" >&5
4056 # Check whether --enable-checkbox or --disable-checkbox was given.
4057 if test "${enable_checkbox+set}" = set; then
4058 enableval
="$enable_checkbox"
4060 if test "$enableval" = yes; then
4061 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4063 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4068 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x
; then
4070 eval "DEFAULT_$LINE"
4075 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4080 eval "$ac_cv_use_checkbox"
4081 if test "$no_cache" != 1; then
4082 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4085 if test "$wxUSE_CHECKBOX" = yes; then
4086 echo "$ac_t""yes" 1>&6
4088 echo "$ac_t""no" 1>&6
4092 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4093 echo "configure:4094: checking "for --enable-checklst"" >&5
4095 # Check whether --enable-checklst or --disable-checklst was given.
4096 if test "${enable_checklst+set}" = set; then
4097 enableval
="$enable_checklst"
4099 if test "$enableval" = yes; then
4100 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4102 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4107 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4108 if test "x$LINE" != x
; then
4109 eval "DEFAULT_$LINE"
4114 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4119 eval "$ac_cv_use_checklst"
4120 if test "$no_cache" != 1; then
4121 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4124 if test "$wxUSE_CHECKLST" = yes; then
4125 echo "$ac_t""yes" 1>&6
4127 echo "$ac_t""no" 1>&6
4131 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4132 echo "configure:4133: checking "for --enable-choice"" >&5
4134 # Check whether --enable-choice or --disable-choice was given.
4135 if test "${enable_choice+set}" = set; then
4136 enableval
="$enable_choice"
4138 if test "$enableval" = yes; then
4139 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4141 ac_cv_use_choice
='wxUSE_CHOICE=no'
4146 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4147 if test "x$LINE" != x
; then
4148 eval "DEFAULT_$LINE"
4153 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4158 eval "$ac_cv_use_choice"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4163 if test "$wxUSE_CHOICE" = yes; then
4164 echo "$ac_t""yes" 1>&6
4166 echo "$ac_t""no" 1>&6
4170 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4171 echo "configure:4172: checking "for --enable-combobox"" >&5
4173 # Check whether --enable-combobox or --disable-combobox was given.
4174 if test "${enable_combobox+set}" = set; then
4175 enableval
="$enable_combobox"
4177 if test "$enableval" = yes; then
4178 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4180 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4185 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4186 if test "x$LINE" != x
; then
4187 eval "DEFAULT_$LINE"
4192 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4197 eval "$ac_cv_use_combobox"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4202 if test "$wxUSE_COMBOBOX" = yes; then
4203 echo "$ac_t""yes" 1>&6
4205 echo "$ac_t""no" 1>&6
4209 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4210 echo "configure:4211: checking "for --enable-gauge"" >&5
4212 # Check whether --enable-gauge or --disable-gauge was given.
4213 if test "${enable_gauge+set}" = set; then
4214 enableval
="$enable_gauge"
4216 if test "$enableval" = yes; then
4217 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4219 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4224 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4225 if test "x$LINE" != x
; then
4226 eval "DEFAULT_$LINE"
4231 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4236 eval "$ac_cv_use_gauge"
4237 if test "$no_cache" != 1; then
4238 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4241 if test "$wxUSE_GAUGE" = yes; then
4242 echo "$ac_t""yes" 1>&6
4244 echo "$ac_t""no" 1>&6
4248 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4249 echo "configure:4250: checking "for --enable-grid"" >&5
4251 # Check whether --enable-grid or --disable-grid was given.
4252 if test "${enable_grid+set}" = set; then
4253 enableval
="$enable_grid"
4255 if test "$enableval" = yes; then
4256 ac_cv_use_grid
='wxUSE_GRID=yes'
4258 ac_cv_use_grid
='wxUSE_GRID=no'
4263 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x
; then
4265 eval "DEFAULT_$LINE"
4270 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4275 eval "$ac_cv_use_grid"
4276 if test "$no_cache" != 1; then
4277 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4280 if test "$wxUSE_GRID" = yes; then
4281 echo "$ac_t""yes" 1>&6
4283 echo "$ac_t""no" 1>&6
4287 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4288 echo "configure:4289: checking "for --enable-newgrid"" >&5
4290 # Check whether --enable-newgrid or --disable-newgrid was given.
4291 if test "${enable_newgrid+set}" = set; then
4292 enableval
="$enable_newgrid"
4294 if test "$enableval" = yes; then
4295 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4297 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4302 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x
; then
4304 eval "DEFAULT_$LINE"
4309 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4314 eval "$ac_cv_use_newgrid"
4315 if test "$no_cache" != 1; then
4316 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4319 if test "$wxUSE_NEW_GRID" = yes; then
4320 echo "$ac_t""yes" 1>&6
4322 echo "$ac_t""no" 1>&6
4326 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4327 echo "configure:4328: checking "for --enable-imaglist"" >&5
4329 # Check whether --enable-imaglist or --disable-imaglist was given.
4330 if test "${enable_imaglist+set}" = set; then
4331 enableval
="$enable_imaglist"
4333 if test "$enableval" = yes; then
4334 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4336 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4341 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x
; then
4343 eval "DEFAULT_$LINE"
4348 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4353 eval "$ac_cv_use_imaglist"
4354 if test "$no_cache" != 1; then
4355 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4358 if test "$wxUSE_IMAGLIST" = yes; then
4359 echo "$ac_t""yes" 1>&6
4361 echo "$ac_t""no" 1>&6
4365 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4366 echo "configure:4367: checking "for --enable-listbox"" >&5
4368 # Check whether --enable-listbox or --disable-listbox was given.
4369 if test "${enable_listbox+set}" = set; then
4370 enableval
="$enable_listbox"
4372 if test "$enableval" = yes; then
4373 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4375 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4380 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4381 if test "x$LINE" != x
; then
4382 eval "DEFAULT_$LINE"
4387 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4392 eval "$ac_cv_use_listbox"
4393 if test "$no_cache" != 1; then
4394 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4397 if test "$wxUSE_LISTBOX" = yes; then
4398 echo "$ac_t""yes" 1>&6
4400 echo "$ac_t""no" 1>&6
4404 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4405 echo "configure:4406: checking "for --enable-listctrl"" >&5
4407 # Check whether --enable-listctrl or --disable-listctrl was given.
4408 if test "${enable_listctrl+set}" = set; then
4409 enableval
="$enable_listctrl"
4411 if test "$enableval" = yes; then
4412 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4414 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4419 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x
; then
4421 eval "DEFAULT_$LINE"
4426 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4431 eval "$ac_cv_use_listctrl"
4432 if test "$no_cache" != 1; then
4433 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4436 if test "$wxUSE_LISTCTRL" = yes; then
4437 echo "$ac_t""yes" 1>&6
4439 echo "$ac_t""no" 1>&6
4443 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4444 echo "configure:4445: checking "for --enable-notebook"" >&5
4446 # Check whether --enable-notebook or --disable-notebook was given.
4447 if test "${enable_notebook+set}" = set; then
4448 enableval
="$enable_notebook"
4450 if test "$enableval" = yes; then
4451 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4453 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4458 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4459 if test "x$LINE" != x
; then
4460 eval "DEFAULT_$LINE"
4465 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4470 eval "$ac_cv_use_notebook"
4471 if test "$no_cache" != 1; then
4472 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4475 if test "$wxUSE_NOTEBOOK" = yes; then
4476 echo "$ac_t""yes" 1>&6
4478 echo "$ac_t""no" 1>&6
4482 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4483 echo "configure:4484: checking "for --enable-radiobox"" >&5
4485 # Check whether --enable-radiobox or --disable-radiobox was given.
4486 if test "${enable_radiobox+set}" = set; then
4487 enableval
="$enable_radiobox"
4489 if test "$enableval" = yes; then
4490 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4492 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4497 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4498 if test "x$LINE" != x
; then
4499 eval "DEFAULT_$LINE"
4504 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4509 eval "$ac_cv_use_radiobox"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4514 if test "$wxUSE_RADIOBOX" = yes; then
4515 echo "$ac_t""yes" 1>&6
4517 echo "$ac_t""no" 1>&6
4521 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4522 echo "configure:4523: checking "for --enable-radiobtn"" >&5
4524 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4525 if test "${enable_radiobtn+set}" = set; then
4526 enableval
="$enable_radiobtn"
4528 if test "$enableval" = yes; then
4529 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4531 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4536 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4537 if test "x$LINE" != x
; then
4538 eval "DEFAULT_$LINE"
4543 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4548 eval "$ac_cv_use_radiobtn"
4549 if test "$no_cache" != 1; then
4550 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4553 if test "$wxUSE_RADIOBTN" = yes; then
4554 echo "$ac_t""yes" 1>&6
4556 echo "$ac_t""no" 1>&6
4560 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4561 echo "configure:4562: checking "for --enable-sash"" >&5
4563 # Check whether --enable-sash or --disable-sash was given.
4564 if test "${enable_sash+set}" = set; then
4565 enableval
="$enable_sash"
4567 if test "$enableval" = yes; then
4568 ac_cv_use_sash
='wxUSE_SASH=yes'
4570 ac_cv_use_sash
='wxUSE_SASH=no'
4575 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4576 if test "x$LINE" != x
; then
4577 eval "DEFAULT_$LINE"
4582 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4587 eval "$ac_cv_use_sash"
4588 if test "$no_cache" != 1; then
4589 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4592 if test "$wxUSE_SASH" = yes; then
4593 echo "$ac_t""yes" 1>&6
4595 echo "$ac_t""no" 1>&6
4599 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4600 echo "configure:4601: checking "for --enable-scrollbar"" >&5
4602 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4603 if test "${enable_scrollbar+set}" = set; then
4604 enableval
="$enable_scrollbar"
4606 if test "$enableval" = yes; then
4607 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4609 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4614 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x
; then
4616 eval "DEFAULT_$LINE"
4621 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4626 eval "$ac_cv_use_scrollbar"
4627 if test "$no_cache" != 1; then
4628 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4631 if test "$wxUSE_SCROLLBAR" = yes; then
4632 echo "$ac_t""yes" 1>&6
4634 echo "$ac_t""no" 1>&6
4638 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4639 echo "configure:4640: checking "for --enable-slider"" >&5
4641 # Check whether --enable-slider or --disable-slider was given.
4642 if test "${enable_slider+set}" = set; then
4643 enableval
="$enable_slider"
4645 if test "$enableval" = yes; then
4646 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4648 ac_cv_use_slider
='wxUSE_SLIDER=no'
4653 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x
; then
4655 eval "DEFAULT_$LINE"
4660 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4665 eval "$ac_cv_use_slider"
4666 if test "$no_cache" != 1; then
4667 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4670 if test "$wxUSE_SLIDER" = yes; then
4671 echo "$ac_t""yes" 1>&6
4673 echo "$ac_t""no" 1>&6
4677 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4678 echo "configure:4679: checking "for --enable-spinbtn"" >&5
4680 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4681 if test "${enable_spinbtn+set}" = set; then
4682 enableval
="$enable_spinbtn"
4684 if test "$enableval" = yes; then
4685 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4687 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4692 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4693 if test "x$LINE" != x
; then
4694 eval "DEFAULT_$LINE"
4699 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4704 eval "$ac_cv_use_spinbtn"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4709 if test "$wxUSE_SPINBTN" = yes; then
4710 echo "$ac_t""yes" 1>&6
4712 echo "$ac_t""no" 1>&6
4716 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4717 echo "configure:4718: checking "for --enable-spinctrl"" >&5
4719 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4720 if test "${enable_spinctrl+set}" = set; then
4721 enableval
="$enable_spinctrl"
4723 if test "$enableval" = yes; then
4724 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4726 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4731 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4732 if test "x$LINE" != x
; then
4733 eval "DEFAULT_$LINE"
4738 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4743 eval "$ac_cv_use_spinctrl"
4744 if test "$no_cache" != 1; then
4745 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4748 if test "$wxUSE_SPINCTRL" = yes; then
4749 echo "$ac_t""yes" 1>&6
4751 echo "$ac_t""no" 1>&6
4755 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4756 echo "configure:4757: checking "for --enable-splitter"" >&5
4758 # Check whether --enable-splitter or --disable-splitter was given.
4759 if test "${enable_splitter+set}" = set; then
4760 enableval
="$enable_splitter"
4762 if test "$enableval" = yes; then
4763 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4765 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4770 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x
; then
4772 eval "DEFAULT_$LINE"
4777 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4782 eval "$ac_cv_use_splitter"
4783 if test "$no_cache" != 1; then
4784 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4787 if test "$wxUSE_SPLITTER" = yes; then
4788 echo "$ac_t""yes" 1>&6
4790 echo "$ac_t""no" 1>&6
4794 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4795 echo "configure:4796: checking "for --enable-statbmp"" >&5
4797 # Check whether --enable-statbmp or --disable-statbmp was given.
4798 if test "${enable_statbmp+set}" = set; then
4799 enableval
="$enable_statbmp"
4801 if test "$enableval" = yes; then
4802 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4804 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4809 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4810 if test "x$LINE" != x
; then
4811 eval "DEFAULT_$LINE"
4816 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4821 eval "$ac_cv_use_statbmp"
4822 if test "$no_cache" != 1; then
4823 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4826 if test "$wxUSE_STATBMP" = yes; then
4827 echo "$ac_t""yes" 1>&6
4829 echo "$ac_t""no" 1>&6
4833 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4834 echo "configure:4835: checking "for --enable-statbox"" >&5
4836 # Check whether --enable-statbox or --disable-statbox was given.
4837 if test "${enable_statbox+set}" = set; then
4838 enableval
="$enable_statbox"
4840 if test "$enableval" = yes; then
4841 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4843 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4848 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4849 if test "x$LINE" != x
; then
4850 eval "DEFAULT_$LINE"
4855 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4860 eval "$ac_cv_use_statbox"
4861 if test "$no_cache" != 1; then
4862 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4865 if test "$wxUSE_STATBOX" = yes; then
4866 echo "$ac_t""yes" 1>&6
4868 echo "$ac_t""no" 1>&6
4872 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4873 echo "configure:4874: checking "for --enable-statline"" >&5
4875 # Check whether --enable-statline or --disable-statline was given.
4876 if test "${enable_statline+set}" = set; then
4877 enableval
="$enable_statline"
4879 if test "$enableval" = yes; then
4880 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4882 ac_cv_use_statline
='wxUSE_STATLINE=no'
4887 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x
; then
4889 eval "DEFAULT_$LINE"
4894 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4899 eval "$ac_cv_use_statline"
4900 if test "$no_cache" != 1; then
4901 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4904 if test "$wxUSE_STATLINE" = yes; then
4905 echo "$ac_t""yes" 1>&6
4907 echo "$ac_t""no" 1>&6
4911 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4912 echo "configure:4913: checking "for --enable-statusbar"" >&5
4914 # Check whether --enable-statusbar or --disable-statusbar was given.
4915 if test "${enable_statusbar+set}" = set; then
4916 enableval
="$enable_statusbar"
4918 if test "$enableval" = yes; then
4919 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4921 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4926 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x
; then
4928 eval "DEFAULT_$LINE"
4933 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4938 eval "$ac_cv_use_statusbar"
4939 if test "$no_cache" != 1; then
4940 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4943 if test "$wxUSE_STATUSBAR" = yes; then
4944 echo "$ac_t""yes" 1>&6
4946 echo "$ac_t""no" 1>&6
4950 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4951 echo "configure:4952: checking "for --enable-tabdialog"" >&5
4953 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4954 if test "${enable_tabdialog+set}" = set; then
4955 enableval
="$enable_tabdialog"
4957 if test "$enableval" = yes; then
4958 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4960 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4965 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4966 if test "x$LINE" != x
; then
4967 eval "DEFAULT_$LINE"
4972 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4977 eval "$ac_cv_use_tabdialog"
4978 if test "$no_cache" != 1; then
4979 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4982 if test "$wxUSE_TABDIALOG" = yes; then
4983 echo "$ac_t""yes" 1>&6
4985 echo "$ac_t""no" 1>&6
4989 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4990 echo "configure:4991: checking "for --enable-toolbar"" >&5
4992 # Check whether --enable-toolbar or --disable-toolbar was given.
4993 if test "${enable_toolbar+set}" = set; then
4994 enableval
="$enable_toolbar"
4996 if test "$enableval" = yes; then
4997 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4999 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5004 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5005 if test "x$LINE" != x
; then
5006 eval "DEFAULT_$LINE"
5011 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5016 eval "$ac_cv_use_toolbar"
5017 if test "$no_cache" != 1; then
5018 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5021 if test "$wxUSE_TOOLBAR" = yes; then
5022 echo "$ac_t""yes" 1>&6
5024 echo "$ac_t""no" 1>&6
5028 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5029 echo "configure:5030: checking "for --enable-tbarnative"" >&5
5031 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5032 if test "${enable_tbarnative+set}" = set; then
5033 enableval
="$enable_tbarnative"
5035 if test "$enableval" = yes; then
5036 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5038 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5043 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5044 if test "x$LINE" != x
; then
5045 eval "DEFAULT_$LINE"
5050 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5055 eval "$ac_cv_use_tbarnative"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5060 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5061 echo "$ac_t""yes" 1>&6
5063 echo "$ac_t""no" 1>&6
5067 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5068 echo "configure:5069: checking "for --enable-tbarsmpl"" >&5
5070 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5071 if test "${enable_tbarsmpl+set}" = set; then
5072 enableval
="$enable_tbarsmpl"
5074 if test "$enableval" = yes; then
5075 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5077 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5082 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5083 if test "x$LINE" != x
; then
5084 eval "DEFAULT_$LINE"
5089 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5094 eval "$ac_cv_use_tbarsmpl"
5095 if test "$no_cache" != 1; then
5096 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5099 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5100 echo "$ac_t""yes" 1>&6
5102 echo "$ac_t""no" 1>&6
5106 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5107 echo "configure:5108: checking "for --enable-treectrl"" >&5
5109 # Check whether --enable-treectrl or --disable-treectrl was given.
5110 if test "${enable_treectrl+set}" = set; then
5111 enableval
="$enable_treectrl"
5113 if test "$enableval" = yes; then
5114 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5116 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5121 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x
; then
5123 eval "DEFAULT_$LINE"
5128 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5133 eval "$ac_cv_use_treectrl"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5138 if test "$wxUSE_TREECTRL" = yes; then
5139 echo "$ac_t""yes" 1>&6
5141 echo "$ac_t""no" 1>&6
5147 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5148 echo "configure:5149: checking "for --enable-commondlg"" >&5
5150 # Check whether --enable-commondlg or --disable-commondlg was given.
5151 if test "${enable_commondlg+set}" = set; then
5152 enableval
="$enable_commondlg"
5154 if test "$enableval" = yes; then
5155 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5157 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5162 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5163 if test "x$LINE" != x
; then
5164 eval "DEFAULT_$LINE"
5169 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5174 eval "$ac_cv_use_commondlg"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5179 if test "$wxUSE_COMMONDLGS" = yes; then
5180 echo "$ac_t""yes" 1>&6
5182 echo "$ac_t""no" 1>&6
5186 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5187 echo "configure:5188: checking "for --enable-dirdlg"" >&5
5189 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5190 if test "${enable_dirdlg+set}" = set; then
5191 enableval
="$enable_dirdlg"
5193 if test "$enableval" = yes; then
5194 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5196 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5201 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x
; then
5203 eval "DEFAULT_$LINE"
5208 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5213 eval "$ac_cv_use_dirdlg"
5214 if test "$no_cache" != 1; then
5215 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5218 if test "$wxUSE_DIRDLG" = yes; then
5219 echo "$ac_t""yes" 1>&6
5221 echo "$ac_t""no" 1>&6
5225 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5226 echo "configure:5227: checking "for --enable-textdlg"" >&5
5228 # Check whether --enable-textdlg or --disable-textdlg was given.
5229 if test "${enable_textdlg+set}" = set; then
5230 enableval
="$enable_textdlg"
5232 if test "$enableval" = yes; then
5233 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5235 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5240 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5241 if test "x$LINE" != x
; then
5242 eval "DEFAULT_$LINE"
5247 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5252 eval "$ac_cv_use_textdlg"
5253 if test "$no_cache" != 1; then
5254 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5257 if test "$wxUSE_TEXTDLG" = yes; then
5258 echo "$ac_t""yes" 1>&6
5260 echo "$ac_t""no" 1>&6
5264 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5265 echo "configure:5266: checking "for --enable-tipdlg"" >&5
5267 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5268 if test "${enable_tipdlg+set}" = set; then
5269 enableval
="$enable_tipdlg"
5271 if test "$enableval" = yes; then
5272 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5274 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5279 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5280 if test "x$LINE" != x
; then
5281 eval "DEFAULT_$LINE"
5286 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5291 eval "$ac_cv_use_tipdlg"
5292 if test "$no_cache" != 1; then
5293 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5296 if test "$wxUSE_STARTUP_TIPS" = yes; then
5297 echo "$ac_t""yes" 1>&6
5299 echo "$ac_t""no" 1>&6
5303 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5304 echo "configure:5305: checking "for --enable-progressdlg"" >&5
5306 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5307 if test "${enable_progressdlg+set}" = set; then
5308 enableval
="$enable_progressdlg"
5310 if test "$enableval" = yes; then
5311 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5313 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5318 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5319 if test "x$LINE" != x
; then
5320 eval "DEFAULT_$LINE"
5325 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5330 eval "$ac_cv_use_progressdlg"
5331 if test "$no_cache" != 1; then
5332 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5335 if test "$wxUSE_PROGRESSDLG" = yes; then
5336 echo "$ac_t""yes" 1>&6
5338 echo "$ac_t""no" 1>&6
5342 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5343 echo "configure:5344: checking "for --enable-miniframe"" >&5
5345 # Check whether --enable-miniframe or --disable-miniframe was given.
5346 if test "${enable_miniframe+set}" = set; then
5347 enableval
="$enable_miniframe"
5349 if test "$enableval" = yes; then
5350 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5352 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5357 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5358 if test "x$LINE" != x
; then
5359 eval "DEFAULT_$LINE"
5364 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5369 eval "$ac_cv_use_miniframe"
5370 if test "$no_cache" != 1; then
5371 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5374 if test "$wxUSE_MINIFRAME" = yes; then
5375 echo "$ac_t""yes" 1>&6
5377 echo "$ac_t""no" 1>&6
5381 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5382 echo "configure:5383: checking "for --enable-html"" >&5
5384 # Check whether --enable-html or --disable-html was given.
5385 if test "${enable_html+set}" = set; then
5386 enableval
="$enable_html"
5388 if test "$enableval" = yes; then
5389 ac_cv_use_html
='wxUSE_HTML=yes'
5391 ac_cv_use_html
='wxUSE_HTML=no'
5396 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5397 if test "x$LINE" != x
; then
5398 eval "DEFAULT_$LINE"
5403 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5408 eval "$ac_cv_use_html"
5409 if test "$no_cache" != 1; then
5410 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5413 if test "$wxUSE_HTML" = yes; then
5414 echo "$ac_t""yes" 1>&6
5416 echo "$ac_t""no" 1>&6
5420 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5421 echo "configure:5422: checking "for --enable-tooltips"" >&5
5423 # Check whether --enable-tooltips or --disable-tooltips was given.
5424 if test "${enable_tooltips+set}" = set; then
5425 enableval
="$enable_tooltips"
5427 if test "$enableval" = yes; then
5428 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5430 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5435 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x
; then
5437 eval "DEFAULT_$LINE"
5442 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5447 eval "$ac_cv_use_tooltips"
5448 if test "$no_cache" != 1; then
5449 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5452 if test "$wxUSE_TOOLTIPS" = yes; then
5453 echo "$ac_t""yes" 1>&6
5455 echo "$ac_t""no" 1>&6
5459 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5460 echo "configure:5461: checking "for --enable-splines"" >&5
5462 # Check whether --enable-splines or --disable-splines was given.
5463 if test "${enable_splines+set}" = set; then
5464 enableval
="$enable_splines"
5466 if test "$enableval" = yes; then
5467 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5469 ac_cv_use_splines
='wxUSE_SPLINES=no'
5474 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5475 if test "x$LINE" != x
; then
5476 eval "DEFAULT_$LINE"
5481 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5486 eval "$ac_cv_use_splines"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5491 if test "$wxUSE_SPLINES" = yes; then
5492 echo "$ac_t""yes" 1>&6
5494 echo "$ac_t""no" 1>&6
5498 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5499 echo "configure:5500: checking "for --enable-validators"" >&5
5501 # Check whether --enable-validators or --disable-validators was given.
5502 if test "${enable_validators+set}" = set; then
5503 enableval
="$enable_validators"
5505 if test "$enableval" = yes; then
5506 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5508 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5513 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x
; then
5515 eval "DEFAULT_$LINE"
5520 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5525 eval "$ac_cv_use_validators"
5526 if test "$no_cache" != 1; then
5527 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5530 if test "$wxUSE_VALIDATORS" = yes; then
5531 echo "$ac_t""yes" 1>&6
5533 echo "$ac_t""no" 1>&6
5537 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5538 echo "configure:5539: checking "for --enable-busyinfo"" >&5
5540 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5541 if test "${enable_busyinfo+set}" = set; then
5542 enableval
="$enable_busyinfo"
5544 if test "$enableval" = yes; then
5545 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5547 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5552 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5553 if test "x$LINE" != x
; then
5554 eval "DEFAULT_$LINE"
5559 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5564 eval "$ac_cv_use_busyinfo"
5565 if test "$no_cache" != 1; then
5566 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5569 if test "$wxUSE_BUSYINFO" = yes; then
5570 echo "$ac_t""yes" 1>&6
5572 echo "$ac_t""no" 1>&6
5578 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5579 echo "configure:5580: checking "for --enable-gif"" >&5
5581 # Check whether --enable-gif or --disable-gif was given.
5582 if test "${enable_gif+set}" = set; then
5583 enableval
="$enable_gif"
5585 if test "$enableval" = yes; then
5586 ac_cv_use_gif
='wxUSE_GIF=yes'
5588 ac_cv_use_gif
='wxUSE_GIF=no'
5593 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5594 if test "x$LINE" != x
; then
5595 eval "DEFAULT_$LINE"
5600 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5605 eval "$ac_cv_use_gif"
5606 if test "$no_cache" != 1; then
5607 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5610 if test "$wxUSE_GIF" = yes; then
5611 echo "$ac_t""yes" 1>&6
5613 echo "$ac_t""no" 1>&6
5617 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5618 echo "configure:5619: checking "for --enable-pcx"" >&5
5620 # Check whether --enable-pcx or --disable-pcx was given.
5621 if test "${enable_pcx+set}" = set; then
5622 enableval
="$enable_pcx"
5624 if test "$enableval" = yes; then
5625 ac_cv_use_pcx
='wxUSE_PCX=yes'
5627 ac_cv_use_pcx
='wxUSE_PCX=no'
5632 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5633 if test "x$LINE" != x
; then
5634 eval "DEFAULT_$LINE"
5639 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5644 eval "$ac_cv_use_pcx"
5645 if test "$no_cache" != 1; then
5646 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5649 if test "$wxUSE_PCX" = yes; then
5650 echo "$ac_t""yes" 1>&6
5652 echo "$ac_t""no" 1>&6
5656 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5657 echo "configure:5658: checking "for --enable-pnm"" >&5
5659 # Check whether --enable-pnm or --disable-pnm was given.
5660 if test "${enable_pnm+set}" = set; then
5661 enableval
="$enable_pnm"
5663 if test "$enableval" = yes; then
5664 ac_cv_use_pnm
='wxUSE_PNM=yes'
5666 ac_cv_use_pnm
='wxUSE_PNM=no'
5671 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5672 if test "x$LINE" != x
; then
5673 eval "DEFAULT_$LINE"
5678 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5683 eval "$ac_cv_use_pnm"
5684 if test "$no_cache" != 1; then
5685 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5688 if test "$wxUSE_PNM" = yes; then
5689 echo "$ac_t""yes" 1>&6
5691 echo "$ac_t""no" 1>&6
5698 echo "saving argument cache $wx_arg_cache_file"
5699 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5703 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5704 echo "configure:5705: checking for toolkit" >&5
5706 if test "$wxUSE_GUI" = "yes"; then
5708 if test "$USE_BEOS" = 1; then
5709 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5712 if test "$TOOLKIT_GIVEN" = 1; then
5713 for toolkit
in `echo $ALL_TOOLKITS`; do
5715 eval "value=\$${var}"
5716 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5719 for toolkit
in `echo $ALL_TOOLKITS`; do
5720 if test "$has_toolkit_in_cache" != 1; then
5721 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5723 var
=DEFAULT_wxUSE_
$toolkit
5725 eval "wxUSE_$toolkit=\$${var}"
5729 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5733 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
5734 # PATH_IFS is autodetected by OS/2's configure (usually ';')
5744 case "$NUM_TOOLKITS" in
5748 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5751 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5754 for toolkit
in `echo $ALL_TOOLKITS`; do
5756 eval "value=\$${var}"
5757 if test "x$value" != x
; then
5758 cache_var
=CACHE_
$toolkit
5759 eval "cache=\$${cache_var}"
5760 if test "$cache" = 1; then
5761 echo "$var=$value" >> ${wx_arg_cache_file}
5763 if test "$value" = 1; then
5764 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5771 echo "$ac_t""base only" 1>&6
5775 cat > confcache
<<\EOF
5776 # This file is a shell script that caches the results of configure
5777 # tests run on this system so they can be shared between configure
5778 # scripts and configure runs. It is not useful on other systems.
5779 # If it contains results you don't want to keep, you may remove or edit it.
5781 # By default, configure uses ./config.cache as the cache file,
5782 # creating it if it does not exist already. You can give configure
5783 # the --cache-file=FILE option to use a different cache file; that is
5784 # what configure does when it calls configure scripts in
5785 # subdirectories, so they share the cache.
5786 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5787 # config.status only pays attention to the cache file if you give it the
5788 # --recheck option to rerun configure.
5791 # The following way of writing the cache mishandles newlines in values,
5792 # but we know of no workaround that is simple, portable, and efficient.
5793 # So, don't put newlines in cache variables' values.
5794 # Ultrix sh set writes to stderr and can't be redirected directly,
5795 # and sets the high bit in the cache file unless we assign to the vars.
5797 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5799 # `set' does not quote correctly, so add quotes (double-quote substitution
5800 # turns \\\\ into \\, and sed turns \\ into \).
5802 -e "s/'/'\\\\''/g" \
5803 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5806 # `set' quotes correctly as required by POSIX, so do not add quotes.
5807 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5810 if cmp -s $cache_file confcache
; then
5813 if test -w $cache_file; then
5814 echo "updating cache $cache_file"
5815 cat confcache
> $cache_file
5817 echo "not updating unwritable cache $cache_file"
5823 if eval "test $host != $build"; then
5824 if eval "test $host_alias != NONE"; then
5828 RANLIB
=$host_alias-ranlib
5829 DLLTOOL
=$host_alias-dlltool
5832 STRIP
=$host_alias-strip
5836 # Extract the first word of "gcc", so it can be a program name with args.
5837 set dummy gcc
; ac_word
=$2
5838 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5839 echo "configure:5840: checking for $ac_word" >&5
5840 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5841 echo $ac_n "(cached) $ac_c" 1>&6
5843 if test -n "$CC"; then
5844 ac_cv_prog_CC
="$CC" # Let the user override the test.
5846 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5848 for ac_dir
in $ac_dummy; do
5849 test -z "$ac_dir" && ac_dir
=.
5850 if test -f $ac_dir/$ac_word; then
5859 if test -n "$CC"; then
5860 echo "$ac_t""$CC" 1>&6
5862 echo "$ac_t""no" 1>&6
5865 if test -z "$CC"; then
5866 # Extract the first word of "cc", so it can be a program name with args.
5867 set dummy cc
; ac_word
=$2
5868 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5869 echo "configure:5870: checking for $ac_word" >&5
5870 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5871 echo $ac_n "(cached) $ac_c" 1>&6
5873 if test -n "$CC"; then
5874 ac_cv_prog_CC
="$CC" # Let the user override the test.
5876 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5879 for ac_dir
in $ac_dummy; do
5880 test -z "$ac_dir" && ac_dir
=.
5881 if test -f $ac_dir/$ac_word; then
5882 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5883 ac_prog_rejected
=yes
5891 if test $ac_prog_rejected = yes; then
5892 # We found a bogon in the path, so make sure we never use it.
5893 set dummy
$ac_cv_prog_CC
5895 if test $# -gt 0; then
5896 # We chose a different compiler from the bogus one.
5897 # However, it has the same basename, so the bogon will be chosen
5898 # first if we set CC to just the basename; use the full file name.
5900 set dummy
"$ac_dir/$ac_word" "$@"
5908 if test -n "$CC"; then
5909 echo "$ac_t""$CC" 1>&6
5911 echo "$ac_t""no" 1>&6
5914 if test -z "$CC"; then
5915 case "`uname -s`" in
5917 # Extract the first word of "cl", so it can be a program name with args.
5918 set dummy cl
; ac_word
=$2
5919 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5920 echo "configure:5921: checking for $ac_word" >&5
5921 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5922 echo $ac_n "(cached) $ac_c" 1>&6
5924 if test -n "$CC"; then
5925 ac_cv_prog_CC
="$CC" # Let the user override the test.
5927 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5929 for ac_dir
in $ac_dummy; do
5930 test -z "$ac_dir" && ac_dir
=.
5931 if test -f $ac_dir/$ac_word; then
5940 if test -n "$CC"; then
5941 echo "$ac_t""$CC" 1>&6
5943 echo "$ac_t""no" 1>&6
5948 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5951 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5952 echo "configure:5953: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5955 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5956 ac_cpp
='$CPP $CPPFLAGS'
5957 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5958 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5959 cross_compiling
=$ac_cv_prog_cc_cross
5961 cat > conftest.
$ac_ext << EOF
5963 #line 5964 "configure"
5964 #include "confdefs.h"
5968 if { (eval echo configure
:5969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5969 ac_cv_prog_cc_works
=yes
5970 # If we can't run a trivial program, we are probably using a cross compiler.
5971 if (.
/conftest
; exit) 2>/dev
/null
; then
5972 ac_cv_prog_cc_cross
=no
5974 ac_cv_prog_cc_cross
=yes
5977 echo "configure: failed program was:" >&5
5978 cat conftest.
$ac_ext >&5
5979 ac_cv_prog_cc_works
=no
5983 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5984 ac_cpp
='$CPP $CPPFLAGS'
5985 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5986 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5987 cross_compiling
=$ac_cv_prog_cc_cross
5989 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5990 if test $ac_cv_prog_cc_works = no
; then
5991 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5993 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5994 echo "configure:5995: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5995 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5996 cross_compiling
=$ac_cv_prog_cc_cross
5998 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5999 echo "configure:6000: checking whether we are using GNU C" >&5
6000 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6001 echo $ac_n "(cached) $ac_c" 1>&6
6003 cat > conftest.c
<<EOF
6008 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6015 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6017 if test $ac_cv_prog_gcc = yes; then
6023 ac_test_CFLAGS
="${CFLAGS+set}"
6024 ac_save_CFLAGS
="$CFLAGS"
6026 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6027 echo "configure:6028: checking whether ${CC-cc} accepts -g" >&5
6028 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6029 echo $ac_n "(cached) $ac_c" 1>&6
6031 echo 'void f(){}' > conftest.c
6032 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6041 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6042 if test "$ac_test_CFLAGS" = set; then
6043 CFLAGS
="$ac_save_CFLAGS"
6044 elif test $ac_cv_prog_cc_g = yes; then
6045 if test "$GCC" = yes; then
6051 if test "$GCC" = yes; then
6059 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6061 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6062 echo "configure:6063: checking how to run the C preprocessor" >&5
6063 # On Suns, sometimes $CPP names a directory.
6064 if test -n "$CPP" && test -d "$CPP"; then
6067 if test -z "$CPP"; then
6068 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6069 echo $ac_n "(cached) $ac_c" 1>&6
6071 # This must be in double quotes, not single quotes, because CPP may get
6072 # substituted into the Makefile and "${CC-cc}" will confuse make.
6074 # On the NeXT, cc -E runs the code through the compiler's parser,
6075 # not just through cpp.
6076 cat > conftest.
$ac_ext <<EOF
6077 #line 6078 "configure"
6078 #include "confdefs.h"
6082 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6083 { (eval echo configure
:6084: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6084 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6085 if test -z "$ac_err"; then
6089 echo "configure: failed program was:" >&5
6090 cat conftest.
$ac_ext >&5
6092 CPP
="${CC-cc} -E -traditional-cpp"
6093 cat > conftest.
$ac_ext <<EOF
6094 #line 6095 "configure"
6095 #include "confdefs.h"
6099 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6100 { (eval echo configure
:6101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6101 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6102 if test -z "$ac_err"; then
6106 echo "configure: failed program was:" >&5
6107 cat conftest.
$ac_ext >&5
6109 CPP
="${CC-cc} -nologo -E"
6110 cat > conftest.
$ac_ext <<EOF
6111 #line 6112 "configure"
6112 #include "confdefs.h"
6116 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6117 { (eval echo configure
:6118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6118 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6119 if test -z "$ac_err"; then
6123 echo "configure: failed program was:" >&5
6124 cat conftest.
$ac_ext >&5
6133 ac_cv_prog_CPP
="$CPP"
6135 CPP
="$ac_cv_prog_CPP"
6137 ac_cv_prog_CPP
="$CPP"
6139 echo "$ac_t""$CPP" 1>&6
6142 if test $ac_cv_prog_gcc = yes; then
6143 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6144 echo "configure:6145: checking whether ${CC-cc} needs -traditional" >&5
6145 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6146 echo $ac_n "(cached) $ac_c" 1>&6
6148 ac_pattern
="Autoconf.*'x'"
6149 cat > conftest.
$ac_ext <<EOF
6150 #line 6151 "configure"
6151 #include "confdefs.h"
6155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6156 egrep "$ac_pattern" >/dev
/null
2>&1; then
6158 ac_cv_prog_gcc_traditional
=yes
6161 ac_cv_prog_gcc_traditional
=no
6166 if test $ac_cv_prog_gcc_traditional = no
; then
6167 cat > conftest.
$ac_ext <<EOF
6168 #line 6169 "configure"
6169 #include "confdefs.h"
6173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6174 egrep "$ac_pattern" >/dev
/null
2>&1; then
6176 ac_cv_prog_gcc_traditional
=yes
6183 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6184 if test $ac_cv_prog_gcc_traditional = yes; then
6185 CC
="$CC -traditional"
6192 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6193 ac_cpp
='$CXXCPP $CPPFLAGS'
6194 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6195 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6196 cross_compiling
=$ac_cv_prog_cxx_cross
6199 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6201 # Extract the first word of "$ac_prog", so it can be a program name with args.
6202 set dummy
$ac_prog; ac_word
=$2
6203 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6204 echo "configure:6205: checking for $ac_word" >&5
6205 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6206 echo $ac_n "(cached) $ac_c" 1>&6
6208 if test -n "$CXX"; then
6209 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6211 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6213 for ac_dir
in $ac_dummy; do
6214 test -z "$ac_dir" && ac_dir
=.
6215 if test -f $ac_dir/$ac_word; then
6216 ac_cv_prog_CXX
="$ac_prog"
6223 CXX
="$ac_cv_prog_CXX"
6224 if test -n "$CXX"; then
6225 echo "$ac_t""$CXX" 1>&6
6227 echo "$ac_t""no" 1>&6
6230 test -n "$CXX" && break
6232 test -n "$CXX" || CXX
="gcc"
6235 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6236 echo "configure:6237: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6239 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6240 ac_cpp
='$CXXCPP $CPPFLAGS'
6241 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6242 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6243 cross_compiling
=$ac_cv_prog_cxx_cross
6245 cat > conftest.
$ac_ext << EOF
6247 #line 6248 "configure"
6248 #include "confdefs.h"
6250 int main(){return(0);}
6252 if { (eval echo configure
:6253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6253 ac_cv_prog_cxx_works
=yes
6254 # If we can't run a trivial program, we are probably using a cross compiler.
6255 if (.
/conftest
; exit) 2>/dev
/null
; then
6256 ac_cv_prog_cxx_cross
=no
6258 ac_cv_prog_cxx_cross
=yes
6261 echo "configure: failed program was:" >&5
6262 cat conftest.
$ac_ext >&5
6263 ac_cv_prog_cxx_works
=no
6267 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6268 ac_cpp
='$CXXCPP $CPPFLAGS'
6269 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6270 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6271 cross_compiling
=$ac_cv_prog_cxx_cross
6273 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6274 if test $ac_cv_prog_cxx_works = no
; then
6275 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6277 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6278 echo "configure:6279: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6279 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6280 cross_compiling
=$ac_cv_prog_cxx_cross
6282 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6283 echo "configure:6284: checking whether we are using GNU C++" >&5
6284 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6285 echo $ac_n "(cached) $ac_c" 1>&6
6287 cat > conftest.C
<<EOF
6292 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6293: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6299 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6301 if test $ac_cv_prog_gxx = yes; then
6307 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6308 ac_save_CXXFLAGS
="$CXXFLAGS"
6310 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6311 echo "configure:6312: checking whether ${CXX-g++} accepts -g" >&5
6312 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6313 echo $ac_n "(cached) $ac_c" 1>&6
6315 echo 'void f(){}' > conftest.cc
6316 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6317 ac_cv_prog_cxx_g
=yes
6325 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6326 if test "$ac_test_CXXFLAGS" = set; then
6327 CXXFLAGS
="$ac_save_CXXFLAGS"
6328 elif test $ac_cv_prog_cxx_g = yes; then
6329 if test "$GXX" = yes; then
6335 if test "$GXX" = yes; then
6343 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6344 echo "configure:6345: checking how to run the C++ preprocessor" >&5
6345 if test -z "$CXXCPP"; then
6346 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6347 echo $ac_n "(cached) $ac_c" 1>&6
6350 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6351 ac_cpp
='$CXXCPP $CPPFLAGS'
6352 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6353 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6354 cross_compiling
=$ac_cv_prog_cxx_cross
6355 CXXCPP
="${CXX-g++} -E"
6356 cat > conftest.
$ac_ext <<EOF
6357 #line 6358 "configure"
6358 #include "confdefs.h"
6361 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6362 { (eval echo configure
:6363: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6363 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6364 if test -z "$ac_err"; then
6368 echo "configure: failed program was:" >&5
6369 cat conftest.
$ac_ext >&5
6374 ac_cv_prog_CXXCPP
="$CXXCPP"
6376 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6377 ac_cpp
='$CXXCPP $CPPFLAGS'
6378 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6379 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6380 cross_compiling
=$ac_cv_prog_cxx_cross
6383 CXXCPP
="$ac_cv_prog_CXXCPP"
6384 echo "$ac_t""$CXXCPP" 1>&6
6387 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6390 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6391 ac_cpp
='$CPP $CPPFLAGS'
6392 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6393 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6394 cross_compiling
=$ac_cv_prog_cc_cross
6397 # Extract the first word of "ranlib", so it can be a program name with args.
6398 set dummy ranlib
; ac_word
=$2
6399 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6400 echo "configure:6401: checking for $ac_word" >&5
6401 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6402 echo $ac_n "(cached) $ac_c" 1>&6
6404 if test -n "$RANLIB"; then
6405 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6407 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6409 for ac_dir
in $ac_dummy; do
6410 test -z "$ac_dir" && ac_dir
=.
6411 if test -f $ac_dir/$ac_word; then
6412 ac_cv_prog_RANLIB
="ranlib"
6417 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6420 RANLIB
="$ac_cv_prog_RANLIB"
6421 if test -n "$RANLIB"; then
6422 echo "$ac_t""$RANLIB" 1>&6
6424 echo "$ac_t""no" 1>&6
6428 # Extract the first word of "ar", so it can be a program name with args.
6429 set dummy
ar; ac_word
=$2
6430 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6431 echo "configure:6432: checking for $ac_word" >&5
6432 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6433 echo $ac_n "(cached) $ac_c" 1>&6
6435 if test -n "$AR"; then
6436 ac_cv_prog_AR
="$AR" # Let the user override the test.
6438 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6440 for ac_dir
in $ac_dummy; do
6441 test -z "$ac_dir" && ac_dir
=.
6442 if test -f $ac_dir/$ac_word; then
6448 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6452 if test -n "$AR"; then
6453 echo "$ac_t""$AR" 1>&6
6455 echo "$ac_t""no" 1>&6
6459 # Find a good install program. We prefer a C program (faster),
6460 # so one script is as good as another. But avoid the broken or
6461 # incompatible versions:
6462 # SysV /etc/install, /usr/sbin/install
6463 # SunOS /usr/etc/install
6464 # IRIX /sbin/install
6466 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6467 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6468 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6469 # ./install, which can be erroneously created by make from ./install.sh.
6470 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6471 echo "configure:6472: checking for a BSD compatible install" >&5
6472 if test -z "$INSTALL"; then
6473 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6474 echo $ac_n "(cached) $ac_c" 1>&6
6476 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6477 for ac_dir
in $PATH; do
6478 # Account for people who put trailing slashes in PATH elements.
6480 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6482 # OSF1 and SCO ODT 3.0 have their own names for install.
6483 # Don't use installbsd from OSF since it installs stuff as root
6485 for ac_prog
in ginstall scoinst
install; do
6486 if test -f $ac_dir/$ac_prog; then
6487 if test $ac_prog = install &&
6488 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6489 # AIX install. It has an incompatible calling convention.
6492 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6503 if test "${ac_cv_path_install+set}" = set; then
6504 INSTALL
="$ac_cv_path_install"
6506 # As a last resort, use the slow shell script. We don't cache a
6507 # path for INSTALL within a source directory, because that will
6508 # break other packages using the cache if that directory is
6509 # removed, or if the path is relative.
6510 INSTALL
="$ac_install_sh"
6513 echo "$ac_t""$INSTALL" 1>&6
6515 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6516 # It thinks the first close brace ends the variable substitution.
6517 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6519 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6521 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6524 # Extract the first word of "strip", so it can be a program name with args.
6525 set dummy strip
; ac_word
=$2
6526 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6527 echo "configure:6528: checking for $ac_word" >&5
6528 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6529 echo $ac_n "(cached) $ac_c" 1>&6
6531 if test -n "$STRIP"; then
6532 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6534 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6536 for ac_dir
in $ac_dummy; do
6537 test -z "$ac_dir" && ac_dir
=.
6538 if test -f $ac_dir/$ac_word; then
6539 ac_cv_prog_STRIP
="strip"
6544 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6547 STRIP
="$ac_cv_prog_STRIP"
6548 if test -n "$STRIP"; then
6549 echo "$ac_t""$STRIP" 1>&6
6551 echo "$ac_t""no" 1>&6
6555 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6556 echo "configure:6557: checking "make for VPATH support
"" >&5
6557 cat - << EOF > confMake
6563 if test ! -d sub
; then
6566 echo dummy
> sub
/file
6567 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6569 rm -f sub
/file check final_file confMake
6571 if test "$RESULT" = 0; then
6572 echo "$ac_t""yes" 1>&6
6574 echo "$ac_t""no" 1>&6
6575 { echo "configure: error: You need a make-utility that is able to use the variable
6577 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6580 for ac_prog
in 'bison -y' byacc
6582 # Extract the first word of "$ac_prog", so it can be a program name with args.
6583 set dummy
$ac_prog; ac_word
=$2
6584 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6585 echo "configure:6586: checking for $ac_word" >&5
6586 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6587 echo $ac_n "(cached) $ac_c" 1>&6
6589 if test -n "$YACC"; then
6590 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6592 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6594 for ac_dir
in $ac_dummy; do
6595 test -z "$ac_dir" && ac_dir
=.
6596 if test -f $ac_dir/$ac_word; then
6597 ac_cv_prog_YACC
="$ac_prog"
6604 YACC
="$ac_cv_prog_YACC"
6605 if test -n "$YACC"; then
6606 echo "$ac_t""$YACC" 1>&6
6608 echo "$ac_t""no" 1>&6
6611 test -n "$YACC" && break
6613 test -n "$YACC" || YACC
="yacc"
6616 # Extract the first word of "flex", so it can be a program name with args.
6617 set dummy flex
; ac_word
=$2
6618 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6619 echo "configure:6620: checking for $ac_word" >&5
6620 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6621 echo $ac_n "(cached) $ac_c" 1>&6
6623 if test -n "$LEX"; then
6624 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6626 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6628 for ac_dir
in $ac_dummy; do
6629 test -z "$ac_dir" && ac_dir
=.
6630 if test -f $ac_dir/$ac_word; then
6631 ac_cv_prog_LEX
="flex"
6636 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6639 LEX
="$ac_cv_prog_LEX"
6640 if test -n "$LEX"; then
6641 echo "$ac_t""$LEX" 1>&6
6643 echo "$ac_t""no" 1>&6
6646 if test -z "$LEXLIB"
6652 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6653 echo "configure:6654: checking for yywrap in -l$ac_lib" >&5
6654 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6655 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6656 echo $ac_n "(cached) $ac_c" 1>&6
6658 ac_save_LIBS
="$LIBS"
6659 LIBS
="-l$ac_lib $LIBS"
6660 cat > conftest.
$ac_ext <<EOF
6661 #line 6662 "configure"
6662 #include "confdefs.h"
6663 /* Override any gcc2 internal prototype to avoid an error. */
6664 /* We use char because int might match the return type of a gcc2
6665 builtin and then its argument prototype would still apply. */
6672 if { (eval echo configure
:6673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6674 eval "ac_cv_lib_$ac_lib_var=yes"
6676 echo "configure: failed program was:" >&5
6677 cat conftest.
$ac_ext >&5
6679 eval "ac_cv_lib_$ac_lib_var=no"
6682 LIBS
="$ac_save_LIBS"
6685 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6686 echo "$ac_t""yes" 1>&6
6689 echo "$ac_t""no" 1>&6
6695 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6696 echo "configure:6697: checking whether ln -s works" >&5
6697 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6698 echo $ac_n "(cached) $ac_c" 1>&6
6701 if ln -s X conftestdata
2>/dev
/null
6704 ac_cv_prog_LN_S
="ln -s"
6709 LN_S
="$ac_cv_prog_LN_S"
6710 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6711 echo "$ac_t""yes" 1>&6
6713 echo "$ac_t""no" 1>&6
6719 /usr/local/include \
6721 /usr/Motif-1.2/include \
6722 /usr/Motif-2.1/include \
6724 /usr/include/Motif1.2 \
6725 /opt/xpm/include/X11 \
6726 /opt/GBxpm/include/ \
6727 /opt/GBxpm/X11/include/ \
6729 /usr/Motif1.2/include \
6731 /usr/openwin/include \
6735 /usr/X11R6/include \
6736 /usr/X11R6.4/include \
6737 /usr/X11R5/include \
6738 /usr/X11R4/include \
6740 /usr/include/X11R6 \
6741 /usr/include/X11R5 \
6742 /usr/include/X11R4 \
6744 /usr/local/X11R6/include \
6745 /usr/local/X11R5/include \
6746 /usr/local/X11R4/include \
6748 /usr/local/include/X11R6 \
6749 /usr/local/include/X11R5 \
6750 /usr/local/include/X11R4 \
6754 /usr/local/X11/include \
6755 /usr/local/include/X11 \
6759 /usr/XFree86/include/X11 \
6761 X:/XFree86/include \
6762 X:/XFree86/include/X11 \
6765 /usr/local/include/gtk \
6767 /usr/local/include/glib \
6770 /usr/local/include/qt \
6772 /usr/include/windows \
6774 /usr/local/include/wine \
6776 /usr/unsupported/include \
6777 /usr/athena/include \
6778 /usr/local/x11r5/include \
6779 /usr/lpp/Xamples/include \
6781 /usr/openwin/share/include \
6785 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6788 cat > confcache
<<\EOF
6789 # This file is a shell script that caches the results of configure
6790 # tests run on this system so they can be shared between configure
6791 # scripts and configure runs. It is not useful on other systems.
6792 # If it contains results you don't want to keep, you may remove or edit it.
6794 # By default, configure uses ./config.cache as the cache file,
6795 # creating it if it does not exist already. You can give configure
6796 # the --cache-file=FILE option to use a different cache file; that is
6797 # what configure does when it calls configure scripts in
6798 # subdirectories, so they share the cache.
6799 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6800 # config.status only pays attention to the cache file if you give it the
6801 # --recheck option to rerun configure.
6804 # The following way of writing the cache mishandles newlines in values,
6805 # but we know of no workaround that is simple, portable, and efficient.
6806 # So, don't put newlines in cache variables' values.
6807 # Ultrix sh set writes to stderr and can't be redirected directly,
6808 # and sets the high bit in the cache file unless we assign to the vars.
6810 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6812 # `set' does not quote correctly, so add quotes (double-quote substitution
6813 # turns \\\\ into \\, and sed turns \\ into \).
6815 -e "s/'/'\\\\''/g" \
6816 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6819 # `set' quotes correctly as required by POSIX, so do not add quotes.
6820 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6823 if cmp -s $cache_file confcache
; then
6826 if test -w $cache_file; then
6827 echo "updating cache $cache_file"
6828 cat confcache
> $cache_file
6830 echo "not updating unwritable cache $cache_file"
6839 if test "$wxUSE_GUI" = "yes"; then
6858 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6859 if test "$cross_compiling" = "yes" ; then
6860 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6862 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6863 echo "configure:6864: checking for Windows headers" >&5
6866 for ac_dir
in $SEARCH_INCLUDE;
6868 if test -f "$ac_dir/windows.h"; then
6869 ac_find_includes
=$ac_dir
6874 if test "$ac_find_includes" != "" ; then
6875 echo "$ac_t""found $ac_find_includes" 1>&6
6876 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6878 echo "$ac_t""no" 1>&6
6879 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6883 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6884 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6886 if test "$wxUSE_MINGW" = 1; then
6887 LDFLAGS
="$LDFLAGS -mwindows"
6892 GUIOBJS
="\$(MSW_GUIOBJS)"
6893 GUIHEADERS
="\$(MSW_HEADERS)"
6894 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6895 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6900 if test "$wxUSE_GTK" = 1; then
6902 if test x
$gtk_config_exec_prefix != x
; then
6903 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6904 if test x
${GTK_CONFIG+set} != xset
; then
6905 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6908 if test x
$gtk_config_prefix != x
; then
6909 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6910 if test x
${GTK_CONFIG+set} != xset
; then
6911 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6915 # Extract the first word of "gtk-config", so it can be a program name with args.
6916 set dummy gtk
-config; ac_word
=$2
6917 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6918 echo "configure:6919: checking for $ac_word" >&5
6919 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6920 echo $ac_n "(cached) $ac_c" 1>&6
6922 case "$GTK_CONFIG" in
6924 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6927 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6930 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6932 for ac_dir
in $ac_dummy; do
6933 test -z "$ac_dir" && ac_dir
=.
6934 if test -f $ac_dir/$ac_word; then
6935 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6940 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6944 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6945 if test -n "$GTK_CONFIG"; then
6946 echo "$ac_t""$GTK_CONFIG" 1>&6
6948 echo "$ac_t""no" 1>&6
6951 min_gtk_version
=1.2.3
6952 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6953 echo "configure:6954: checking for GTK - version >= $min_gtk_version" >&5
6955 if test "$GTK_CONFIG" != "no" ; then
6956 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6957 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
6958 ac_save_CFLAGS
="$CFLAGS"
6959 ac_save_LIBS
="$LIBS"
6960 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6961 LIBS
="$LIBS $GTK_LIBS"
6962 if test "$cross_compiling" = yes; then
6963 echo $ac_n "cross compiling; assumed OK... $ac_c"
6965 cat > conftest.
$ac_ext <<EOF
6966 #line 6967 "configure"
6967 #include "confdefs.h"
6969 #include <gtk/gtk.h>
6970 #include <gtk/gtkfeatures.h>
6976 int major, minor, micro;
6978 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6979 printf("%s, bad version string\n", "$min_gtk_version");
6983 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
6984 (GTK_MINOR_VERSION != gtk_minor_version) ||
6985 (GTK_MICRO_VERSION != gtk_micro_version)) {
6986 printf("Headers vs. library version mismatch!\n");
6990 if (gtk_minor_version == 1) return FALSE;
6992 return !((gtk_major_version > major) ||
6993 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6994 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6998 if { (eval echo configure
:6999: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7002 echo "configure: failed program was:" >&5
7003 cat conftest.
$ac_ext >&5
7010 CFLAGS
="$ac_save_CFLAGS"
7011 LIBS
="$ac_save_LIBS"
7015 if test "x$no_gtk" = x
; then
7016 echo "$ac_t""yes" 1>&6
7019 echo "$ac_t""no" 1>&6
7028 if test "$WXGTK12" != 1; then
7029 { echo "configure: error:
7030 Please check that gtk-config is in path, the directory
7031 where GTK+ libraries are installed (returned by
7032 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7033 equivalent variable and GTK+ is version 1.2.3 or above.
7038 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7041 GUI_TK_LIBRARY
="$GTK_LIBS"
7045 AFMINSTALL
=afminstall
7047 GUIOBJS
="\$(GTK_GUIOBJS)"
7048 GUIHEADERS
="\$(GTK_HEADERS)"
7049 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7050 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7051 GUIDEPS
="\$(GTK_GUIDEPS)"
7052 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7053 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7054 UNIXOBJS
="\$(UNIX_OBJS)"
7055 UNIXDEPS
="\$(UNIX_DEPS)"
7058 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7059 echo "configure:7060: checking for gdk_im_open in -lgdk" >&5
7060 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7061 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7062 echo $ac_n "(cached) $ac_c" 1>&6
7064 ac_save_LIBS
="$LIBS"
7066 cat > conftest.
$ac_ext <<EOF
7067 #line 7068 "configure"
7068 #include "confdefs.h"
7069 /* Override any gcc2 internal prototype to avoid an error. */
7070 /* We use char because int might match the return type of a gcc2
7071 builtin and then its argument prototype would still apply. */
7078 if { (eval echo configure
:7079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7080 eval "ac_cv_lib_$ac_lib_var=yes"
7082 echo "configure: failed program was:" >&5
7083 cat conftest.
$ac_ext >&5
7085 eval "ac_cv_lib_$ac_lib_var=no"
7088 LIBS
="$ac_save_LIBS"
7091 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7092 echo "$ac_t""yes" 1>&6
7093 cat >> confdefs.h
<<\EOF
7098 echo "$ac_t""no" 1>&6
7103 if test "$wxUSE_WINE" = 1; then
7104 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7105 echo "configure:7106: checking for WINE includes" >&5
7108 for ac_dir
in $SEARCH_INCLUDE;
7110 if test -f "$ac_dir/windows.h"; then
7111 ac_find_includes
=$ac_dir
7116 if test "$ac_find_includes" != "" ; then
7117 echo "$ac_t""found $ac_find_includes" 1>&6
7118 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7120 echo "$ac_t""no" 1>&6
7121 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7125 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7126 echo "configure:7127: checking for Xpm library" >&5
7129 for ac_dir
in $SEARCH_LIB;
7131 for ac_extension
in a so sl
; do
7132 if test -f "$ac_dir/libXpm.$ac_extension"; then
7133 ac_find_libraries
=$ac_dir
7139 if test "$ac_find_libraries" != "" ; then
7140 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7142 cat >> confdefs.h
<<\EOF
7143 #define wxHAVE_LIB_XPM 1
7146 echo "$ac_t""found at $ac_find_libraries" 1>&6
7148 echo "$ac_t""no" 1>&6
7149 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7153 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7154 echo "configure:7155: checking for Mesa library" >&5
7157 for ac_dir
in $SEARCH_LIB;
7159 for ac_extension
in a so sl
; do
7160 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7161 ac_find_libraries
=$ac_dir
7167 if test "$ac_find_libraries" != "" ; then
7168 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7169 MESA_LINK
="-lMesaGL"
7170 echo "$ac_t""found at $ac_find_libraries" 1>&6
7172 { echo "configure: error: no" 1>&2; exit 1; }
7175 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7176 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7180 GUIHEADERS
="\$(MSW_HEADERS)"
7181 GUIOBJS
="\$(MSW_GUIOBJS)"
7182 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7183 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7184 GUIDEPS
="\$(MSW_GUIDEPS)"
7185 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7186 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7187 UNIXOBJS
="\$(UNIX_OBJS)"
7188 UNIXDEPS
="\$(UNIX_DEPS)"
7192 if test "$wxUSE_MOTIF" = 1; then
7193 # If we find X, set shell vars x_includes and x_libraries to the
7194 # paths, otherwise set no_x=yes.
7195 # Uses ac_ vars as temps to allow command line to override cache and checks.
7196 # --without-x overrides everything else, but does not touch the cache.
7197 echo $ac_n "checking for X""... $ac_c" 1>&6
7198 echo "configure:7199: checking for X" >&5
7200 # Check whether --with-x or --without-x was given.
7201 if test "${with_x+set}" = set; then
7206 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7207 if test "x$with_x" = xno
; then
7208 # The user explicitly disabled X.
7211 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7212 # Both variables are already set.
7215 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7216 echo $ac_n "(cached) $ac_c" 1>&6
7218 # One or both of the vars are not set, and there is no cached value.
7219 ac_x_includes
=NO ac_x_libraries
=NO
7221 if mkdir conftestdir
; then
7223 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7224 cat > Imakefile
<<'EOF'
7226 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7228 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7229 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7230 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7231 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7232 for ac_extension
in a so sl
; do
7233 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7234 test -f $ac_im_libdir/libX11.
$ac_extension; then
7235 ac_im_usrlibdir
=$ac_im_libdir; break
7238 # Screen out bogus values from the imake configuration. They are
7239 # bogus both because they are the default anyway, and because
7240 # using them would break gcc on systems where it needs fixed includes.
7241 case "$ac_im_incroot" in
7243 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7245 case "$ac_im_usrlibdir" in
7247 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7254 if test "$ac_x_includes" = NO
; then
7255 # Guess where to find include files, by looking for this one X11 .h file.
7256 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7258 # First, try using that file with no special directory specified.
7259 cat > conftest.
$ac_ext <<EOF
7260 #line 7261 "configure"
7261 #include "confdefs.h"
7262 #include <$x_direct_test_include>
7264 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7265 { (eval echo configure
:7266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7266 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7267 if test -z "$ac_err"; then
7269 # We can compile using X headers with no special include directory.
7273 echo "configure: failed program was:" >&5
7274 cat conftest.
$ac_ext >&5
7276 # Look for the header file in a standard set of common directories.
7277 # Check X11 before X11Rn because it is often a symlink to the current release.
7280 /usr
/X
11R
6/include \
7281 /usr
/X
11R
5/include \
7282 /usr
/X
11R
4/include \
7285 /usr
/include
/X11R6 \
7286 /usr
/include
/X11R5 \
7287 /usr
/include
/X11R4 \
7289 /usr
/local
/X
11/include \
7290 /usr
/local
/X
11R
6/include \
7291 /usr
/local
/X
11R
5/include \
7292 /usr
/local
/X
11R
4/include \
7294 /usr
/local
/include
/X11 \
7295 /usr
/local
/include
/X11R6 \
7296 /usr
/local
/include
/X11R5 \
7297 /usr
/local
/include
/X11R4 \
7301 /usr
/XFree
86/include
/X11 \
7304 /usr
/local
/include \
7305 /usr
/unsupported
/include \
7306 /usr
/athena
/include \
7307 /usr
/local
/x
11r
5/include \
7308 /usr
/lpp
/Xamples
/include \
7310 /usr
/openwin
/include \
7311 /usr
/openwin
/share
/include \
7314 if test -r "$ac_dir/$x_direct_test_include"; then
7315 ac_x_includes
=$ac_dir
7321 fi # $ac_x_includes = NO
7323 if test "$ac_x_libraries" = NO
; then
7324 # Check for the libraries.
7326 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7327 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7329 # See if we find them without any special options.
7330 # Don't add to $LIBS permanently.
7331 ac_save_LIBS
="$LIBS"
7332 LIBS
="-l$x_direct_test_library $LIBS"
7333 cat > conftest.
$ac_ext <<EOF
7334 #line 7335 "configure"
7335 #include "confdefs.h"
7338 ${x_direct_test_function}()
7341 if { (eval echo configure
:7342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7343 LIBS
="$ac_save_LIBS"
7344 # We can link X programs with no special library path.
7347 echo "configure: failed program was:" >&5
7348 cat conftest.
$ac_ext >&5
7350 LIBS
="$ac_save_LIBS"
7351 # First see if replacing the include by lib works.
7352 # Check X11 before X11Rn because it is often a symlink to the current release.
7353 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7364 /usr
/local
/X
11/lib \
7365 /usr
/local
/X
11R
6/lib \
7366 /usr
/local
/X
11R
5/lib \
7367 /usr
/local
/X
11R
4/lib \
7369 /usr
/local
/lib
/X11 \
7370 /usr
/local
/lib
/X11R6 \
7371 /usr
/local
/lib
/X11R5 \
7372 /usr
/local
/lib
/X11R4 \
7376 /usr
/XFree
86/lib
/X11 \
7380 /usr
/unsupported
/lib \
7382 /usr
/local
/x
11r
5/lib \
7383 /usr
/lpp
/Xamples
/lib \
7387 /usr
/openwin
/share
/lib \
7390 for ac_extension
in a so sl
; do
7391 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7392 ac_x_libraries
=$ac_dir
7399 fi # $ac_x_libraries = NO
7401 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7402 # Didn't find X anywhere. Cache the known absence of X.
7403 ac_cv_have_x
="have_x=no"
7405 # Record where we found X for the cache.
7406 ac_cv_have_x
="have_x=yes \
7407 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7411 eval "$ac_cv_have_x"
7414 if test "$have_x" != yes; then
7415 echo "$ac_t""$have_x" 1>&6
7418 # If each of the values was on the command line, it overrides each guess.
7419 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7420 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7421 # Update the cache value to reflect the command line values.
7422 ac_cv_have_x
="have_x=yes \
7423 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7424 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7427 if test "$no_x" = yes; then
7428 # Not all programs may use this symbol, but it does not hurt to define it.
7429 cat >> confdefs.h
<<\EOF
7430 #define X_DISPLAY_MISSING 1
7433 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7435 if test -n "$x_includes"; then
7436 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7439 # It would also be nice to do this for all -L options, not just this one.
7440 if test -n "$x_libraries"; then
7441 X_LIBS
="$X_LIBS -L$x_libraries"
7442 # For Solaris; some versions of Sun CC require a space after -R and
7443 # others require no space. Words are not sufficient . . . .
7444 case "`(uname -sr) 2>/dev/null`" in
7446 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7447 echo "configure:7448: checking whether -R must be followed by a space" >&5
7448 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7449 cat > conftest.
$ac_ext <<EOF
7450 #line 7451 "configure"
7451 #include "confdefs.h"
7457 if { (eval echo configure
:7458: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7461 echo "configure: failed program was:" >&5
7462 cat conftest.
$ac_ext >&5
7467 if test $ac_R_nospace = yes; then
7468 echo "$ac_t""no" 1>&6
7469 X_LIBS
="$X_LIBS -R$x_libraries"
7471 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7472 cat > conftest.
$ac_ext <<EOF
7473 #line 7474 "configure"
7474 #include "confdefs.h"
7480 if { (eval echo configure
:7481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7484 echo "configure: failed program was:" >&5
7485 cat conftest.
$ac_ext >&5
7490 if test $ac_R_space = yes; then
7491 echo "$ac_t""yes" 1>&6
7492 X_LIBS
="$X_LIBS -R $x_libraries"
7494 echo "$ac_t""neither works" 1>&6
7497 LIBS
="$ac_xsave_LIBS"
7501 # Check for system-dependent libraries X programs must link with.
7502 # Do this before checking for the system-independent R6 libraries
7503 # (-lICE), since we may need -lsocket or whatever for X linking.
7505 if test "$ISC" = yes; then
7506 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7508 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7509 # libraries were built with DECnet support. And karl@cs.umb.edu says
7510 # the Alpha needs dnet_stub (dnet does not exist).
7511 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7512 echo "configure:7513: checking for dnet_ntoa in -ldnet" >&5
7513 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7514 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7515 echo $ac_n "(cached) $ac_c" 1>&6
7517 ac_save_LIBS
="$LIBS"
7519 cat > conftest.
$ac_ext <<EOF
7520 #line 7521 "configure"
7521 #include "confdefs.h"
7522 /* Override any gcc2 internal prototype to avoid an error. */
7523 /* We use char because int might match the return type of a gcc2
7524 builtin and then its argument prototype would still apply. */
7531 if { (eval echo configure
:7532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7533 eval "ac_cv_lib_$ac_lib_var=yes"
7535 echo "configure: failed program was:" >&5
7536 cat conftest.
$ac_ext >&5
7538 eval "ac_cv_lib_$ac_lib_var=no"
7541 LIBS
="$ac_save_LIBS"
7544 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7545 echo "$ac_t""yes" 1>&6
7546 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7548 echo "$ac_t""no" 1>&6
7551 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7552 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7553 echo "configure:7554: checking for dnet_ntoa in -ldnet_stub" >&5
7554 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7555 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7556 echo $ac_n "(cached) $ac_c" 1>&6
7558 ac_save_LIBS
="$LIBS"
7559 LIBS
="-ldnet_stub $LIBS"
7560 cat > conftest.
$ac_ext <<EOF
7561 #line 7562 "configure"
7562 #include "confdefs.h"
7563 /* Override any gcc2 internal prototype to avoid an error. */
7564 /* We use char because int might match the return type of a gcc2
7565 builtin and then its argument prototype would still apply. */
7572 if { (eval echo configure
:7573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7574 eval "ac_cv_lib_$ac_lib_var=yes"
7576 echo "configure: failed program was:" >&5
7577 cat conftest.
$ac_ext >&5
7579 eval "ac_cv_lib_$ac_lib_var=no"
7582 LIBS
="$ac_save_LIBS"
7585 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7586 echo "$ac_t""yes" 1>&6
7587 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7589 echo "$ac_t""no" 1>&6
7594 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7595 # to get the SysV transport functions.
7596 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7598 # The nsl library prevents programs from opening the X display
7599 # on Irix 5.2, according to dickey@clark.net.
7600 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7601 echo "configure:7602: checking for gethostbyname" >&5
7602 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7603 echo $ac_n "(cached) $ac_c" 1>&6
7605 cat > conftest.
$ac_ext <<EOF
7606 #line 7607 "configure"
7607 #include "confdefs.h"
7608 /* System header to define __stub macros and hopefully few prototypes,
7609 which can conflict with char gethostbyname(); below. */
7611 /* Override any gcc2 internal prototype to avoid an error. */
7612 /* We use char because int might match the return type of a gcc2
7613 builtin and then its argument prototype would still apply. */
7614 char gethostbyname();
7618 /* The GNU C library defines this for functions which it implements
7619 to always fail with ENOSYS. Some functions are actually named
7620 something starting with __ and the normal name is an alias. */
7621 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7629 if { (eval echo configure
:7630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7631 eval "ac_cv_func_gethostbyname=yes"
7633 echo "configure: failed program was:" >&5
7634 cat conftest.
$ac_ext >&5
7636 eval "ac_cv_func_gethostbyname=no"
7641 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7642 echo "$ac_t""yes" 1>&6
7645 echo "$ac_t""no" 1>&6
7648 if test $ac_cv_func_gethostbyname = no
; then
7649 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7650 echo "configure:7651: checking for gethostbyname in -lnsl" >&5
7651 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7652 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7653 echo $ac_n "(cached) $ac_c" 1>&6
7655 ac_save_LIBS
="$LIBS"
7657 cat > conftest.
$ac_ext <<EOF
7658 #line 7659 "configure"
7659 #include "confdefs.h"
7660 /* Override any gcc2 internal prototype to avoid an error. */
7661 /* We use char because int might match the return type of a gcc2
7662 builtin and then its argument prototype would still apply. */
7663 char gethostbyname();
7669 if { (eval echo configure
:7670: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7671 eval "ac_cv_lib_$ac_lib_var=yes"
7673 echo "configure: failed program was:" >&5
7674 cat conftest.
$ac_ext >&5
7676 eval "ac_cv_lib_$ac_lib_var=no"
7679 LIBS
="$ac_save_LIBS"
7682 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7683 echo "$ac_t""yes" 1>&6
7684 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7686 echo "$ac_t""no" 1>&6
7691 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7692 # socket/setsockopt and other routines are undefined under SCO ODT
7693 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7694 # on later versions), says simon@lia.di.epfl.ch: it contains
7695 # gethostby* variants that don't use the nameserver (or something).
7696 # -lsocket must be given before -lnsl if both are needed.
7697 # We assume that if connect needs -lnsl, so does gethostbyname.
7698 echo $ac_n "checking for connect""... $ac_c" 1>&6
7699 echo "configure:7700: checking for connect" >&5
7700 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7701 echo $ac_n "(cached) $ac_c" 1>&6
7703 cat > conftest.
$ac_ext <<EOF
7704 #line 7705 "configure"
7705 #include "confdefs.h"
7706 /* System header to define __stub macros and hopefully few prototypes,
7707 which can conflict with char connect(); below. */
7709 /* Override any gcc2 internal prototype to avoid an error. */
7710 /* We use char because int might match the return type of a gcc2
7711 builtin and then its argument prototype would still apply. */
7716 /* The GNU C library defines this for functions which it implements
7717 to always fail with ENOSYS. Some functions are actually named
7718 something starting with __ and the normal name is an alias. */
7719 #if defined (__stub_connect) || defined (__stub___connect)
7727 if { (eval echo configure
:7728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7729 eval "ac_cv_func_connect=yes"
7731 echo "configure: failed program was:" >&5
7732 cat conftest.
$ac_ext >&5
7734 eval "ac_cv_func_connect=no"
7739 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7740 echo "$ac_t""yes" 1>&6
7743 echo "$ac_t""no" 1>&6
7746 if test $ac_cv_func_connect = no
; then
7747 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7748 echo "configure:7749: checking for connect in -lsocket" >&5
7749 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7750 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7751 echo $ac_n "(cached) $ac_c" 1>&6
7753 ac_save_LIBS
="$LIBS"
7754 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7755 cat > conftest.
$ac_ext <<EOF
7756 #line 7757 "configure"
7757 #include "confdefs.h"
7758 /* Override any gcc2 internal prototype to avoid an error. */
7759 /* We use char because int might match the return type of a gcc2
7760 builtin and then its argument prototype would still apply. */
7767 if { (eval echo configure
:7768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7769 eval "ac_cv_lib_$ac_lib_var=yes"
7771 echo "configure: failed program was:" >&5
7772 cat conftest.
$ac_ext >&5
7774 eval "ac_cv_lib_$ac_lib_var=no"
7777 LIBS
="$ac_save_LIBS"
7780 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7781 echo "$ac_t""yes" 1>&6
7782 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7784 echo "$ac_t""no" 1>&6
7789 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7790 echo $ac_n "checking for remove""... $ac_c" 1>&6
7791 echo "configure:7792: checking for remove" >&5
7792 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7793 echo $ac_n "(cached) $ac_c" 1>&6
7795 cat > conftest.
$ac_ext <<EOF
7796 #line 7797 "configure"
7797 #include "confdefs.h"
7798 /* System header to define __stub macros and hopefully few prototypes,
7799 which can conflict with char remove(); below. */
7801 /* Override any gcc2 internal prototype to avoid an error. */
7802 /* We use char because int might match the return type of a gcc2
7803 builtin and then its argument prototype would still apply. */
7808 /* The GNU C library defines this for functions which it implements
7809 to always fail with ENOSYS. Some functions are actually named
7810 something starting with __ and the normal name is an alias. */
7811 #if defined (__stub_remove) || defined (__stub___remove)
7819 if { (eval echo configure
:7820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7821 eval "ac_cv_func_remove=yes"
7823 echo "configure: failed program was:" >&5
7824 cat conftest.
$ac_ext >&5
7826 eval "ac_cv_func_remove=no"
7831 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7832 echo "$ac_t""yes" 1>&6
7835 echo "$ac_t""no" 1>&6
7838 if test $ac_cv_func_remove = no
; then
7839 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7840 echo "configure:7841: checking for remove in -lposix" >&5
7841 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7842 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7843 echo $ac_n "(cached) $ac_c" 1>&6
7845 ac_save_LIBS
="$LIBS"
7846 LIBS
="-lposix $LIBS"
7847 cat > conftest.
$ac_ext <<EOF
7848 #line 7849 "configure"
7849 #include "confdefs.h"
7850 /* Override any gcc2 internal prototype to avoid an error. */
7851 /* We use char because int might match the return type of a gcc2
7852 builtin and then its argument prototype would still apply. */
7859 if { (eval echo configure
:7860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7861 eval "ac_cv_lib_$ac_lib_var=yes"
7863 echo "configure: failed program was:" >&5
7864 cat conftest.
$ac_ext >&5
7866 eval "ac_cv_lib_$ac_lib_var=no"
7869 LIBS
="$ac_save_LIBS"
7872 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7873 echo "$ac_t""yes" 1>&6
7874 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7876 echo "$ac_t""no" 1>&6
7881 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7882 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7883 echo "configure:7884: checking for shmat" >&5
7884 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7885 echo $ac_n "(cached) $ac_c" 1>&6
7887 cat > conftest.
$ac_ext <<EOF
7888 #line 7889 "configure"
7889 #include "confdefs.h"
7890 /* System header to define __stub macros and hopefully few prototypes,
7891 which can conflict with char shmat(); below. */
7893 /* Override any gcc2 internal prototype to avoid an error. */
7894 /* We use char because int might match the return type of a gcc2
7895 builtin and then its argument prototype would still apply. */
7900 /* The GNU C library defines this for functions which it implements
7901 to always fail with ENOSYS. Some functions are actually named
7902 something starting with __ and the normal name is an alias. */
7903 #if defined (__stub_shmat) || defined (__stub___shmat)
7911 if { (eval echo configure
:7912: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7913 eval "ac_cv_func_shmat=yes"
7915 echo "configure: failed program was:" >&5
7916 cat conftest.
$ac_ext >&5
7918 eval "ac_cv_func_shmat=no"
7923 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7924 echo "$ac_t""yes" 1>&6
7927 echo "$ac_t""no" 1>&6
7930 if test $ac_cv_func_shmat = no
; then
7931 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7932 echo "configure:7933: checking for shmat in -lipc" >&5
7933 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7934 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7935 echo $ac_n "(cached) $ac_c" 1>&6
7937 ac_save_LIBS
="$LIBS"
7939 cat > conftest.
$ac_ext <<EOF
7940 #line 7941 "configure"
7941 #include "confdefs.h"
7942 /* Override any gcc2 internal prototype to avoid an error. */
7943 /* We use char because int might match the return type of a gcc2
7944 builtin and then its argument prototype would still apply. */
7951 if { (eval echo configure
:7952: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7953 eval "ac_cv_lib_$ac_lib_var=yes"
7955 echo "configure: failed program was:" >&5
7956 cat conftest.
$ac_ext >&5
7958 eval "ac_cv_lib_$ac_lib_var=no"
7961 LIBS
="$ac_save_LIBS"
7964 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7965 echo "$ac_t""yes" 1>&6
7966 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7968 echo "$ac_t""no" 1>&6
7974 # Check for libraries that X11R6 Xt/Xaw programs need.
7975 ac_save_LDFLAGS
="$LDFLAGS"
7976 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7977 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7978 # check for ICE first), but we must link in the order -lSM -lICE or
7979 # we get undefined symbols. So assume we have SM if we have ICE.
7980 # These have to be linked with before -lX11, unlike the other
7981 # libraries we check for below, so use a different variable.
7982 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7983 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7984 echo "configure:7985: checking for IceConnectionNumber in -lICE" >&5
7985 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7986 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7987 echo $ac_n "(cached) $ac_c" 1>&6
7989 ac_save_LIBS
="$LIBS"
7990 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7991 cat > conftest.
$ac_ext <<EOF
7992 #line 7993 "configure"
7993 #include "confdefs.h"
7994 /* Override any gcc2 internal prototype to avoid an error. */
7995 /* We use char because int might match the return type of a gcc2
7996 builtin and then its argument prototype would still apply. */
7997 char IceConnectionNumber();
8000 IceConnectionNumber()
8003 if { (eval echo configure
:8004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8005 eval "ac_cv_lib_$ac_lib_var=yes"
8007 echo "configure: failed program was:" >&5
8008 cat conftest.
$ac_ext >&5
8010 eval "ac_cv_lib_$ac_lib_var=no"
8013 LIBS
="$ac_save_LIBS"
8016 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8017 echo "$ac_t""yes" 1>&6
8018 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8020 echo "$ac_t""no" 1>&6
8023 LDFLAGS
="$ac_save_LDFLAGS"
8028 if test "$no_x" = "yes"; then
8029 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8032 GUI_TK_LIBRARY
="$X_LIBS"
8033 TOOLKIT_INCLUDE
="$X_CFLAGS"
8035 AFMINSTALL
=afminstall
8038 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8039 echo "configure:8040: checking for Motif/Lesstif headers" >&5
8042 for ac_dir
in $SEARCH_INCLUDE;
8044 if test -f "$ac_dir/Xm/Xm.h"; then
8045 ac_find_includes
=$ac_dir
8050 if test "$ac_find_includes" != "" ; then
8051 echo "$ac_t""found $ac_find_includes" 1>&6
8053 echo "$ac_t""no" 1>&6
8054 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8057 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8058 echo "configure:8059: checking for Motif/Lesstif library" >&5
8061 for ac_dir
in $SEARCH_LIB;
8063 for ac_extension
in a so sl
; do
8064 if test -f "$ac_dir/libXm.$ac_extension"; then
8065 ac_find_libraries
=$ac_dir
8071 if test "$ac_find_libraries" != "" ; then
8073 ac_path_to_include
=$ac_find_includes
8074 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8076 if test $result = 0; then
8077 ac_path_to_include
=""
8079 ac_path_to_include
="-I$ac_find_includes"
8083 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8085 if test $result = 0; then
8088 ac_path_to_link
="-L$ac_find_libraries"
8092 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8093 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8094 echo "$ac_t""found at $ac_find_libraries" 1>&6
8096 echo "$ac_t""no" 1>&6
8097 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8100 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
8101 echo "configure:8102: checking for Xt library" >&5
8104 for ac_dir
in $SEARCH_LIB;
8106 for ac_extension
in a so sl
; do
8107 if test -f "$ac_dir/libXt.$ac_extension"; then
8108 ac_find_libraries
=$ac_dir
8114 if test "$ac_find_libraries" != "" ; then
8116 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8118 if test $result = 0; then
8121 ac_path_to_link
="-L$ac_find_libraries"
8124 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8125 echo "$ac_t""found at $ac_find_libraries" 1>&6
8127 echo "$ac_t""no" 1>&6
8128 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
8132 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8133 echo "configure:8134: checking for Xpm library" >&5
8136 for ac_dir
in $SEARCH_LIB;
8138 for ac_extension
in a so sl
; do
8139 if test -f "$ac_dir/libXpm.$ac_extension"; then
8140 ac_find_libraries
=$ac_dir
8146 if test "$ac_find_libraries" != "" ; then
8148 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8150 if test $result = 0; then
8153 ac_path_to_link
="-L$ac_find_libraries"
8156 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8158 cat >> confdefs.h
<<\EOF
8159 #define wxHAVE_LIB_XPM 1
8162 echo "$ac_t""found at $ac_find_libraries" 1>&6
8164 echo "$ac_t""no" 1>&6
8165 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8168 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8169 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8172 GUIHEADERS
="\$(MOTIF_HEADERS)"
8173 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8174 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8175 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8176 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8177 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8178 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8179 UNIXOBJS
="\$(UNIX_OBJS)"
8180 UNIXDEPS
="\$(UNIX_DEPS)"
8184 if test "$wxUSE_PM" = 1; then
8187 GUIOBJS
="\$(PM_GUIOBJS)"
8188 GUIHEADERS
="\$(PM_HEADERS)"
8189 COMMONOBJS
="\$(PM_COMMONOBJS)"
8190 GENERICOBJS
="\$(PM_GENERICOBJS)"
8191 GUIDEPS
="\$(PM_GUIDEPS)"
8192 COMMONDEPS
="\$(PM_COMMONDEPS)"
8193 GENERICDEPS
="\$(PM_GENERICDEPS)"
8199 if test "$TOOLKIT" != "PM" ; then
8200 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
8205 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8207 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8209 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS)"
8211 if test "$TOOLKIT" != "MSW"; then
8212 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
8215 if test "$wxUSE_LIBJPEG" = "yes" ; then
8216 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8218 if test "$wxUSE_LIBTIFF" = "yes" ; then
8219 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8221 if test "$wxUSE_LIBPNG" = "yes" ; then
8222 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8224 if test "$wxUSE_ZLIB" = "yes" ; then
8225 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8227 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
8229 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
8230 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
8231 RPM_SPEC
="wx\$(TOOLKIT).spec"
8233 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
8234 DISTDIR
="wx\$(TOOLKIT)"
8239 ALL_OBJECTS
="\$(BASE_OBJS) \${BASE_UNIX_OBJS}"
8240 ALL_DEPFILES
="\${BASE_DEPS} \${BASE_UNIX_DEPS}"
8244 PORT_FILES
="src/files.lst"
8245 RPM_FILES
="src/rpmfiles.lst"
8246 RPM_SPEC
="wxBase.spec"
8252 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8254 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8256 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8258 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8259 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8260 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8269 if test "$wxUSE_SHARED" = "yes"; then
8272 if test "$GCC" = yes ; then
8273 SHARED_LD
="${CC} -shared -fPIC -o"
8276 SHARED_LD
="${CXX} -b -o"
8279 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8280 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8284 SHARED_LD
="${CC} -shared -o"
8286 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8287 WX_ALL
="CREATE_LINKS"
8289 *-*-irix5* | *-*-irix6* )
8290 if test "$GCC" = yes ; then
8291 SHARED_LD
="${CC} -shared -o"
8294 SHARED_LD
="${CXX} -shared -o"
8296 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8297 WX_ALL
="CREATE_LINKS"
8300 if test "$GCC" = yes ; then
8301 SHARED_LD
="${CC} -shared -o"
8304 SHARED_LD
="${CXX} -G -o"
8307 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8308 WX_ALL
="CREATE_LINKS"
8311 SHARED_LD
="${CC} -shared -o"
8313 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8314 WX_ALL
="CREATE_LINKS"
8316 *-*-freebsd* | *-*-netbsd*)
8317 SHARED_LD
="${CC} -shared -o"
8319 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8320 WX_ALL
="CREATE_LINKS"
8323 SHARED_LD
="${CXX} -shared -o"
8325 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8326 WX_ALL
="CREATE_LINKS"
8329 SHARED_LD
="${CXX} -shared -o"
8331 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8332 WX_ALL
="CREATE_LINKS"
8335 SHARED_LD
="${CC} -shared -o"
8337 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8338 WX_ALL
="CREATE_LINKS"
8341 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8342 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8345 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8346 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8349 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8350 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8353 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8354 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8357 SHARED_LD
="${LD} -shared -o"
8359 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8360 WX_ALL
="CREATE_LINKS"
8363 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8366 if test "x$WX_TARGET_LIBRARY" = "x"; then
8367 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8370 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8371 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8375 for ac_hdr
in strings.h
8377 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8378 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8379 echo "configure:8380: checking for $ac_hdr" >&5
8380 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+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"
8388 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8389 { (eval echo configure
:8390: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8390 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8391 if test -z "$ac_err"; then
8393 eval "ac_cv_header_$ac_safe=yes"
8396 echo "configure: failed program was:" >&5
8397 cat conftest.
$ac_ext >&5
8399 eval "ac_cv_header_$ac_safe=no"
8403 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8404 echo "$ac_t""yes" 1>&6
8405 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8406 cat >> confdefs.h
<<EOF
8407 #define $ac_tr_hdr 1
8411 echo "$ac_t""no" 1>&6
8415 for ac_hdr
in unistd.h
8417 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8418 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8419 echo "configure:8420: checking for $ac_hdr" >&5
8420 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8421 echo $ac_n "(cached) $ac_c" 1>&6
8423 cat > conftest.
$ac_ext <<EOF
8424 #line 8425 "configure"
8425 #include "confdefs.h"
8428 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8429 { (eval echo configure
:8430: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8430 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8431 if test -z "$ac_err"; then
8433 eval "ac_cv_header_$ac_safe=yes"
8436 echo "configure: failed program was:" >&5
8437 cat conftest.
$ac_ext >&5
8439 eval "ac_cv_header_$ac_safe=no"
8443 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8444 echo "$ac_t""yes" 1>&6
8445 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8446 cat >> confdefs.h
<<EOF
8447 #define $ac_tr_hdr 1
8451 echo "$ac_t""no" 1>&6
8455 for ac_hdr
in wchar.h
8457 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8458 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8459 echo "configure:8460: checking for $ac_hdr" >&5
8460 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8461 echo $ac_n "(cached) $ac_c" 1>&6
8463 cat > conftest.
$ac_ext <<EOF
8464 #line 8465 "configure"
8465 #include "confdefs.h"
8468 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8469 { (eval echo configure
:8470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8470 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8471 if test -z "$ac_err"; then
8473 eval "ac_cv_header_$ac_safe=yes"
8476 echo "configure: failed program was:" >&5
8477 cat conftest.
$ac_ext >&5
8479 eval "ac_cv_header_$ac_safe=no"
8483 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8484 echo "$ac_t""yes" 1>&6
8485 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8486 cat >> confdefs.h
<<EOF
8487 #define $ac_tr_hdr 1
8491 echo "$ac_t""no" 1>&6
8495 for ac_hdr
in wcstr.h
8497 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8498 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8499 echo "configure:8500: checking for $ac_hdr" >&5
8500 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8501 echo $ac_n "(cached) $ac_c" 1>&6
8503 cat > conftest.
$ac_ext <<EOF
8504 #line 8505 "configure"
8505 #include "confdefs.h"
8508 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8509 { (eval echo configure
:8510: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8510 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8511 if test -z "$ac_err"; then
8513 eval "ac_cv_header_$ac_safe=yes"
8516 echo "configure: failed program was:" >&5
8517 cat conftest.
$ac_ext >&5
8519 eval "ac_cv_header_$ac_safe=no"
8523 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8524 echo "$ac_t""yes" 1>&6
8525 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8526 cat >> confdefs.h
<<EOF
8527 #define $ac_tr_hdr 1
8531 echo "$ac_t""no" 1>&6
8535 for ac_hdr
in fnmatch.h
8537 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8538 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8539 echo "configure:8540: checking for $ac_hdr" >&5
8540 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8541 echo $ac_n "(cached) $ac_c" 1>&6
8543 cat > conftest.
$ac_ext <<EOF
8544 #line 8545 "configure"
8545 #include "confdefs.h"
8548 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8549 { (eval echo configure
:8550: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8550 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8551 if test -z "$ac_err"; then
8553 eval "ac_cv_header_$ac_safe=yes"
8556 echo "configure: failed program was:" >&5
8557 cat conftest.
$ac_ext >&5
8559 eval "ac_cv_header_$ac_safe=no"
8563 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8564 echo "$ac_t""yes" 1>&6
8565 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8566 cat >> confdefs.h
<<EOF
8567 #define $ac_tr_hdr 1
8571 echo "$ac_t""no" 1>&6
8576 if test "$wxUSE_GUI" = "yes"; then
8577 for ac_hdr
in X
11/XKBlib.h
8579 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8580 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8581 echo "configure:8582: checking for $ac_hdr" >&5
8582 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8583 echo $ac_n "(cached) $ac_c" 1>&6
8585 cat > conftest.
$ac_ext <<EOF
8586 #line 8587 "configure"
8587 #include "confdefs.h"
8590 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8591 { (eval echo configure
:8592: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8592 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8593 if test -z "$ac_err"; then
8595 eval "ac_cv_header_$ac_safe=yes"
8598 echo "configure: failed program was:" >&5
8599 cat conftest.
$ac_ext >&5
8601 eval "ac_cv_header_$ac_safe=no"
8605 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8606 echo "$ac_t""yes" 1>&6
8607 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8608 cat >> confdefs.h
<<EOF
8609 #define $ac_tr_hdr 1
8613 echo "$ac_t""no" 1>&6
8620 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8621 echo "configure:8622: checking for ANSI C header files" >&5
8622 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8623 echo $ac_n "(cached) $ac_c" 1>&6
8625 cat > conftest.
$ac_ext <<EOF
8626 #line 8627 "configure"
8627 #include "confdefs.h"
8633 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8634 { (eval echo configure
:8635: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8635 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8636 if test -z "$ac_err"; then
8638 ac_cv_header_stdc
=yes
8641 echo "configure: failed program was:" >&5
8642 cat conftest.
$ac_ext >&5
8644 ac_cv_header_stdc
=no
8648 if test $ac_cv_header_stdc = yes; then
8649 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8650 cat > conftest.
$ac_ext <<EOF
8651 #line 8652 "configure"
8652 #include "confdefs.h"
8655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8656 egrep "memchr" >/dev
/null
2>&1; then
8660 ac_cv_header_stdc
=no
8666 if test $ac_cv_header_stdc = yes; then
8667 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8668 cat > conftest.
$ac_ext <<EOF
8669 #line 8670 "configure"
8670 #include "confdefs.h"
8673 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8674 egrep "free" >/dev
/null
2>&1; then
8678 ac_cv_header_stdc
=no
8684 if test $ac_cv_header_stdc = yes; then
8685 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8686 if test "$cross_compiling" = yes; then
8689 cat > conftest.
$ac_ext <<EOF
8690 #line 8691 "configure"
8691 #include "confdefs.h"
8693 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8694 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8695 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8696 int main () { int i; for (i = 0; i < 256; i++)
8697 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
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
8705 echo "configure: failed program was:" >&5
8706 cat conftest.
$ac_ext >&5
8708 ac_cv_header_stdc
=no
8716 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8717 if test $ac_cv_header_stdc = yes; then
8718 cat >> confdefs.h
<<\EOF
8719 #define STDC_HEADERS 1
8724 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8725 echo "configure:8726: checking for mode_t" >&5
8726 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8727 echo $ac_n "(cached) $ac_c" 1>&6
8729 cat > conftest.
$ac_ext <<EOF
8730 #line 8731 "configure"
8731 #include "confdefs.h"
8732 #include <sys/types.h>
8738 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8739 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8741 ac_cv_type_mode_t
=yes
8744 ac_cv_type_mode_t
=no
8749 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8750 if test $ac_cv_type_mode_t = no
; then
8751 cat >> confdefs.h
<<\EOF
8757 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8758 echo "configure:8759: checking for off_t" >&5
8759 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8760 echo $ac_n "(cached) $ac_c" 1>&6
8762 cat > conftest.
$ac_ext <<EOF
8763 #line 8764 "configure"
8764 #include "confdefs.h"
8765 #include <sys/types.h>
8771 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8772 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8774 ac_cv_type_off_t
=yes
8782 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8783 if test $ac_cv_type_off_t = no
; then
8784 cat >> confdefs.h
<<\EOF
8790 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8791 echo "configure:8792: checking for pid_t" >&5
8792 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8793 echo $ac_n "(cached) $ac_c" 1>&6
8795 cat > conftest.
$ac_ext <<EOF
8796 #line 8797 "configure"
8797 #include "confdefs.h"
8798 #include <sys/types.h>
8804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8805 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8807 ac_cv_type_pid_t
=yes
8815 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8816 if test $ac_cv_type_pid_t = no
; then
8817 cat >> confdefs.h
<<\EOF
8823 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8824 echo "configure:8825: checking for size_t" >&5
8825 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8826 echo $ac_n "(cached) $ac_c" 1>&6
8828 cat > conftest.
$ac_ext <<EOF
8829 #line 8830 "configure"
8830 #include "confdefs.h"
8831 #include <sys/types.h>
8837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8838 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8840 ac_cv_type_size_t
=yes
8843 ac_cv_type_size_t
=no
8848 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8849 if test $ac_cv_type_size_t = no
; then
8850 cat >> confdefs.h
<<\EOF
8851 #define size_t unsigned
8856 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8857 echo "configure:8858: checking for uid_t in sys/types.h" >&5
8858 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8859 echo $ac_n "(cached) $ac_c" 1>&6
8861 cat > conftest.
$ac_ext <<EOF
8862 #line 8863 "configure"
8863 #include "confdefs.h"
8864 #include <sys/types.h>
8866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8867 egrep "uid_t" >/dev
/null
2>&1; then
8869 ac_cv_type_uid_t
=yes
8878 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8879 if test $ac_cv_type_uid_t = no
; then
8880 cat >> confdefs.h
<<\EOF
8884 cat >> confdefs.h
<<\EOF
8892 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
8893 echo "configure:8894: checking for pw_gecos in struct passwd" >&5
8894 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
8895 echo $ac_n "(cached) $ac_c" 1>&6
8898 cat > conftest.
$ac_ext <<EOF
8899 #line 8900 "configure"
8900 #include "confdefs.h"
8910 if { (eval echo configure
:8911: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8913 wx_cv_struct_pw_gecos
=yes
8914 cat >> confdefs.h
<<\EOF
8915 #define HAVE_PW_GECOS 1
8920 echo "configure: failed program was:" >&5
8921 cat conftest.
$ac_ext >&5
8924 wx_cv_struct_pw_gecos
=no
8933 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
8936 echo $ac_n "checking for working const""... $ac_c" 1>&6
8937 echo "configure:8938: checking for working const" >&5
8938 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8939 echo $ac_n "(cached) $ac_c" 1>&6
8941 cat > conftest.
$ac_ext <<EOF
8942 #line 8943 "configure"
8943 #include "confdefs.h"
8947 /* Ultrix mips cc rejects this. */
8948 typedef int charset[2]; const charset x;
8949 /* SunOS 4.1.1 cc rejects this. */
8950 char const *const *ccp;
8952 /* NEC SVR4.0.2 mips cc rejects this. */
8953 struct point {int x, y;};
8954 static struct point const zero = {0,0};
8955 /* AIX XL C 1.02.0.0 rejects this.
8956 It does not let you subtract one const X* pointer from another in an arm
8957 of an if-expression whose if-part is not a constant expression */
8958 const char *g = "string";
8959 ccp = &g + (g ? g-g : 0);
8960 /* HPUX 7.0 cc rejects these. */
8963 ccp = (char const *const *) p;
8964 { /* SCO 3.2v4 cc rejects this. */
8966 char const *s = 0 ? (char *) 0 : (char const *) 0;
8970 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8972 const int *foo = &x[0];
8975 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8976 typedef const int *iptr;
8980 { /* AIX XL C 1.02.0.0 rejects this saying
8981 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8982 struct s { int j; const int *ap[3]; };
8983 struct s *b; b->j = 5;
8985 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8991 if { (eval echo configure
:8992: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8995 echo "configure: failed program was:" >&5
8996 cat conftest.
$ac_ext >&5
9003 echo "$ac_t""$ac_cv_c_const" 1>&6
9004 if test $ac_cv_c_const = no
; then
9005 cat >> confdefs.h
<<\EOF
9011 echo $ac_n "checking for inline""... $ac_c" 1>&6
9012 echo "configure:9013: checking for inline" >&5
9013 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
9014 echo $ac_n "(cached) $ac_c" 1>&6
9017 for ac_kw
in inline __inline__ __inline
; do
9018 cat > conftest.
$ac_ext <<EOF
9019 #line 9020 "configure"
9020 #include "confdefs.h"
9026 if { (eval echo configure
:9027: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9028 ac_cv_c_inline
=$ac_kw; break
9030 echo "configure: failed program was:" >&5
9031 cat conftest.
$ac_ext >&5
9038 echo "$ac_t""$ac_cv_c_inline" 1>&6
9039 case "$ac_cv_c_inline" in
9041 no
) cat >> confdefs.h
<<\EOF
9045 *) cat >> confdefs.h
<<EOF
9046 #define inline $ac_cv_c_inline
9052 echo $ac_n "checking size of char""... $ac_c" 1>&6
9053 echo "configure:9054: checking size of char" >&5
9054 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
9055 echo $ac_n "(cached) $ac_c" 1>&6
9057 if test "$cross_compiling" = yes; then
9060 cat > conftest.
$ac_ext <<EOF
9061 #line 9062 "configure"
9062 #include "confdefs.h"
9066 FILE *f=fopen("conftestval", "w");
9068 fprintf(f, "%d\n", sizeof(char));
9072 if { (eval echo configure
:9073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9074 ac_cv_sizeof_char
=`cat conftestval`
9076 echo "configure: failed program was:" >&5
9077 cat conftest.
$ac_ext >&5
9085 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
9086 cat >> confdefs.h
<<EOF
9087 #define SIZEOF_CHAR $ac_cv_sizeof_char
9091 echo $ac_n "checking size of short""... $ac_c" 1>&6
9092 echo "configure:9093: checking size of short" >&5
9093 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
9094 echo $ac_n "(cached) $ac_c" 1>&6
9096 if test "$cross_compiling" = yes; then
9097 ac_cv_sizeof_short
=2
9099 cat > conftest.
$ac_ext <<EOF
9100 #line 9101 "configure"
9101 #include "confdefs.h"
9105 FILE *f=fopen("conftestval", "w");
9107 fprintf(f, "%d\n", sizeof(short));
9111 if { (eval echo configure
:9112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9113 ac_cv_sizeof_short
=`cat conftestval`
9115 echo "configure: failed program was:" >&5
9116 cat conftest.
$ac_ext >&5
9118 ac_cv_sizeof_short
=0
9124 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9125 cat >> confdefs.h
<<EOF
9126 #define SIZEOF_SHORT $ac_cv_sizeof_short
9130 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9131 echo "configure:9132: checking size of int *" >&5
9132 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9133 echo $ac_n "(cached) $ac_c" 1>&6
9135 if test "$cross_compiling" = yes; then
9136 ac_cv_sizeof_int_p
=4
9138 cat > conftest.
$ac_ext <<EOF
9139 #line 9140 "configure"
9140 #include "confdefs.h"
9144 FILE *f=fopen("conftestval", "w");
9146 fprintf(f, "%d\n", sizeof(int *));
9150 if { (eval echo configure
:9151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9152 ac_cv_sizeof_int_p
=`cat conftestval`
9154 echo "configure: failed program was:" >&5
9155 cat conftest.
$ac_ext >&5
9157 ac_cv_sizeof_int_p
=0
9163 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9164 cat >> confdefs.h
<<EOF
9165 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9169 echo $ac_n "checking size of int""... $ac_c" 1>&6
9170 echo "configure:9171: checking size of int" >&5
9171 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9172 echo $ac_n "(cached) $ac_c" 1>&6
9174 if test "$cross_compiling" = yes; then
9177 cat > conftest.
$ac_ext <<EOF
9178 #line 9179 "configure"
9179 #include "confdefs.h"
9183 FILE *f=fopen("conftestval", "w");
9185 fprintf(f, "%d\n", sizeof(int));
9189 if { (eval echo configure
:9190: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9191 ac_cv_sizeof_int
=`cat conftestval`
9193 echo "configure: failed program was:" >&5
9194 cat conftest.
$ac_ext >&5
9202 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9203 cat >> confdefs.h
<<EOF
9204 #define SIZEOF_INT $ac_cv_sizeof_int
9208 echo $ac_n "checking size of long""... $ac_c" 1>&6
9209 echo "configure:9210: checking size of long" >&5
9210 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9211 echo $ac_n "(cached) $ac_c" 1>&6
9213 if test "$cross_compiling" = yes; then
9216 cat > conftest.
$ac_ext <<EOF
9217 #line 9218 "configure"
9218 #include "confdefs.h"
9222 FILE *f=fopen("conftestval", "w");
9224 fprintf(f, "%d\n", sizeof(long));
9228 if { (eval echo configure
:9229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9230 ac_cv_sizeof_long
=`cat conftestval`
9232 echo "configure: failed program was:" >&5
9233 cat conftest.
$ac_ext >&5
9241 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9242 cat >> confdefs.h
<<EOF
9243 #define SIZEOF_LONG $ac_cv_sizeof_long
9247 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9248 echo "configure:9249: checking size of long long" >&5
9249 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9250 echo $ac_n "(cached) $ac_c" 1>&6
9252 if test "$cross_compiling" = yes; then
9253 ac_cv_sizeof_long_long
=0
9255 cat > conftest.
$ac_ext <<EOF
9256 #line 9257 "configure"
9257 #include "confdefs.h"
9261 FILE *f=fopen("conftestval", "w");
9263 fprintf(f, "%d\n", sizeof(long long));
9267 if { (eval echo configure
:9268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9269 ac_cv_sizeof_long_long
=`cat conftestval`
9271 echo "configure: failed program was:" >&5
9272 cat conftest.
$ac_ext >&5
9274 ac_cv_sizeof_long_long
=0
9280 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9281 cat >> confdefs.h
<<EOF
9282 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9287 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9288 echo "configure:9289: checking whether byte ordering is bigendian" >&5
9289 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9290 echo $ac_n "(cached) $ac_c" 1>&6
9292 ac_cv_c_bigendian
=unknown
9293 # See if sys/param.h defines the BYTE_ORDER macro.
9294 cat > conftest.
$ac_ext <<EOF
9295 #line 9296 "configure"
9296 #include "confdefs.h"
9297 #include <sys/types.h>
9298 #include <sys/param.h>
9301 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9306 if { (eval echo configure
:9307: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9308 # It does; now see whether it defined to BIG_ENDIAN or not.
9309 cat > conftest.
$ac_ext <<EOF
9310 #line 9311 "configure"
9311 #include "confdefs.h"
9312 #include <sys/types.h>
9313 #include <sys/param.h>
9316 #if BYTE_ORDER != BIG_ENDIAN
9321 if { (eval echo configure
:9322: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9323 ac_cv_c_bigendian
=yes
9325 echo "configure: failed program was:" >&5
9326 cat conftest.
$ac_ext >&5
9328 ac_cv_c_bigendian
=no
9332 echo "configure: failed program was:" >&5
9333 cat conftest.
$ac_ext >&5
9336 if test $ac_cv_c_bigendian = unknown
; then
9337 if test "$cross_compiling" = yes; then
9338 ac_cv_c_bigendian
=unknown
9340 cat > conftest.
$ac_ext <<EOF
9341 #line 9342 "configure"
9342 #include "confdefs.h"
9344 /* Are we little or big endian? From Harbison&Steele. */
9348 char c[sizeof (long)];
9351 exit (u.c[sizeof (long) - 1] == 1);
9354 if { (eval echo configure
:9355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9356 ac_cv_c_bigendian
=no
9358 echo "configure: failed program was:" >&5
9359 cat conftest.
$ac_ext >&5
9361 ac_cv_c_bigendian
=yes
9369 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9370 if test $ac_cv_c_bigendian = unknown
; then
9371 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
9373 if test $ac_cv_c_bigendian = yes; then
9374 cat >> confdefs.h
<<\EOF
9375 #define WORDS_BIGENDIAN 1
9382 if test "$cross_compiling" = "yes"; then
9383 cat >> confdefs.h
<<\EOF
9384 #define wxUSE_IOSTREAMH 1
9390 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9391 ac_cpp
='$CXXCPP $CPPFLAGS'
9392 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9393 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9394 cross_compiling
=$ac_cv_prog_cxx_cross
9397 for ac_hdr
in iostream
9399 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9400 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9401 echo "configure:9402: checking for $ac_hdr" >&5
9402 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9403 echo $ac_n "(cached) $ac_c" 1>&6
9405 cat > conftest.
$ac_ext <<EOF
9406 #line 9407 "configure"
9407 #include "confdefs.h"
9410 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9411 { (eval echo configure
:9412: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9412 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9413 if test -z "$ac_err"; then
9415 eval "ac_cv_header_$ac_safe=yes"
9418 echo "configure: failed program was:" >&5
9419 cat conftest.
$ac_ext >&5
9421 eval "ac_cv_header_$ac_safe=no"
9425 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9426 echo "$ac_t""yes" 1>&6
9427 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9428 cat >> confdefs.h
<<EOF
9429 #define $ac_tr_hdr 1
9433 echo "$ac_t""no" 1>&6
9438 if test "x$HAVE_IOSTREAM" = x
; then
9439 cat >> confdefs.h
<<\EOF
9440 #define wxUSE_IOSTREAMH 1
9448 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9449 ac_cpp
='$CPP $CPPFLAGS'
9450 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9451 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9452 cross_compiling
=$ac_cv_prog_cc_cross
9458 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9459 echo "configure:9460: checking if C++ compiler supports bool" >&5
9460 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9461 echo $ac_n "(cached) $ac_c" 1>&6
9466 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9467 ac_cpp
='$CXXCPP $CPPFLAGS'
9468 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9469 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9470 cross_compiling
=$ac_cv_prog_cxx_cross
9473 cat > conftest.
$ac_ext <<EOF
9474 #line 9475 "configure"
9475 #include "confdefs.h"
9486 if { (eval echo configure
:9487: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9489 cat >> confdefs.h
<<\EOF
9496 echo "configure: failed program was:" >&5
9497 cat conftest.
$ac_ext >&5
9507 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9508 ac_cpp
='$CPP $CPPFLAGS'
9509 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9510 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9511 cross_compiling
=$ac_cv_prog_cc_cross
9516 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9518 if test "$wx_cv_cpp_bool" = "yes"; then
9519 cat >> confdefs.h
<<\EOF
9527 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9528 echo "configure:9529: checking if you need GNU extensions" >&5
9529 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9530 echo $ac_n "(cached) $ac_c" 1>&6
9533 cat > conftest.
$ac_ext <<EOF
9534 #line 9535 "configure"
9535 #include "confdefs.h"
9536 #include <features.h>
9540 #ifndef __GNU_LIBRARY__
9541 Compile error wanted
9547 if { (eval echo configure
:9548: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9549 wx_cv_gnu_extensions
=yes
9551 echo "configure: failed program was:" >&5
9552 cat conftest.
$ac_ext >&5
9554 wx_cv_gnu_extensions
=no
9561 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9562 if test "$wx_cv_gnu_extensions" = "yes"; then
9563 cat >> confdefs.h
<<EOF
9564 #define _GNU_SOURCE 1
9571 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9572 echo "configure:9573: checking for wcslen in -lc" >&5
9573 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9574 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9575 echo $ac_n "(cached) $ac_c" 1>&6
9577 ac_save_LIBS
="$LIBS"
9579 cat > conftest.
$ac_ext <<EOF
9580 #line 9581 "configure"
9581 #include "confdefs.h"
9582 /* Override any gcc2 internal prototype to avoid an error. */
9583 /* We use char because int might match the return type of a gcc2
9584 builtin and then its argument prototype would still apply. */
9591 if { (eval echo configure
:9592: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9593 eval "ac_cv_lib_$ac_lib_var=yes"
9595 echo "configure: failed program was:" >&5
9596 cat conftest.
$ac_ext >&5
9598 eval "ac_cv_lib_$ac_lib_var=no"
9601 LIBS
="$ac_save_LIBS"
9604 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9605 echo "$ac_t""yes" 1>&6
9607 cat >> confdefs.h
<<\EOF
9608 #define HAVE_WCSLEN 1
9614 echo "$ac_t""no" 1>&6
9616 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9617 echo "configure:9618: checking for wcslen in -lw" >&5
9618 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9619 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9620 echo $ac_n "(cached) $ac_c" 1>&6
9622 ac_save_LIBS
="$LIBS"
9624 cat > conftest.
$ac_ext <<EOF
9625 #line 9626 "configure"
9626 #include "confdefs.h"
9627 /* Override any gcc2 internal prototype to avoid an error. */
9628 /* We use char because int might match the return type of a gcc2
9629 builtin and then its argument prototype would still apply. */
9636 if { (eval echo configure
:9637: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9638 eval "ac_cv_lib_$ac_lib_var=yes"
9640 echo "configure: failed program was:" >&5
9641 cat conftest.
$ac_ext >&5
9643 eval "ac_cv_lib_$ac_lib_var=no"
9646 LIBS
="$ac_save_LIBS"
9649 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9650 echo "$ac_t""yes" 1>&6
9652 cat >> confdefs.h
<<\EOF
9653 #define HAVE_WCSLEN 1
9659 echo "$ac_t""no" 1>&6
9666 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9667 echo "configure:9668: checking for vprintf" >&5
9668 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9669 echo $ac_n "(cached) $ac_c" 1>&6
9671 cat > conftest.
$ac_ext <<EOF
9672 #line 9673 "configure"
9673 #include "confdefs.h"
9674 /* System header to define __stub macros and hopefully few prototypes,
9675 which can conflict with char vprintf(); below. */
9677 /* Override any gcc2 internal prototype to avoid an error. */
9678 /* We use char because int might match the return type of a gcc2
9679 builtin and then its argument prototype would still apply. */
9684 /* The GNU C library defines this for functions which it implements
9685 to always fail with ENOSYS. Some functions are actually named
9686 something starting with __ and the normal name is an alias. */
9687 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9695 if { (eval echo configure
:9696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9697 eval "ac_cv_func_vprintf=yes"
9699 echo "configure: failed program was:" >&5
9700 cat conftest.
$ac_ext >&5
9702 eval "ac_cv_func_vprintf=no"
9707 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9708 echo "$ac_t""yes" 1>&6
9709 cat >> confdefs.h
<<\EOF
9710 #define HAVE_VPRINTF 1
9714 echo "$ac_t""no" 1>&6
9717 if test "$ac_cv_func_vprintf" != yes; then
9718 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9719 echo "configure:9720: checking for _doprnt" >&5
9720 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9721 echo $ac_n "(cached) $ac_c" 1>&6
9723 cat > conftest.
$ac_ext <<EOF
9724 #line 9725 "configure"
9725 #include "confdefs.h"
9726 /* System header to define __stub macros and hopefully few prototypes,
9727 which can conflict with char _doprnt(); below. */
9729 /* Override any gcc2 internal prototype to avoid an error. */
9730 /* We use char because int might match the return type of a gcc2
9731 builtin and then its argument prototype would still apply. */
9736 /* The GNU C library defines this for functions which it implements
9737 to always fail with ENOSYS. Some functions are actually named
9738 something starting with __ and the normal name is an alias. */
9739 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9747 if { (eval echo configure
:9748: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9749 eval "ac_cv_func__doprnt=yes"
9751 echo "configure: failed program was:" >&5
9752 cat conftest.
$ac_ext >&5
9754 eval "ac_cv_func__doprnt=no"
9759 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9760 echo "$ac_t""yes" 1>&6
9761 cat >> confdefs.h
<<\EOF
9762 #define HAVE_DOPRNT 1
9766 echo "$ac_t""no" 1>&6
9772 for ac_func
in vsnprintf
9774 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9775 echo "configure:9776: checking for $ac_func" >&5
9776 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9777 echo $ac_n "(cached) $ac_c" 1>&6
9779 cat > conftest.
$ac_ext <<EOF
9780 #line 9781 "configure"
9781 #include "confdefs.h"
9782 /* System header to define __stub macros and hopefully few prototypes,
9783 which can conflict with char $ac_func(); below. */
9785 /* Override any gcc2 internal prototype to avoid an error. */
9786 /* We use char because int might match the return type of a gcc2
9787 builtin and then its argument prototype would still apply. */
9792 /* The GNU C library defines this for functions which it implements
9793 to always fail with ENOSYS. Some functions are actually named
9794 something starting with __ and the normal name is an alias. */
9795 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9803 if { (eval echo configure
:9804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9805 eval "ac_cv_func_$ac_func=yes"
9807 echo "configure: failed program was:" >&5
9808 cat conftest.
$ac_ext >&5
9810 eval "ac_cv_func_$ac_func=no"
9815 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9816 echo "$ac_t""yes" 1>&6
9817 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9818 cat >> confdefs.h
<<EOF
9819 #define $ac_tr_func 1
9821 cat >> confdefs.h
<<\EOF
9822 #define HAVE_VSNPRINTF 1
9826 echo "$ac_t""no" 1>&6
9827 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9835 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9836 ac_cpp
='$CXXCPP $CPPFLAGS'
9837 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9838 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9839 cross_compiling
=$ac_cv_prog_cxx_cross
9842 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9843 echo "configure:9844: checking for vsscanf" >&5
9844 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9845 echo $ac_n "(cached) $ac_c" 1>&6
9848 if test "$cross_compiling" = yes; then
9849 wx_cv_func_vsscanf
=no
9852 cat > conftest.
$ac_ext <<EOF
9853 #line 9854 "configure"
9854 #include "confdefs.h"
9856 extern "C" void exit(int);
9862 int try_vsscanf(const char *format, ...)
9865 va_start(ap, format);
9867 vsscanf("17", format, ap);
9875 try_vsscanf("%d", &i);
9876 return i == 17 ? 0 : 1;
9880 if { (eval echo configure
:9881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9883 cat >> confdefs.h
<<\EOF
9884 #define HAVE_VSSCANF 1
9887 wx_cv_func_vsscanf
=yes
9890 echo "configure: failed program was:" >&5
9891 cat conftest.
$ac_ext >&5
9893 wx_cv_func_vsscanf
=no
9901 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9904 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9905 ac_cpp
='$CPP $CPPFLAGS'
9906 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9907 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9908 cross_compiling
=$ac_cv_prog_cc_cross
9911 if test "$TOOLKIT" != "MSW"; then
9913 for ac_func
in vfork
9915 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9916 echo "configure:9917: checking for $ac_func" >&5
9917 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9918 echo $ac_n "(cached) $ac_c" 1>&6
9920 cat > conftest.
$ac_ext <<EOF
9921 #line 9922 "configure"
9922 #include "confdefs.h"
9923 /* System header to define __stub macros and hopefully few prototypes,
9924 which can conflict with char $ac_func(); below. */
9926 /* Override any gcc2 internal prototype to avoid an error. */
9927 /* We use char because int might match the return type of a gcc2
9928 builtin and then its argument prototype would still apply. */
9933 /* The GNU C library defines this for functions which it implements
9934 to always fail with ENOSYS. Some functions are actually named
9935 something starting with __ and the normal name is an alias. */
9936 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9944 if { (eval echo configure
:9945: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9946 eval "ac_cv_func_$ac_func=yes"
9948 echo "configure: failed program was:" >&5
9949 cat conftest.
$ac_ext >&5
9951 eval "ac_cv_func_$ac_func=no"
9956 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9957 echo "$ac_t""yes" 1>&6
9958 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9959 cat >> confdefs.h
<<EOF
9960 #define $ac_tr_func 1
9964 echo "$ac_t""no" 1>&6
9969 for ac_func
in timegm
9971 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9972 echo "configure:9973: checking for $ac_func" >&5
9973 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9974 echo $ac_n "(cached) $ac_c" 1>&6
9976 cat > conftest.
$ac_ext <<EOF
9977 #line 9978 "configure"
9978 #include "confdefs.h"
9979 /* System header to define __stub macros and hopefully few prototypes,
9980 which can conflict with char $ac_func(); below. */
9982 /* Override any gcc2 internal prototype to avoid an error. */
9983 /* We use char because int might match the return type of a gcc2
9984 builtin and then its argument prototype would still apply. */
9989 /* The GNU C library defines this for functions which it implements
9990 to always fail with ENOSYS. Some functions are actually named
9991 something starting with __ and the normal name is an alias. */
9992 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10000 if { (eval echo configure
:10001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10002 eval "ac_cv_func_$ac_func=yes"
10004 echo "configure: failed program was:" >&5
10005 cat conftest.
$ac_ext >&5
10007 eval "ac_cv_func_$ac_func=no"
10012 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10013 echo "$ac_t""yes" 1>&6
10014 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10015 cat >> confdefs.h
<<EOF
10016 #define $ac_tr_func 1
10020 echo "$ac_t""no" 1>&6
10025 HAVE_SOME_SLEEP_FUNC
=0
10026 if test "$USE_BEOS" = 1; then
10027 cat >> confdefs.h
<<\EOF
10028 #define HAVE_SLEEP 1
10031 HAVE_SOME_SLEEP_FUNC
=1
10034 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
10036 for ac_func
in nanosleep
10038 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10039 echo "configure:10040: checking for $ac_func" >&5
10040 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10041 echo $ac_n "(cached) $ac_c" 1>&6
10043 cat > conftest.
$ac_ext <<EOF
10044 #line 10045 "configure"
10045 #include "confdefs.h"
10046 /* System header to define __stub macros and hopefully few prototypes,
10047 which can conflict with char $ac_func(); below. */
10048 #include <assert.h>
10049 /* Override any gcc2 internal prototype to avoid an error. */
10050 /* We use char because int might match the return type of a gcc2
10051 builtin and then its argument prototype would still apply. */
10056 /* The GNU C library defines this for functions which it implements
10057 to always fail with ENOSYS. Some functions are actually named
10058 something starting with __ and the normal name is an alias. */
10059 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10067 if { (eval echo configure
:10068: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10069 eval "ac_cv_func_$ac_func=yes"
10071 echo "configure: failed program was:" >&5
10072 cat conftest.
$ac_ext >&5
10074 eval "ac_cv_func_$ac_func=no"
10079 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10080 echo "$ac_t""yes" 1>&6
10081 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10082 cat >> confdefs.h
<<EOF
10083 #define $ac_tr_func 1
10085 cat >> confdefs.h
<<\EOF
10086 #define HAVE_NANOSLEEP 1
10090 echo "$ac_t""no" 1>&6
10091 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
10092 echo "configure:10093: checking for nanosleep in -lposix4" >&5
10093 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
10094 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10095 echo $ac_n "(cached) $ac_c" 1>&6
10097 ac_save_LIBS
="$LIBS"
10098 LIBS
="-lposix4 $LIBS"
10099 cat > conftest.
$ac_ext <<EOF
10100 #line 10101 "configure"
10101 #include "confdefs.h"
10102 /* Override any gcc2 internal prototype to avoid an error. */
10103 /* We use char because int might match the return type of a gcc2
10104 builtin and then its argument prototype would still apply. */
10111 if { (eval echo configure
:10112: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10113 eval "ac_cv_lib_$ac_lib_var=yes"
10115 echo "configure: failed program was:" >&5
10116 cat conftest.
$ac_ext >&5
10118 eval "ac_cv_lib_$ac_lib_var=no"
10121 LIBS
="$ac_save_LIBS"
10124 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10125 echo "$ac_t""yes" 1>&6
10127 cat >> confdefs.h
<<\EOF
10128 #define HAVE_NANOSLEEP 1
10131 POSIX4_LINK
="-lposix4"
10134 echo "$ac_t""no" 1>&6
10136 for ac_func
in usleep
10138 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10139 echo "configure:10140: checking for $ac_func" >&5
10140 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10141 echo $ac_n "(cached) $ac_c" 1>&6
10143 cat > conftest.
$ac_ext <<EOF
10144 #line 10145 "configure"
10145 #include "confdefs.h"
10146 /* System header to define __stub macros and hopefully few prototypes,
10147 which can conflict with char $ac_func(); below. */
10148 #include <assert.h>
10149 /* Override any gcc2 internal prototype to avoid an error. */
10150 /* We use char because int might match the return type of a gcc2
10151 builtin and then its argument prototype would still apply. */
10156 /* The GNU C library defines this for functions which it implements
10157 to always fail with ENOSYS. Some functions are actually named
10158 something starting with __ and the normal name is an alias. */
10159 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10167 if { (eval echo configure
:10168: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10169 eval "ac_cv_func_$ac_func=yes"
10171 echo "configure: failed program was:" >&5
10172 cat conftest.
$ac_ext >&5
10174 eval "ac_cv_func_$ac_func=no"
10179 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10180 echo "$ac_t""yes" 1>&6
10181 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10182 cat >> confdefs.h
<<EOF
10183 #define $ac_tr_func 1
10187 echo "$ac_t""no" 1>&6
10191 echo "configure: warning: wxSleep() function will not work" 1>&2
10203 for ac_func
in uname gethostname
10205 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10206 echo "configure:10207: checking for $ac_func" >&5
10207 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10208 echo $ac_n "(cached) $ac_c" 1>&6
10210 cat > conftest.
$ac_ext <<EOF
10211 #line 10212 "configure"
10212 #include "confdefs.h"
10213 /* System header to define __stub macros and hopefully few prototypes,
10214 which can conflict with char $ac_func(); below. */
10215 #include <assert.h>
10216 /* Override any gcc2 internal prototype to avoid an error. */
10217 /* We use char because int might match the return type of a gcc2
10218 builtin and then its argument prototype would still apply. */
10223 /* The GNU C library defines this for functions which it implements
10224 to always fail with ENOSYS. Some functions are actually named
10225 something starting with __ and the normal name is an alias. */
10226 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10234 if { (eval echo configure
:10235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10236 eval "ac_cv_func_$ac_func=yes"
10238 echo "configure: failed program was:" >&5
10239 cat conftest.
$ac_ext >&5
10241 eval "ac_cv_func_$ac_func=no"
10246 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10247 echo "$ac_t""yes" 1>&6
10248 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10249 cat >> confdefs.h
<<EOF
10250 #define $ac_tr_func 1
10254 echo "$ac_t""no" 1>&6
10259 for ac_func
in strtok_r
10261 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10262 echo "configure:10263: checking for $ac_func" >&5
10263 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10264 echo $ac_n "(cached) $ac_c" 1>&6
10266 cat > conftest.
$ac_ext <<EOF
10267 #line 10268 "configure"
10268 #include "confdefs.h"
10269 /* System header to define __stub macros and hopefully few prototypes,
10270 which can conflict with char $ac_func(); below. */
10271 #include <assert.h>
10272 /* Override any gcc2 internal prototype to avoid an error. */
10273 /* We use char because int might match the return type of a gcc2
10274 builtin and then its argument prototype would still apply. */
10279 /* The GNU C library defines this for functions which it implements
10280 to always fail with ENOSYS. Some functions are actually named
10281 something starting with __ and the normal name is an alias. */
10282 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10290 if { (eval echo configure
:10291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10292 eval "ac_cv_func_$ac_func=yes"
10294 echo "configure: failed program was:" >&5
10295 cat conftest.
$ac_ext >&5
10297 eval "ac_cv_func_$ac_func=no"
10302 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10303 echo "$ac_t""yes" 1>&6
10304 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10305 cat >> confdefs.h
<<EOF
10306 #define $ac_tr_func 1
10310 echo "$ac_t""no" 1>&6
10316 for ac_func
in inet_addr
10318 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10319 echo "configure:10320: checking for $ac_func" >&5
10320 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10321 echo $ac_n "(cached) $ac_c" 1>&6
10323 cat > conftest.
$ac_ext <<EOF
10324 #line 10325 "configure"
10325 #include "confdefs.h"
10326 /* System header to define __stub macros and hopefully few prototypes,
10327 which can conflict with char $ac_func(); below. */
10328 #include <assert.h>
10329 /* Override any gcc2 internal prototype to avoid an error. */
10330 /* We use char because int might match the return type of a gcc2
10331 builtin and then its argument prototype would still apply. */
10336 /* The GNU C library defines this for functions which it implements
10337 to always fail with ENOSYS. Some functions are actually named
10338 something starting with __ and the normal name is an alias. */
10339 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10347 if { (eval echo configure
:10348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10349 eval "ac_cv_func_$ac_func=yes"
10351 echo "configure: failed program was:" >&5
10352 cat conftest.
$ac_ext >&5
10354 eval "ac_cv_func_$ac_func=no"
10359 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10360 echo "$ac_t""yes" 1>&6
10361 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10362 cat >> confdefs.h
<<EOF
10363 #define $ac_tr_func 1
10365 cat >> confdefs.h
<<\EOF
10366 #define HAVE_INET_ADDR 1
10370 echo "$ac_t""no" 1>&6
10371 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10372 echo "configure:10373: checking for inet_addr in -lnsl" >&5
10373 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10374 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10375 echo $ac_n "(cached) $ac_c" 1>&6
10377 ac_save_LIBS
="$LIBS"
10379 cat > conftest.
$ac_ext <<EOF
10380 #line 10381 "configure"
10381 #include "confdefs.h"
10382 /* Override any gcc2 internal prototype to avoid an error. */
10383 /* We use char because int might match the return type of a gcc2
10384 builtin and then its argument prototype would still apply. */
10391 if { (eval echo configure
:10392: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10393 eval "ac_cv_lib_$ac_lib_var=yes"
10395 echo "configure: failed program was:" >&5
10396 cat conftest.
$ac_ext >&5
10398 eval "ac_cv_lib_$ac_lib_var=no"
10401 LIBS
="$ac_save_LIBS"
10404 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10405 echo "$ac_t""yes" 1>&6
10408 echo "$ac_t""no" 1>&6
10409 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10410 echo "configure:10411: checking for inet_addr in -lresolv" >&5
10411 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10412 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10413 echo $ac_n "(cached) $ac_c" 1>&6
10415 ac_save_LIBS
="$LIBS"
10416 LIBS
="-lresolv $LIBS"
10417 cat > conftest.
$ac_ext <<EOF
10418 #line 10419 "configure"
10419 #include "confdefs.h"
10420 /* Override any gcc2 internal prototype to avoid an error. */
10421 /* We use char because int might match the return type of a gcc2
10422 builtin and then its argument prototype would still apply. */
10429 if { (eval echo configure
:10430: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10431 eval "ac_cv_lib_$ac_lib_var=yes"
10433 echo "configure: failed program was:" >&5
10434 cat conftest.
$ac_ext >&5
10436 eval "ac_cv_lib_$ac_lib_var=no"
10439 LIBS
="$ac_save_LIBS"
10442 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10443 echo "$ac_t""yes" 1>&6
10447 echo "$ac_t""no" 1>&6
10459 for ac_func
in inet_aton
10461 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10462 echo "configure:10463: checking for $ac_func" >&5
10463 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10464 echo $ac_n "(cached) $ac_c" 1>&6
10466 cat > conftest.
$ac_ext <<EOF
10467 #line 10468 "configure"
10468 #include "confdefs.h"
10469 /* System header to define __stub macros and hopefully few prototypes,
10470 which can conflict with char $ac_func(); below. */
10471 #include <assert.h>
10472 /* Override any gcc2 internal prototype to avoid an error. */
10473 /* We use char because int might match the return type of a gcc2
10474 builtin and then its argument prototype would still apply. */
10479 /* The GNU C library defines this for functions which it implements
10480 to always fail with ENOSYS. Some functions are actually named
10481 something starting with __ and the normal name is an alias. */
10482 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10490 if { (eval echo configure
:10491: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10492 eval "ac_cv_func_$ac_func=yes"
10494 echo "configure: failed program was:" >&5
10495 cat conftest.
$ac_ext >&5
10497 eval "ac_cv_func_$ac_func=no"
10502 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10503 echo "$ac_t""yes" 1>&6
10504 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10505 cat >> confdefs.h
<<EOF
10506 #define $ac_tr_func 1
10508 cat >> confdefs.h
<<\EOF
10509 #define HAVE_INET_ATON 1
10513 echo "$ac_t""no" 1>&6
10514 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10515 echo "configure:10516: checking for inet_aton in -l$INET_LINK" >&5
10516 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10517 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10518 echo $ac_n "(cached) $ac_c" 1>&6
10520 ac_save_LIBS
="$LIBS"
10521 LIBS
="-l$INET_LINK $LIBS"
10522 cat > conftest.
$ac_ext <<EOF
10523 #line 10524 "configure"
10524 #include "confdefs.h"
10525 /* Override any gcc2 internal prototype to avoid an error. */
10526 /* We use char because int might match the return type of a gcc2
10527 builtin and then its argument prototype would still apply. */
10534 if { (eval echo configure
:10535: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10536 eval "ac_cv_lib_$ac_lib_var=yes"
10538 echo "configure: failed program was:" >&5
10539 cat conftest.
$ac_ext >&5
10541 eval "ac_cv_lib_$ac_lib_var=no"
10544 LIBS
="$ac_save_LIBS"
10547 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10548 echo "$ac_t""yes" 1>&6
10549 cat >> confdefs.h
<<\EOF
10550 #define HAVE_INET_ATON 1
10554 echo "$ac_t""no" 1>&6
10562 if test "x$INET_LINK" != "x"; then
10563 cat >> confdefs.h
<<\EOF
10564 #define HAVE_INET_ADDR 1
10567 INET_LINK
="-l$INET_LINK"
10573 cat > confcache
<<\EOF
10574 # This file is a shell script that caches the results of configure
10575 # tests run on this system so they can be shared between configure
10576 # scripts and configure runs. It is not useful on other systems.
10577 # If it contains results you don't want to keep, you may remove or edit it.
10579 # By default, configure uses ./config.cache as the cache file,
10580 # creating it if it does not exist already. You can give configure
10581 # the --cache-file=FILE option to use a different cache file; that is
10582 # what configure does when it calls configure scripts in
10583 # subdirectories, so they share the cache.
10584 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10585 # config.status only pays attention to the cache file if you give it the
10586 # --recheck option to rerun configure.
10589 # The following way of writing the cache mishandles newlines in values,
10590 # but we know of no workaround that is simple, portable, and efficient.
10591 # So, don't put newlines in cache variables' values.
10592 # Ultrix sh set writes to stderr and can't be redirected directly,
10593 # and sets the high bit in the cache file unless we assign to the vars.
10595 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10597 # `set' does not quote correctly, so add quotes (double-quote substitution
10598 # turns \\\\ into \\, and sed turns \\ into \).
10600 -e "s/'/'\\\\''/g" \
10601 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10604 # `set' quotes correctly as required by POSIX, so do not add quotes.
10605 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10608 if cmp -s $cache_file confcache
; then
10611 if test -w $cache_file; then
10612 echo "updating cache $cache_file"
10613 cat confcache
> $cache_file
10615 echo "not updating unwritable cache $cache_file"
10622 if test "$TOOLKIT" != "MSW"; then
10628 if test "$wxUSE_THREADS" = "yes" ; then
10629 if test "$wxUSE_WINE" = 1 ; then
10630 echo "configure: warning: Threads are not supported under WINE" 1>&2
10632 elif test "$USE_BEOS" = 1; then
10633 echo "configure: warning: BeOS threads are not yet supported" 1>&2
10638 if test "$wxUSE_THREADS" = "yes" ; then
10640 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10641 echo "configure:10642: checking for pthread_create in -lpthread" >&5
10642 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10643 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10644 echo $ac_n "(cached) $ac_c" 1>&6
10646 ac_save_LIBS
="$LIBS"
10647 LIBS
="-lpthread $LIBS"
10648 cat > conftest.
$ac_ext <<EOF
10649 #line 10650 "configure"
10650 #include "confdefs.h"
10651 /* Override any gcc2 internal prototype to avoid an error. */
10652 /* We use char because int might match the return type of a gcc2
10653 builtin and then its argument prototype would still apply. */
10654 char pthread_create();
10660 if { (eval echo configure
:10661: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10662 eval "ac_cv_lib_$ac_lib_var=yes"
10664 echo "configure: failed program was:" >&5
10665 cat conftest.
$ac_ext >&5
10667 eval "ac_cv_lib_$ac_lib_var=no"
10670 LIBS
="$ac_save_LIBS"
10673 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10674 echo "$ac_t""yes" 1>&6
10676 THREADS_OBJ
="threadpsx.lo"
10677 THREADS_LINK
="pthread"
10680 echo "$ac_t""no" 1>&6
10682 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10683 echo "configure:10684: checking for pthread_create in -lc_r" >&5
10684 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10685 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10686 echo $ac_n "(cached) $ac_c" 1>&6
10688 ac_save_LIBS
="$LIBS"
10690 cat > conftest.
$ac_ext <<EOF
10691 #line 10692 "configure"
10692 #include "confdefs.h"
10693 /* Override any gcc2 internal prototype to avoid an error. */
10694 /* We use char because int might match the return type of a gcc2
10695 builtin and then its argument prototype would still apply. */
10696 char pthread_create();
10702 if { (eval echo configure
:10703: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10704 eval "ac_cv_lib_$ac_lib_var=yes"
10706 echo "configure: failed program was:" >&5
10707 cat conftest.
$ac_ext >&5
10709 eval "ac_cv_lib_$ac_lib_var=no"
10712 LIBS
="$ac_save_LIBS"
10715 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10716 echo "$ac_t""yes" 1>&6
10718 THREADS_OBJ
="threadpsx.lo"
10722 echo "$ac_t""no" 1>&6
10724 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10725 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10726 echo "configure:10727: checking for sys/prctl.h" >&5
10727 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10728 echo $ac_n "(cached) $ac_c" 1>&6
10730 cat > conftest.
$ac_ext <<EOF
10731 #line 10732 "configure"
10732 #include "confdefs.h"
10733 #include <sys/prctl.h>
10735 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10736 { (eval echo configure
:10737: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10737 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10738 if test -z "$ac_err"; then
10740 eval "ac_cv_header_$ac_safe=yes"
10743 echo "configure: failed program was:" >&5
10744 cat conftest.
$ac_ext >&5
10746 eval "ac_cv_header_$ac_safe=no"
10750 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10751 echo "$ac_t""yes" 1>&6
10753 THREADS_OBJ
="threadsgi.lo"
10756 echo "$ac_t""no" 1>&6
10766 if test -z "$THREADS_OBJ" ; then
10768 echo "configure: warning: No thread support on this system" 1>&2
10772 if test "$wxUSE_THREADS" = "yes" ; then
10773 for ac_func
in thr_setconcurrency
10775 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10776 echo "configure:10777: checking for $ac_func" >&5
10777 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10778 echo $ac_n "(cached) $ac_c" 1>&6
10780 cat > conftest.
$ac_ext <<EOF
10781 #line 10782 "configure"
10782 #include "confdefs.h"
10783 /* System header to define __stub macros and hopefully few prototypes,
10784 which can conflict with char $ac_func(); below. */
10785 #include <assert.h>
10786 /* Override any gcc2 internal prototype to avoid an error. */
10787 /* We use char because int might match the return type of a gcc2
10788 builtin and then its argument prototype would still apply. */
10793 /* The GNU C library defines this for functions which it implements
10794 to always fail with ENOSYS. Some functions are actually named
10795 something starting with __ and the normal name is an alias. */
10796 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10804 if { (eval echo configure
:10805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10806 eval "ac_cv_func_$ac_func=yes"
10808 echo "configure: failed program was:" >&5
10809 cat conftest.
$ac_ext >&5
10811 eval "ac_cv_func_$ac_func=no"
10816 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10817 echo "$ac_t""yes" 1>&6
10818 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10819 cat >> confdefs.h
<<EOF
10820 #define $ac_tr_func 1
10824 echo "$ac_t""no" 1>&6
10830 for ac_hdr
in sched.h
10832 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10833 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10834 echo "configure:10835: checking for $ac_hdr" >&5
10835 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10836 echo $ac_n "(cached) $ac_c" 1>&6
10838 cat > conftest.
$ac_ext <<EOF
10839 #line 10840 "configure"
10840 #include "confdefs.h"
10843 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10844 { (eval echo configure
:10845: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10845 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10846 if test -z "$ac_err"; then
10848 eval "ac_cv_header_$ac_safe=yes"
10851 echo "configure: failed program was:" >&5
10852 cat conftest.
$ac_ext >&5
10854 eval "ac_cv_header_$ac_safe=no"
10858 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10859 echo "$ac_t""yes" 1>&6
10860 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10861 cat >> confdefs.h
<<EOF
10862 #define $ac_tr_hdr 1
10866 echo "$ac_t""no" 1>&6
10871 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10872 echo "configure:10873: checking for sched_yield in -l$THREADS_LINK" >&5
10873 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10874 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10875 echo $ac_n "(cached) $ac_c" 1>&6
10877 ac_save_LIBS
="$LIBS"
10878 LIBS
="-l$THREADS_LINK $LIBS"
10879 cat > conftest.
$ac_ext <<EOF
10880 #line 10881 "configure"
10881 #include "confdefs.h"
10882 /* Override any gcc2 internal prototype to avoid an error. */
10883 /* We use char because int might match the return type of a gcc2
10884 builtin and then its argument prototype would still apply. */
10885 char sched_yield();
10891 if { (eval echo configure
:10892: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10893 eval "ac_cv_lib_$ac_lib_var=yes"
10895 echo "configure: failed program was:" >&5
10896 cat conftest.
$ac_ext >&5
10898 eval "ac_cv_lib_$ac_lib_var=no"
10901 LIBS
="$ac_save_LIBS"
10904 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10905 echo "$ac_t""yes" 1>&6
10906 cat >> confdefs.h
<<\EOF
10907 #define HAVE_SCHED_YIELD 1
10911 echo "$ac_t""no" 1>&6
10912 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10913 echo "configure:10914: checking for sched_yield in -l"posix4
"" >&5
10914 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10915 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10916 echo $ac_n "(cached) $ac_c" 1>&6
10918 ac_save_LIBS
="$LIBS"
10919 LIBS
="-l"posix4
" $LIBS"
10920 cat > conftest.
$ac_ext <<EOF
10921 #line 10922 "configure"
10922 #include "confdefs.h"
10923 /* Override any gcc2 internal prototype to avoid an error. */
10924 /* We use char because int might match the return type of a gcc2
10925 builtin and then its argument prototype would still apply. */
10926 char sched_yield();
10932 if { (eval echo configure
:10933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10934 eval "ac_cv_lib_$ac_lib_var=yes"
10936 echo "configure: failed program was:" >&5
10937 cat conftest.
$ac_ext >&5
10939 eval "ac_cv_lib_$ac_lib_var=no"
10942 LIBS
="$ac_save_LIBS"
10945 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10946 echo "$ac_t""yes" 1>&6
10947 cat >> confdefs.h
<<\EOF
10948 #define HAVE_SCHED_YIELD 1
10950 POSIX4_LINK
="-lposix4"
10952 echo "$ac_t""no" 1>&6
10953 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10961 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10962 echo "configure:10963: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10963 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10964 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10965 echo $ac_n "(cached) $ac_c" 1>&6
10967 ac_save_LIBS
="$LIBS"
10968 LIBS
="-l$THREADS_LINK $LIBS"
10969 cat > conftest.
$ac_ext <<EOF
10970 #line 10971 "configure"
10971 #include "confdefs.h"
10972 /* Override any gcc2 internal prototype to avoid an error. */
10973 /* We use char because int might match the return type of a gcc2
10974 builtin and then its argument prototype would still apply. */
10975 char pthread_attr_getschedpolicy();
10978 pthread_attr_getschedpolicy()
10981 if { (eval echo configure
:10982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10983 eval "ac_cv_lib_$ac_lib_var=yes"
10985 echo "configure: failed program was:" >&5
10986 cat conftest.
$ac_ext >&5
10988 eval "ac_cv_lib_$ac_lib_var=no"
10991 LIBS
="$ac_save_LIBS"
10994 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10995 echo "$ac_t""yes" 1>&6
10996 cat >> confdefs.h
<<\EOF
10997 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11001 echo "$ac_t""no" 1>&6
11002 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
11003 echo "configure:11004: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
11004 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
11005 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11006 echo $ac_n "(cached) $ac_c" 1>&6
11008 ac_save_LIBS
="$LIBS"
11009 LIBS
="-l"posix4
" $LIBS"
11010 cat > conftest.
$ac_ext <<EOF
11011 #line 11012 "configure"
11012 #include "confdefs.h"
11013 /* Override any gcc2 internal prototype to avoid an error. */
11014 /* We use char because int might match the return type of a gcc2
11015 builtin and then its argument prototype would still apply. */
11016 char pthread_attr_getschedpolicy();
11019 pthread_attr_getschedpolicy()
11022 if { (eval echo configure
:11023: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11024 eval "ac_cv_lib_$ac_lib_var=yes"
11026 echo "configure: failed program was:" >&5
11027 cat conftest.
$ac_ext >&5
11029 eval "ac_cv_lib_$ac_lib_var=no"
11032 LIBS
="$ac_save_LIBS"
11035 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11036 echo "$ac_t""yes" 1>&6
11037 cat >> confdefs.h
<<\EOF
11038 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
11040 POSIX4_LINK
="-lposix4"
11042 echo "$ac_t""no" 1>&6
11043 echo "configure: warning: Setting thread priority will not work" 1>&2
11051 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
11052 echo "configure:11053: checking for pthread_cancel in -l$THREADS_LINK" >&5
11053 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
11054 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11055 echo $ac_n "(cached) $ac_c" 1>&6
11057 ac_save_LIBS
="$LIBS"
11058 LIBS
="-l$THREADS_LINK $LIBS"
11059 cat > conftest.
$ac_ext <<EOF
11060 #line 11061 "configure"
11061 #include "confdefs.h"
11062 /* Override any gcc2 internal prototype to avoid an error. */
11063 /* We use char because int might match the return type of a gcc2
11064 builtin and then its argument prototype would still apply. */
11065 char pthread_cancel();
11071 if { (eval echo configure
:11072: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11073 eval "ac_cv_lib_$ac_lib_var=yes"
11075 echo "configure: failed program was:" >&5
11076 cat conftest.
$ac_ext >&5
11078 eval "ac_cv_lib_$ac_lib_var=no"
11081 LIBS
="$ac_save_LIBS"
11084 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11085 echo "$ac_t""yes" 1>&6
11086 cat >> confdefs.h
<<\EOF
11087 #define HAVE_PTHREAD_CANCEL 1
11091 echo "$ac_t""no" 1>&6
11092 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11096 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11097 echo "configure:11098: checking for pthread_cleanup_push/pop" >&5
11098 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11099 echo $ac_n "(cached) $ac_c" 1>&6
11102 cat > conftest.
$ac_ext <<EOF
11103 #line 11104 "configure"
11104 #include "confdefs.h"
11105 #include <pthread.h>
11108 pthread_cleanup_push(NULL, NULL);
11109 pthread_cleanup_pop(0);
11113 if { (eval echo configure
:11114: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11116 wx_cv_func_pthread_cleanup_push
=yes
11117 cat >> confdefs.h
<<\EOF
11118 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11123 echo "configure: failed program was:" >&5
11124 cat conftest.
$ac_ext >&5
11127 wx_cv_func_pthread_cleanup_push
=no
11134 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11136 THREADS_LINK
="-l$THREADS_LINK"
11141 if test "$wxUSE_THREADS" = "yes"; then
11142 cat >> confdefs.h
<<\EOF
11143 #define wxUSE_THREADS 1
11147 CFLAGS
="${CFLAGS} -D_REENTRANT"
11148 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11150 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11152 if test "$ac_cv_func_strtok_r" = "yes"; then
11153 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11154 echo "configure:11155: checking if -D_REENTRANT is needed" >&5
11155 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11156 CFLAGS
="${CFLAGS} -D_REENTRANT"
11157 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11158 echo "$ac_t""yes" 1>&6
11160 echo "$ac_t""no" 1>&6
11165 if test "$WXGTK13" = 1 ; then
11166 cat >> confdefs.h
<<EOF
11167 #define __WXGTK13__ $WXGTK13
11173 if test "$WXGTK12" = 1 ; then
11174 cat >> confdefs.h
<<EOF
11175 #define __WXGTK12__ $WXGTK12
11180 if test "$WXWINE" = 1 ; then
11181 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11184 if test "$wxUSE_CYGWIN" = 1 ; then
11185 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11190 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11195 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11196 wxUSE_DEBUG_INFO
=yes
11200 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11201 cat >> confdefs.h
<<\EOF
11205 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11207 if test "$wxUSE_GTK" = 1 ; then
11208 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11212 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11213 cat >> confdefs.h
<<\EOF
11214 #define wxUSE_MEMORY_TRACING 1
11217 cat >> confdefs.h
<<\EOF
11218 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11221 cat >> confdefs.h
<<\EOF
11222 #define wxUSE_DEBUG_NEW_ALWAYS 1
11225 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11228 if test "$wxUSE_DMALLOC" = "yes" ; then
11229 DMALLOC_LINK
="-ldmalloc"
11233 if test "$wxUSE_PROFILE" = "yes" ; then
11239 if test "$GCC" = yes ; then
11240 if test "$wxUSE_NO_RTTI" = "yes" ; then
11241 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
11243 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11244 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
11246 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11247 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
11249 if test "$wxUSE_NO_DEPS" = "no" ; then
11250 DEP_INFO_FLAGS
="-MMD"
11255 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11256 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11257 if test "$wxUSE_OPTIMISE" = "no" ; then
11260 if test "$GCC" = yes ; then
11263 i586
-*-*|i686
-*-* )
11264 OPTIMISE
="${OPTIMISE} "
11274 if test "$wxUSE_ZLIB" = "yes" ; then
11275 cat >> confdefs.h
<<\EOF
11276 #define wxUSE_ZLIB 1
11279 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11283 if test "$wxUSE_LIBPNG" = "yes" ; then
11284 cat >> confdefs.h
<<\EOF
11285 #define wxUSE_LIBPNG 1
11288 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11289 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11293 if test "$wxUSE_LIBJPEG" = "yes" ; then
11294 cat >> confdefs.h
<<\EOF
11295 #define wxUSE_LIBJPEG 1
11298 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11302 if test "$wxUSE_LIBTIFF" = "yes" ; then
11303 cat >> confdefs.h
<<\EOF
11304 #define wxUSE_LIBTIFF 1
11307 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11310 if test "$wxUSE_OPENGL" = "yes"; then
11311 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11312 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11313 echo "configure:11314: checking for GL/gl.h" >&5
11314 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11315 echo $ac_n "(cached) $ac_c" 1>&6
11317 cat > conftest.
$ac_ext <<EOF
11318 #line 11319 "configure"
11319 #include "confdefs.h"
11322 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11323 { (eval echo configure
:11324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11324 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11325 if test -z "$ac_err"; then
11327 eval "ac_cv_header_$ac_safe=yes"
11330 echo "configure: failed program was:" >&5
11331 cat conftest.
$ac_ext >&5
11333 eval "ac_cv_header_$ac_safe=no"
11337 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11338 echo "$ac_t""yes" 1>&6
11340 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
11341 echo "configure:11342: checking for glInitNames in -lGL" >&5
11342 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
11343 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11344 echo $ac_n "(cached) $ac_c" 1>&6
11346 ac_save_LIBS
="$LIBS"
11347 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
11348 cat > conftest.
$ac_ext <<EOF
11349 #line 11350 "configure"
11350 #include "confdefs.h"
11351 /* Override any gcc2 internal prototype to avoid an error. */
11352 /* We use char because int might match the return type of a gcc2
11353 builtin and then its argument prototype would still apply. */
11354 char glInitNames();
11360 if { (eval echo configure
:11361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11362 eval "ac_cv_lib_$ac_lib_var=yes"
11364 echo "configure: failed program was:" >&5
11365 cat conftest.
$ac_ext >&5
11367 eval "ac_cv_lib_$ac_lib_var=no"
11370 LIBS
="$ac_save_LIBS"
11373 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11374 echo "$ac_t""yes" 1>&6
11377 cat >> confdefs.h
<<\EOF
11378 #define wxUSE_OPENGL 1
11381 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11384 echo "$ac_t""no" 1>&6
11386 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
11387 echo "configure:11388: checking for glInitNames in -lMesaGL" >&5
11388 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
11389 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11390 echo $ac_n "(cached) $ac_c" 1>&6
11392 ac_save_LIBS
="$LIBS"
11393 LIBS
="-lMesaGL $LIBS"
11394 cat > conftest.
$ac_ext <<EOF
11395 #line 11396 "configure"
11396 #include "confdefs.h"
11397 /* Override any gcc2 internal prototype to avoid an error. */
11398 /* We use char because int might match the return type of a gcc2
11399 builtin and then its argument prototype would still apply. */
11400 char glInitNames();
11406 if { (eval echo configure
:11407: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11408 eval "ac_cv_lib_$ac_lib_var=yes"
11410 echo "configure: failed program was:" >&5
11411 cat conftest.
$ac_ext >&5
11413 eval "ac_cv_lib_$ac_lib_var=no"
11416 LIBS
="$ac_save_LIBS"
11419 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11420 echo "$ac_t""yes" 1>&6
11422 OPENGL_LINK
="-lMesaGL"
11423 cat >> confdefs.h
<<\EOF
11424 #define wxUSE_OPENGL 1
11427 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11430 echo "$ac_t""no" 1>&6
11439 echo "$ac_t""no" 1>&6
11446 if test "$wxUSE_GUI" = "yes"; then
11447 cat >> confdefs.h
<<\EOF
11448 #define wxUSE_GUI 1
11453 cat >> confdefs.h
<<\EOF
11454 #define wxUSE_NOGUI 1
11460 if test "$wxUSE_UNIX" = "yes"; then
11461 cat >> confdefs.h
<<\EOF
11462 #define wxUSE_UNIX 1
11468 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11469 cat >> confdefs.h
<<\EOF
11470 #define wxUSE_APPLE_IEEE 1
11475 if test "$wxUSE_WAVE" = "yes"; then
11476 cat >> confdefs.h
<<\EOF
11477 #define wxUSE_WAVE 1
11482 if test "$wxUSE_FILE" = "yes"; then
11483 cat >> confdefs.h
<<\EOF
11484 #define wxUSE_FILE 1
11489 if test "$wxUSE_FS_INET" = "yes"; then
11490 cat >> confdefs.h
<<\EOF
11491 #define wxUSE_FS_INET 1
11496 if test "$wxUSE_FS_ZIP" = "yes"; then
11497 cat >> confdefs.h
<<\EOF
11498 #define wxUSE_FS_ZIP 1
11503 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11504 cat >> confdefs.h
<<\EOF
11505 #define wxUSE_ZIPSTREAM 1
11510 if test "$wxUSE_BUSYINFO" = "yes"; then
11511 cat >> confdefs.h
<<\EOF
11512 #define wxUSE_BUSYINFO 1
11517 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11518 cat >> confdefs.h
<<\EOF
11519 #define wxUSE_STD_IOSTREAM 1
11524 if test "$wxUSE_TEXTFILE" = "yes"; then
11525 if test "$wxUSE_FILE" != "yes"; then
11526 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11528 cat >> confdefs.h
<<\EOF
11529 #define wxUSE_TEXTFILE 1
11535 if test "$wxUSE_CONFIG" = "yes" ; then
11536 if test "$wxUSE_TEXTFILE" != "yes"; then
11537 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11539 cat >> confdefs.h
<<\EOF
11540 #define wxUSE_CONFIG 1
11543 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11547 if test "$wxUSE_INTL" = "yes" ; then
11548 if test "$wxUSE_FILE" != "yes"; then
11549 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11551 cat >> confdefs.h
<<\EOF
11552 #define wxUSE_INTL 1
11555 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11559 if test "$wxUSE_LOG" = "yes"; then
11560 cat >> confdefs.h
<<\EOF
11561 #define wxUSE_LOG 1
11566 if test "$wxUSE_LONGLONG" = "yes"; then
11567 cat >> confdefs.h
<<\EOF
11568 #define wxUSE_LONGLONG 1
11573 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11574 cat >> confdefs.h
<<\EOF
11575 #define wxUSE_DIALUP_MANAGER 1
11578 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
11581 if test "$wxUSE_STREAMS" = "yes" ; then
11582 cat >> confdefs.h
<<\EOF
11583 #define wxUSE_STREAMS 1
11589 if test "$wxUSE_TIMEDATE" = "yes"; then
11590 for ac_func
in strptime
11592 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11593 echo "configure:11594: checking for $ac_func" >&5
11594 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11595 echo $ac_n "(cached) $ac_c" 1>&6
11597 cat > conftest.
$ac_ext <<EOF
11598 #line 11599 "configure"
11599 #include "confdefs.h"
11600 /* System header to define __stub macros and hopefully few prototypes,
11601 which can conflict with char $ac_func(); below. */
11602 #include <assert.h>
11603 /* Override any gcc2 internal prototype to avoid an error. */
11604 /* We use char because int might match the return type of a gcc2
11605 builtin and then its argument prototype would still apply. */
11610 /* The GNU C library defines this for functions which it implements
11611 to always fail with ENOSYS. Some functions are actually named
11612 something starting with __ and the normal name is an alias. */
11613 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11621 if { (eval echo configure
:11622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11623 eval "ac_cv_func_$ac_func=yes"
11625 echo "configure: failed program was:" >&5
11626 cat conftest.
$ac_ext >&5
11628 eval "ac_cv_func_$ac_func=no"
11633 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11634 echo "$ac_t""yes" 1>&6
11635 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11636 cat >> confdefs.h
<<EOF
11637 #define $ac_tr_func 1
11641 echo "$ac_t""no" 1>&6
11646 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
11647 echo "configure:11648: checking for timezone variable in <time.h>" >&5
11648 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
11649 echo $ac_n "(cached) $ac_c" 1>&6
11652 cat > conftest.
$ac_ext <<EOF
11653 #line 11654 "configure"
11654 #include "confdefs.h"
11665 if { (eval echo configure
:11666: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11668 wx_cv_var_timezone
=__timezone
11671 echo "configure: failed program was:" >&5
11672 cat conftest.
$ac_ext >&5
11675 cat > conftest.
$ac_ext <<EOF
11676 #line 11677 "configure"
11677 #include "confdefs.h"
11688 if { (eval echo configure
:11689: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11691 wx_cv_var_timezone
=_timezone
11694 echo "configure: failed program was:" >&5
11695 cat conftest.
$ac_ext >&5
11698 cat > conftest.
$ac_ext <<EOF
11699 #line 11700 "configure"
11700 #include "confdefs.h"
11711 if { (eval echo configure
:11712: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11714 wx_cv_var_timezone
=timezone
11717 echo "configure: failed program was:" >&5
11718 cat conftest.
$ac_ext >&5
11720 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
11736 echo "$ac_t""$wx_cv_var_timezone" 1>&6
11738 cat >> confdefs.h
<<EOF
11739 #define WX_TIMEZONE $wx_cv_var_timezone
11743 for ac_func
in localtime
11745 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11746 echo "configure:11747: checking for $ac_func" >&5
11747 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11748 echo $ac_n "(cached) $ac_c" 1>&6
11750 cat > conftest.
$ac_ext <<EOF
11751 #line 11752 "configure"
11752 #include "confdefs.h"
11753 /* System header to define __stub macros and hopefully few prototypes,
11754 which can conflict with char $ac_func(); below. */
11755 #include <assert.h>
11756 /* Override any gcc2 internal prototype to avoid an error. */
11757 /* We use char because int might match the return type of a gcc2
11758 builtin and then its argument prototype would still apply. */
11763 /* The GNU C library defines this for functions which it implements
11764 to always fail with ENOSYS. Some functions are actually named
11765 something starting with __ and the normal name is an alias. */
11766 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11774 if { (eval echo configure
:11775: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11776 eval "ac_cv_func_$ac_func=yes"
11778 echo "configure: failed program was:" >&5
11779 cat conftest.
$ac_ext >&5
11781 eval "ac_cv_func_$ac_func=no"
11786 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11787 echo "$ac_t""yes" 1>&6
11788 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11789 cat >> confdefs.h
<<EOF
11790 #define $ac_tr_func 1
11794 echo "$ac_t""no" 1>&6
11799 if test "$ac_cv_func_localtime" = "yes"; then
11800 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
11801 echo "configure:11802: checking for tm_gmtoff in struct tm" >&5
11802 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
11803 echo $ac_n "(cached) $ac_c" 1>&6
11806 cat > conftest.
$ac_ext <<EOF
11807 #line 11808 "configure"
11808 #include "confdefs.h"
11819 if { (eval echo configure
:11820: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11822 wx_cv_struct_tm_has_gmtoff
=yes
11823 cat >> confdefs.h
<<\EOF
11824 #define WX_GMTOFF_IN_TM 1
11829 echo "configure: failed program was:" >&5
11830 cat conftest.
$ac_ext >&5
11832 wx_cv_struct_tm_has_gmtoff
=no
11839 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
11842 for ac_func
in gettimeofday ftime
11844 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11845 echo "configure:11846: checking for $ac_func" >&5
11846 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11847 echo $ac_n "(cached) $ac_c" 1>&6
11849 cat > conftest.
$ac_ext <<EOF
11850 #line 11851 "configure"
11851 #include "confdefs.h"
11852 /* System header to define __stub macros and hopefully few prototypes,
11853 which can conflict with char $ac_func(); below. */
11854 #include <assert.h>
11855 /* Override any gcc2 internal prototype to avoid an error. */
11856 /* We use char because int might match the return type of a gcc2
11857 builtin and then its argument prototype would still apply. */
11862 /* The GNU C library defines this for functions which it implements
11863 to always fail with ENOSYS. Some functions are actually named
11864 something starting with __ and the normal name is an alias. */
11865 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11873 if { (eval echo configure
:11874: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11875 eval "ac_cv_func_$ac_func=yes"
11877 echo "configure: failed program was:" >&5
11878 cat conftest.
$ac_ext >&5
11880 eval "ac_cv_func_$ac_func=no"
11885 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11886 echo "$ac_t""yes" 1>&6
11887 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11888 cat >> confdefs.h
<<EOF
11889 #define $ac_tr_func 1
11893 echo "$ac_t""no" 1>&6
11898 if test "$ac_cv_func_gettimeofday" = "yes"; then
11899 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
11900 echo "configure:11901: checking whether gettimeofday takes two arguments" >&5
11901 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
11902 echo $ac_n "(cached) $ac_c" 1>&6
11907 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11908 ac_cpp
='$CXXCPP $CPPFLAGS'
11909 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11910 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11911 cross_compiling
=$ac_cv_prog_cxx_cross
11914 cat > conftest.
$ac_ext <<EOF
11915 #line 11916 "configure"
11916 #include "confdefs.h"
11918 #include <sys/time.h>
11919 #include <unistd.h>
11924 struct timezone tz;
11925 gettimeofday(&tv, &tz);
11929 if { (eval echo configure
:11930: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11931 wx_cv_func_gettimeofday_has_2_args
=yes
11933 echo "configure: failed program was:" >&5
11934 cat conftest.
$ac_ext >&5
11936 cat > conftest.
$ac_ext <<EOF
11937 #line 11938 "configure"
11938 #include "confdefs.h"
11940 #include <sys/time.h>
11941 #include <unistd.h>
11950 if { (eval echo configure
:11951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11952 wx_cv_func_gettimeofday_has_2_args
=no
11954 echo "configure: failed program was:" >&5
11955 cat conftest.
$ac_ext >&5
11957 wx_cv_func_gettimeofday_has_2_args
=unknown
11965 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11966 ac_cpp
='$CPP $CPPFLAGS'
11967 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11968 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11969 cross_compiling
=$ac_cv_prog_cc_cross
11974 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
11976 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
11977 cat >> confdefs.h
<<\EOF
11978 #define WX_GETTIMEOFDAY_NO_TZ 1
11984 cat >> confdefs.h
<<\EOF
11985 #define wxUSE_TIMEDATE 1
11988 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
11992 if test "$TOOLKIT" != "MSW"; then
11994 if test "$wxUSE_SOCKETS" = "yes"; then
11995 echo $ac_n "checking for socket""... $ac_c" 1>&6
11996 echo "configure:11997: checking for socket" >&5
11997 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
11998 echo $ac_n "(cached) $ac_c" 1>&6
12000 cat > conftest.
$ac_ext <<EOF
12001 #line 12002 "configure"
12002 #include "confdefs.h"
12003 /* System header to define __stub macros and hopefully few prototypes,
12004 which can conflict with char socket(); below. */
12005 #include <assert.h>
12006 /* Override any gcc2 internal prototype to avoid an error. */
12007 /* We use char because int might match the return type of a gcc2
12008 builtin and then its argument prototype would still apply. */
12013 /* The GNU C library defines this for functions which it implements
12014 to always fail with ENOSYS. Some functions are actually named
12015 something starting with __ and the normal name is an alias. */
12016 #if defined (__stub_socket) || defined (__stub___socket)
12024 if { (eval echo configure
:12025: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12026 eval "ac_cv_func_socket=yes"
12028 echo "configure: failed program was:" >&5
12029 cat conftest.
$ac_ext >&5
12031 eval "ac_cv_func_socket=no"
12036 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
12037 echo "$ac_t""yes" 1>&6
12040 echo "$ac_t""no" 1>&6
12041 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
12042 echo "configure:12043: checking for socket in -lsocket" >&5
12043 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
12044 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12045 echo $ac_n "(cached) $ac_c" 1>&6
12047 ac_save_LIBS
="$LIBS"
12048 LIBS
="-lsocket $LIBS"
12049 cat > conftest.
$ac_ext <<EOF
12050 #line 12051 "configure"
12051 #include "confdefs.h"
12052 /* Override any gcc2 internal prototype to avoid an error. */
12053 /* We use char because int might match the return type of a gcc2
12054 builtin and then its argument prototype would still apply. */
12061 if { (eval echo configure
:12062: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12063 eval "ac_cv_lib_$ac_lib_var=yes"
12065 echo "configure: failed program was:" >&5
12066 cat conftest.
$ac_ext >&5
12068 eval "ac_cv_lib_$ac_lib_var=no"
12071 LIBS
="$ac_save_LIBS"
12074 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12075 echo "$ac_t""yes" 1>&6
12076 INET_LINK
="$INET_LINK -lsocket"
12078 echo "$ac_t""no" 1>&6
12080 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
12093 if test "$wxUSE_SOCKETS" = "yes" ; then
12094 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
12095 echo "configure:12096: checking what is the type of the third argument of getsockname" >&5
12096 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
12097 echo $ac_n "(cached) $ac_c" 1>&6
12102 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12103 ac_cpp
='$CXXCPP $CPPFLAGS'
12104 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12105 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12106 cross_compiling
=$ac_cv_prog_cxx_cross
12109 cat > conftest.
$ac_ext <<EOF
12110 #line 12111 "configure"
12111 #include "confdefs.h"
12113 #include <sys/socket.h>
12118 getsockname(0, 0, &len);
12122 if { (eval echo configure
:12123: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12124 wx_cv_type_getsockname3
=socklen_t
12126 echo "configure: failed program was:" >&5
12127 cat conftest.
$ac_ext >&5
12129 cat > conftest.
$ac_ext <<EOF
12130 #line 12131 "configure"
12131 #include "confdefs.h"
12133 #include <sys/socket.h>
12138 getsockname(0, 0, &len);
12142 if { (eval echo configure
:12143: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12144 wx_cv_type_getsockname3
=size_t
12146 echo "configure: failed program was:" >&5
12147 cat conftest.
$ac_ext >&5
12149 cat > conftest.
$ac_ext <<EOF
12150 #line 12151 "configure"
12151 #include "confdefs.h"
12153 #include <sys/socket.h>
12158 getsockname(0, 0, &len);
12162 if { (eval echo configure
:12163: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12164 wx_cv_type_getsockname3
=int
12165 wx_cv_type_getsockname3
=unknown
12168 echo "configure: failed program was:" >&5
12169 cat conftest.
$ac_ext >&5
12180 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12181 ac_cpp
='$CPP $CPPFLAGS'
12182 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12183 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12184 cross_compiling
=$ac_cv_prog_cc_cross
12189 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
12191 if test "$wx_cv_type_getsockname3" = "unknown"; then
12193 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
12195 cat >> confdefs.h
<<EOF
12196 #define SOCKLEN_T $wx_cv_type_getsockname3
12202 if test "$wxUSE_SOCKETS" = "yes" ; then
12203 cat >> confdefs.h
<<\EOF
12204 #define wxUSE_SOCKETS 1
12207 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
12208 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
12212 if test "$TOOLKIT" != "MSW"; then
12214 if test "$wxUSE_JOYSTICK" = 1; then
12215 for ac_hdr
in linux
/joystick.h
12217 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12218 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12219 echo "configure:12220: checking for $ac_hdr" >&5
12220 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12221 echo $ac_n "(cached) $ac_c" 1>&6
12223 cat > conftest.
$ac_ext <<EOF
12224 #line 12225 "configure"
12225 #include "confdefs.h"
12228 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12229 { (eval echo configure
:12230: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12230 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12231 if test -z "$ac_err"; then
12233 eval "ac_cv_header_$ac_safe=yes"
12236 echo "configure: failed program was:" >&5
12237 cat conftest.
$ac_ext >&5
12239 eval "ac_cv_header_$ac_safe=no"
12243 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12244 echo "$ac_t""yes" 1>&6
12245 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12246 cat >> confdefs.h
<<EOF
12247 #define $ac_tr_hdr 1
12251 echo "$ac_t""no" 1>&6
12255 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
12257 echo "configure: warning: Joystick not supported yb this system" 1>&2
12263 if test "$wxUSE_JOYSTICK" = 1; then
12264 cat >> confdefs.h
<<\EOF
12265 #define wxUSE_JOYSTICK 1
12268 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
12272 if test "$TOOLKIT" != "MSW"; then
12276 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
12277 for ac_func
in dlopen
12279 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12280 echo "configure:12281: checking for $ac_func" >&5
12281 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12282 echo $ac_n "(cached) $ac_c" 1>&6
12284 cat > conftest.
$ac_ext <<EOF
12285 #line 12286 "configure"
12286 #include "confdefs.h"
12287 /* System header to define __stub macros and hopefully few prototypes,
12288 which can conflict with char $ac_func(); below. */
12289 #include <assert.h>
12290 /* Override any gcc2 internal prototype to avoid an error. */
12291 /* We use char because int might match the return type of a gcc2
12292 builtin and then its argument prototype would still apply. */
12297 /* The GNU C library defines this for functions which it implements
12298 to always fail with ENOSYS. Some functions are actually named
12299 something starting with __ and the normal name is an alias. */
12300 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12308 if { (eval echo configure
:12309: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12310 eval "ac_cv_func_$ac_func=yes"
12312 echo "configure: failed program was:" >&5
12313 cat conftest.
$ac_ext >&5
12315 eval "ac_cv_func_$ac_func=no"
12320 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12321 echo "$ac_t""yes" 1>&6
12322 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12323 cat >> confdefs.h
<<EOF
12324 #define $ac_tr_func 1
12327 cat >> confdefs.h
<<\EOF
12328 #define HAVE_DLOPEN 1
12334 echo "$ac_t""no" 1>&6
12335 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12336 echo "configure:12337: checking for dlopen in -ldl" >&5
12337 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12338 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12339 echo $ac_n "(cached) $ac_c" 1>&6
12341 ac_save_LIBS
="$LIBS"
12343 cat > conftest.
$ac_ext <<EOF
12344 #line 12345 "configure"
12345 #include "confdefs.h"
12346 /* Override any gcc2 internal prototype to avoid an error. */
12347 /* We use char because int might match the return type of a gcc2
12348 builtin and then its argument prototype would still apply. */
12355 if { (eval echo configure
:12356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12357 eval "ac_cv_lib_$ac_lib_var=yes"
12359 echo "configure: failed program was:" >&5
12360 cat conftest.
$ac_ext >&5
12362 eval "ac_cv_lib_$ac_lib_var=no"
12365 LIBS
="$ac_save_LIBS"
12368 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12369 echo "$ac_t""yes" 1>&6
12371 cat >> confdefs.h
<<\EOF
12372 #define HAVE_DLOPEN 1
12379 echo "$ac_t""no" 1>&6
12381 for ac_func
in shl_load
12383 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12384 echo "configure:12385: checking for $ac_func" >&5
12385 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12386 echo $ac_n "(cached) $ac_c" 1>&6
12388 cat > conftest.
$ac_ext <<EOF
12389 #line 12390 "configure"
12390 #include "confdefs.h"
12391 /* System header to define __stub macros and hopefully few prototypes,
12392 which can conflict with char $ac_func(); below. */
12393 #include <assert.h>
12394 /* Override any gcc2 internal prototype to avoid an error. */
12395 /* We use char because int might match the return type of a gcc2
12396 builtin and then its argument prototype would still apply. */
12401 /* The GNU C library defines this for functions which it implements
12402 to always fail with ENOSYS. Some functions are actually named
12403 something starting with __ and the normal name is an alias. */
12404 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12412 if { (eval echo configure
:12413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12414 eval "ac_cv_func_$ac_func=yes"
12416 echo "configure: failed program was:" >&5
12417 cat conftest.
$ac_ext >&5
12419 eval "ac_cv_func_$ac_func=no"
12424 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12425 echo "$ac_t""yes" 1>&6
12426 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12427 cat >> confdefs.h
<<EOF
12428 #define $ac_tr_func 1
12431 cat >> confdefs.h
<<\EOF
12432 #define HAVE_SHL_LOAD 1
12438 echo "$ac_t""no" 1>&6
12450 if test "$HAVE_DL_FUNCS" = 0; then
12451 if test "$HAVE_SHL_FUNCS" = 0; then
12452 if test "$USE_UNIX" = 1; then
12453 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
12454 wxUSE_DYNLIB_CLASS
=no
12456 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
12464 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
12465 cat >> confdefs.h
<<\EOF
12466 #define wxUSE_DYNLIB_CLASS 1
12475 if test "$wxUSE_UNICODE" = "yes" ; then
12476 cat >> confdefs.h
<<\EOF
12477 #define wxUSE_UNICODE 1
12482 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
12483 cat >> confdefs.h
<<\EOF
12484 #define wxUSE_WCSRTOMBS 1
12489 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
12490 cat >> confdefs.h
<<\EOF
12491 #define wxUSE_EXPERIMENTAL_PRINTF 1
12497 if test "$wxUSE_SERIAL" = "yes" ; then
12498 cat >> confdefs.h
<<\EOF
12499 #define wxUSE_SERIAL 1
12506 if test "$wxUSE_ODBC" = "yes" ; then
12507 cat >> confdefs.h
<<\EOF
12508 #define wxUSE_ODBC 1
12511 WXODBCFLAG
="-D_IODBC_"
12512 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
12513 IODBCOBJS
="\$(IODBC_OBJS)"
12519 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
12520 cat >> confdefs.h
<<\EOF
12521 #define wxUSE_POSTSCRIPT 1
12526 cat >> confdefs.h
<<\EOF
12527 #define wxUSE_AFM_FOR_POSTSCRIPT 1
12531 cat >> confdefs.h
<<\EOF
12532 #define wxUSE_NORMALIZED_PS_FONTS 1
12537 if test "$wxUSE_CONSTRAINTS" = "yes"; then
12538 cat >> confdefs.h
<<\EOF
12539 #define wxUSE_CONSTRAINTS 1
12542 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
12545 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12546 cat >> confdefs.h
<<\EOF
12547 #define wxUSE_MDI_ARCHITECTURE 1
12550 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
12553 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
12554 cat >> confdefs.h
<<\EOF
12555 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
12558 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
12559 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12560 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
12564 if test "$wxUSE_HELP" = "yes"; then
12565 cat >> confdefs.h
<<\EOF
12566 #define wxUSE_HELP 1
12569 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
12572 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12573 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12574 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
12576 cat >> confdefs.h
<<\EOF
12577 #define wxUSE_PRINTING_ARCHITECTURE 1
12581 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
12584 if test "$wxUSE_PROLOGIO" = "yes" ; then
12585 cat >> confdefs.h
<<\EOF
12586 #define wxUSE_PROLOGIO 1
12591 if test "$wxUSE_RESOURCES" = "yes" ; then
12592 if test "$wxUSE_PROLOGIO" = "yes" ; then
12593 cat >> confdefs.h
<<\EOF
12594 #define wxUSE_RESOURCES 1
12597 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
12599 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
12603 if test "$wxUSE_X_RESOURCES" = "yes"; then
12604 cat >> confdefs.h
<<\EOF
12605 #define wxUSE_X_RESOURCES 1
12611 if test "$wxUSE_IPC" = "yes"; then
12612 cat >> confdefs.h
<<\EOF
12613 #define wxUSE_IPC 1
12618 if test "$wxUSE_CLIPBOARD" = "yes"; then
12619 cat >> confdefs.h
<<\EOF
12620 #define wxUSE_CLIPBOARD 1
12625 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
12626 if test "$wxUSE_GTK" = 1; then
12627 if test "$WXGTK12" != 1; then
12628 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
12629 wxUSE_DRAG_AND_DROP
=no
12633 if test "$wxUSE_MOTIF" = 1; then
12634 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
12635 wxUSE_DRAG_AND_DROP
=no
12638 if test "$USE_WIN32" = 1; then
12639 for ac_hdr
in ole2.h
12641 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12642 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12643 echo "configure:12644: checking for $ac_hdr" >&5
12644 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12645 echo $ac_n "(cached) $ac_c" 1>&6
12647 cat > conftest.
$ac_ext <<EOF
12648 #line 12649 "configure"
12649 #include "confdefs.h"
12652 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12653 { (eval echo configure
:12654: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12654 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12655 if test -z "$ac_err"; then
12657 eval "ac_cv_header_$ac_safe=yes"
12660 echo "configure: failed program was:" >&5
12661 cat conftest.
$ac_ext >&5
12663 eval "ac_cv_header_$ac_safe=no"
12667 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12668 echo "$ac_t""yes" 1>&6
12669 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12670 cat >> confdefs.h
<<EOF
12671 #define $ac_tr_hdr 1
12675 echo "$ac_t""no" 1>&6
12679 if test "x$HAVE_OLE2_H" = x
; then
12680 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
12681 wxUSE_DRAG_AND_DROP
=no
12685 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
12686 cat >> confdefs.h
<<\EOF
12687 #define wxUSE_DRAG_AND_DROP 1
12690 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
12695 if test "$wxUSE_SPLINES" = "yes" ; then
12696 cat >> confdefs.h
<<\EOF
12697 #define wxUSE_SPLINES 1
12703 if test "$wxUSE_ACCEL" = "yes"; then
12704 cat >> confdefs.h
<<\EOF
12705 #define wxUSE_ACCEL 1
12710 if test "$wxUSE_CARET" = "yes"; then
12711 cat >> confdefs.h
<<\EOF
12712 #define wxUSE_CARET 1
12715 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
12718 if test "$wxUSE_COMBOBOX" = "yes"; then
12719 cat >> confdefs.h
<<\EOF
12720 #define wxUSE_COMBOBOX 1
12725 if test "$wxUSE_CHOICE" = "yes"; then
12726 cat >> confdefs.h
<<\EOF
12727 #define wxUSE_CHOICE 1
12732 if test "$wxUSE_BMPBUTTON" = "yes"; then
12733 cat >> confdefs.h
<<\EOF
12734 #define wxUSE_BMPBUTTON 1
12739 if test "$wxUSE_CHECKBOX" = "yes"; then
12740 cat >> confdefs.h
<<\EOF
12741 #define wxUSE_CHECKBOX 1
12746 if test "$wxUSE_CHECKLST" = "yes"; then
12747 cat >> confdefs.h
<<\EOF
12748 #define wxUSE_CHECKLISTBOX 1
12751 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
12754 if test "$wxUSE_GAUGE" = "yes"; then
12755 cat >> confdefs.h
<<\EOF
12756 #define wxUSE_GAUGE 1
12761 if test "$wxUSE_GRID" = "yes"; then
12762 cat >> confdefs.h
<<\EOF
12763 #define wxUSE_GRID 1
12766 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
12769 if test "$wxUSE_NEW_GRID" = "yes"; then
12770 cat >> confdefs.h
<<\EOF
12771 #define wxUSE_NEW_GRID 1
12774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
12777 if test "$wxUSE_IMAGLIST" = "yes"; then
12778 cat >> confdefs.h
<<\EOF
12779 #define wxUSE_IMAGLIST 1
12784 if test "$wxUSE_LISTBOX" = "yes"; then
12785 cat >> confdefs.h
<<\EOF
12786 #define wxUSE_LISTBOX 1
12791 if test "$wxUSE_LISTCTRL" = "yes"; then
12792 if test "$wxUSE_IMAGLIST" = "yes"; then
12793 cat >> confdefs.h
<<\EOF
12794 #define wxUSE_LISTCTRL 1
12797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
12799 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
12803 if test "$wxUSE_NOTEBOOK" = "yes"; then
12804 cat >> confdefs.h
<<\EOF
12805 #define wxUSE_NOTEBOOK 1
12808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
12811 if test "$wxUSE_RADIOBOX" = "yes"; then
12812 cat >> confdefs.h
<<\EOF
12813 #define wxUSE_RADIOBOX 1
12818 if test "$wxUSE_RADIOBTN" = "yes"; then
12819 cat >> confdefs.h
<<\EOF
12820 #define wxUSE_RADIOBTN 1
12825 if test "$wxUSE_SASH" = "yes"; then
12826 cat >> confdefs.h
<<\EOF
12827 #define wxUSE_SASH 1
12830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
12833 if test "$wxUSE_SCROLLBAR" = "yes"; then
12834 cat >> confdefs.h
<<\EOF
12835 #define wxUSE_SCROLLBAR 1
12838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
12841 if test "$wxUSE_SLIDER" = "yes"; then
12842 cat >> confdefs.h
<<\EOF
12843 #define wxUSE_SLIDER 1
12848 if test "$wxUSE_SPINBTN" = "yes"; then
12849 cat >> confdefs.h
<<\EOF
12850 #define wxUSE_SPINBTN 1
12855 if test "$wxUSE_SPINCTRL" = "yes"; then
12856 cat >> confdefs.h
<<\EOF
12857 #define wxUSE_SPINCTRL 1
12862 if test "$wxUSE_SPLITTER" = "yes"; then
12863 cat >> confdefs.h
<<\EOF
12864 #define wxUSE_SPLITTER 1
12867 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
12870 if test "$wxUSE_STATBMP" = "yes"; then
12871 cat >> confdefs.h
<<\EOF
12872 #define wxUSE_STATBMP 1
12877 if test "$wxUSE_STATBOX" = "yes"; then
12878 cat >> confdefs.h
<<\EOF
12879 #define wxUSE_STATBOX 1
12884 if test "$wxUSE_STATLINE" = "yes"; then
12885 if test "$wxUSE_WINE" = 1 ; then
12886 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
12888 cat >> confdefs.h
<<\EOF
12889 #define wxUSE_STATLINE 1
12895 if test "$wxUSE_STATUSBAR" = "yes"; then
12896 cat >> confdefs.h
<<\EOF
12897 #define wxUSE_STATUSBAR 1
12901 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
12904 if test "$wxUSE_TABDIALOG" = "yes"; then
12905 cat >> confdefs.h
<<\EOF
12906 #define wxUSE_TAB_DIALOG 1
12909 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
12912 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
12913 cat >> confdefs.h
<<\EOF
12914 #define wxUSE_TOOLBAR_SIMPLE 1
12917 wxUSE_TOOLBAR
="yes"
12920 if test "$wxUSE_TOOLBAR" = "yes"; then
12921 cat >> confdefs.h
<<\EOF
12922 #define wxUSE_TOOLBAR 1
12926 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
12927 wxUSE_TOOLBAR_NATIVE
="yes"
12930 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
12933 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
12934 cat >> confdefs.h
<<\EOF
12935 #define wxUSE_TOOLBAR_NATIVE 1
12940 if test "$wxUSE_TOOLTIPS" = "yes"; then
12941 if test "$wxUSE_MOTIF" = 1; then
12942 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
12944 if test "$wxUSE_WINE" = 1; then
12945 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
12947 cat >> confdefs.h
<<\EOF
12948 #define wxUSE_TOOLTIPS 1
12955 if test "$wxUSE_TREECTRL" = "yes"; then
12956 if test "$wxUSE_IMAGLIST" = "yes"; then
12957 cat >> confdefs.h
<<\EOF
12958 #define wxUSE_TREECTRL 1
12961 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
12963 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
12969 if test "$wxUSE_METAFILE" = "yes"; then
12970 cat >> confdefs.h
<<\EOF
12971 #define wxUSE_METAFILE 1
12976 if test "$wxUSE_DIRDLG" = "yes"; then
12977 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12978 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
12980 if test "$wxUSE_TREECTRL" != "yes"; then
12981 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
12983 cat >> confdefs.h
<<\EOF
12984 #define wxUSE_DIRDLG 1
12991 if test "$wxUSE_TEXTDLG" = "yes"; then
12992 cat >> confdefs.h
<<\EOF
12993 #define wxUSE_TEXTDLG 1
12998 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
12999 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13000 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
13002 cat >> confdefs.h
<<\EOF
13003 #define wxUSE_STARTUP_TIPS 1
13009 if test "$wxUSE_PROGRESSDLG" = "yes"; then
13010 if test "$wxUSE_CONSTRAINTS" != "yes"; then
13011 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
13013 cat >> confdefs.h
<<\EOF
13014 #define wxUSE_PROGRESSDLG 1
13020 if test "$wxUSE_MINIFRAME" = "yes"; then
13021 cat >> confdefs.h
<<\EOF
13022 #define wxUSE_MINIFRAME 1
13025 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
13028 if test "$wxUSE_HTML" = "yes"; then
13029 cat >> confdefs.h
<<\EOF
13030 #define wxUSE_HTML 1
13033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
13034 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
13037 if test "$wxUSE_VALIDATORS" = "yes"; then
13038 cat >> confdefs.h
<<\EOF
13039 #define wxUSE_VALIDATORS 1
13042 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
13045 if test "$wxUSE_GIF" = "yes" ; then
13046 cat >> confdefs.h
<<\EOF
13047 #define wxUSE_GIF 1
13052 if test "$wxUSE_PCX" = "yes" ; then
13053 cat >> confdefs.h
<<\EOF
13054 #define wxUSE_PCX 1
13059 if test "$wxUSE_PNM" = "yes" ; then
13060 cat >> confdefs.h
<<\EOF
13061 #define wxUSE_PNM 1
13067 OSINFO
=`uname -s -r -m`
13068 OSINFO
="\"$OSINFO\""
13069 cat >> confdefs.h
<<EOF
13070 #define WXWIN_OS_DESCRIPTION $OSINFO
13075 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
13077 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
13078 if test "$wxUSE_GUI" = "yes"; then
13079 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
13082 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
13084 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
13086 if test "$GXX" = yes ; then
13087 CXXWARNINGS
="-Wall"
13089 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
13091 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
13092 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
13094 LDFLAGS
="$LDFLAGS $PROFILE"
13096 if test "$wxUSE_GUI" = "yes"; then
13098 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs drawing dynamic \
13099 font fractal image minimal richedit"
13101 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS)"
13106 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
13174 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
13175 echo "configure:13176: checking whether ${MAKE-make} sets \${MAKE}" >&5
13176 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
13177 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
13178 echo $ac_n "(cached) $ac_c" 1>&6
13180 cat > conftestmake
<<\EOF
13182 @
echo 'ac_maketemp="${MAKE}"'
13184 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
13185 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
13186 if test -n "$ac_maketemp"; then
13187 eval ac_cv_prog_make_
${ac_make}_set
=yes
13189 eval ac_cv_prog_make_
${ac_make}_set
=no
13193 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
13194 echo "$ac_t""yes" 1>&6
13197 echo "$ac_t""no" 1>&6
13198 SET_MAKE
="MAKE=${MAKE-make}"
13204 if test "$wxUSE_GUI" = "yes"; then
13205 echo $ac_n "checking glcanvas subdirectory to use""... $ac_c" 1>&6
13206 echo "configure:13207: checking glcanvas subdirectory to use" >&5
13207 if eval "test \"`echo '$''{'wx_cv_path_glcanvas'+set}'`\" = set"; then
13208 echo $ac_n "(cached) $ac_c" 1>&6
13211 if test "${TOOLKIT_DIR}" = "msw" ; then
13212 wx_cv_path_glcanvas
="win"
13214 wx_cv_path_glcanvas
="${TOOLKIT_DIR}"
13219 echo "$ac_t""$wx_cv_path_glcanvas" 1>&6
13221 GL_TOOLKIT_DIR
=$wx_cv_path_glcanvas
13224 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
13225 subdirs
="demos samples utils"
13230 cat > confcache
<<\EOF
13231 # This file is a shell script that caches the results of configure
13232 # tests run on this system so they can be shared between configure
13233 # scripts and configure runs. It is not useful on other systems.
13234 # If it contains results you don't want to keep, you may remove or edit it.
13236 # By default, configure uses ./config.cache as the cache file,
13237 # creating it if it does not exist already. You can give configure
13238 # the --cache-file=FILE option to use a different cache file; that is
13239 # what configure does when it calls configure scripts in
13240 # subdirectories, so they share the cache.
13241 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13242 # config.status only pays attention to the cache file if you give it the
13243 # --recheck option to rerun configure.
13246 # The following way of writing the cache mishandles newlines in values,
13247 # but we know of no workaround that is simple, portable, and efficient.
13248 # So, don't put newlines in cache variables' values.
13249 # Ultrix sh set writes to stderr and can't be redirected directly,
13250 # and sets the high bit in the cache file unless we assign to the vars.
13252 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13254 # `set' does not quote correctly, so add quotes (double-quote substitution
13255 # turns \\\\ into \\, and sed turns \\ into \).
13257 -e "s/'/'\\\\''/g" \
13258 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13261 # `set' quotes correctly as required by POSIX, so do not add quotes.
13262 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13265 if cmp -s $cache_file confcache
; then
13268 if test -w $cache_file; then
13269 echo "updating cache $cache_file"
13270 cat confcache
> $cache_file
13272 echo "not updating unwritable cache $cache_file"
13277 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
13279 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13280 # Let make expand exec_prefix.
13281 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13283 # Any assignment to VPATH causes Sun make to only execute
13284 # the first set of double-colon rules, so remove it if not needed.
13285 # If there is a colon in the path, we need to keep it.
13286 if test "x$srcdir" = x.
; then
13287 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
13290 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
13292 DEFS
=-DHAVE_CONFIG_H
13294 # Without the "./", some shells look in PATH for config.status.
13295 : ${CONFIG_STATUS=./config.status}
13297 echo creating
$CONFIG_STATUS
13298 rm -f $CONFIG_STATUS
13299 cat > $CONFIG_STATUS <<EOF
13301 # Generated automatically by configure.
13302 # Run this file to recreate the current configuration.
13303 # This directory was configured as follows,
13304 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13306 # $0 $ac_configure_args
13308 # Compiler output produced by configure, useful for debugging
13309 # configure, is in ./config.log if it exists.
13311 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
13314 case "\$ac_option" in
13315 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13316 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
13317 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
13318 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
13319 echo "$CONFIG_STATUS generated by autoconf version 2.13"
13321 -help | --help | --hel | --he | --h)
13322 echo "\$ac_cs_usage"; exit 0 ;;
13323 *) echo "\$ac_cs_usage"; exit 1 ;;
13327 ac_given_srcdir=$srcdir
13328 ac_given_INSTALL="$INSTALL"
13330 trap 'rm -fr `echo "
13336 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
13338 cat >> $CONFIG_STATUS <<EOF
13340 # Protect against being on the right side of a sed subst in config.status.
13341 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
13342 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
13346 s%@CFLAGS@%$CFLAGS%g
13347 s%@CPPFLAGS@%$CPPFLAGS%g
13348 s%@CXXFLAGS@%$CXXFLAGS%g
13349 s%@FFLAGS@%$FFLAGS%g
13351 s%@LDFLAGS@%$LDFLAGS%g
13353 s%@exec_prefix@%$exec_prefix%g
13354 s%@prefix@%$prefix%g
13355 s%@program_transform_name@%$program_transform_name%g
13356 s%@bindir@%$bindir%g
13357 s%@sbindir@%$sbindir%g
13358 s%@libexecdir@%$libexecdir%g
13359 s%@datadir@%$datadir%g
13360 s%@sysconfdir@%$sysconfdir%g
13361 s%@sharedstatedir@%$sharedstatedir%g
13362 s%@localstatedir@%$localstatedir%g
13363 s%@libdir@%$libdir%g
13364 s%@includedir@%$includedir%g
13365 s%@oldincludedir@%$oldincludedir%g
13366 s%@infodir@%$infodir%g
13367 s%@mandir@%$mandir%g
13369 s%@host_alias@%$host_alias%g
13370 s%@host_cpu@%$host_cpu%g
13371 s%@host_vendor@%$host_vendor%g
13372 s%@host_os@%$host_os%g
13373 s%@target@%$target%g
13374 s%@target_alias@%$target_alias%g
13375 s%@target_cpu@%$target_cpu%g
13376 s%@target_vendor@%$target_vendor%g
13377 s%@target_os@%$target_os%g
13379 s%@build_alias@%$build_alias%g
13380 s%@build_cpu@%$build_cpu%g
13381 s%@build_vendor@%$build_vendor%g
13382 s%@build_os@%$build_os%g
13386 s%@CXXCPP@%$CXXCPP%g
13387 s%@RANLIB@%$RANLIB%g
13389 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
13390 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
13391 s%@INSTALL_DATA@%$INSTALL_DATA%g
13395 s%@LEXLIB@%$LEXLIB%g
13397 s%@GTK_CONFIG@%$GTK_CONFIG%g
13398 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
13399 s%@GTK_LIBS@%$GTK_LIBS%g
13400 s%@X_CFLAGS@%$X_CFLAGS%g
13401 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
13402 s%@X_LIBS@%$X_LIBS%g
13403 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
13404 s%@LEX_STEM@%$LEX_STEM%g
13405 s%@PATH_IFS@%$PATH_IFS%g
13406 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
13407 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
13408 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
13409 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
13410 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
13411 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
13412 s%@WX_LIBRARY@%$WX_LIBRARY%g
13413 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
13414 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
13415 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
13416 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
13417 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
13418 s%@WX_ALL@%$WX_ALL%g
13419 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
13420 s%@SHARED_LD@%$SHARED_LD%g
13421 s%@PIC_FLAG@%$PIC_FLAG%g
13422 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
13423 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
13424 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
13425 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
13426 s%@USE_GUI@%$USE_GUI%g
13427 s%@AFMINSTALL@%$AFMINSTALL%g
13428 s%@TOOLKIT@%$TOOLKIT%g
13429 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
13430 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
13431 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
13432 s%@GUIHEADERS@%$GUIHEADERS%g
13433 s%@GUIOBJS@%$GUIOBJS%g
13434 s%@COMMONOBJS@%$COMMONOBJS%g
13435 s%@GENERICOBJS@%$GENERICOBJS%g
13436 s%@GUIDEPS@%$GUIDEPS%g
13437 s%@COMMONDEPS@%$COMMONDEPS%g
13438 s%@GENERICDEPS@%$GENERICDEPS%g
13439 s%@IODBCOBJS@%$IODBCOBJS%g
13440 s%@UNIXOBJS@%$UNIXOBJS%g
13441 s%@UNIXDEPS@%$UNIXDEPS%g
13442 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
13443 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
13444 s%@GUIDIST@%$GUIDIST%g
13445 s%@PORT_FILES@%$PORT_FILES%g
13446 s%@DISTDIR@%$DISTDIR%g
13447 s%@RPM_SPEC@%$RPM_SPEC%g
13448 s%@RPM_FILES@%$RPM_FILES%g
13449 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
13450 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
13451 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
13452 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
13453 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
13454 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
13455 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
13456 s%@EXTRADEFS@%$EXTRADEFS%g
13457 s%@LD_LIBS@%$LD_LIBS%g
13458 s%@SET_MAKE@%$SET_MAKE%g
13459 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
13460 s%@subdirs@%$subdirs%g
13465 cat >> $CONFIG_STATUS <<\EOF
13467 # Split the substitutions into bite-sized pieces for seds with
13468 # small command number limits, like on Digital OSF/1 and HP-UX.
13469 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
13470 ac_file
=1 # Number of current file.
13471 ac_beg
=1 # First line for current file.
13472 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
13475 while $ac_more_lines; do
13476 if test $ac_beg -gt 1; then
13477 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
13479 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
13481 if test ! -s conftest.s
$ac_file; then
13482 ac_more_lines
=false
13483 rm -f conftest.s
$ac_file
13485 if test -z "$ac_sed_cmds"; then
13486 ac_sed_cmds
="sed -f conftest.s$ac_file"
13488 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
13490 ac_file
=`expr $ac_file + 1`
13492 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
13495 if test -z "$ac_sed_cmds"; then
13500 cat >> $CONFIG_STATUS <<EOF
13502 CONFIG_FILES=\${CONFIG_FILES-"wx-config
13509 cat >> $CONFIG_STATUS <<\EOF
13510 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
13511 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13513 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13514 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13515 *) ac_file_in
="${ac_file}.in" ;;
13518 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
13520 # Remove last slash and all that follows it. Not all systems have dirname.
13521 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13522 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
13523 # The file is in a subdirectory.
13524 test ! -d "$ac_dir" && mkdir "$ac_dir"
13525 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
13526 # A "../" for each directory in $ac_dir_suffix.
13527 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
13529 ac_dir_suffix
= ac_dots
=
13532 case "$ac_given_srcdir" in
13534 if test -z "$ac_dots"; then top_srcdir
=.
13535 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
13536 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
13537 *) # Relative path.
13538 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
13539 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13542 case "$ac_given_INSTALL" in
13543 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
13544 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
13547 echo creating
"$ac_file"
13549 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
13551 *Makefile
*) ac_comsub
="1i\\
13552 # $configure_input" ;;
13556 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13558 s%@configure_input@%$configure_input%g
13559 s%@srcdir@%$srcdir%g
13560 s%@top_srcdir@%$top_srcdir%g
13561 s%@INSTALL@%$INSTALL%g
13562 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
13566 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13567 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13569 # ac_d sets the value in "#define NAME VALUE" lines.
13570 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13571 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
13574 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
13575 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13576 ac_uB
='\([ ]\)%\1#\2define\3'
13579 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13580 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13581 ac_eB
='$%\1#\2define\3'
13585 if test "${CONFIG_HEADERS+set}" != set; then
13587 cat >> $CONFIG_STATUS <<EOF
13588 CONFIG_HEADERS="setup.h:setup.h.in"
13590 cat >> $CONFIG_STATUS <<\EOF
13592 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
13593 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13595 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13596 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13597 *) ac_file_in
="${ac_file}.in" ;;
13600 echo creating
$ac_file
13602 rm -f conftest.frag conftest.
in conftest.out
13603 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13604 cat $ac_file_inputs > conftest.
in
13608 # Transform confdefs.h into a sed script conftest.vals that substitutes
13609 # the proper values into config.h.in to produce config.h. And first:
13610 # Protect against being on the right side of a sed subst in config.status.
13611 # Protect against being in an unquoted here document in config.status.
13612 rm -f conftest.vals
13613 cat > conftest.hdr
<<\EOF
13616 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
13620 sed -n -f conftest.hdr confdefs.h > conftest.vals
13623 # This sed command replaces #undef with comments. This is necessary, for
13624 # example, in the case of _POSIX_SOURCE, which is predefined and required
13625 # on some systems where configure will not decide to define it.
13626 cat >> conftest.vals <<\EOF
13627 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
13630 # Break up conftest.vals because some shells have a limit on
13631 # the size of here documents, and old seds have small limits too.
13633 rm -f conftest.tail
13636 ac_lines=`grep -c . conftest.vals
`
13637 # grep -c gives empty output for an empty file on some AIX systems.
13638 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
13639 # Write a limited-size here document to conftest.frag.
13640 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
13641 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
13643 sed -f conftest.frag conftest.in > conftest.out
13645 mv conftest.out conftest.in
13646 ' >> $CONFIG_STATUS
13647 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
13648 rm -f conftest.vals
13649 mv conftest.tail conftest.vals
13651 rm -f conftest.vals
13653 cat >> $CONFIG_STATUS <<\EOF
13654 rm -f conftest.frag conftest.h
13655 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
13656 cat conftest.in >> conftest.h
13658 if cmp -s $ac_file conftest.h 2>/dev/null; then
13659 echo "$ac_file is unchanged"
13662 # Remove last slash and all that follows it. Not all systems have dirname.
13663 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13664 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13665 # The file is in a subdirectory.
13666 test ! -d "$ac_dir" && mkdir "$ac_dir"
13669 mv conftest.h $ac_file
13674 cat >> $CONFIG_STATUS <<EOF
13676 TOOLKIT_DIR="${TOOLKIT_DIR}"
13680 cat >> $CONFIG_STATUS <<\EOF
13683 if test ! -d include; then
13686 if test ! -d include/wx; then
13689 if test ! -d include/wx/${TOOLKIT_DIR}; then
13690 mkdir include/wx/${TOOLKIT_DIR}
13692 if test -f setup.h; then
13693 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
13698 chmod +x $CONFIG_STATUS
13699 rm -fr confdefs* $ac_clean_files
13700 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
13702 if test "$no_recursion" != yes; then
13704 # Remove --cache-file and --srcdir arguments so they do not pile up.
13705 ac_sub_configure_args=
13707 for ac_arg in $ac_configure_args; do
13708 if test -n "$ac_prev"; then
13713 -cache-file | --cache-file | --cache-fil | --cache-fi \
13714 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
13715 ac_prev=cache_file ;;
13716 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
13717 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
13719 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
13721 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
13723 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
13727 for ac_config_dir in demos samples utils; do
13729 # Do not complain, so a configure script can configure whichever
13730 # parts of a large source tree are present.
13731 if test ! -d $srcdir/$ac_config_dir; then
13735 echo configuring in $ac_config_dir
13740 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
13742 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
13750 # A "../" for each directory in /$ac_config_dir.
13751 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
13754 .) # No --srcdir option. We are building in place.
13755 ac_sub_srcdir=$srcdir ;;
13756 /*) # Absolute path.
13757 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
13758 *) # Relative path.
13759 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
13762 # Check for guested configure; otherwise get Cygnus style configure.
13763 if test -f $ac_sub_srcdir/configure; then
13764 ac_sub_configure=$ac_sub_srcdir/configure
13765 elif test -f $ac_sub_srcdir/configure.in; then
13766 ac_sub_configure=$ac_configure
13768 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
13772 # The recursion is here.
13773 if test -n "$ac_sub_configure"; then
13775 # Make the cache file name correct relative to the subdirectory.
13776 case "$cache_file" in
13777 /*) ac_sub_cache_file=$cache_file ;;
13778 *) # Relative path.
13779 ac_sub_cache_file="$ac_dots$cache_file" ;;
13781 case "$ac_given_INSTALL" in
13782 [/$]*) INSTALL="$ac_given_INSTALL" ;;
13783 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
13786 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
13787 # The eval makes quoting arguments work.
13788 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
13791 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }