3 # From configure.in Id: configure.in
43 # Guess values for system-dependent variables and create Makefiles.
44 # Generated automatically using autoconf version 2.12
45 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
47 # This configure script is free software; the Free Software Foundation
48 # gives unlimited permission to copy, distribute and modify it.
52 ac_default_prefix
=/usr
/local
53 # Any additions from configure.in:
57 --with-motif use Motif/Lesstif"
61 --with-cygwin use Cygwin for MS-Windows"
63 --with-mingw use GCC Minimal MS-Windows"
65 --with-gtk-prefix=PFX Prefix where GTK is installed"
67 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
69 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
71 --with-zlib use zlib for LZW compression"
73 --with-libpng use libpng (PNG image format)"
75 --with-libgif use libgif (GIF file format)"
77 --with-libjpeg use libjpeg (JPEG file format)"
79 --with-opengl use OpenGL (or Mesa)"
81 --with-odbc use the IODBC and wxODBC classes"
83 --enable-shared create shared library code"
85 --enable-optimise create optimised code"
87 --enable-debug same as debug_flag and debug_info"
89 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
91 --enable-debug_info create code with debugging information"
93 --enable-debug_gdb create code with extra GDB debugging information"
95 --enable-debug_cntxt use wxDebugContext"
97 --enable-mem_tracing create code with memory tracing"
99 --enable-profile create code with profiling information"
101 --enable-no_rtti create code without RTTI information"
103 --enable-no_exceptions create code without exceptions information"
105 --enable-gui use GUI classes"
107 --enable-intl use internationalization system"
109 --enable-config use wxConfig (and derived) classes"
111 --enable-sockets use socket/network classes"
113 --enable-ipc use interprocess communication (wxSocket etc.)"
115 --enable-apple_ieee use the Apple IEEE codec"
117 --enable-timedate use date/time classes"
119 --enable-wave use wxWave class"
121 --enable-fraction use wxFraction class"
123 --enable-dynlib use wxLibrary class for DLL loading"
125 --enable-longlong use wxLongLong class"
127 --enable-log use logging system"
129 --enable-streams use wxStream etc classes"
131 --enable-file use wxFile classes"
133 --enable-textfile use wxTextFile classes"
135 --enable-unicode compile wxString with Unicode support"
137 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
139 --enable-wxprintfv use wxWindows implementation of vprintf()"
141 --enable-joystick compile in joystick support (Linux only)"
143 --enable-std_iostreams use standard C++ stream classes"
145 --enable-fs_inet use virtual HTTP/FTP filesystems"
147 --enable-fs_zip use virtual ZIP filesystems"
149 --enable-zipstream use wxZipInputStream"
151 --enable-threads use threads"
153 --enable-serial use class serialization"
155 --enable-docview use document view architecture"
157 --enable-help use help (using external browser at present)"
159 --enable-constraints use layout-constraints system"
161 --enable-printarch use printing architecture"
163 --enable-mdi use multiple document interface architecture"
165 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
167 --enable-prologio use Prolog IO library"
169 --enable-resources use wxWindows resources"
171 --enable-xresources use X resources for save (default for gtk+)"
173 --enable-clipboard use wxClipboard classes"
175 --enable-dnd use Drag'n'Drop classes"
177 --enable-wxtree make wxTree library"
179 --enable-controls use all usual controls"
181 --enable-accel use accelerators"
183 --enable-caret use wxCaret class"
185 --enable-bmpbutton use wxBitmapButton class"
187 --enable-checkbox use wxCheckBox class"
189 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
191 --enable-choice use wxChoice class"
193 --enable-combobox use wxComboBox classes"
195 --enable-gauge use wxGauge class"
197 --enable-grid use wxGrid class"
199 --enable-imaglist use wxImageList class"
201 --enable-listbox use wxListBox class"
203 --enable-listctrl use wxListCtrl class"
205 --enable-notebook use wxNotebook class"
207 --enable-radiobox use wxRadioBox class"
209 --enable-radiobtn use wxRadioButton class"
211 --enable-sash use wxSashWindow class"
213 --enable-scrollbar use wxScrollBar class and scrollable windows"
215 --enable-slider use wxSlider class"
217 --enable-spinbtn use wxSpinButton class"
219 --enable-splitter use wxSplitterWindow class"
221 --enable-statbmp use wxStaticBitmap class"
223 --enable-statbox use wxStaticBox class"
225 --enable-statline use wxStaticLine class"
227 --enable-statusbar use wxStatusBar class"
229 --enable-tabdialog use wxTabControl class"
231 --enable-toolbar use wxToolBar class"
233 --enable-treectrl use wxTreeCtrl class"
235 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
237 --enable-dirdlg use wxDirDialog"
239 --enable-textdlg use wxTextDialog"
241 --enable-tipdlg use startup tips"
243 --enable-progressdlg use wxProgressDialog"
245 --enable-miniframe use wxMiniFrame class"
247 --enable-html use wxHTML sub-library"
249 --enable-tooltips use wxToolTip class"
251 --enable-splines use spline drawing code"
253 --enable-validators use wxValidator and derived classes"
255 --enable-busyinfo use wxBusyInfo"
257 --with-x use the X Window System"
259 # Initialize some variables set by options.
260 # The variables have the same names as the options, with
261 # dashes changed to underlines.
263 cache_file
=.
/config.cache
272 program_transform_name
=s
,x
,x
,
280 bindir
='${exec_prefix}/bin'
281 sbindir
='${exec_prefix}/sbin'
282 libexecdir
='${exec_prefix}/libexec'
283 datadir
='${prefix}/share'
284 sysconfdir
='${prefix}/etc'
285 sharedstatedir
='${prefix}/com'
286 localstatedir
='${prefix}/var'
287 libdir
='${exec_prefix}/lib'
288 includedir
='${prefix}/include'
289 oldincludedir
='/usr/include'
290 infodir
='${prefix}/info'
291 mandir
='${prefix}/man'
293 # Initialize some other variables.
296 # Maximum number of lines to put in a shell here document.
303 # If the previous option needs an argument, assign it.
304 if test -n "$ac_prev"; then
305 eval "$ac_prev=\$ac_option"
311 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
315 # Accept the important Cygnus configure options, so we can diagnose typos.
319 -bindir | --bindir | --bindi | --bind | --bin | --bi)
321 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
322 bindir
="$ac_optarg" ;;
324 -build | --build | --buil | --bui | --bu)
326 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
327 build
="$ac_optarg" ;;
329 -cache-file | --cache-file | --cache-fil | --cache-fi \
330 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
331 ac_prev
=cache_file
;;
332 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
333 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
334 cache_file
="$ac_optarg" ;;
336 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
338 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
340 datadir
="$ac_optarg" ;;
342 -disable-* | --disable-*)
343 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
344 # Reject names that are not valid shell variable names.
345 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
346 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
348 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
349 eval "enable_${ac_feature}=no" ;;
351 -enable-* | --enable-*)
352 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
353 # Reject names that are not valid shell variable names.
354 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
355 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
357 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
362 eval "enable_${ac_feature}='$ac_optarg'" ;;
364 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
365 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
366 | --exec | --exe | --ex)
367 ac_prev
=exec_prefix
;;
368 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
369 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
370 | --exec=* | --exe=* | --ex=*)
371 exec_prefix
="$ac_optarg" ;;
373 -gas | --gas | --ga | --g)
374 # Obsolete; use --with-gas.
377 -help | --help | --hel | --he)
378 # Omit some internal or obsolete options to make the list less imposing.
379 # This message is too long to be a string in the A/UX 3.1 sh.
381 Usage: configure [options] [host]
382 Options: [defaults in brackets after descriptions]
384 --cache-file=FILE cache test results in FILE
385 --help print this message
386 --no-create do not create output files
387 --quiet, --silent do not print \`checking...' messages
388 --version print the version of autoconf that created configure
389 Directory and file names:
390 --prefix=PREFIX install architecture-independent files in PREFIX
392 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
394 --bindir=DIR user executables in DIR [EPREFIX/bin]
395 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
396 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
397 --datadir=DIR read-only architecture-independent data in DIR
399 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
400 --sharedstatedir=DIR modifiable architecture-independent data in DIR
402 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
403 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
404 --includedir=DIR C header files in DIR [PREFIX/include]
405 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
406 --infodir=DIR info documentation in DIR [PREFIX/info]
407 --mandir=DIR man documentation in DIR [PREFIX/man]
408 --srcdir=DIR find the sources in DIR [configure dir or ..]
409 --program-prefix=PREFIX prepend PREFIX to installed program names
410 --program-suffix=SUFFIX append SUFFIX to installed program names
411 --program-transform-name=PROGRAM
412 run sed PROGRAM on installed program names
416 --build=BUILD configure for building on BUILD [BUILD=HOST]
417 --host=HOST configure for HOST [guessed]
418 --target=TARGET configure for TARGET [TARGET=HOST]
419 Features and packages:
420 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
421 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
422 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
423 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
424 --x-includes=DIR X include files are in DIR
425 --x-libraries=DIR X library files are in DIR
427 if test -n "$ac_help"; then
428 echo "--enable and --with options recognized:$ac_help"
432 -host | --host | --hos | --ho)
434 -host=* | --host=* | --hos=* | --ho=*)
437 -includedir | --includedir | --includedi | --included | --include \
438 | --includ | --inclu | --incl | --inc)
439 ac_prev
=includedir
;;
440 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
441 | --includ=* | --inclu=* | --incl=* | --inc=*)
442 includedir
="$ac_optarg" ;;
444 -infodir | --infodir | --infodi | --infod | --info | --inf)
446 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
447 infodir
="$ac_optarg" ;;
449 -libdir | --libdir | --libdi | --libd)
451 -libdir=* | --libdir=* | --libdi=* | --libd=*)
452 libdir
="$ac_optarg" ;;
454 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
455 | --libexe | --libex | --libe)
456 ac_prev
=libexecdir
;;
457 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
458 | --libexe=* | --libex=* | --libe=*)
459 libexecdir
="$ac_optarg" ;;
461 -localstatedir | --localstatedir | --localstatedi | --localstated \
462 | --localstate | --localstat | --localsta | --localst \
463 | --locals | --local | --loca | --loc | --lo)
464 ac_prev
=localstatedir
;;
465 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
466 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
467 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
468 localstatedir
="$ac_optarg" ;;
470 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
472 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
473 mandir
="$ac_optarg" ;;
476 # Obsolete; use --without-fp.
479 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
483 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
484 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
487 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
488 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
489 | --oldin | --oldi | --old | --ol | --o)
490 ac_prev
=oldincludedir
;;
491 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
492 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
493 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
494 oldincludedir
="$ac_optarg" ;;
496 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
498 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
499 prefix
="$ac_optarg" ;;
501 -program-prefix | --program-prefix | --program-prefi | --program-pref \
502 | --program-pre | --program-pr | --program-p)
503 ac_prev
=program_prefix
;;
504 -program-prefix=* | --program-prefix=* | --program-prefi=* \
505 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
506 program_prefix
="$ac_optarg" ;;
508 -program-suffix | --program-suffix | --program-suffi | --program-suff \
509 | --program-suf | --program-su | --program-s)
510 ac_prev
=program_suffix
;;
511 -program-suffix=* | --program-suffix=* | --program-suffi=* \
512 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
513 program_suffix
="$ac_optarg" ;;
515 -program-transform-name | --program-transform-name \
516 | --program-transform-nam | --program-transform-na \
517 | --program-transform-n | --program-transform- \
518 | --program-transform | --program-transfor \
519 | --program-transfo | --program-transf \
520 | --program-trans | --program-tran \
521 | --progr-tra | --program-tr | --program-t)
522 ac_prev
=program_transform_name
;;
523 -program-transform-name=* | --program-transform-name=* \
524 | --program-transform-nam=* | --program-transform-na=* \
525 | --program-transform-n=* | --program-transform-=* \
526 | --program-transform=* | --program-transfor=* \
527 | --program-transfo=* | --program-transf=* \
528 | --program-trans=* | --program-tran=* \
529 | --progr-tra=* | --program-tr=* | --program-t=*)
530 program_transform_name
="$ac_optarg" ;;
532 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
533 | -silent | --silent | --silen | --sile | --sil)
536 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
538 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
540 sbindir
="$ac_optarg" ;;
542 -sharedstatedir | --sharedstatedir | --sharedstatedi \
543 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
544 | --sharedst | --shareds | --shared | --share | --shar \
546 ac_prev
=sharedstatedir
;;
547 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
548 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
549 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
551 sharedstatedir
="$ac_optarg" ;;
553 -site | --site | --sit)
555 -site=* | --site=* | --sit=*)
558 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
560 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
561 srcdir
="$ac_optarg" ;;
563 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
564 | --syscon | --sysco | --sysc | --sys | --sy)
565 ac_prev
=sysconfdir
;;
566 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
567 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
568 sysconfdir
="$ac_optarg" ;;
570 -target | --target | --targe | --targ | --tar | --ta | --t)
572 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
573 target
="$ac_optarg" ;;
575 -v | -verbose | --verbose | --verbos | --verbo | --verb)
578 -version | --version | --versio | --versi | --vers)
579 echo "configure generated by autoconf version 2.12"
583 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
584 # Reject names that are not valid shell variable names.
585 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
586 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
588 ac_package
=`echo $ac_package| sed 's/-/_/g'`
593 eval "with_${ac_package}='$ac_optarg'" ;;
595 -without-* | --without-*)
596 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
597 # Reject names that are not valid shell variable names.
598 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
599 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
601 ac_package
=`echo $ac_package| sed 's/-/_/g'`
602 eval "with_${ac_package}=no" ;;
605 # Obsolete; use --with-x.
608 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
609 | --x-incl | --x-inc | --x-in | --x-i)
610 ac_prev
=x_includes
;;
611 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
612 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
613 x_includes
="$ac_optarg" ;;
615 -x-libraries | --x-libraries | --x-librarie | --x-librari \
616 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
617 ac_prev
=x_libraries
;;
618 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
619 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
620 x_libraries
="$ac_optarg" ;;
622 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
626 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
627 echo "configure: warning: $ac_option: invalid host type" 1>&2
629 if test "x$nonopt" != xNONE
; then
630 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
638 if test -n "$ac_prev"; then
639 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
642 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
644 # File descriptor usage:
647 # 2 errors and warnings
648 # 3 some systems may open it to /dev/tty
649 # 4 used on the Kubota Titan
650 # 6 checking for... messages and results
651 # 5 compiler messages saved in config.log
652 if test "$silent" = yes; then
660 This file contains any messages produced by compilers while
661 running configure, to aid debugging if configure makes a mistake.
664 # Strip out --no-create and --no-recursion so they do not pile up.
665 # Also quote any args containing shell metacharacters.
670 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
671 | --no-cr | --no-c) ;;
672 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
673 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
674 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
675 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
676 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
681 # Only set these to C if already set. These must not be set unconditionally
682 # because not all systems understand e.g. LANG=C (notably SCO).
683 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
684 # Non-C LC_CTYPE values break the ctype check.
685 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
686 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
687 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
688 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
690 # confdefs.h avoids OS command line length limits that DEFS can exceed.
691 rm -rf conftest
* confdefs.h
692 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
695 # A filename unique to this package, relative to the directory that
696 # configure is in, which we can look for to find out if srcdir is correct.
697 ac_unique_file
=wx
-config.
in
699 # Find the source files, if location was not specified.
700 if test -z "$srcdir"; then
701 ac_srcdir_defaulted
=yes
702 # Try the directory containing this script, then its parent.
704 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
705 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
707 if test ! -r $srcdir/$ac_unique_file; then
711 ac_srcdir_defaulted
=no
713 if test ! -r $srcdir/$ac_unique_file; then
714 if test "$ac_srcdir_defaulted" = yes; then
715 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
717 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
720 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
722 # Prefer explicitly selected file to automatically selected ones.
723 if test -z "$CONFIG_SITE"; then
724 if test "x$prefix" != xNONE
; then
725 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
727 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
730 for ac_site_file
in $CONFIG_SITE; do
731 if test -r "$ac_site_file"; then
732 echo "loading site script $ac_site_file"
737 if test -r "$cache_file"; then
738 echo "loading cache $cache_file"
741 echo "creating cache $cache_file"
746 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
747 ac_cpp
='$CPP $CPPFLAGS'
748 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
749 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
750 cross_compiling
=$ac_cv_prog_cc_cross
752 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
753 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
754 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
761 ac_n
= ac_c
='\c' ac_t
=
767 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
768 if test -f $ac_dir/install-sh; then
770 ac_install_sh
="$ac_aux_dir/install-sh -c"
772 elif test -f $ac_dir/install.sh
; then
774 ac_install_sh
="$ac_aux_dir/install.sh -c"
778 if test -z "$ac_aux_dir"; then
779 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
781 ac_config_guess
=$ac_aux_dir/config.guess
782 ac_config_sub
=$ac_aux_dir/config.sub
783 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
786 # Do some error checking and defaulting for the host and target type.
788 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
791 # 1. You are not allowed to specify --host, --target, and nonopt at the
793 # 2. Host defaults to nonopt.
794 # 3. If nonopt is not specified, then host defaults to the current host,
795 # as determined by config.guess.
796 # 4. Target and build default to nonopt.
797 # 5. If nonopt is not specified, then target and build default to host.
799 # The aliases save the names the user supplied, while $host etc.
800 # will get canonicalized.
801 case $host---$target---$nonopt in
802 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
803 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
807 # Make sure we can run config.sub.
808 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
809 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
812 echo $ac_n "checking host system type""... $ac_c" 1>&6
813 echo "configure:814: checking host system type" >&5
816 case "$host_alias" in
820 if host_alias
=`$ac_config_guess`; then :
821 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
823 *) host_alias
=$nonopt ;;
827 host=`$ac_config_sub $host_alias`
828 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
829 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
830 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
831 echo "$ac_t""$host" 1>&6
833 echo $ac_n "checking target system type""... $ac_c" 1>&6
834 echo "configure:835: checking target system type" >&5
837 case "$target_alias" in
840 NONE
) target_alias
=$host_alias ;;
841 *) target_alias
=$nonopt ;;
845 target
=`$ac_config_sub $target_alias`
846 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
847 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
848 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
849 echo "$ac_t""$target" 1>&6
851 echo $ac_n "checking build system type""... $ac_c" 1>&6
852 echo "configure:853: checking build system type" >&5
855 case "$build_alias" in
858 NONE
) build_alias
=$host_alias ;;
859 *) build_alias
=$nonopt ;;
863 build
=`$ac_config_sub $build_alias`
864 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
865 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
866 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
867 echo "$ac_t""$build" 1>&6
869 test "$host_alias" != "$target_alias" &&
870 test "$program_prefix$program_suffix$program_transform_name" = \
872 program_prefix
=${target_alias}-
876 WX_MAJOR_VERSION_NUMBER
=2
877 WX_MINOR_VERSION_NUMBER
=1
883 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
885 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
886 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
887 WX_REVISION
=$WX_INTERFACE_AGE
888 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
911 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
914 DEFAULT_wxUSE_MOTIF
=0
918 DEFAULT_DEFAULT_wxUSE_GTK
=0
919 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
920 DEFAULT_DEFAULT_wxUSE_MSW
=0
921 DEFAULT_DEFAULT_wxUSE_WINE
=0
926 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
927 cat >> confdefs.h
<<\EOF
934 cat >> confdefs.h
<<\EOF
939 if test "x$TMP" = "xalpha"; then
941 cat >> confdefs.h
<<\EOF
946 DEFAULT_DEFAULT_wxUSE_GTK
=1
948 *-*-irix5* | *-*-irix6* )
951 cat >> confdefs.h
<<\EOF
955 cat >> confdefs.h
<<\EOF
959 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
965 cat >> confdefs.h
<<\EOF
969 cat >> confdefs.h
<<\EOF
970 #define __SOLARIS__ 1
973 cat >> confdefs.h
<<\EOF
977 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
983 cat >> confdefs.h
<<\EOF
987 cat >> confdefs.h
<<\EOF
991 cat >> confdefs.h
<<\EOF
995 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
997 *-*-freebsd* | *-*-netbsd*)
1000 cat >> confdefs.h
<<\EOF
1001 #define __FREEBSD__ 1
1004 cat >> confdefs.h
<<\EOF
1008 DEFAULT_DEFAULT_wxUSE_GTK
=1
1013 cat >> confdefs.h
<<\EOF
1017 cat >> confdefs.h
<<\EOF
1021 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1026 cat >> confdefs.h
<<\EOF
1030 cat >> confdefs.h
<<\EOF
1034 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1039 cat >> confdefs.h
<<\EOF
1043 cat >> confdefs.h
<<\EOF
1047 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1053 cat >> confdefs.h
<<\EOF
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 cat >> confdefs.h
<<\EOF
1079 #define __WINDOWS__ 1
1082 cat >> confdefs.h
<<\EOF
1083 #define __GNUWIN32__ 1
1086 cat >> confdefs.h
<<\EOF
1087 #define WINVER 0x0400
1090 DEFAULT_DEFAULT_wxUSE_MSW
=1
1094 cat >> confdefs.h
<<\EOF
1098 cat >> confdefs.h
<<\EOF
1102 cat >> confdefs.h
<<\EOF
1103 #define __WINDOWS__ 1
1106 cat >> confdefs.h
<<\EOF
1107 #define __GNUWIN32__ 1
1110 cat >> confdefs.h
<<\EOF
1111 #define WINVER 0x0400
1114 DEFAULT_DEFAULT_wxUSE_MSW
=1
1118 cat >> confdefs.h
<<\EOF
1125 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1128 if test "$USE_UNIX" = 1 ; then
1130 cat >> confdefs.h
<<\EOF
1134 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1135 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1138 if test "$USE_LINUX" = 1; then
1139 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1140 echo "configure:1141: checking for gettext in -lc" >&5
1141 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1142 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1143 echo $ac_n "(cached) $ac_c" 1>&6
1145 ac_save_LIBS
="$LIBS"
1147 cat > conftest.
$ac_ext <<EOF
1148 #line 1149 "configure"
1149 #include "confdefs.h"
1150 /* Override any gcc2 internal prototype to avoid an error. */
1151 /* We use char because int might match the return type of a gcc2
1152 builtin and then its argument prototype would still apply. */
1159 if { (eval echo configure
:1160: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1161 eval "ac_cv_lib_$ac_lib_var=yes"
1163 echo "configure: failed program was:" >&5
1164 cat conftest.
$ac_ext >&5
1166 eval "ac_cv_lib_$ac_lib_var=no"
1169 LIBS
="$ac_save_LIBS"
1172 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1173 echo "$ac_t""yes" 1>&6
1174 cat >> confdefs.h
<<\EOF
1175 #define wxHAVE_GLIBC2 1
1179 echo "$ac_t""no" 1>&6
1187 wx_arg_cache_file
="configarg.cache"
1188 echo "loading argument cache $wx_arg_cache_file"
1189 rm -f ${wx_arg_cache_file}.tmp
1190 touch ${wx_arg_cache_file}.tmp
1191 touch ${wx_arg_cache_file}
1195 if test $DEBUG_CONFIGURE = 1; then
1196 DEFAULT_wxUSE_THREADS
=yes
1198 DEFAULT_wxUSE_SHARED
=yes
1199 DEFAULT_wxUSE_OPTIMISE
=yes
1200 DEFAULT_wxUSE_PROFILE
=no
1201 DEFAULT_wxUSE_NO_RTTI
=no
1202 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1203 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1204 DEFAULT_wxUSE_DEBUG_INFO
=yes
1205 DEFAULT_wxUSE_DEBUG_GDB
=yes
1206 DEFAULT_wxUSE_MEM_TRACING
=no
1207 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1208 DEFAULT_wxUSE_DMALLOC
=no
1209 DEFAULT_wxUSE_APPLE_IEEE
=no
1211 DEFAULT_wxUSE_LOG
=yes
1213 DEFAULT_wxUSE_GUI
=yes
1215 DEFAULT_wxUSE_ZLIB
=no
1216 DEFAULT_wxUSE_LIBPNG
=no
1217 DEFAULT_wxUSE_LIBGIF
=no
1218 DEFAULT_wxUSE_LIBJPEG
=no
1219 DEFAULT_wxUSE_ODBC
=no
1221 DEFAULT_wxUSE_STD_IOSTREAM
=no
1222 DEFAULT_wxUSE_FILE
=no
1223 DEFAULT_wxUSE_TEXTFILE
=no
1224 DEFAULT_wxUSE_TIMEDATE
=no
1225 DEFAULT_wxUSE_WAVE
=no
1226 DEFAULT_wxUSE_INTL
=no
1227 DEFAULT_wxUSE_CONFIG
=no
1228 DEFAULT_wxUSE_STREAMS
=no
1229 DEFAULT_wxUSE_SOCKETS
=no
1230 DEFAULT_wxUSE_SERIAL
=no
1231 DEFAULT_wxUSE_JOYSTICK
=no
1232 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1233 DEFAULT_wxUSE_LONGLONG
=no
1235 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1236 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1237 DEFAULT_wxUSE_POSTSCRIPT
=no
1239 DEFAULT_wxUSE_X_RESOURCES
=no
1240 DEFAULT_wxUSE_CLIPBOARD
=no
1241 DEFAULT_wxUSE_TOOLTIPS
=no
1242 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1243 DEFAULT_wxUSE_SPLINES
=no
1245 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1246 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1247 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1249 DEFAULT_wxUSE_PROLOGIO
=no
1250 DEFAULT_wxUSE_RESOURCES
=no
1251 DEFAULT_wxUSE_CONSTRAINTS
=no
1252 DEFAULT_wxUSE_IPC
=no
1253 DEFAULT_wxUSE_HELP
=no
1254 DEFAULT_wxUSE_WXTREE
=no
1255 DEFAULT_wxUSE_METAFILE
=no
1257 DEFAULT_wxUSE_COMMONDLGS
=no
1258 DEFAULT_wxUSE_DIRDLG
=no
1259 DEFAULT_wxUSE_TEXTDLG
=no
1260 DEFAULT_wxUSE_STARTUP_TIPS
=no
1261 DEFAULT_wxUSE_PROGRESSDLG
=no
1262 DEFAULT_wxUSE_MINIFRAME
=no
1263 DEFAULT_wxUSE_HTML
=no
1264 DEFAULT_wxUSE_FS_INET
=no
1265 DEFAULT_wxUSE_FS_ZIP
=no
1266 DEFAULT_wxUSE_BUSYINFO
=no
1267 DEFAULT_wxUSE_ZIPSTREAM
=no
1268 DEFAULT_wxUSE_VALIDATORS
=yes
1270 DEFAULT_wxUSE_ACCEL
=no
1271 DEFAULT_wxUSE_CARET
=no
1272 DEFAULT_wxUSE_BMPBUTTON
=no
1273 DEFAULT_wxUSE_CHECKBOX
=no
1274 DEFAULT_wxUSE_CHECKLST
=no
1275 DEFAULT_wxUSE_CHOICE
=yes
1276 DEFAULT_wxUSE_COMBOBOX
=no
1277 DEFAULT_wxUSE_GAUGE
=no
1278 DEFAULT_wxUSE_GRID
=no
1279 DEFAULT_wxUSE_IMAGLIST
=no
1280 DEFAULT_wxUSE_LISTBOX
=no
1281 DEFAULT_wxUSE_LISTCTRL
=no
1282 DEFAULT_wxUSE_NOTEBOOK
=no
1283 DEFAULT_wxUSE_RADIOBOX
=no
1284 DEFAULT_wxUSE_RADIOBTN
=no
1285 DEFAULT_wxUSE_SASH
=no
1286 DEFAULT_wxUSE_SCROLLBAR
=no
1287 DEFAULT_wxUSE_SLIDER
=no
1288 DEFAULT_wxUSE_SPINBTN
=no
1289 DEFAULT_wxUSE_SPLITTER
=no
1290 DEFAULT_wxUSE_STATBMP
=no
1291 DEFAULT_wxUSE_STATBOX
=no
1292 DEFAULT_wxUSE_STATLINE
=no
1293 DEFAULT_wxUSE_STATUSBAR
=yes
1294 DEFAULT_wxUSE_TABDIALOG
=no
1295 DEFAULT_wxUSE_TOOLBAR
=no
1296 DEFAULT_wxUSE_TREECTRL
=no
1298 DEFAULT_wxUSE_UNICODE
=no
1299 DEFAULT_wxUSE_WCSRTOMBS
=no
1301 DEFAULT_wxUSE_THREADS
=yes
1303 DEFAULT_wxUSE_SHARED
=yes
1304 DEFAULT_wxUSE_OPTIMISE
=yes
1305 DEFAULT_wxUSE_PROFILE
=no
1306 DEFAULT_wxUSE_NO_RTTI
=no
1307 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1308 DEFAULT_wxUSE_DEBUG_FLAG
=no
1309 DEFAULT_wxUSE_DEBUG_INFO
=no
1310 DEFAULT_wxUSE_DEBUG_GDB
=no
1311 DEFAULT_wxUSE_MEM_TRACING
=no
1312 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1313 DEFAULT_wxUSE_DMALLOC
=no
1314 DEFAULT_wxUSE_APPLE_IEEE
=yes
1316 DEFAULT_wxUSE_LOG
=yes
1318 DEFAULT_wxUSE_GUI
=yes
1320 DEFAULT_wxUSE_ZLIB
=yes
1321 DEFAULT_wxUSE_LIBPNG
=yes
1322 DEFAULT_wxUSE_LIBGIF
=yes
1323 DEFAULT_wxUSE_LIBJPEG
=yes
1324 DEFAULT_wxUSE_ODBC
=no
1326 DEFAULT_wxUSE_STD_IOSTREAM
=no
1327 DEFAULT_wxUSE_FILE
=yes
1328 DEFAULT_wxUSE_TEXTFILE
=yes
1329 DEFAULT_wxUSE_TIMEDATE
=yes
1330 DEFAULT_wxUSE_WAVE
=no
1331 DEFAULT_wxUSE_INTL
=yes
1332 DEFAULT_wxUSE_CONFIG
=yes
1333 DEFAULT_wxUSE_STREAMS
=yes
1334 DEFAULT_wxUSE_SOCKETS
=yes
1335 DEFAULT_wxUSE_SERIAL
=yes
1336 DEFAULT_wxUSE_JOYSTICK
=yes
1337 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1338 DEFAULT_wxUSE_LONGLONG
=no
1340 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1341 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1342 DEFAULT_wxUSE_POSTSCRIPT
=yes
1344 DEFAULT_wxUSE_X_RESOURCES
=no
1345 DEFAULT_wxUSE_CLIPBOARD
=yes
1346 DEFAULT_wxUSE_TOOLTIPS
=yes
1347 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1348 DEFAULT_wxUSE_SPLINES
=yes
1350 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1351 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1352 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1354 DEFAULT_wxUSE_PROLOGIO
=yes
1355 DEFAULT_wxUSE_RESOURCES
=yes
1356 DEFAULT_wxUSE_CONSTRAINTS
=yes
1357 DEFAULT_wxUSE_IPC
=yes
1358 DEFAULT_wxUSE_HELP
=yes
1359 DEFAULT_wxUSE_WXTREE
=yes
1360 DEFAULT_wxUSE_METAFILE
=yes
1362 DEFAULT_wxUSE_COMMONDLGS
=yes
1363 DEFAULT_wxUSE_DIRDLG
=yes
1364 DEFAULT_wxUSE_TEXTDLG
=yes
1365 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1366 DEFAULT_wxUSE_PROGRESSDLG
=yes
1367 DEFAULT_wxUSE_MINIFRAME
=yes
1368 DEFAULT_wxUSE_HTML
=yes
1369 DEFAULT_wxUSE_FS_INET
=yes
1370 DEFAULT_wxUSE_FS_ZIP
=yes
1371 DEFAULT_wxUSE_BUSYINFO
=yes
1372 DEFAULT_wxUSE_ZIPSTREAM
=yes
1373 DEFAULT_wxUSE_VALIDATORS
=yes
1375 DEFAULT_wxUSE_ACCEL
=yes
1376 DEFAULT_wxUSE_CARET
=yes
1377 DEFAULT_wxUSE_BMPBUTTON
=yes
1378 DEFAULT_wxUSE_CHECKBOX
=yes
1379 DEFAULT_wxUSE_CHECKLST
=yes
1380 DEFAULT_wxUSE_CHOICE
=yes
1381 DEFAULT_wxUSE_COMBOBOX
=yes
1382 DEFAULT_wxUSE_GAUGE
=yes
1383 DEFAULT_wxUSE_GRID
=yes
1384 DEFAULT_wxUSE_IMAGLIST
=yes
1385 DEFAULT_wxUSE_LISTBOX
=yes
1386 DEFAULT_wxUSE_LISTCTRL
=yes
1387 DEFAULT_wxUSE_NOTEBOOK
=yes
1388 DEFAULT_wxUSE_RADIOBOX
=yes
1389 DEFAULT_wxUSE_RADIOBTN
=yes
1390 DEFAULT_wxUSE_SASH
=yes
1391 DEFAULT_wxUSE_SCROLLBAR
=yes
1392 DEFAULT_wxUSE_SLIDER
=yes
1393 DEFAULT_wxUSE_SPINBTN
=yes
1394 DEFAULT_wxUSE_SPLITTER
=yes
1395 DEFAULT_wxUSE_STATBMP
=yes
1396 DEFAULT_wxUSE_STATBOX
=yes
1397 DEFAULT_wxUSE_STATLINE
=yes
1398 DEFAULT_wxUSE_STATUSBAR
=yes
1399 DEFAULT_wxUSE_TABDIALOG
=no
1400 DEFAULT_wxUSE_TOOLBAR
=yes
1401 DEFAULT_wxUSE_TREECTRL
=yes
1403 DEFAULT_wxUSE_UNICODE
=no
1404 DEFAULT_wxUSE_WCSRTOMBS
=no
1409 for toolkit
in `echo $ALL_TOOLKITS`; do
1410 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1411 if test "x$LINE" != x
; then
1412 has_toolkit_in_cache
=1
1413 eval "DEFAULT_$LINE"
1414 eval "CACHE_$toolkit=1"
1418 # Check whether --with-gtk or --without-gtk was given.
1419 if test "${with_gtk+set}" = set; then
1421 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1424 # Check whether --with-motif or --without-motif was given.
1425 if test "${with_motif+set}" = set; then
1426 withval
="$with_motif"
1427 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1430 # Check whether --with-wine or --without-wine was given.
1431 if test "${with_wine+set}" = set; then
1432 withval
="$with_wine"
1433 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1436 # Check whether --with-cygwin or --without-cygwin was given.
1437 if test "${with_cygwin+set}" = set; then
1438 withval
="$with_cygwin"
1439 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1442 # Check whether --with-mingw or --without-mingw was given.
1443 if test "${with_mingw+set}" = set; then
1444 withval
="$with_mingw"
1445 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1449 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1450 if test "${with_gtk_prefix+set}" = set; then
1451 withval
="$with_gtk_prefix"
1452 gtk_config_prefix
="$withval"
1454 gtk_config_prefix
=""
1457 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1458 if test "${with_gtk_exec_prefix+set}" = set; then
1459 withval
="$with_gtk_exec_prefix"
1460 gtk_config_exec_prefix
="$withval"
1462 gtk_config_exec_prefix
=""
1467 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1468 echo "configure:1469: checking "for --with-dmalloc"" >&5
1470 # Check whether --with-dmalloc or --without-dmalloc was given.
1471 if test "${with_dmalloc+set}" = set; then
1472 withval
="$with_dmalloc"
1474 if test "$withval" = yes; then
1475 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1477 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1482 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1483 if test "x$LINE" != x
; then
1484 eval "DEFAULT_$LINE"
1489 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1494 eval "$ac_cv_use_dmalloc"
1495 if test "$no_cache" != 1; then
1496 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1499 if test "$wxUSE_DMALLOC" = yes; then
1500 echo "$ac_t""yes" 1>&6
1502 echo "$ac_t""no" 1>&6
1506 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1507 echo "configure:1508: checking "for --with-zlib"" >&5
1509 # Check whether --with-zlib or --without-zlib was given.
1510 if test "${with_zlib+set}" = set; then
1511 withval
="$with_zlib"
1513 if test "$withval" = yes; then
1514 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1516 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1521 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1522 if test "x$LINE" != x
; then
1523 eval "DEFAULT_$LINE"
1528 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1533 eval "$ac_cv_use_zlib"
1534 if test "$no_cache" != 1; then
1535 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1538 if test "$wxUSE_ZLIB" = yes; then
1539 echo "$ac_t""yes" 1>&6
1541 echo "$ac_t""no" 1>&6
1545 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1546 echo "configure:1547: checking "for --with-libpng"" >&5
1548 # Check whether --with-libpng or --without-libpng was given.
1549 if test "${with_libpng+set}" = set; then
1550 withval
="$with_libpng"
1552 if test "$withval" = yes; then
1553 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1555 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1560 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1561 if test "x$LINE" != x
; then
1562 eval "DEFAULT_$LINE"
1567 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1572 eval "$ac_cv_use_libpng"
1573 if test "$no_cache" != 1; then
1574 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1577 if test "$wxUSE_LIBPNG" = yes; then
1578 echo "$ac_t""yes" 1>&6
1580 echo "$ac_t""no" 1>&6
1584 echo $ac_n "checking "for --with-libgif"""... $ac_c" 1>&6
1585 echo "configure:1586: checking "for --with-libgif"" >&5
1587 # Check whether --with-libgif or --without-libgif was given.
1588 if test "${with_libgif+set}" = set; then
1589 withval
="$with_libgif"
1591 if test "$withval" = yes; then
1592 ac_cv_use_libgif
='wxUSE_LIBGIF=yes'
1594 ac_cv_use_libgif
='wxUSE_LIBGIF=no'
1599 LINE
=`grep "wxUSE_LIBGIF" ${wx_arg_cache_file}`
1600 if test "x$LINE" != x
; then
1601 eval "DEFAULT_$LINE"
1606 ac_cv_use_libgif
='wxUSE_LIBGIF='$DEFAULT_wxUSE_LIBGIF
1611 eval "$ac_cv_use_libgif"
1612 if test "$no_cache" != 1; then
1613 echo $ac_cv_use_libgif >> ${wx_arg_cache_file}.tmp
1616 if test "$wxUSE_LIBGIF" = yes; then
1617 echo "$ac_t""yes" 1>&6
1619 echo "$ac_t""no" 1>&6
1623 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1624 echo "configure:1625: checking "for --with-libjpeg"" >&5
1626 # Check whether --with-libjpeg or --without-libjpeg was given.
1627 if test "${with_libjpeg+set}" = set; then
1628 withval
="$with_libjpeg"
1630 if test "$withval" = yes; then
1631 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1633 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1638 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1639 if test "x$LINE" != x
; then
1640 eval "DEFAULT_$LINE"
1645 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1650 eval "$ac_cv_use_libjpeg"
1651 if test "$no_cache" != 1; then
1652 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1655 if test "$wxUSE_LIBJPEG" = yes; then
1656 echo "$ac_t""yes" 1>&6
1658 echo "$ac_t""no" 1>&6
1662 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1663 echo "configure:1664: checking "for --with-opengl"" >&5
1665 # Check whether --with-opengl or --without-opengl was given.
1666 if test "${with_opengl+set}" = set; then
1667 withval
="$with_opengl"
1669 if test "$withval" = yes; then
1670 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1672 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1677 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1678 if test "x$LINE" != x
; then
1679 eval "DEFAULT_$LINE"
1684 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1689 eval "$ac_cv_use_opengl"
1690 if test "$no_cache" != 1; then
1691 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1694 if test "$wxUSE_OPENGL" = yes; then
1695 echo "$ac_t""yes" 1>&6
1697 echo "$ac_t""no" 1>&6
1701 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1702 echo "configure:1703: checking "for --with-odbc"" >&5
1704 # Check whether --with-odbc or --without-odbc was given.
1705 if test "${with_odbc+set}" = set; then
1706 withval
="$with_odbc"
1708 if test "$withval" = yes; then
1709 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1711 ac_cv_use_odbc
='wxUSE_ODBC=no'
1716 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1717 if test "x$LINE" != x
; then
1718 eval "DEFAULT_$LINE"
1723 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1728 eval "$ac_cv_use_odbc"
1729 if test "$no_cache" != 1; then
1730 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1733 if test "$wxUSE_ODBC" = yes; then
1734 echo "$ac_t""yes" 1>&6
1736 echo "$ac_t""no" 1>&6
1743 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1744 echo "configure:1745: checking "for --enable-shared"" >&5
1746 # Check whether --enable-shared or --disable-shared was given.
1747 if test "${enable_shared+set}" = set; then
1748 enableval
="$enable_shared"
1750 if test "$enableval" = yes; then
1751 ac_cv_use_shared
='wxUSE_SHARED=yes'
1753 ac_cv_use_shared
='wxUSE_SHARED=no'
1758 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1759 if test "x$LINE" != x
; then
1760 eval "DEFAULT_$LINE"
1765 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1770 eval "$ac_cv_use_shared"
1771 if test "$no_cache" != 1; then
1772 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1775 if test "$wxUSE_SHARED" = yes; then
1776 echo "$ac_t""yes" 1>&6
1778 echo "$ac_t""no" 1>&6
1782 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1783 echo "configure:1784: checking "for --enable-optimise"" >&5
1785 # Check whether --enable-optimise or --disable-optimise was given.
1786 if test "${enable_optimise+set}" = set; then
1787 enableval
="$enable_optimise"
1789 if test "$enableval" = yes; then
1790 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1792 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1797 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1798 if test "x$LINE" != x
; then
1799 eval "DEFAULT_$LINE"
1804 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1809 eval "$ac_cv_use_optimise"
1810 if test "$no_cache" != 1; then
1811 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1814 if test "$wxUSE_OPTIMISE" = yes; then
1815 echo "$ac_t""yes" 1>&6
1817 echo "$ac_t""no" 1>&6
1821 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1822 echo "configure:1823: checking "for --enable-debug"" >&5
1824 # Check whether --enable-debug or --disable-debug was given.
1825 if test "${enable_debug+set}" = set; then
1826 enableval
="$enable_debug"
1828 if test "$enableval" = yes; then
1829 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1831 ac_cv_use_debug
='wxUSE_DEBUG=no'
1836 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1837 if test "x$LINE" != x
; then
1838 eval "DEFAULT_$LINE"
1843 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1848 eval "$ac_cv_use_debug"
1849 if test "$no_cache" != 1; then
1850 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1853 if test "$wxUSE_DEBUG" = yes; then
1854 echo "$ac_t""yes" 1>&6
1856 echo "$ac_t""no" 1>&6
1860 if test "$wxUSE_DEBUG" = "yes"; then
1861 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1862 DEFAULT_wxUSE_DEBUG_INFO
=yes
1863 elif test "$wxUSE_DEBUG" = "no"; then
1864 DEFAULT_wxUSE_DEBUG_FLAG
=no
1865 DEFAULT_wxUSE_DEBUG_INFO
=no
1869 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1870 echo "configure:1871: checking "for --enable-debug_flag"" >&5
1872 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1873 if test "${enable_debug_flag+set}" = set; then
1874 enableval
="$enable_debug_flag"
1876 if test "$enableval" = yes; then
1877 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1879 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1884 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1885 if test "x$LINE" != x
; then
1886 eval "DEFAULT_$LINE"
1891 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
1896 eval "$ac_cv_use_debug_flag"
1897 if test "$no_cache" != 1; then
1898 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
1901 if test "$wxUSE_DEBUG_FLAG" = yes; then
1902 echo "$ac_t""yes" 1>&6
1904 echo "$ac_t""no" 1>&6
1908 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
1909 echo "configure:1910: checking "for --enable-debug_info"" >&5
1911 # Check whether --enable-debug_info or --disable-debug_info was given.
1912 if test "${enable_debug_info+set}" = set; then
1913 enableval
="$enable_debug_info"
1915 if test "$enableval" = yes; then
1916 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
1918 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
1923 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
1924 if test "x$LINE" != x
; then
1925 eval "DEFAULT_$LINE"
1930 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
1935 eval "$ac_cv_use_debug_info"
1936 if test "$no_cache" != 1; then
1937 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
1940 if test "$wxUSE_DEBUG_INFO" = yes; then
1941 echo "$ac_t""yes" 1>&6
1943 echo "$ac_t""no" 1>&6
1947 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
1948 echo "configure:1949: checking "for --enable-debug_gdb"" >&5
1950 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
1951 if test "${enable_debug_gdb+set}" = set; then
1952 enableval
="$enable_debug_gdb"
1954 if test "$enableval" = yes; then
1955 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
1957 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
1962 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
1963 if test "x$LINE" != x
; then
1964 eval "DEFAULT_$LINE"
1969 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
1974 eval "$ac_cv_use_debug_gdb"
1975 if test "$no_cache" != 1; then
1976 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
1979 if test "$wxUSE_DEBUG_GDB" = yes; then
1980 echo "$ac_t""yes" 1>&6
1982 echo "$ac_t""no" 1>&6
1986 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
1987 echo "configure:1988: checking "for --enable-debug_cntxt"" >&5
1989 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
1990 if test "${enable_debug_cntxt+set}" = set; then
1991 enableval
="$enable_debug_cntxt"
1993 if test "$enableval" = yes; then
1994 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
1996 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2001 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2002 if test "x$LINE" != x
; then
2003 eval "DEFAULT_$LINE"
2008 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2013 eval "$ac_cv_use_debug_cntxt"
2014 if test "$no_cache" != 1; then
2015 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2018 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2019 echo "$ac_t""yes" 1>&6
2021 echo "$ac_t""no" 1>&6
2025 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2026 echo "configure:2027: checking "for --enable-mem_tracing"" >&5
2028 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2029 if test "${enable_mem_tracing+set}" = set; then
2030 enableval
="$enable_mem_tracing"
2032 if test "$enableval" = yes; then
2033 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2035 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2040 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2041 if test "x$LINE" != x
; then
2042 eval "DEFAULT_$LINE"
2047 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2052 eval "$ac_cv_use_mem_tracing"
2053 if test "$no_cache" != 1; then
2054 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2057 if test "$wxUSE_MEM_TRACING" = yes; then
2058 echo "$ac_t""yes" 1>&6
2060 echo "$ac_t""no" 1>&6
2064 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2065 echo "configure:2066: checking "for --enable-profile"" >&5
2067 # Check whether --enable-profile or --disable-profile was given.
2068 if test "${enable_profile+set}" = set; then
2069 enableval
="$enable_profile"
2071 if test "$enableval" = yes; then
2072 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2074 ac_cv_use_profile
='wxUSE_PROFILE=no'
2079 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2080 if test "x$LINE" != x
; then
2081 eval "DEFAULT_$LINE"
2086 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2091 eval "$ac_cv_use_profile"
2092 if test "$no_cache" != 1; then
2093 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2096 if test "$wxUSE_PROFILE" = yes; then
2097 echo "$ac_t""yes" 1>&6
2099 echo "$ac_t""no" 1>&6
2103 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2104 echo "configure:2105: checking "for --enable-no_rtti"" >&5
2106 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2107 if test "${enable_no_rtti+set}" = set; then
2108 enableval
="$enable_no_rtti"
2110 if test "$enableval" = yes; then
2111 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2113 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2118 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2119 if test "x$LINE" != x
; then
2120 eval "DEFAULT_$LINE"
2125 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2130 eval "$ac_cv_use_no_rtti"
2131 if test "$no_cache" != 1; then
2132 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2135 if test "$wxUSE_NO_RTTI" = yes; then
2136 echo "$ac_t""yes" 1>&6
2138 echo "$ac_t""no" 1>&6
2142 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2143 echo "configure:2144: checking "for --enable-no_exceptions"" >&5
2145 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2146 if test "${enable_no_exceptions+set}" = set; then
2147 enableval
="$enable_no_exceptions"
2149 if test "$enableval" = yes; then
2150 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2152 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2157 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2158 if test "x$LINE" != x
; then
2159 eval "DEFAULT_$LINE"
2164 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2169 eval "$ac_cv_use_no_exceptions"
2170 if test "$no_cache" != 1; then
2171 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2174 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2175 echo "$ac_t""yes" 1>&6
2177 echo "$ac_t""no" 1>&6
2183 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
2184 echo "configure:2185: checking "for --enable-gui"" >&5
2186 # Check whether --enable-gui or --disable-gui was given.
2187 if test "${enable_gui+set}" = set; then
2188 enableval
="$enable_gui"
2190 if test "$enableval" = yes; then
2191 ac_cv_use_gui
='wxUSE_GUI=yes'
2193 ac_cv_use_gui
='wxUSE_GUI=no'
2198 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
2199 if test "x$LINE" != x
; then
2200 eval "DEFAULT_$LINE"
2205 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
2210 eval "$ac_cv_use_gui"
2211 if test "$no_cache" != 1; then
2212 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
2215 if test "$wxUSE_GUI" = yes; then
2216 echo "$ac_t""yes" 1>&6
2218 echo "$ac_t""no" 1>&6
2224 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2225 echo "configure:2226: checking "for --enable-intl"" >&5
2227 # Check whether --enable-intl or --disable-intl was given.
2228 if test "${enable_intl+set}" = set; then
2229 enableval
="$enable_intl"
2231 if test "$enableval" = yes; then
2232 ac_cv_use_intl
='wxUSE_INTL=yes'
2234 ac_cv_use_intl
='wxUSE_INTL=no'
2239 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2240 if test "x$LINE" != x
; then
2241 eval "DEFAULT_$LINE"
2246 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2251 eval "$ac_cv_use_intl"
2252 if test "$no_cache" != 1; then
2253 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2256 if test "$wxUSE_INTL" = yes; then
2257 echo "$ac_t""yes" 1>&6
2259 echo "$ac_t""no" 1>&6
2263 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2264 echo "configure:2265: checking "for --enable-config"" >&5
2266 # Check whether --enable-config or --disable-config was given.
2267 if test "${enable_config+set}" = set; then
2268 enableval
="$enable_config"
2270 if test "$enableval" = yes; then
2271 ac_cv_use_config
='wxUSE_CONFIG=yes'
2273 ac_cv_use_config
='wxUSE_CONFIG=no'
2278 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2279 if test "x$LINE" != x
; then
2280 eval "DEFAULT_$LINE"
2285 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2290 eval "$ac_cv_use_config"
2291 if test "$no_cache" != 1; then
2292 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2295 if test "$wxUSE_CONFIG" = yes; then
2296 echo "$ac_t""yes" 1>&6
2298 echo "$ac_t""no" 1>&6
2302 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2303 echo "configure:2304: checking "for --enable-sockets"" >&5
2305 # Check whether --enable-sockets or --disable-sockets was given.
2306 if test "${enable_sockets+set}" = set; then
2307 enableval
="$enable_sockets"
2309 if test "$enableval" = yes; then
2310 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2312 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2317 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2318 if test "x$LINE" != x
; then
2319 eval "DEFAULT_$LINE"
2324 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2329 eval "$ac_cv_use_sockets"
2330 if test "$no_cache" != 1; then
2331 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2334 if test "$wxUSE_SOCKETS" = yes; then
2335 echo "$ac_t""yes" 1>&6
2337 echo "$ac_t""no" 1>&6
2341 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2342 echo "configure:2343: checking "for --enable-ipc"" >&5
2344 # Check whether --enable-ipc or --disable-ipc was given.
2345 if test "${enable_ipc+set}" = set; then
2346 enableval
="$enable_ipc"
2348 if test "$enableval" = yes; then
2349 ac_cv_use_ipc
='wxUSE_IPC=yes'
2351 ac_cv_use_ipc
='wxUSE_IPC=no'
2356 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2357 if test "x$LINE" != x
; then
2358 eval "DEFAULT_$LINE"
2363 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2368 eval "$ac_cv_use_ipc"
2369 if test "$no_cache" != 1; then
2370 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2373 if test "$wxUSE_IPC" = yes; then
2374 echo "$ac_t""yes" 1>&6
2376 echo "$ac_t""no" 1>&6
2380 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2381 echo "configure:2382: checking "for --enable-apple_ieee"" >&5
2383 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2384 if test "${enable_apple_ieee+set}" = set; then
2385 enableval
="$enable_apple_ieee"
2387 if test "$enableval" = yes; then
2388 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2390 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2395 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2396 if test "x$LINE" != x
; then
2397 eval "DEFAULT_$LINE"
2402 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2407 eval "$ac_cv_use_apple_ieee"
2408 if test "$no_cache" != 1; then
2409 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2412 if test "$wxUSE_APPLE_IEEE" = yes; then
2413 echo "$ac_t""yes" 1>&6
2415 echo "$ac_t""no" 1>&6
2419 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2420 echo "configure:2421: checking "for --enable-timedate"" >&5
2422 # Check whether --enable-timedate or --disable-timedate was given.
2423 if test "${enable_timedate+set}" = set; then
2424 enableval
="$enable_timedate"
2426 if test "$enableval" = yes; then
2427 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2429 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2434 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2435 if test "x$LINE" != x
; then
2436 eval "DEFAULT_$LINE"
2441 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2446 eval "$ac_cv_use_timedate"
2447 if test "$no_cache" != 1; then
2448 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2451 if test "$wxUSE_TIMEDATE" = yes; then
2452 echo "$ac_t""yes" 1>&6
2454 echo "$ac_t""no" 1>&6
2458 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2459 echo "configure:2460: checking "for --enable-wave"" >&5
2461 # Check whether --enable-wave or --disable-wave was given.
2462 if test "${enable_wave+set}" = set; then
2463 enableval
="$enable_wave"
2465 if test "$enableval" = yes; then
2466 ac_cv_use_wave
='wxUSE_WAVE=yes'
2468 ac_cv_use_wave
='wxUSE_WAVE=no'
2473 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2474 if test "x$LINE" != x
; then
2475 eval "DEFAULT_$LINE"
2480 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2485 eval "$ac_cv_use_wave"
2486 if test "$no_cache" != 1; then
2487 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2490 if test "$wxUSE_WAVE" = yes; then
2491 echo "$ac_t""yes" 1>&6
2493 echo "$ac_t""no" 1>&6
2497 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2498 echo "configure:2499: checking "for --enable-fraction"" >&5
2500 # Check whether --enable-fraction or --disable-fraction was given.
2501 if test "${enable_fraction+set}" = set; then
2502 enableval
="$enable_fraction"
2504 if test "$enableval" = yes; then
2505 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2507 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2512 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2513 if test "x$LINE" != x
; then
2514 eval "DEFAULT_$LINE"
2519 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2524 eval "$ac_cv_use_fraction"
2525 if test "$no_cache" != 1; then
2526 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2529 if test "$wxUSE_FRACTION" = yes; then
2530 echo "$ac_t""yes" 1>&6
2532 echo "$ac_t""no" 1>&6
2536 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2537 echo "configure:2538: checking "for --enable-dynlib"" >&5
2539 # Check whether --enable-dynlib or --disable-dynlib was given.
2540 if test "${enable_dynlib+set}" = set; then
2541 enableval
="$enable_dynlib"
2543 if test "$enableval" = yes; then
2544 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2546 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2551 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2552 if test "x$LINE" != x
; then
2553 eval "DEFAULT_$LINE"
2558 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2563 eval "$ac_cv_use_dynlib"
2564 if test "$no_cache" != 1; then
2565 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2568 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2569 echo "$ac_t""yes" 1>&6
2571 echo "$ac_t""no" 1>&6
2575 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2576 echo "configure:2577: checking "for --enable-longlong"" >&5
2578 # Check whether --enable-longlong or --disable-longlong was given.
2579 if test "${enable_longlong+set}" = set; then
2580 enableval
="$enable_longlong"
2582 if test "$enableval" = yes; then
2583 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2585 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2590 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2591 if test "x$LINE" != x
; then
2592 eval "DEFAULT_$LINE"
2597 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2602 eval "$ac_cv_use_longlong"
2603 if test "$no_cache" != 1; then
2604 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2607 if test "$wxUSE_LONGLONG" = yes; then
2608 echo "$ac_t""yes" 1>&6
2610 echo "$ac_t""no" 1>&6
2614 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2615 echo "configure:2616: checking "for --enable-log"" >&5
2617 # Check whether --enable-log or --disable-log was given.
2618 if test "${enable_log+set}" = set; then
2619 enableval
="$enable_log"
2621 if test "$enableval" = yes; then
2622 ac_cv_use_log
='wxUSE_LOG=yes'
2624 ac_cv_use_log
='wxUSE_LOG=no'
2629 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2630 if test "x$LINE" != x
; then
2631 eval "DEFAULT_$LINE"
2636 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2641 eval "$ac_cv_use_log"
2642 if test "$no_cache" != 1; then
2643 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2646 if test "$wxUSE_LOG" = yes; then
2647 echo "$ac_t""yes" 1>&6
2649 echo "$ac_t""no" 1>&6
2653 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2654 echo "configure:2655: checking "for --enable-streams"" >&5
2656 # Check whether --enable-streams or --disable-streams was given.
2657 if test "${enable_streams+set}" = set; then
2658 enableval
="$enable_streams"
2660 if test "$enableval" = yes; then
2661 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2663 ac_cv_use_streams
='wxUSE_STREAMS=no'
2668 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2669 if test "x$LINE" != x
; then
2670 eval "DEFAULT_$LINE"
2675 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2680 eval "$ac_cv_use_streams"
2681 if test "$no_cache" != 1; then
2682 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2685 if test "$wxUSE_STREAMS" = yes; then
2686 echo "$ac_t""yes" 1>&6
2688 echo "$ac_t""no" 1>&6
2692 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2693 echo "configure:2694: checking "for --enable-file"" >&5
2695 # Check whether --enable-file or --disable-file was given.
2696 if test "${enable_file+set}" = set; then
2697 enableval
="$enable_file"
2699 if test "$enableval" = yes; then
2700 ac_cv_use_file
='wxUSE_FILE=yes'
2702 ac_cv_use_file
='wxUSE_FILE=no'
2707 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2708 if test "x$LINE" != x
; then
2709 eval "DEFAULT_$LINE"
2714 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2719 eval "$ac_cv_use_file"
2720 if test "$no_cache" != 1; then
2721 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2724 if test "$wxUSE_FILE" = yes; then
2725 echo "$ac_t""yes" 1>&6
2727 echo "$ac_t""no" 1>&6
2731 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2732 echo "configure:2733: checking "for --enable-textfile"" >&5
2734 # Check whether --enable-textfile or --disable-textfile was given.
2735 if test "${enable_textfile+set}" = set; then
2736 enableval
="$enable_textfile"
2738 if test "$enableval" = yes; then
2739 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2741 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2746 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2747 if test "x$LINE" != x
; then
2748 eval "DEFAULT_$LINE"
2753 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2758 eval "$ac_cv_use_textfile"
2759 if test "$no_cache" != 1; then
2760 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2763 if test "$wxUSE_TEXTFILE" = yes; then
2764 echo "$ac_t""yes" 1>&6
2766 echo "$ac_t""no" 1>&6
2770 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2771 echo "configure:2772: checking "for --enable-unicode"" >&5
2773 # Check whether --enable-unicode or --disable-unicode was given.
2774 if test "${enable_unicode+set}" = set; then
2775 enableval
="$enable_unicode"
2777 if test "$enableval" = yes; then
2778 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2780 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2785 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2786 if test "x$LINE" != x
; then
2787 eval "DEFAULT_$LINE"
2792 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2797 eval "$ac_cv_use_unicode"
2798 if test "$no_cache" != 1; then
2799 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2802 if test "$wxUSE_UNICODE" = yes; then
2803 echo "$ac_t""yes" 1>&6
2805 echo "$ac_t""no" 1>&6
2809 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2810 echo "configure:2811: checking "for --enable-wcsrtombs"" >&5
2812 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2813 if test "${enable_wcsrtombs+set}" = set; then
2814 enableval
="$enable_wcsrtombs"
2816 if test "$enableval" = yes; then
2817 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
2819 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
2824 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
2825 if test "x$LINE" != x
; then
2826 eval "DEFAULT_$LINE"
2831 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
2836 eval "$ac_cv_use_wcsrtombs"
2837 if test "$no_cache" != 1; then
2838 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
2841 if test "$wxUSE_WCSRTOMBS" = yes; then
2842 echo "$ac_t""yes" 1>&6
2844 echo "$ac_t""no" 1>&6
2848 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
2849 echo "configure:2850: checking "for --enable-wxprintfv"" >&5
2851 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
2852 if test "${enable_wxprintfv+set}" = set; then
2853 enableval
="$enable_wxprintfv"
2855 if test "$enableval" = yes; then
2856 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
2858 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
2863 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
2864 if test "x$LINE" != x
; then
2865 eval "DEFAULT_$LINE"
2870 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
2875 eval "$ac_cv_use_wxprintfv"
2876 if test "$no_cache" != 1; then
2877 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
2880 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
2881 echo "$ac_t""yes" 1>&6
2883 echo "$ac_t""no" 1>&6
2887 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
2888 echo "configure:2889: checking "for --enable-joystick"" >&5
2890 # Check whether --enable-joystick or --disable-joystick was given.
2891 if test "${enable_joystick+set}" = set; then
2892 enableval
="$enable_joystick"
2894 if test "$enableval" = yes; then
2895 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
2897 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
2902 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
2903 if test "x$LINE" != x
; then
2904 eval "DEFAULT_$LINE"
2909 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
2914 eval "$ac_cv_use_joystick"
2915 if test "$no_cache" != 1; then
2916 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
2919 if test "$wxUSE_JOYSTICK" = yes; then
2920 echo "$ac_t""yes" 1>&6
2922 echo "$ac_t""no" 1>&6
2926 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
2927 echo "configure:2928: checking "for --enable-std_iostreams"" >&5
2929 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
2930 if test "${enable_std_iostreams+set}" = set; then
2931 enableval
="$enable_std_iostreams"
2933 if test "$enableval" = yes; then
2934 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
2936 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
2941 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
2942 if test "x$LINE" != x
; then
2943 eval "DEFAULT_$LINE"
2948 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
2953 eval "$ac_cv_use_std_iostreams"
2954 if test "$no_cache" != 1; then
2955 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
2958 if test "$wxUSE_STD_IOSTREAM" = yes; then
2959 echo "$ac_t""yes" 1>&6
2961 echo "$ac_t""no" 1>&6
2965 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
2966 echo "configure:2967: checking "for --enable-fs_inet"" >&5
2968 # Check whether --enable-fs_inet or --disable-fs_inet was given.
2969 if test "${enable_fs_inet+set}" = set; then
2970 enableval
="$enable_fs_inet"
2972 if test "$enableval" = yes; then
2973 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
2975 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
2980 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
2981 if test "x$LINE" != x
; then
2982 eval "DEFAULT_$LINE"
2987 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
2992 eval "$ac_cv_use_fs_inet"
2993 if test "$no_cache" != 1; then
2994 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
2997 if test "$wxUSE_FS_INET" = yes; then
2998 echo "$ac_t""yes" 1>&6
3000 echo "$ac_t""no" 1>&6
3004 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3005 echo "configure:3006: checking "for --enable-fs_zip"" >&5
3007 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3008 if test "${enable_fs_zip+set}" = set; then
3009 enableval
="$enable_fs_zip"
3011 if test "$enableval" = yes; then
3012 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3014 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3019 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3020 if test "x$LINE" != x
; then
3021 eval "DEFAULT_$LINE"
3026 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3031 eval "$ac_cv_use_fs_zip"
3032 if test "$no_cache" != 1; then
3033 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3036 if test "$wxUSE_FS_ZIP" = yes; then
3037 echo "$ac_t""yes" 1>&6
3039 echo "$ac_t""no" 1>&6
3043 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3044 echo "configure:3045: checking "for --enable-zipstream"" >&5
3046 # Check whether --enable-zipstream or --disable-zipstream was given.
3047 if test "${enable_zipstream+set}" = set; then
3048 enableval
="$enable_zipstream"
3050 if test "$enableval" = yes; then
3051 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3053 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3058 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3059 if test "x$LINE" != x
; then
3060 eval "DEFAULT_$LINE"
3065 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3070 eval "$ac_cv_use_zipstream"
3071 if test "$no_cache" != 1; then
3072 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3075 if test "$wxUSE_ZIPSTREAM" = yes; then
3076 echo "$ac_t""yes" 1>&6
3078 echo "$ac_t""no" 1>&6
3084 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3085 echo "configure:3086: checking "for --enable-threads"" >&5
3087 # Check whether --enable-threads or --disable-threads was given.
3088 if test "${enable_threads+set}" = set; then
3089 enableval
="$enable_threads"
3091 if test "$enableval" = yes; then
3092 ac_cv_use_threads
='wxUSE_THREADS=yes'
3094 ac_cv_use_threads
='wxUSE_THREADS=no'
3099 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3100 if test "x$LINE" != x
; then
3101 eval "DEFAULT_$LINE"
3106 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3111 eval "$ac_cv_use_threads"
3112 if test "$no_cache" != 1; then
3113 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3116 if test "$wxUSE_THREADS" = yes; then
3117 echo "$ac_t""yes" 1>&6
3119 echo "$ac_t""no" 1>&6
3123 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3124 echo "configure:3125: checking "for --enable-serial"" >&5
3126 # Check whether --enable-serial or --disable-serial was given.
3127 if test "${enable_serial+set}" = set; then
3128 enableval
="$enable_serial"
3130 if test "$enableval" = yes; then
3131 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3133 ac_cv_use_serial
='wxUSE_SERIAL=no'
3138 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3139 if test "x$LINE" != x
; then
3140 eval "DEFAULT_$LINE"
3145 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3150 eval "$ac_cv_use_serial"
3151 if test "$no_cache" != 1; then
3152 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3155 if test "$wxUSE_SERIAL" = yes; then
3156 echo "$ac_t""yes" 1>&6
3158 echo "$ac_t""no" 1>&6
3164 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3165 echo "configure:3166: checking "for --enable-docview"" >&5
3167 # Check whether --enable-docview or --disable-docview was given.
3168 if test "${enable_docview+set}" = set; then
3169 enableval
="$enable_docview"
3171 if test "$enableval" = yes; then
3172 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3174 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3179 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3180 if test "x$LINE" != x
; then
3181 eval "DEFAULT_$LINE"
3186 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3191 eval "$ac_cv_use_docview"
3192 if test "$no_cache" != 1; then
3193 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3196 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3197 echo "$ac_t""yes" 1>&6
3199 echo "$ac_t""no" 1>&6
3203 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3204 echo "configure:3205: checking "for --enable-help"" >&5
3206 # Check whether --enable-help or --disable-help was given.
3207 if test "${enable_help+set}" = set; then
3208 enableval
="$enable_help"
3210 if test "$enableval" = yes; then
3211 ac_cv_use_help
='wxUSE_HELP=yes'
3213 ac_cv_use_help
='wxUSE_HELP=no'
3218 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3219 if test "x$LINE" != x
; then
3220 eval "DEFAULT_$LINE"
3225 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3230 eval "$ac_cv_use_help"
3231 if test "$no_cache" != 1; then
3232 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3235 if test "$wxUSE_HELP" = yes; then
3236 echo "$ac_t""yes" 1>&6
3238 echo "$ac_t""no" 1>&6
3242 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3243 echo "configure:3244: checking "for --enable-constraints"" >&5
3245 # Check whether --enable-constraints or --disable-constraints was given.
3246 if test "${enable_constraints+set}" = set; then
3247 enableval
="$enable_constraints"
3249 if test "$enableval" = yes; then
3250 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3252 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3257 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3258 if test "x$LINE" != x
; then
3259 eval "DEFAULT_$LINE"
3264 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3269 eval "$ac_cv_use_constraints"
3270 if test "$no_cache" != 1; then
3271 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3274 if test "$wxUSE_CONSTRAINTS" = yes; then
3275 echo "$ac_t""yes" 1>&6
3277 echo "$ac_t""no" 1>&6
3281 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3282 echo "configure:3283: checking "for --enable-printarch"" >&5
3284 # Check whether --enable-printarch or --disable-printarch was given.
3285 if test "${enable_printarch+set}" = set; then
3286 enableval
="$enable_printarch"
3288 if test "$enableval" = yes; then
3289 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3291 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3296 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3297 if test "x$LINE" != x
; then
3298 eval "DEFAULT_$LINE"
3303 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3308 eval "$ac_cv_use_printarch"
3309 if test "$no_cache" != 1; then
3310 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3313 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3314 echo "$ac_t""yes" 1>&6
3316 echo "$ac_t""no" 1>&6
3320 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3321 echo "configure:3322: checking "for --enable-mdi"" >&5
3323 # Check whether --enable-mdi or --disable-mdi was given.
3324 if test "${enable_mdi+set}" = set; then
3325 enableval
="$enable_mdi"
3327 if test "$enableval" = yes; then
3328 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3330 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3335 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3336 if test "x$LINE" != x
; then
3337 eval "DEFAULT_$LINE"
3342 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3347 eval "$ac_cv_use_mdi"
3348 if test "$no_cache" != 1; then
3349 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3352 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3353 echo "$ac_t""yes" 1>&6
3355 echo "$ac_t""no" 1>&6
3360 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3361 echo "configure:3362: checking "for --enable-postscript"" >&5
3363 # Check whether --enable-postscript or --disable-postscript was given.
3364 if test "${enable_postscript+set}" = set; then
3365 enableval
="$enable_postscript"
3367 if test "$enableval" = yes; then
3368 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3370 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3375 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3376 if test "x$LINE" != x
; then
3377 eval "DEFAULT_$LINE"
3382 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3387 eval "$ac_cv_use_postscript"
3388 if test "$no_cache" != 1; then
3389 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3392 if test "$wxUSE_POSTSCRIPT" = yes; then
3393 echo "$ac_t""yes" 1>&6
3395 echo "$ac_t""no" 1>&6
3401 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3402 echo "configure:3403: checking "for --enable-prologio"" >&5
3404 # Check whether --enable-prologio or --disable-prologio was given.
3405 if test "${enable_prologio+set}" = set; then
3406 enableval
="$enable_prologio"
3408 if test "$enableval" = yes; then
3409 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3411 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3416 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3417 if test "x$LINE" != x
; then
3418 eval "DEFAULT_$LINE"
3423 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3428 eval "$ac_cv_use_prologio"
3429 if test "$no_cache" != 1; then
3430 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3433 if test "$wxUSE_PROLOGIO" = yes; then
3434 echo "$ac_t""yes" 1>&6
3436 echo "$ac_t""no" 1>&6
3440 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3441 echo "configure:3442: checking "for --enable-resources"" >&5
3443 # Check whether --enable-resources or --disable-resources was given.
3444 if test "${enable_resources+set}" = set; then
3445 enableval
="$enable_resources"
3447 if test "$enableval" = yes; then
3448 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3450 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3455 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3456 if test "x$LINE" != x
; then
3457 eval "DEFAULT_$LINE"
3462 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3467 eval "$ac_cv_use_resources"
3468 if test "$no_cache" != 1; then
3469 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3472 if test "$wxUSE_RESOURCES" = yes; then
3473 echo "$ac_t""yes" 1>&6
3475 echo "$ac_t""no" 1>&6
3480 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3481 echo "configure:3482: checking "for --enable-xresources"" >&5
3483 # Check whether --enable-xresources or --disable-xresources was given.
3484 if test "${enable_xresources+set}" = set; then
3485 enableval
="$enable_xresources"
3487 if test "$enableval" = yes; then
3488 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3490 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3495 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3496 if test "x$LINE" != x
; then
3497 eval "DEFAULT_$LINE"
3502 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3507 eval "$ac_cv_use_xresources"
3508 if test "$no_cache" != 1; then
3509 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3512 if test "$wxUSE_X_RESOURCES" = yes; then
3513 echo "$ac_t""yes" 1>&6
3515 echo "$ac_t""no" 1>&6
3521 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3522 echo "configure:3523: checking "for --enable-clipboard"" >&5
3524 # Check whether --enable-clipboard or --disable-clipboard was given.
3525 if test "${enable_clipboard+set}" = set; then
3526 enableval
="$enable_clipboard"
3528 if test "$enableval" = yes; then
3529 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3531 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3536 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3537 if test "x$LINE" != x
; then
3538 eval "DEFAULT_$LINE"
3543 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3548 eval "$ac_cv_use_clipboard"
3549 if test "$no_cache" != 1; then
3550 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3553 if test "$wxUSE_CLIPBOARD" = yes; then
3554 echo "$ac_t""yes" 1>&6
3556 echo "$ac_t""no" 1>&6
3560 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3561 echo "configure:3562: checking "for --enable-dnd"" >&5
3563 # Check whether --enable-dnd or --disable-dnd was given.
3564 if test "${enable_dnd+set}" = set; then
3565 enableval
="$enable_dnd"
3567 if test "$enableval" = yes; then
3568 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3570 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3575 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3576 if test "x$LINE" != x
; then
3577 eval "DEFAULT_$LINE"
3582 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3587 eval "$ac_cv_use_dnd"
3588 if test "$no_cache" != 1; then
3589 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3592 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3593 echo "$ac_t""yes" 1>&6
3595 echo "$ac_t""no" 1>&6
3600 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3601 echo "configure:3602: checking "for --enable-wxtree"" >&5
3603 # Check whether --enable-wxtree or --disable-wxtree was given.
3604 if test "${enable_wxtree+set}" = set; then
3605 enableval
="$enable_wxtree"
3607 if test "$enableval" = yes; then
3608 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3610 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3615 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3616 if test "x$LINE" != x
; then
3617 eval "DEFAULT_$LINE"
3622 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3627 eval "$ac_cv_use_wxtree"
3628 if test "$no_cache" != 1; then
3629 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3632 if test "$wxUSE_WXTREE" = yes; then
3633 echo "$ac_t""yes" 1>&6
3635 echo "$ac_t""no" 1>&6
3641 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3642 echo "configure:3643: checking "for --enable-controls"" >&5
3644 # Check whether --enable-controls or --disable-controls was given.
3645 if test "${enable_controls+set}" = set; then
3646 enableval
="$enable_controls"
3648 if test "$enableval" = yes; then
3649 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3651 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3656 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3657 if test "x$LINE" != x
; then
3658 eval "DEFAULT_$LINE"
3663 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3668 eval "$ac_cv_use_controls"
3669 if test "$no_cache" != 1; then
3670 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3673 if test "$wxUSE_CONTROLS" = yes; then
3674 echo "$ac_t""yes" 1>&6
3676 echo "$ac_t""no" 1>&6
3680 if test "$wxUSE_CONTROLS" = "yes"; then
3681 DEFAULT_wxUSE_ACCEL
=yes
3682 DEFAULT_wxUSE_CARET
=yes
3683 DEFAULT_wxUSE_COMBOBOX
=yes
3684 DEFAULT_wxUSE_BMPBUTTON
=yes
3685 DEFAULT_wxUSE_CHECKBOX
=yes
3686 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3687 DEFAULT_wxUSE_CHOICE
=yes
3688 DEFAULT_wxUSE_GAUGE
=yes
3689 DEFAULT_wxUSE_GRID
=yes
3690 DEFAULT_wxUSE_IMAGLIST
=yes
3691 DEFAULT_wxUSE_LISTBOX
=yes
3692 DEFAULT_wxUSE_LISTCTRL
=yes
3693 DEFAULT_wxUSE_NOTEBOOK
=yes
3694 DEFAULT_wxUSE_RADIOBOX
=yes
3695 DEFAULT_wxUSE_RADIOBTN
=yes
3696 DEFAULT_wxUSE_SASH
=yes
3697 DEFAULT_wxUSE_SCROLLBAR
=yes
3698 DEFAULT_wxUSE_SLIDER
=yes
3699 DEFAULT_wxUSE_SPINBTN
=yes
3700 DEFAULT_wxUSE_SPLITTER
=yes
3701 DEFAULT_wxUSE_STATBMP
=yes
3702 DEFAULT_wxUSE_STATBOX
=yes
3703 DEFAULT_wxUSE_STATLINE
=yes
3704 DEFAULT_wxUSE_STATUSBAR
=yes
3705 DEFAULT_wxUSE_TAB_DIALOG
=yes
3706 DEFAULT_wxUSE_TOOLBAR
=yes
3707 DEFAULT_wxUSE_TOOLTIPS
=yes
3708 DEFAULT_wxUSE_TREECTRL
=yes
3709 elif test "$wxUSE_CONTROLS" = "no"; then
3710 DEFAULT_wxUSE_ACCEL
=no
3711 DEFAULT_wxUSE_CARET
=no
3712 DEFAULT_wxUSE_COMBOBOX
=no
3713 DEFAULT_wxUSE_BMPBUTTON
=no
3714 DEFAULT_wxUSE_CHECKBOX
=no
3715 DEFAULT_wxUSE_CHECKLISTBOX
=no
3716 DEFAULT_wxUSE_CHOICE
=no
3717 DEFAULT_wxUSE_GAUGE
=no
3718 DEFAULT_wxUSE_GRID
=no
3719 DEFAULT_wxUSE_IMAGLIST
=no
3720 DEFAULT_wxUSE_LISTBOX
=no
3721 DEFAULT_wxUSE_LISTCTRL
=no
3722 DEFAULT_wxUSE_NOTEBOOK
=no
3723 DEFAULT_wxUSE_RADIOBOX
=no
3724 DEFAULT_wxUSE_RADIOBTN
=no
3725 DEFAULT_wxUSE_SASH
=no
3726 DEFAULT_wxUSE_SCROLLBAR
=no
3727 DEFAULT_wxUSE_SLIDER
=no
3728 DEFAULT_wxUSE_SPINBTN
=no
3729 DEFAULT_wxUSE_SPLITTER
=no
3730 DEFAULT_wxUSE_STATBMP
=no
3731 DEFAULT_wxUSE_STATBOX
=no
3732 DEFAULT_wxUSE_STATLINE
=no
3733 DEFAULT_wxUSE_STATUSBAR
=no
3734 DEFAULT_wxUSE_TAB_DIALOG
=no
3735 DEFAULT_wxUSE_TOOLBAR
=no
3736 DEFAULT_wxUSE_TOOLTIPS
=no
3737 DEFAULT_wxUSE_TREECTRL
=no
3741 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3742 echo "configure:3743: checking "for --enable-accel"" >&5
3744 # Check whether --enable-accel or --disable-accel was given.
3745 if test "${enable_accel+set}" = set; then
3746 enableval
="$enable_accel"
3748 if test "$enableval" = yes; then
3749 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3751 ac_cv_use_accel
='wxUSE_ACCEL=no'
3756 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x
; then
3758 eval "DEFAULT_$LINE"
3763 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3768 eval "$ac_cv_use_accel"
3769 if test "$no_cache" != 1; then
3770 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3773 if test "$wxUSE_ACCEL" = yes; then
3774 echo "$ac_t""yes" 1>&6
3776 echo "$ac_t""no" 1>&6
3780 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3781 echo "configure:3782: checking "for --enable-caret"" >&5
3783 # Check whether --enable-caret or --disable-caret was given.
3784 if test "${enable_caret+set}" = set; then
3785 enableval
="$enable_caret"
3787 if test "$enableval" = yes; then
3788 ac_cv_use_caret
='wxUSE_CARET=yes'
3790 ac_cv_use_caret
='wxUSE_CARET=no'
3795 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x
; then
3797 eval "DEFAULT_$LINE"
3802 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3807 eval "$ac_cv_use_caret"
3808 if test "$no_cache" != 1; then
3809 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3812 if test "$wxUSE_CARET" = yes; then
3813 echo "$ac_t""yes" 1>&6
3815 echo "$ac_t""no" 1>&6
3819 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
3820 echo "configure:3821: checking "for --enable-bmpbutton"" >&5
3822 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
3823 if test "${enable_bmpbutton+set}" = set; then
3824 enableval
="$enable_bmpbutton"
3826 if test "$enableval" = yes; then
3827 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
3829 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
3834 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
3835 if test "x$LINE" != x
; then
3836 eval "DEFAULT_$LINE"
3841 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
3846 eval "$ac_cv_use_bmpbutton"
3847 if test "$no_cache" != 1; then
3848 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
3851 if test "$wxUSE_BMPBUTTON" = yes; then
3852 echo "$ac_t""yes" 1>&6
3854 echo "$ac_t""no" 1>&6
3858 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
3859 echo "configure:3860: checking "for --enable-checkbox"" >&5
3861 # Check whether --enable-checkbox or --disable-checkbox was given.
3862 if test "${enable_checkbox+set}" = set; then
3863 enableval
="$enable_checkbox"
3865 if test "$enableval" = yes; then
3866 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
3868 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
3873 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
3874 if test "x$LINE" != x
; then
3875 eval "DEFAULT_$LINE"
3880 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
3885 eval "$ac_cv_use_checkbox"
3886 if test "$no_cache" != 1; then
3887 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
3890 if test "$wxUSE_CHECKBOX" = yes; then
3891 echo "$ac_t""yes" 1>&6
3893 echo "$ac_t""no" 1>&6
3897 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
3898 echo "configure:3899: checking "for --enable-checklst"" >&5
3900 # Check whether --enable-checklst or --disable-checklst was given.
3901 if test "${enable_checklst+set}" = set; then
3902 enableval
="$enable_checklst"
3904 if test "$enableval" = yes; then
3905 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
3907 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
3912 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
3913 if test "x$LINE" != x
; then
3914 eval "DEFAULT_$LINE"
3919 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
3924 eval "$ac_cv_use_checklst"
3925 if test "$no_cache" != 1; then
3926 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
3929 if test "$wxUSE_CHECKLST" = yes; then
3930 echo "$ac_t""yes" 1>&6
3932 echo "$ac_t""no" 1>&6
3936 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
3937 echo "configure:3938: checking "for --enable-choice"" >&5
3939 # Check whether --enable-choice or --disable-choice was given.
3940 if test "${enable_choice+set}" = set; then
3941 enableval
="$enable_choice"
3943 if test "$enableval" = yes; then
3944 ac_cv_use_choice
='wxUSE_CHOICE=yes'
3946 ac_cv_use_choice
='wxUSE_CHOICE=no'
3951 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
3952 if test "x$LINE" != x
; then
3953 eval "DEFAULT_$LINE"
3958 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
3963 eval "$ac_cv_use_choice"
3964 if test "$no_cache" != 1; then
3965 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
3968 if test "$wxUSE_CHOICE" = yes; then
3969 echo "$ac_t""yes" 1>&6
3971 echo "$ac_t""no" 1>&6
3975 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
3976 echo "configure:3977: checking "for --enable-combobox"" >&5
3978 # Check whether --enable-combobox or --disable-combobox was given.
3979 if test "${enable_combobox+set}" = set; then
3980 enableval
="$enable_combobox"
3982 if test "$enableval" = yes; then
3983 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
3985 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
3990 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
3991 if test "x$LINE" != x
; then
3992 eval "DEFAULT_$LINE"
3997 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4002 eval "$ac_cv_use_combobox"
4003 if test "$no_cache" != 1; then
4004 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4007 if test "$wxUSE_COMBOBOX" = yes; then
4008 echo "$ac_t""yes" 1>&6
4010 echo "$ac_t""no" 1>&6
4014 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4015 echo "configure:4016: checking "for --enable-gauge"" >&5
4017 # Check whether --enable-gauge or --disable-gauge was given.
4018 if test "${enable_gauge+set}" = set; then
4019 enableval
="$enable_gauge"
4021 if test "$enableval" = yes; then
4022 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4024 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4029 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x
; then
4031 eval "DEFAULT_$LINE"
4036 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4041 eval "$ac_cv_use_gauge"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4046 if test "$wxUSE_GAUGE" = yes; then
4047 echo "$ac_t""yes" 1>&6
4049 echo "$ac_t""no" 1>&6
4053 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4054 echo "configure:4055: checking "for --enable-grid"" >&5
4056 # Check whether --enable-grid or --disable-grid was given.
4057 if test "${enable_grid+set}" = set; then
4058 enableval
="$enable_grid"
4060 if test "$enableval" = yes; then
4061 ac_cv_use_grid
='wxUSE_GRID=yes'
4063 ac_cv_use_grid
='wxUSE_GRID=no'
4068 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4069 if test "x$LINE" != x
; then
4070 eval "DEFAULT_$LINE"
4075 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4080 eval "$ac_cv_use_grid"
4081 if test "$no_cache" != 1; then
4082 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4085 if test "$wxUSE_GRID" = yes; then
4086 echo "$ac_t""yes" 1>&6
4088 echo "$ac_t""no" 1>&6
4092 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4093 echo "configure:4094: checking "for --enable-imaglist"" >&5
4095 # Check whether --enable-imaglist or --disable-imaglist was given.
4096 if test "${enable_imaglist+set}" = set; then
4097 enableval
="$enable_imaglist"
4099 if test "$enableval" = yes; then
4100 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4102 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4107 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4108 if test "x$LINE" != x
; then
4109 eval "DEFAULT_$LINE"
4114 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4119 eval "$ac_cv_use_imaglist"
4120 if test "$no_cache" != 1; then
4121 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4124 if test "$wxUSE_IMAGLIST" = yes; then
4125 echo "$ac_t""yes" 1>&6
4127 echo "$ac_t""no" 1>&6
4131 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4132 echo "configure:4133: checking "for --enable-listbox"" >&5
4134 # Check whether --enable-listbox or --disable-listbox was given.
4135 if test "${enable_listbox+set}" = set; then
4136 enableval
="$enable_listbox"
4138 if test "$enableval" = yes; then
4139 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4141 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4146 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4147 if test "x$LINE" != x
; then
4148 eval "DEFAULT_$LINE"
4153 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4158 eval "$ac_cv_use_listbox"
4159 if test "$no_cache" != 1; then
4160 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4163 if test "$wxUSE_LISTBOX" = yes; then
4164 echo "$ac_t""yes" 1>&6
4166 echo "$ac_t""no" 1>&6
4170 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4171 echo "configure:4172: checking "for --enable-listctrl"" >&5
4173 # Check whether --enable-listctrl or --disable-listctrl was given.
4174 if test "${enable_listctrl+set}" = set; then
4175 enableval
="$enable_listctrl"
4177 if test "$enableval" = yes; then
4178 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4180 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4185 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4186 if test "x$LINE" != x
; then
4187 eval "DEFAULT_$LINE"
4192 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4197 eval "$ac_cv_use_listctrl"
4198 if test "$no_cache" != 1; then
4199 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4202 if test "$wxUSE_LISTCTRL" = yes; then
4203 echo "$ac_t""yes" 1>&6
4205 echo "$ac_t""no" 1>&6
4209 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4210 echo "configure:4211: checking "for --enable-notebook"" >&5
4212 # Check whether --enable-notebook or --disable-notebook was given.
4213 if test "${enable_notebook+set}" = set; then
4214 enableval
="$enable_notebook"
4216 if test "$enableval" = yes; then
4217 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4219 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4224 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4225 if test "x$LINE" != x
; then
4226 eval "DEFAULT_$LINE"
4231 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4236 eval "$ac_cv_use_notebook"
4237 if test "$no_cache" != 1; then
4238 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4241 if test "$wxUSE_NOTEBOOK" = yes; then
4242 echo "$ac_t""yes" 1>&6
4244 echo "$ac_t""no" 1>&6
4248 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4249 echo "configure:4250: checking "for --enable-radiobox"" >&5
4251 # Check whether --enable-radiobox or --disable-radiobox was given.
4252 if test "${enable_radiobox+set}" = set; then
4253 enableval
="$enable_radiobox"
4255 if test "$enableval" = yes; then
4256 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4258 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4263 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x
; then
4265 eval "DEFAULT_$LINE"
4270 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4275 eval "$ac_cv_use_radiobox"
4276 if test "$no_cache" != 1; then
4277 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4280 if test "$wxUSE_RADIOBOX" = yes; then
4281 echo "$ac_t""yes" 1>&6
4283 echo "$ac_t""no" 1>&6
4287 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4288 echo "configure:4289: checking "for --enable-radiobtn"" >&5
4290 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4291 if test "${enable_radiobtn+set}" = set; then
4292 enableval
="$enable_radiobtn"
4294 if test "$enableval" = yes; then
4295 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4297 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4302 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x
; then
4304 eval "DEFAULT_$LINE"
4309 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4314 eval "$ac_cv_use_radiobtn"
4315 if test "$no_cache" != 1; then
4316 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4319 if test "$wxUSE_RADIOBTN" = yes; then
4320 echo "$ac_t""yes" 1>&6
4322 echo "$ac_t""no" 1>&6
4326 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4327 echo "configure:4328: checking "for --enable-sash"" >&5
4329 # Check whether --enable-sash or --disable-sash was given.
4330 if test "${enable_sash+set}" = set; then
4331 enableval
="$enable_sash"
4333 if test "$enableval" = yes; then
4334 ac_cv_use_sash
='wxUSE_SASH=yes'
4336 ac_cv_use_sash
='wxUSE_SASH=no'
4341 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x
; then
4343 eval "DEFAULT_$LINE"
4348 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4353 eval "$ac_cv_use_sash"
4354 if test "$no_cache" != 1; then
4355 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4358 if test "$wxUSE_SASH" = yes; then
4359 echo "$ac_t""yes" 1>&6
4361 echo "$ac_t""no" 1>&6
4365 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4366 echo "configure:4367: checking "for --enable-scrollbar"" >&5
4368 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4369 if test "${enable_scrollbar+set}" = set; then
4370 enableval
="$enable_scrollbar"
4372 if test "$enableval" = yes; then
4373 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4375 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4380 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4381 if test "x$LINE" != x
; then
4382 eval "DEFAULT_$LINE"
4387 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4392 eval "$ac_cv_use_scrollbar"
4393 if test "$no_cache" != 1; then
4394 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4397 if test "$wxUSE_SCROLLBAR" = yes; then
4398 echo "$ac_t""yes" 1>&6
4400 echo "$ac_t""no" 1>&6
4404 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4405 echo "configure:4406: checking "for --enable-slider"" >&5
4407 # Check whether --enable-slider or --disable-slider was given.
4408 if test "${enable_slider+set}" = set; then
4409 enableval
="$enable_slider"
4411 if test "$enableval" = yes; then
4412 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4414 ac_cv_use_slider
='wxUSE_SLIDER=no'
4419 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x
; then
4421 eval "DEFAULT_$LINE"
4426 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4431 eval "$ac_cv_use_slider"
4432 if test "$no_cache" != 1; then
4433 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4436 if test "$wxUSE_SLIDER" = yes; then
4437 echo "$ac_t""yes" 1>&6
4439 echo "$ac_t""no" 1>&6
4443 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4444 echo "configure:4445: checking "for --enable-spinbtn"" >&5
4446 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4447 if test "${enable_spinbtn+set}" = set; then
4448 enableval
="$enable_spinbtn"
4450 if test "$enableval" = yes; then
4451 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4453 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4458 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4459 if test "x$LINE" != x
; then
4460 eval "DEFAULT_$LINE"
4465 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4470 eval "$ac_cv_use_spinbtn"
4471 if test "$no_cache" != 1; then
4472 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4475 if test "$wxUSE_SPINBTN" = yes; then
4476 echo "$ac_t""yes" 1>&6
4478 echo "$ac_t""no" 1>&6
4482 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4483 echo "configure:4484: checking "for --enable-splitter"" >&5
4485 # Check whether --enable-splitter or --disable-splitter was given.
4486 if test "${enable_splitter+set}" = set; then
4487 enableval
="$enable_splitter"
4489 if test "$enableval" = yes; then
4490 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4492 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4497 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4498 if test "x$LINE" != x
; then
4499 eval "DEFAULT_$LINE"
4504 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4509 eval "$ac_cv_use_splitter"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4514 if test "$wxUSE_SPLITTER" = yes; then
4515 echo "$ac_t""yes" 1>&6
4517 echo "$ac_t""no" 1>&6
4521 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4522 echo "configure:4523: checking "for --enable-statbmp"" >&5
4524 # Check whether --enable-statbmp or --disable-statbmp was given.
4525 if test "${enable_statbmp+set}" = set; then
4526 enableval
="$enable_statbmp"
4528 if test "$enableval" = yes; then
4529 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4531 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4536 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4537 if test "x$LINE" != x
; then
4538 eval "DEFAULT_$LINE"
4543 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4548 eval "$ac_cv_use_statbmp"
4549 if test "$no_cache" != 1; then
4550 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4553 if test "$wxUSE_STATBMP" = yes; then
4554 echo "$ac_t""yes" 1>&6
4556 echo "$ac_t""no" 1>&6
4560 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4561 echo "configure:4562: checking "for --enable-statbox"" >&5
4563 # Check whether --enable-statbox or --disable-statbox was given.
4564 if test "${enable_statbox+set}" = set; then
4565 enableval
="$enable_statbox"
4567 if test "$enableval" = yes; then
4568 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4570 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4575 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4576 if test "x$LINE" != x
; then
4577 eval "DEFAULT_$LINE"
4582 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4587 eval "$ac_cv_use_statbox"
4588 if test "$no_cache" != 1; then
4589 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4592 if test "$wxUSE_STATBOX" = yes; then
4593 echo "$ac_t""yes" 1>&6
4595 echo "$ac_t""no" 1>&6
4599 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4600 echo "configure:4601: checking "for --enable-statline"" >&5
4602 # Check whether --enable-statline or --disable-statline was given.
4603 if test "${enable_statline+set}" = set; then
4604 enableval
="$enable_statline"
4606 if test "$enableval" = yes; then
4607 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4609 ac_cv_use_statline
='wxUSE_STATLINE=no'
4614 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x
; then
4616 eval "DEFAULT_$LINE"
4621 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4626 eval "$ac_cv_use_statline"
4627 if test "$no_cache" != 1; then
4628 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4631 if test "$wxUSE_STATLINE" = yes; then
4632 echo "$ac_t""yes" 1>&6
4634 echo "$ac_t""no" 1>&6
4638 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4639 echo "configure:4640: checking "for --enable-statusbar"" >&5
4641 # Check whether --enable-statusbar or --disable-statusbar was given.
4642 if test "${enable_statusbar+set}" = set; then
4643 enableval
="$enable_statusbar"
4645 if test "$enableval" = yes; then
4646 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4648 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4653 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x
; then
4655 eval "DEFAULT_$LINE"
4660 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4665 eval "$ac_cv_use_statusbar"
4666 if test "$no_cache" != 1; then
4667 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4670 if test "$wxUSE_STATUSBAR" = yes; then
4671 echo "$ac_t""yes" 1>&6
4673 echo "$ac_t""no" 1>&6
4677 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4678 echo "configure:4679: checking "for --enable-tabdialog"" >&5
4680 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4681 if test "${enable_tabdialog+set}" = set; then
4682 enableval
="$enable_tabdialog"
4684 if test "$enableval" = yes; then
4685 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4687 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4692 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4693 if test "x$LINE" != x
; then
4694 eval "DEFAULT_$LINE"
4699 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4704 eval "$ac_cv_use_tabdialog"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4709 if test "$wxUSE_TABDIALOG" = yes; then
4710 echo "$ac_t""yes" 1>&6
4712 echo "$ac_t""no" 1>&6
4716 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4717 echo "configure:4718: checking "for --enable-toolbar"" >&5
4719 # Check whether --enable-toolbar or --disable-toolbar was given.
4720 if test "${enable_toolbar+set}" = set; then
4721 enableval
="$enable_toolbar"
4723 if test "$enableval" = yes; then
4724 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4726 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4731 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4732 if test "x$LINE" != x
; then
4733 eval "DEFAULT_$LINE"
4738 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4743 eval "$ac_cv_use_toolbar"
4744 if test "$no_cache" != 1; then
4745 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4748 if test "$wxUSE_TOOLBAR" = yes; then
4749 echo "$ac_t""yes" 1>&6
4751 echo "$ac_t""no" 1>&6
4755 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4756 echo "configure:4757: checking "for --enable-treectrl"" >&5
4758 # Check whether --enable-treectrl or --disable-treectrl was given.
4759 if test "${enable_treectrl+set}" = set; then
4760 enableval
="$enable_treectrl"
4762 if test "$enableval" = yes; then
4763 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
4765 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
4770 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x
; then
4772 eval "DEFAULT_$LINE"
4777 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
4782 eval "$ac_cv_use_treectrl"
4783 if test "$no_cache" != 1; then
4784 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
4787 if test "$wxUSE_TREECTRL" = yes; then
4788 echo "$ac_t""yes" 1>&6
4790 echo "$ac_t""no" 1>&6
4796 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
4797 echo "configure:4798: checking "for --enable-commondlg"" >&5
4799 # Check whether --enable-commondlg or --disable-commondlg was given.
4800 if test "${enable_commondlg+set}" = set; then
4801 enableval
="$enable_commondlg"
4803 if test "$enableval" = yes; then
4804 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
4806 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
4811 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
4812 if test "x$LINE" != x
; then
4813 eval "DEFAULT_$LINE"
4818 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
4823 eval "$ac_cv_use_commondlg"
4824 if test "$no_cache" != 1; then
4825 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
4828 if test "$wxUSE_COMMONDLGS" = yes; then
4829 echo "$ac_t""yes" 1>&6
4831 echo "$ac_t""no" 1>&6
4835 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
4836 echo "configure:4837: checking "for --enable-dirdlg"" >&5
4838 # Check whether --enable-dirdlg or --disable-dirdlg was given.
4839 if test "${enable_dirdlg+set}" = set; then
4840 enableval
="$enable_dirdlg"
4842 if test "$enableval" = yes; then
4843 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
4845 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
4850 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
4851 if test "x$LINE" != x
; then
4852 eval "DEFAULT_$LINE"
4857 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
4862 eval "$ac_cv_use_dirdlg"
4863 if test "$no_cache" != 1; then
4864 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
4867 if test "$wxUSE_DIRDLG" = yes; then
4868 echo "$ac_t""yes" 1>&6
4870 echo "$ac_t""no" 1>&6
4874 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
4875 echo "configure:4876: checking "for --enable-textdlg"" >&5
4877 # Check whether --enable-textdlg or --disable-textdlg was given.
4878 if test "${enable_textdlg+set}" = set; then
4879 enableval
="$enable_textdlg"
4881 if test "$enableval" = yes; then
4882 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
4884 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
4889 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
4890 if test "x$LINE" != x
; then
4891 eval "DEFAULT_$LINE"
4896 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
4901 eval "$ac_cv_use_textdlg"
4902 if test "$no_cache" != 1; then
4903 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
4906 if test "$wxUSE_TEXTDLG" = yes; then
4907 echo "$ac_t""yes" 1>&6
4909 echo "$ac_t""no" 1>&6
4913 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
4914 echo "configure:4915: checking "for --enable-tipdlg"" >&5
4916 # Check whether --enable-tipdlg or --disable-tipdlg was given.
4917 if test "${enable_tipdlg+set}" = set; then
4918 enableval
="$enable_tipdlg"
4920 if test "$enableval" = yes; then
4921 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
4923 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
4928 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
4929 if test "x$LINE" != x
; then
4930 eval "DEFAULT_$LINE"
4935 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
4940 eval "$ac_cv_use_tipdlg"
4941 if test "$no_cache" != 1; then
4942 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
4945 if test "$wxUSE_STARTUP_TIPS" = yes; then
4946 echo "$ac_t""yes" 1>&6
4948 echo "$ac_t""no" 1>&6
4952 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
4953 echo "configure:4954: checking "for --enable-progressdlg"" >&5
4955 # Check whether --enable-progressdlg or --disable-progressdlg was given.
4956 if test "${enable_progressdlg+set}" = set; then
4957 enableval
="$enable_progressdlg"
4959 if test "$enableval" = yes; then
4960 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
4962 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
4967 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
4968 if test "x$LINE" != x
; then
4969 eval "DEFAULT_$LINE"
4974 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
4979 eval "$ac_cv_use_progressdlg"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
4984 if test "$wxUSE_PROGRESSDLG" = yes; then
4985 echo "$ac_t""yes" 1>&6
4987 echo "$ac_t""no" 1>&6
4991 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
4992 echo "configure:4993: checking "for --enable-miniframe"" >&5
4994 # Check whether --enable-miniframe or --disable-miniframe was given.
4995 if test "${enable_miniframe+set}" = set; then
4996 enableval
="$enable_miniframe"
4998 if test "$enableval" = yes; then
4999 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5001 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5006 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5007 if test "x$LINE" != x
; then
5008 eval "DEFAULT_$LINE"
5013 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5018 eval "$ac_cv_use_miniframe"
5019 if test "$no_cache" != 1; then
5020 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5023 if test "$wxUSE_MINIFRAME" = yes; then
5024 echo "$ac_t""yes" 1>&6
5026 echo "$ac_t""no" 1>&6
5030 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5031 echo "configure:5032: checking "for --enable-html"" >&5
5033 # Check whether --enable-html or --disable-html was given.
5034 if test "${enable_html+set}" = set; then
5035 enableval
="$enable_html"
5037 if test "$enableval" = yes; then
5038 ac_cv_use_html
='wxUSE_HTML=yes'
5040 ac_cv_use_html
='wxUSE_HTML=no'
5045 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5046 if test "x$LINE" != x
; then
5047 eval "DEFAULT_$LINE"
5052 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5057 eval "$ac_cv_use_html"
5058 if test "$no_cache" != 1; then
5059 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5062 if test "$wxUSE_HTML" = yes; then
5063 echo "$ac_t""yes" 1>&6
5065 echo "$ac_t""no" 1>&6
5069 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5070 echo "configure:5071: checking "for --enable-tooltips"" >&5
5072 # Check whether --enable-tooltips or --disable-tooltips was given.
5073 if test "${enable_tooltips+set}" = set; then
5074 enableval
="$enable_tooltips"
5076 if test "$enableval" = yes; then
5077 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5079 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5084 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5085 if test "x$LINE" != x
; then
5086 eval "DEFAULT_$LINE"
5091 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5096 eval "$ac_cv_use_tooltips"
5097 if test "$no_cache" != 1; then
5098 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5101 if test "$wxUSE_TOOLTIPS" = yes; then
5102 echo "$ac_t""yes" 1>&6
5104 echo "$ac_t""no" 1>&6
5108 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5109 echo "configure:5110: checking "for --enable-splines"" >&5
5111 # Check whether --enable-splines or --disable-splines was given.
5112 if test "${enable_splines+set}" = set; then
5113 enableval
="$enable_splines"
5115 if test "$enableval" = yes; then
5116 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5118 ac_cv_use_splines
='wxUSE_SPLINES=no'
5123 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5124 if test "x$LINE" != x
; then
5125 eval "DEFAULT_$LINE"
5130 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5135 eval "$ac_cv_use_splines"
5136 if test "$no_cache" != 1; then
5137 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5140 if test "$wxUSE_SPLINES" = yes; then
5141 echo "$ac_t""yes" 1>&6
5143 echo "$ac_t""no" 1>&6
5147 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5148 echo "configure:5149: checking "for --enable-validators"" >&5
5150 # Check whether --enable-validators or --disable-validators was given.
5151 if test "${enable_validators+set}" = set; then
5152 enableval
="$enable_validators"
5154 if test "$enableval" = yes; then
5155 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5157 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5162 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5163 if test "x$LINE" != x
; then
5164 eval "DEFAULT_$LINE"
5169 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5174 eval "$ac_cv_use_validators"
5175 if test "$no_cache" != 1; then
5176 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5179 if test "$wxUSE_VALIDATORS" = yes; then
5180 echo "$ac_t""yes" 1>&6
5182 echo "$ac_t""no" 1>&6
5186 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5187 echo "configure:5188: checking "for --enable-busyinfo"" >&5
5189 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5190 if test "${enable_busyinfo+set}" = set; then
5191 enableval
="$enable_busyinfo"
5193 if test "$enableval" = yes; then
5194 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5196 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5201 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5202 if test "x$LINE" != x
; then
5203 eval "DEFAULT_$LINE"
5208 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5213 eval "$ac_cv_use_busyinfo"
5214 if test "$no_cache" != 1; then
5215 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5218 if test "$wxUSE_BUSYINFO" = yes; then
5219 echo "$ac_t""yes" 1>&6
5221 echo "$ac_t""no" 1>&6
5226 echo "saving argument cache $wx_arg_cache_file"
5227 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5231 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5232 echo "configure:5233: checking for toolkit" >&5
5234 if test "$TOOLKIT_GIVEN" = 1; then
5235 for toolkit
in `echo $ALL_TOOLKITS`; do
5237 eval "value=\$${var}"
5238 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5241 for toolkit
in `echo $ALL_TOOLKITS`; do
5242 if test "$has_toolkit_in_cache" != 1; then
5243 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5245 var
=DEFAULT_wxUSE_
$toolkit
5247 eval "wxUSE_$toolkit=\$${var}"
5251 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5253 case "$NUM_TOOLKITS" in
5257 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5260 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5263 for toolkit
in `echo $ALL_TOOLKITS`; do
5265 eval "value=\$${var}"
5266 if test "x$value" != x
; then
5267 cache_var
=CACHE_
$toolkit
5268 eval "cache=\$${cache_var}"
5269 if test "$cache" = 1; then
5270 echo "$var=$value" >> ${wx_arg_cache_file}
5272 if test "$value" = 1; then
5273 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5279 cat > confcache
<<\EOF
5280 # This file is a shell script that caches the results of configure
5281 # tests run on this system so they can be shared between configure
5282 # scripts and configure runs. It is not useful on other systems.
5283 # If it contains results you don't want to keep, you may remove or edit it.
5285 # By default, configure uses ./config.cache as the cache file,
5286 # creating it if it does not exist already. You can give configure
5287 # the --cache-file=FILE option to use a different cache file; that is
5288 # what configure does when it calls configure scripts in
5289 # subdirectories, so they share the cache.
5290 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5291 # config.status only pays attention to the cache file if you give it the
5292 # --recheck option to rerun configure.
5295 # The following way of writing the cache mishandles newlines in values,
5296 # but we know of no workaround that is simple, portable, and efficient.
5297 # So, don't put newlines in cache variables' values.
5298 # Ultrix sh set writes to stderr and can't be redirected directly,
5299 # and sets the high bit in the cache file unless we assign to the vars.
5301 case `(ac_space=' '; set) 2>&1` in
5303 # `set' does not quote correctly, so add quotes (double-quote substitution
5304 # turns \\\\ into \\, and sed turns \\ into \).
5306 -e "s/'/'\\\\''/g" \
5307 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5310 # `set' quotes correctly as required by POSIX, so do not add quotes.
5311 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5314 if cmp -s $cache_file confcache
; then
5317 if test -w $cache_file; then
5318 echo "updating cache $cache_file"
5319 cat confcache
> $cache_file
5321 echo "not updating unwritable cache $cache_file"
5327 if eval "test $host != $build"; then
5328 if eval "test $host_alias != NONE"; then
5332 RANLIB
=$host_alias-ranlib
5333 DLLTOOL
=$host_alias-dlltool
5336 STRIP
=$host_alias-strip
5340 # Extract the first word of "gcc", so it can be a program name with args.
5341 set dummy gcc
; ac_word
=$2
5342 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5343 echo "configure:5344: checking for $ac_word" >&5
5344 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5345 echo $ac_n "(cached) $ac_c" 1>&6
5347 if test -n "$CC"; then
5348 ac_cv_prog_CC
="$CC" # Let the user override the test.
5350 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5351 for ac_dir
in $PATH; do
5352 test -z "$ac_dir" && ac_dir
=.
5353 if test -f $ac_dir/$ac_word; then
5362 if test -n "$CC"; then
5363 echo "$ac_t""$CC" 1>&6
5365 echo "$ac_t""no" 1>&6
5368 if test -z "$CC"; then
5369 # Extract the first word of "cc", so it can be a program name with args.
5370 set dummy cc
; ac_word
=$2
5371 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5372 echo "configure:5373: checking for $ac_word" >&5
5373 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5374 echo $ac_n "(cached) $ac_c" 1>&6
5376 if test -n "$CC"; then
5377 ac_cv_prog_CC
="$CC" # Let the user override the test.
5379 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5381 for ac_dir
in $PATH; do
5382 test -z "$ac_dir" && ac_dir
=.
5383 if test -f $ac_dir/$ac_word; then
5384 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5385 ac_prog_rejected
=yes
5393 if test $ac_prog_rejected = yes; then
5394 # We found a bogon in the path, so make sure we never use it.
5395 set dummy
$ac_cv_prog_CC
5397 if test $# -gt 0; then
5398 # We chose a different compiler from the bogus one.
5399 # However, it has the same basename, so the bogon will be chosen
5400 # first if we set CC to just the basename; use the full file name.
5402 set dummy
"$ac_dir/$ac_word" "$@"
5410 if test -n "$CC"; then
5411 echo "$ac_t""$CC" 1>&6
5413 echo "$ac_t""no" 1>&6
5416 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5419 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5420 echo "configure:5421: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5423 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5424 ac_cpp
='$CPP $CPPFLAGS'
5425 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5426 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5427 cross_compiling
=$ac_cv_prog_cc_cross
5429 cat > conftest.
$ac_ext <<EOF
5430 #line 5431 "configure"
5431 #include "confdefs.h"
5434 if { (eval echo configure
:5435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
5435 ac_cv_prog_cc_works
=yes
5436 # If we can't run a trivial program, we are probably using a cross compiler.
5437 if (.
/conftest
; exit) 2>/dev
/null
; then
5438 ac_cv_prog_cc_cross
=no
5440 ac_cv_prog_cc_cross
=yes
5443 echo "configure: failed program was:" >&5
5444 cat conftest.
$ac_ext >&5
5445 ac_cv_prog_cc_works
=no
5449 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5450 if test $ac_cv_prog_cc_works = no
; then
5451 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5453 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5454 echo "configure:5455: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5455 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5456 cross_compiling
=$ac_cv_prog_cc_cross
5458 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5459 echo "configure:5460: checking whether we are using GNU C" >&5
5460 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5461 echo $ac_n "(cached) $ac_c" 1>&6
5463 cat > conftest.c
<<EOF
5468 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5469: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5475 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5477 if test $ac_cv_prog_gcc = yes; then
5479 ac_test_CFLAGS
="${CFLAGS+set}"
5480 ac_save_CFLAGS
="$CFLAGS"
5482 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5483 echo "configure:5484: checking whether ${CC-cc} accepts -g" >&5
5484 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5485 echo $ac_n "(cached) $ac_c" 1>&6
5487 echo 'void f(){}' > conftest.c
5488 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5497 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5498 if test "$ac_test_CFLAGS" = set; then
5499 CFLAGS
="$ac_save_CFLAGS"
5500 elif test $ac_cv_prog_cc_g = yes; then
5507 test "${CFLAGS+set}" = set || CFLAGS
="-g"
5511 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5513 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5514 echo "configure:5515: checking how to run the C preprocessor" >&5
5515 # On Suns, sometimes $CPP names a directory.
5516 if test -n "$CPP" && test -d "$CPP"; then
5519 if test -z "$CPP"; then
5520 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5521 echo $ac_n "(cached) $ac_c" 1>&6
5523 # This must be in double quotes, not single quotes, because CPP may get
5524 # substituted into the Makefile and "${CC-cc}" will confuse make.
5526 # On the NeXT, cc -E runs the code through the compiler's parser,
5527 # not just through cpp.
5528 cat > conftest.
$ac_ext <<EOF
5529 #line 5530 "configure"
5530 #include "confdefs.h"
5534 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5535 { (eval echo configure
:5536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5536 ac_err
=`grep -v '^ *+' conftest.out`
5537 if test -z "$ac_err"; then
5541 echo "configure: failed program was:" >&5
5542 cat conftest.
$ac_ext >&5
5544 CPP
="${CC-cc} -E -traditional-cpp"
5545 cat > conftest.
$ac_ext <<EOF
5546 #line 5547 "configure"
5547 #include "confdefs.h"
5551 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5552 { (eval echo configure
:5553: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5553 ac_err
=`grep -v '^ *+' conftest.out`
5554 if test -z "$ac_err"; then
5558 echo "configure: failed program was:" >&5
5559 cat conftest.
$ac_ext >&5
5566 ac_cv_prog_CPP
="$CPP"
5568 CPP
="$ac_cv_prog_CPP"
5570 ac_cv_prog_CPP
="$CPP"
5572 echo "$ac_t""$CPP" 1>&6
5575 if test $ac_cv_prog_gcc = yes; then
5576 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
5577 echo "configure:5578: checking whether ${CC-cc} needs -traditional" >&5
5578 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
5579 echo $ac_n "(cached) $ac_c" 1>&6
5581 ac_pattern
="Autoconf.*'x'"
5582 cat > conftest.
$ac_ext <<EOF
5583 #line 5584 "configure"
5584 #include "confdefs.h"
5588 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5589 egrep "$ac_pattern" >/dev
/null
2>&1; then
5591 ac_cv_prog_gcc_traditional
=yes
5594 ac_cv_prog_gcc_traditional
=no
5599 if test $ac_cv_prog_gcc_traditional = no
; then
5600 cat > conftest.
$ac_ext <<EOF
5601 #line 5602 "configure"
5602 #include "confdefs.h"
5606 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5607 egrep "$ac_pattern" >/dev
/null
2>&1; then
5609 ac_cv_prog_gcc_traditional
=yes
5616 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
5617 if test $ac_cv_prog_gcc_traditional = yes; then
5618 CC
="$CC -traditional"
5625 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5626 ac_cpp
='$CXXCPP $CPPFLAGS'
5627 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5628 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5629 cross_compiling
=$ac_cv_prog_cxx_cross
5632 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
5634 # Extract the first word of "$ac_prog", so it can be a program name with args.
5635 set dummy
$ac_prog; ac_word
=$2
5636 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5637 echo "configure:5638: checking for $ac_word" >&5
5638 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
5639 echo $ac_n "(cached) $ac_c" 1>&6
5641 if test -n "$CXX"; then
5642 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
5644 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5645 for ac_dir
in $PATH; do
5646 test -z "$ac_dir" && ac_dir
=.
5647 if test -f $ac_dir/$ac_word; then
5648 ac_cv_prog_CXX
="$ac_prog"
5655 CXX
="$ac_cv_prog_CXX"
5656 if test -n "$CXX"; then
5657 echo "$ac_t""$CXX" 1>&6
5659 echo "$ac_t""no" 1>&6
5662 test -n "$CXX" && break
5664 test -n "$CXX" || CXX
="gcc"
5667 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5668 echo "configure:5669: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
5671 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5672 ac_cpp
='$CXXCPP $CPPFLAGS'
5673 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5674 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5675 cross_compiling
=$ac_cv_prog_cxx_cross
5677 cat > conftest.
$ac_ext <<EOF
5678 #line 5679 "configure"
5679 #include "confdefs.h"
5682 if { (eval echo configure
:5683: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
5683 ac_cv_prog_cxx_works
=yes
5684 # If we can't run a trivial program, we are probably using a cross compiler.
5685 if (.
/conftest
; exit) 2>/dev
/null
; then
5686 ac_cv_prog_cxx_cross
=no
5688 ac_cv_prog_cxx_cross
=yes
5691 echo "configure: failed program was:" >&5
5692 cat conftest.
$ac_ext >&5
5693 ac_cv_prog_cxx_works
=no
5697 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
5698 if test $ac_cv_prog_cxx_works = no
; then
5699 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
5701 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5702 echo "configure:5703: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
5703 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
5704 cross_compiling
=$ac_cv_prog_cxx_cross
5706 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
5707 echo "configure:5708: checking whether we are using GNU C++" >&5
5708 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
5709 echo $ac_n "(cached) $ac_c" 1>&6
5711 cat > conftest.C
<<EOF
5716 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:5717: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5723 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
5725 if test $ac_cv_prog_gxx = yes; then
5727 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
5728 ac_save_CXXFLAGS
="$CXXFLAGS"
5730 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
5731 echo "configure:5732: checking whether ${CXX-g++} accepts -g" >&5
5732 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
5733 echo $ac_n "(cached) $ac_c" 1>&6
5735 echo 'void f(){}' > conftest.cc
5736 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
5737 ac_cv_prog_cxx_g
=yes
5745 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
5746 if test "$ac_test_CXXFLAGS" = set; then
5747 CXXFLAGS
="$ac_save_CXXFLAGS"
5748 elif test $ac_cv_prog_cxx_g = yes; then
5755 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
5759 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
5760 echo "configure:5761: checking how to run the C++ preprocessor" >&5
5761 if test -z "$CXXCPP"; then
5762 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
5763 echo $ac_n "(cached) $ac_c" 1>&6
5766 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5767 ac_cpp
='$CXXCPP $CPPFLAGS'
5768 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5769 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5770 cross_compiling
=$ac_cv_prog_cxx_cross
5771 CXXCPP
="${CXX-g++} -E"
5772 cat > conftest.
$ac_ext <<EOF
5773 #line 5774 "configure"
5774 #include "confdefs.h"
5777 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5778 { (eval echo configure
:5779: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5779 ac_err
=`grep -v '^ *+' conftest.out`
5780 if test -z "$ac_err"; then
5784 echo "configure: failed program was:" >&5
5785 cat conftest.
$ac_ext >&5
5790 ac_cv_prog_CXXCPP
="$CXXCPP"
5793 CXXCPP
="$ac_cv_prog_CXXCPP"
5794 echo "$ac_t""$CXXCPP" 1>&6
5797 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
5800 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5801 ac_cpp
='$CPP $CPPFLAGS'
5802 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5803 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5804 cross_compiling
=$ac_cv_prog_cc_cross
5807 # Extract the first word of "ranlib", so it can be a program name with args.
5808 set dummy ranlib
; ac_word
=$2
5809 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5810 echo "configure:5811: checking for $ac_word" >&5
5811 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
5812 echo $ac_n "(cached) $ac_c" 1>&6
5814 if test -n "$RANLIB"; then
5815 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
5817 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5818 for ac_dir
in $PATH; do
5819 test -z "$ac_dir" && ac_dir
=.
5820 if test -f $ac_dir/$ac_word; then
5821 ac_cv_prog_RANLIB
="ranlib"
5826 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
5829 RANLIB
="$ac_cv_prog_RANLIB"
5830 if test -n "$RANLIB"; then
5831 echo "$ac_t""$RANLIB" 1>&6
5833 echo "$ac_t""no" 1>&6
5837 # Extract the first word of "ar", so it can be a program name with args.
5838 set dummy
ar; ac_word
=$2
5839 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5840 echo "configure:5841: checking for $ac_word" >&5
5841 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
5842 echo $ac_n "(cached) $ac_c" 1>&6
5844 if test -n "$AR"; then
5845 ac_cv_prog_AR
="$AR" # Let the user override the test.
5847 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5848 for ac_dir
in $PATH; do
5849 test -z "$ac_dir" && ac_dir
=.
5850 if test -f $ac_dir/$ac_word; then
5856 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
5860 if test -n "$AR"; then
5861 echo "$ac_t""$AR" 1>&6
5863 echo "$ac_t""no" 1>&6
5867 # Find a good install program. We prefer a C program (faster),
5868 # so one script is as good as another. But avoid the broken or
5869 # incompatible versions:
5870 # SysV /etc/install, /usr/sbin/install
5871 # SunOS /usr/etc/install
5872 # IRIX /sbin/install
5874 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
5875 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
5876 # ./install, which can be erroneously created by make from ./install.sh.
5877 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
5878 echo "configure:5879: checking for a BSD compatible install" >&5
5879 if test -z "$INSTALL"; then
5880 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
5881 echo $ac_n "(cached) $ac_c" 1>&6
5883 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
5884 for ac_dir
in $PATH; do
5885 # Account for people who put trailing slashes in PATH elements.
5887 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
5889 # OSF1 and SCO ODT 3.0 have their own names for install.
5890 for ac_prog
in ginstall installbsd scoinst
install; do
5891 if test -f $ac_dir/$ac_prog; then
5892 if test $ac_prog = install &&
5893 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
5894 # AIX install. It has an incompatible calling convention.
5895 # OSF/1 installbsd also uses dspmsg, but is usable.
5898 ac_cv_path_install
="$ac_dir/$ac_prog -c"
5909 if test "${ac_cv_path_install+set}" = set; then
5910 INSTALL
="$ac_cv_path_install"
5912 # As a last resort, use the slow shell script. We don't cache a
5913 # path for INSTALL within a source directory, because that will
5914 # break other packages using the cache if that directory is
5915 # removed, or if the path is relative.
5916 INSTALL
="$ac_install_sh"
5919 echo "$ac_t""$INSTALL" 1>&6
5921 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
5922 # It thinks the first close brace ends the variable substitution.
5923 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
5925 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
5928 # Extract the first word of "strip", so it can be a program name with args.
5929 set dummy strip
; ac_word
=$2
5930 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5931 echo "configure:5932: checking for $ac_word" >&5
5932 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
5933 echo $ac_n "(cached) $ac_c" 1>&6
5935 if test -n "$STRIP"; then
5936 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
5938 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5939 for ac_dir
in $PATH; do
5940 test -z "$ac_dir" && ac_dir
=.
5941 if test -f $ac_dir/$ac_word; then
5942 ac_cv_prog_STRIP
="strip"
5947 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
5950 STRIP
="$ac_cv_prog_STRIP"
5951 if test -n "$STRIP"; then
5952 echo "$ac_t""$STRIP" 1>&6
5954 echo "$ac_t""no" 1>&6
5958 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
5959 echo "configure:5960: checking "make for VPATH support
"" >&5
5960 cat - << EOF > confMake
5966 if test ! -d sub
; then
5969 echo dummy
> sub
/file
5970 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
5972 rm -f sub
/file check final_file confMake
5974 if test "$RESULT" = 0; then
5975 echo "$ac_t""yes" 1>&6
5977 echo "$ac_t""no" 1>&6
5978 { echo "configure: error: You need a make-utility that is able to use the variable
5980 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
5983 for ac_prog
in 'bison -y' byacc
5985 # Extract the first word of "$ac_prog", so it can be a program name with args.
5986 set dummy
$ac_prog; ac_word
=$2
5987 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5988 echo "configure:5989: checking for $ac_word" >&5
5989 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
5990 echo $ac_n "(cached) $ac_c" 1>&6
5992 if test -n "$YACC"; then
5993 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
5995 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5996 for ac_dir
in $PATH; do
5997 test -z "$ac_dir" && ac_dir
=.
5998 if test -f $ac_dir/$ac_word; then
5999 ac_cv_prog_YACC
="$ac_prog"
6006 YACC
="$ac_cv_prog_YACC"
6007 if test -n "$YACC"; then
6008 echo "$ac_t""$YACC" 1>&6
6010 echo "$ac_t""no" 1>&6
6013 test -n "$YACC" && break
6015 test -n "$YACC" || YACC
="yacc"
6018 # Extract the first word of "flex", so it can be a program name with args.
6019 set dummy flex
; ac_word
=$2
6020 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6021 echo "configure:6022: checking for $ac_word" >&5
6022 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6023 echo $ac_n "(cached) $ac_c" 1>&6
6025 if test -n "$LEX"; then
6026 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6028 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6029 for ac_dir
in $PATH; do
6030 test -z "$ac_dir" && ac_dir
=.
6031 if test -f $ac_dir/$ac_word; then
6032 ac_cv_prog_LEX
="flex"
6037 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6040 LEX
="$ac_cv_prog_LEX"
6041 if test -n "$LEX"; then
6042 echo "$ac_t""$LEX" 1>&6
6044 echo "$ac_t""no" 1>&6
6047 if test -z "$LEXLIB"
6053 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6054 echo "configure:6055: checking for yywrap in -l$ac_lib" >&5
6055 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6056 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6057 echo $ac_n "(cached) $ac_c" 1>&6
6059 ac_save_LIBS
="$LIBS"
6060 LIBS
="-l$ac_lib $LIBS"
6061 cat > conftest.
$ac_ext <<EOF
6062 #line 6063 "configure"
6063 #include "confdefs.h"
6064 /* Override any gcc2 internal prototype to avoid an error. */
6065 /* We use char because int might match the return type of a gcc2
6066 builtin and then its argument prototype would still apply. */
6073 if { (eval echo configure
:6074: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6075 eval "ac_cv_lib_$ac_lib_var=yes"
6077 echo "configure: failed program was:" >&5
6078 cat conftest.
$ac_ext >&5
6080 eval "ac_cv_lib_$ac_lib_var=no"
6083 LIBS
="$ac_save_LIBS"
6086 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6087 echo "$ac_t""yes" 1>&6
6090 echo "$ac_t""no" 1>&6
6096 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6097 echo "configure:6098: checking whether ln -s works" >&5
6098 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6099 echo $ac_n "(cached) $ac_c" 1>&6
6102 if ln -s X conftestdata
2>/dev
/null
6105 ac_cv_prog_LN_S
="ln -s"
6110 LN_S
="$ac_cv_prog_LN_S"
6111 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6112 echo "$ac_t""yes" 1>&6
6114 echo "$ac_t""no" 1>&6
6120 /usr/Motif-1.2/include \
6121 /usr/Motif-2.1/include \
6123 /usr/include/Motif1.2 \
6124 /opt/xpm/include/X11 \
6126 /usr/Motif1.2/include \
6130 /usr/X11R6/include \
6131 /usr/X11R5/include \
6132 /usr/X11R4/include \
6138 /usr/include/X11R6 \
6139 /usr/include/X11R5 \
6140 /usr/include/X11R4 \
6142 /usr/local/X11R6/include \
6143 /usr/local/X11R5/include \
6144 /usr/local/X11R4/include \
6146 /usr/local/include/X11R6 \
6147 /usr/local/include/X11R5 \
6148 /usr/local/include/X11R4 \
6152 /usr/local/X11/include \
6153 /usr/local/include/X11 \
6157 /usr/XFree86/include/X11 \
6160 /usr/local/include \
6163 /usr/local/include/gtk \
6165 /usr/local/include/glib \
6168 /usr/local/include/qt \
6170 /usr/include/windows \
6172 /usr/local/include/wine \
6174 /usr/unsupported/include \
6175 /usr/athena/include \
6176 /usr/local/x11r5/include \
6177 /usr/lpp/Xamples/include \
6179 /usr/openwin/include \
6180 /usr/openwin/share/include \
6183 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6186 cat > confcache
<<\EOF
6187 # This file is a shell script that caches the results of configure
6188 # tests run on this system so they can be shared between configure
6189 # scripts and configure runs. It is not useful on other systems.
6190 # If it contains results you don't want to keep, you may remove or edit it.
6192 # By default, configure uses ./config.cache as the cache file,
6193 # creating it if it does not exist already. You can give configure
6194 # the --cache-file=FILE option to use a different cache file; that is
6195 # what configure does when it calls configure scripts in
6196 # subdirectories, so they share the cache.
6197 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6198 # config.status only pays attention to the cache file if you give it the
6199 # --recheck option to rerun configure.
6202 # The following way of writing the cache mishandles newlines in values,
6203 # but we know of no workaround that is simple, portable, and efficient.
6204 # So, don't put newlines in cache variables' values.
6205 # Ultrix sh set writes to stderr and can't be redirected directly,
6206 # and sets the high bit in the cache file unless we assign to the vars.
6208 case `(ac_space=' '; set) 2>&1` in
6210 # `set' does not quote correctly, so add quotes (double-quote substitution
6211 # turns \\\\ into \\, and sed turns \\ into \).
6213 -e "s/'/'\\\\''/g" \
6214 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6217 # `set' quotes correctly as required by POSIX, so do not add quotes.
6218 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6221 if cmp -s $cache_file confcache
; then
6224 if test -w $cache_file; then
6225 echo "updating cache $cache_file"
6226 cat confcache
> $cache_file
6228 echo "not updating unwritable cache $cache_file"
6249 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6250 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6251 echo "configure:6252: checking for Windows headers" >&5
6254 for ac_dir
in $SEARCH_INCLUDE;
6256 if test -f "$ac_dir/windows.h"; then
6257 ac_find_includes
=$ac_dir
6262 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6264 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -loldnames -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6266 if test "$ac_find_includes" != "" ; then
6267 echo "$ac_t""found $ac_find_includes" 1>&6
6268 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6270 echo "$ac_t""no" 1>&6
6271 if test "$cross_compiling" != "yes" ; then
6272 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6279 GUIHEADERS
=MSW_HEADERS
6280 COMMONOBJS
=MSW_COMMONOBJS
6281 GENERICOBJS
=MSW_GENERICOBJS
6286 if test "$wxUSE_GTK" = 1; then
6288 if test x
$gtk_config_exec_prefix != x
; then
6289 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6290 if test x
${GTK_CONFIG+set} != xset
; then
6291 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6294 if test x
$gtk_config_prefix != x
; then
6295 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6296 if test x
${GTK_CONFIG+set} != xset
; then
6297 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6301 # Extract the first word of "gtk-config", so it can be a program name with args.
6302 set dummy gtk
-config; ac_word
=$2
6303 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6304 echo "configure:6305: checking for $ac_word" >&5
6305 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6306 echo $ac_n "(cached) $ac_c" 1>&6
6308 case "$GTK_CONFIG" in
6310 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6313 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6314 for ac_dir
in $PATH; do
6315 test -z "$ac_dir" && ac_dir
=.
6316 if test -f $ac_dir/$ac_word; then
6317 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6322 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6326 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6327 if test -n "$GTK_CONFIG"; then
6328 echo "$ac_t""$GTK_CONFIG" 1>&6
6330 echo "$ac_t""no" 1>&6
6333 min_gtk_version
=1.2.0
6334 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6335 echo "configure:6336: checking for GTK - version >= $min_gtk_version" >&5
6337 if test "$GTK_CONFIG" != "no" ; then
6338 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6339 GTK_LIBS
=`$GTK_CONFIG --libs`
6340 ac_save_CFLAGS
="$CFLAGS"
6341 ac_save_LIBS
="$LIBS"
6342 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6343 LIBS
="$LIBS $GTK_LIBS"
6344 if test "$cross_compiling" = yes; then
6345 echo $ac_n "cross compiling; assumed OK... $ac_c"
6347 cat > conftest.
$ac_ext <<EOF
6348 #line 6349 "configure"
6349 #include "confdefs.h"
6351 #include <gtk/gtk.h>
6357 int major, minor, micro;
6359 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6360 printf("%s, bad version string\n", "$min_gtk_version");
6364 if (gtk_minor_version == 1) return FALSE;
6366 return !((gtk_major_version > major) ||
6367 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6368 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6372 if { (eval echo configure
:6373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6376 echo "configure: failed program was:" >&5
6377 cat conftest.
$ac_ext >&5
6384 CFLAGS
="$ac_save_CFLAGS"
6385 LIBS
="$ac_save_LIBS"
6389 if test "x$no_gtk" = x
; then
6390 echo "$ac_t""yes" 1>&6
6393 echo "$ac_t""no" 1>&6
6401 if test "$WXGTK12" != 1; then
6403 if test x
$gtk_config_exec_prefix != x
; then
6404 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6405 if test x
${GTK_CONFIG+set} != xset
; then
6406 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6409 if test x
$gtk_config_prefix != x
; then
6410 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6411 if test x
${GTK_CONFIG+set} != xset
; then
6412 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6416 # Extract the first word of "gtk-config", so it can be a program name with args.
6417 set dummy gtk
-config; ac_word
=$2
6418 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6419 echo "configure:6420: checking for $ac_word" >&5
6420 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6421 echo $ac_n "(cached) $ac_c" 1>&6
6423 case "$GTK_CONFIG" in
6425 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6428 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6429 for ac_dir
in $PATH; do
6430 test -z "$ac_dir" && ac_dir
=.
6431 if test -f $ac_dir/$ac_word; then
6432 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6437 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6441 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6442 if test -n "$GTK_CONFIG"; then
6443 echo "$ac_t""$GTK_CONFIG" 1>&6
6445 echo "$ac_t""no" 1>&6
6448 min_gtk_version
=1.0.0
6449 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6450 echo "configure:6451: checking for GTK - version >= $min_gtk_version" >&5
6452 if test "$GTK_CONFIG" != "no" ; then
6453 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6454 GTK_LIBS
=`$GTK_CONFIG --libs`
6455 ac_save_CFLAGS
="$CFLAGS"
6456 ac_save_LIBS
="$LIBS"
6457 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6458 LIBS
="$LIBS $GTK_LIBS"
6459 if test "$cross_compiling" = yes; then
6460 echo $ac_n "cross compiling; assumed OK... $ac_c"
6462 cat > conftest.
$ac_ext <<EOF
6463 #line 6464 "configure"
6464 #include "confdefs.h"
6466 #include <gtk/gtk.h>
6472 int major, minor, micro;
6474 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6475 printf("%s, bad version string\n", "$min_gtk_version");
6479 if (gtk_minor_version == 1) return FALSE;
6481 return !((gtk_major_version > major) ||
6482 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6483 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6487 if { (eval echo configure
:6488: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6491 echo "configure: failed program was:" >&5
6492 cat conftest.
$ac_ext >&5
6499 CFLAGS
="$ac_save_CFLAGS"
6500 LIBS
="$ac_save_LIBS"
6504 if test "x$no_gtk" = x
; then
6505 echo "$ac_t""yes" 1>&6
6508 echo "$ac_t""no" 1>&6
6511 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.X or 1.0.X?" 1>&2; exit 1; }
6518 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6519 GUI_TK_LIBRARY
="$GTK_LIBS -ldl"
6523 GUIHEADERS
=GTK_HEADERS
6524 COMMONOBJS
=GTK_COMMONOBJS
6525 GENERICOBJS
=GTK_GENERICOBJS
6530 if test "$wxUSE_WINE" = 1; then
6531 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6532 echo "configure:6533: checking for WINE includes" >&5
6535 for ac_dir
in $SEARCH_INCLUDE;
6537 if test -f "$ac_dir/windows.h"; then
6538 ac_find_includes
=$ac_dir
6543 if test "$ac_find_includes" != "" ; then
6544 echo "$ac_t""found $ac_find_includes" 1>&6
6545 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6547 echo "$ac_t""no" 1>&6
6548 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6552 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6553 echo "configure:6554: checking for Xpm library" >&5
6556 for ac_dir
in $SEARCH_LIB;
6558 for ac_extension
in a so sl
; do
6559 if test -f "$ac_dir/libXpm.$ac_extension"; then
6560 ac_find_libraries
=$ac_dir
6566 if test "$ac_find_libraries" != "" ; then
6567 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6569 cat >> confdefs.h
<<\EOF
6570 #define wxHAVE_LIB_XPM 1
6573 echo "$ac_t""found at $ac_find_libraries" 1>&6
6575 echo "$ac_t""no" 1>&6
6576 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
6580 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
6581 echo "configure:6582: checking for Mesa library" >&5
6584 for ac_dir
in $SEARCH_LIB;
6586 for ac_extension
in a so sl
; do
6587 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6588 ac_find_libraries
=$ac_dir
6594 if test "$ac_find_libraries" != "" ; then
6595 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
6596 MESA_LINK
="-lMesaGL"
6597 echo "$ac_t""found at $ac_find_libraries" 1>&6
6599 { echo "configure: error: no" 1>&2; exit 1; }
6602 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -ldl -lm"
6603 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
6608 GUIHEADERS
=MSW_HEADERS
6609 COMMONOBJS
=MSW_COMMONOBJS
6610 GENERICOBJS
=MSW_GENERICOBJS
6615 if test "$wxUSE_MOTIF" = 1; then
6616 # If we find X, set shell vars x_includes and x_libraries to the
6617 # paths, otherwise set no_x=yes.
6618 # Uses ac_ vars as temps to allow command line to override cache and checks.
6619 # --without-x overrides everything else, but does not touch the cache.
6620 echo $ac_n "checking for X""... $ac_c" 1>&6
6621 echo "configure:6622: checking for X" >&5
6623 # Check whether --with-x or --without-x was given.
6624 if test "${with_x+set}" = set; then
6629 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
6630 if test "x$with_x" = xno
; then
6631 # The user explicitly disabled X.
6634 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
6635 # Both variables are already set.
6638 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
6639 echo $ac_n "(cached) $ac_c" 1>&6
6641 # One or both of the vars are not set, and there is no cached value.
6642 ac_x_includes
=NO ac_x_libraries
=NO
6644 if mkdir conftestdir
; then
6646 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
6647 cat > Imakefile
<<'EOF'
6649 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
6651 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
6652 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
6653 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
6654 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
6655 for ac_extension
in a so sl
; do
6656 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
6657 test -f $ac_im_libdir/libX11.
$ac_extension; then
6658 ac_im_usrlibdir
=$ac_im_libdir; break
6661 # Screen out bogus values from the imake configuration. They are
6662 # bogus both because they are the default anyway, and because
6663 # using them would break gcc on systems where it needs fixed includes.
6664 case "$ac_im_incroot" in
6666 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
6668 case "$ac_im_usrlibdir" in
6670 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
6677 if test "$ac_x_includes" = NO
; then
6678 # Guess where to find include files, by looking for this one X11 .h file.
6679 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
6681 # First, try using that file with no special directory specified.
6682 cat > conftest.
$ac_ext <<EOF
6683 #line 6684 "configure"
6684 #include "confdefs.h"
6685 #include <$x_direct_test_include>
6687 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6688 { (eval echo configure
:6689: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6689 ac_err
=`grep -v '^ *+' conftest.out`
6690 if test -z "$ac_err"; then
6692 # We can compile using X headers with no special include directory.
6696 echo "configure: failed program was:" >&5
6697 cat conftest.
$ac_ext >&5
6699 # Look for the header file in a standard set of common directories.
6700 # Check X11 before X11Rn because it is often a symlink to the current release.
6703 /usr
/X
11R
6/include \
6704 /usr
/X
11R
5/include \
6705 /usr
/X
11R
4/include \
6708 /usr
/include
/X11R6 \
6709 /usr
/include
/X11R5 \
6710 /usr
/include
/X11R4 \
6712 /usr
/local
/X
11/include \
6713 /usr
/local
/X
11R
6/include \
6714 /usr
/local
/X
11R
5/include \
6715 /usr
/local
/X
11R
4/include \
6717 /usr
/local
/include
/X11 \
6718 /usr
/local
/include
/X11R6 \
6719 /usr
/local
/include
/X11R5 \
6720 /usr
/local
/include
/X11R4 \
6724 /usr
/XFree
86/include
/X11 \
6727 /usr
/local
/include \
6728 /usr
/unsupported
/include \
6729 /usr
/athena
/include \
6730 /usr
/local
/x
11r
5/include \
6731 /usr
/lpp
/Xamples
/include \
6733 /usr
/openwin
/include \
6734 /usr
/openwin
/share
/include \
6737 if test -r "$ac_dir/$x_direct_test_include"; then
6738 ac_x_includes
=$ac_dir
6744 fi # $ac_x_includes = NO
6746 if test "$ac_x_libraries" = NO
; then
6747 # Check for the libraries.
6749 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
6750 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
6752 # See if we find them without any special options.
6753 # Don't add to $LIBS permanently.
6754 ac_save_LIBS
="$LIBS"
6755 LIBS
="-l$x_direct_test_library $LIBS"
6756 cat > conftest.
$ac_ext <<EOF
6757 #line 6758 "configure"
6758 #include "confdefs.h"
6761 ${x_direct_test_function}()
6764 if { (eval echo configure
:6765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6766 LIBS
="$ac_save_LIBS"
6767 # We can link X programs with no special library path.
6770 echo "configure: failed program was:" >&5
6771 cat conftest.
$ac_ext >&5
6773 LIBS
="$ac_save_LIBS"
6774 # First see if replacing the include by lib works.
6775 # Check X11 before X11Rn because it is often a symlink to the current release.
6776 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
6787 /usr
/local
/X
11/lib \
6788 /usr
/local
/X
11R
6/lib \
6789 /usr
/local
/X
11R
5/lib \
6790 /usr
/local
/X
11R
4/lib \
6792 /usr
/local
/lib
/X11 \
6793 /usr
/local
/lib
/X11R6 \
6794 /usr
/local
/lib
/X11R5 \
6795 /usr
/local
/lib
/X11R4 \
6799 /usr
/XFree
86/lib
/X11 \
6803 /usr
/unsupported
/lib \
6805 /usr
/local
/x
11r
5/lib \
6806 /usr
/lpp
/Xamples
/lib \
6810 /usr
/openwin
/share
/lib \
6813 for ac_extension
in a so sl
; do
6814 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
6815 ac_x_libraries
=$ac_dir
6822 fi # $ac_x_libraries = NO
6824 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
6825 # Didn't find X anywhere. Cache the known absence of X.
6826 ac_cv_have_x
="have_x=no"
6828 # Record where we found X for the cache.
6829 ac_cv_have_x
="have_x=yes \
6830 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
6834 eval "$ac_cv_have_x"
6837 if test "$have_x" != yes; then
6838 echo "$ac_t""$have_x" 1>&6
6841 # If each of the values was on the command line, it overrides each guess.
6842 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
6843 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
6844 # Update the cache value to reflect the command line values.
6845 ac_cv_have_x
="have_x=yes \
6846 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
6847 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
6850 if test "$no_x" = yes; then
6851 # Not all programs may use this symbol, but it does not hurt to define it.
6852 cat >> confdefs.h
<<\EOF
6853 #define X_DISPLAY_MISSING 1
6856 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
6858 if test -n "$x_includes"; then
6859 X_CFLAGS
="$X_CFLAGS -I$x_includes"
6862 # It would also be nice to do this for all -L options, not just this one.
6863 if test -n "$x_libraries"; then
6864 X_LIBS
="$X_LIBS -L$x_libraries"
6865 # For Solaris; some versions of Sun CC require a space after -R and
6866 # others require no space. Words are not sufficient . . . .
6867 case "`(uname -sr) 2>/dev/null`" in
6869 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
6870 echo "configure:6871: checking whether -R must be followed by a space" >&5
6871 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
6872 cat > conftest.
$ac_ext <<EOF
6873 #line 6874 "configure"
6874 #include "confdefs.h"
6880 if { (eval echo configure
:6881: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6884 echo "configure: failed program was:" >&5
6885 cat conftest.
$ac_ext >&5
6890 if test $ac_R_nospace = yes; then
6891 echo "$ac_t""no" 1>&6
6892 X_LIBS
="$X_LIBS -R$x_libraries"
6894 LIBS
="$ac_xsave_LIBS -R $x_libraries"
6895 cat > conftest.
$ac_ext <<EOF
6896 #line 6897 "configure"
6897 #include "confdefs.h"
6903 if { (eval echo configure
:6904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6907 echo "configure: failed program was:" >&5
6908 cat conftest.
$ac_ext >&5
6913 if test $ac_R_space = yes; then
6914 echo "$ac_t""yes" 1>&6
6915 X_LIBS
="$X_LIBS -R $x_libraries"
6917 echo "$ac_t""neither works" 1>&6
6920 LIBS
="$ac_xsave_LIBS"
6924 # Check for system-dependent libraries X programs must link with.
6925 # Do this before checking for the system-independent R6 libraries
6926 # (-lICE), since we may need -lsocket or whatever for X linking.
6928 if test "$ISC" = yes; then
6929 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
6931 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
6932 # libraries were built with DECnet support. And karl@cs.umb.edu says
6933 # the Alpha needs dnet_stub (dnet does not exist).
6934 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
6935 echo "configure:6936: checking for dnet_ntoa in -ldnet" >&5
6936 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6937 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6938 echo $ac_n "(cached) $ac_c" 1>&6
6940 ac_save_LIBS
="$LIBS"
6942 cat > conftest.
$ac_ext <<EOF
6943 #line 6944 "configure"
6944 #include "confdefs.h"
6945 /* Override any gcc2 internal prototype to avoid an error. */
6946 /* We use char because int might match the return type of a gcc2
6947 builtin and then its argument prototype would still apply. */
6954 if { (eval echo configure
:6955: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6956 eval "ac_cv_lib_$ac_lib_var=yes"
6958 echo "configure: failed program was:" >&5
6959 cat conftest.
$ac_ext >&5
6961 eval "ac_cv_lib_$ac_lib_var=no"
6964 LIBS
="$ac_save_LIBS"
6967 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6968 echo "$ac_t""yes" 1>&6
6969 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
6971 echo "$ac_t""no" 1>&6
6974 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
6975 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
6976 echo "configure:6977: checking for dnet_ntoa in -ldnet_stub" >&5
6977 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
6978 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6979 echo $ac_n "(cached) $ac_c" 1>&6
6981 ac_save_LIBS
="$LIBS"
6982 LIBS
="-ldnet_stub $LIBS"
6983 cat > conftest.
$ac_ext <<EOF
6984 #line 6985 "configure"
6985 #include "confdefs.h"
6986 /* Override any gcc2 internal prototype to avoid an error. */
6987 /* We use char because int might match the return type of a gcc2
6988 builtin and then its argument prototype would still apply. */
6995 if { (eval echo configure
:6996: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6997 eval "ac_cv_lib_$ac_lib_var=yes"
6999 echo "configure: failed program was:" >&5
7000 cat conftest.
$ac_ext >&5
7002 eval "ac_cv_lib_$ac_lib_var=no"
7005 LIBS
="$ac_save_LIBS"
7008 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7009 echo "$ac_t""yes" 1>&6
7010 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7012 echo "$ac_t""no" 1>&6
7017 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7018 # to get the SysV transport functions.
7019 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7021 # The nsl library prevents programs from opening the X display
7022 # on Irix 5.2, according to dickey@clark.net.
7023 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7024 echo "configure:7025: checking for gethostbyname" >&5
7025 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7026 echo $ac_n "(cached) $ac_c" 1>&6
7028 cat > conftest.
$ac_ext <<EOF
7029 #line 7030 "configure"
7030 #include "confdefs.h"
7031 /* System header to define __stub macros and hopefully few prototypes,
7032 which can conflict with char gethostbyname(); below. */
7034 /* Override any gcc2 internal prototype to avoid an error. */
7035 /* We use char because int might match the return type of a gcc2
7036 builtin and then its argument prototype would still apply. */
7037 char gethostbyname();
7041 /* The GNU C library defines this for functions which it implements
7042 to always fail with ENOSYS. Some functions are actually named
7043 something starting with __ and the normal name is an alias. */
7044 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7052 if { (eval echo configure
:7053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7054 eval "ac_cv_func_gethostbyname=yes"
7056 echo "configure: failed program was:" >&5
7057 cat conftest.
$ac_ext >&5
7059 eval "ac_cv_func_gethostbyname=no"
7064 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7065 echo "$ac_t""yes" 1>&6
7068 echo "$ac_t""no" 1>&6
7071 if test $ac_cv_func_gethostbyname = no
; then
7072 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7073 echo "configure:7074: checking for gethostbyname in -lnsl" >&5
7074 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7075 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7076 echo $ac_n "(cached) $ac_c" 1>&6
7078 ac_save_LIBS
="$LIBS"
7080 cat > conftest.
$ac_ext <<EOF
7081 #line 7082 "configure"
7082 #include "confdefs.h"
7083 /* Override any gcc2 internal prototype to avoid an error. */
7084 /* We use char because int might match the return type of a gcc2
7085 builtin and then its argument prototype would still apply. */
7086 char gethostbyname();
7092 if { (eval echo configure
:7093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7094 eval "ac_cv_lib_$ac_lib_var=yes"
7096 echo "configure: failed program was:" >&5
7097 cat conftest.
$ac_ext >&5
7099 eval "ac_cv_lib_$ac_lib_var=no"
7102 LIBS
="$ac_save_LIBS"
7105 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7106 echo "$ac_t""yes" 1>&6
7107 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7109 echo "$ac_t""no" 1>&6
7114 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7115 # socket/setsockopt and other routines are undefined under SCO ODT
7116 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7117 # on later versions), says simon@lia.di.epfl.ch: it contains
7118 # gethostby* variants that don't use the nameserver (or something).
7119 # -lsocket must be given before -lnsl if both are needed.
7120 # We assume that if connect needs -lnsl, so does gethostbyname.
7121 echo $ac_n "checking for connect""... $ac_c" 1>&6
7122 echo "configure:7123: checking for connect" >&5
7123 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7124 echo $ac_n "(cached) $ac_c" 1>&6
7126 cat > conftest.
$ac_ext <<EOF
7127 #line 7128 "configure"
7128 #include "confdefs.h"
7129 /* System header to define __stub macros and hopefully few prototypes,
7130 which can conflict with char connect(); below. */
7132 /* Override any gcc2 internal prototype to avoid an error. */
7133 /* We use char because int might match the return type of a gcc2
7134 builtin and then its argument prototype would still apply. */
7139 /* The GNU C library defines this for functions which it implements
7140 to always fail with ENOSYS. Some functions are actually named
7141 something starting with __ and the normal name is an alias. */
7142 #if defined (__stub_connect) || defined (__stub___connect)
7150 if { (eval echo configure
:7151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7152 eval "ac_cv_func_connect=yes"
7154 echo "configure: failed program was:" >&5
7155 cat conftest.
$ac_ext >&5
7157 eval "ac_cv_func_connect=no"
7162 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7163 echo "$ac_t""yes" 1>&6
7166 echo "$ac_t""no" 1>&6
7169 if test $ac_cv_func_connect = no
; then
7170 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7171 echo "configure:7172: checking for connect in -lsocket" >&5
7172 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7173 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7174 echo $ac_n "(cached) $ac_c" 1>&6
7176 ac_save_LIBS
="$LIBS"
7177 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7178 cat > conftest.
$ac_ext <<EOF
7179 #line 7180 "configure"
7180 #include "confdefs.h"
7181 /* Override any gcc2 internal prototype to avoid an error. */
7182 /* We use char because int might match the return type of a gcc2
7183 builtin and then its argument prototype would still apply. */
7190 if { (eval echo configure
:7191: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7192 eval "ac_cv_lib_$ac_lib_var=yes"
7194 echo "configure: failed program was:" >&5
7195 cat conftest.
$ac_ext >&5
7197 eval "ac_cv_lib_$ac_lib_var=no"
7200 LIBS
="$ac_save_LIBS"
7203 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7204 echo "$ac_t""yes" 1>&6
7205 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7207 echo "$ac_t""no" 1>&6
7212 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7213 echo $ac_n "checking for remove""... $ac_c" 1>&6
7214 echo "configure:7215: checking for remove" >&5
7215 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7216 echo $ac_n "(cached) $ac_c" 1>&6
7218 cat > conftest.
$ac_ext <<EOF
7219 #line 7220 "configure"
7220 #include "confdefs.h"
7221 /* System header to define __stub macros and hopefully few prototypes,
7222 which can conflict with char remove(); below. */
7224 /* Override any gcc2 internal prototype to avoid an error. */
7225 /* We use char because int might match the return type of a gcc2
7226 builtin and then its argument prototype would still apply. */
7231 /* The GNU C library defines this for functions which it implements
7232 to always fail with ENOSYS. Some functions are actually named
7233 something starting with __ and the normal name is an alias. */
7234 #if defined (__stub_remove) || defined (__stub___remove)
7242 if { (eval echo configure
:7243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7244 eval "ac_cv_func_remove=yes"
7246 echo "configure: failed program was:" >&5
7247 cat conftest.
$ac_ext >&5
7249 eval "ac_cv_func_remove=no"
7254 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7255 echo "$ac_t""yes" 1>&6
7258 echo "$ac_t""no" 1>&6
7261 if test $ac_cv_func_remove = no
; then
7262 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7263 echo "configure:7264: checking for remove in -lposix" >&5
7264 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7265 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7266 echo $ac_n "(cached) $ac_c" 1>&6
7268 ac_save_LIBS
="$LIBS"
7269 LIBS
="-lposix $LIBS"
7270 cat > conftest.
$ac_ext <<EOF
7271 #line 7272 "configure"
7272 #include "confdefs.h"
7273 /* Override any gcc2 internal prototype to avoid an error. */
7274 /* We use char because int might match the return type of a gcc2
7275 builtin and then its argument prototype would still apply. */
7282 if { (eval echo configure
:7283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7284 eval "ac_cv_lib_$ac_lib_var=yes"
7286 echo "configure: failed program was:" >&5
7287 cat conftest.
$ac_ext >&5
7289 eval "ac_cv_lib_$ac_lib_var=no"
7292 LIBS
="$ac_save_LIBS"
7295 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7296 echo "$ac_t""yes" 1>&6
7297 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7299 echo "$ac_t""no" 1>&6
7304 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7305 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7306 echo "configure:7307: checking for shmat" >&5
7307 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7308 echo $ac_n "(cached) $ac_c" 1>&6
7310 cat > conftest.
$ac_ext <<EOF
7311 #line 7312 "configure"
7312 #include "confdefs.h"
7313 /* System header to define __stub macros and hopefully few prototypes,
7314 which can conflict with char shmat(); below. */
7316 /* Override any gcc2 internal prototype to avoid an error. */
7317 /* We use char because int might match the return type of a gcc2
7318 builtin and then its argument prototype would still apply. */
7323 /* The GNU C library defines this for functions which it implements
7324 to always fail with ENOSYS. Some functions are actually named
7325 something starting with __ and the normal name is an alias. */
7326 #if defined (__stub_shmat) || defined (__stub___shmat)
7334 if { (eval echo configure
:7335: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7336 eval "ac_cv_func_shmat=yes"
7338 echo "configure: failed program was:" >&5
7339 cat conftest.
$ac_ext >&5
7341 eval "ac_cv_func_shmat=no"
7346 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7347 echo "$ac_t""yes" 1>&6
7350 echo "$ac_t""no" 1>&6
7353 if test $ac_cv_func_shmat = no
; then
7354 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7355 echo "configure:7356: checking for shmat in -lipc" >&5
7356 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7357 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7358 echo $ac_n "(cached) $ac_c" 1>&6
7360 ac_save_LIBS
="$LIBS"
7362 cat > conftest.
$ac_ext <<EOF
7363 #line 7364 "configure"
7364 #include "confdefs.h"
7365 /* Override any gcc2 internal prototype to avoid an error. */
7366 /* We use char because int might match the return type of a gcc2
7367 builtin and then its argument prototype would still apply. */
7374 if { (eval echo configure
:7375: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7376 eval "ac_cv_lib_$ac_lib_var=yes"
7378 echo "configure: failed program was:" >&5
7379 cat conftest.
$ac_ext >&5
7381 eval "ac_cv_lib_$ac_lib_var=no"
7384 LIBS
="$ac_save_LIBS"
7387 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7388 echo "$ac_t""yes" 1>&6
7389 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7391 echo "$ac_t""no" 1>&6
7397 # Check for libraries that X11R6 Xt/Xaw programs need.
7398 ac_save_LDFLAGS
="$LDFLAGS"
7399 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7400 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7401 # check for ICE first), but we must link in the order -lSM -lICE or
7402 # we get undefined symbols. So assume we have SM if we have ICE.
7403 # These have to be linked with before -lX11, unlike the other
7404 # libraries we check for below, so use a different variable.
7405 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7406 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7407 echo "configure:7408: checking for IceConnectionNumber in -lICE" >&5
7408 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7409 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7410 echo $ac_n "(cached) $ac_c" 1>&6
7412 ac_save_LIBS
="$LIBS"
7414 cat > conftest.
$ac_ext <<EOF
7415 #line 7416 "configure"
7416 #include "confdefs.h"
7417 /* Override any gcc2 internal prototype to avoid an error. */
7418 /* We use char because int might match the return type of a gcc2
7419 builtin and then its argument prototype would still apply. */
7420 char IceConnectionNumber();
7423 IceConnectionNumber()
7426 if { (eval echo configure
:7427: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7428 eval "ac_cv_lib_$ac_lib_var=yes"
7430 echo "configure: failed program was:" >&5
7431 cat conftest.
$ac_ext >&5
7433 eval "ac_cv_lib_$ac_lib_var=no"
7436 LIBS
="$ac_save_LIBS"
7439 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7440 echo "$ac_t""yes" 1>&6
7441 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7443 echo "$ac_t""no" 1>&6
7446 LDFLAGS
="$ac_save_LDFLAGS"
7451 if test "$no_x" = "yes"; then
7452 { echo "configure: error: X11 libraries not found" 1>&2; exit 1; }
7455 TOOLKIT_INCLUDE
="$X_CFLAGS"
7456 GUI_TK_LIBRARY
="$X_LIBS"
7458 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
7459 echo "configure:7460: checking for Motif/Lesstif includes" >&5
7462 for ac_dir
in $SEARCH_INCLUDE;
7464 if test -f "$ac_dir/Xm/Xm.h"; then
7465 ac_find_includes
=$ac_dir
7470 if test "$ac_find_includes" != "" ; then
7471 echo "$ac_t""found $ac_find_includes" 1>&6
7473 echo "$ac_t""no" 1>&6
7474 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7477 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7478 echo "configure:7479: checking for Motif/Lesstif library" >&5
7481 for ac_dir
in $SEARCH_LIB;
7483 for ac_extension
in a so sl
; do
7484 if test -f "$ac_dir/libXm.$ac_extension"; then
7485 ac_find_libraries
=$ac_dir
7491 if test "$ac_find_libraries" != "" ; then
7493 ac_path_to_include
=$ac_find_includes
7494 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7496 if test $result = 0; then
7497 ac_path_to_include
=""
7499 ac_path_to_include
="-I$ac_find_includes"
7503 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7505 if test $result = 0; then
7508 ac_path_to_link
="-L$ac_find_libraries"
7512 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7513 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7514 echo "$ac_t""found at $ac_find_libraries" 1>&6
7516 echo "$ac_t""no" 1>&6
7517 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7520 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7521 echo "configure:7522: checking for Xt library" >&5
7524 for ac_dir
in $SEARCH_LIB;
7526 for ac_extension
in a so sl
; do
7527 if test -f "$ac_dir/libXt.$ac_extension"; then
7528 ac_find_libraries
=$ac_dir
7534 if test "$ac_find_libraries" != "" ; then
7536 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7538 if test $result = 0; then
7541 ac_path_to_link
="-L$ac_find_libraries"
7544 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7545 echo "$ac_t""found at $ac_find_libraries" 1>&6
7547 echo "$ac_t""no" 1>&6
7548 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7552 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7553 echo "configure:7554: checking for Xpm library" >&5
7556 for ac_dir
in $SEARCH_LIB;
7558 for ac_extension
in a so sl
; do
7559 if test -f "$ac_dir/libXpm.$ac_extension"; then
7560 ac_find_libraries
=$ac_dir
7566 if test "$ac_find_libraries" != "" ; then
7568 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7570 if test $result = 0; then
7573 ac_path_to_link
="-L$ac_find_libraries"
7576 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7578 cat >> confdefs.h
<<\EOF
7579 #define wxHAVE_LIB_XPM 1
7582 echo "$ac_t""found at $ac_find_libraries" 1>&6
7584 echo "$ac_t""no" 1>&6
7585 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7588 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXt -lX11 -ldl -lm"
7589 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7592 GUIOBJS
=MOTIF_GUIOBJS
7593 GUIHEADERS
=MOTIF_HEADERS
7594 COMMONOBJS
=MOTIF_COMMONOBJS
7595 GENERICOBJS
=MOTIF_GENERICOBJS
7600 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
7602 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
7604 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
7606 WX_LIBRARY_NAME
="libwx_${TOOLKIT_DIR}.la"
7608 WX_LIBRARY_NAME_STATIC
="libwx_${TOOLKIT_DIR}.a"
7610 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
7612 WX_LIBRARY_LINK1
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so.${WX_CURRENT}"
7613 WX_LIBRARY_LINK2
="libwx_${TOOLKIT_DIR}-${WX_RELEASE}.so"
7614 WX_LIBRARY_LINK3
="libwx_${TOOLKIT_DIR}.so"
7620 if test "$wxUSE_SHARED" = "yes"; then
7621 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
7625 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
7626 SHARED_LD
="${CXX} -b -o"
7630 SHARED_LD
="${CC} -shared -o"
7632 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7633 WX_CREATE_LINKS
="CREATE_LINKS"
7635 *-*-irix5* | *-*-irix6* )
7636 SHARED_LD
="${CXX} -shared -o"
7637 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7638 WX_CREATE_LINKS
="CREATE_LINKS"
7641 SHARED_LD
="${CXX} -G -o"
7643 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7644 WX_CREATE_LINKS
="CREATE_LINKS"
7647 SHARED_LD
="${CXX} -shared -o"
7649 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7650 WX_CREATE_LINKS
="CREATE_LINKS"
7652 *-*-freebsd* | *-*-netbsd*)
7653 SHARED_LD
="${CXX} -shared -o"
7655 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7656 WX_CREATE_LINKS
="CREATE_LINKS"
7659 SHARED_LD
="${CXX} -shared -o"
7661 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7662 WX_CREATE_LINKS
="CREATE_LINKS"
7665 SHARED_LD
="${CXX} -shared -o"
7667 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7668 WX_CREATE_LINKS
="CREATE_LINKS"
7671 SHARED_LD
="${CXX} -shared -o"
7673 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
7674 WX_CREATE_LINKS
="CREATE_LINKS"
7677 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
7680 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7683 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7688 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
7692 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
7696 for ac_hdr
in strings.h
7698 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7699 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7700 echo "configure:7701: checking for $ac_hdr" >&5
7701 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7702 echo $ac_n "(cached) $ac_c" 1>&6
7704 cat > conftest.
$ac_ext <<EOF
7705 #line 7706 "configure"
7706 #include "confdefs.h"
7709 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7710 { (eval echo configure
:7711: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7711 ac_err
=`grep -v '^ *+' conftest.out`
7712 if test -z "$ac_err"; then
7714 eval "ac_cv_header_$ac_safe=yes"
7717 echo "configure: failed program was:" >&5
7718 cat conftest.
$ac_ext >&5
7720 eval "ac_cv_header_$ac_safe=no"
7724 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7725 echo "$ac_t""yes" 1>&6
7726 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7727 cat >> confdefs.h
<<EOF
7728 #define $ac_tr_hdr 1
7732 echo "$ac_t""no" 1>&6
7736 for ac_hdr
in unistd.h
7738 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7739 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7740 echo "configure:7741: checking for $ac_hdr" >&5
7741 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7742 echo $ac_n "(cached) $ac_c" 1>&6
7744 cat > conftest.
$ac_ext <<EOF
7745 #line 7746 "configure"
7746 #include "confdefs.h"
7749 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7750 { (eval echo configure
:7751: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7751 ac_err
=`grep -v '^ *+' conftest.out`
7752 if test -z "$ac_err"; then
7754 eval "ac_cv_header_$ac_safe=yes"
7757 echo "configure: failed program was:" >&5
7758 cat conftest.
$ac_ext >&5
7760 eval "ac_cv_header_$ac_safe=no"
7764 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7765 echo "$ac_t""yes" 1>&6
7766 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7767 cat >> confdefs.h
<<EOF
7768 #define $ac_tr_hdr 1
7772 echo "$ac_t""no" 1>&6
7776 for ac_hdr
in wchar.h
7778 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7779 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7780 echo "configure:7781: checking for $ac_hdr" >&5
7781 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7782 echo $ac_n "(cached) $ac_c" 1>&6
7784 cat > conftest.
$ac_ext <<EOF
7785 #line 7786 "configure"
7786 #include "confdefs.h"
7789 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7790 { (eval echo configure
:7791: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7791 ac_err
=`grep -v '^ *+' conftest.out`
7792 if test -z "$ac_err"; then
7794 eval "ac_cv_header_$ac_safe=yes"
7797 echo "configure: failed program was:" >&5
7798 cat conftest.
$ac_ext >&5
7800 eval "ac_cv_header_$ac_safe=no"
7804 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7805 echo "$ac_t""yes" 1>&6
7806 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7807 cat >> confdefs.h
<<EOF
7808 #define $ac_tr_hdr 1
7812 echo "$ac_t""no" 1>&6
7816 for ac_hdr
in wcstr.h
7818 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7819 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7820 echo "configure:7821: checking for $ac_hdr" >&5
7821 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7822 echo $ac_n "(cached) $ac_c" 1>&6
7824 cat > conftest.
$ac_ext <<EOF
7825 #line 7826 "configure"
7826 #include "confdefs.h"
7829 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7830 { (eval echo configure
:7831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7831 ac_err
=`grep -v '^ *+' conftest.out`
7832 if test -z "$ac_err"; then
7834 eval "ac_cv_header_$ac_safe=yes"
7837 echo "configure: failed program was:" >&5
7838 cat conftest.
$ac_ext >&5
7840 eval "ac_cv_header_$ac_safe=no"
7844 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7845 echo "$ac_t""yes" 1>&6
7846 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7847 cat >> confdefs.h
<<EOF
7848 #define $ac_tr_hdr 1
7852 echo "$ac_t""no" 1>&6
7856 for ac_hdr
in fnmatch.h
7858 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7859 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7860 echo "configure:7861: checking for $ac_hdr" >&5
7861 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7862 echo $ac_n "(cached) $ac_c" 1>&6
7864 cat > conftest.
$ac_ext <<EOF
7865 #line 7866 "configure"
7866 #include "confdefs.h"
7869 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7870 { (eval echo configure
:7871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7871 ac_err
=`grep -v '^ *+' conftest.out`
7872 if test -z "$ac_err"; then
7874 eval "ac_cv_header_$ac_safe=yes"
7877 echo "configure: failed program was:" >&5
7878 cat conftest.
$ac_ext >&5
7880 eval "ac_cv_header_$ac_safe=no"
7884 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7885 echo "$ac_t""yes" 1>&6
7886 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7887 cat >> confdefs.h
<<EOF
7888 #define $ac_tr_hdr 1
7892 echo "$ac_t""no" 1>&6
7896 for ac_hdr
in X
11/XKBlib.h
7898 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
7899 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
7900 echo "configure:7901: checking for $ac_hdr" >&5
7901 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
7902 echo $ac_n "(cached) $ac_c" 1>&6
7904 cat > conftest.
$ac_ext <<EOF
7905 #line 7906 "configure"
7906 #include "confdefs.h"
7909 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7910 { (eval echo configure
:7911: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7911 ac_err
=`grep -v '^ *+' conftest.out`
7912 if test -z "$ac_err"; then
7914 eval "ac_cv_header_$ac_safe=yes"
7917 echo "configure: failed program was:" >&5
7918 cat conftest.
$ac_ext >&5
7920 eval "ac_cv_header_$ac_safe=no"
7924 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
7925 echo "$ac_t""yes" 1>&6
7926 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
7927 cat >> confdefs.h
<<EOF
7928 #define $ac_tr_hdr 1
7932 echo "$ac_t""no" 1>&6
7938 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
7939 echo "configure:7940: checking for ANSI C header files" >&5
7940 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
7941 echo $ac_n "(cached) $ac_c" 1>&6
7943 cat > conftest.
$ac_ext <<EOF
7944 #line 7945 "configure"
7945 #include "confdefs.h"
7951 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7952 { (eval echo configure
:7953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7953 ac_err
=`grep -v '^ *+' conftest.out`
7954 if test -z "$ac_err"; then
7956 ac_cv_header_stdc
=yes
7959 echo "configure: failed program was:" >&5
7960 cat conftest.
$ac_ext >&5
7962 ac_cv_header_stdc
=no
7966 if test $ac_cv_header_stdc = yes; then
7967 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7968 cat > conftest.
$ac_ext <<EOF
7969 #line 7970 "configure"
7970 #include "confdefs.h"
7973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7974 egrep "memchr" >/dev
/null
2>&1; then
7978 ac_cv_header_stdc
=no
7984 if test $ac_cv_header_stdc = yes; then
7985 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7986 cat > conftest.
$ac_ext <<EOF
7987 #line 7988 "configure"
7988 #include "confdefs.h"
7991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7992 egrep "free" >/dev
/null
2>&1; then
7996 ac_cv_header_stdc
=no
8002 if test $ac_cv_header_stdc = yes; then
8003 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8004 if test "$cross_compiling" = yes; then
8007 cat > conftest.
$ac_ext <<EOF
8008 #line 8009 "configure"
8009 #include "confdefs.h"
8011 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8012 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8013 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8014 int main () { int i; for (i = 0; i < 256; i++)
8015 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8019 if { (eval echo configure
:8020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8023 echo "configure: failed program was:" >&5
8024 cat conftest.
$ac_ext >&5
8026 ac_cv_header_stdc
=no
8034 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8035 if test $ac_cv_header_stdc = yes; then
8036 cat >> confdefs.h
<<\EOF
8037 #define STDC_HEADERS 1
8042 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8043 echo "configure:8044: checking for mode_t" >&5
8044 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8045 echo $ac_n "(cached) $ac_c" 1>&6
8047 cat > conftest.
$ac_ext <<EOF
8048 #line 8049 "configure"
8049 #include "confdefs.h"
8050 #include <sys/types.h>
8056 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8057 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8059 ac_cv_type_mode_t
=yes
8062 ac_cv_type_mode_t
=no
8067 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8068 if test $ac_cv_type_mode_t = no
; then
8069 cat >> confdefs.h
<<\EOF
8075 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8076 echo "configure:8077: checking for off_t" >&5
8077 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8078 echo $ac_n "(cached) $ac_c" 1>&6
8080 cat > conftest.
$ac_ext <<EOF
8081 #line 8082 "configure"
8082 #include "confdefs.h"
8083 #include <sys/types.h>
8089 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8090 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8092 ac_cv_type_off_t
=yes
8100 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8101 if test $ac_cv_type_off_t = no
; then
8102 cat >> confdefs.h
<<\EOF
8108 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8109 echo "configure:8110: checking for pid_t" >&5
8110 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8111 echo $ac_n "(cached) $ac_c" 1>&6
8113 cat > conftest.
$ac_ext <<EOF
8114 #line 8115 "configure"
8115 #include "confdefs.h"
8116 #include <sys/types.h>
8122 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8123 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8125 ac_cv_type_pid_t
=yes
8133 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8134 if test $ac_cv_type_pid_t = no
; then
8135 cat >> confdefs.h
<<\EOF
8141 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8142 echo "configure:8143: checking for size_t" >&5
8143 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8144 echo $ac_n "(cached) $ac_c" 1>&6
8146 cat > conftest.
$ac_ext <<EOF
8147 #line 8148 "configure"
8148 #include "confdefs.h"
8149 #include <sys/types.h>
8155 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8156 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8158 ac_cv_type_size_t
=yes
8161 ac_cv_type_size_t
=no
8166 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8167 if test $ac_cv_type_size_t = no
; then
8168 cat >> confdefs.h
<<\EOF
8169 #define size_t unsigned
8174 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8175 echo "configure:8176: checking for uid_t in sys/types.h" >&5
8176 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8177 echo $ac_n "(cached) $ac_c" 1>&6
8179 cat > conftest.
$ac_ext <<EOF
8180 #line 8181 "configure"
8181 #include "confdefs.h"
8182 #include <sys/types.h>
8184 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8185 egrep "uid_t" >/dev
/null
2>&1; then
8187 ac_cv_type_uid_t
=yes
8196 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8197 if test $ac_cv_type_uid_t = no
; then
8198 cat >> confdefs.h
<<\EOF
8202 cat >> confdefs.h
<<\EOF
8211 echo $ac_n "checking for working const""... $ac_c" 1>&6
8212 echo "configure:8213: checking for working const" >&5
8213 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8214 echo $ac_n "(cached) $ac_c" 1>&6
8216 cat > conftest.
$ac_ext <<EOF
8217 #line 8218 "configure"
8218 #include "confdefs.h"
8222 /* Ultrix mips cc rejects this. */
8223 typedef int charset[2]; const charset x;
8224 /* SunOS 4.1.1 cc rejects this. */
8225 char const *const *ccp;
8227 /* NEC SVR4.0.2 mips cc rejects this. */
8228 struct point {int x, y;};
8229 static struct point const zero = {0,0};
8230 /* AIX XL C 1.02.0.0 rejects this.
8231 It does not let you subtract one const X* pointer from another in an arm
8232 of an if-expression whose if-part is not a constant expression */
8233 const char *g = "string";
8234 ccp = &g + (g ? g-g : 0);
8235 /* HPUX 7.0 cc rejects these. */
8238 ccp = (char const *const *) p;
8239 { /* SCO 3.2v4 cc rejects this. */
8241 char const *s = 0 ? (char *) 0 : (char const *) 0;
8245 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8247 const int *foo = &x[0];
8250 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8251 typedef const int *iptr;
8255 { /* AIX XL C 1.02.0.0 rejects this saying
8256 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8257 struct s { int j; const int *ap[3]; };
8258 struct s *b; b->j = 5;
8260 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8266 if { (eval echo configure
:8267: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8270 echo "configure: failed program was:" >&5
8271 cat conftest.
$ac_ext >&5
8278 echo "$ac_t""$ac_cv_c_const" 1>&6
8279 if test $ac_cv_c_const = no
; then
8280 cat >> confdefs.h
<<\EOF
8286 echo $ac_n "checking for inline""... $ac_c" 1>&6
8287 echo "configure:8288: checking for inline" >&5
8288 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8289 echo $ac_n "(cached) $ac_c" 1>&6
8292 for ac_kw
in inline __inline__ __inline
; do
8293 cat > conftest.
$ac_ext <<EOF
8294 #line 8295 "configure"
8295 #include "confdefs.h"
8301 if { (eval echo configure
:8302: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8303 ac_cv_c_inline
=$ac_kw; break
8305 echo "configure: failed program was:" >&5
8306 cat conftest.
$ac_ext >&5
8313 echo "$ac_t""$ac_cv_c_inline" 1>&6
8314 case "$ac_cv_c_inline" in
8316 no
) cat >> confdefs.h
<<\EOF
8320 *) cat >> confdefs.h
<<EOF
8321 #define inline $ac_cv_c_inline
8327 echo $ac_n "checking size of char""... $ac_c" 1>&6
8328 echo "configure:8329: checking size of char" >&5
8329 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8330 echo $ac_n "(cached) $ac_c" 1>&6
8332 if test "$cross_compiling" = yes; then
8335 cat > conftest.
$ac_ext <<EOF
8336 #line 8337 "configure"
8337 #include "confdefs.h"
8341 FILE *f=fopen("conftestval", "w");
8343 fprintf(f, "%d\n", sizeof(char));
8347 if { (eval echo configure
:8348: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8349 ac_cv_sizeof_char
=`cat conftestval`
8351 echo "configure: failed program was:" >&5
8352 cat conftest.
$ac_ext >&5
8360 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8361 cat >> confdefs.h
<<EOF
8362 #define SIZEOF_CHAR $ac_cv_sizeof_char
8366 echo $ac_n "checking size of short""... $ac_c" 1>&6
8367 echo "configure:8368: checking size of short" >&5
8368 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8369 echo $ac_n "(cached) $ac_c" 1>&6
8371 if test "$cross_compiling" = yes; then
8372 ac_cv_sizeof_short
=2
8374 cat > conftest.
$ac_ext <<EOF
8375 #line 8376 "configure"
8376 #include "confdefs.h"
8380 FILE *f=fopen("conftestval", "w");
8382 fprintf(f, "%d\n", sizeof(short));
8386 if { (eval echo configure
:8387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8388 ac_cv_sizeof_short
=`cat conftestval`
8390 echo "configure: failed program was:" >&5
8391 cat conftest.
$ac_ext >&5
8393 ac_cv_sizeof_short
=0
8399 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8400 cat >> confdefs.h
<<EOF
8401 #define SIZEOF_SHORT $ac_cv_sizeof_short
8405 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8406 echo "configure:8407: checking size of int *" >&5
8407 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8408 echo $ac_n "(cached) $ac_c" 1>&6
8410 if test "$cross_compiling" = yes; then
8411 ac_cv_sizeof_int_p
=4
8413 cat > conftest.
$ac_ext <<EOF
8414 #line 8415 "configure"
8415 #include "confdefs.h"
8419 FILE *f=fopen("conftestval", "w");
8421 fprintf(f, "%d\n", sizeof(int *));
8425 if { (eval echo configure
:8426: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8427 ac_cv_sizeof_int_p
=`cat conftestval`
8429 echo "configure: failed program was:" >&5
8430 cat conftest.
$ac_ext >&5
8432 ac_cv_sizeof_int_p
=0
8438 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8439 cat >> confdefs.h
<<EOF
8440 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8444 echo $ac_n "checking size of int""... $ac_c" 1>&6
8445 echo "configure:8446: checking size of int" >&5
8446 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8447 echo $ac_n "(cached) $ac_c" 1>&6
8449 if test "$cross_compiling" = yes; then
8452 cat > conftest.
$ac_ext <<EOF
8453 #line 8454 "configure"
8454 #include "confdefs.h"
8458 FILE *f=fopen("conftestval", "w");
8460 fprintf(f, "%d\n", sizeof(int));
8464 if { (eval echo configure
:8465: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8466 ac_cv_sizeof_int
=`cat conftestval`
8468 echo "configure: failed program was:" >&5
8469 cat conftest.
$ac_ext >&5
8477 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8478 cat >> confdefs.h
<<EOF
8479 #define SIZEOF_INT $ac_cv_sizeof_int
8483 echo $ac_n "checking size of long""... $ac_c" 1>&6
8484 echo "configure:8485: checking size of long" >&5
8485 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8486 echo $ac_n "(cached) $ac_c" 1>&6
8488 if test "$cross_compiling" = yes; then
8491 cat > conftest.
$ac_ext <<EOF
8492 #line 8493 "configure"
8493 #include "confdefs.h"
8497 FILE *f=fopen("conftestval", "w");
8499 fprintf(f, "%d\n", sizeof(long));
8503 if { (eval echo configure
:8504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8505 ac_cv_sizeof_long
=`cat conftestval`
8507 echo "configure: failed program was:" >&5
8508 cat conftest.
$ac_ext >&5
8516 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
8517 cat >> confdefs.h
<<EOF
8518 #define SIZEOF_LONG $ac_cv_sizeof_long
8522 echo $ac_n "checking size of long long""... $ac_c" 1>&6
8523 echo "configure:8524: checking size of long long" >&5
8524 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
8525 echo $ac_n "(cached) $ac_c" 1>&6
8527 if test "$cross_compiling" = yes; then
8528 ac_cv_sizeof_long_long
=0
8530 cat > conftest.
$ac_ext <<EOF
8531 #line 8532 "configure"
8532 #include "confdefs.h"
8536 FILE *f=fopen("conftestval", "w");
8538 fprintf(f, "%d\n", sizeof(long long));
8542 if { (eval echo configure
:8543: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8544 ac_cv_sizeof_long_long
=`cat conftestval`
8546 echo "configure: failed program was:" >&5
8547 cat conftest.
$ac_ext >&5
8549 ac_cv_sizeof_long_long
=0
8555 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
8556 cat >> confdefs.h
<<EOF
8557 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
8562 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
8563 echo "configure:8564: checking whether byte ordering is bigendian" >&5
8564 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
8565 echo $ac_n "(cached) $ac_c" 1>&6
8567 ac_cv_c_bigendian
=unknown
8568 # See if sys/param.h defines the BYTE_ORDER macro.
8569 cat > conftest.
$ac_ext <<EOF
8570 #line 8571 "configure"
8571 #include "confdefs.h"
8572 #include <sys/types.h>
8573 #include <sys/param.h>
8576 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
8581 if { (eval echo configure
:8582: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8583 # It does; now see whether it defined to BIG_ENDIAN or not.
8584 cat > conftest.
$ac_ext <<EOF
8585 #line 8586 "configure"
8586 #include "confdefs.h"
8587 #include <sys/types.h>
8588 #include <sys/param.h>
8591 #if BYTE_ORDER != BIG_ENDIAN
8596 if { (eval echo configure
:8597: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8598 ac_cv_c_bigendian
=yes
8600 echo "configure: failed program was:" >&5
8601 cat conftest.
$ac_ext >&5
8603 ac_cv_c_bigendian
=no
8607 echo "configure: failed program was:" >&5
8608 cat conftest.
$ac_ext >&5
8611 if test $ac_cv_c_bigendian = unknown
; then
8612 if test "$cross_compiling" = yes; then
8613 ac_cv_c_bigendian
=unknown
8615 cat > conftest.
$ac_ext <<EOF
8616 #line 8617 "configure"
8617 #include "confdefs.h"
8619 /* Are we little or big endian? From Harbison&Steele. */
8623 char c[sizeof (long)];
8626 exit (u.c[sizeof (long) - 1] == 1);
8629 if { (eval echo configure
:8630: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8631 ac_cv_c_bigendian
=no
8633 echo "configure: failed program was:" >&5
8634 cat conftest.
$ac_ext >&5
8636 ac_cv_c_bigendian
=yes
8644 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
8645 if test $ac_cv_c_bigendian = unknown
; then
8646 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
8648 if test $ac_cv_c_bigendian = yes; then
8649 cat >> confdefs.h
<<\EOF
8650 #define WORDS_BIGENDIAN 1
8657 if test "$cross_compiling" = "yes"; then
8658 cat >> confdefs.h
<<\EOF
8659 #define wxUSE_IOSTREAMH 1
8665 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8666 ac_cpp
='$CXXCPP $CPPFLAGS'
8667 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8668 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8669 cross_compiling
=$ac_cv_prog_cxx_cross
8672 for ac_hdr
in iostream
8674 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8675 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8676 echo "configure:8677: checking for $ac_hdr" >&5
8677 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8678 echo $ac_n "(cached) $ac_c" 1>&6
8680 cat > conftest.
$ac_ext <<EOF
8681 #line 8682 "configure"
8682 #include "confdefs.h"
8685 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8686 { (eval echo configure
:8687: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8687 ac_err
=`grep -v '^ *+' conftest.out`
8688 if test -z "$ac_err"; then
8690 eval "ac_cv_header_$ac_safe=yes"
8693 echo "configure: failed program was:" >&5
8694 cat conftest.
$ac_ext >&5
8696 eval "ac_cv_header_$ac_safe=no"
8700 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8701 echo "$ac_t""yes" 1>&6
8702 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8703 cat >> confdefs.h
<<EOF
8704 #define $ac_tr_hdr 1
8708 echo "$ac_t""no" 1>&6
8713 if test "x$HAVE_IOSTREAM" = x
; then
8714 cat >> confdefs.h
<<\EOF
8715 #define wxUSE_IOSTREAMH 1
8723 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8724 ac_cpp
='$CPP $CPPFLAGS'
8725 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8726 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8727 cross_compiling
=$ac_cv_prog_cc_cross
8733 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
8734 echo "configure:8735: checking if C++ compiler supports bool" >&5
8735 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
8736 echo $ac_n "(cached) $ac_c" 1>&6
8741 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8742 ac_cpp
='$CXXCPP $CPPFLAGS'
8743 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8744 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8745 cross_compiling
=$ac_cv_prog_cxx_cross
8748 cat > conftest.
$ac_ext <<EOF
8749 #line 8750 "configure"
8750 #include "confdefs.h"
8761 if { (eval echo configure
:8762: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8764 cat >> confdefs.h
<<\EOF
8771 echo "configure: failed program was:" >&5
8772 cat conftest.
$ac_ext >&5
8782 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8783 ac_cpp
='$CPP $CPPFLAGS'
8784 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8785 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8786 cross_compiling
=$ac_cv_prog_cc_cross
8791 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
8793 if test "$wx_cv_cpp_bool" = "yes"; then
8794 cat >> confdefs.h
<<\EOF
8802 echo $ac_n "checking if size_t and int are different types""... $ac_c" 1>&6
8803 echo "configure:8804: checking if size_t and int are different types" >&5
8804 if eval "test \"`echo '$''{'wx_cv_cpp_sizet_not_int'+set}'`\" = set"; then
8805 echo $ac_n "(cached) $ac_c" 1>&6
8810 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8811 ac_cpp
='$CXXCPP $CPPFLAGS'
8812 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8813 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8814 cross_compiling
=$ac_cv_prog_cxx_cross
8817 if test "$cross_compiling" = yes; then
8818 wx_cv_cpp_sizet_not_int
=no
8821 cat > conftest.
$ac_ext <<EOF
8822 #line 8823 "configure"
8823 #include "confdefs.h"
8825 extern "C" void exit(int);
8833 S(char *s) { m_s = s; }
8835 char operator[](size_t n) const { return m_s[n]; }
8836 char operator[](int n) const { return m_s[n]; }
8848 return s[n1] == s[n2];
8852 if { (eval echo configure
:8853: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
8854 cat >> confdefs.h
<<\EOF
8855 #define wxUSE_SIZE_T_STRING_OPERATOR 1
8857 wx_cv_cpp_sizet_not_int
=yes
8859 echo "configure: failed program was:" >&5
8860 cat conftest.
$ac_ext >&5
8862 wx_cv_cpp_sizet_not_int
=no
8869 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
8870 ac_cpp
='$CPP $CPPFLAGS'
8871 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
8872 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
8873 cross_compiling
=$ac_cv_prog_cc_cross
8878 echo "$ac_t""$wx_cv_cpp_sizet_not_int" 1>&6
8882 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
8883 echo "configure:8884: checking if you need GNU extensions" >&5
8884 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
8885 echo $ac_n "(cached) $ac_c" 1>&6
8888 cat > conftest.
$ac_ext <<EOF
8889 #line 8890 "configure"
8890 #include "confdefs.h"
8891 #include <features.h>
8895 #ifndef __GNU_LIBRARY__
8896 Compile error wanted
8902 if { (eval echo configure
:8903: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8904 wx_cv_gnu_extensions
=yes
8906 echo "configure: failed program was:" >&5
8907 cat conftest.
$ac_ext >&5
8909 wx_cv_gnu_extensions
=no
8916 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
8917 if test "$wx_cv_gnu_extensions" = "yes"; then
8918 cat >> confdefs.h
<<EOF
8919 #define _GNU_SOURCE 1
8926 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
8927 echo "configure:8928: checking for wcslen in -lc" >&5
8928 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
8929 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8930 echo $ac_n "(cached) $ac_c" 1>&6
8932 ac_save_LIBS
="$LIBS"
8934 cat > conftest.
$ac_ext <<EOF
8935 #line 8936 "configure"
8936 #include "confdefs.h"
8937 /* Override any gcc2 internal prototype to avoid an error. */
8938 /* We use char because int might match the return type of a gcc2
8939 builtin and then its argument prototype would still apply. */
8946 if { (eval echo configure
:8947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
8948 eval "ac_cv_lib_$ac_lib_var=yes"
8950 echo "configure: failed program was:" >&5
8951 cat conftest.
$ac_ext >&5
8953 eval "ac_cv_lib_$ac_lib_var=no"
8956 LIBS
="$ac_save_LIBS"
8959 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8960 echo "$ac_t""yes" 1>&6
8962 cat >> confdefs.h
<<\EOF
8963 #define HAVE_WCSLEN 1
8969 echo "$ac_t""no" 1>&6
8971 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
8972 echo "configure:8973: checking for wcslen in -lw" >&5
8973 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
8974 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8975 echo $ac_n "(cached) $ac_c" 1>&6
8977 ac_save_LIBS
="$LIBS"
8979 cat > conftest.
$ac_ext <<EOF
8980 #line 8981 "configure"
8981 #include "confdefs.h"
8982 /* Override any gcc2 internal prototype to avoid an error. */
8983 /* We use char because int might match the return type of a gcc2
8984 builtin and then its argument prototype would still apply. */
8991 if { (eval echo configure
:8992: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
8993 eval "ac_cv_lib_$ac_lib_var=yes"
8995 echo "configure: failed program was:" >&5
8996 cat conftest.
$ac_ext >&5
8998 eval "ac_cv_lib_$ac_lib_var=no"
9001 LIBS
="$ac_save_LIBS"
9004 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9005 echo "$ac_t""yes" 1>&6
9007 cat >> confdefs.h
<<\EOF
9008 #define HAVE_WCSLEN 1
9014 echo "$ac_t""no" 1>&6
9021 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9022 echo "configure:9023: checking for vprintf" >&5
9023 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9024 echo $ac_n "(cached) $ac_c" 1>&6
9026 cat > conftest.
$ac_ext <<EOF
9027 #line 9028 "configure"
9028 #include "confdefs.h"
9029 /* System header to define __stub macros and hopefully few prototypes,
9030 which can conflict with char vprintf(); below. */
9032 /* Override any gcc2 internal prototype to avoid an error. */
9033 /* We use char because int might match the return type of a gcc2
9034 builtin and then its argument prototype would still apply. */
9039 /* The GNU C library defines this for functions which it implements
9040 to always fail with ENOSYS. Some functions are actually named
9041 something starting with __ and the normal name is an alias. */
9042 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9050 if { (eval echo configure
:9051: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9052 eval "ac_cv_func_vprintf=yes"
9054 echo "configure: failed program was:" >&5
9055 cat conftest.
$ac_ext >&5
9057 eval "ac_cv_func_vprintf=no"
9062 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9063 echo "$ac_t""yes" 1>&6
9064 cat >> confdefs.h
<<\EOF
9065 #define HAVE_VPRINTF 1
9069 echo "$ac_t""no" 1>&6
9072 if test "$ac_cv_func_vprintf" != yes; then
9073 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9074 echo "configure:9075: checking for _doprnt" >&5
9075 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9076 echo $ac_n "(cached) $ac_c" 1>&6
9078 cat > conftest.
$ac_ext <<EOF
9079 #line 9080 "configure"
9080 #include "confdefs.h"
9081 /* System header to define __stub macros and hopefully few prototypes,
9082 which can conflict with char _doprnt(); below. */
9084 /* Override any gcc2 internal prototype to avoid an error. */
9085 /* We use char because int might match the return type of a gcc2
9086 builtin and then its argument prototype would still apply. */
9091 /* The GNU C library defines this for functions which it implements
9092 to always fail with ENOSYS. Some functions are actually named
9093 something starting with __ and the normal name is an alias. */
9094 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9102 if { (eval echo configure
:9103: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9104 eval "ac_cv_func__doprnt=yes"
9106 echo "configure: failed program was:" >&5
9107 cat conftest.
$ac_ext >&5
9109 eval "ac_cv_func__doprnt=no"
9114 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9115 echo "$ac_t""yes" 1>&6
9116 cat >> confdefs.h
<<\EOF
9117 #define HAVE_DOPRNT 1
9121 echo "$ac_t""no" 1>&6
9127 for ac_func
in vsnprintf
9129 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9130 echo "configure:9131: checking for $ac_func" >&5
9131 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9132 echo $ac_n "(cached) $ac_c" 1>&6
9134 cat > conftest.
$ac_ext <<EOF
9135 #line 9136 "configure"
9136 #include "confdefs.h"
9137 /* System header to define __stub macros and hopefully few prototypes,
9138 which can conflict with char $ac_func(); below. */
9140 /* Override any gcc2 internal prototype to avoid an error. */
9141 /* We use char because int might match the return type of a gcc2
9142 builtin and then its argument prototype would still apply. */
9147 /* The GNU C library defines this for functions which it implements
9148 to always fail with ENOSYS. Some functions are actually named
9149 something starting with __ and the normal name is an alias. */
9150 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9158 if { (eval echo configure
:9159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9160 eval "ac_cv_func_$ac_func=yes"
9162 echo "configure: failed program was:" >&5
9163 cat conftest.
$ac_ext >&5
9165 eval "ac_cv_func_$ac_func=no"
9170 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9171 echo "$ac_t""yes" 1>&6
9172 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9173 cat >> confdefs.h
<<EOF
9174 #define $ac_tr_func 1
9176 cat >> confdefs.h
<<\EOF
9177 #define HAVE_VSNPRINTF 1
9181 echo "$ac_t""no" 1>&6
9182 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9190 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9191 ac_cpp
='$CXXCPP $CPPFLAGS'
9192 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9193 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9194 cross_compiling
=$ac_cv_prog_cxx_cross
9197 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9198 echo "configure:9199: checking for vsscanf" >&5
9199 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9200 echo $ac_n "(cached) $ac_c" 1>&6
9203 if test "$cross_compiling" = yes; then
9204 wx_cv_func_vsscanf
=no
9207 cat > conftest.
$ac_ext <<EOF
9208 #line 9209 "configure"
9209 #include "confdefs.h"
9211 extern "C" void exit(int);
9217 int try_vsscanf(const char *format, ...)
9220 va_start(ap, format);
9222 vsscanf("17", format, ap);
9230 try_vsscanf("%d", &i);
9231 return i == 17 ? 0 : 1;
9235 if { (eval echo configure
:9236: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
9238 cat >> confdefs.h
<<\EOF
9239 #define HAVE_VSSCANF 1
9242 wx_cv_func_vsscanf
=yes
9245 echo "configure: failed program was:" >&5
9246 cat conftest.
$ac_ext >&5
9248 wx_cv_func_vsscanf
=no
9256 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9259 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9260 ac_cpp
='$CPP $CPPFLAGS'
9261 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9262 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9263 cross_compiling
=$ac_cv_prog_cc_cross
9266 for ac_func
in vfork
9268 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9269 echo "configure:9270: checking for $ac_func" >&5
9270 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9271 echo $ac_n "(cached) $ac_c" 1>&6
9273 cat > conftest.
$ac_ext <<EOF
9274 #line 9275 "configure"
9275 #include "confdefs.h"
9276 /* System header to define __stub macros and hopefully few prototypes,
9277 which can conflict with char $ac_func(); below. */
9279 /* Override any gcc2 internal prototype to avoid an error. */
9280 /* We use char because int might match the return type of a gcc2
9281 builtin and then its argument prototype would still apply. */
9286 /* The GNU C library defines this for functions which it implements
9287 to always fail with ENOSYS. Some functions are actually named
9288 something starting with __ and the normal name is an alias. */
9289 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9297 if { (eval echo configure
:9298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9299 eval "ac_cv_func_$ac_func=yes"
9301 echo "configure: failed program was:" >&5
9302 cat conftest.
$ac_ext >&5
9304 eval "ac_cv_func_$ac_func=no"
9309 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9310 echo "$ac_t""yes" 1>&6
9311 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9312 cat >> confdefs.h
<<EOF
9313 #define $ac_tr_func 1
9317 echo "$ac_t""no" 1>&6
9323 for ac_func
in nanosleep
9325 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9326 echo "configure:9327: checking for $ac_func" >&5
9327 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9328 echo $ac_n "(cached) $ac_c" 1>&6
9330 cat > conftest.
$ac_ext <<EOF
9331 #line 9332 "configure"
9332 #include "confdefs.h"
9333 /* System header to define __stub macros and hopefully few prototypes,
9334 which can conflict with char $ac_func(); below. */
9336 /* Override any gcc2 internal prototype to avoid an error. */
9337 /* We use char because int might match the return type of a gcc2
9338 builtin and then its argument prototype would still apply. */
9343 /* The GNU C library defines this for functions which it implements
9344 to always fail with ENOSYS. Some functions are actually named
9345 something starting with __ and the normal name is an alias. */
9346 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9354 if { (eval echo configure
:9355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9356 eval "ac_cv_func_$ac_func=yes"
9358 echo "configure: failed program was:" >&5
9359 cat conftest.
$ac_ext >&5
9361 eval "ac_cv_func_$ac_func=no"
9366 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9367 echo "$ac_t""yes" 1>&6
9368 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9369 cat >> confdefs.h
<<EOF
9370 #define $ac_tr_func 1
9372 cat >> confdefs.h
<<\EOF
9373 #define HAVE_NANOSLEEP 1
9377 echo "$ac_t""no" 1>&6
9378 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9379 echo "configure:9380: checking for nanosleep in -lposix4" >&5
9380 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9381 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9382 echo $ac_n "(cached) $ac_c" 1>&6
9384 ac_save_LIBS
="$LIBS"
9385 LIBS
="-lposix4 $LIBS"
9386 cat > conftest.
$ac_ext <<EOF
9387 #line 9388 "configure"
9388 #include "confdefs.h"
9389 /* Override any gcc2 internal prototype to avoid an error. */
9390 /* We use char because int might match the return type of a gcc2
9391 builtin and then its argument prototype would still apply. */
9398 if { (eval echo configure
:9399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9400 eval "ac_cv_lib_$ac_lib_var=yes"
9402 echo "configure: failed program was:" >&5
9403 cat conftest.
$ac_ext >&5
9405 eval "ac_cv_lib_$ac_lib_var=no"
9408 LIBS
="$ac_save_LIBS"
9411 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9412 echo "$ac_t""yes" 1>&6
9414 cat >> confdefs.h
<<\EOF
9415 #define HAVE_NANOSLEEP 1
9418 POSIX4_LINK
="-lposix4"
9421 echo "$ac_t""no" 1>&6
9423 for ac_func
in usleep
9425 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9426 echo "configure:9427: checking for $ac_func" >&5
9427 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9428 echo $ac_n "(cached) $ac_c" 1>&6
9430 cat > conftest.
$ac_ext <<EOF
9431 #line 9432 "configure"
9432 #include "confdefs.h"
9433 /* System header to define __stub macros and hopefully few prototypes,
9434 which can conflict with char $ac_func(); below. */
9436 /* Override any gcc2 internal prototype to avoid an error. */
9437 /* We use char because int might match the return type of a gcc2
9438 builtin and then its argument prototype would still apply. */
9443 /* The GNU C library defines this for functions which it implements
9444 to always fail with ENOSYS. Some functions are actually named
9445 something starting with __ and the normal name is an alias. */
9446 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9454 if { (eval echo configure
:9455: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9456 eval "ac_cv_func_$ac_func=yes"
9458 echo "configure: failed program was:" >&5
9459 cat conftest.
$ac_ext >&5
9461 eval "ac_cv_func_$ac_func=no"
9466 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9467 echo "$ac_t""yes" 1>&6
9468 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9469 cat >> confdefs.h
<<EOF
9470 #define $ac_tr_func 1
9472 cat >> confdefs.h
<<\EOF
9473 #define HAVE_USLEEP 1
9477 echo "$ac_t""no" 1>&6
9478 echo "configure: warning: wxSleep() function will not work" 1>&2
9490 for ac_func
in uname gethostname
9492 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9493 echo "configure:9494: checking for $ac_func" >&5
9494 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9495 echo $ac_n "(cached) $ac_c" 1>&6
9497 cat > conftest.
$ac_ext <<EOF
9498 #line 9499 "configure"
9499 #include "confdefs.h"
9500 /* System header to define __stub macros and hopefully few prototypes,
9501 which can conflict with char $ac_func(); below. */
9503 /* Override any gcc2 internal prototype to avoid an error. */
9504 /* We use char because int might match the return type of a gcc2
9505 builtin and then its argument prototype would still apply. */
9510 /* The GNU C library defines this for functions which it implements
9511 to always fail with ENOSYS. Some functions are actually named
9512 something starting with __ and the normal name is an alias. */
9513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9521 if { (eval echo configure
:9522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9523 eval "ac_cv_func_$ac_func=yes"
9525 echo "configure: failed program was:" >&5
9526 cat conftest.
$ac_ext >&5
9528 eval "ac_cv_func_$ac_func=no"
9533 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9534 echo "$ac_t""yes" 1>&6
9535 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9536 cat >> confdefs.h
<<EOF
9537 #define $ac_tr_func 1
9541 echo "$ac_t""no" 1>&6
9546 for ac_func
in inet_addr
9548 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9549 echo "configure:9550: checking for $ac_func" >&5
9550 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9551 echo $ac_n "(cached) $ac_c" 1>&6
9553 cat > conftest.
$ac_ext <<EOF
9554 #line 9555 "configure"
9555 #include "confdefs.h"
9556 /* System header to define __stub macros and hopefully few prototypes,
9557 which can conflict with char $ac_func(); below. */
9559 /* Override any gcc2 internal prototype to avoid an error. */
9560 /* We use char because int might match the return type of a gcc2
9561 builtin and then its argument prototype would still apply. */
9566 /* The GNU C library defines this for functions which it implements
9567 to always fail with ENOSYS. Some functions are actually named
9568 something starting with __ and the normal name is an alias. */
9569 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9577 if { (eval echo configure
:9578: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9579 eval "ac_cv_func_$ac_func=yes"
9581 echo "configure: failed program was:" >&5
9582 cat conftest.
$ac_ext >&5
9584 eval "ac_cv_func_$ac_func=no"
9589 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9590 echo "$ac_t""yes" 1>&6
9591 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9592 cat >> confdefs.h
<<EOF
9593 #define $ac_tr_func 1
9597 echo "$ac_t""no" 1>&6
9601 for ac_func
in inet_aton
9603 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9604 echo "configure:9605: checking for $ac_func" >&5
9605 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9606 echo $ac_n "(cached) $ac_c" 1>&6
9608 cat > conftest.
$ac_ext <<EOF
9609 #line 9610 "configure"
9610 #include "confdefs.h"
9611 /* System header to define __stub macros and hopefully few prototypes,
9612 which can conflict with char $ac_func(); below. */
9614 /* Override any gcc2 internal prototype to avoid an error. */
9615 /* We use char because int might match the return type of a gcc2
9616 builtin and then its argument prototype would still apply. */
9621 /* The GNU C library defines this for functions which it implements
9622 to always fail with ENOSYS. Some functions are actually named
9623 something starting with __ and the normal name is an alias. */
9624 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9632 if { (eval echo configure
:9633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9634 eval "ac_cv_func_$ac_func=yes"
9636 echo "configure: failed program was:" >&5
9637 cat conftest.
$ac_ext >&5
9639 eval "ac_cv_func_$ac_func=no"
9644 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9645 echo "$ac_t""yes" 1>&6
9646 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9647 cat >> confdefs.h
<<EOF
9648 #define $ac_tr_func 1
9652 echo "$ac_t""no" 1>&6
9656 echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
9657 echo "configure:9658: checking for inet_aton in -lresolv" >&5
9658 ac_lib_var
=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
9659 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9660 echo $ac_n "(cached) $ac_c" 1>&6
9662 ac_save_LIBS
="$LIBS"
9663 LIBS
="-lresolv $LIBS"
9664 cat > conftest.
$ac_ext <<EOF
9665 #line 9666 "configure"
9666 #include "confdefs.h"
9667 /* Override any gcc2 internal prototype to avoid an error. */
9668 /* We use char because int might match the return type of a gcc2
9669 builtin and then its argument prototype would still apply. */
9676 if { (eval echo configure
:9677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9678 eval "ac_cv_lib_$ac_lib_var=yes"
9680 echo "configure: failed program was:" >&5
9681 cat conftest.
$ac_ext >&5
9683 eval "ac_cv_lib_$ac_lib_var=no"
9686 LIBS
="$ac_save_LIBS"
9689 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9690 echo "$ac_t""yes" 1>&6
9691 ac_tr_lib
=HAVE_LIB
`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
9692 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
9693 cat >> confdefs.h
<<EOF
9694 #define $ac_tr_lib 1
9697 LIBS
="-lresolv $LIBS"
9700 echo "$ac_t""no" 1>&6
9705 cat > confcache
<<\EOF
9706 # This file is a shell script that caches the results of configure
9707 # tests run on this system so they can be shared between configure
9708 # scripts and configure runs. It is not useful on other systems.
9709 # If it contains results you don't want to keep, you may remove or edit it.
9711 # By default, configure uses ./config.cache as the cache file,
9712 # creating it if it does not exist already. You can give configure
9713 # the --cache-file=FILE option to use a different cache file; that is
9714 # what configure does when it calls configure scripts in
9715 # subdirectories, so they share the cache.
9716 # Giving --cache-file=/dev/null disables caching, for debugging configure.
9717 # config.status only pays attention to the cache file if you give it the
9718 # --recheck option to rerun configure.
9721 # The following way of writing the cache mishandles newlines in values,
9722 # but we know of no workaround that is simple, portable, and efficient.
9723 # So, don't put newlines in cache variables' values.
9724 # Ultrix sh set writes to stderr and can't be redirected directly,
9725 # and sets the high bit in the cache file unless we assign to the vars.
9727 case `(ac_space=' '; set) 2>&1` in
9729 # `set' does not quote correctly, so add quotes (double-quote substitution
9730 # turns \\\\ into \\, and sed turns \\ into \).
9732 -e "s/'/'\\\\''/g" \
9733 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
9736 # `set' quotes correctly as required by POSIX, so do not add quotes.
9737 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
9740 if cmp -s $cache_file confcache
; then
9743 if test -w $cache_file; then
9744 echo "updating cache $cache_file"
9745 cat confcache
> $cache_file
9747 echo "not updating unwritable cache $cache_file"
9754 if test "$USE_UNIX" = 1; then
9760 if test "$wxUSE_THREADS" = "yes" ; then
9761 if test "$wxUSE_WINE" = 1 ; then
9762 echo "configure: warning: Threads are not supported under WINE" 1>&2
9767 if test "$wxUSE_THREADS" = "yes" ; then
9769 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
9770 echo "configure:9771: checking for pthread_create in -lpthread" >&5
9771 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
9772 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9773 echo $ac_n "(cached) $ac_c" 1>&6
9775 ac_save_LIBS
="$LIBS"
9776 LIBS
="-lpthread $LIBS"
9777 cat > conftest.
$ac_ext <<EOF
9778 #line 9779 "configure"
9779 #include "confdefs.h"
9780 /* Override any gcc2 internal prototype to avoid an error. */
9781 /* We use char because int might match the return type of a gcc2
9782 builtin and then its argument prototype would still apply. */
9783 char pthread_create();
9789 if { (eval echo configure
:9790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9791 eval "ac_cv_lib_$ac_lib_var=yes"
9793 echo "configure: failed program was:" >&5
9794 cat conftest.
$ac_ext >&5
9796 eval "ac_cv_lib_$ac_lib_var=no"
9799 LIBS
="$ac_save_LIBS"
9802 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9803 echo "$ac_t""yes" 1>&6
9805 THREADS_OBJ
="threadpsx.lo"
9806 THREADS_LINK
="pthread"
9809 echo "$ac_t""no" 1>&6
9811 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
9812 echo "configure:9813: checking for pthread_create in -lc_r" >&5
9813 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
9814 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9815 echo $ac_n "(cached) $ac_c" 1>&6
9817 ac_save_LIBS
="$LIBS"
9819 cat > conftest.
$ac_ext <<EOF
9820 #line 9821 "configure"
9821 #include "confdefs.h"
9822 /* Override any gcc2 internal prototype to avoid an error. */
9823 /* We use char because int might match the return type of a gcc2
9824 builtin and then its argument prototype would still apply. */
9825 char pthread_create();
9831 if { (eval echo configure
:9832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9833 eval "ac_cv_lib_$ac_lib_var=yes"
9835 echo "configure: failed program was:" >&5
9836 cat conftest.
$ac_ext >&5
9838 eval "ac_cv_lib_$ac_lib_var=no"
9841 LIBS
="$ac_save_LIBS"
9844 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9845 echo "$ac_t""yes" 1>&6
9847 THREADS_OBJ
="threadpsx.lo"
9851 echo "$ac_t""no" 1>&6
9853 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
9854 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
9855 echo "configure:9856: checking for sys/prctl.h" >&5
9856 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9857 echo $ac_n "(cached) $ac_c" 1>&6
9859 cat > conftest.
$ac_ext <<EOF
9860 #line 9861 "configure"
9861 #include "confdefs.h"
9862 #include <sys/prctl.h>
9864 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9865 { (eval echo configure
:9866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9866 ac_err
=`grep -v '^ *+' conftest.out`
9867 if test -z "$ac_err"; then
9869 eval "ac_cv_header_$ac_safe=yes"
9872 echo "configure: failed program was:" >&5
9873 cat conftest.
$ac_ext >&5
9875 eval "ac_cv_header_$ac_safe=no"
9879 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9880 echo "$ac_t""yes" 1>&6
9882 THREADS_OBJ
="threadsgi.lo"
9885 echo "$ac_t""no" 1>&6
9895 if test -z "$THREADS_OBJ" ; then
9897 echo "configure: warning: No thread support on this system" 1>&2
9901 if test "$wxUSE_THREADS" = "yes" ; then
9903 for ac_hdr
in sched.h
9905 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9906 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9907 echo "configure:9908: checking for $ac_hdr" >&5
9908 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9909 echo $ac_n "(cached) $ac_c" 1>&6
9911 cat > conftest.
$ac_ext <<EOF
9912 #line 9913 "configure"
9913 #include "confdefs.h"
9916 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9917 { (eval echo configure
:9918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9918 ac_err
=`grep -v '^ *+' conftest.out`
9919 if test -z "$ac_err"; then
9921 eval "ac_cv_header_$ac_safe=yes"
9924 echo "configure: failed program was:" >&5
9925 cat conftest.
$ac_ext >&5
9927 eval "ac_cv_header_$ac_safe=no"
9931 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9932 echo "$ac_t""yes" 1>&6
9933 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9934 cat >> confdefs.h
<<EOF
9935 #define $ac_tr_hdr 1
9939 echo "$ac_t""no" 1>&6
9944 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
9945 echo "configure:9946: checking for sched_yield in -l$THREADS_LINK" >&5
9946 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
9947 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9948 echo $ac_n "(cached) $ac_c" 1>&6
9950 ac_save_LIBS
="$LIBS"
9951 LIBS
="-l$THREADS_LINK $LIBS"
9952 cat > conftest.
$ac_ext <<EOF
9953 #line 9954 "configure"
9954 #include "confdefs.h"
9955 /* Override any gcc2 internal prototype to avoid an error. */
9956 /* We use char because int might match the return type of a gcc2
9957 builtin and then its argument prototype would still apply. */
9964 if { (eval echo configure
:9965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
9966 eval "ac_cv_lib_$ac_lib_var=yes"
9968 echo "configure: failed program was:" >&5
9969 cat conftest.
$ac_ext >&5
9971 eval "ac_cv_lib_$ac_lib_var=no"
9974 LIBS
="$ac_save_LIBS"
9977 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9978 echo "$ac_t""yes" 1>&6
9979 cat >> confdefs.h
<<\EOF
9980 #define HAVE_SCHED_YIELD 1
9984 echo "$ac_t""no" 1>&6
9985 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
9986 echo "configure:9987: checking for sched_yield in -l"posix4
"" >&5
9987 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
9988 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9989 echo $ac_n "(cached) $ac_c" 1>&6
9991 ac_save_LIBS
="$LIBS"
9992 LIBS
="-l"posix4
" $LIBS"
9993 cat > conftest.
$ac_ext <<EOF
9994 #line 9995 "configure"
9995 #include "confdefs.h"
9996 /* Override any gcc2 internal prototype to avoid an error. */
9997 /* We use char because int might match the return type of a gcc2
9998 builtin and then its argument prototype would still apply. */
10005 if { (eval echo configure
:10006: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10007 eval "ac_cv_lib_$ac_lib_var=yes"
10009 echo "configure: failed program was:" >&5
10010 cat conftest.
$ac_ext >&5
10012 eval "ac_cv_lib_$ac_lib_var=no"
10015 LIBS
="$ac_save_LIBS"
10018 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10019 echo "$ac_t""yes" 1>&6
10020 cat >> confdefs.h
<<\EOF
10021 #define HAVE_SCHED_YIELD 1
10023 POSIX4_LINK
="-lposix4"
10025 echo "$ac_t""no" 1>&6
10026 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10034 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10035 echo "configure:10036: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10036 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10037 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10038 echo $ac_n "(cached) $ac_c" 1>&6
10040 ac_save_LIBS
="$LIBS"
10041 LIBS
="-l$THREADS_LINK $LIBS"
10042 cat > conftest.
$ac_ext <<EOF
10043 #line 10044 "configure"
10044 #include "confdefs.h"
10045 /* Override any gcc2 internal prototype to avoid an error. */
10046 /* We use char because int might match the return type of a gcc2
10047 builtin and then its argument prototype would still apply. */
10048 char pthread_attr_getschedpolicy();
10051 pthread_attr_getschedpolicy()
10054 if { (eval echo configure
:10055: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10056 eval "ac_cv_lib_$ac_lib_var=yes"
10058 echo "configure: failed program was:" >&5
10059 cat conftest.
$ac_ext >&5
10061 eval "ac_cv_lib_$ac_lib_var=no"
10064 LIBS
="$ac_save_LIBS"
10067 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10068 echo "$ac_t""yes" 1>&6
10069 cat >> confdefs.h
<<\EOF
10070 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10074 echo "$ac_t""no" 1>&6
10075 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10076 echo "configure:10077: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10077 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10078 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10079 echo $ac_n "(cached) $ac_c" 1>&6
10081 ac_save_LIBS
="$LIBS"
10082 LIBS
="-l"posix4
" $LIBS"
10083 cat > conftest.
$ac_ext <<EOF
10084 #line 10085 "configure"
10085 #include "confdefs.h"
10086 /* Override any gcc2 internal prototype to avoid an error. */
10087 /* We use char because int might match the return type of a gcc2
10088 builtin and then its argument prototype would still apply. */
10089 char pthread_attr_getschedpolicy();
10092 pthread_attr_getschedpolicy()
10095 if { (eval echo configure
:10096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10097 eval "ac_cv_lib_$ac_lib_var=yes"
10099 echo "configure: failed program was:" >&5
10100 cat conftest.
$ac_ext >&5
10102 eval "ac_cv_lib_$ac_lib_var=no"
10105 LIBS
="$ac_save_LIBS"
10108 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10109 echo "$ac_t""yes" 1>&6
10110 cat >> confdefs.h
<<\EOF
10111 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10113 POSIX4_LINK
="-lposix4"
10115 echo "$ac_t""no" 1>&6
10116 echo "configure: warning: Setting thread priority will not work" 1>&2
10124 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10125 echo "configure:10126: checking for pthread_cancel in -l$THREADS_LINK" >&5
10126 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10127 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10128 echo $ac_n "(cached) $ac_c" 1>&6
10130 ac_save_LIBS
="$LIBS"
10131 LIBS
="-l$THREADS_LINK $LIBS"
10132 cat > conftest.
$ac_ext <<EOF
10133 #line 10134 "configure"
10134 #include "confdefs.h"
10135 /* Override any gcc2 internal prototype to avoid an error. */
10136 /* We use char because int might match the return type of a gcc2
10137 builtin and then its argument prototype would still apply. */
10138 char pthread_cancel();
10144 if { (eval echo configure
:10145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10146 eval "ac_cv_lib_$ac_lib_var=yes"
10148 echo "configure: failed program was:" >&5
10149 cat conftest.
$ac_ext >&5
10151 eval "ac_cv_lib_$ac_lib_var=no"
10154 LIBS
="$ac_save_LIBS"
10157 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10158 echo "$ac_t""yes" 1>&6
10159 cat >> confdefs.h
<<\EOF
10160 #define HAVE_PTHREAD_CANCEL 1
10164 echo "$ac_t""no" 1>&6
10165 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10169 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10170 echo "configure:10171: checking for pthread_cleanup_push/pop" >&5
10171 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10172 echo $ac_n "(cached) $ac_c" 1>&6
10175 cat > conftest.
$ac_ext <<EOF
10176 #line 10177 "configure"
10177 #include "confdefs.h"
10178 #include <pthread.h>
10181 pthread_cleanup_push(NULL, NULL);
10182 pthread_cleanup_pop(0);
10186 if { (eval echo configure
:10187: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10189 wx_cv_func_pthread_cleanup_push
=yes
10190 cat >> confdefs.h
<<\EOF
10191 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10196 echo "configure: failed program was:" >&5
10197 cat conftest.
$ac_ext >&5
10200 wx_cv_func_pthread_cleanup_push
=no
10207 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10209 THREADS_LINK
="-l$THREADS_LINK"
10214 if test "$wxUSE_THREADS" = "yes"; then
10215 cat >> confdefs.h
<<\EOF
10216 #define wxUSE_THREADS 1
10220 CFLAGS
="${CFLAGS} -D_REENTRANT"
10221 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10223 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
10226 if test "$WXGTK12" = 1 ; then
10227 cat >> confdefs.h
<<EOF
10228 #define __WXGTK12__ $WXGTK12
10233 if test "$WXWINE" = 1 ; then
10234 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10237 if test "$wxUSE_CYGWIN" = 1 ; then
10238 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10242 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10243 wxUSE_DEBUG_INFO
=yes
10247 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10252 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10253 cat >> confdefs.h
<<\EOF
10257 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10259 if test "$wxUSE_GTK" = 1 ; then
10260 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10264 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10265 cat >> confdefs.h
<<\EOF
10266 #define wxUSE_MEMORY_TRACING 1
10269 cat >> confdefs.h
<<\EOF
10270 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10273 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10276 if test "$wxUSE_DMALLOC" = "yes" ; then
10277 DMALLOC_LINK
="-ldmalloc"
10281 if test "$wxUSE_PROFILE" = "yes" ; then
10285 if test "$GCC" = yes ; then
10286 if test "$wxUSE_NO_RTTI" = "yes" ; then
10287 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10289 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10290 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10295 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10296 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10297 if test "$wxUSE_OPTIMISE" = "no" ; then
10300 if test "$GCC" = yes ; then
10303 i586
-*-*|i686
-*-* )
10304 OPTIMISE
="${OPTIMISE} "
10314 if test "$wxUSE_ZLIB" = "yes" ; then
10315 cat >> confdefs.h
<<\EOF
10316 #define wxUSE_ZLIB 1
10319 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10323 if test "$wxUSE_LIBPNG" = "yes" ; then
10324 cat >> confdefs.h
<<\EOF
10325 #define wxUSE_LIBPNG 1
10328 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10329 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10332 if test "$wxUSE_LIBGIF" = "yes" ; then
10333 cat >> confdefs.h
<<\EOF
10334 #define wxUSE_LIBGIF 1
10340 if test "$wxUSE_LIBJPEG" = "yes" ; then
10341 cat >> confdefs.h
<<\EOF
10342 #define wxUSE_LIBJPEG 1
10345 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10348 if test "$wxUSE_OPENGL" = "yes"; then
10349 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10350 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10351 echo "configure:10352: checking for GL/gl.h" >&5
10352 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10353 echo $ac_n "(cached) $ac_c" 1>&6
10355 cat > conftest.
$ac_ext <<EOF
10356 #line 10357 "configure"
10357 #include "confdefs.h"
10360 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10361 { (eval echo configure
:10362: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10362 ac_err
=`grep -v '^ *+' conftest.out`
10363 if test -z "$ac_err"; then
10365 eval "ac_cv_header_$ac_safe=yes"
10368 echo "configure: failed program was:" >&5
10369 cat conftest.
$ac_ext >&5
10371 eval "ac_cv_header_$ac_safe=no"
10375 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10376 echo "$ac_t""yes" 1>&6
10378 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10379 echo "configure:10380: checking for glInitNames in -lGL" >&5
10380 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10381 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10382 echo $ac_n "(cached) $ac_c" 1>&6
10384 ac_save_LIBS
="$LIBS"
10385 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10386 cat > conftest.
$ac_ext <<EOF
10387 #line 10388 "configure"
10388 #include "confdefs.h"
10389 /* Override any gcc2 internal prototype to avoid an error. */
10390 /* We use char because int might match the return type of a gcc2
10391 builtin and then its argument prototype would still apply. */
10392 char glInitNames();
10398 if { (eval echo configure
:10399: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10400 eval "ac_cv_lib_$ac_lib_var=yes"
10402 echo "configure: failed program was:" >&5
10403 cat conftest.
$ac_ext >&5
10405 eval "ac_cv_lib_$ac_lib_var=no"
10408 LIBS
="$ac_save_LIBS"
10411 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10412 echo "$ac_t""yes" 1>&6
10415 cat >> confdefs.h
<<\EOF
10416 #define wxUSE_OPENGL 1
10419 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10422 echo "$ac_t""no" 1>&6
10424 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10425 echo "configure:10426: checking for glInitNames in -lMesaGL" >&5
10426 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10427 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10428 echo $ac_n "(cached) $ac_c" 1>&6
10430 ac_save_LIBS
="$LIBS"
10431 LIBS
="-lMesaGL $LIBS"
10432 cat > conftest.
$ac_ext <<EOF
10433 #line 10434 "configure"
10434 #include "confdefs.h"
10435 /* Override any gcc2 internal prototype to avoid an error. */
10436 /* We use char because int might match the return type of a gcc2
10437 builtin and then its argument prototype would still apply. */
10438 char glInitNames();
10444 if { (eval echo configure
:10445: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10446 eval "ac_cv_lib_$ac_lib_var=yes"
10448 echo "configure: failed program was:" >&5
10449 cat conftest.
$ac_ext >&5
10451 eval "ac_cv_lib_$ac_lib_var=no"
10454 LIBS
="$ac_save_LIBS"
10457 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10458 echo "$ac_t""yes" 1>&6
10460 OPENGL_LINK
="-lMesaGL"
10461 cat >> confdefs.h
<<\EOF
10462 #define wxUSE_OPENGL 1
10465 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10468 echo "$ac_t""no" 1>&6
10477 echo "$ac_t""no" 1>&6
10484 if test "$wxUSE_GUI" = "yes"; then
10485 cat >> confdefs.h
<<\EOF
10486 #define wxUSE_GUI 1
10491 cat >> confdefs.h
<<\EOF
10492 #define wxUSE_NOGUI 1
10498 if test "$wxUSE_UNIX" = "yes"; then
10499 cat >> confdefs.h
<<\EOF
10500 #define wxUSE_UNIX 1
10506 if test "$wxUSE_APPLE_IEEE" = "yes"; then
10507 cat >> confdefs.h
<<\EOF
10508 #define wxUSE_APPLE_IEEE 1
10513 if test "$wxUSE_TIMEDATE" = "yes"; then
10514 cat >> confdefs.h
<<\EOF
10515 #define wxUSE_TIMEDATE 1
10518 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
10521 if test "$wxUSE_WAVE" = "yes"; then
10522 cat >> confdefs.h
<<\EOF
10523 #define wxUSE_WAVE 1
10528 if test "$wxUSE_FILE" = "yes"; then
10529 cat >> confdefs.h
<<\EOF
10530 #define wxUSE_FILE 1
10535 if test "$wxUSE_FS_INET" = "yes"; then
10536 cat >> confdefs.h
<<\EOF
10537 #define wxUSE_FS_INET 1
10542 if test "$wxUSE_FS_ZIP" = "yes"; then
10543 cat >> confdefs.h
<<\EOF
10544 #define wxUSE_FS_ZIP 1
10549 if test "$wxUSE_ZIPSTREAM" = "yes"; then
10550 cat >> confdefs.h
<<\EOF
10551 #define wxUSE_ZIPSTREAM 1
10556 if test "$wxUSE_BUSYINFO" = "yes"; then
10557 cat >> confdefs.h
<<\EOF
10558 #define wxUSE_BUSYINFO 1
10563 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
10564 cat >> confdefs.h
<<\EOF
10565 #define wxUSE_STD_IOSTREAM 1
10570 if test "$wxUSE_TEXTFILE" = "yes"; then
10571 if test "$wxUSE_FILE" != "yes"; then
10572 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
10574 cat >> confdefs.h
<<\EOF
10575 #define wxUSE_TEXTFILE 1
10581 if test "$wxUSE_CONFIG" = "yes" ; then
10582 if test "$wxUSE_TEXTFILE" != "yes"; then
10583 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
10585 cat >> confdefs.h
<<\EOF
10586 #define wxUSE_CONFIG 1
10589 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
10593 if test "$wxUSE_INTL" = "yes" ; then
10594 if test "$wxUSE_FILE" != "yes"; then
10595 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
10597 cat >> confdefs.h
<<\EOF
10598 #define wxUSE_INTL 1
10601 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
10605 if test "$wxUSE_LOG" = "yes"; then
10606 cat >> confdefs.h
<<\EOF
10607 #define wxUSE_LOG 1
10612 if test "$wxUSE_LONGLONG" = "yes"; then
10613 cat >> confdefs.h
<<\EOF
10614 #define wxUSE_LONGLONG 1
10619 if test "$wxUSE_SOCKETS" = "yes" ; then
10620 if test "$wxUSE_THREADS" = "yes" ; then
10621 cat >> confdefs.h
<<\EOF
10622 #define wxUSE_SOCKETS 1
10625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
10626 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
10628 echo "configure: warning: Socket classes require --with-threads and won't be compiled without it" 1>&2
10633 if test "$wxUSE_STREAMS" = "yes" ; then
10634 cat >> confdefs.h
<<\EOF
10635 #define wxUSE_STREAMS 1
10640 if test "$wxUSE_SERIAL" = "yes" ; then
10641 cat >> confdefs.h
<<\EOF
10642 #define wxUSE_SERIAL 1
10648 if test "$wxUSE_SOCKETS" = "yes"; then
10651 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10652 ac_cpp
='$CXXCPP $CPPFLAGS'
10653 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10654 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10655 cross_compiling
=$ac_cv_prog_cxx_cross
10657 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
10658 echo "configure:10659: checking the type of the third argument of getsockname" >&5
10659 cat > conftest.
$ac_ext <<EOF
10660 #line 10661 "configure"
10661 #include "confdefs.h"
10662 #include <sys/socket.h>
10664 socklen_t len; getsockname(0, NULL, &len);
10667 if { (eval echo configure
:10668: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10669 cat >> confdefs.h
<<\EOF
10670 #define SOCKLEN_T socklen_t
10672 echo "$ac_t""socklen_t" 1>&6
10674 echo "configure: failed program was:" >&5
10675 cat conftest.
$ac_ext >&5
10677 cat > conftest.
$ac_ext <<EOF
10678 #line 10679 "configure"
10679 #include "confdefs.h"
10680 #include <sys/socket.h>
10682 size_t len; getsockname(0, NULL, &len);
10685 if { (eval echo configure
:10686: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10687 cat >> confdefs.h
<<\EOF
10688 #define SOCKLEN_T size_t
10690 echo "$ac_t""size_t" 1>&6
10692 echo "configure: failed program was:" >&5
10693 cat conftest.
$ac_ext >&5
10695 cat > conftest.
$ac_ext <<EOF
10696 #line 10697 "configure"
10697 #include "confdefs.h"
10698 #include <sys/socket.h>
10700 int len; getsockname(0, NULL, &len);
10703 if { (eval echo configure
:10704: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10705 cat >> confdefs.h
<<\EOF
10706 #define SOCKLEN_T int
10708 echo "$ac_t""int" 1>&6
10710 echo "configure: failed program was:" >&5
10711 cat conftest.
$ac_ext >&5
10713 echo "$ac_t""unknown" 1>&6
10724 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10725 ac_cpp
='$CPP $CPPFLAGS'
10726 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10727 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10728 cross_compiling
=$ac_cv_prog_cc_cross
10733 if test "$wxUSE_JOYSTICK" = 1; then
10734 for ac_hdr
in linux
/joystick.h
10736 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10737 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10738 echo "configure:10739: checking for $ac_hdr" >&5
10739 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10740 echo $ac_n "(cached) $ac_c" 1>&6
10742 cat > conftest.
$ac_ext <<EOF
10743 #line 10744 "configure"
10744 #include "confdefs.h"
10747 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10748 { (eval echo configure
:10749: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10749 ac_err
=`grep -v '^ *+' conftest.out`
10750 if test -z "$ac_err"; then
10752 eval "ac_cv_header_$ac_safe=yes"
10755 echo "configure: failed program was:" >&5
10756 cat conftest.
$ac_ext >&5
10758 eval "ac_cv_header_$ac_safe=no"
10762 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10763 echo "$ac_t""yes" 1>&6
10764 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10765 cat >> confdefs.h
<<EOF
10766 #define $ac_tr_hdr 1
10770 echo "$ac_t""no" 1>&6
10774 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
10775 cat >> confdefs.h
<<\EOF
10776 #define wxUSE_JOYSTICK 1
10779 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
10786 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
10787 for ac_func
in dlopen
10789 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10790 echo "configure:10791: checking for $ac_func" >&5
10791 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10792 echo $ac_n "(cached) $ac_c" 1>&6
10794 cat > conftest.
$ac_ext <<EOF
10795 #line 10796 "configure"
10796 #include "confdefs.h"
10797 /* System header to define __stub macros and hopefully few prototypes,
10798 which can conflict with char $ac_func(); below. */
10799 #include <assert.h>
10800 /* Override any gcc2 internal prototype to avoid an error. */
10801 /* We use char because int might match the return type of a gcc2
10802 builtin and then its argument prototype would still apply. */
10807 /* The GNU C library defines this for functions which it implements
10808 to always fail with ENOSYS. Some functions are actually named
10809 something starting with __ and the normal name is an alias. */
10810 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10818 if { (eval echo configure
:10819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10820 eval "ac_cv_func_$ac_func=yes"
10822 echo "configure: failed program was:" >&5
10823 cat conftest.
$ac_ext >&5
10825 eval "ac_cv_func_$ac_func=no"
10830 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10831 echo "$ac_t""yes" 1>&6
10832 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10833 cat >> confdefs.h
<<EOF
10834 #define $ac_tr_func 1
10836 cat >> confdefs.h
<<\EOF
10837 #define HAVE_DLOPEN 1
10841 echo "$ac_t""no" 1>&6
10842 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
10843 echo "configure:10844: checking for dlopen in -ldl" >&5
10844 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
10845 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10846 echo $ac_n "(cached) $ac_c" 1>&6
10848 ac_save_LIBS
="$LIBS"
10850 cat > conftest.
$ac_ext <<EOF
10851 #line 10852 "configure"
10852 #include "confdefs.h"
10853 /* Override any gcc2 internal prototype to avoid an error. */
10854 /* We use char because int might match the return type of a gcc2
10855 builtin and then its argument prototype would still apply. */
10862 if { (eval echo configure
:10863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10864 eval "ac_cv_lib_$ac_lib_var=yes"
10866 echo "configure: failed program was:" >&5
10867 cat conftest.
$ac_ext >&5
10869 eval "ac_cv_lib_$ac_lib_var=no"
10872 LIBS
="$ac_save_LIBS"
10875 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10876 echo "$ac_t""yes" 1>&6
10877 cat >> confdefs.h
<<\EOF
10878 #define HAVE_DLOPEN 1
10882 echo "$ac_t""no" 1>&6
10888 for ac_func
in shl_load
10890 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10891 echo "configure:10892: checking for $ac_func" >&5
10892 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10893 echo $ac_n "(cached) $ac_c" 1>&6
10895 cat > conftest.
$ac_ext <<EOF
10896 #line 10897 "configure"
10897 #include "confdefs.h"
10898 /* System header to define __stub macros and hopefully few prototypes,
10899 which can conflict with char $ac_func(); below. */
10900 #include <assert.h>
10901 /* Override any gcc2 internal prototype to avoid an error. */
10902 /* We use char because int might match the return type of a gcc2
10903 builtin and then its argument prototype would still apply. */
10908 /* The GNU C library defines this for functions which it implements
10909 to always fail with ENOSYS. Some functions are actually named
10910 something starting with __ and the normal name is an alias. */
10911 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10919 if { (eval echo configure
:10920: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
10921 eval "ac_cv_func_$ac_func=yes"
10923 echo "configure: failed program was:" >&5
10924 cat conftest.
$ac_ext >&5
10926 eval "ac_cv_func_$ac_func=no"
10931 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10932 echo "$ac_t""yes" 1>&6
10933 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10934 cat >> confdefs.h
<<EOF
10935 #define $ac_tr_func 1
10937 cat >> confdefs.h
<<\EOF
10938 #define HAVE_SHL_LOAD 1
10940 HAVE_DL_FUNCS
=1 HAVE_SHL_FUNCS
=1
10942 echo "$ac_t""no" 1>&6
10947 if test "$HAVE_DL_FUNCS" = 0; then
10948 if test "$USE_UNIX" = 1; then
10949 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
10951 wxUSE_DYNLIB_CLASS
=no
10953 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
10958 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
10959 cat >> confdefs.h
<<\EOF
10960 #define wxUSE_DYNLIB_CLASS 1
10966 if test "$wxUSE_UNICODE" = "yes" ; then
10967 cat >> confdefs.h
<<\EOF
10968 #define wxUSE_UNICODE 1
10973 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
10974 cat >> confdefs.h
<<\EOF
10975 #define wxUSE_WCSRTOMBS 1
10980 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
10981 cat >> confdefs.h
<<\EOF
10982 #define wxUSE_EXPERIMENTAL_PRINTF 1
10989 if test "$wxUSE_ODBC" = "yes" ; then
10990 cat >> confdefs.h
<<\EOF
10991 #define wxUSE_ODBC 1
10994 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
10998 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
10999 cat >> confdefs.h
<<\EOF
11000 #define wxUSE_POSTSCRIPT 1
11005 cat >> confdefs.h
<<\EOF
11006 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11010 cat >> confdefs.h
<<\EOF
11011 #define wxUSE_NORMALIZED_PS_FONTS 1
11016 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11017 cat >> confdefs.h
<<\EOF
11018 #define wxUSE_CONSTRAINTS 1
11021 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
11024 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11025 cat >> confdefs.h
<<\EOF
11026 #define wxUSE_MDI_ARCHITECTURE 1
11029 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
11032 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11033 cat >> confdefs.h
<<\EOF
11034 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11037 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
11038 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11039 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
11043 if test "$wxUSE_HELP" = "yes"; then
11044 cat >> confdefs.h
<<\EOF
11045 #define wxUSE_HELP 1
11048 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
11051 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11052 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11053 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11055 cat >> confdefs.h
<<\EOF
11056 #define wxUSE_PRINTING_ARCHITECTURE 1
11060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
11063 if test "$wxUSE_PROLOGIO" = "yes" ; then
11064 cat >> confdefs.h
<<\EOF
11065 #define wxUSE_PROLOGIO 1
11070 if test "$wxUSE_RESOURCES" = "yes" ; then
11071 if test "$wxUSE_PROLOGIO" = "yes" ; then
11072 cat >> confdefs.h
<<\EOF
11073 #define wxUSE_RESOURCES 1
11076 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
11078 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11082 if test "$wxUSE_X_RESOURCES" = "yes"; then
11083 cat >> confdefs.h
<<\EOF
11084 #define wxUSE_X_RESOURCES 1
11090 if test "$wxUSE_IPC" = "yes"; then
11091 cat >> confdefs.h
<<\EOF
11092 #define wxUSE_IPC 1
11097 if test "$wxUSE_CLIPBOARD" = "yes"; then
11098 cat >> confdefs.h
<<\EOF
11099 #define wxUSE_CLIPBOARD 1
11104 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11105 if test "$wxUSE_GTK" = 1; then
11106 if test "$WXGTK12" != 1; then
11107 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11108 wxUSE_DRAG_AND_DROP
=no
11112 if test "$wxUSE_MOTIF" = 1; then
11113 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11114 wxUSE_DRAG_AND_DROP
=no
11117 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
11118 cat >> confdefs.h
<<\EOF
11119 #define wxUSE_DRAG_AND_DROP 1
11122 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
11126 if test "$wxUSE_SPLINES" = "yes" ; then
11127 cat >> confdefs.h
<<\EOF
11128 #define wxUSE_SPLINES 1
11134 if test "$wxUSE_ACCEL" = "yes"; then
11135 cat >> confdefs.h
<<\EOF
11136 #define wxUSE_ACCEL 1
11141 if test "$wxUSE_CARET" = "yes"; then
11142 cat >> confdefs.h
<<\EOF
11143 #define wxUSE_CARET 1
11146 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
11149 if test "$wxUSE_COMBOBOX" = "yes"; then
11150 cat >> confdefs.h
<<\EOF
11151 #define wxUSE_COMBOBOX 1
11156 if test "$wxUSE_CHOICE" = "yes"; then
11157 cat >> confdefs.h
<<\EOF
11158 #define wxUSE_CHOICE 1
11163 if test "$wxUSE_BMPBUTTON" = "yes"; then
11164 cat >> confdefs.h
<<\EOF
11165 #define wxUSE_BMPBUTTON 1
11170 if test "$wxUSE_CHECKBOX" = "yes"; then
11171 cat >> confdefs.h
<<\EOF
11172 #define wxUSE_CHECKBOX 1
11177 if test "$wxUSE_CHECKLST" = "yes"; then
11178 cat >> confdefs.h
<<\EOF
11179 #define wxUSE_CHECKLISTBOX 1
11182 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
11185 if test "$wxUSE_GAUGE" = "yes"; then
11186 cat >> confdefs.h
<<\EOF
11187 #define wxUSE_GAUGE 1
11192 if test "$wxUSE_GRID" = "yes"; then
11193 cat >> confdefs.h
<<\EOF
11194 #define wxUSE_GRID 1
11197 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
11200 if test "$wxUSE_IMAGLIST" = "yes"; then
11201 cat >> confdefs.h
<<\EOF
11202 #define wxUSE_IMAGLIST 1
11207 if test "$wxUSE_LISTBOX" = "yes"; then
11208 cat >> confdefs.h
<<\EOF
11209 #define wxUSE_LISTBOX 1
11214 if test "$wxUSE_LISTCTRL" = "yes"; then
11215 if test "$wxUSE_IMAGLIST" = "yes"; then
11216 cat >> confdefs.h
<<\EOF
11217 #define wxUSE_LISTCTRL 1
11220 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
11222 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
11226 if test "$wxUSE_NOTEBOOK" = "yes"; then
11227 cat >> confdefs.h
<<\EOF
11228 #define wxUSE_NOTEBOOK 1
11231 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
11234 if test "$wxUSE_RADIOBOX" = "yes"; then
11235 cat >> confdefs.h
<<\EOF
11236 #define wxUSE_RADIOBOX 1
11241 if test "$wxUSE_RADIOBTN" = "yes"; then
11242 cat >> confdefs.h
<<\EOF
11243 #define wxUSE_RADIOBTN 1
11248 if test "$wxUSE_SASH" = "yes"; then
11249 cat >> confdefs.h
<<\EOF
11250 #define wxUSE_SASH 1
11253 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
11256 if test "$wxUSE_SCROLLBAR" = "yes"; then
11257 cat >> confdefs.h
<<\EOF
11258 #define wxUSE_SCROLLBAR 1
11261 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
11264 if test "$wxUSE_SLIDER" = "yes"; then
11265 cat >> confdefs.h
<<\EOF
11266 #define wxUSE_SLIDER 1
11271 if test "$wxUSE_SPINBTN" = "yes"; then
11272 cat >> confdefs.h
<<\EOF
11273 #define wxUSE_SPINBTN 1
11278 if test "$wxUSE_SPLITTER" = "yes"; then
11279 cat >> confdefs.h
<<\EOF
11280 #define wxUSE_SPLITTER 1
11283 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
11286 if test "$wxUSE_STATBMP" = "yes"; then
11287 cat >> confdefs.h
<<\EOF
11288 #define wxUSE_STATBMP 1
11293 if test "$wxUSE_STATBOX" = "yes"; then
11294 cat >> confdefs.h
<<\EOF
11295 #define wxUSE_STATBOX 1
11300 if test "$wxUSE_STATLINE" = "yes"; then
11301 if test "$wxUSE_WINE" = 1 ; then
11302 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
11304 if test "$wxUSE_MOTIF" = 1 ; then
11305 echo "configure: warning: wxStaticLine is not supported under Motif" 1>&2
11307 cat >> confdefs.h
<<\EOF
11308 #define wxUSE_STATLINE 1
11315 if test "$wxUSE_STATUSBAR" = "yes"; then
11316 cat >> confdefs.h
<<\EOF
11317 #define wxUSE_STATUSBAR 1
11322 if test "$wxUSE_TABDIALOG" = "yes"; then
11323 cat >> confdefs.h
<<\EOF
11324 #define wxUSE_TAB_DIALOG 1
11327 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
11330 if test "$wxUSE_TOOLBAR" = "yes"; then
11331 cat >> confdefs.h
<<\EOF
11332 #define wxUSE_TOOLBAR 1
11335 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
11338 if test "$wxUSE_TOOLTIPS" = "yes"; then
11339 if test "$wxUSE_MOTIF" = 1; then
11340 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
11342 if test "$wxUSE_WINE" = 1; then
11343 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
11345 cat >> confdefs.h
<<\EOF
11346 #define wxUSE_TOOLTIPS 1
11353 if test "$wxUSE_TREECTRL" = "yes"; then
11354 if test "$wxUSE_IMAGLIST" = "yes"; then
11355 cat >> confdefs.h
<<\EOF
11356 #define wxUSE_TREECTRL 1
11359 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
11361 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
11367 if test "$wxUSE_METAFILE" = "yes"; then
11368 cat >> confdefs.h
<<\EOF
11369 #define wxUSE_METAFILE 1
11374 if test "$wxUSE_DIRDLG" = "yes"; then
11375 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11376 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
11378 if test "$wxUSE_TREECTRL" != "yes"; then
11379 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
11381 cat >> confdefs.h
<<\EOF
11382 #define wxUSE_DIRDLG 1
11389 if test "$wxUSE_TEXTDLG" = "yes"; then
11390 cat >> confdefs.h
<<\EOF
11391 #define wxUSE_TEXTDLG 1
11396 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
11397 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11398 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
11400 cat >> confdefs.h
<<\EOF
11401 #define wxUSE_STARTUP_TIPS 1
11407 if test "$wxUSE_PROGRESSDLG" = "yes"; then
11408 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11409 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
11411 cat >> confdefs.h
<<\EOF
11412 #define wxUSE_PROGRESSDLG 1
11418 if test "$wxUSE_MINIFRAME" = "yes"; then
11419 cat >> confdefs.h
<<\EOF
11420 #define wxUSE_MINIFRAME 1
11423 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
11426 if test "$wxUSE_HTML" = "yes"; then
11427 cat >> confdefs.h
<<\EOF
11428 #define wxUSE_HTML 1
11431 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
11432 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
11435 if test "$wxUSE_VALIDATORS" = "yes"; then
11436 cat >> confdefs.h
<<\EOF
11437 #define wxUSE_VALIDATORS 1
11440 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
11444 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
11446 EXTRA_LIBS
="$LIBS $POSIX4_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $GUILIBS"
11448 LIBS
="\${top_builddir}/src/${TOOLKIT_DIR}/${WX_LIBRARY_NAME} $EXTRA_LIBS"
11450 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
11452 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
11454 if test "$GXX" = yes ; then
11455 CXXWARNINGS
="-Wall"
11457 EXTRA_CFLAGS
="$WXDEBUG $PROFILE $OPTIMISE $INCLUDES"
11459 CPPFLAGS
="-I\${top_srcdir}/include $CPPFLAGS"
11460 CFLAGS
="$CFLAGS $EXTRA_CFLAGS"
11461 CXXFLAGS
="$CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS"
11463 if test "$wxUSE_GUI" = "yes"; then
11465 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
11466 forty fractal image wxpoem"
11469 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
11514 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
11515 echo "configure:11516: checking whether ${MAKE-make} sets \${MAKE}" >&5
11516 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
11517 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
11518 echo $ac_n "(cached) $ac_c" 1>&6
11520 cat > conftestmake
<<\EOF
11522 @
echo 'ac_maketemp="${MAKE}"'
11524 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
11525 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
11526 if test -n "$ac_maketemp"; then
11527 eval ac_cv_prog_make_
${ac_make}_set
=yes
11529 eval ac_cv_prog_make_
${ac_make}_set
=no
11533 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
11534 echo "$ac_t""yes" 1>&6
11537 echo "$ac_t""no" 1>&6
11538 SET_MAKE
="MAKE=${MAKE-make}"
11546 cat > confcache
<<\EOF
11547 # This file is a shell script that caches the results of configure
11548 # tests run on this system so they can be shared between configure
11549 # scripts and configure runs. It is not useful on other systems.
11550 # If it contains results you don't want to keep, you may remove or edit it.
11552 # By default, configure uses ./config.cache as the cache file,
11553 # creating it if it does not exist already. You can give configure
11554 # the --cache-file=FILE option to use a different cache file; that is
11555 # what configure does when it calls configure scripts in
11556 # subdirectories, so they share the cache.
11557 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11558 # config.status only pays attention to the cache file if you give it the
11559 # --recheck option to rerun configure.
11562 # The following way of writing the cache mishandles newlines in values,
11563 # but we know of no workaround that is simple, portable, and efficient.
11564 # So, don't put newlines in cache variables' values.
11565 # Ultrix sh set writes to stderr and can't be redirected directly,
11566 # and sets the high bit in the cache file unless we assign to the vars.
11568 case `(ac_space=' '; set) 2>&1` in
11570 # `set' does not quote correctly, so add quotes (double-quote substitution
11571 # turns \\\\ into \\, and sed turns \\ into \).
11573 -e "s/'/'\\\\''/g" \
11574 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11577 # `set' quotes correctly as required by POSIX, so do not add quotes.
11578 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11581 if cmp -s $cache_file confcache
; then
11584 if test -w $cache_file; then
11585 echo "updating cache $cache_file"
11586 cat confcache
> $cache_file
11588 echo "not updating unwritable cache $cache_file"
11593 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
11595 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
11596 # Let make expand exec_prefix.
11597 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
11599 # Any assignment to VPATH causes Sun make to only execute
11600 # the first set of double-colon rules, so remove it if not needed.
11601 # If there is a colon in the path, we need to keep it.
11602 if test "x$srcdir" = x.
; then
11603 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
11606 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
11608 DEFS
=-DHAVE_CONFIG_H
11610 # Without the "./", some shells look in PATH for config.status.
11611 : ${CONFIG_STATUS=./config.status}
11613 echo creating
$CONFIG_STATUS
11614 rm -f $CONFIG_STATUS
11615 cat > $CONFIG_STATUS <<EOF
11617 # Generated automatically by configure.
11618 # Run this file to recreate the current configuration.
11619 # This directory was configured as follows,
11620 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
11622 # $0 $ac_configure_args
11624 # Compiler output produced by configure, useful for debugging
11625 # configure, is in ./config.log if it exists.
11627 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
11630 case "\$ac_option" in
11631 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
11632 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
11633 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
11634 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
11635 echo "$CONFIG_STATUS generated by autoconf version 2.12"
11637 -help | --help | --hel | --he | --h)
11638 echo "\$ac_cs_usage"; exit 0 ;;
11639 *) echo "\$ac_cs_usage"; exit 1 ;;
11643 ac_given_srcdir=$srcdir
11644 ac_given_INSTALL="$INSTALL"
11646 trap 'rm -fr `echo "
11653 samples/bombs/Makefile
11654 samples/caret/Makefile
11655 samples/checklst/Makefile
11656 samples/config/Makefile
11657 samples/controls/Makefile
11658 samples/dialogs/Makefile
11659 samples/docview/Makefile
11660 samples/docvwmdi/Makefile
11661 samples/dnd/Makefile
11662 samples/drawing/Makefile
11663 samples/dynamic/Makefile
11664 samples/image/Makefile
11665 samples/layout/Makefile
11666 samples/listctrl/Makefile
11667 samples/mdi/Makefile
11668 samples/minifram/Makefile
11669 samples/minimal/Makefile
11670 samples/notebook/Makefile
11671 samples/printing/Makefile
11672 samples/proplist/Makefile
11673 samples/sashtest/Makefile
11674 samples/scroll/Makefile
11675 samples/splitter/Makefile
11676 samples/text/Makefile
11677 samples/thread/Makefile
11678 samples/toolbar/Makefile
11679 samples/treectrl/Makefile
11680 samples/typetest/Makefile
11681 samples/validate/Makefile
11682 samples/wxpoem/Makefile
11683 samples/wxsocket/Makefile
11684 samples/wizard/Makefile
11685 samples/html/Makefile
11686 samples/html/about/Makefile
11687 samples/html/help/Makefile
11688 samples/html/printing/Makefile
11689 samples/html/test/Makefile
11690 samples/html/zip/Makefile
11691 samples/html/virtual/Makefile
11692 samples/html/widget/Makefile
11694 utils/wxMMedia2/Makefile
11695 utils/wxMMedia2/lib/Makefile
11696 utils/wxMMedia2/sample/Makefile
11697 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
11699 cat >> $CONFIG_STATUS <<EOF
11701 # Protect against being on the right side of a sed subst in config.status.
11702 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
11703 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
11706 s%@CFLAGS@%$CFLAGS%g
11707 s%@CPPFLAGS@%$CPPFLAGS%g
11708 s%@CXXFLAGS@%$CXXFLAGS%g
11710 s%@LDFLAGS@%$LDFLAGS%g
11712 s%@exec_prefix@%$exec_prefix%g
11713 s%@prefix@%$prefix%g
11714 s%@program_transform_name@%$program_transform_name%g
11715 s%@bindir@%$bindir%g
11716 s%@sbindir@%$sbindir%g
11717 s%@libexecdir@%$libexecdir%g
11718 s%@datadir@%$datadir%g
11719 s%@sysconfdir@%$sysconfdir%g
11720 s%@sharedstatedir@%$sharedstatedir%g
11721 s%@localstatedir@%$localstatedir%g
11722 s%@libdir@%$libdir%g
11723 s%@includedir@%$includedir%g
11724 s%@oldincludedir@%$oldincludedir%g
11725 s%@infodir@%$infodir%g
11726 s%@mandir@%$mandir%g
11728 s%@host_alias@%$host_alias%g
11729 s%@host_cpu@%$host_cpu%g
11730 s%@host_vendor@%$host_vendor%g
11731 s%@host_os@%$host_os%g
11732 s%@target@%$target%g
11733 s%@target_alias@%$target_alias%g
11734 s%@target_cpu@%$target_cpu%g
11735 s%@target_vendor@%$target_vendor%g
11736 s%@target_os@%$target_os%g
11738 s%@build_alias@%$build_alias%g
11739 s%@build_cpu@%$build_cpu%g
11740 s%@build_vendor@%$build_vendor%g
11741 s%@build_os@%$build_os%g
11745 s%@CXXCPP@%$CXXCPP%g
11746 s%@RANLIB@%$RANLIB%g
11748 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
11749 s%@INSTALL_DATA@%$INSTALL_DATA%g
11753 s%@LEXLIB@%$LEXLIB%g
11755 s%@GTK_CONFIG@%$GTK_CONFIG%g
11756 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
11757 s%@GTK_LIBS@%$GTK_LIBS%g
11758 s%@X_CFLAGS@%$X_CFLAGS%g
11759 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
11760 s%@X_LIBS@%$X_LIBS%g
11761 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
11762 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
11763 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
11764 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
11765 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
11766 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
11767 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
11768 s%@WX_LIBRARY@%$WX_LIBRARY%g
11769 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
11770 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
11771 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
11772 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
11773 s%@WX_CREATE_LINKS@%$WX_CREATE_LINKS%g
11774 s%@WX_CREATE_INSTALLED_LINKS@%$WX_CREATE_INSTALLED_LINKS%g
11775 s%@SHARED_LD@%$SHARED_LD%g
11776 s%@PIC_FLAG@%$PIC_FLAG%g
11777 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
11778 s%@TOOLKIT@%$TOOLKIT%g
11779 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
11780 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
11781 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
11782 s%@GUIOBJS@%$GUIOBJS%g
11783 s%@GUIHEADERS@%$GUIHEADERS%g
11784 s%@COMMONOBJS@%$COMMONOBJS%g
11785 s%@GENERICOBJS@%$GENERICOBJS%g
11786 s%@UNIXOBJS@%$UNIXOBJS%g
11787 s%@GUIDIST@%$GUIDIST%g
11788 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
11789 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
11790 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
11791 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
11792 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
11793 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
11794 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
11795 s%@LD_LIBS@%$LD_LIBS%g
11796 s%@SET_MAKE@%$SET_MAKE%g
11801 cat >> $CONFIG_STATUS <<\EOF
11803 # Split the substitutions into bite-sized pieces for seds with
11804 # small command number limits, like on Digital OSF/1 and HP-UX.
11805 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
11806 ac_file
=1 # Number of current file.
11807 ac_beg
=1 # First line for current file.
11808 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
11811 while $ac_more_lines; do
11812 if test $ac_beg -gt 1; then
11813 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
11815 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
11817 if test ! -s conftest.s
$ac_file; then
11818 ac_more_lines
=false
11819 rm -f conftest.s
$ac_file
11821 if test -z "$ac_sed_cmds"; then
11822 ac_sed_cmds
="sed -f conftest.s$ac_file"
11824 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
11826 ac_file
=`expr $ac_file + 1`
11828 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
11831 if test -z "$ac_sed_cmds"; then
11836 cat >> $CONFIG_STATUS <<EOF
11838 CONFIG_FILES=\${CONFIG_FILES-"wx-config
11844 samples/bombs/Makefile
11845 samples/caret/Makefile
11846 samples/checklst/Makefile
11847 samples/config/Makefile
11848 samples/controls/Makefile
11849 samples/dialogs/Makefile
11850 samples/docview/Makefile
11851 samples/docvwmdi/Makefile
11852 samples/dnd/Makefile
11853 samples/drawing/Makefile
11854 samples/dynamic/Makefile
11855 samples/image/Makefile
11856 samples/layout/Makefile
11857 samples/listctrl/Makefile
11858 samples/mdi/Makefile
11859 samples/minifram/Makefile
11860 samples/minimal/Makefile
11861 samples/notebook/Makefile
11862 samples/printing/Makefile
11863 samples/proplist/Makefile
11864 samples/sashtest/Makefile
11865 samples/scroll/Makefile
11866 samples/splitter/Makefile
11867 samples/text/Makefile
11868 samples/thread/Makefile
11869 samples/toolbar/Makefile
11870 samples/treectrl/Makefile
11871 samples/typetest/Makefile
11872 samples/validate/Makefile
11873 samples/wxpoem/Makefile
11874 samples/wxsocket/Makefile
11875 samples/wizard/Makefile
11876 samples/html/Makefile
11877 samples/html/about/Makefile
11878 samples/html/help/Makefile
11879 samples/html/printing/Makefile
11880 samples/html/test/Makefile
11881 samples/html/zip/Makefile
11882 samples/html/virtual/Makefile
11883 samples/html/widget/Makefile
11885 utils/wxMMedia2/Makefile
11886 utils/wxMMedia2/lib/Makefile
11887 utils/wxMMedia2/sample/Makefile
11890 cat >> $CONFIG_STATUS <<\EOF
11891 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
11892 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11894 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
11895 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
11896 *) ac_file_in
="${ac_file}.in" ;;
11899 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
11901 # Remove last slash and all that follows it. Not all systems have dirname.
11902 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
11903 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
11904 # The file is in a subdirectory.
11905 test ! -d "$ac_dir" && mkdir "$ac_dir"
11906 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
11907 # A "../" for each directory in $ac_dir_suffix.
11908 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
11910 ac_dir_suffix
= ac_dots
=
11913 case "$ac_given_srcdir" in
11915 if test -z "$ac_dots"; then top_srcdir
=.
11916 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
11917 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
11918 *) # Relative path.
11919 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
11920 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
11923 case "$ac_given_INSTALL" in
11924 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
11925 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
11928 echo creating
"$ac_file"
11930 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
11932 *Makefile
*) ac_comsub
="1i\\
11933 # $configure_input" ;;
11937 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
11939 s%@configure_input@%$configure_input%g
11940 s%@srcdir@%$srcdir%g
11941 s%@top_srcdir@%$top_srcdir%g
11942 s%@INSTALL@%$INSTALL%g
11943 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
11947 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
11948 # NAME is the cpp macro being defined and VALUE is the value it is being given.
11950 # ac_d sets the value in "#define NAME VALUE" lines.
11951 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
11952 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
11955 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
11956 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11957 ac_uB
='\([ ]\)%\1#\2define\3'
11960 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
11961 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
11962 ac_eB
='$%\1#\2define\3'
11966 if test "${CONFIG_HEADERS+set}" != set; then
11968 cat >> $CONFIG_STATUS <<EOF
11969 CONFIG_HEADERS="setup.h:setup.h.in"
11971 cat >> $CONFIG_STATUS <<\EOF
11973 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
11974 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
11976 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
11977 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
11978 *) ac_file_in
="${ac_file}.in" ;;
11981 echo creating
$ac_file
11983 rm -f conftest.frag conftest.
in conftest.out
11984 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
11985 cat $ac_file_inputs > conftest.
in
11989 # Transform confdefs.h into a sed script conftest.vals that substitutes
11990 # the proper values into config.h.in to produce config.h. And first:
11991 # Protect against being on the right side of a sed subst in config.status.
11992 # Protect against being in an unquoted here document in config.status.
11993 rm -f conftest.vals
11994 cat > conftest.hdr
<<\EOF
11997 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12001 sed -n -f conftest.hdr confdefs.h > conftest.vals
12004 # This sed command replaces #undef with comments. This is necessary, for
12005 # example, in the case of _POSIX_SOURCE, which is predefined and required
12006 # on some systems where configure will not decide to define it.
12007 cat >> conftest.vals <<\EOF
12008 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12011 # Break up conftest.vals because some shells have a limit on
12012 # the size of here documents, and old seds have small limits too.
12014 rm -f conftest.tail
12017 ac_lines=`grep -c . conftest.vals
`
12018 # grep -c gives empty output for an empty file on some AIX systems.
12019 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12020 # Write a limited-size here document to conftest.frag.
12021 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12022 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12024 sed -f conftest.frag conftest.in > conftest.out
12026 mv conftest.out conftest.in
12027 ' >> $CONFIG_STATUS
12028 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12029 rm -f conftest.vals
12030 mv conftest.tail conftest.vals
12032 rm -f conftest.vals
12034 cat >> $CONFIG_STATUS <<\EOF
12035 rm -f conftest.frag conftest.h
12036 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12037 cat conftest.in >> conftest.h
12039 if cmp -s $ac_file conftest.h 2>/dev/null; then
12040 echo "$ac_file is unchanged"
12043 # Remove last slash and all that follows it. Not all systems have dirname.
12044 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12045 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12046 # The file is in a subdirectory.
12047 test ! -d "$ac_dir" && mkdir "$ac_dir"
12050 mv conftest.h $ac_file
12055 cat >> $CONFIG_STATUS <<EOF
12057 LN_S="${ac_cv_prog_LN_S}"
12058 TOOLKIT_DIR="${TOOLKIT_DIR}"
12062 cat >> $CONFIG_STATUS <<\EOF
12065 if test ! -d include; then
12068 if test ! -d include/wx; then
12071 if test ! -d include/wx/${TOOLKIT_DIR}; then
12072 mkdir include/wx/${TOOLKIT_DIR}
12074 cp -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
12078 chmod +x $CONFIG_STATUS
12079 rm -fr confdefs* $ac_clean_files
12080 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1