3 # From configure.in Id: configure.in
40 # Guess values for system-dependent variables and create Makefiles.
41 # Generated automatically using autoconf version 2.13
42 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
44 # This configure script is free software; the Free Software Foundation
45 # gives unlimited permission to copy, distribute and modify it.
49 ac_default_prefix
=/usr
/local
50 # Any additions from configure.in:
52 --enable-gui use GUI classes"
56 --with-motif use Motif/Lesstif"
60 --with-cygwin use Cygwin for MS-Windows"
62 --with-mingw use GCC Minimal MS-Windows"
64 --with-gtk-prefix=PFX Prefix where GTK is installed"
66 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
68 --with-libpng use libpng (PNG image format)"
70 --with-libjpeg use libjpeg (JPEG file format)"
72 --with-libtiff use libtiff (TIFF file format)"
74 --with-opengl use OpenGL (or Mesa)"
76 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
78 --with-zlib use zlib for LZW compression"
80 --with-odbc use the IODBC and wxODBC classes"
82 --enable-shared create shared library code"
84 --enable-optimise create optimised code"
86 --enable-debug same as debug_flag and debug_info"
88 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
90 --enable-debug_info create code with debugging information"
92 --enable-debug_gdb create code with extra GDB debugging information"
94 --enable-debug_cntxt use wxDebugContext"
96 --enable-mem_tracing create code with memory tracing"
98 --enable-profile create code with profiling information"
100 --enable-no_rtti create code without RTTI information"
102 --enable-no_exceptions create code without exceptions information"
104 --enable-permissive compile code disregarding strict ANSI"
106 --enable-no_deps create code without dependency information"
108 --enable-intl use internationalization system"
110 --enable-config use wxConfig (and derived) classes"
112 --enable-sockets use socket/network classes"
114 --enable-dialupman use dialup network classes"
116 --enable-ipc use interprocess communication (wxSocket etc.)"
118 --enable-apple_ieee use the Apple IEEE codec"
120 --enable-timedate use date/time classes"
122 --enable-wave use wxWave class"
124 --enable-fraction use wxFraction class"
126 --enable-dynlib use wxLibrary class for DLL loading"
128 --enable-longlong use wxLongLong class"
130 --enable-log use logging system"
132 --enable-streams use wxStream etc classes"
134 --enable-file use wxFile classes"
136 --enable-textfile use wxTextFile classes"
138 --enable-unicode compile wxString with Unicode support"
140 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
142 --enable-wxprintfv use wxWindows implementation of vprintf()"
144 --enable-joystick compile in joystick support (Linux only)"
146 --enable-std_iostreams use standard C++ stream classes"
148 --enable-fs_inet use virtual HTTP/FTP filesystems"
150 --enable-fs_zip use virtual ZIP filesystems"
152 --enable-zipstream use wxZipInputStream"
154 --enable-threads use threads"
156 --enable-serial use class serialization"
158 --enable-docview use document view architecture"
160 --enable-help use help (using external browser at present)"
162 --enable-constraints use layout-constraints system"
164 --enable-printarch use printing architecture"
166 --enable-mdi use multiple document interface architecture"
168 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
170 --enable-prologio use Prolog IO library"
172 --enable-resources use wxWindows resources"
174 --enable-xresources use X resources for save (default for gtk+)"
176 --enable-clipboard use wxClipboard classes"
178 --enable-dnd use Drag'n'Drop classes"
180 --enable-wxtree make wxTree library"
182 --enable-controls use all usual controls"
184 --enable-accel use accelerators"
186 --enable-caret use wxCaret class"
188 --enable-bmpbutton use wxBitmapButton class"
190 --enable-checkbox use wxCheckBox class"
192 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
194 --enable-choice use wxChoice class"
196 --enable-combobox use wxComboBox classes"
198 --enable-gauge use wxGauge class"
200 --enable-grid use wxGrid class"
202 --enable-newgrid use new wxGrid class"
204 --enable-imaglist use wxImageList class"
206 --enable-listbox use wxListBox class"
208 --enable-listctrl use wxListCtrl class"
210 --enable-notebook use wxNotebook class"
212 --enable-radiobox use wxRadioBox class"
214 --enable-radiobtn use wxRadioButton class"
216 --enable-sash use wxSashWindow class"
218 --enable-scrollbar use wxScrollBar class and scrollable windows"
220 --enable-slider use wxSlider class"
222 --enable-spinbtn use wxSpinButton class"
224 --enable-spinctrl use wxSpinCtrl class"
226 --enable-splitter use wxSplitterWindow class"
228 --enable-statbmp use wxStaticBitmap class"
230 --enable-statbox use wxStaticBox class"
232 --enable-statline use wxStaticLine class"
234 --enable-statusbar use wxStatusBar class"
236 --enable-tabdialog use wxTabControl class"
238 --enable-toolbar use wxToolBar class"
240 --enable-tbarnative use native wxToolBar class"
242 --enable-tbarsmpl use wxToolBarSimple class"
244 --enable-treectrl use wxTreeCtrl class"
246 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
248 --enable-dirdlg use wxDirDialog"
250 --enable-textdlg use wxTextDialog"
252 --enable-tipdlg use startup tips"
254 --enable-progressdlg use wxProgressDialog"
256 --enable-miniframe use wxMiniFrame class"
258 --enable-html use wxHTML sub-library"
260 --enable-tooltips use wxToolTip class"
262 --enable-splines use spline drawing code"
264 --enable-validators use wxValidator and derived classes"
266 --enable-busyinfo use wxBusyInfo"
268 --enable-gif use gif images (GIF file format)"
270 --enable-pcx use pcx images (PCX file format)"
272 --enable-pnm use pnm images (PNM file format)"
274 --with-x use the X Window System"
276 # Initialize some variables set by options.
277 # The variables have the same names as the options, with
278 # dashes changed to underlines.
280 cache_file
=.
/config.cache
289 program_transform_name
=s
,x
,x
,
297 bindir
='${exec_prefix}/bin'
298 sbindir
='${exec_prefix}/sbin'
299 libexecdir
='${exec_prefix}/libexec'
300 datadir
='${prefix}/share'
301 sysconfdir
='${prefix}/etc'
302 sharedstatedir
='${prefix}/com'
303 localstatedir
='${prefix}/var'
304 libdir
='${exec_prefix}/lib'
305 includedir
='${prefix}/include'
306 oldincludedir
='/usr/include'
307 infodir
='${prefix}/info'
308 mandir
='${prefix}/man'
310 # Initialize some other variables.
313 SHELL
=${CONFIG_SHELL-/bin/sh}
314 # Maximum number of lines to put in a shell here document.
321 # If the previous option needs an argument, assign it.
322 if test -n "$ac_prev"; then
323 eval "$ac_prev=\$ac_option"
329 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
333 # Accept the important Cygnus configure options, so we can diagnose typos.
337 -bindir | --bindir | --bindi | --bind | --bin | --bi)
339 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
340 bindir
="$ac_optarg" ;;
342 -build | --build | --buil | --bui | --bu)
344 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
345 build
="$ac_optarg" ;;
347 -cache-file | --cache-file | --cache-fil | --cache-fi \
348 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
349 ac_prev
=cache_file
;;
350 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
351 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
352 cache_file
="$ac_optarg" ;;
354 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
356 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
358 datadir
="$ac_optarg" ;;
360 -disable-* | --disable-*)
361 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
362 # Reject names that are not valid shell variable names.
363 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
364 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
366 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
367 eval "enable_${ac_feature}=no" ;;
369 -enable-* | --enable-*)
370 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
371 # Reject names that are not valid shell variable names.
372 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
373 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
375 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
380 eval "enable_${ac_feature}='$ac_optarg'" ;;
382 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
383 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
384 | --exec | --exe | --ex)
385 ac_prev
=exec_prefix
;;
386 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
387 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
388 | --exec=* | --exe=* | --ex=*)
389 exec_prefix
="$ac_optarg" ;;
391 -gas | --gas | --ga | --g)
392 # Obsolete; use --with-gas.
395 -help | --help | --hel | --he)
396 # Omit some internal or obsolete options to make the list less imposing.
397 # This message is too long to be a string in the A/UX 3.1 sh.
399 Usage: configure [options] [host]
400 Options: [defaults in brackets after descriptions]
402 --cache-file=FILE cache test results in FILE
403 --help print this message
404 --no-create do not create output files
405 --quiet, --silent do not print \`checking...' messages
406 --version print the version of autoconf that created configure
407 Directory and file names:
408 --prefix=PREFIX install architecture-independent files in PREFIX
410 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
412 --bindir=DIR user executables in DIR [EPREFIX/bin]
413 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
414 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
415 --datadir=DIR read-only architecture-independent data in DIR
417 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
418 --sharedstatedir=DIR modifiable architecture-independent data in DIR
420 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
421 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
422 --includedir=DIR C header files in DIR [PREFIX/include]
423 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
424 --infodir=DIR info documentation in DIR [PREFIX/info]
425 --mandir=DIR man documentation in DIR [PREFIX/man]
426 --srcdir=DIR find the sources in DIR [configure dir or ..]
427 --program-prefix=PREFIX prepend PREFIX to installed program names
428 --program-suffix=SUFFIX append SUFFIX to installed program names
429 --program-transform-name=PROGRAM
430 run sed PROGRAM on installed program names
434 --build=BUILD configure for building on BUILD [BUILD=HOST]
435 --host=HOST configure for HOST [guessed]
436 --target=TARGET configure for TARGET [TARGET=HOST]
437 Features and packages:
438 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
439 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
440 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
441 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
442 --x-includes=DIR X include files are in DIR
443 --x-libraries=DIR X library files are in DIR
445 if test -n "$ac_help"; then
446 echo "--enable and --with options recognized:$ac_help"
450 -host | --host | --hos | --ho)
452 -host=* | --host=* | --hos=* | --ho=*)
455 -includedir | --includedir | --includedi | --included | --include \
456 | --includ | --inclu | --incl | --inc)
457 ac_prev
=includedir
;;
458 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
459 | --includ=* | --inclu=* | --incl=* | --inc=*)
460 includedir
="$ac_optarg" ;;
462 -infodir | --infodir | --infodi | --infod | --info | --inf)
464 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
465 infodir
="$ac_optarg" ;;
467 -libdir | --libdir | --libdi | --libd)
469 -libdir=* | --libdir=* | --libdi=* | --libd=*)
470 libdir
="$ac_optarg" ;;
472 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
473 | --libexe | --libex | --libe)
474 ac_prev
=libexecdir
;;
475 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
476 | --libexe=* | --libex=* | --libe=*)
477 libexecdir
="$ac_optarg" ;;
479 -localstatedir | --localstatedir | --localstatedi | --localstated \
480 | --localstate | --localstat | --localsta | --localst \
481 | --locals | --local | --loca | --loc | --lo)
482 ac_prev
=localstatedir
;;
483 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
484 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
485 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
486 localstatedir
="$ac_optarg" ;;
488 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
490 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
491 mandir
="$ac_optarg" ;;
494 # Obsolete; use --without-fp.
497 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
501 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
502 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
505 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
506 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
507 | --oldin | --oldi | --old | --ol | --o)
508 ac_prev
=oldincludedir
;;
509 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
510 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
511 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
512 oldincludedir
="$ac_optarg" ;;
514 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
516 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
517 prefix
="$ac_optarg" ;;
519 -program-prefix | --program-prefix | --program-prefi | --program-pref \
520 | --program-pre | --program-pr | --program-p)
521 ac_prev
=program_prefix
;;
522 -program-prefix=* | --program-prefix=* | --program-prefi=* \
523 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
524 program_prefix
="$ac_optarg" ;;
526 -program-suffix | --program-suffix | --program-suffi | --program-suff \
527 | --program-suf | --program-su | --program-s)
528 ac_prev
=program_suffix
;;
529 -program-suffix=* | --program-suffix=* | --program-suffi=* \
530 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
531 program_suffix
="$ac_optarg" ;;
533 -program-transform-name | --program-transform-name \
534 | --program-transform-nam | --program-transform-na \
535 | --program-transform-n | --program-transform- \
536 | --program-transform | --program-transfor \
537 | --program-transfo | --program-transf \
538 | --program-trans | --program-tran \
539 | --progr-tra | --program-tr | --program-t)
540 ac_prev
=program_transform_name
;;
541 -program-transform-name=* | --program-transform-name=* \
542 | --program-transform-nam=* | --program-transform-na=* \
543 | --program-transform-n=* | --program-transform-=* \
544 | --program-transform=* | --program-transfor=* \
545 | --program-transfo=* | --program-transf=* \
546 | --program-trans=* | --program-tran=* \
547 | --progr-tra=* | --program-tr=* | --program-t=*)
548 program_transform_name
="$ac_optarg" ;;
550 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
551 | -silent | --silent | --silen | --sile | --sil)
554 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
556 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
558 sbindir
="$ac_optarg" ;;
560 -sharedstatedir | --sharedstatedir | --sharedstatedi \
561 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
562 | --sharedst | --shareds | --shared | --share | --shar \
564 ac_prev
=sharedstatedir
;;
565 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
566 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
567 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
569 sharedstatedir
="$ac_optarg" ;;
571 -site | --site | --sit)
573 -site=* | --site=* | --sit=*)
576 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
578 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
579 srcdir
="$ac_optarg" ;;
581 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
582 | --syscon | --sysco | --sysc | --sys | --sy)
583 ac_prev
=sysconfdir
;;
584 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
585 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
586 sysconfdir
="$ac_optarg" ;;
588 -target | --target | --targe | --targ | --tar | --ta | --t)
590 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
591 target
="$ac_optarg" ;;
593 -v | -verbose | --verbose | --verbos | --verbo | --verb)
596 -version | --version | --versio | --versi | --vers)
597 echo "configure generated by autoconf version 2.13"
601 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
602 # Reject names that are not valid shell variable names.
603 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
604 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
606 ac_package
=`echo $ac_package| sed 's/-/_/g'`
611 eval "with_${ac_package}='$ac_optarg'" ;;
613 -without-* | --without-*)
614 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
615 # Reject names that are not valid shell variable names.
616 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
617 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
619 ac_package
=`echo $ac_package| sed 's/-/_/g'`
620 eval "with_${ac_package}=no" ;;
623 # Obsolete; use --with-x.
626 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
627 | --x-incl | --x-inc | --x-in | --x-i)
628 ac_prev
=x_includes
;;
629 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
630 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
631 x_includes
="$ac_optarg" ;;
633 -x-libraries | --x-libraries | --x-librarie | --x-librari \
634 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
635 ac_prev
=x_libraries
;;
636 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
637 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
638 x_libraries
="$ac_optarg" ;;
640 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
644 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
645 echo "configure: warning: $ac_option: invalid host type" 1>&2
647 if test "x$nonopt" != xNONE
; then
648 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
656 if test -n "$ac_prev"; then
657 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
660 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
662 # File descriptor usage:
665 # 2 errors and warnings
666 # 3 some systems may open it to /dev/tty
667 # 4 used on the Kubota Titan
668 # 6 checking for... messages and results
669 # 5 compiler messages saved in config.log
670 if test "$silent" = yes; then
678 This file contains any messages produced by compilers while
679 running configure, to aid debugging if configure makes a mistake.
682 # Strip out --no-create and --no-recursion so they do not pile up.
683 # Also quote any args containing shell metacharacters.
688 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
689 | --no-cr | --no-c) ;;
690 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
691 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
692 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
693 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
694 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
699 # Only set these to C if already set. These must not be set unconditionally
700 # because not all systems understand e.g. LANG=C (notably SCO).
701 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
702 # Non-C LC_CTYPE values break the ctype check.
703 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
704 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
705 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
706 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
708 # confdefs.h avoids OS command line length limits that DEFS can exceed.
709 rm -rf conftest
* confdefs.h
710 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
713 # A filename unique to this package, relative to the directory that
714 # configure is in, which we can look for to find out if srcdir is correct.
715 ac_unique_file
=wx
-config.
in
717 # Find the source files, if location was not specified.
718 if test -z "$srcdir"; then
719 ac_srcdir_defaulted
=yes
720 # Try the directory containing this script, then its parent.
722 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
723 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
725 if test ! -r $srcdir/$ac_unique_file; then
729 ac_srcdir_defaulted
=no
731 if test ! -r $srcdir/$ac_unique_file; then
732 if test "$ac_srcdir_defaulted" = yes; then
733 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
735 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
738 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
740 # Prefer explicitly selected file to automatically selected ones.
741 if test -z "$CONFIG_SITE"; then
742 if test "x$prefix" != xNONE
; then
743 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
745 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
748 for ac_site_file
in $CONFIG_SITE; do
749 if test -r "$ac_site_file"; then
750 echo "loading site script $ac_site_file"
755 if test -r "$cache_file"; then
756 echo "loading cache $cache_file"
759 echo "creating cache $cache_file"
764 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
765 ac_cpp
='$CPP $CPPFLAGS'
766 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
767 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
768 cross_compiling
=$ac_cv_prog_cc_cross
772 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
773 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
774 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
781 ac_n
= ac_c
='\c' ac_t
=
787 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
788 if test -f $ac_dir/install-sh; then
790 ac_install_sh
="$ac_aux_dir/install-sh -c"
792 elif test -f $ac_dir/install.sh
; then
794 ac_install_sh
="$ac_aux_dir/install.sh -c"
798 if test -z "$ac_aux_dir"; then
799 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
801 ac_config_guess
=$ac_aux_dir/config.guess
802 ac_config_sub
=$ac_aux_dir/config.sub
803 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
806 # Do some error checking and defaulting for the host and target type.
808 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
811 # 1. You are not allowed to specify --host, --target, and nonopt at the
813 # 2. Host defaults to nonopt.
814 # 3. If nonopt is not specified, then host defaults to the current host,
815 # as determined by config.guess.
816 # 4. Target and build default to nonopt.
817 # 5. If nonopt is not specified, then target and build default to host.
819 # The aliases save the names the user supplied, while $host etc.
820 # will get canonicalized.
821 case $host---$target---$nonopt in
822 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
823 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
827 # Make sure we can run config.sub.
828 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
829 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
832 echo $ac_n "checking host system type""... $ac_c" 1>&6
833 echo "configure:834: checking host system type" >&5
836 case "$host_alias" in
840 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
841 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
843 *) host_alias
=$nonopt ;;
847 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
848 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
849 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
850 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
851 echo "$ac_t""$host" 1>&6
853 echo $ac_n "checking target system type""... $ac_c" 1>&6
854 echo "configure:855: checking target system type" >&5
857 case "$target_alias" in
860 NONE
) target_alias
=$host_alias ;;
861 *) target_alias
=$nonopt ;;
865 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
866 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
867 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
868 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
869 echo "$ac_t""$target" 1>&6
871 echo $ac_n "checking build system type""... $ac_c" 1>&6
872 echo "configure:873: checking build system type" >&5
875 case "$build_alias" in
878 NONE
) build_alias
=$host_alias ;;
879 *) build_alias
=$nonopt ;;
883 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
884 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
885 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
886 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
887 echo "$ac_t""$build" 1>&6
889 test "$host_alias" != "$target_alias" &&
890 test "$program_prefix$program_suffix$program_transform_name" = \
892 program_prefix
=${target_alias}-
896 WX_MAJOR_VERSION_NUMBER
=2
897 WX_MINOR_VERSION_NUMBER
=1
903 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
905 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
906 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
907 WX_REVISION
=$WX_INTERFACE_AGE
908 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
934 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
936 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
939 DEFAULT_wxUSE_MOTIF
=0
943 DEFAULT_DEFAULT_wxUSE_GTK
=0
944 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
945 DEFAULT_DEFAULT_wxUSE_MSW
=0
946 DEFAULT_DEFAULT_wxUSE_WINE
=0
951 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
952 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
953 cat >> confdefs.h
<<\EOF
960 cat >> confdefs.h
<<\EOF
965 if test "x$TMP" = "xalpha"; then
967 cat >> confdefs.h
<<\EOF
972 DEFAULT_DEFAULT_wxUSE_GTK
=1
974 *-*-irix5* | *-*-irix6* )
977 cat >> confdefs.h
<<\EOF
981 cat >> confdefs.h
<<\EOF
985 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
991 cat >> confdefs.h
<<\EOF
995 cat >> confdefs.h
<<\EOF
996 #define __SOLARIS__ 1
999 cat >> confdefs.h
<<\EOF
1003 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1004 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1010 cat >> confdefs.h
<<\EOF
1014 cat >> confdefs.h
<<\EOF
1018 cat >> confdefs.h
<<\EOF
1022 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1024 *-*-freebsd* | *-*-netbsd*)
1027 cat >> confdefs.h
<<\EOF
1028 #define __FREEBSD__ 1
1031 cat >> confdefs.h
<<\EOF
1035 DEFAULT_DEFAULT_wxUSE_GTK
=1
1040 cat >> confdefs.h
<<\EOF
1044 cat >> confdefs.h
<<\EOF
1048 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1053 cat >> confdefs.h
<<\EOF
1057 cat >> confdefs.h
<<\EOF
1061 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1066 cat >> confdefs.h
<<\EOF
1070 cat >> confdefs.h
<<\EOF
1074 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1080 cat >> confdefs.h
<<\EOF
1084 cat >> confdefs.h
<<\EOF
1088 cat >> confdefs.h
<<\EOF
1092 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1095 *-*-cygwin32* | *-*-mingw32* )
1098 cat >> confdefs.h
<<\EOF
1102 cat >> confdefs.h
<<\EOF
1106 cat >> confdefs.h
<<\EOF
1107 #define __WINDOWS__ 1
1110 cat >> confdefs.h
<<\EOF
1111 #define __GNUWIN32__ 1
1114 cat >> confdefs.h
<<\EOF
1118 cat >> confdefs.h
<<\EOF
1119 #define WINVER 0x0400
1122 DEFAULT_DEFAULT_wxUSE_MSW
=1
1126 cat >> confdefs.h
<<\EOF
1134 cat >> confdefs.h
<<\EOF
1141 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1144 if test "$USE_UNIX" = 1 ; then
1146 cat >> confdefs.h
<<\EOF
1151 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1152 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1155 if test "$USE_BEOS" = 1; then
1156 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1157 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1160 if test "$USE_LINUX" = 1; then
1161 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1162 echo "configure:1163: checking for gettext in -lc" >&5
1163 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1164 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1165 echo $ac_n "(cached) $ac_c" 1>&6
1167 ac_save_LIBS
="$LIBS"
1169 cat > conftest.
$ac_ext <<EOF
1170 #line 1171 "configure"
1171 #include "confdefs.h"
1172 /* Override any gcc2 internal prototype to avoid an error. */
1173 /* We use char because int might match the return type of a gcc2
1174 builtin and then its argument prototype would still apply. */
1181 if { (eval echo configure
:1182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1183 eval "ac_cv_lib_$ac_lib_var=yes"
1185 echo "configure: failed program was:" >&5
1186 cat conftest.
$ac_ext >&5
1188 eval "ac_cv_lib_$ac_lib_var=no"
1191 LIBS
="$ac_save_LIBS"
1194 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1195 echo "$ac_t""yes" 1>&6
1196 cat >> confdefs.h
<<\EOF
1197 #define wxHAVE_GLIBC2 1
1201 echo "$ac_t""no" 1>&6
1209 wx_arg_cache_file
="configarg.cache"
1210 echo "loading argument cache $wx_arg_cache_file"
1211 rm -f ${wx_arg_cache_file}.tmp
1212 touch ${wx_arg_cache_file}.tmp
1213 touch ${wx_arg_cache_file}
1217 if test $DEBUG_CONFIGURE = 1; then
1218 DEFAULT_wxUSE_THREADS
=yes
1220 DEFAULT_wxUSE_SHARED
=yes
1221 DEFAULT_wxUSE_OPTIMISE
=yes
1222 DEFAULT_wxUSE_PROFILE
=no
1223 DEFAULT_wxUSE_NO_DEPS
=no
1224 DEFAULT_wxUSE_NO_RTTI
=no
1225 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1226 DEFAULT_wxUSE_PERMISSIVE
=no
1227 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1228 DEFAULT_wxUSE_DEBUG_INFO
=yes
1229 DEFAULT_wxUSE_DEBUG_GDB
=yes
1230 DEFAULT_wxUSE_MEM_TRACING
=no
1231 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1232 DEFAULT_wxUSE_DMALLOC
=no
1233 DEFAULT_wxUSE_APPLE_IEEE
=no
1235 DEFAULT_wxUSE_LOG
=yes
1237 DEFAULT_wxUSE_GUI
=yes
1239 DEFAULT_wxUSE_ZLIB
=no
1240 DEFAULT_wxUSE_LIBPNG
=no
1241 DEFAULT_wxUSE_LIBJPEG
=no
1242 DEFAULT_wxUSE_LIBTIFF
=no
1243 DEFAULT_wxUSE_ODBC
=no
1245 DEFAULT_wxUSE_STD_IOSTREAM
=no
1246 DEFAULT_wxUSE_FILE
=no
1247 DEFAULT_wxUSE_TEXTFILE
=no
1248 DEFAULT_wxUSE_TIMEDATE
=no
1249 DEFAULT_wxUSE_WAVE
=no
1250 DEFAULT_wxUSE_INTL
=no
1251 DEFAULT_wxUSE_CONFIG
=no
1252 DEFAULT_wxUSE_STREAMS
=no
1253 DEFAULT_wxUSE_SOCKETS
=no
1254 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1255 DEFAULT_wxUSE_SERIAL
=no
1256 DEFAULT_wxUSE_JOYSTICK
=no
1257 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1258 DEFAULT_wxUSE_LONGLONG
=no
1260 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1261 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1262 DEFAULT_wxUSE_POSTSCRIPT
=no
1264 DEFAULT_wxUSE_X_RESOURCES
=no
1265 DEFAULT_wxUSE_CLIPBOARD
=no
1266 DEFAULT_wxUSE_TOOLTIPS
=no
1267 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1268 DEFAULT_wxUSE_SPLINES
=no
1270 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1271 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1272 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1274 DEFAULT_wxUSE_PROLOGIO
=no
1275 DEFAULT_wxUSE_RESOURCES
=no
1276 DEFAULT_wxUSE_CONSTRAINTS
=no
1277 DEFAULT_wxUSE_IPC
=no
1278 DEFAULT_wxUSE_HELP
=no
1279 DEFAULT_wxUSE_WXTREE
=no
1280 DEFAULT_wxUSE_METAFILE
=no
1282 DEFAULT_wxUSE_COMMONDLGS
=no
1283 DEFAULT_wxUSE_DIRDLG
=no
1284 DEFAULT_wxUSE_TEXTDLG
=no
1285 DEFAULT_wxUSE_STARTUP_TIPS
=no
1286 DEFAULT_wxUSE_PROGRESSDLG
=no
1287 DEFAULT_wxUSE_MINIFRAME
=no
1288 DEFAULT_wxUSE_HTML
=no
1289 DEFAULT_wxUSE_FS_INET
=no
1290 DEFAULT_wxUSE_FS_ZIP
=no
1291 DEFAULT_wxUSE_BUSYINFO
=no
1292 DEFAULT_wxUSE_ZIPSTREAM
=no
1293 DEFAULT_wxUSE_VALIDATORS
=yes
1295 DEFAULT_wxUSE_ACCEL
=no
1296 DEFAULT_wxUSE_CARET
=no
1297 DEFAULT_wxUSE_BMPBUTTON
=no
1298 DEFAULT_wxUSE_CHECKBOX
=no
1299 DEFAULT_wxUSE_CHECKLST
=no
1300 DEFAULT_wxUSE_CHOICE
=yes
1301 DEFAULT_wxUSE_COMBOBOX
=no
1302 DEFAULT_wxUSE_GAUGE
=no
1303 DEFAULT_wxUSE_GRID
=no
1304 DEFAULT_wxUSE_NEW_GRID
=no
1305 DEFAULT_wxUSE_IMAGLIST
=no
1306 DEFAULT_wxUSE_LISTBOX
=no
1307 DEFAULT_wxUSE_LISTCTRL
=no
1308 DEFAULT_wxUSE_NOTEBOOK
=no
1309 DEFAULT_wxUSE_RADIOBOX
=no
1310 DEFAULT_wxUSE_RADIOBTN
=no
1311 DEFAULT_wxUSE_SASH
=no
1312 DEFAULT_wxUSE_SCROLLBAR
=no
1313 DEFAULT_wxUSE_SLIDER
=no
1314 DEFAULT_wxUSE_SPINBTN
=no
1315 DEFAULT_wxUSE_SPINCTRL
=no
1316 DEFAULT_wxUSE_SPLITTER
=no
1317 DEFAULT_wxUSE_STATBMP
=no
1318 DEFAULT_wxUSE_STATBOX
=no
1319 DEFAULT_wxUSE_STATLINE
=no
1320 DEFAULT_wxUSE_STATUSBAR
=yes
1321 DEFAULT_wxUSE_TABDIALOG
=no
1322 DEFAULT_wxUSE_TOOLBAR
=no
1323 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1324 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1325 DEFAULT_wxUSE_TREECTRL
=no
1327 DEFAULT_wxUSE_UNICODE
=no
1328 DEFAULT_wxUSE_WCSRTOMBS
=no
1330 DEFAULT_wxUSE_GIF
=no
1331 DEFAULT_wxUSE_PCX
=no
1332 DEFAULT_wxUSE_PNM
=no
1334 DEFAULT_wxUSE_THREADS
=yes
1336 DEFAULT_wxUSE_SHARED
=yes
1337 DEFAULT_wxUSE_OPTIMISE
=yes
1338 DEFAULT_wxUSE_PROFILE
=no
1339 DEFAULT_wxUSE_NO_DEPS
=no
1340 DEFAULT_wxUSE_NO_RTTI
=no
1341 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1342 DEFAULT_wxUSE_PERMISSIVE
=no
1343 DEFAULT_wxUSE_DEBUG_FLAG
=no
1344 DEFAULT_wxUSE_DEBUG_INFO
=no
1345 DEFAULT_wxUSE_DEBUG_GDB
=no
1346 DEFAULT_wxUSE_MEM_TRACING
=no
1347 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1348 DEFAULT_wxUSE_DMALLOC
=no
1349 DEFAULT_wxUSE_APPLE_IEEE
=yes
1351 DEFAULT_wxUSE_LOG
=yes
1353 DEFAULT_wxUSE_GUI
=yes
1355 DEFAULT_wxUSE_ZLIB
=yes
1356 DEFAULT_wxUSE_LIBPNG
=yes
1357 DEFAULT_wxUSE_LIBJPEG
=yes
1358 DEFAULT_wxUSE_LIBTIFF
=yes
1359 DEFAULT_wxUSE_ODBC
=yes
1361 DEFAULT_wxUSE_STD_IOSTREAM
=no
1362 DEFAULT_wxUSE_FILE
=yes
1363 DEFAULT_wxUSE_TEXTFILE
=yes
1364 DEFAULT_wxUSE_TIMEDATE
=yes
1365 DEFAULT_wxUSE_WAVE
=no
1366 DEFAULT_wxUSE_INTL
=yes
1367 DEFAULT_wxUSE_CONFIG
=yes
1368 DEFAULT_wxUSE_STREAMS
=yes
1369 DEFAULT_wxUSE_SOCKETS
=yes
1370 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1371 DEFAULT_wxUSE_SERIAL
=yes
1372 DEFAULT_wxUSE_JOYSTICK
=yes
1373 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1374 DEFAULT_wxUSE_LONGLONG
=yes
1376 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1377 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1378 DEFAULT_wxUSE_POSTSCRIPT
=yes
1380 DEFAULT_wxUSE_X_RESOURCES
=no
1381 DEFAULT_wxUSE_CLIPBOARD
=yes
1382 DEFAULT_wxUSE_TOOLTIPS
=yes
1383 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1384 DEFAULT_wxUSE_SPLINES
=yes
1386 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1387 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1388 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1390 DEFAULT_wxUSE_PROLOGIO
=yes
1391 DEFAULT_wxUSE_RESOURCES
=yes
1392 DEFAULT_wxUSE_CONSTRAINTS
=yes
1393 DEFAULT_wxUSE_IPC
=yes
1394 DEFAULT_wxUSE_HELP
=yes
1395 DEFAULT_wxUSE_WXTREE
=yes
1396 DEFAULT_wxUSE_METAFILE
=yes
1398 DEFAULT_wxUSE_COMMONDLGS
=yes
1399 DEFAULT_wxUSE_DIRDLG
=yes
1400 DEFAULT_wxUSE_TEXTDLG
=yes
1401 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1402 DEFAULT_wxUSE_PROGRESSDLG
=yes
1403 DEFAULT_wxUSE_MINIFRAME
=yes
1404 DEFAULT_wxUSE_HTML
=yes
1405 DEFAULT_wxUSE_FS_INET
=yes
1406 DEFAULT_wxUSE_FS_ZIP
=yes
1407 DEFAULT_wxUSE_BUSYINFO
=yes
1408 DEFAULT_wxUSE_ZIPSTREAM
=yes
1409 DEFAULT_wxUSE_VALIDATORS
=yes
1411 DEFAULT_wxUSE_ACCEL
=yes
1412 DEFAULT_wxUSE_CARET
=yes
1413 DEFAULT_wxUSE_BMPBUTTON
=yes
1414 DEFAULT_wxUSE_CHECKBOX
=yes
1415 DEFAULT_wxUSE_CHECKLST
=yes
1416 DEFAULT_wxUSE_CHOICE
=yes
1417 DEFAULT_wxUSE_COMBOBOX
=yes
1418 DEFAULT_wxUSE_GAUGE
=yes
1419 DEFAULT_wxUSE_GRID
=yes
1420 DEFAULT_wxUSE_NEW_GRID
=no
1421 DEFAULT_wxUSE_IMAGLIST
=yes
1422 DEFAULT_wxUSE_LISTBOX
=yes
1423 DEFAULT_wxUSE_LISTCTRL
=yes
1424 DEFAULT_wxUSE_NOTEBOOK
=yes
1425 DEFAULT_wxUSE_RADIOBOX
=yes
1426 DEFAULT_wxUSE_RADIOBTN
=yes
1427 DEFAULT_wxUSE_SASH
=yes
1428 DEFAULT_wxUSE_SCROLLBAR
=yes
1429 DEFAULT_wxUSE_SLIDER
=yes
1430 DEFAULT_wxUSE_SPINBTN
=yes
1431 DEFAULT_wxUSE_SPINCTRL
=yes
1432 DEFAULT_wxUSE_SPLITTER
=yes
1433 DEFAULT_wxUSE_STATBMP
=yes
1434 DEFAULT_wxUSE_STATBOX
=yes
1435 DEFAULT_wxUSE_STATLINE
=yes
1436 DEFAULT_wxUSE_STATUSBAR
=yes
1437 DEFAULT_wxUSE_TABDIALOG
=no
1438 DEFAULT_wxUSE_TOOLBAR
=yes
1439 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1440 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1441 DEFAULT_wxUSE_TREECTRL
=yes
1443 DEFAULT_wxUSE_UNICODE
=no
1444 DEFAULT_wxUSE_WCSRTOMBS
=no
1446 DEFAULT_wxUSE_GIF
=yes
1447 DEFAULT_wxUSE_PCX
=yes
1448 DEFAULT_wxUSE_PNM
=yes
1453 for toolkit
in `echo $ALL_TOOLKITS`; do
1454 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1455 if test "x$LINE" != x
; then
1456 has_toolkit_in_cache
=1
1457 eval "DEFAULT_$LINE"
1458 eval "CACHE_$toolkit=1"
1464 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1465 echo "configure:1466: checking "for --enable-gui"" >&5
1467 # Check whether --enable-gui or --disable-gui was given.
1468 if test "${enable_gui+set}" = set; then
1469 enableval
="$enable_gui"
1471 if test "$enableval" = yes; then
1472 ac_cv_use_gui
='wxUSE_GUI=yes'
1474 ac_cv_use_gui
='wxUSE_GUI=no'
1479 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1480 if test "x$LINE" != x
; then
1481 eval "DEFAULT_$LINE"
1486 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1491 eval "$ac_cv_use_gui"
1492 if test "$no_cache" != 1; then
1493 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1496 if test "$wxUSE_GUI" = yes; then
1497 echo "$ac_t""yes" 1>&6
1499 echo "$ac_t""no" 1>&6
1503 if test "$wxUSE_GUI" = "yes"; then
1505 # Check whether --with-gtk or --without-gtk was given.
1506 if test "${with_gtk+set}" = set; then
1508 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1511 # Check whether --with-motif or --without-motif was given.
1512 if test "${with_motif+set}" = set; then
1513 withval
="$with_motif"
1514 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1517 # Check whether --with-wine or --without-wine was given.
1518 if test "${with_wine+set}" = set; then
1519 withval
="$with_wine"
1520 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1523 # Check whether --with-cygwin or --without-cygwin was given.
1524 if test "${with_cygwin+set}" = set; then
1525 withval
="$with_cygwin"
1526 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1529 # Check whether --with-mingw or --without-mingw was given.
1530 if test "${with_mingw+set}" = set; then
1531 withval
="$with_mingw"
1532 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1536 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1537 if test "${with_gtk_prefix+set}" = set; then
1538 withval
="$with_gtk_prefix"
1539 gtk_config_prefix
="$withval"
1541 gtk_config_prefix
=""
1544 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1545 if test "${with_gtk_exec_prefix+set}" = set; then
1546 withval
="$with_gtk_exec_prefix"
1547 gtk_config_exec_prefix
="$withval"
1549 gtk_config_exec_prefix
=""
1554 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1555 echo "configure:1556: checking "for --with-libpng"" >&5
1557 # Check whether --with-libpng or --without-libpng was given.
1558 if test "${with_libpng+set}" = set; then
1559 withval
="$with_libpng"
1561 if test "$withval" = yes; then
1562 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1564 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1569 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1570 if test "x$LINE" != x
; then
1571 eval "DEFAULT_$LINE"
1576 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1581 eval "$ac_cv_use_libpng"
1582 if test "$no_cache" != 1; then
1583 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1586 if test "$wxUSE_LIBPNG" = yes; then
1587 echo "$ac_t""yes" 1>&6
1589 echo "$ac_t""no" 1>&6
1593 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1594 echo "configure:1595: checking "for --with-libjpeg"" >&5
1596 # Check whether --with-libjpeg or --without-libjpeg was given.
1597 if test "${with_libjpeg+set}" = set; then
1598 withval
="$with_libjpeg"
1600 if test "$withval" = yes; then
1601 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1603 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1608 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1609 if test "x$LINE" != x
; then
1610 eval "DEFAULT_$LINE"
1615 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1620 eval "$ac_cv_use_libjpeg"
1621 if test "$no_cache" != 1; then
1622 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1625 if test "$wxUSE_LIBJPEG" = yes; then
1626 echo "$ac_t""yes" 1>&6
1628 echo "$ac_t""no" 1>&6
1632 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1633 echo "configure:1634: checking "for --with-libtiff"" >&5
1635 # Check whether --with-libtiff or --without-libtiff was given.
1636 if test "${with_libtiff+set}" = set; then
1637 withval
="$with_libtiff"
1639 if test "$withval" = yes; then
1640 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1642 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1647 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1648 if test "x$LINE" != x
; then
1649 eval "DEFAULT_$LINE"
1654 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1659 eval "$ac_cv_use_libtiff"
1660 if test "$no_cache" != 1; then
1661 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1664 if test "$wxUSE_LIBTIFF" = yes; then
1665 echo "$ac_t""yes" 1>&6
1667 echo "$ac_t""no" 1>&6
1671 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1672 echo "configure:1673: checking "for --with-opengl"" >&5
1674 # Check whether --with-opengl or --without-opengl was given.
1675 if test "${with_opengl+set}" = set; then
1676 withval
="$with_opengl"
1678 if test "$withval" = yes; then
1679 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1681 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1686 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1687 if test "x$LINE" != x
; then
1688 eval "DEFAULT_$LINE"
1693 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1698 eval "$ac_cv_use_opengl"
1699 if test "$no_cache" != 1; then
1700 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1703 if test "$wxUSE_OPENGL" = yes; then
1704 echo "$ac_t""yes" 1>&6
1706 echo "$ac_t""no" 1>&6
1713 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1714 echo "configure:1715: checking "for --with-dmalloc"" >&5
1716 # Check whether --with-dmalloc or --without-dmalloc was given.
1717 if test "${with_dmalloc+set}" = set; then
1718 withval
="$with_dmalloc"
1720 if test "$withval" = yes; then
1721 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1723 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1728 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1729 if test "x$LINE" != x
; then
1730 eval "DEFAULT_$LINE"
1735 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1740 eval "$ac_cv_use_dmalloc"
1741 if test "$no_cache" != 1; then
1742 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1745 if test "$wxUSE_DMALLOC" = yes; then
1746 echo "$ac_t""yes" 1>&6
1748 echo "$ac_t""no" 1>&6
1752 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1753 echo "configure:1754: checking "for --with-zlib"" >&5
1755 # Check whether --with-zlib or --without-zlib was given.
1756 if test "${with_zlib+set}" = set; then
1757 withval
="$with_zlib"
1759 if test "$withval" = yes; then
1760 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1762 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1767 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1768 if test "x$LINE" != x
; then
1769 eval "DEFAULT_$LINE"
1774 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1779 eval "$ac_cv_use_zlib"
1780 if test "$no_cache" != 1; then
1781 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1784 if test "$wxUSE_ZLIB" = yes; then
1785 echo "$ac_t""yes" 1>&6
1787 echo "$ac_t""no" 1>&6
1791 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1792 echo "configure:1793: checking "for --with-odbc"" >&5
1794 # Check whether --with-odbc or --without-odbc was given.
1795 if test "${with_odbc+set}" = set; then
1796 withval
="$with_odbc"
1798 if test "$withval" = yes; then
1799 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1801 ac_cv_use_odbc
='wxUSE_ODBC=no'
1806 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1807 if test "x$LINE" != x
; then
1808 eval "DEFAULT_$LINE"
1813 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1818 eval "$ac_cv_use_odbc"
1819 if test "$no_cache" != 1; then
1820 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1823 if test "$wxUSE_ODBC" = yes; then
1824 echo "$ac_t""yes" 1>&6
1826 echo "$ac_t""no" 1>&6
1833 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1834 echo "configure:1835: checking "for --enable-shared"" >&5
1836 # Check whether --enable-shared or --disable-shared was given.
1837 if test "${enable_shared+set}" = set; then
1838 enableval
="$enable_shared"
1840 if test "$enableval" = yes; then
1841 ac_cv_use_shared
='wxUSE_SHARED=yes'
1843 ac_cv_use_shared
='wxUSE_SHARED=no'
1848 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1849 if test "x$LINE" != x
; then
1850 eval "DEFAULT_$LINE"
1855 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1860 eval "$ac_cv_use_shared"
1861 if test "$no_cache" != 1; then
1862 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1865 if test "$wxUSE_SHARED" = yes; then
1866 echo "$ac_t""yes" 1>&6
1868 echo "$ac_t""no" 1>&6
1872 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1873 echo "configure:1874: checking "for --enable-optimise"" >&5
1875 # Check whether --enable-optimise or --disable-optimise was given.
1876 if test "${enable_optimise+set}" = set; then
1877 enableval
="$enable_optimise"
1879 if test "$enableval" = yes; then
1880 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1882 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1887 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1888 if test "x$LINE" != x
; then
1889 eval "DEFAULT_$LINE"
1894 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1899 eval "$ac_cv_use_optimise"
1900 if test "$no_cache" != 1; then
1901 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1904 if test "$wxUSE_OPTIMISE" = yes; then
1905 echo "$ac_t""yes" 1>&6
1907 echo "$ac_t""no" 1>&6
1911 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1912 echo "configure:1913: checking "for --enable-debug"" >&5
1914 # Check whether --enable-debug or --disable-debug was given.
1915 if test "${enable_debug+set}" = set; then
1916 enableval
="$enable_debug"
1918 if test "$enableval" = yes; then
1919 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1921 ac_cv_use_debug
='wxUSE_DEBUG=no'
1926 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1927 if test "x$LINE" != x
; then
1928 eval "DEFAULT_$LINE"
1933 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1938 eval "$ac_cv_use_debug"
1939 if test "$no_cache" != 1; then
1940 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1943 if test "$wxUSE_DEBUG" = yes; then
1944 echo "$ac_t""yes" 1>&6
1946 echo "$ac_t""no" 1>&6
1950 if test "$wxUSE_DEBUG" = "yes"; then
1951 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1952 DEFAULT_wxUSE_DEBUG_INFO
=yes
1953 elif test "$wxUSE_DEBUG" = "no"; then
1954 DEFAULT_wxUSE_DEBUG_FLAG
=no
1955 DEFAULT_wxUSE_DEBUG_INFO
=no
1959 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1960 echo "configure:1961: checking "for --enable-debug_flag"" >&5
1962 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1963 if test "${enable_debug_flag+set}" = set; then
1964 enableval
="$enable_debug_flag"
1966 if test "$enableval" = yes; then
1967 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1969 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1974 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1975 if test "x$LINE" != x
; then
1976 eval "DEFAULT_$LINE"
1981 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
1986 eval "$ac_cv_use_debug_flag"
1987 if test "$no_cache" != 1; then
1988 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
1991 if test "$wxUSE_DEBUG_FLAG" = yes; then
1992 echo "$ac_t""yes" 1>&6
1994 echo "$ac_t""no" 1>&6
1998 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
1999 echo "configure:2000: checking "for --enable-debug_info"" >&5
2001 # Check whether --enable-debug_info or --disable-debug_info was given.
2002 if test "${enable_debug_info+set}" = set; then
2003 enableval
="$enable_debug_info"
2005 if test "$enableval" = yes; then
2006 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2008 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2013 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2014 if test "x$LINE" != x
; then
2015 eval "DEFAULT_$LINE"
2020 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2025 eval "$ac_cv_use_debug_info"
2026 if test "$no_cache" != 1; then
2027 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2030 if test "$wxUSE_DEBUG_INFO" = yes; then
2031 echo "$ac_t""yes" 1>&6
2033 echo "$ac_t""no" 1>&6
2037 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2038 echo "configure:2039: checking "for --enable-debug_gdb"" >&5
2040 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2041 if test "${enable_debug_gdb+set}" = set; then
2042 enableval
="$enable_debug_gdb"
2044 if test "$enableval" = yes; then
2045 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2047 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2052 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2053 if test "x$LINE" != x
; then
2054 eval "DEFAULT_$LINE"
2059 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2064 eval "$ac_cv_use_debug_gdb"
2065 if test "$no_cache" != 1; then
2066 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2069 if test "$wxUSE_DEBUG_GDB" = yes; then
2070 echo "$ac_t""yes" 1>&6
2072 echo "$ac_t""no" 1>&6
2076 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2077 echo "configure:2078: checking "for --enable-debug_cntxt"" >&5
2079 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2080 if test "${enable_debug_cntxt+set}" = set; then
2081 enableval
="$enable_debug_cntxt"
2083 if test "$enableval" = yes; then
2084 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2086 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2091 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2092 if test "x$LINE" != x
; then
2093 eval "DEFAULT_$LINE"
2098 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2103 eval "$ac_cv_use_debug_cntxt"
2104 if test "$no_cache" != 1; then
2105 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2108 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2109 echo "$ac_t""yes" 1>&6
2111 echo "$ac_t""no" 1>&6
2115 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2116 echo "configure:2117: checking "for --enable-mem_tracing"" >&5
2118 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2119 if test "${enable_mem_tracing+set}" = set; then
2120 enableval
="$enable_mem_tracing"
2122 if test "$enableval" = yes; then
2123 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2125 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2130 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2131 if test "x$LINE" != x
; then
2132 eval "DEFAULT_$LINE"
2137 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2142 eval "$ac_cv_use_mem_tracing"
2143 if test "$no_cache" != 1; then
2144 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2147 if test "$wxUSE_MEM_TRACING" = yes; then
2148 echo "$ac_t""yes" 1>&6
2150 echo "$ac_t""no" 1>&6
2154 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2155 echo "configure:2156: checking "for --enable-profile"" >&5
2157 # Check whether --enable-profile or --disable-profile was given.
2158 if test "${enable_profile+set}" = set; then
2159 enableval
="$enable_profile"
2161 if test "$enableval" = yes; then
2162 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2164 ac_cv_use_profile
='wxUSE_PROFILE=no'
2169 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2170 if test "x$LINE" != x
; then
2171 eval "DEFAULT_$LINE"
2176 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2181 eval "$ac_cv_use_profile"
2182 if test "$no_cache" != 1; then
2183 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2186 if test "$wxUSE_PROFILE" = yes; then
2187 echo "$ac_t""yes" 1>&6
2189 echo "$ac_t""no" 1>&6
2193 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2194 echo "configure:2195: checking "for --enable-no_rtti"" >&5
2196 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2197 if test "${enable_no_rtti+set}" = set; then
2198 enableval
="$enable_no_rtti"
2200 if test "$enableval" = yes; then
2201 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2203 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2208 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2209 if test "x$LINE" != x
; then
2210 eval "DEFAULT_$LINE"
2215 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2220 eval "$ac_cv_use_no_rtti"
2221 if test "$no_cache" != 1; then
2222 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2225 if test "$wxUSE_NO_RTTI" = yes; then
2226 echo "$ac_t""yes" 1>&6
2228 echo "$ac_t""no" 1>&6
2232 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2233 echo "configure:2234: checking "for --enable-no_exceptions"" >&5
2235 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2236 if test "${enable_no_exceptions+set}" = set; then
2237 enableval
="$enable_no_exceptions"
2239 if test "$enableval" = yes; then
2240 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2242 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2247 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2248 if test "x$LINE" != x
; then
2249 eval "DEFAULT_$LINE"
2254 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2259 eval "$ac_cv_use_no_exceptions"
2260 if test "$no_cache" != 1; then
2261 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2264 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2265 echo "$ac_t""yes" 1>&6
2267 echo "$ac_t""no" 1>&6
2271 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2272 echo "configure:2273: checking "for --enable-permissive"" >&5
2274 # Check whether --enable-permissive or --disable-permissive was given.
2275 if test "${enable_permissive+set}" = set; then
2276 enableval
="$enable_permissive"
2278 if test "$enableval" = yes; then
2279 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2281 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2286 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2287 if test "x$LINE" != x
; then
2288 eval "DEFAULT_$LINE"
2293 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2298 eval "$ac_cv_use_permissive"
2299 if test "$no_cache" != 1; then
2300 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2303 if test "$wxUSE_PERMISSIVE" = yes; then
2304 echo "$ac_t""yes" 1>&6
2306 echo "$ac_t""no" 1>&6
2310 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2311 echo "configure:2312: checking "for --enable-no_deps"" >&5
2313 # Check whether --enable-no_deps or --disable-no_deps was given.
2314 if test "${enable_no_deps+set}" = set; then
2315 enableval
="$enable_no_deps"
2317 if test "$enableval" = yes; then
2318 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2320 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2325 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2326 if test "x$LINE" != x
; then
2327 eval "DEFAULT_$LINE"
2332 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2337 eval "$ac_cv_use_no_deps"
2338 if test "$no_cache" != 1; then
2339 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2342 if test "$wxUSE_NO_DEPS" = yes; then
2343 echo "$ac_t""yes" 1>&6
2345 echo "$ac_t""no" 1>&6
2351 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2352 echo "configure:2353: checking "for --enable-intl"" >&5
2354 # Check whether --enable-intl or --disable-intl was given.
2355 if test "${enable_intl+set}" = set; then
2356 enableval
="$enable_intl"
2358 if test "$enableval" = yes; then
2359 ac_cv_use_intl
='wxUSE_INTL=yes'
2361 ac_cv_use_intl
='wxUSE_INTL=no'
2366 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2367 if test "x$LINE" != x
; then
2368 eval "DEFAULT_$LINE"
2373 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2378 eval "$ac_cv_use_intl"
2379 if test "$no_cache" != 1; then
2380 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2383 if test "$wxUSE_INTL" = yes; then
2384 echo "$ac_t""yes" 1>&6
2386 echo "$ac_t""no" 1>&6
2390 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2391 echo "configure:2392: checking "for --enable-config"" >&5
2393 # Check whether --enable-config or --disable-config was given.
2394 if test "${enable_config+set}" = set; then
2395 enableval
="$enable_config"
2397 if test "$enableval" = yes; then
2398 ac_cv_use_config
='wxUSE_CONFIG=yes'
2400 ac_cv_use_config
='wxUSE_CONFIG=no'
2405 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2406 if test "x$LINE" != x
; then
2407 eval "DEFAULT_$LINE"
2412 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2417 eval "$ac_cv_use_config"
2418 if test "$no_cache" != 1; then
2419 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2422 if test "$wxUSE_CONFIG" = yes; then
2423 echo "$ac_t""yes" 1>&6
2425 echo "$ac_t""no" 1>&6
2429 if test "$wxUSE_GUI" = "yes"; then
2431 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2432 echo "configure:2433: checking "for --enable-sockets"" >&5
2434 # Check whether --enable-sockets or --disable-sockets was given.
2435 if test "${enable_sockets+set}" = set; then
2436 enableval
="$enable_sockets"
2438 if test "$enableval" = yes; then
2439 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2441 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2446 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2447 if test "x$LINE" != x
; then
2448 eval "DEFAULT_$LINE"
2453 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2458 eval "$ac_cv_use_sockets"
2459 if test "$no_cache" != 1; then
2460 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2463 if test "$wxUSE_SOCKETS" = yes; then
2464 echo "$ac_t""yes" 1>&6
2466 echo "$ac_t""no" 1>&6
2474 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2475 echo "configure:2476: checking "for --enable-dialupman"" >&5
2477 # Check whether --enable-dialupman or --disable-dialupman was given.
2478 if test "${enable_dialupman+set}" = set; then
2479 enableval
="$enable_dialupman"
2481 if test "$enableval" = yes; then
2482 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2484 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2489 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2490 if test "x$LINE" != x
; then
2491 eval "DEFAULT_$LINE"
2496 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2501 eval "$ac_cv_use_dialupman"
2502 if test "$no_cache" != 1; then
2503 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2506 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2507 echo "$ac_t""yes" 1>&6
2509 echo "$ac_t""no" 1>&6
2513 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2514 echo "configure:2515: checking "for --enable-ipc"" >&5
2516 # Check whether --enable-ipc or --disable-ipc was given.
2517 if test "${enable_ipc+set}" = set; then
2518 enableval
="$enable_ipc"
2520 if test "$enableval" = yes; then
2521 ac_cv_use_ipc
='wxUSE_IPC=yes'
2523 ac_cv_use_ipc
='wxUSE_IPC=no'
2528 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2529 if test "x$LINE" != x
; then
2530 eval "DEFAULT_$LINE"
2535 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2540 eval "$ac_cv_use_ipc"
2541 if test "$no_cache" != 1; then
2542 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2545 if test "$wxUSE_IPC" = yes; then
2546 echo "$ac_t""yes" 1>&6
2548 echo "$ac_t""no" 1>&6
2552 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2553 echo "configure:2554: checking "for --enable-apple_ieee"" >&5
2555 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2556 if test "${enable_apple_ieee+set}" = set; then
2557 enableval
="$enable_apple_ieee"
2559 if test "$enableval" = yes; then
2560 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2562 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2567 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2568 if test "x$LINE" != x
; then
2569 eval "DEFAULT_$LINE"
2574 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2579 eval "$ac_cv_use_apple_ieee"
2580 if test "$no_cache" != 1; then
2581 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2584 if test "$wxUSE_APPLE_IEEE" = yes; then
2585 echo "$ac_t""yes" 1>&6
2587 echo "$ac_t""no" 1>&6
2591 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2592 echo "configure:2593: checking "for --enable-timedate"" >&5
2594 # Check whether --enable-timedate or --disable-timedate was given.
2595 if test "${enable_timedate+set}" = set; then
2596 enableval
="$enable_timedate"
2598 if test "$enableval" = yes; then
2599 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2601 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2606 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2607 if test "x$LINE" != x
; then
2608 eval "DEFAULT_$LINE"
2613 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2618 eval "$ac_cv_use_timedate"
2619 if test "$no_cache" != 1; then
2620 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2623 if test "$wxUSE_TIMEDATE" = yes; then
2624 echo "$ac_t""yes" 1>&6
2626 echo "$ac_t""no" 1>&6
2630 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2631 echo "configure:2632: checking "for --enable-wave"" >&5
2633 # Check whether --enable-wave or --disable-wave was given.
2634 if test "${enable_wave+set}" = set; then
2635 enableval
="$enable_wave"
2637 if test "$enableval" = yes; then
2638 ac_cv_use_wave
='wxUSE_WAVE=yes'
2640 ac_cv_use_wave
='wxUSE_WAVE=no'
2645 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2646 if test "x$LINE" != x
; then
2647 eval "DEFAULT_$LINE"
2652 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2657 eval "$ac_cv_use_wave"
2658 if test "$no_cache" != 1; then
2659 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2662 if test "$wxUSE_WAVE" = yes; then
2663 echo "$ac_t""yes" 1>&6
2665 echo "$ac_t""no" 1>&6
2669 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2670 echo "configure:2671: checking "for --enable-fraction"" >&5
2672 # Check whether --enable-fraction or --disable-fraction was given.
2673 if test "${enable_fraction+set}" = set; then
2674 enableval
="$enable_fraction"
2676 if test "$enableval" = yes; then
2677 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2679 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2684 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2685 if test "x$LINE" != x
; then
2686 eval "DEFAULT_$LINE"
2691 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2696 eval "$ac_cv_use_fraction"
2697 if test "$no_cache" != 1; then
2698 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2701 if test "$wxUSE_FRACTION" = yes; then
2702 echo "$ac_t""yes" 1>&6
2704 echo "$ac_t""no" 1>&6
2708 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2709 echo "configure:2710: checking "for --enable-dynlib"" >&5
2711 # Check whether --enable-dynlib or --disable-dynlib was given.
2712 if test "${enable_dynlib+set}" = set; then
2713 enableval
="$enable_dynlib"
2715 if test "$enableval" = yes; then
2716 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2718 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2723 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2724 if test "x$LINE" != x
; then
2725 eval "DEFAULT_$LINE"
2730 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2735 eval "$ac_cv_use_dynlib"
2736 if test "$no_cache" != 1; then
2737 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2740 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2741 echo "$ac_t""yes" 1>&6
2743 echo "$ac_t""no" 1>&6
2747 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2748 echo "configure:2749: checking "for --enable-longlong"" >&5
2750 # Check whether --enable-longlong or --disable-longlong was given.
2751 if test "${enable_longlong+set}" = set; then
2752 enableval
="$enable_longlong"
2754 if test "$enableval" = yes; then
2755 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2757 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2762 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2763 if test "x$LINE" != x
; then
2764 eval "DEFAULT_$LINE"
2769 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2774 eval "$ac_cv_use_longlong"
2775 if test "$no_cache" != 1; then
2776 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2779 if test "$wxUSE_LONGLONG" = yes; then
2780 echo "$ac_t""yes" 1>&6
2782 echo "$ac_t""no" 1>&6
2786 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2787 echo "configure:2788: checking "for --enable-log"" >&5
2789 # Check whether --enable-log or --disable-log was given.
2790 if test "${enable_log+set}" = set; then
2791 enableval
="$enable_log"
2793 if test "$enableval" = yes; then
2794 ac_cv_use_log
='wxUSE_LOG=yes'
2796 ac_cv_use_log
='wxUSE_LOG=no'
2801 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2802 if test "x$LINE" != x
; then
2803 eval "DEFAULT_$LINE"
2808 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2813 eval "$ac_cv_use_log"
2814 if test "$no_cache" != 1; then
2815 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2818 if test "$wxUSE_LOG" = yes; then
2819 echo "$ac_t""yes" 1>&6
2821 echo "$ac_t""no" 1>&6
2825 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2826 echo "configure:2827: checking "for --enable-streams"" >&5
2828 # Check whether --enable-streams or --disable-streams was given.
2829 if test "${enable_streams+set}" = set; then
2830 enableval
="$enable_streams"
2832 if test "$enableval" = yes; then
2833 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2835 ac_cv_use_streams
='wxUSE_STREAMS=no'
2840 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2841 if test "x$LINE" != x
; then
2842 eval "DEFAULT_$LINE"
2847 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2852 eval "$ac_cv_use_streams"
2853 if test "$no_cache" != 1; then
2854 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2857 if test "$wxUSE_STREAMS" = yes; then
2858 echo "$ac_t""yes" 1>&6
2860 echo "$ac_t""no" 1>&6
2864 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2865 echo "configure:2866: checking "for --enable-file"" >&5
2867 # Check whether --enable-file or --disable-file was given.
2868 if test "${enable_file+set}" = set; then
2869 enableval
="$enable_file"
2871 if test "$enableval" = yes; then
2872 ac_cv_use_file
='wxUSE_FILE=yes'
2874 ac_cv_use_file
='wxUSE_FILE=no'
2879 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2880 if test "x$LINE" != x
; then
2881 eval "DEFAULT_$LINE"
2886 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2891 eval "$ac_cv_use_file"
2892 if test "$no_cache" != 1; then
2893 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2896 if test "$wxUSE_FILE" = yes; then
2897 echo "$ac_t""yes" 1>&6
2899 echo "$ac_t""no" 1>&6
2903 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2904 echo "configure:2905: checking "for --enable-textfile"" >&5
2906 # Check whether --enable-textfile or --disable-textfile was given.
2907 if test "${enable_textfile+set}" = set; then
2908 enableval
="$enable_textfile"
2910 if test "$enableval" = yes; then
2911 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2913 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2918 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2919 if test "x$LINE" != x
; then
2920 eval "DEFAULT_$LINE"
2925 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2930 eval "$ac_cv_use_textfile"
2931 if test "$no_cache" != 1; then
2932 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2935 if test "$wxUSE_TEXTFILE" = yes; then
2936 echo "$ac_t""yes" 1>&6
2938 echo "$ac_t""no" 1>&6
2942 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2943 echo "configure:2944: checking "for --enable-unicode"" >&5
2945 # Check whether --enable-unicode or --disable-unicode was given.
2946 if test "${enable_unicode+set}" = set; then
2947 enableval
="$enable_unicode"
2949 if test "$enableval" = yes; then
2950 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2952 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2957 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2958 if test "x$LINE" != x
; then
2959 eval "DEFAULT_$LINE"
2964 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2969 eval "$ac_cv_use_unicode"
2970 if test "$no_cache" != 1; then
2971 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2974 if test "$wxUSE_UNICODE" = yes; then
2975 echo "$ac_t""yes" 1>&6
2977 echo "$ac_t""no" 1>&6
2981 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2982 echo "configure:2983: checking "for --enable-wcsrtombs"" >&5
2984 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2985 if test "${enable_wcsrtombs+set}" = set; then
2986 enableval
="$enable_wcsrtombs"
2988 if test "$enableval" = yes; then
2989 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
2991 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
2996 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
2997 if test "x$LINE" != x
; then
2998 eval "DEFAULT_$LINE"
3003 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3008 eval "$ac_cv_use_wcsrtombs"
3009 if test "$no_cache" != 1; then
3010 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3013 if test "$wxUSE_WCSRTOMBS" = yes; then
3014 echo "$ac_t""yes" 1>&6
3016 echo "$ac_t""no" 1>&6
3020 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3021 echo "configure:3022: checking "for --enable-wxprintfv"" >&5
3023 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3024 if test "${enable_wxprintfv+set}" = set; then
3025 enableval
="$enable_wxprintfv"
3027 if test "$enableval" = yes; then
3028 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3030 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3035 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3036 if test "x$LINE" != x
; then
3037 eval "DEFAULT_$LINE"
3042 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3047 eval "$ac_cv_use_wxprintfv"
3048 if test "$no_cache" != 1; then
3049 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3052 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3053 echo "$ac_t""yes" 1>&6
3055 echo "$ac_t""no" 1>&6
3059 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3060 echo "configure:3061: checking "for --enable-joystick"" >&5
3062 # Check whether --enable-joystick or --disable-joystick was given.
3063 if test "${enable_joystick+set}" = set; then
3064 enableval
="$enable_joystick"
3066 if test "$enableval" = yes; then
3067 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3069 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3074 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3075 if test "x$LINE" != x
; then
3076 eval "DEFAULT_$LINE"
3081 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3086 eval "$ac_cv_use_joystick"
3087 if test "$no_cache" != 1; then
3088 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3091 if test "$wxUSE_JOYSTICK" = yes; then
3092 echo "$ac_t""yes" 1>&6
3094 echo "$ac_t""no" 1>&6
3098 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3099 echo "configure:3100: checking "for --enable-std_iostreams"" >&5
3101 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3102 if test "${enable_std_iostreams+set}" = set; then
3103 enableval
="$enable_std_iostreams"
3105 if test "$enableval" = yes; then
3106 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3108 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3113 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3114 if test "x$LINE" != x
; then
3115 eval "DEFAULT_$LINE"
3120 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3125 eval "$ac_cv_use_std_iostreams"
3126 if test "$no_cache" != 1; then
3127 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3130 if test "$wxUSE_STD_IOSTREAM" = yes; then
3131 echo "$ac_t""yes" 1>&6
3133 echo "$ac_t""no" 1>&6
3137 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3138 echo "configure:3139: checking "for --enable-fs_inet"" >&5
3140 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3141 if test "${enable_fs_inet+set}" = set; then
3142 enableval
="$enable_fs_inet"
3144 if test "$enableval" = yes; then
3145 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3147 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3152 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3153 if test "x$LINE" != x
; then
3154 eval "DEFAULT_$LINE"
3159 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3164 eval "$ac_cv_use_fs_inet"
3165 if test "$no_cache" != 1; then
3166 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3169 if test "$wxUSE_FS_INET" = yes; then
3170 echo "$ac_t""yes" 1>&6
3172 echo "$ac_t""no" 1>&6
3176 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3177 echo "configure:3178: checking "for --enable-fs_zip"" >&5
3179 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3180 if test "${enable_fs_zip+set}" = set; then
3181 enableval
="$enable_fs_zip"
3183 if test "$enableval" = yes; then
3184 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3186 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3191 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3192 if test "x$LINE" != x
; then
3193 eval "DEFAULT_$LINE"
3198 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3203 eval "$ac_cv_use_fs_zip"
3204 if test "$no_cache" != 1; then
3205 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3208 if test "$wxUSE_FS_ZIP" = yes; then
3209 echo "$ac_t""yes" 1>&6
3211 echo "$ac_t""no" 1>&6
3215 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3216 echo "configure:3217: checking "for --enable-zipstream"" >&5
3218 # Check whether --enable-zipstream or --disable-zipstream was given.
3219 if test "${enable_zipstream+set}" = set; then
3220 enableval
="$enable_zipstream"
3222 if test "$enableval" = yes; then
3223 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3225 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3230 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3231 if test "x$LINE" != x
; then
3232 eval "DEFAULT_$LINE"
3237 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3242 eval "$ac_cv_use_zipstream"
3243 if test "$no_cache" != 1; then
3244 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3247 if test "$wxUSE_ZIPSTREAM" = yes; then
3248 echo "$ac_t""yes" 1>&6
3250 echo "$ac_t""no" 1>&6
3256 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3257 echo "configure:3258: checking "for --enable-threads"" >&5
3259 # Check whether --enable-threads or --disable-threads was given.
3260 if test "${enable_threads+set}" = set; then
3261 enableval
="$enable_threads"
3263 if test "$enableval" = yes; then
3264 ac_cv_use_threads
='wxUSE_THREADS=yes'
3266 ac_cv_use_threads
='wxUSE_THREADS=no'
3271 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3272 if test "x$LINE" != x
; then
3273 eval "DEFAULT_$LINE"
3278 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3283 eval "$ac_cv_use_threads"
3284 if test "$no_cache" != 1; then
3285 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3288 if test "$wxUSE_THREADS" = yes; then
3289 echo "$ac_t""yes" 1>&6
3291 echo "$ac_t""no" 1>&6
3295 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3296 echo "configure:3297: checking "for --enable-serial"" >&5
3298 # Check whether --enable-serial or --disable-serial was given.
3299 if test "${enable_serial+set}" = set; then
3300 enableval
="$enable_serial"
3302 if test "$enableval" = yes; then
3303 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3305 ac_cv_use_serial
='wxUSE_SERIAL=no'
3310 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3311 if test "x$LINE" != x
; then
3312 eval "DEFAULT_$LINE"
3317 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3322 eval "$ac_cv_use_serial"
3323 if test "$no_cache" != 1; then
3324 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3327 if test "$wxUSE_SERIAL" = yes; then
3328 echo "$ac_t""yes" 1>&6
3330 echo "$ac_t""no" 1>&6
3334 if test "$wxUSE_GUI" = "yes"; then
3338 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3339 echo "configure:3340: checking "for --enable-docview"" >&5
3341 # Check whether --enable-docview or --disable-docview was given.
3342 if test "${enable_docview+set}" = set; then
3343 enableval
="$enable_docview"
3345 if test "$enableval" = yes; then
3346 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3348 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3353 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3354 if test "x$LINE" != x
; then
3355 eval "DEFAULT_$LINE"
3360 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3365 eval "$ac_cv_use_docview"
3366 if test "$no_cache" != 1; then
3367 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3370 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3371 echo "$ac_t""yes" 1>&6
3373 echo "$ac_t""no" 1>&6
3377 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3378 echo "configure:3379: checking "for --enable-help"" >&5
3380 # Check whether --enable-help or --disable-help was given.
3381 if test "${enable_help+set}" = set; then
3382 enableval
="$enable_help"
3384 if test "$enableval" = yes; then
3385 ac_cv_use_help
='wxUSE_HELP=yes'
3387 ac_cv_use_help
='wxUSE_HELP=no'
3392 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3393 if test "x$LINE" != x
; then
3394 eval "DEFAULT_$LINE"
3399 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3404 eval "$ac_cv_use_help"
3405 if test "$no_cache" != 1; then
3406 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3409 if test "$wxUSE_HELP" = yes; then
3410 echo "$ac_t""yes" 1>&6
3412 echo "$ac_t""no" 1>&6
3416 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3417 echo "configure:3418: checking "for --enable-constraints"" >&5
3419 # Check whether --enable-constraints or --disable-constraints was given.
3420 if test "${enable_constraints+set}" = set; then
3421 enableval
="$enable_constraints"
3423 if test "$enableval" = yes; then
3424 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3426 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3431 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3432 if test "x$LINE" != x
; then
3433 eval "DEFAULT_$LINE"
3438 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3443 eval "$ac_cv_use_constraints"
3444 if test "$no_cache" != 1; then
3445 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3448 if test "$wxUSE_CONSTRAINTS" = yes; then
3449 echo "$ac_t""yes" 1>&6
3451 echo "$ac_t""no" 1>&6
3455 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3456 echo "configure:3457: checking "for --enable-printarch"" >&5
3458 # Check whether --enable-printarch or --disable-printarch was given.
3459 if test "${enable_printarch+set}" = set; then
3460 enableval
="$enable_printarch"
3462 if test "$enableval" = yes; then
3463 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3465 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3470 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3471 if test "x$LINE" != x
; then
3472 eval "DEFAULT_$LINE"
3477 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3482 eval "$ac_cv_use_printarch"
3483 if test "$no_cache" != 1; then
3484 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3487 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3488 echo "$ac_t""yes" 1>&6
3490 echo "$ac_t""no" 1>&6
3494 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3495 echo "configure:3496: checking "for --enable-mdi"" >&5
3497 # Check whether --enable-mdi or --disable-mdi was given.
3498 if test "${enable_mdi+set}" = set; then
3499 enableval
="$enable_mdi"
3501 if test "$enableval" = yes; then
3502 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3504 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3509 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3510 if test "x$LINE" != x
; then
3511 eval "DEFAULT_$LINE"
3516 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3521 eval "$ac_cv_use_mdi"
3522 if test "$no_cache" != 1; then
3523 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3526 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3527 echo "$ac_t""yes" 1>&6
3529 echo "$ac_t""no" 1>&6
3534 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3535 echo "configure:3536: checking "for --enable-postscript"" >&5
3537 # Check whether --enable-postscript or --disable-postscript was given.
3538 if test "${enable_postscript+set}" = set; then
3539 enableval
="$enable_postscript"
3541 if test "$enableval" = yes; then
3542 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3544 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3549 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3550 if test "x$LINE" != x
; then
3551 eval "DEFAULT_$LINE"
3556 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3561 eval "$ac_cv_use_postscript"
3562 if test "$no_cache" != 1; then
3563 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3566 if test "$wxUSE_POSTSCRIPT" = yes; then
3567 echo "$ac_t""yes" 1>&6
3569 echo "$ac_t""no" 1>&6
3575 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3576 echo "configure:3577: checking "for --enable-prologio"" >&5
3578 # Check whether --enable-prologio or --disable-prologio was given.
3579 if test "${enable_prologio+set}" = set; then
3580 enableval
="$enable_prologio"
3582 if test "$enableval" = yes; then
3583 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3585 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3590 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3591 if test "x$LINE" != x
; then
3592 eval "DEFAULT_$LINE"
3597 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3602 eval "$ac_cv_use_prologio"
3603 if test "$no_cache" != 1; then
3604 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3607 if test "$wxUSE_PROLOGIO" = yes; then
3608 echo "$ac_t""yes" 1>&6
3610 echo "$ac_t""no" 1>&6
3614 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3615 echo "configure:3616: checking "for --enable-resources"" >&5
3617 # Check whether --enable-resources or --disable-resources was given.
3618 if test "${enable_resources+set}" = set; then
3619 enableval
="$enable_resources"
3621 if test "$enableval" = yes; then
3622 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3624 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3629 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3630 if test "x$LINE" != x
; then
3631 eval "DEFAULT_$LINE"
3636 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3641 eval "$ac_cv_use_resources"
3642 if test "$no_cache" != 1; then
3643 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3646 if test "$wxUSE_RESOURCES" = yes; then
3647 echo "$ac_t""yes" 1>&6
3649 echo "$ac_t""no" 1>&6
3654 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3655 echo "configure:3656: checking "for --enable-xresources"" >&5
3657 # Check whether --enable-xresources or --disable-xresources was given.
3658 if test "${enable_xresources+set}" = set; then
3659 enableval
="$enable_xresources"
3661 if test "$enableval" = yes; then
3662 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3664 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3669 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3670 if test "x$LINE" != x
; then
3671 eval "DEFAULT_$LINE"
3676 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3681 eval "$ac_cv_use_xresources"
3682 if test "$no_cache" != 1; then
3683 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3686 if test "$wxUSE_X_RESOURCES" = yes; then
3687 echo "$ac_t""yes" 1>&6
3689 echo "$ac_t""no" 1>&6
3695 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3696 echo "configure:3697: checking "for --enable-clipboard"" >&5
3698 # Check whether --enable-clipboard or --disable-clipboard was given.
3699 if test "${enable_clipboard+set}" = set; then
3700 enableval
="$enable_clipboard"
3702 if test "$enableval" = yes; then
3703 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3705 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3710 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3711 if test "x$LINE" != x
; then
3712 eval "DEFAULT_$LINE"
3717 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3722 eval "$ac_cv_use_clipboard"
3723 if test "$no_cache" != 1; then
3724 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3727 if test "$wxUSE_CLIPBOARD" = yes; then
3728 echo "$ac_t""yes" 1>&6
3730 echo "$ac_t""no" 1>&6
3734 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3735 echo "configure:3736: checking "for --enable-dnd"" >&5
3737 # Check whether --enable-dnd or --disable-dnd was given.
3738 if test "${enable_dnd+set}" = set; then
3739 enableval
="$enable_dnd"
3741 if test "$enableval" = yes; then
3742 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3744 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3749 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3750 if test "x$LINE" != x
; then
3751 eval "DEFAULT_$LINE"
3756 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3761 eval "$ac_cv_use_dnd"
3762 if test "$no_cache" != 1; then
3763 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3766 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3767 echo "$ac_t""yes" 1>&6
3769 echo "$ac_t""no" 1>&6
3774 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3775 echo "configure:3776: checking "for --enable-wxtree"" >&5
3777 # Check whether --enable-wxtree or --disable-wxtree was given.
3778 if test "${enable_wxtree+set}" = set; then
3779 enableval
="$enable_wxtree"
3781 if test "$enableval" = yes; then
3782 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3784 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3789 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3790 if test "x$LINE" != x
; then
3791 eval "DEFAULT_$LINE"
3796 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3801 eval "$ac_cv_use_wxtree"
3802 if test "$no_cache" != 1; then
3803 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3806 if test "$wxUSE_WXTREE" = yes; then
3807 echo "$ac_t""yes" 1>&6
3809 echo "$ac_t""no" 1>&6
3815 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3816 echo "configure:3817: checking "for --enable-controls"" >&5
3818 # Check whether --enable-controls or --disable-controls was given.
3819 if test "${enable_controls+set}" = set; then
3820 enableval
="$enable_controls"
3822 if test "$enableval" = yes; then
3823 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3825 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3830 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3831 if test "x$LINE" != x
; then
3832 eval "DEFAULT_$LINE"
3837 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3842 eval "$ac_cv_use_controls"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3847 if test "$wxUSE_CONTROLS" = yes; then
3848 echo "$ac_t""yes" 1>&6
3850 echo "$ac_t""no" 1>&6
3854 if test "$wxUSE_CONTROLS" = "yes"; then
3855 DEFAULT_wxUSE_ACCEL
=yes
3856 DEFAULT_wxUSE_CARET
=yes
3857 DEFAULT_wxUSE_COMBOBOX
=yes
3858 DEFAULT_wxUSE_BMPBUTTON
=yes
3859 DEFAULT_wxUSE_CHECKBOX
=yes
3860 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3861 DEFAULT_wxUSE_CHOICE
=yes
3862 DEFAULT_wxUSE_GAUGE
=yes
3863 DEFAULT_wxUSE_GRID
=yes
3864 DEFAULT_wxUSE_NEW_GRID
=no
3865 DEFAULT_wxUSE_IMAGLIST
=yes
3866 DEFAULT_wxUSE_LISTBOX
=yes
3867 DEFAULT_wxUSE_LISTCTRL
=yes
3868 DEFAULT_wxUSE_NOTEBOOK
=yes
3869 DEFAULT_wxUSE_RADIOBOX
=yes
3870 DEFAULT_wxUSE_RADIOBTN
=yes
3871 DEFAULT_wxUSE_SASH
=yes
3872 DEFAULT_wxUSE_SCROLLBAR
=yes
3873 DEFAULT_wxUSE_SLIDER
=yes
3874 DEFAULT_wxUSE_SPINBTN
=yes
3875 DEFAULT_wxUSE_SPINCTRL
=yes
3876 DEFAULT_wxUSE_SPLITTER
=yes
3877 DEFAULT_wxUSE_STATBMP
=yes
3878 DEFAULT_wxUSE_STATBOX
=yes
3879 DEFAULT_wxUSE_STATLINE
=yes
3880 DEFAULT_wxUSE_STATUSBAR
=yes
3881 DEFAULT_wxUSE_TAB_DIALOG
=yes
3882 DEFAULT_wxUSE_TOOLBAR
=yes
3883 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
3884 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
3885 DEFAULT_wxUSE_TOOLTIPS
=yes
3886 DEFAULT_wxUSE_TREECTRL
=yes
3887 elif test "$wxUSE_CONTROLS" = "no"; then
3888 DEFAULT_wxUSE_ACCEL
=no
3889 DEFAULT_wxUSE_CARET
=no
3890 DEFAULT_wxUSE_COMBOBOX
=no
3891 DEFAULT_wxUSE_BMPBUTTON
=no
3892 DEFAULT_wxUSE_CHECKBOX
=no
3893 DEFAULT_wxUSE_CHECKLISTBOX
=no
3894 DEFAULT_wxUSE_CHOICE
=no
3895 DEFAULT_wxUSE_GAUGE
=no
3896 DEFAULT_wxUSE_GRID
=no
3897 DEFAULT_wxUSE_NEW_GRID
=no
3898 DEFAULT_wxUSE_IMAGLIST
=no
3899 DEFAULT_wxUSE_LISTBOX
=no
3900 DEFAULT_wxUSE_LISTCTRL
=no
3901 DEFAULT_wxUSE_NOTEBOOK
=no
3902 DEFAULT_wxUSE_RADIOBOX
=no
3903 DEFAULT_wxUSE_RADIOBTN
=no
3904 DEFAULT_wxUSE_SASH
=no
3905 DEFAULT_wxUSE_SCROLLBAR
=no
3906 DEFAULT_wxUSE_SLIDER
=no
3907 DEFAULT_wxUSE_SPINBTN
=no
3908 DEFAULT_wxUSE_SPINCTRL
=no
3909 DEFAULT_wxUSE_SPLITTER
=no
3910 DEFAULT_wxUSE_STATBMP
=no
3911 DEFAULT_wxUSE_STATBOX
=no
3912 DEFAULT_wxUSE_STATLINE
=no
3913 DEFAULT_wxUSE_STATUSBAR
=no
3914 DEFAULT_wxUSE_TAB_DIALOG
=no
3915 DEFAULT_wxUSE_TOOLBAR
=no
3916 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
3917 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
3918 DEFAULT_wxUSE_TOOLTIPS
=no
3919 DEFAULT_wxUSE_TREECTRL
=no
3923 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3924 echo "configure:3925: checking "for --enable-accel"" >&5
3926 # Check whether --enable-accel or --disable-accel was given.
3927 if test "${enable_accel+set}" = set; then
3928 enableval
="$enable_accel"
3930 if test "$enableval" = yes; then
3931 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3933 ac_cv_use_accel
='wxUSE_ACCEL=no'
3938 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3939 if test "x$LINE" != x
; then
3940 eval "DEFAULT_$LINE"
3945 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3950 eval "$ac_cv_use_accel"
3951 if test "$no_cache" != 1; then
3952 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3955 if test "$wxUSE_ACCEL" = yes; then
3956 echo "$ac_t""yes" 1>&6
3958 echo "$ac_t""no" 1>&6
3962 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3963 echo "configure:3964: checking "for --enable-caret"" >&5
3965 # Check whether --enable-caret or --disable-caret was given.
3966 if test "${enable_caret+set}" = set; then
3967 enableval
="$enable_caret"
3969 if test "$enableval" = yes; then
3970 ac_cv_use_caret
='wxUSE_CARET=yes'
3972 ac_cv_use_caret
='wxUSE_CARET=no'
3977 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3978 if test "x$LINE" != x
; then
3979 eval "DEFAULT_$LINE"
3984 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3989 eval "$ac_cv_use_caret"
3990 if test "$no_cache" != 1; then
3991 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3994 if test "$wxUSE_CARET" = yes; then
3995 echo "$ac_t""yes" 1>&6
3997 echo "$ac_t""no" 1>&6
4001 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4002 echo "configure:4003: checking "for --enable-bmpbutton"" >&5
4004 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4005 if test "${enable_bmpbutton+set}" = set; then
4006 enableval
="$enable_bmpbutton"
4008 if test "$enableval" = yes; then
4009 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4011 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4016 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4017 if test "x$LINE" != x
; then
4018 eval "DEFAULT_$LINE"
4023 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4028 eval "$ac_cv_use_bmpbutton"
4029 if test "$no_cache" != 1; then
4030 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4033 if test "$wxUSE_BMPBUTTON" = yes; then
4034 echo "$ac_t""yes" 1>&6
4036 echo "$ac_t""no" 1>&6
4040 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4041 echo "configure:4042: checking "for --enable-checkbox"" >&5
4043 # Check whether --enable-checkbox or --disable-checkbox was given.
4044 if test "${enable_checkbox+set}" = set; then
4045 enableval
="$enable_checkbox"
4047 if test "$enableval" = yes; then
4048 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4050 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4055 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4056 if test "x$LINE" != x
; then
4057 eval "DEFAULT_$LINE"
4062 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4067 eval "$ac_cv_use_checkbox"
4068 if test "$no_cache" != 1; then
4069 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4072 if test "$wxUSE_CHECKBOX" = yes; then
4073 echo "$ac_t""yes" 1>&6
4075 echo "$ac_t""no" 1>&6
4079 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4080 echo "configure:4081: checking "for --enable-checklst"" >&5
4082 # Check whether --enable-checklst or --disable-checklst was given.
4083 if test "${enable_checklst+set}" = set; then
4084 enableval
="$enable_checklst"
4086 if test "$enableval" = yes; then
4087 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4089 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4094 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4095 if test "x$LINE" != x
; then
4096 eval "DEFAULT_$LINE"
4101 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4106 eval "$ac_cv_use_checklst"
4107 if test "$no_cache" != 1; then
4108 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4111 if test "$wxUSE_CHECKLST" = yes; then
4112 echo "$ac_t""yes" 1>&6
4114 echo "$ac_t""no" 1>&6
4118 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4119 echo "configure:4120: checking "for --enable-choice"" >&5
4121 # Check whether --enable-choice or --disable-choice was given.
4122 if test "${enable_choice+set}" = set; then
4123 enableval
="$enable_choice"
4125 if test "$enableval" = yes; then
4126 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4128 ac_cv_use_choice
='wxUSE_CHOICE=no'
4133 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4134 if test "x$LINE" != x
; then
4135 eval "DEFAULT_$LINE"
4140 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4145 eval "$ac_cv_use_choice"
4146 if test "$no_cache" != 1; then
4147 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4150 if test "$wxUSE_CHOICE" = yes; then
4151 echo "$ac_t""yes" 1>&6
4153 echo "$ac_t""no" 1>&6
4157 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4158 echo "configure:4159: checking "for --enable-combobox"" >&5
4160 # Check whether --enable-combobox or --disable-combobox was given.
4161 if test "${enable_combobox+set}" = set; then
4162 enableval
="$enable_combobox"
4164 if test "$enableval" = yes; then
4165 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4167 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4172 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4173 if test "x$LINE" != x
; then
4174 eval "DEFAULT_$LINE"
4179 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4184 eval "$ac_cv_use_combobox"
4185 if test "$no_cache" != 1; then
4186 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4189 if test "$wxUSE_COMBOBOX" = yes; then
4190 echo "$ac_t""yes" 1>&6
4192 echo "$ac_t""no" 1>&6
4196 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4197 echo "configure:4198: checking "for --enable-gauge"" >&5
4199 # Check whether --enable-gauge or --disable-gauge was given.
4200 if test "${enable_gauge+set}" = set; then
4201 enableval
="$enable_gauge"
4203 if test "$enableval" = yes; then
4204 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4206 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4211 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4212 if test "x$LINE" != x
; then
4213 eval "DEFAULT_$LINE"
4218 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4223 eval "$ac_cv_use_gauge"
4224 if test "$no_cache" != 1; then
4225 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4228 if test "$wxUSE_GAUGE" = yes; then
4229 echo "$ac_t""yes" 1>&6
4231 echo "$ac_t""no" 1>&6
4235 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4236 echo "configure:4237: checking "for --enable-grid"" >&5
4238 # Check whether --enable-grid or --disable-grid was given.
4239 if test "${enable_grid+set}" = set; then
4240 enableval
="$enable_grid"
4242 if test "$enableval" = yes; then
4243 ac_cv_use_grid
='wxUSE_GRID=yes'
4245 ac_cv_use_grid
='wxUSE_GRID=no'
4250 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4251 if test "x$LINE" != x
; then
4252 eval "DEFAULT_$LINE"
4257 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4262 eval "$ac_cv_use_grid"
4263 if test "$no_cache" != 1; then
4264 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4267 if test "$wxUSE_GRID" = yes; then
4268 echo "$ac_t""yes" 1>&6
4270 echo "$ac_t""no" 1>&6
4274 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4275 echo "configure:4276: checking "for --enable-newgrid"" >&5
4277 # Check whether --enable-newgrid or --disable-newgrid was given.
4278 if test "${enable_newgrid+set}" = set; then
4279 enableval
="$enable_newgrid"
4281 if test "$enableval" = yes; then
4282 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4284 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4289 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4290 if test "x$LINE" != x
; then
4291 eval "DEFAULT_$LINE"
4296 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4301 eval "$ac_cv_use_newgrid"
4302 if test "$no_cache" != 1; then
4303 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4306 if test "$wxUSE_NEW_GRID" = yes; then
4307 echo "$ac_t""yes" 1>&6
4309 echo "$ac_t""no" 1>&6
4313 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4314 echo "configure:4315: checking "for --enable-imaglist"" >&5
4316 # Check whether --enable-imaglist or --disable-imaglist was given.
4317 if test "${enable_imaglist+set}" = set; then
4318 enableval
="$enable_imaglist"
4320 if test "$enableval" = yes; then
4321 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4323 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4328 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4329 if test "x$LINE" != x
; then
4330 eval "DEFAULT_$LINE"
4335 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4340 eval "$ac_cv_use_imaglist"
4341 if test "$no_cache" != 1; then
4342 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4345 if test "$wxUSE_IMAGLIST" = yes; then
4346 echo "$ac_t""yes" 1>&6
4348 echo "$ac_t""no" 1>&6
4352 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4353 echo "configure:4354: checking "for --enable-listbox"" >&5
4355 # Check whether --enable-listbox or --disable-listbox was given.
4356 if test "${enable_listbox+set}" = set; then
4357 enableval
="$enable_listbox"
4359 if test "$enableval" = yes; then
4360 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4362 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4367 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4368 if test "x$LINE" != x
; then
4369 eval "DEFAULT_$LINE"
4374 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4379 eval "$ac_cv_use_listbox"
4380 if test "$no_cache" != 1; then
4381 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4384 if test "$wxUSE_LISTBOX" = yes; then
4385 echo "$ac_t""yes" 1>&6
4387 echo "$ac_t""no" 1>&6
4391 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4392 echo "configure:4393: checking "for --enable-listctrl"" >&5
4394 # Check whether --enable-listctrl or --disable-listctrl was given.
4395 if test "${enable_listctrl+set}" = set; then
4396 enableval
="$enable_listctrl"
4398 if test "$enableval" = yes; then
4399 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4401 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4406 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4407 if test "x$LINE" != x
; then
4408 eval "DEFAULT_$LINE"
4413 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4418 eval "$ac_cv_use_listctrl"
4419 if test "$no_cache" != 1; then
4420 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4423 if test "$wxUSE_LISTCTRL" = yes; then
4424 echo "$ac_t""yes" 1>&6
4426 echo "$ac_t""no" 1>&6
4430 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4431 echo "configure:4432: checking "for --enable-notebook"" >&5
4433 # Check whether --enable-notebook or --disable-notebook was given.
4434 if test "${enable_notebook+set}" = set; then
4435 enableval
="$enable_notebook"
4437 if test "$enableval" = yes; then
4438 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4440 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4445 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4446 if test "x$LINE" != x
; then
4447 eval "DEFAULT_$LINE"
4452 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4457 eval "$ac_cv_use_notebook"
4458 if test "$no_cache" != 1; then
4459 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4462 if test "$wxUSE_NOTEBOOK" = yes; then
4463 echo "$ac_t""yes" 1>&6
4465 echo "$ac_t""no" 1>&6
4469 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4470 echo "configure:4471: checking "for --enable-radiobox"" >&5
4472 # Check whether --enable-radiobox or --disable-radiobox was given.
4473 if test "${enable_radiobox+set}" = set; then
4474 enableval
="$enable_radiobox"
4476 if test "$enableval" = yes; then
4477 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4479 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4484 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4485 if test "x$LINE" != x
; then
4486 eval "DEFAULT_$LINE"
4491 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4496 eval "$ac_cv_use_radiobox"
4497 if test "$no_cache" != 1; then
4498 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4501 if test "$wxUSE_RADIOBOX" = yes; then
4502 echo "$ac_t""yes" 1>&6
4504 echo "$ac_t""no" 1>&6
4508 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4509 echo "configure:4510: checking "for --enable-radiobtn"" >&5
4511 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4512 if test "${enable_radiobtn+set}" = set; then
4513 enableval
="$enable_radiobtn"
4515 if test "$enableval" = yes; then
4516 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4518 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4523 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4524 if test "x$LINE" != x
; then
4525 eval "DEFAULT_$LINE"
4530 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4535 eval "$ac_cv_use_radiobtn"
4536 if test "$no_cache" != 1; then
4537 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4540 if test "$wxUSE_RADIOBTN" = yes; then
4541 echo "$ac_t""yes" 1>&6
4543 echo "$ac_t""no" 1>&6
4547 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4548 echo "configure:4549: checking "for --enable-sash"" >&5
4550 # Check whether --enable-sash or --disable-sash was given.
4551 if test "${enable_sash+set}" = set; then
4552 enableval
="$enable_sash"
4554 if test "$enableval" = yes; then
4555 ac_cv_use_sash
='wxUSE_SASH=yes'
4557 ac_cv_use_sash
='wxUSE_SASH=no'
4562 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4563 if test "x$LINE" != x
; then
4564 eval "DEFAULT_$LINE"
4569 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4574 eval "$ac_cv_use_sash"
4575 if test "$no_cache" != 1; then
4576 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4579 if test "$wxUSE_SASH" = yes; then
4580 echo "$ac_t""yes" 1>&6
4582 echo "$ac_t""no" 1>&6
4586 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4587 echo "configure:4588: checking "for --enable-scrollbar"" >&5
4589 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4590 if test "${enable_scrollbar+set}" = set; then
4591 enableval
="$enable_scrollbar"
4593 if test "$enableval" = yes; then
4594 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4596 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4601 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4602 if test "x$LINE" != x
; then
4603 eval "DEFAULT_$LINE"
4608 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4613 eval "$ac_cv_use_scrollbar"
4614 if test "$no_cache" != 1; then
4615 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4618 if test "$wxUSE_SCROLLBAR" = yes; then
4619 echo "$ac_t""yes" 1>&6
4621 echo "$ac_t""no" 1>&6
4625 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4626 echo "configure:4627: checking "for --enable-slider"" >&5
4628 # Check whether --enable-slider or --disable-slider was given.
4629 if test "${enable_slider+set}" = set; then
4630 enableval
="$enable_slider"
4632 if test "$enableval" = yes; then
4633 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4635 ac_cv_use_slider
='wxUSE_SLIDER=no'
4640 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4641 if test "x$LINE" != x
; then
4642 eval "DEFAULT_$LINE"
4647 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4652 eval "$ac_cv_use_slider"
4653 if test "$no_cache" != 1; then
4654 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4657 if test "$wxUSE_SLIDER" = yes; then
4658 echo "$ac_t""yes" 1>&6
4660 echo "$ac_t""no" 1>&6
4664 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4665 echo "configure:4666: checking "for --enable-spinbtn"" >&5
4667 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4668 if test "${enable_spinbtn+set}" = set; then
4669 enableval
="$enable_spinbtn"
4671 if test "$enableval" = yes; then
4672 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4674 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4679 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4680 if test "x$LINE" != x
; then
4681 eval "DEFAULT_$LINE"
4686 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4691 eval "$ac_cv_use_spinbtn"
4692 if test "$no_cache" != 1; then
4693 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4696 if test "$wxUSE_SPINBTN" = yes; then
4697 echo "$ac_t""yes" 1>&6
4699 echo "$ac_t""no" 1>&6
4703 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4704 echo "configure:4705: checking "for --enable-spinctrl"" >&5
4706 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4707 if test "${enable_spinctrl+set}" = set; then
4708 enableval
="$enable_spinctrl"
4710 if test "$enableval" = yes; then
4711 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4713 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
4718 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
4719 if test "x$LINE" != x
; then
4720 eval "DEFAULT_$LINE"
4725 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
4730 eval "$ac_cv_use_spinctrl"
4731 if test "$no_cache" != 1; then
4732 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
4735 if test "$wxUSE_SPINCTRL" = yes; then
4736 echo "$ac_t""yes" 1>&6
4738 echo "$ac_t""no" 1>&6
4742 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4743 echo "configure:4744: checking "for --enable-splitter"" >&5
4745 # Check whether --enable-splitter or --disable-splitter was given.
4746 if test "${enable_splitter+set}" = set; then
4747 enableval
="$enable_splitter"
4749 if test "$enableval" = yes; then
4750 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4752 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4757 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4758 if test "x$LINE" != x
; then
4759 eval "DEFAULT_$LINE"
4764 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4769 eval "$ac_cv_use_splitter"
4770 if test "$no_cache" != 1; then
4771 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4774 if test "$wxUSE_SPLITTER" = yes; then
4775 echo "$ac_t""yes" 1>&6
4777 echo "$ac_t""no" 1>&6
4781 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4782 echo "configure:4783: checking "for --enable-statbmp"" >&5
4784 # Check whether --enable-statbmp or --disable-statbmp was given.
4785 if test "${enable_statbmp+set}" = set; then
4786 enableval
="$enable_statbmp"
4788 if test "$enableval" = yes; then
4789 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4791 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4796 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4797 if test "x$LINE" != x
; then
4798 eval "DEFAULT_$LINE"
4803 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4808 eval "$ac_cv_use_statbmp"
4809 if test "$no_cache" != 1; then
4810 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4813 if test "$wxUSE_STATBMP" = yes; then
4814 echo "$ac_t""yes" 1>&6
4816 echo "$ac_t""no" 1>&6
4820 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4821 echo "configure:4822: checking "for --enable-statbox"" >&5
4823 # Check whether --enable-statbox or --disable-statbox was given.
4824 if test "${enable_statbox+set}" = set; then
4825 enableval
="$enable_statbox"
4827 if test "$enableval" = yes; then
4828 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4830 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4835 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4836 if test "x$LINE" != x
; then
4837 eval "DEFAULT_$LINE"
4842 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4847 eval "$ac_cv_use_statbox"
4848 if test "$no_cache" != 1; then
4849 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4852 if test "$wxUSE_STATBOX" = yes; then
4853 echo "$ac_t""yes" 1>&6
4855 echo "$ac_t""no" 1>&6
4859 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4860 echo "configure:4861: checking "for --enable-statline"" >&5
4862 # Check whether --enable-statline or --disable-statline was given.
4863 if test "${enable_statline+set}" = set; then
4864 enableval
="$enable_statline"
4866 if test "$enableval" = yes; then
4867 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4869 ac_cv_use_statline
='wxUSE_STATLINE=no'
4874 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4875 if test "x$LINE" != x
; then
4876 eval "DEFAULT_$LINE"
4881 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4886 eval "$ac_cv_use_statline"
4887 if test "$no_cache" != 1; then
4888 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4891 if test "$wxUSE_STATLINE" = yes; then
4892 echo "$ac_t""yes" 1>&6
4894 echo "$ac_t""no" 1>&6
4898 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4899 echo "configure:4900: checking "for --enable-statusbar"" >&5
4901 # Check whether --enable-statusbar or --disable-statusbar was given.
4902 if test "${enable_statusbar+set}" = set; then
4903 enableval
="$enable_statusbar"
4905 if test "$enableval" = yes; then
4906 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4908 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4913 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4914 if test "x$LINE" != x
; then
4915 eval "DEFAULT_$LINE"
4920 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4925 eval "$ac_cv_use_statusbar"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4930 if test "$wxUSE_STATUSBAR" = yes; then
4931 echo "$ac_t""yes" 1>&6
4933 echo "$ac_t""no" 1>&6
4937 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4938 echo "configure:4939: checking "for --enable-tabdialog"" >&5
4940 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4941 if test "${enable_tabdialog+set}" = set; then
4942 enableval
="$enable_tabdialog"
4944 if test "$enableval" = yes; then
4945 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4947 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4952 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4953 if test "x$LINE" != x
; then
4954 eval "DEFAULT_$LINE"
4959 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4964 eval "$ac_cv_use_tabdialog"
4965 if test "$no_cache" != 1; then
4966 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4969 if test "$wxUSE_TABDIALOG" = yes; then
4970 echo "$ac_t""yes" 1>&6
4972 echo "$ac_t""no" 1>&6
4976 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4977 echo "configure:4978: checking "for --enable-toolbar"" >&5
4979 # Check whether --enable-toolbar or --disable-toolbar was given.
4980 if test "${enable_toolbar+set}" = set; then
4981 enableval
="$enable_toolbar"
4983 if test "$enableval" = yes; then
4984 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4986 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4991 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4992 if test "x$LINE" != x
; then
4993 eval "DEFAULT_$LINE"
4998 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5003 eval "$ac_cv_use_toolbar"
5004 if test "$no_cache" != 1; then
5005 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5008 if test "$wxUSE_TOOLBAR" = yes; then
5009 echo "$ac_t""yes" 1>&6
5011 echo "$ac_t""no" 1>&6
5015 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5016 echo "configure:5017: checking "for --enable-tbarnative"" >&5
5018 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5019 if test "${enable_tbarnative+set}" = set; then
5020 enableval
="$enable_tbarnative"
5022 if test "$enableval" = yes; then
5023 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5025 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5030 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5031 if test "x$LINE" != x
; then
5032 eval "DEFAULT_$LINE"
5037 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5042 eval "$ac_cv_use_tbarnative"
5043 if test "$no_cache" != 1; then
5044 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5047 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5048 echo "$ac_t""yes" 1>&6
5050 echo "$ac_t""no" 1>&6
5054 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5055 echo "configure:5056: checking "for --enable-tbarsmpl"" >&5
5057 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5058 if test "${enable_tbarsmpl+set}" = set; then
5059 enableval
="$enable_tbarsmpl"
5061 if test "$enableval" = yes; then
5062 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5064 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5069 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5070 if test "x$LINE" != x
; then
5071 eval "DEFAULT_$LINE"
5076 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5081 eval "$ac_cv_use_tbarsmpl"
5082 if test "$no_cache" != 1; then
5083 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5086 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5087 echo "$ac_t""yes" 1>&6
5089 echo "$ac_t""no" 1>&6
5093 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5094 echo "configure:5095: checking "for --enable-treectrl"" >&5
5096 # Check whether --enable-treectrl or --disable-treectrl was given.
5097 if test "${enable_treectrl+set}" = set; then
5098 enableval
="$enable_treectrl"
5100 if test "$enableval" = yes; then
5101 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5103 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5108 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5109 if test "x$LINE" != x
; then
5110 eval "DEFAULT_$LINE"
5115 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5120 eval "$ac_cv_use_treectrl"
5121 if test "$no_cache" != 1; then
5122 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5125 if test "$wxUSE_TREECTRL" = yes; then
5126 echo "$ac_t""yes" 1>&6
5128 echo "$ac_t""no" 1>&6
5134 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5135 echo "configure:5136: checking "for --enable-commondlg"" >&5
5137 # Check whether --enable-commondlg or --disable-commondlg was given.
5138 if test "${enable_commondlg+set}" = set; then
5139 enableval
="$enable_commondlg"
5141 if test "$enableval" = yes; then
5142 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5144 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5149 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5150 if test "x$LINE" != x
; then
5151 eval "DEFAULT_$LINE"
5156 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5161 eval "$ac_cv_use_commondlg"
5162 if test "$no_cache" != 1; then
5163 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5166 if test "$wxUSE_COMMONDLGS" = yes; then
5167 echo "$ac_t""yes" 1>&6
5169 echo "$ac_t""no" 1>&6
5173 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5174 echo "configure:5175: checking "for --enable-dirdlg"" >&5
5176 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5177 if test "${enable_dirdlg+set}" = set; then
5178 enableval
="$enable_dirdlg"
5180 if test "$enableval" = yes; then
5181 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5183 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5188 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5189 if test "x$LINE" != x
; then
5190 eval "DEFAULT_$LINE"
5195 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5200 eval "$ac_cv_use_dirdlg"
5201 if test "$no_cache" != 1; then
5202 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5205 if test "$wxUSE_DIRDLG" = yes; then
5206 echo "$ac_t""yes" 1>&6
5208 echo "$ac_t""no" 1>&6
5212 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5213 echo "configure:5214: checking "for --enable-textdlg"" >&5
5215 # Check whether --enable-textdlg or --disable-textdlg was given.
5216 if test "${enable_textdlg+set}" = set; then
5217 enableval
="$enable_textdlg"
5219 if test "$enableval" = yes; then
5220 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5222 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5227 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5228 if test "x$LINE" != x
; then
5229 eval "DEFAULT_$LINE"
5234 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5239 eval "$ac_cv_use_textdlg"
5240 if test "$no_cache" != 1; then
5241 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5244 if test "$wxUSE_TEXTDLG" = yes; then
5245 echo "$ac_t""yes" 1>&6
5247 echo "$ac_t""no" 1>&6
5251 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5252 echo "configure:5253: checking "for --enable-tipdlg"" >&5
5254 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5255 if test "${enable_tipdlg+set}" = set; then
5256 enableval
="$enable_tipdlg"
5258 if test "$enableval" = yes; then
5259 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5261 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5266 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5267 if test "x$LINE" != x
; then
5268 eval "DEFAULT_$LINE"
5273 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5278 eval "$ac_cv_use_tipdlg"
5279 if test "$no_cache" != 1; then
5280 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5283 if test "$wxUSE_STARTUP_TIPS" = yes; then
5284 echo "$ac_t""yes" 1>&6
5286 echo "$ac_t""no" 1>&6
5290 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5291 echo "configure:5292: checking "for --enable-progressdlg"" >&5
5293 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5294 if test "${enable_progressdlg+set}" = set; then
5295 enableval
="$enable_progressdlg"
5297 if test "$enableval" = yes; then
5298 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5300 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5305 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5306 if test "x$LINE" != x
; then
5307 eval "DEFAULT_$LINE"
5312 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5317 eval "$ac_cv_use_progressdlg"
5318 if test "$no_cache" != 1; then
5319 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5322 if test "$wxUSE_PROGRESSDLG" = yes; then
5323 echo "$ac_t""yes" 1>&6
5325 echo "$ac_t""no" 1>&6
5329 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5330 echo "configure:5331: checking "for --enable-miniframe"" >&5
5332 # Check whether --enable-miniframe or --disable-miniframe was given.
5333 if test "${enable_miniframe+set}" = set; then
5334 enableval
="$enable_miniframe"
5336 if test "$enableval" = yes; then
5337 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5339 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5344 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5345 if test "x$LINE" != x
; then
5346 eval "DEFAULT_$LINE"
5351 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5356 eval "$ac_cv_use_miniframe"
5357 if test "$no_cache" != 1; then
5358 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5361 if test "$wxUSE_MINIFRAME" = yes; then
5362 echo "$ac_t""yes" 1>&6
5364 echo "$ac_t""no" 1>&6
5368 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5369 echo "configure:5370: checking "for --enable-html"" >&5
5371 # Check whether --enable-html or --disable-html was given.
5372 if test "${enable_html+set}" = set; then
5373 enableval
="$enable_html"
5375 if test "$enableval" = yes; then
5376 ac_cv_use_html
='wxUSE_HTML=yes'
5378 ac_cv_use_html
='wxUSE_HTML=no'
5383 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5384 if test "x$LINE" != x
; then
5385 eval "DEFAULT_$LINE"
5390 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5395 eval "$ac_cv_use_html"
5396 if test "$no_cache" != 1; then
5397 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5400 if test "$wxUSE_HTML" = yes; then
5401 echo "$ac_t""yes" 1>&6
5403 echo "$ac_t""no" 1>&6
5407 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5408 echo "configure:5409: checking "for --enable-tooltips"" >&5
5410 # Check whether --enable-tooltips or --disable-tooltips was given.
5411 if test "${enable_tooltips+set}" = set; then
5412 enableval
="$enable_tooltips"
5414 if test "$enableval" = yes; then
5415 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5417 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5422 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5423 if test "x$LINE" != x
; then
5424 eval "DEFAULT_$LINE"
5429 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5434 eval "$ac_cv_use_tooltips"
5435 if test "$no_cache" != 1; then
5436 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5439 if test "$wxUSE_TOOLTIPS" = yes; then
5440 echo "$ac_t""yes" 1>&6
5442 echo "$ac_t""no" 1>&6
5446 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5447 echo "configure:5448: checking "for --enable-splines"" >&5
5449 # Check whether --enable-splines or --disable-splines was given.
5450 if test "${enable_splines+set}" = set; then
5451 enableval
="$enable_splines"
5453 if test "$enableval" = yes; then
5454 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5456 ac_cv_use_splines
='wxUSE_SPLINES=no'
5461 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5462 if test "x$LINE" != x
; then
5463 eval "DEFAULT_$LINE"
5468 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5473 eval "$ac_cv_use_splines"
5474 if test "$no_cache" != 1; then
5475 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5478 if test "$wxUSE_SPLINES" = yes; then
5479 echo "$ac_t""yes" 1>&6
5481 echo "$ac_t""no" 1>&6
5485 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5486 echo "configure:5487: checking "for --enable-validators"" >&5
5488 # Check whether --enable-validators or --disable-validators was given.
5489 if test "${enable_validators+set}" = set; then
5490 enableval
="$enable_validators"
5492 if test "$enableval" = yes; then
5493 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5495 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5500 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5501 if test "x$LINE" != x
; then
5502 eval "DEFAULT_$LINE"
5507 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5512 eval "$ac_cv_use_validators"
5513 if test "$no_cache" != 1; then
5514 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5517 if test "$wxUSE_VALIDATORS" = yes; then
5518 echo "$ac_t""yes" 1>&6
5520 echo "$ac_t""no" 1>&6
5524 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5525 echo "configure:5526: checking "for --enable-busyinfo"" >&5
5527 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5528 if test "${enable_busyinfo+set}" = set; then
5529 enableval
="$enable_busyinfo"
5531 if test "$enableval" = yes; then
5532 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5534 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5539 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5540 if test "x$LINE" != x
; then
5541 eval "DEFAULT_$LINE"
5546 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5551 eval "$ac_cv_use_busyinfo"
5552 if test "$no_cache" != 1; then
5553 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5556 if test "$wxUSE_BUSYINFO" = yes; then
5557 echo "$ac_t""yes" 1>&6
5559 echo "$ac_t""no" 1>&6
5565 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5566 echo "configure:5567: checking "for --enable-gif"" >&5
5568 # Check whether --enable-gif or --disable-gif was given.
5569 if test "${enable_gif+set}" = set; then
5570 enableval
="$enable_gif"
5572 if test "$enableval" = yes; then
5573 ac_cv_use_gif
='wxUSE_GIF=yes'
5575 ac_cv_use_gif
='wxUSE_GIF=no'
5580 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5581 if test "x$LINE" != x
; then
5582 eval "DEFAULT_$LINE"
5587 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5592 eval "$ac_cv_use_gif"
5593 if test "$no_cache" != 1; then
5594 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5597 if test "$wxUSE_GIF" = yes; then
5598 echo "$ac_t""yes" 1>&6
5600 echo "$ac_t""no" 1>&6
5604 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5605 echo "configure:5606: checking "for --enable-pcx"" >&5
5607 # Check whether --enable-pcx or --disable-pcx was given.
5608 if test "${enable_pcx+set}" = set; then
5609 enableval
="$enable_pcx"
5611 if test "$enableval" = yes; then
5612 ac_cv_use_pcx
='wxUSE_PCX=yes'
5614 ac_cv_use_pcx
='wxUSE_PCX=no'
5619 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5620 if test "x$LINE" != x
; then
5621 eval "DEFAULT_$LINE"
5626 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5631 eval "$ac_cv_use_pcx"
5632 if test "$no_cache" != 1; then
5633 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5636 if test "$wxUSE_PCX" = yes; then
5637 echo "$ac_t""yes" 1>&6
5639 echo "$ac_t""no" 1>&6
5643 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5644 echo "configure:5645: checking "for --enable-pnm"" >&5
5646 # Check whether --enable-pnm or --disable-pnm was given.
5647 if test "${enable_pnm+set}" = set; then
5648 enableval
="$enable_pnm"
5650 if test "$enableval" = yes; then
5651 ac_cv_use_pnm
='wxUSE_PNM=yes'
5653 ac_cv_use_pnm
='wxUSE_PNM=no'
5658 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5659 if test "x$LINE" != x
; then
5660 eval "DEFAULT_$LINE"
5665 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5670 eval "$ac_cv_use_pnm"
5671 if test "$no_cache" != 1; then
5672 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5675 if test "$wxUSE_PNM" = yes; then
5676 echo "$ac_t""yes" 1>&6
5678 echo "$ac_t""no" 1>&6
5685 echo "saving argument cache $wx_arg_cache_file"
5686 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5690 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5691 echo "configure:5692: checking for toolkit" >&5
5693 if test "$wxUSE_GUI" = "yes"; then
5695 if test "$USE_BEOS" = 1; then
5696 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
5699 if test "$TOOLKIT_GIVEN" = 1; then
5700 for toolkit
in `echo $ALL_TOOLKITS`; do
5702 eval "value=\$${var}"
5703 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5706 for toolkit
in `echo $ALL_TOOLKITS`; do
5707 if test "$has_toolkit_in_cache" != 1; then
5708 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5710 var
=DEFAULT_wxUSE_
$toolkit
5712 eval "wxUSE_$toolkit=\$${var}"
5716 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5718 case "$NUM_TOOLKITS" in
5722 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5725 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5728 for toolkit
in `echo $ALL_TOOLKITS`; do
5730 eval "value=\$${var}"
5731 if test "x$value" != x
; then
5732 cache_var
=CACHE_
$toolkit
5733 eval "cache=\$${cache_var}"
5734 if test "$cache" = 1; then
5735 echo "$var=$value" >> ${wx_arg_cache_file}
5737 if test "$value" = 1; then
5738 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5744 echo "$ac_t""base only" 1>&6
5748 cat > confcache
<<\EOF
5749 # This file is a shell script that caches the results of configure
5750 # tests run on this system so they can be shared between configure
5751 # scripts and configure runs. It is not useful on other systems.
5752 # If it contains results you don't want to keep, you may remove or edit it.
5754 # By default, configure uses ./config.cache as the cache file,
5755 # creating it if it does not exist already. You can give configure
5756 # the --cache-file=FILE option to use a different cache file; that is
5757 # what configure does when it calls configure scripts in
5758 # subdirectories, so they share the cache.
5759 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5760 # config.status only pays attention to the cache file if you give it the
5761 # --recheck option to rerun configure.
5764 # The following way of writing the cache mishandles newlines in values,
5765 # but we know of no workaround that is simple, portable, and efficient.
5766 # So, don't put newlines in cache variables' values.
5767 # Ultrix sh set writes to stderr and can't be redirected directly,
5768 # and sets the high bit in the cache file unless we assign to the vars.
5770 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5772 # `set' does not quote correctly, so add quotes (double-quote substitution
5773 # turns \\\\ into \\, and sed turns \\ into \).
5775 -e "s/'/'\\\\''/g" \
5776 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5779 # `set' quotes correctly as required by POSIX, so do not add quotes.
5780 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5783 if cmp -s $cache_file confcache
; then
5786 if test -w $cache_file; then
5787 echo "updating cache $cache_file"
5788 cat confcache
> $cache_file
5790 echo "not updating unwritable cache $cache_file"
5796 if eval "test $host != $build"; then
5797 if eval "test $host_alias != NONE"; then
5801 RANLIB
=$host_alias-ranlib
5802 DLLTOOL
=$host_alias-dlltool
5805 STRIP
=$host_alias-strip
5809 # Extract the first word of "gcc", so it can be a program name with args.
5810 set dummy gcc
; ac_word
=$2
5811 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5812 echo "configure:5813: checking for $ac_word" >&5
5813 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5814 echo $ac_n "(cached) $ac_c" 1>&6
5816 if test -n "$CC"; then
5817 ac_cv_prog_CC
="$CC" # Let the user override the test.
5819 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5821 for ac_dir
in $ac_dummy; do
5822 test -z "$ac_dir" && ac_dir
=.
5823 if test -f $ac_dir/$ac_word; then
5832 if test -n "$CC"; then
5833 echo "$ac_t""$CC" 1>&6
5835 echo "$ac_t""no" 1>&6
5838 if test -z "$CC"; then
5839 # Extract the first word of "cc", so it can be a program name with args.
5840 set dummy cc
; ac_word
=$2
5841 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5842 echo "configure:5843: checking for $ac_word" >&5
5843 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5844 echo $ac_n "(cached) $ac_c" 1>&6
5846 if test -n "$CC"; then
5847 ac_cv_prog_CC
="$CC" # Let the user override the test.
5849 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5852 for ac_dir
in $ac_dummy; do
5853 test -z "$ac_dir" && ac_dir
=.
5854 if test -f $ac_dir/$ac_word; then
5855 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5856 ac_prog_rejected
=yes
5864 if test $ac_prog_rejected = yes; then
5865 # We found a bogon in the path, so make sure we never use it.
5866 set dummy
$ac_cv_prog_CC
5868 if test $# -gt 0; then
5869 # We chose a different compiler from the bogus one.
5870 # However, it has the same basename, so the bogon will be chosen
5871 # first if we set CC to just the basename; use the full file name.
5873 set dummy
"$ac_dir/$ac_word" "$@"
5881 if test -n "$CC"; then
5882 echo "$ac_t""$CC" 1>&6
5884 echo "$ac_t""no" 1>&6
5887 if test -z "$CC"; then
5888 case "`uname -s`" in
5890 # Extract the first word of "cl", so it can be a program name with args.
5891 set dummy cl
; ac_word
=$2
5892 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5893 echo "configure:5894: checking for $ac_word" >&5
5894 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5895 echo $ac_n "(cached) $ac_c" 1>&6
5897 if test -n "$CC"; then
5898 ac_cv_prog_CC
="$CC" # Let the user override the test.
5900 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5902 for ac_dir
in $ac_dummy; do
5903 test -z "$ac_dir" && ac_dir
=.
5904 if test -f $ac_dir/$ac_word; then
5913 if test -n "$CC"; then
5914 echo "$ac_t""$CC" 1>&6
5916 echo "$ac_t""no" 1>&6
5921 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5924 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5925 echo "configure:5926: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5928 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5929 ac_cpp
='$CPP $CPPFLAGS'
5930 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5931 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5932 cross_compiling
=$ac_cv_prog_cc_cross
5934 cat > conftest.
$ac_ext << EOF
5936 #line 5937 "configure"
5937 #include "confdefs.h"
5941 if { (eval echo configure
:5942: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5942 ac_cv_prog_cc_works
=yes
5943 # If we can't run a trivial program, we are probably using a cross compiler.
5944 if (.
/conftest
; exit) 2>/dev
/null
; then
5945 ac_cv_prog_cc_cross
=no
5947 ac_cv_prog_cc_cross
=yes
5950 echo "configure: failed program was:" >&5
5951 cat conftest.
$ac_ext >&5
5952 ac_cv_prog_cc_works
=no
5956 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5957 ac_cpp
='$CPP $CPPFLAGS'
5958 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5959 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5960 cross_compiling
=$ac_cv_prog_cc_cross
5962 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5963 if test $ac_cv_prog_cc_works = no
; then
5964 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5966 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5967 echo "configure:5968: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5968 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5969 cross_compiling
=$ac_cv_prog_cc_cross
5971 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5972 echo "configure:5973: checking whether we are using GNU C" >&5
5973 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5974 echo $ac_n "(cached) $ac_c" 1>&6
5976 cat > conftest.c
<<EOF
5981 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5988 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5990 if test $ac_cv_prog_gcc = yes; then
5996 ac_test_CFLAGS
="${CFLAGS+set}"
5997 ac_save_CFLAGS
="$CFLAGS"
5999 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6000 echo "configure:6001: checking whether ${CC-cc} accepts -g" >&5
6001 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6002 echo $ac_n "(cached) $ac_c" 1>&6
6004 echo 'void f(){}' > conftest.c
6005 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6014 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6015 if test "$ac_test_CFLAGS" = set; then
6016 CFLAGS
="$ac_save_CFLAGS"
6017 elif test $ac_cv_prog_cc_g = yes; then
6018 if test "$GCC" = yes; then
6024 if test "$GCC" = yes; then
6032 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6034 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6035 echo "configure:6036: checking how to run the C preprocessor" >&5
6036 # On Suns, sometimes $CPP names a directory.
6037 if test -n "$CPP" && test -d "$CPP"; then
6040 if test -z "$CPP"; then
6041 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6042 echo $ac_n "(cached) $ac_c" 1>&6
6044 # This must be in double quotes, not single quotes, because CPP may get
6045 # substituted into the Makefile and "${CC-cc}" will confuse make.
6047 # On the NeXT, cc -E runs the code through the compiler's parser,
6048 # not just through cpp.
6049 cat > conftest.
$ac_ext <<EOF
6050 #line 6051 "configure"
6051 #include "confdefs.h"
6055 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6056 { (eval echo configure
:6057: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6057 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6058 if test -z "$ac_err"; then
6062 echo "configure: failed program was:" >&5
6063 cat conftest.
$ac_ext >&5
6065 CPP
="${CC-cc} -E -traditional-cpp"
6066 cat > conftest.
$ac_ext <<EOF
6067 #line 6068 "configure"
6068 #include "confdefs.h"
6072 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6073 { (eval echo configure
:6074: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6074 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6075 if test -z "$ac_err"; then
6079 echo "configure: failed program was:" >&5
6080 cat conftest.
$ac_ext >&5
6082 CPP
="${CC-cc} -nologo -E"
6083 cat > conftest.
$ac_ext <<EOF
6084 #line 6085 "configure"
6085 #include "confdefs.h"
6089 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6090 { (eval echo configure
:6091: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6091 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6092 if test -z "$ac_err"; then
6096 echo "configure: failed program was:" >&5
6097 cat conftest.
$ac_ext >&5
6106 ac_cv_prog_CPP
="$CPP"
6108 CPP
="$ac_cv_prog_CPP"
6110 ac_cv_prog_CPP
="$CPP"
6112 echo "$ac_t""$CPP" 1>&6
6115 if test $ac_cv_prog_gcc = yes; then
6116 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6117 echo "configure:6118: checking whether ${CC-cc} needs -traditional" >&5
6118 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6119 echo $ac_n "(cached) $ac_c" 1>&6
6121 ac_pattern
="Autoconf.*'x'"
6122 cat > conftest.
$ac_ext <<EOF
6123 #line 6124 "configure"
6124 #include "confdefs.h"
6128 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6129 egrep "$ac_pattern" >/dev
/null
2>&1; then
6131 ac_cv_prog_gcc_traditional
=yes
6134 ac_cv_prog_gcc_traditional
=no
6139 if test $ac_cv_prog_gcc_traditional = no
; then
6140 cat > conftest.
$ac_ext <<EOF
6141 #line 6142 "configure"
6142 #include "confdefs.h"
6146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6147 egrep "$ac_pattern" >/dev
/null
2>&1; then
6149 ac_cv_prog_gcc_traditional
=yes
6156 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6157 if test $ac_cv_prog_gcc_traditional = yes; then
6158 CC
="$CC -traditional"
6165 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6166 ac_cpp
='$CXXCPP $CPPFLAGS'
6167 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6168 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6169 cross_compiling
=$ac_cv_prog_cxx_cross
6172 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6174 # Extract the first word of "$ac_prog", so it can be a program name with args.
6175 set dummy
$ac_prog; ac_word
=$2
6176 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6177 echo "configure:6178: checking for $ac_word" >&5
6178 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6179 echo $ac_n "(cached) $ac_c" 1>&6
6181 if test -n "$CXX"; then
6182 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6184 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6186 for ac_dir
in $ac_dummy; do
6187 test -z "$ac_dir" && ac_dir
=.
6188 if test -f $ac_dir/$ac_word; then
6189 ac_cv_prog_CXX
="$ac_prog"
6196 CXX
="$ac_cv_prog_CXX"
6197 if test -n "$CXX"; then
6198 echo "$ac_t""$CXX" 1>&6
6200 echo "$ac_t""no" 1>&6
6203 test -n "$CXX" && break
6205 test -n "$CXX" || CXX
="gcc"
6208 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6209 echo "configure:6210: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6212 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6213 ac_cpp
='$CXXCPP $CPPFLAGS'
6214 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6215 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6216 cross_compiling
=$ac_cv_prog_cxx_cross
6218 cat > conftest.
$ac_ext << EOF
6220 #line 6221 "configure"
6221 #include "confdefs.h"
6223 int main(){return(0);}
6225 if { (eval echo configure
:6226: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6226 ac_cv_prog_cxx_works
=yes
6227 # If we can't run a trivial program, we are probably using a cross compiler.
6228 if (.
/conftest
; exit) 2>/dev
/null
; then
6229 ac_cv_prog_cxx_cross
=no
6231 ac_cv_prog_cxx_cross
=yes
6234 echo "configure: failed program was:" >&5
6235 cat conftest.
$ac_ext >&5
6236 ac_cv_prog_cxx_works
=no
6240 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6241 ac_cpp
='$CXXCPP $CPPFLAGS'
6242 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6243 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6244 cross_compiling
=$ac_cv_prog_cxx_cross
6246 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6247 if test $ac_cv_prog_cxx_works = no
; then
6248 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6250 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6251 echo "configure:6252: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6252 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6253 cross_compiling
=$ac_cv_prog_cxx_cross
6255 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6256 echo "configure:6257: checking whether we are using GNU C++" >&5
6257 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6258 echo $ac_n "(cached) $ac_c" 1>&6
6260 cat > conftest.C
<<EOF
6265 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6266: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6272 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6274 if test $ac_cv_prog_gxx = yes; then
6280 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6281 ac_save_CXXFLAGS
="$CXXFLAGS"
6283 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6284 echo "configure:6285: checking whether ${CXX-g++} accepts -g" >&5
6285 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6286 echo $ac_n "(cached) $ac_c" 1>&6
6288 echo 'void f(){}' > conftest.cc
6289 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6290 ac_cv_prog_cxx_g
=yes
6298 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6299 if test "$ac_test_CXXFLAGS" = set; then
6300 CXXFLAGS
="$ac_save_CXXFLAGS"
6301 elif test $ac_cv_prog_cxx_g = yes; then
6302 if test "$GXX" = yes; then
6308 if test "$GXX" = yes; then
6316 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6317 echo "configure:6318: checking how to run the C++ preprocessor" >&5
6318 if test -z "$CXXCPP"; then
6319 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6320 echo $ac_n "(cached) $ac_c" 1>&6
6323 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6324 ac_cpp
='$CXXCPP $CPPFLAGS'
6325 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6326 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6327 cross_compiling
=$ac_cv_prog_cxx_cross
6328 CXXCPP
="${CXX-g++} -E"
6329 cat > conftest.
$ac_ext <<EOF
6330 #line 6331 "configure"
6331 #include "confdefs.h"
6334 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6335 { (eval echo configure
:6336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6336 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6337 if test -z "$ac_err"; then
6341 echo "configure: failed program was:" >&5
6342 cat conftest.
$ac_ext >&5
6347 ac_cv_prog_CXXCPP
="$CXXCPP"
6349 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6350 ac_cpp
='$CXXCPP $CPPFLAGS'
6351 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6352 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6353 cross_compiling
=$ac_cv_prog_cxx_cross
6356 CXXCPP
="$ac_cv_prog_CXXCPP"
6357 echo "$ac_t""$CXXCPP" 1>&6
6360 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6363 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6364 ac_cpp
='$CPP $CPPFLAGS'
6365 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6366 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6367 cross_compiling
=$ac_cv_prog_cc_cross
6370 # Extract the first word of "ranlib", so it can be a program name with args.
6371 set dummy ranlib
; ac_word
=$2
6372 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6373 echo "configure:6374: checking for $ac_word" >&5
6374 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6375 echo $ac_n "(cached) $ac_c" 1>&6
6377 if test -n "$RANLIB"; then
6378 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6380 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6382 for ac_dir
in $ac_dummy; do
6383 test -z "$ac_dir" && ac_dir
=.
6384 if test -f $ac_dir/$ac_word; then
6385 ac_cv_prog_RANLIB
="ranlib"
6390 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6393 RANLIB
="$ac_cv_prog_RANLIB"
6394 if test -n "$RANLIB"; then
6395 echo "$ac_t""$RANLIB" 1>&6
6397 echo "$ac_t""no" 1>&6
6401 # Extract the first word of "ar", so it can be a program name with args.
6402 set dummy
ar; ac_word
=$2
6403 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6404 echo "configure:6405: checking for $ac_word" >&5
6405 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6406 echo $ac_n "(cached) $ac_c" 1>&6
6408 if test -n "$AR"; then
6409 ac_cv_prog_AR
="$AR" # Let the user override the test.
6411 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6413 for ac_dir
in $ac_dummy; do
6414 test -z "$ac_dir" && ac_dir
=.
6415 if test -f $ac_dir/$ac_word; then
6421 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6425 if test -n "$AR"; then
6426 echo "$ac_t""$AR" 1>&6
6428 echo "$ac_t""no" 1>&6
6432 # Find a good install program. We prefer a C program (faster),
6433 # so one script is as good as another. But avoid the broken or
6434 # incompatible versions:
6435 # SysV /etc/install, /usr/sbin/install
6436 # SunOS /usr/etc/install
6437 # IRIX /sbin/install
6439 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6440 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6441 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6442 # ./install, which can be erroneously created by make from ./install.sh.
6443 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6444 echo "configure:6445: checking for a BSD compatible install" >&5
6445 if test -z "$INSTALL"; then
6446 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6447 echo $ac_n "(cached) $ac_c" 1>&6
6449 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6450 for ac_dir
in $PATH; do
6451 # Account for people who put trailing slashes in PATH elements.
6453 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6455 # OSF1 and SCO ODT 3.0 have their own names for install.
6456 # Don't use installbsd from OSF since it installs stuff as root
6458 for ac_prog
in ginstall scoinst
install; do
6459 if test -f $ac_dir/$ac_prog; then
6460 if test $ac_prog = install &&
6461 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6462 # AIX install. It has an incompatible calling convention.
6465 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6476 if test "${ac_cv_path_install+set}" = set; then
6477 INSTALL
="$ac_cv_path_install"
6479 # As a last resort, use the slow shell script. We don't cache a
6480 # path for INSTALL within a source directory, because that will
6481 # break other packages using the cache if that directory is
6482 # removed, or if the path is relative.
6483 INSTALL
="$ac_install_sh"
6486 echo "$ac_t""$INSTALL" 1>&6
6488 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6489 # It thinks the first close brace ends the variable substitution.
6490 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6492 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6494 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6497 # Extract the first word of "strip", so it can be a program name with args.
6498 set dummy strip
; ac_word
=$2
6499 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6500 echo "configure:6501: checking for $ac_word" >&5
6501 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6502 echo $ac_n "(cached) $ac_c" 1>&6
6504 if test -n "$STRIP"; then
6505 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6507 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6509 for ac_dir
in $ac_dummy; do
6510 test -z "$ac_dir" && ac_dir
=.
6511 if test -f $ac_dir/$ac_word; then
6512 ac_cv_prog_STRIP
="strip"
6517 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6520 STRIP
="$ac_cv_prog_STRIP"
6521 if test -n "$STRIP"; then
6522 echo "$ac_t""$STRIP" 1>&6
6524 echo "$ac_t""no" 1>&6
6528 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6529 echo "configure:6530: checking "make for VPATH support
"" >&5
6530 cat - << EOF > confMake
6536 if test ! -d sub
; then
6539 echo dummy
> sub
/file
6540 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6542 rm -f sub
/file check final_file confMake
6544 if test "$RESULT" = 0; then
6545 echo "$ac_t""yes" 1>&6
6547 echo "$ac_t""no" 1>&6
6548 { echo "configure: error: You need a make-utility that is able to use the variable
6550 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6553 for ac_prog
in 'bison -y' byacc
6555 # Extract the first word of "$ac_prog", so it can be a program name with args.
6556 set dummy
$ac_prog; ac_word
=$2
6557 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6558 echo "configure:6559: checking for $ac_word" >&5
6559 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6560 echo $ac_n "(cached) $ac_c" 1>&6
6562 if test -n "$YACC"; then
6563 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6565 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6567 for ac_dir
in $ac_dummy; do
6568 test -z "$ac_dir" && ac_dir
=.
6569 if test -f $ac_dir/$ac_word; then
6570 ac_cv_prog_YACC
="$ac_prog"
6577 YACC
="$ac_cv_prog_YACC"
6578 if test -n "$YACC"; then
6579 echo "$ac_t""$YACC" 1>&6
6581 echo "$ac_t""no" 1>&6
6584 test -n "$YACC" && break
6586 test -n "$YACC" || YACC
="yacc"
6589 # Extract the first word of "flex", so it can be a program name with args.
6590 set dummy flex
; ac_word
=$2
6591 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6592 echo "configure:6593: checking for $ac_word" >&5
6593 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6594 echo $ac_n "(cached) $ac_c" 1>&6
6596 if test -n "$LEX"; then
6597 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6599 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6601 for ac_dir
in $ac_dummy; do
6602 test -z "$ac_dir" && ac_dir
=.
6603 if test -f $ac_dir/$ac_word; then
6604 ac_cv_prog_LEX
="flex"
6609 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6612 LEX
="$ac_cv_prog_LEX"
6613 if test -n "$LEX"; then
6614 echo "$ac_t""$LEX" 1>&6
6616 echo "$ac_t""no" 1>&6
6619 if test -z "$LEXLIB"
6625 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6626 echo "configure:6627: checking for yywrap in -l$ac_lib" >&5
6627 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6628 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6629 echo $ac_n "(cached) $ac_c" 1>&6
6631 ac_save_LIBS
="$LIBS"
6632 LIBS
="-l$ac_lib $LIBS"
6633 cat > conftest.
$ac_ext <<EOF
6634 #line 6635 "configure"
6635 #include "confdefs.h"
6636 /* Override any gcc2 internal prototype to avoid an error. */
6637 /* We use char because int might match the return type of a gcc2
6638 builtin and then its argument prototype would still apply. */
6645 if { (eval echo configure
:6646: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6647 eval "ac_cv_lib_$ac_lib_var=yes"
6649 echo "configure: failed program was:" >&5
6650 cat conftest.
$ac_ext >&5
6652 eval "ac_cv_lib_$ac_lib_var=no"
6655 LIBS
="$ac_save_LIBS"
6658 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6659 echo "$ac_t""yes" 1>&6
6662 echo "$ac_t""no" 1>&6
6668 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6669 echo "configure:6670: checking whether ln -s works" >&5
6670 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6671 echo $ac_n "(cached) $ac_c" 1>&6
6674 if ln -s X conftestdata
2>/dev
/null
6677 ac_cv_prog_LN_S
="ln -s"
6682 LN_S
="$ac_cv_prog_LN_S"
6683 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6684 echo "$ac_t""yes" 1>&6
6686 echo "$ac_t""no" 1>&6
6692 /usr/local/include \
6694 /usr/Motif-1.2/include \
6695 /usr/Motif-2.1/include \
6697 /usr/include/Motif1.2 \
6698 /opt/xpm/include/X11 \
6699 /opt/GBxpm/include/ \
6700 /opt/GBxpm/X11/include/ \
6702 /usr/Motif1.2/include \
6704 /usr/openwin/include \
6708 /usr/X11R6/include \
6709 /usr/X11R6.4/include \
6710 /usr/X11R5/include \
6711 /usr/X11R4/include \
6713 /usr/include/X11R6 \
6714 /usr/include/X11R5 \
6715 /usr/include/X11R4 \
6717 /usr/local/X11R6/include \
6718 /usr/local/X11R5/include \
6719 /usr/local/X11R4/include \
6721 /usr/local/include/X11R6 \
6722 /usr/local/include/X11R5 \
6723 /usr/local/include/X11R4 \
6727 /usr/local/X11/include \
6728 /usr/local/include/X11 \
6732 /usr/XFree86/include/X11 \
6735 /usr/local/include/gtk \
6737 /usr/local/include/glib \
6740 /usr/local/include/qt \
6742 /usr/include/windows \
6744 /usr/local/include/wine \
6746 /usr/unsupported/include \
6747 /usr/athena/include \
6748 /usr/local/x11r5/include \
6749 /usr/lpp/Xamples/include \
6751 /usr/openwin/share/include \
6755 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6758 cat > confcache
<<\EOF
6759 # This file is a shell script that caches the results of configure
6760 # tests run on this system so they can be shared between configure
6761 # scripts and configure runs. It is not useful on other systems.
6762 # If it contains results you don't want to keep, you may remove or edit it.
6764 # By default, configure uses ./config.cache as the cache file,
6765 # creating it if it does not exist already. You can give configure
6766 # the --cache-file=FILE option to use a different cache file; that is
6767 # what configure does when it calls configure scripts in
6768 # subdirectories, so they share the cache.
6769 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6770 # config.status only pays attention to the cache file if you give it the
6771 # --recheck option to rerun configure.
6774 # The following way of writing the cache mishandles newlines in values,
6775 # but we know of no workaround that is simple, portable, and efficient.
6776 # So, don't put newlines in cache variables' values.
6777 # Ultrix sh set writes to stderr and can't be redirected directly,
6778 # and sets the high bit in the cache file unless we assign to the vars.
6780 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6782 # `set' does not quote correctly, so add quotes (double-quote substitution
6783 # turns \\\\ into \\, and sed turns \\ into \).
6785 -e "s/'/'\\\\''/g" \
6786 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6789 # `set' quotes correctly as required by POSIX, so do not add quotes.
6790 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6793 if cmp -s $cache_file confcache
; then
6796 if test -w $cache_file; then
6797 echo "updating cache $cache_file"
6798 cat confcache
> $cache_file
6800 echo "not updating unwritable cache $cache_file"
6807 if test "$wxUSE_GUI" = "yes"; then
6825 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6826 if test "$cross_compiling" = "yes" ; then
6827 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6829 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6830 echo "configure:6831: checking for Windows headers" >&5
6833 for ac_dir
in $SEARCH_INCLUDE;
6835 if test -f "$ac_dir/windows.h"; then
6836 ac_find_includes
=$ac_dir
6841 if test "$ac_find_includes" != "" ; then
6842 echo "$ac_t""found $ac_find_includes" 1>&6
6843 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6845 echo "$ac_t""no" 1>&6
6846 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6850 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6851 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6853 if test "$wxUSE_MINGW" = 1; then
6854 LDFLAGS
="$LDFLAGS -mwindows"
6859 GUIOBJS
="\$(MSW_GUIOBJS)"
6860 GUIHEADERS
="\$(MSW_HEADERS)"
6861 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6862 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6868 if test "$wxUSE_GTK" = 1; then
6870 if test x
$gtk_config_exec_prefix != x
; then
6871 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6872 if test x
${GTK_CONFIG+set} != xset
; then
6873 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6876 if test x
$gtk_config_prefix != x
; then
6877 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6878 if test x
${GTK_CONFIG+set} != xset
; then
6879 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6883 # Extract the first word of "gtk-config", so it can be a program name with args.
6884 set dummy gtk
-config; ac_word
=$2
6885 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6886 echo "configure:6887: checking for $ac_word" >&5
6887 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6888 echo $ac_n "(cached) $ac_c" 1>&6
6890 case "$GTK_CONFIG" in
6892 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6895 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6898 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6900 for ac_dir
in $ac_dummy; do
6901 test -z "$ac_dir" && ac_dir
=.
6902 if test -f $ac_dir/$ac_word; then
6903 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6908 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6912 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6913 if test -n "$GTK_CONFIG"; then
6914 echo "$ac_t""$GTK_CONFIG" 1>&6
6916 echo "$ac_t""no" 1>&6
6919 min_gtk_version
=1.2.1
6920 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6921 echo "configure:6922: checking for GTK - version >= $min_gtk_version" >&5
6923 if test "$GTK_CONFIG" != "no" ; then
6924 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6925 GTK_LIBS
=`$GTK_CONFIG --libs`
6926 ac_save_CFLAGS
="$CFLAGS"
6927 ac_save_LIBS
="$LIBS"
6928 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6929 LIBS
="$LIBS $GTK_LIBS"
6930 if test "$cross_compiling" = yes; then
6931 echo $ac_n "cross compiling; assumed OK... $ac_c"
6933 cat > conftest.
$ac_ext <<EOF
6934 #line 6935 "configure"
6935 #include "confdefs.h"
6937 #include <gtk/gtk.h>
6938 #include <gtk/gtkfeatures.h>
6944 int major, minor, micro;
6946 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6947 printf("%s, bad version string\n", "$min_gtk_version");
6951 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
6952 (GTK_MINOR_VERSION != gtk_minor_version) ||
6953 (GTK_MICRO_VERSION != gtk_micro_version)) {
6954 printf("Headers vs. library version mismatch!\n");
6958 if (gtk_minor_version == 1) return FALSE;
6960 return !((gtk_major_version > major) ||
6961 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6962 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6966 if { (eval echo configure
:6967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6970 echo "configure: failed program was:" >&5
6971 cat conftest.
$ac_ext >&5
6978 CFLAGS
="$ac_save_CFLAGS"
6979 LIBS
="$ac_save_LIBS"
6983 if test "x$no_gtk" = x
; then
6984 echo "$ac_t""yes" 1>&6
6987 echo "$ac_t""no" 1>&6
6990 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.1 or above?" 1>&2; exit 1; }
6996 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6997 GUI_TK_LIBRARY
="$GTK_LIBS"
7000 GUIOBJS
="\$(GTK_GUIOBJS)"
7001 GUIHEADERS
="\$(GTK_HEADERS)"
7002 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7003 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7004 GUIDEPS
="\$(GTK_GUIDEPS)"
7005 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7006 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7007 UNIXOBJS
="\$(UNIX_OBJS)"
7008 UNIXDEPS
="\$(UNIX_DEPS)"
7011 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7012 echo "configure:7013: checking for gdk_im_open in -lgdk" >&5
7013 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7014 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7015 echo $ac_n "(cached) $ac_c" 1>&6
7017 ac_save_LIBS
="$LIBS"
7019 cat > conftest.
$ac_ext <<EOF
7020 #line 7021 "configure"
7021 #include "confdefs.h"
7022 /* Override any gcc2 internal prototype to avoid an error. */
7023 /* We use char because int might match the return type of a gcc2
7024 builtin and then its argument prototype would still apply. */
7031 if { (eval echo configure
:7032: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7033 eval "ac_cv_lib_$ac_lib_var=yes"
7035 echo "configure: failed program was:" >&5
7036 cat conftest.
$ac_ext >&5
7038 eval "ac_cv_lib_$ac_lib_var=no"
7041 LIBS
="$ac_save_LIBS"
7044 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7045 echo "$ac_t""yes" 1>&6
7046 cat >> confdefs.h
<<\EOF
7051 echo "$ac_t""no" 1>&6
7057 if test "$wxUSE_WINE" = 1; then
7058 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7059 echo "configure:7060: checking for WINE includes" >&5
7062 for ac_dir
in $SEARCH_INCLUDE;
7064 if test -f "$ac_dir/windows.h"; then
7065 ac_find_includes
=$ac_dir
7070 if test "$ac_find_includes" != "" ; then
7071 echo "$ac_t""found $ac_find_includes" 1>&6
7072 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7074 echo "$ac_t""no" 1>&6
7075 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7079 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7080 echo "configure:7081: checking for Xpm library" >&5
7083 for ac_dir
in $SEARCH_LIB;
7085 for ac_extension
in a so sl
; do
7086 if test -f "$ac_dir/libXpm.$ac_extension"; then
7087 ac_find_libraries
=$ac_dir
7093 if test "$ac_find_libraries" != "" ; then
7094 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7096 cat >> confdefs.h
<<\EOF
7097 #define wxHAVE_LIB_XPM 1
7100 echo "$ac_t""found at $ac_find_libraries" 1>&6
7102 echo "$ac_t""no" 1>&6
7103 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7107 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7108 echo "configure:7109: checking for Mesa library" >&5
7111 for ac_dir
in $SEARCH_LIB;
7113 for ac_extension
in a so sl
; do
7114 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7115 ac_find_libraries
=$ac_dir
7121 if test "$ac_find_libraries" != "" ; then
7122 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7123 MESA_LINK
="-lMesaGL"
7124 echo "$ac_t""found at $ac_find_libraries" 1>&6
7126 { echo "configure: error: no" 1>&2; exit 1; }
7129 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7130 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7134 GUIHEADERS
="\$(MSW_HEADERS)"
7135 GUIOBJS
="\$(MSW_GUIOBJS)"
7136 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7137 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7138 GUIDEPS
="\$(MSW_GUIDEPS)"
7139 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7140 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7141 UNIXOBJS
="\$(UNIX_OBJS)"
7142 UNIXDEPS
="\$(UNIX_DEPS)"
7146 if test "$wxUSE_MOTIF" = 1; then
7147 # If we find X, set shell vars x_includes and x_libraries to the
7148 # paths, otherwise set no_x=yes.
7149 # Uses ac_ vars as temps to allow command line to override cache and checks.
7150 # --without-x overrides everything else, but does not touch the cache.
7151 echo $ac_n "checking for X""... $ac_c" 1>&6
7152 echo "configure:7153: checking for X" >&5
7154 # Check whether --with-x or --without-x was given.
7155 if test "${with_x+set}" = set; then
7160 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7161 if test "x$with_x" = xno
; then
7162 # The user explicitly disabled X.
7165 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7166 # Both variables are already set.
7169 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7170 echo $ac_n "(cached) $ac_c" 1>&6
7172 # One or both of the vars are not set, and there is no cached value.
7173 ac_x_includes
=NO ac_x_libraries
=NO
7175 if mkdir conftestdir
; then
7177 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7178 cat > Imakefile
<<'EOF'
7180 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7182 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7183 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7184 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7185 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7186 for ac_extension
in a so sl
; do
7187 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7188 test -f $ac_im_libdir/libX11.
$ac_extension; then
7189 ac_im_usrlibdir
=$ac_im_libdir; break
7192 # Screen out bogus values from the imake configuration. They are
7193 # bogus both because they are the default anyway, and because
7194 # using them would break gcc on systems where it needs fixed includes.
7195 case "$ac_im_incroot" in
7197 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7199 case "$ac_im_usrlibdir" in
7201 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7208 if test "$ac_x_includes" = NO
; then
7209 # Guess where to find include files, by looking for this one X11 .h file.
7210 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7212 # First, try using that file with no special directory specified.
7213 cat > conftest.
$ac_ext <<EOF
7214 #line 7215 "configure"
7215 #include "confdefs.h"
7216 #include <$x_direct_test_include>
7218 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7219 { (eval echo configure
:7220: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7220 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7221 if test -z "$ac_err"; then
7223 # We can compile using X headers with no special include directory.
7227 echo "configure: failed program was:" >&5
7228 cat conftest.
$ac_ext >&5
7230 # Look for the header file in a standard set of common directories.
7231 # Check X11 before X11Rn because it is often a symlink to the current release.
7234 /usr
/X
11R
6/include \
7235 /usr
/X
11R
5/include \
7236 /usr
/X
11R
4/include \
7239 /usr
/include
/X11R6 \
7240 /usr
/include
/X11R5 \
7241 /usr
/include
/X11R4 \
7243 /usr
/local
/X
11/include \
7244 /usr
/local
/X
11R
6/include \
7245 /usr
/local
/X
11R
5/include \
7246 /usr
/local
/X
11R
4/include \
7248 /usr
/local
/include
/X11 \
7249 /usr
/local
/include
/X11R6 \
7250 /usr
/local
/include
/X11R5 \
7251 /usr
/local
/include
/X11R4 \
7255 /usr
/XFree
86/include
/X11 \
7258 /usr
/local
/include \
7259 /usr
/unsupported
/include \
7260 /usr
/athena
/include \
7261 /usr
/local
/x
11r
5/include \
7262 /usr
/lpp
/Xamples
/include \
7264 /usr
/openwin
/include \
7265 /usr
/openwin
/share
/include \
7268 if test -r "$ac_dir/$x_direct_test_include"; then
7269 ac_x_includes
=$ac_dir
7275 fi # $ac_x_includes = NO
7277 if test "$ac_x_libraries" = NO
; then
7278 # Check for the libraries.
7280 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7281 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7283 # See if we find them without any special options.
7284 # Don't add to $LIBS permanently.
7285 ac_save_LIBS
="$LIBS"
7286 LIBS
="-l$x_direct_test_library $LIBS"
7287 cat > conftest.
$ac_ext <<EOF
7288 #line 7289 "configure"
7289 #include "confdefs.h"
7292 ${x_direct_test_function}()
7295 if { (eval echo configure
:7296: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7297 LIBS
="$ac_save_LIBS"
7298 # We can link X programs with no special library path.
7301 echo "configure: failed program was:" >&5
7302 cat conftest.
$ac_ext >&5
7304 LIBS
="$ac_save_LIBS"
7305 # First see if replacing the include by lib works.
7306 # Check X11 before X11Rn because it is often a symlink to the current release.
7307 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7318 /usr
/local
/X
11/lib \
7319 /usr
/local
/X
11R
6/lib \
7320 /usr
/local
/X
11R
5/lib \
7321 /usr
/local
/X
11R
4/lib \
7323 /usr
/local
/lib
/X11 \
7324 /usr
/local
/lib
/X11R6 \
7325 /usr
/local
/lib
/X11R5 \
7326 /usr
/local
/lib
/X11R4 \
7330 /usr
/XFree
86/lib
/X11 \
7334 /usr
/unsupported
/lib \
7336 /usr
/local
/x
11r
5/lib \
7337 /usr
/lpp
/Xamples
/lib \
7341 /usr
/openwin
/share
/lib \
7344 for ac_extension
in a so sl
; do
7345 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7346 ac_x_libraries
=$ac_dir
7353 fi # $ac_x_libraries = NO
7355 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7356 # Didn't find X anywhere. Cache the known absence of X.
7357 ac_cv_have_x
="have_x=no"
7359 # Record where we found X for the cache.
7360 ac_cv_have_x
="have_x=yes \
7361 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7365 eval "$ac_cv_have_x"
7368 if test "$have_x" != yes; then
7369 echo "$ac_t""$have_x" 1>&6
7372 # If each of the values was on the command line, it overrides each guess.
7373 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7374 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7375 # Update the cache value to reflect the command line values.
7376 ac_cv_have_x
="have_x=yes \
7377 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7378 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7381 if test "$no_x" = yes; then
7382 # Not all programs may use this symbol, but it does not hurt to define it.
7383 cat >> confdefs.h
<<\EOF
7384 #define X_DISPLAY_MISSING 1
7387 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7389 if test -n "$x_includes"; then
7390 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7393 # It would also be nice to do this for all -L options, not just this one.
7394 if test -n "$x_libraries"; then
7395 X_LIBS
="$X_LIBS -L$x_libraries"
7396 # For Solaris; some versions of Sun CC require a space after -R and
7397 # others require no space. Words are not sufficient . . . .
7398 case "`(uname -sr) 2>/dev/null`" in
7400 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7401 echo "configure:7402: checking whether -R must be followed by a space" >&5
7402 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7403 cat > conftest.
$ac_ext <<EOF
7404 #line 7405 "configure"
7405 #include "confdefs.h"
7411 if { (eval echo configure
:7412: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7415 echo "configure: failed program was:" >&5
7416 cat conftest.
$ac_ext >&5
7421 if test $ac_R_nospace = yes; then
7422 echo "$ac_t""no" 1>&6
7423 X_LIBS
="$X_LIBS -R$x_libraries"
7425 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7426 cat > conftest.
$ac_ext <<EOF
7427 #line 7428 "configure"
7428 #include "confdefs.h"
7434 if { (eval echo configure
:7435: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7438 echo "configure: failed program was:" >&5
7439 cat conftest.
$ac_ext >&5
7444 if test $ac_R_space = yes; then
7445 echo "$ac_t""yes" 1>&6
7446 X_LIBS
="$X_LIBS -R $x_libraries"
7448 echo "$ac_t""neither works" 1>&6
7451 LIBS
="$ac_xsave_LIBS"
7455 # Check for system-dependent libraries X programs must link with.
7456 # Do this before checking for the system-independent R6 libraries
7457 # (-lICE), since we may need -lsocket or whatever for X linking.
7459 if test "$ISC" = yes; then
7460 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7462 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7463 # libraries were built with DECnet support. And karl@cs.umb.edu says
7464 # the Alpha needs dnet_stub (dnet does not exist).
7465 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7466 echo "configure:7467: checking for dnet_ntoa in -ldnet" >&5
7467 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7468 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7469 echo $ac_n "(cached) $ac_c" 1>&6
7471 ac_save_LIBS
="$LIBS"
7473 cat > conftest.
$ac_ext <<EOF
7474 #line 7475 "configure"
7475 #include "confdefs.h"
7476 /* Override any gcc2 internal prototype to avoid an error. */
7477 /* We use char because int might match the return type of a gcc2
7478 builtin and then its argument prototype would still apply. */
7485 if { (eval echo configure
:7486: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7487 eval "ac_cv_lib_$ac_lib_var=yes"
7489 echo "configure: failed program was:" >&5
7490 cat conftest.
$ac_ext >&5
7492 eval "ac_cv_lib_$ac_lib_var=no"
7495 LIBS
="$ac_save_LIBS"
7498 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7499 echo "$ac_t""yes" 1>&6
7500 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7502 echo "$ac_t""no" 1>&6
7505 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7506 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7507 echo "configure:7508: checking for dnet_ntoa in -ldnet_stub" >&5
7508 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7509 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7510 echo $ac_n "(cached) $ac_c" 1>&6
7512 ac_save_LIBS
="$LIBS"
7513 LIBS
="-ldnet_stub $LIBS"
7514 cat > conftest.
$ac_ext <<EOF
7515 #line 7516 "configure"
7516 #include "confdefs.h"
7517 /* Override any gcc2 internal prototype to avoid an error. */
7518 /* We use char because int might match the return type of a gcc2
7519 builtin and then its argument prototype would still apply. */
7526 if { (eval echo configure
:7527: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7528 eval "ac_cv_lib_$ac_lib_var=yes"
7530 echo "configure: failed program was:" >&5
7531 cat conftest.
$ac_ext >&5
7533 eval "ac_cv_lib_$ac_lib_var=no"
7536 LIBS
="$ac_save_LIBS"
7539 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7540 echo "$ac_t""yes" 1>&6
7541 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7543 echo "$ac_t""no" 1>&6
7548 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7549 # to get the SysV transport functions.
7550 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7552 # The nsl library prevents programs from opening the X display
7553 # on Irix 5.2, according to dickey@clark.net.
7554 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7555 echo "configure:7556: checking for gethostbyname" >&5
7556 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7557 echo $ac_n "(cached) $ac_c" 1>&6
7559 cat > conftest.
$ac_ext <<EOF
7560 #line 7561 "configure"
7561 #include "confdefs.h"
7562 /* System header to define __stub macros and hopefully few prototypes,
7563 which can conflict with char gethostbyname(); below. */
7565 /* Override any gcc2 internal prototype to avoid an error. */
7566 /* We use char because int might match the return type of a gcc2
7567 builtin and then its argument prototype would still apply. */
7568 char gethostbyname();
7572 /* The GNU C library defines this for functions which it implements
7573 to always fail with ENOSYS. Some functions are actually named
7574 something starting with __ and the normal name is an alias. */
7575 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7583 if { (eval echo configure
:7584: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7585 eval "ac_cv_func_gethostbyname=yes"
7587 echo "configure: failed program was:" >&5
7588 cat conftest.
$ac_ext >&5
7590 eval "ac_cv_func_gethostbyname=no"
7595 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7596 echo "$ac_t""yes" 1>&6
7599 echo "$ac_t""no" 1>&6
7602 if test $ac_cv_func_gethostbyname = no
; then
7603 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7604 echo "configure:7605: checking for gethostbyname in -lnsl" >&5
7605 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7606 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7607 echo $ac_n "(cached) $ac_c" 1>&6
7609 ac_save_LIBS
="$LIBS"
7611 cat > conftest.
$ac_ext <<EOF
7612 #line 7613 "configure"
7613 #include "confdefs.h"
7614 /* Override any gcc2 internal prototype to avoid an error. */
7615 /* We use char because int might match the return type of a gcc2
7616 builtin and then its argument prototype would still apply. */
7617 char gethostbyname();
7623 if { (eval echo configure
:7624: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7625 eval "ac_cv_lib_$ac_lib_var=yes"
7627 echo "configure: failed program was:" >&5
7628 cat conftest.
$ac_ext >&5
7630 eval "ac_cv_lib_$ac_lib_var=no"
7633 LIBS
="$ac_save_LIBS"
7636 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7637 echo "$ac_t""yes" 1>&6
7638 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7640 echo "$ac_t""no" 1>&6
7645 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7646 # socket/setsockopt and other routines are undefined under SCO ODT
7647 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7648 # on later versions), says simon@lia.di.epfl.ch: it contains
7649 # gethostby* variants that don't use the nameserver (or something).
7650 # -lsocket must be given before -lnsl if both are needed.
7651 # We assume that if connect needs -lnsl, so does gethostbyname.
7652 echo $ac_n "checking for connect""... $ac_c" 1>&6
7653 echo "configure:7654: checking for connect" >&5
7654 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7655 echo $ac_n "(cached) $ac_c" 1>&6
7657 cat > conftest.
$ac_ext <<EOF
7658 #line 7659 "configure"
7659 #include "confdefs.h"
7660 /* System header to define __stub macros and hopefully few prototypes,
7661 which can conflict with char connect(); below. */
7663 /* Override any gcc2 internal prototype to avoid an error. */
7664 /* We use char because int might match the return type of a gcc2
7665 builtin and then its argument prototype would still apply. */
7670 /* The GNU C library defines this for functions which it implements
7671 to always fail with ENOSYS. Some functions are actually named
7672 something starting with __ and the normal name is an alias. */
7673 #if defined (__stub_connect) || defined (__stub___connect)
7681 if { (eval echo configure
:7682: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7683 eval "ac_cv_func_connect=yes"
7685 echo "configure: failed program was:" >&5
7686 cat conftest.
$ac_ext >&5
7688 eval "ac_cv_func_connect=no"
7693 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7694 echo "$ac_t""yes" 1>&6
7697 echo "$ac_t""no" 1>&6
7700 if test $ac_cv_func_connect = no
; then
7701 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7702 echo "configure:7703: checking for connect in -lsocket" >&5
7703 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7704 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7705 echo $ac_n "(cached) $ac_c" 1>&6
7707 ac_save_LIBS
="$LIBS"
7708 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7709 cat > conftest.
$ac_ext <<EOF
7710 #line 7711 "configure"
7711 #include "confdefs.h"
7712 /* Override any gcc2 internal prototype to avoid an error. */
7713 /* We use char because int might match the return type of a gcc2
7714 builtin and then its argument prototype would still apply. */
7721 if { (eval echo configure
:7722: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7723 eval "ac_cv_lib_$ac_lib_var=yes"
7725 echo "configure: failed program was:" >&5
7726 cat conftest.
$ac_ext >&5
7728 eval "ac_cv_lib_$ac_lib_var=no"
7731 LIBS
="$ac_save_LIBS"
7734 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7735 echo "$ac_t""yes" 1>&6
7736 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7738 echo "$ac_t""no" 1>&6
7743 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7744 echo $ac_n "checking for remove""... $ac_c" 1>&6
7745 echo "configure:7746: checking for remove" >&5
7746 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7747 echo $ac_n "(cached) $ac_c" 1>&6
7749 cat > conftest.
$ac_ext <<EOF
7750 #line 7751 "configure"
7751 #include "confdefs.h"
7752 /* System header to define __stub macros and hopefully few prototypes,
7753 which can conflict with char remove(); below. */
7755 /* Override any gcc2 internal prototype to avoid an error. */
7756 /* We use char because int might match the return type of a gcc2
7757 builtin and then its argument prototype would still apply. */
7762 /* The GNU C library defines this for functions which it implements
7763 to always fail with ENOSYS. Some functions are actually named
7764 something starting with __ and the normal name is an alias. */
7765 #if defined (__stub_remove) || defined (__stub___remove)
7773 if { (eval echo configure
:7774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7775 eval "ac_cv_func_remove=yes"
7777 echo "configure: failed program was:" >&5
7778 cat conftest.
$ac_ext >&5
7780 eval "ac_cv_func_remove=no"
7785 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7786 echo "$ac_t""yes" 1>&6
7789 echo "$ac_t""no" 1>&6
7792 if test $ac_cv_func_remove = no
; then
7793 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7794 echo "configure:7795: checking for remove in -lposix" >&5
7795 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7796 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7797 echo $ac_n "(cached) $ac_c" 1>&6
7799 ac_save_LIBS
="$LIBS"
7800 LIBS
="-lposix $LIBS"
7801 cat > conftest.
$ac_ext <<EOF
7802 #line 7803 "configure"
7803 #include "confdefs.h"
7804 /* Override any gcc2 internal prototype to avoid an error. */
7805 /* We use char because int might match the return type of a gcc2
7806 builtin and then its argument prototype would still apply. */
7813 if { (eval echo configure
:7814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7815 eval "ac_cv_lib_$ac_lib_var=yes"
7817 echo "configure: failed program was:" >&5
7818 cat conftest.
$ac_ext >&5
7820 eval "ac_cv_lib_$ac_lib_var=no"
7823 LIBS
="$ac_save_LIBS"
7826 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7827 echo "$ac_t""yes" 1>&6
7828 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7830 echo "$ac_t""no" 1>&6
7835 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7836 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7837 echo "configure:7838: checking for shmat" >&5
7838 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7839 echo $ac_n "(cached) $ac_c" 1>&6
7841 cat > conftest.
$ac_ext <<EOF
7842 #line 7843 "configure"
7843 #include "confdefs.h"
7844 /* System header to define __stub macros and hopefully few prototypes,
7845 which can conflict with char shmat(); below. */
7847 /* Override any gcc2 internal prototype to avoid an error. */
7848 /* We use char because int might match the return type of a gcc2
7849 builtin and then its argument prototype would still apply. */
7854 /* The GNU C library defines this for functions which it implements
7855 to always fail with ENOSYS. Some functions are actually named
7856 something starting with __ and the normal name is an alias. */
7857 #if defined (__stub_shmat) || defined (__stub___shmat)
7865 if { (eval echo configure
:7866: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7867 eval "ac_cv_func_shmat=yes"
7869 echo "configure: failed program was:" >&5
7870 cat conftest.
$ac_ext >&5
7872 eval "ac_cv_func_shmat=no"
7877 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7878 echo "$ac_t""yes" 1>&6
7881 echo "$ac_t""no" 1>&6
7884 if test $ac_cv_func_shmat = no
; then
7885 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7886 echo "configure:7887: checking for shmat in -lipc" >&5
7887 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7888 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7889 echo $ac_n "(cached) $ac_c" 1>&6
7891 ac_save_LIBS
="$LIBS"
7893 cat > conftest.
$ac_ext <<EOF
7894 #line 7895 "configure"
7895 #include "confdefs.h"
7896 /* Override any gcc2 internal prototype to avoid an error. */
7897 /* We use char because int might match the return type of a gcc2
7898 builtin and then its argument prototype would still apply. */
7905 if { (eval echo configure
:7906: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7907 eval "ac_cv_lib_$ac_lib_var=yes"
7909 echo "configure: failed program was:" >&5
7910 cat conftest.
$ac_ext >&5
7912 eval "ac_cv_lib_$ac_lib_var=no"
7915 LIBS
="$ac_save_LIBS"
7918 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7919 echo "$ac_t""yes" 1>&6
7920 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7922 echo "$ac_t""no" 1>&6
7928 # Check for libraries that X11R6 Xt/Xaw programs need.
7929 ac_save_LDFLAGS
="$LDFLAGS"
7930 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7931 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7932 # check for ICE first), but we must link in the order -lSM -lICE or
7933 # we get undefined symbols. So assume we have SM if we have ICE.
7934 # These have to be linked with before -lX11, unlike the other
7935 # libraries we check for below, so use a different variable.
7936 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7937 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7938 echo "configure:7939: checking for IceConnectionNumber in -lICE" >&5
7939 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7940 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7941 echo $ac_n "(cached) $ac_c" 1>&6
7943 ac_save_LIBS
="$LIBS"
7944 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7945 cat > conftest.
$ac_ext <<EOF
7946 #line 7947 "configure"
7947 #include "confdefs.h"
7948 /* Override any gcc2 internal prototype to avoid an error. */
7949 /* We use char because int might match the return type of a gcc2
7950 builtin and then its argument prototype would still apply. */
7951 char IceConnectionNumber();
7954 IceConnectionNumber()
7957 if { (eval echo configure
:7958: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7959 eval "ac_cv_lib_$ac_lib_var=yes"
7961 echo "configure: failed program was:" >&5
7962 cat conftest.
$ac_ext >&5
7964 eval "ac_cv_lib_$ac_lib_var=no"
7967 LIBS
="$ac_save_LIBS"
7970 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7971 echo "$ac_t""yes" 1>&6
7972 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7974 echo "$ac_t""no" 1>&6
7977 LDFLAGS
="$ac_save_LDFLAGS"
7982 if test "$no_x" = "yes"; then
7983 { echo "configure: error: X11 not found" 1>&2; exit 1; }
7986 GUI_TK_LIBRARY
="$X_LIBS"
7987 TOOLKIT_INCLUDE
="$X_CFLAGS"
7990 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
7991 echo "configure:7992: checking for Motif/Lesstif headers" >&5
7994 for ac_dir
in $SEARCH_INCLUDE;
7996 if test -f "$ac_dir/Xm/Xm.h"; then
7997 ac_find_includes
=$ac_dir
8002 if test "$ac_find_includes" != "" ; then
8003 echo "$ac_t""found $ac_find_includes" 1>&6
8005 echo "$ac_t""no" 1>&6
8006 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8009 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8010 echo "configure:8011: checking for Motif/Lesstif library" >&5
8013 for ac_dir
in $SEARCH_LIB;
8015 for ac_extension
in a so sl
; do
8016 if test -f "$ac_dir/libXm.$ac_extension"; then
8017 ac_find_libraries
=$ac_dir
8023 if test "$ac_find_libraries" != "" ; then
8025 ac_path_to_include
=$ac_find_includes
8026 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8028 if test $result = 0; then
8029 ac_path_to_include
=""
8031 ac_path_to_include
="-I$ac_find_includes"
8035 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8037 if test $result = 0; then
8040 ac_path_to_link
="-L$ac_find_libraries"
8044 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8045 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8046 echo "$ac_t""found at $ac_find_libraries" 1>&6
8048 echo "$ac_t""no" 1>&6
8049 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8052 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
8053 echo "configure:8054: checking for Xt library" >&5
8056 for ac_dir
in $SEARCH_LIB;
8058 for ac_extension
in a so sl
; do
8059 if test -f "$ac_dir/libXt.$ac_extension"; then
8060 ac_find_libraries
=$ac_dir
8066 if test "$ac_find_libraries" != "" ; then
8068 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8070 if test $result = 0; then
8073 ac_path_to_link
="-L$ac_find_libraries"
8076 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8077 echo "$ac_t""found at $ac_find_libraries" 1>&6
8079 echo "$ac_t""no" 1>&6
8080 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
8084 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8085 echo "configure:8086: checking for Xpm library" >&5
8088 for ac_dir
in $SEARCH_LIB;
8090 for ac_extension
in a so sl
; do
8091 if test -f "$ac_dir/libXpm.$ac_extension"; then
8092 ac_find_libraries
=$ac_dir
8098 if test "$ac_find_libraries" != "" ; then
8100 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8102 if test $result = 0; then
8105 ac_path_to_link
="-L$ac_find_libraries"
8108 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8110 cat >> confdefs.h
<<\EOF
8111 #define wxHAVE_LIB_XPM 1
8114 echo "$ac_t""found at $ac_find_libraries" 1>&6
8116 echo "$ac_t""no" 1>&6
8117 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8120 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11 -lm"
8121 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8124 GUIHEADERS
="\$(MOTIF_HEADERS)"
8125 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8126 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8127 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8128 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8129 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8130 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8131 UNIXOBJS
="\$(UNIX_OBJS)"
8132 UNIXDEPS
="\$(UNIX_DEPS)"
8136 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
8138 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8140 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8142 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(IODBCOBJS)"
8143 if test "$wxUSE_LIBJPEG" = "yes" ; then
8144 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
8146 if test "$wxUSE_LIBTIFF" = "yes" ; then
8147 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
8149 if test "$wxUSE_LIBPNG" = "yes" ; then
8150 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
8152 if test "$wxUSE_ZLIB" = "yes" ; then
8153 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
8155 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
8156 ALL_HEADERS
="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
8159 ALL_OBJECTS
="\$(BASE_OBJS)"
8160 ALL_DEPFILES
="\${BASE_DEPS}"
8161 ALL_HEADERS
="\${BASE_HEADERS}"
8166 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8168 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8170 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8172 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8173 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8174 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8183 if test "$wxUSE_SHARED" = "yes"; then
8186 if test "$GCC" = yes ; then
8187 SHARED_LD
="${CC} -shared -fPIC -o"
8190 SHARED_LD
="${CXX} -b -o"
8193 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8194 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8198 SHARED_LD
="${CC} -shared -o"
8200 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8201 WX_ALL
="CREATE_LINKS"
8203 *-*-irix5* | *-*-irix6* )
8204 if test "$GCC" = yes ; then
8205 SHARED_LD
="${CC} -shared -o"
8208 SHARED_LD
="${CXX} -shared -o"
8210 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8211 WX_ALL
="CREATE_LINKS"
8214 if test "$GCC" = yes ; then
8215 SHARED_LD
="${CC} -shared -o"
8218 SHARED_LD
="${CXX} -G -o"
8221 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8222 WX_ALL
="CREATE_LINKS"
8225 SHARED_LD
="${CC} -shared -o"
8227 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8228 WX_ALL
="CREATE_LINKS"
8230 *-*-freebsd* | *-*-netbsd*)
8231 SHARED_LD
="${CC} -shared -o"
8233 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8234 WX_ALL
="CREATE_LINKS"
8237 SHARED_LD
="${CXX} -shared -o"
8239 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8240 WX_ALL
="CREATE_LINKS"
8243 SHARED_LD
="${CXX} -shared -o"
8245 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8246 WX_ALL
="CREATE_LINKS"
8249 SHARED_LD
="${CC} -shared -o"
8251 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8252 WX_ALL
="CREATE_LINKS"
8255 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8256 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
8259 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8260 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8263 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8264 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8269 SHARED_LD
="${LD} -shared -o"
8271 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
8272 WX_ALL
="CREATE_LINKS"
8275 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8278 if test "x$WX_TARGET_LIBRARY" = "x"; then
8279 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8282 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8283 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
8287 for ac_hdr
in strings.h
8289 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8290 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8291 echo "configure:8292: checking for $ac_hdr" >&5
8292 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8293 echo $ac_n "(cached) $ac_c" 1>&6
8295 cat > conftest.
$ac_ext <<EOF
8296 #line 8297 "configure"
8297 #include "confdefs.h"
8300 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8301 { (eval echo configure
:8302: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8302 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8303 if test -z "$ac_err"; then
8305 eval "ac_cv_header_$ac_safe=yes"
8308 echo "configure: failed program was:" >&5
8309 cat conftest.
$ac_ext >&5
8311 eval "ac_cv_header_$ac_safe=no"
8315 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8316 echo "$ac_t""yes" 1>&6
8317 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8318 cat >> confdefs.h
<<EOF
8319 #define $ac_tr_hdr 1
8323 echo "$ac_t""no" 1>&6
8327 for ac_hdr
in unistd.h
8329 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8330 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8331 echo "configure:8332: checking for $ac_hdr" >&5
8332 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8333 echo $ac_n "(cached) $ac_c" 1>&6
8335 cat > conftest.
$ac_ext <<EOF
8336 #line 8337 "configure"
8337 #include "confdefs.h"
8340 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8341 { (eval echo configure
:8342: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8342 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8343 if test -z "$ac_err"; then
8345 eval "ac_cv_header_$ac_safe=yes"
8348 echo "configure: failed program was:" >&5
8349 cat conftest.
$ac_ext >&5
8351 eval "ac_cv_header_$ac_safe=no"
8355 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8356 echo "$ac_t""yes" 1>&6
8357 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8358 cat >> confdefs.h
<<EOF
8359 #define $ac_tr_hdr 1
8363 echo "$ac_t""no" 1>&6
8367 for ac_hdr
in wchar.h
8369 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8370 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8371 echo "configure:8372: checking for $ac_hdr" >&5
8372 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8373 echo $ac_n "(cached) $ac_c" 1>&6
8375 cat > conftest.
$ac_ext <<EOF
8376 #line 8377 "configure"
8377 #include "confdefs.h"
8380 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8381 { (eval echo configure
:8382: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8382 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8383 if test -z "$ac_err"; then
8385 eval "ac_cv_header_$ac_safe=yes"
8388 echo "configure: failed program was:" >&5
8389 cat conftest.
$ac_ext >&5
8391 eval "ac_cv_header_$ac_safe=no"
8395 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8396 echo "$ac_t""yes" 1>&6
8397 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8398 cat >> confdefs.h
<<EOF
8399 #define $ac_tr_hdr 1
8403 echo "$ac_t""no" 1>&6
8407 for ac_hdr
in wcstr.h
8409 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8410 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8411 echo "configure:8412: checking for $ac_hdr" >&5
8412 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8413 echo $ac_n "(cached) $ac_c" 1>&6
8415 cat > conftest.
$ac_ext <<EOF
8416 #line 8417 "configure"
8417 #include "confdefs.h"
8420 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8421 { (eval echo configure
:8422: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8422 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8423 if test -z "$ac_err"; then
8425 eval "ac_cv_header_$ac_safe=yes"
8428 echo "configure: failed program was:" >&5
8429 cat conftest.
$ac_ext >&5
8431 eval "ac_cv_header_$ac_safe=no"
8435 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8436 echo "$ac_t""yes" 1>&6
8437 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8438 cat >> confdefs.h
<<EOF
8439 #define $ac_tr_hdr 1
8443 echo "$ac_t""no" 1>&6
8447 for ac_hdr
in fnmatch.h
8449 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8450 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8451 echo "configure:8452: checking for $ac_hdr" >&5
8452 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8453 echo $ac_n "(cached) $ac_c" 1>&6
8455 cat > conftest.
$ac_ext <<EOF
8456 #line 8457 "configure"
8457 #include "confdefs.h"
8460 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8461 { (eval echo configure
:8462: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8462 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8463 if test -z "$ac_err"; then
8465 eval "ac_cv_header_$ac_safe=yes"
8468 echo "configure: failed program was:" >&5
8469 cat conftest.
$ac_ext >&5
8471 eval "ac_cv_header_$ac_safe=no"
8475 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8476 echo "$ac_t""yes" 1>&6
8477 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8478 cat >> confdefs.h
<<EOF
8479 #define $ac_tr_hdr 1
8483 echo "$ac_t""no" 1>&6
8488 if test "$wxUSE_GUI" = "yes"; then
8489 for ac_hdr
in X
11/XKBlib.h
8491 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8492 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8493 echo "configure:8494: checking for $ac_hdr" >&5
8494 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8495 echo $ac_n "(cached) $ac_c" 1>&6
8497 cat > conftest.
$ac_ext <<EOF
8498 #line 8499 "configure"
8499 #include "confdefs.h"
8502 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8503 { (eval echo configure
:8504: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8504 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8505 if test -z "$ac_err"; then
8507 eval "ac_cv_header_$ac_safe=yes"
8510 echo "configure: failed program was:" >&5
8511 cat conftest.
$ac_ext >&5
8513 eval "ac_cv_header_$ac_safe=no"
8517 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8518 echo "$ac_t""yes" 1>&6
8519 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8520 cat >> confdefs.h
<<EOF
8521 #define $ac_tr_hdr 1
8525 echo "$ac_t""no" 1>&6
8532 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8533 echo "configure:8534: checking for ANSI C header files" >&5
8534 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8535 echo $ac_n "(cached) $ac_c" 1>&6
8537 cat > conftest.
$ac_ext <<EOF
8538 #line 8539 "configure"
8539 #include "confdefs.h"
8545 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8546 { (eval echo configure
:8547: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8547 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8548 if test -z "$ac_err"; then
8550 ac_cv_header_stdc
=yes
8553 echo "configure: failed program was:" >&5
8554 cat conftest.
$ac_ext >&5
8556 ac_cv_header_stdc
=no
8560 if test $ac_cv_header_stdc = yes; then
8561 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8562 cat > conftest.
$ac_ext <<EOF
8563 #line 8564 "configure"
8564 #include "confdefs.h"
8567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8568 egrep "memchr" >/dev
/null
2>&1; then
8572 ac_cv_header_stdc
=no
8578 if test $ac_cv_header_stdc = yes; then
8579 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8580 cat > conftest.
$ac_ext <<EOF
8581 #line 8582 "configure"
8582 #include "confdefs.h"
8585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8586 egrep "free" >/dev
/null
2>&1; then
8590 ac_cv_header_stdc
=no
8596 if test $ac_cv_header_stdc = yes; then
8597 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8598 if test "$cross_compiling" = yes; then
8601 cat > conftest.
$ac_ext <<EOF
8602 #line 8603 "configure"
8603 #include "confdefs.h"
8605 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8606 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8607 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8608 int main () { int i; for (i = 0; i < 256; i++)
8609 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8613 if { (eval echo configure
:8614: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8617 echo "configure: failed program was:" >&5
8618 cat conftest.
$ac_ext >&5
8620 ac_cv_header_stdc
=no
8628 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8629 if test $ac_cv_header_stdc = yes; then
8630 cat >> confdefs.h
<<\EOF
8631 #define STDC_HEADERS 1
8636 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8637 echo "configure:8638: checking for mode_t" >&5
8638 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8639 echo $ac_n "(cached) $ac_c" 1>&6
8641 cat > conftest.
$ac_ext <<EOF
8642 #line 8643 "configure"
8643 #include "confdefs.h"
8644 #include <sys/types.h>
8650 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8651 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8653 ac_cv_type_mode_t
=yes
8656 ac_cv_type_mode_t
=no
8661 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8662 if test $ac_cv_type_mode_t = no
; then
8663 cat >> confdefs.h
<<\EOF
8669 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8670 echo "configure:8671: checking for off_t" >&5
8671 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8672 echo $ac_n "(cached) $ac_c" 1>&6
8674 cat > conftest.
$ac_ext <<EOF
8675 #line 8676 "configure"
8676 #include "confdefs.h"
8677 #include <sys/types.h>
8683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8684 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8686 ac_cv_type_off_t
=yes
8694 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8695 if test $ac_cv_type_off_t = no
; then
8696 cat >> confdefs.h
<<\EOF
8702 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8703 echo "configure:8704: checking for pid_t" >&5
8704 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8705 echo $ac_n "(cached) $ac_c" 1>&6
8707 cat > conftest.
$ac_ext <<EOF
8708 #line 8709 "configure"
8709 #include "confdefs.h"
8710 #include <sys/types.h>
8716 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8717 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8719 ac_cv_type_pid_t
=yes
8727 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8728 if test $ac_cv_type_pid_t = no
; then
8729 cat >> confdefs.h
<<\EOF
8735 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8736 echo "configure:8737: checking for size_t" >&5
8737 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8738 echo $ac_n "(cached) $ac_c" 1>&6
8740 cat > conftest.
$ac_ext <<EOF
8741 #line 8742 "configure"
8742 #include "confdefs.h"
8743 #include <sys/types.h>
8749 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8750 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8752 ac_cv_type_size_t
=yes
8755 ac_cv_type_size_t
=no
8760 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8761 if test $ac_cv_type_size_t = no
; then
8762 cat >> confdefs.h
<<\EOF
8763 #define size_t unsigned
8768 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8769 echo "configure:8770: checking for uid_t in sys/types.h" >&5
8770 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8771 echo $ac_n "(cached) $ac_c" 1>&6
8773 cat > conftest.
$ac_ext <<EOF
8774 #line 8775 "configure"
8775 #include "confdefs.h"
8776 #include <sys/types.h>
8778 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8779 egrep "uid_t" >/dev
/null
2>&1; then
8781 ac_cv_type_uid_t
=yes
8790 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8791 if test $ac_cv_type_uid_t = no
; then
8792 cat >> confdefs.h
<<\EOF
8796 cat >> confdefs.h
<<\EOF
8804 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
8805 echo "configure:8806: checking for pw_gecos in struct passwd" >&5
8806 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
8807 echo $ac_n "(cached) $ac_c" 1>&6
8810 cat > conftest.
$ac_ext <<EOF
8811 #line 8812 "configure"
8812 #include "confdefs.h"
8822 if { (eval echo configure
:8823: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8825 wx_cv_struct_pw_gecos
=yes
8826 cat >> confdefs.h
<<\EOF
8827 #define HAVE_PW_GECOS 1
8832 echo "configure: failed program was:" >&5
8833 cat conftest.
$ac_ext >&5
8836 wx_cv_struct_pw_gecos
=no
8845 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
8848 echo $ac_n "checking for working const""... $ac_c" 1>&6
8849 echo "configure:8850: checking for working const" >&5
8850 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8851 echo $ac_n "(cached) $ac_c" 1>&6
8853 cat > conftest.
$ac_ext <<EOF
8854 #line 8855 "configure"
8855 #include "confdefs.h"
8859 /* Ultrix mips cc rejects this. */
8860 typedef int charset[2]; const charset x;
8861 /* SunOS 4.1.1 cc rejects this. */
8862 char const *const *ccp;
8864 /* NEC SVR4.0.2 mips cc rejects this. */
8865 struct point {int x, y;};
8866 static struct point const zero = {0,0};
8867 /* AIX XL C 1.02.0.0 rejects this.
8868 It does not let you subtract one const X* pointer from another in an arm
8869 of an if-expression whose if-part is not a constant expression */
8870 const char *g = "string";
8871 ccp = &g + (g ? g-g : 0);
8872 /* HPUX 7.0 cc rejects these. */
8875 ccp = (char const *const *) p;
8876 { /* SCO 3.2v4 cc rejects this. */
8878 char const *s = 0 ? (char *) 0 : (char const *) 0;
8882 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8884 const int *foo = &x[0];
8887 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8888 typedef const int *iptr;
8892 { /* AIX XL C 1.02.0.0 rejects this saying
8893 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8894 struct s { int j; const int *ap[3]; };
8895 struct s *b; b->j = 5;
8897 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8903 if { (eval echo configure
:8904: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8907 echo "configure: failed program was:" >&5
8908 cat conftest.
$ac_ext >&5
8915 echo "$ac_t""$ac_cv_c_const" 1>&6
8916 if test $ac_cv_c_const = no
; then
8917 cat >> confdefs.h
<<\EOF
8923 echo $ac_n "checking for inline""... $ac_c" 1>&6
8924 echo "configure:8925: checking for inline" >&5
8925 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8926 echo $ac_n "(cached) $ac_c" 1>&6
8929 for ac_kw
in inline __inline__ __inline
; do
8930 cat > conftest.
$ac_ext <<EOF
8931 #line 8932 "configure"
8932 #include "confdefs.h"
8938 if { (eval echo configure
:8939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8940 ac_cv_c_inline
=$ac_kw; break
8942 echo "configure: failed program was:" >&5
8943 cat conftest.
$ac_ext >&5
8950 echo "$ac_t""$ac_cv_c_inline" 1>&6
8951 case "$ac_cv_c_inline" in
8953 no
) cat >> confdefs.h
<<\EOF
8957 *) cat >> confdefs.h
<<EOF
8958 #define inline $ac_cv_c_inline
8964 echo $ac_n "checking size of char""... $ac_c" 1>&6
8965 echo "configure:8966: checking size of char" >&5
8966 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8967 echo $ac_n "(cached) $ac_c" 1>&6
8969 if test "$cross_compiling" = yes; then
8972 cat > conftest.
$ac_ext <<EOF
8973 #line 8974 "configure"
8974 #include "confdefs.h"
8978 FILE *f=fopen("conftestval", "w");
8980 fprintf(f, "%d\n", sizeof(char));
8984 if { (eval echo configure
:8985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8986 ac_cv_sizeof_char
=`cat conftestval`
8988 echo "configure: failed program was:" >&5
8989 cat conftest.
$ac_ext >&5
8997 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8998 cat >> confdefs.h
<<EOF
8999 #define SIZEOF_CHAR $ac_cv_sizeof_char
9003 echo $ac_n "checking size of short""... $ac_c" 1>&6
9004 echo "configure:9005: checking size of short" >&5
9005 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
9006 echo $ac_n "(cached) $ac_c" 1>&6
9008 if test "$cross_compiling" = yes; then
9009 ac_cv_sizeof_short
=2
9011 cat > conftest.
$ac_ext <<EOF
9012 #line 9013 "configure"
9013 #include "confdefs.h"
9017 FILE *f=fopen("conftestval", "w");
9019 fprintf(f, "%d\n", sizeof(short));
9023 if { (eval echo configure
:9024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9025 ac_cv_sizeof_short
=`cat conftestval`
9027 echo "configure: failed program was:" >&5
9028 cat conftest.
$ac_ext >&5
9030 ac_cv_sizeof_short
=0
9036 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
9037 cat >> confdefs.h
<<EOF
9038 #define SIZEOF_SHORT $ac_cv_sizeof_short
9042 echo $ac_n "checking size of int *""... $ac_c" 1>&6
9043 echo "configure:9044: checking size of int *" >&5
9044 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
9045 echo $ac_n "(cached) $ac_c" 1>&6
9047 if test "$cross_compiling" = yes; then
9048 ac_cv_sizeof_int_p
=4
9050 cat > conftest.
$ac_ext <<EOF
9051 #line 9052 "configure"
9052 #include "confdefs.h"
9056 FILE *f=fopen("conftestval", "w");
9058 fprintf(f, "%d\n", sizeof(int *));
9062 if { (eval echo configure
:9063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9064 ac_cv_sizeof_int_p
=`cat conftestval`
9066 echo "configure: failed program was:" >&5
9067 cat conftest.
$ac_ext >&5
9069 ac_cv_sizeof_int_p
=0
9075 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
9076 cat >> confdefs.h
<<EOF
9077 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
9081 echo $ac_n "checking size of int""... $ac_c" 1>&6
9082 echo "configure:9083: checking size of int" >&5
9083 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
9084 echo $ac_n "(cached) $ac_c" 1>&6
9086 if test "$cross_compiling" = yes; then
9089 cat > conftest.
$ac_ext <<EOF
9090 #line 9091 "configure"
9091 #include "confdefs.h"
9095 FILE *f=fopen("conftestval", "w");
9097 fprintf(f, "%d\n", sizeof(int));
9101 if { (eval echo configure
:9102: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9103 ac_cv_sizeof_int
=`cat conftestval`
9105 echo "configure: failed program was:" >&5
9106 cat conftest.
$ac_ext >&5
9114 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
9115 cat >> confdefs.h
<<EOF
9116 #define SIZEOF_INT $ac_cv_sizeof_int
9120 echo $ac_n "checking size of long""... $ac_c" 1>&6
9121 echo "configure:9122: checking size of long" >&5
9122 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
9123 echo $ac_n "(cached) $ac_c" 1>&6
9125 if test "$cross_compiling" = yes; then
9128 cat > conftest.
$ac_ext <<EOF
9129 #line 9130 "configure"
9130 #include "confdefs.h"
9134 FILE *f=fopen("conftestval", "w");
9136 fprintf(f, "%d\n", sizeof(long));
9140 if { (eval echo configure
:9141: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9142 ac_cv_sizeof_long
=`cat conftestval`
9144 echo "configure: failed program was:" >&5
9145 cat conftest.
$ac_ext >&5
9153 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9154 cat >> confdefs.h
<<EOF
9155 #define SIZEOF_LONG $ac_cv_sizeof_long
9159 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9160 echo "configure:9161: checking size of long long" >&5
9161 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9162 echo $ac_n "(cached) $ac_c" 1>&6
9164 if test "$cross_compiling" = yes; then
9165 ac_cv_sizeof_long_long
=0
9167 cat > conftest.
$ac_ext <<EOF
9168 #line 9169 "configure"
9169 #include "confdefs.h"
9173 FILE *f=fopen("conftestval", "w");
9175 fprintf(f, "%d\n", sizeof(long long));
9179 if { (eval echo configure
:9180: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9181 ac_cv_sizeof_long_long
=`cat conftestval`
9183 echo "configure: failed program was:" >&5
9184 cat conftest.
$ac_ext >&5
9186 ac_cv_sizeof_long_long
=0
9192 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9193 cat >> confdefs.h
<<EOF
9194 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9199 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9200 echo "configure:9201: checking whether byte ordering is bigendian" >&5
9201 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9202 echo $ac_n "(cached) $ac_c" 1>&6
9204 ac_cv_c_bigendian
=unknown
9205 # See if sys/param.h defines the BYTE_ORDER macro.
9206 cat > conftest.
$ac_ext <<EOF
9207 #line 9208 "configure"
9208 #include "confdefs.h"
9209 #include <sys/types.h>
9210 #include <sys/param.h>
9213 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9218 if { (eval echo configure
:9219: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9220 # It does; now see whether it defined to BIG_ENDIAN or not.
9221 cat > conftest.
$ac_ext <<EOF
9222 #line 9223 "configure"
9223 #include "confdefs.h"
9224 #include <sys/types.h>
9225 #include <sys/param.h>
9228 #if BYTE_ORDER != BIG_ENDIAN
9233 if { (eval echo configure
:9234: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9235 ac_cv_c_bigendian
=yes
9237 echo "configure: failed program was:" >&5
9238 cat conftest.
$ac_ext >&5
9240 ac_cv_c_bigendian
=no
9244 echo "configure: failed program was:" >&5
9245 cat conftest.
$ac_ext >&5
9248 if test $ac_cv_c_bigendian = unknown
; then
9249 if test "$cross_compiling" = yes; then
9250 ac_cv_c_bigendian
=unknown
9252 cat > conftest.
$ac_ext <<EOF
9253 #line 9254 "configure"
9254 #include "confdefs.h"
9256 /* Are we little or big endian? From Harbison&Steele. */
9260 char c[sizeof (long)];
9263 exit (u.c[sizeof (long) - 1] == 1);
9266 if { (eval echo configure
:9267: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9268 ac_cv_c_bigendian
=no
9270 echo "configure: failed program was:" >&5
9271 cat conftest.
$ac_ext >&5
9273 ac_cv_c_bigendian
=yes
9281 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9282 if test $ac_cv_c_bigendian = unknown
; then
9283 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
9285 if test $ac_cv_c_bigendian = yes; then
9286 cat >> confdefs.h
<<\EOF
9287 #define WORDS_BIGENDIAN 1
9294 if test "$cross_compiling" = "yes"; then
9295 cat >> confdefs.h
<<\EOF
9296 #define wxUSE_IOSTREAMH 1
9302 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9303 ac_cpp
='$CXXCPP $CPPFLAGS'
9304 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9305 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9306 cross_compiling
=$ac_cv_prog_cxx_cross
9309 for ac_hdr
in iostream
9311 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9312 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9313 echo "configure:9314: checking for $ac_hdr" >&5
9314 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9315 echo $ac_n "(cached) $ac_c" 1>&6
9317 cat > conftest.
$ac_ext <<EOF
9318 #line 9319 "configure"
9319 #include "confdefs.h"
9322 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9323 { (eval echo configure
:9324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9324 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9325 if test -z "$ac_err"; then
9327 eval "ac_cv_header_$ac_safe=yes"
9330 echo "configure: failed program was:" >&5
9331 cat conftest.
$ac_ext >&5
9333 eval "ac_cv_header_$ac_safe=no"
9337 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9338 echo "$ac_t""yes" 1>&6
9339 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9340 cat >> confdefs.h
<<EOF
9341 #define $ac_tr_hdr 1
9345 echo "$ac_t""no" 1>&6
9350 if test "x$HAVE_IOSTREAM" = x
; then
9351 cat >> confdefs.h
<<\EOF
9352 #define wxUSE_IOSTREAMH 1
9360 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9361 ac_cpp
='$CPP $CPPFLAGS'
9362 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9363 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9364 cross_compiling
=$ac_cv_prog_cc_cross
9370 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9371 echo "configure:9372: checking if C++ compiler supports bool" >&5
9372 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9373 echo $ac_n "(cached) $ac_c" 1>&6
9378 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9379 ac_cpp
='$CXXCPP $CPPFLAGS'
9380 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9381 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9382 cross_compiling
=$ac_cv_prog_cxx_cross
9385 cat > conftest.
$ac_ext <<EOF
9386 #line 9387 "configure"
9387 #include "confdefs.h"
9398 if { (eval echo configure
:9399: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9401 cat >> confdefs.h
<<\EOF
9408 echo "configure: failed program was:" >&5
9409 cat conftest.
$ac_ext >&5
9419 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9420 ac_cpp
='$CPP $CPPFLAGS'
9421 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9422 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9423 cross_compiling
=$ac_cv_prog_cc_cross
9428 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9430 if test "$wx_cv_cpp_bool" = "yes"; then
9431 cat >> confdefs.h
<<\EOF
9439 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9440 echo "configure:9441: checking if you need GNU extensions" >&5
9441 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9442 echo $ac_n "(cached) $ac_c" 1>&6
9445 cat > conftest.
$ac_ext <<EOF
9446 #line 9447 "configure"
9447 #include "confdefs.h"
9448 #include <features.h>
9452 #ifndef __GNU_LIBRARY__
9453 Compile error wanted
9459 if { (eval echo configure
:9460: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9461 wx_cv_gnu_extensions
=yes
9463 echo "configure: failed program was:" >&5
9464 cat conftest.
$ac_ext >&5
9466 wx_cv_gnu_extensions
=no
9473 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9474 if test "$wx_cv_gnu_extensions" = "yes"; then
9475 cat >> confdefs.h
<<EOF
9476 #define _GNU_SOURCE 1
9483 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9484 echo "configure:9485: checking for wcslen in -lc" >&5
9485 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9486 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9487 echo $ac_n "(cached) $ac_c" 1>&6
9489 ac_save_LIBS
="$LIBS"
9491 cat > conftest.
$ac_ext <<EOF
9492 #line 9493 "configure"
9493 #include "confdefs.h"
9494 /* Override any gcc2 internal prototype to avoid an error. */
9495 /* We use char because int might match the return type of a gcc2
9496 builtin and then its argument prototype would still apply. */
9503 if { (eval echo configure
:9504: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9505 eval "ac_cv_lib_$ac_lib_var=yes"
9507 echo "configure: failed program was:" >&5
9508 cat conftest.
$ac_ext >&5
9510 eval "ac_cv_lib_$ac_lib_var=no"
9513 LIBS
="$ac_save_LIBS"
9516 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9517 echo "$ac_t""yes" 1>&6
9519 cat >> confdefs.h
<<\EOF
9520 #define HAVE_WCSLEN 1
9526 echo "$ac_t""no" 1>&6
9528 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9529 echo "configure:9530: checking for wcslen in -lw" >&5
9530 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9531 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9532 echo $ac_n "(cached) $ac_c" 1>&6
9534 ac_save_LIBS
="$LIBS"
9536 cat > conftest.
$ac_ext <<EOF
9537 #line 9538 "configure"
9538 #include "confdefs.h"
9539 /* Override any gcc2 internal prototype to avoid an error. */
9540 /* We use char because int might match the return type of a gcc2
9541 builtin and then its argument prototype would still apply. */
9548 if { (eval echo configure
:9549: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9550 eval "ac_cv_lib_$ac_lib_var=yes"
9552 echo "configure: failed program was:" >&5
9553 cat conftest.
$ac_ext >&5
9555 eval "ac_cv_lib_$ac_lib_var=no"
9558 LIBS
="$ac_save_LIBS"
9561 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9562 echo "$ac_t""yes" 1>&6
9564 cat >> confdefs.h
<<\EOF
9565 #define HAVE_WCSLEN 1
9571 echo "$ac_t""no" 1>&6
9578 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9579 echo "configure:9580: checking for vprintf" >&5
9580 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9581 echo $ac_n "(cached) $ac_c" 1>&6
9583 cat > conftest.
$ac_ext <<EOF
9584 #line 9585 "configure"
9585 #include "confdefs.h"
9586 /* System header to define __stub macros and hopefully few prototypes,
9587 which can conflict with char vprintf(); below. */
9589 /* Override any gcc2 internal prototype to avoid an error. */
9590 /* We use char because int might match the return type of a gcc2
9591 builtin and then its argument prototype would still apply. */
9596 /* The GNU C library defines this for functions which it implements
9597 to always fail with ENOSYS. Some functions are actually named
9598 something starting with __ and the normal name is an alias. */
9599 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9607 if { (eval echo configure
:9608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9609 eval "ac_cv_func_vprintf=yes"
9611 echo "configure: failed program was:" >&5
9612 cat conftest.
$ac_ext >&5
9614 eval "ac_cv_func_vprintf=no"
9619 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9620 echo "$ac_t""yes" 1>&6
9621 cat >> confdefs.h
<<\EOF
9622 #define HAVE_VPRINTF 1
9626 echo "$ac_t""no" 1>&6
9629 if test "$ac_cv_func_vprintf" != yes; then
9630 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9631 echo "configure:9632: checking for _doprnt" >&5
9632 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9633 echo $ac_n "(cached) $ac_c" 1>&6
9635 cat > conftest.
$ac_ext <<EOF
9636 #line 9637 "configure"
9637 #include "confdefs.h"
9638 /* System header to define __stub macros and hopefully few prototypes,
9639 which can conflict with char _doprnt(); below. */
9641 /* Override any gcc2 internal prototype to avoid an error. */
9642 /* We use char because int might match the return type of a gcc2
9643 builtin and then its argument prototype would still apply. */
9648 /* The GNU C library defines this for functions which it implements
9649 to always fail with ENOSYS. Some functions are actually named
9650 something starting with __ and the normal name is an alias. */
9651 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9659 if { (eval echo configure
:9660: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9661 eval "ac_cv_func__doprnt=yes"
9663 echo "configure: failed program was:" >&5
9664 cat conftest.
$ac_ext >&5
9666 eval "ac_cv_func__doprnt=no"
9671 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9672 echo "$ac_t""yes" 1>&6
9673 cat >> confdefs.h
<<\EOF
9674 #define HAVE_DOPRNT 1
9678 echo "$ac_t""no" 1>&6
9684 for ac_func
in vsnprintf
9686 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9687 echo "configure:9688: checking for $ac_func" >&5
9688 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9689 echo $ac_n "(cached) $ac_c" 1>&6
9691 cat > conftest.
$ac_ext <<EOF
9692 #line 9693 "configure"
9693 #include "confdefs.h"
9694 /* System header to define __stub macros and hopefully few prototypes,
9695 which can conflict with char $ac_func(); below. */
9697 /* Override any gcc2 internal prototype to avoid an error. */
9698 /* We use char because int might match the return type of a gcc2
9699 builtin and then its argument prototype would still apply. */
9704 /* The GNU C library defines this for functions which it implements
9705 to always fail with ENOSYS. Some functions are actually named
9706 something starting with __ and the normal name is an alias. */
9707 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9715 if { (eval echo configure
:9716: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9717 eval "ac_cv_func_$ac_func=yes"
9719 echo "configure: failed program was:" >&5
9720 cat conftest.
$ac_ext >&5
9722 eval "ac_cv_func_$ac_func=no"
9727 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9728 echo "$ac_t""yes" 1>&6
9729 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9730 cat >> confdefs.h
<<EOF
9731 #define $ac_tr_func 1
9733 cat >> confdefs.h
<<\EOF
9734 #define HAVE_VSNPRINTF 1
9738 echo "$ac_t""no" 1>&6
9739 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9747 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9748 ac_cpp
='$CXXCPP $CPPFLAGS'
9749 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9750 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9751 cross_compiling
=$ac_cv_prog_cxx_cross
9754 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9755 echo "configure:9756: checking for vsscanf" >&5
9756 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9757 echo $ac_n "(cached) $ac_c" 1>&6
9760 if test "$cross_compiling" = yes; then
9761 wx_cv_func_vsscanf
=no
9764 cat > conftest.
$ac_ext <<EOF
9765 #line 9766 "configure"
9766 #include "confdefs.h"
9768 extern "C" void exit(int);
9774 int try_vsscanf(const char *format, ...)
9777 va_start(ap, format);
9779 vsscanf("17", format, ap);
9787 try_vsscanf("%d", &i);
9788 return i == 17 ? 0 : 1;
9792 if { (eval echo configure
:9793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9795 cat >> confdefs.h
<<\EOF
9796 #define HAVE_VSSCANF 1
9799 wx_cv_func_vsscanf
=yes
9802 echo "configure: failed program was:" >&5
9803 cat conftest.
$ac_ext >&5
9805 wx_cv_func_vsscanf
=no
9813 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9816 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9817 ac_cpp
='$CPP $CPPFLAGS'
9818 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9819 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9820 cross_compiling
=$ac_cv_prog_cc_cross
9823 if test "$USE_UNIX" = 1; then
9825 for ac_func
in vfork
9827 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9828 echo "configure:9829: checking for $ac_func" >&5
9829 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9830 echo $ac_n "(cached) $ac_c" 1>&6
9832 cat > conftest.
$ac_ext <<EOF
9833 #line 9834 "configure"
9834 #include "confdefs.h"
9835 /* System header to define __stub macros and hopefully few prototypes,
9836 which can conflict with char $ac_func(); below. */
9838 /* Override any gcc2 internal prototype to avoid an error. */
9839 /* We use char because int might match the return type of a gcc2
9840 builtin and then its argument prototype would still apply. */
9845 /* The GNU C library defines this for functions which it implements
9846 to always fail with ENOSYS. Some functions are actually named
9847 something starting with __ and the normal name is an alias. */
9848 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9856 if { (eval echo configure
:9857: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9858 eval "ac_cv_func_$ac_func=yes"
9860 echo "configure: failed program was:" >&5
9861 cat conftest.
$ac_ext >&5
9863 eval "ac_cv_func_$ac_func=no"
9868 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9869 echo "$ac_t""yes" 1>&6
9870 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9871 cat >> confdefs.h
<<EOF
9872 #define $ac_tr_func 1
9876 echo "$ac_t""no" 1>&6
9881 for ac_func
in timegm
9883 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9884 echo "configure:9885: checking for $ac_func" >&5
9885 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9886 echo $ac_n "(cached) $ac_c" 1>&6
9888 cat > conftest.
$ac_ext <<EOF
9889 #line 9890 "configure"
9890 #include "confdefs.h"
9891 /* System header to define __stub macros and hopefully few prototypes,
9892 which can conflict with char $ac_func(); below. */
9894 /* Override any gcc2 internal prototype to avoid an error. */
9895 /* We use char because int might match the return type of a gcc2
9896 builtin and then its argument prototype would still apply. */
9901 /* The GNU C library defines this for functions which it implements
9902 to always fail with ENOSYS. Some functions are actually named
9903 something starting with __ and the normal name is an alias. */
9904 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9912 if { (eval echo configure
:9913: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9914 eval "ac_cv_func_$ac_func=yes"
9916 echo "configure: failed program was:" >&5
9917 cat conftest.
$ac_ext >&5
9919 eval "ac_cv_func_$ac_func=no"
9924 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9925 echo "$ac_t""yes" 1>&6
9926 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9927 cat >> confdefs.h
<<EOF
9928 #define $ac_tr_func 1
9932 echo "$ac_t""no" 1>&6
9937 HAVE_SOME_SLEEP_FUNC
=0
9938 if test "$USE_BEOS" = 1; then
9939 cat >> confdefs.h
<<\EOF
9940 #define HAVE_SLEEP 1
9943 HAVE_SOME_SLEEP_FUNC
=1
9946 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
9948 for ac_func
in nanosleep
9950 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9951 echo "configure:9952: checking for $ac_func" >&5
9952 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9953 echo $ac_n "(cached) $ac_c" 1>&6
9955 cat > conftest.
$ac_ext <<EOF
9956 #line 9957 "configure"
9957 #include "confdefs.h"
9958 /* System header to define __stub macros and hopefully few prototypes,
9959 which can conflict with char $ac_func(); below. */
9961 /* Override any gcc2 internal prototype to avoid an error. */
9962 /* We use char because int might match the return type of a gcc2
9963 builtin and then its argument prototype would still apply. */
9968 /* The GNU C library defines this for functions which it implements
9969 to always fail with ENOSYS. Some functions are actually named
9970 something starting with __ and the normal name is an alias. */
9971 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9979 if { (eval echo configure
:9980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9981 eval "ac_cv_func_$ac_func=yes"
9983 echo "configure: failed program was:" >&5
9984 cat conftest.
$ac_ext >&5
9986 eval "ac_cv_func_$ac_func=no"
9991 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9992 echo "$ac_t""yes" 1>&6
9993 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9994 cat >> confdefs.h
<<EOF
9995 #define $ac_tr_func 1
9997 cat >> confdefs.h
<<\EOF
9998 #define HAVE_NANOSLEEP 1
10002 echo "$ac_t""no" 1>&6
10003 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
10004 echo "configure:10005: checking for nanosleep in -lposix4" >&5
10005 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
10006 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10007 echo $ac_n "(cached) $ac_c" 1>&6
10009 ac_save_LIBS
="$LIBS"
10010 LIBS
="-lposix4 $LIBS"
10011 cat > conftest.
$ac_ext <<EOF
10012 #line 10013 "configure"
10013 #include "confdefs.h"
10014 /* Override any gcc2 internal prototype to avoid an error. */
10015 /* We use char because int might match the return type of a gcc2
10016 builtin and then its argument prototype would still apply. */
10023 if { (eval echo configure
:10024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10025 eval "ac_cv_lib_$ac_lib_var=yes"
10027 echo "configure: failed program was:" >&5
10028 cat conftest.
$ac_ext >&5
10030 eval "ac_cv_lib_$ac_lib_var=no"
10033 LIBS
="$ac_save_LIBS"
10036 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10037 echo "$ac_t""yes" 1>&6
10039 cat >> confdefs.h
<<\EOF
10040 #define HAVE_NANOSLEEP 1
10043 POSIX4_LINK
="-lposix4"
10046 echo "$ac_t""no" 1>&6
10048 for ac_func
in usleep
10050 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10051 echo "configure:10052: checking for $ac_func" >&5
10052 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10053 echo $ac_n "(cached) $ac_c" 1>&6
10055 cat > conftest.
$ac_ext <<EOF
10056 #line 10057 "configure"
10057 #include "confdefs.h"
10058 /* System header to define __stub macros and hopefully few prototypes,
10059 which can conflict with char $ac_func(); below. */
10060 #include <assert.h>
10061 /* Override any gcc2 internal prototype to avoid an error. */
10062 /* We use char because int might match the return type of a gcc2
10063 builtin and then its argument prototype would still apply. */
10068 /* The GNU C library defines this for functions which it implements
10069 to always fail with ENOSYS. Some functions are actually named
10070 something starting with __ and the normal name is an alias. */
10071 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10079 if { (eval echo configure
:10080: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10081 eval "ac_cv_func_$ac_func=yes"
10083 echo "configure: failed program was:" >&5
10084 cat conftest.
$ac_ext >&5
10086 eval "ac_cv_func_$ac_func=no"
10091 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10092 echo "$ac_t""yes" 1>&6
10093 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10094 cat >> confdefs.h
<<EOF
10095 #define $ac_tr_func 1
10099 echo "$ac_t""no" 1>&6
10103 echo "configure: warning: wxSleep() function will not work" 1>&2
10115 for ac_func
in uname gethostname
10117 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10118 echo "configure:10119: checking for $ac_func" >&5
10119 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10120 echo $ac_n "(cached) $ac_c" 1>&6
10122 cat > conftest.
$ac_ext <<EOF
10123 #line 10124 "configure"
10124 #include "confdefs.h"
10125 /* System header to define __stub macros and hopefully few prototypes,
10126 which can conflict with char $ac_func(); below. */
10127 #include <assert.h>
10128 /* Override any gcc2 internal prototype to avoid an error. */
10129 /* We use char because int might match the return type of a gcc2
10130 builtin and then its argument prototype would still apply. */
10135 /* The GNU C library defines this for functions which it implements
10136 to always fail with ENOSYS. Some functions are actually named
10137 something starting with __ and the normal name is an alias. */
10138 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10146 if { (eval echo configure
:10147: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10148 eval "ac_cv_func_$ac_func=yes"
10150 echo "configure: failed program was:" >&5
10151 cat conftest.
$ac_ext >&5
10153 eval "ac_cv_func_$ac_func=no"
10158 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10159 echo "$ac_t""yes" 1>&6
10160 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10161 cat >> confdefs.h
<<EOF
10162 #define $ac_tr_func 1
10166 echo "$ac_t""no" 1>&6
10171 for ac_func
in strtok_r
10173 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10174 echo "configure:10175: checking for $ac_func" >&5
10175 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10176 echo $ac_n "(cached) $ac_c" 1>&6
10178 cat > conftest.
$ac_ext <<EOF
10179 #line 10180 "configure"
10180 #include "confdefs.h"
10181 /* System header to define __stub macros and hopefully few prototypes,
10182 which can conflict with char $ac_func(); below. */
10183 #include <assert.h>
10184 /* Override any gcc2 internal prototype to avoid an error. */
10185 /* We use char because int might match the return type of a gcc2
10186 builtin and then its argument prototype would still apply. */
10191 /* The GNU C library defines this for functions which it implements
10192 to always fail with ENOSYS. Some functions are actually named
10193 something starting with __ and the normal name is an alias. */
10194 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10202 if { (eval echo configure
:10203: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10204 eval "ac_cv_func_$ac_func=yes"
10206 echo "configure: failed program was:" >&5
10207 cat conftest.
$ac_ext >&5
10209 eval "ac_cv_func_$ac_func=no"
10214 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10215 echo "$ac_t""yes" 1>&6
10216 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10217 cat >> confdefs.h
<<EOF
10218 #define $ac_tr_func 1
10222 echo "$ac_t""no" 1>&6
10228 for ac_func
in inet_addr
10230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10231 echo "configure:10232: checking for $ac_func" >&5
10232 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10233 echo $ac_n "(cached) $ac_c" 1>&6
10235 cat > conftest.
$ac_ext <<EOF
10236 #line 10237 "configure"
10237 #include "confdefs.h"
10238 /* System header to define __stub macros and hopefully few prototypes,
10239 which can conflict with char $ac_func(); below. */
10240 #include <assert.h>
10241 /* Override any gcc2 internal prototype to avoid an error. */
10242 /* We use char because int might match the return type of a gcc2
10243 builtin and then its argument prototype would still apply. */
10248 /* The GNU C library defines this for functions which it implements
10249 to always fail with ENOSYS. Some functions are actually named
10250 something starting with __ and the normal name is an alias. */
10251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10259 if { (eval echo configure
:10260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10261 eval "ac_cv_func_$ac_func=yes"
10263 echo "configure: failed program was:" >&5
10264 cat conftest.
$ac_ext >&5
10266 eval "ac_cv_func_$ac_func=no"
10271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10272 echo "$ac_t""yes" 1>&6
10273 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10274 cat >> confdefs.h
<<EOF
10275 #define $ac_tr_func 1
10277 cat >> confdefs.h
<<\EOF
10278 #define HAVE_INET_ADDR 1
10282 echo "$ac_t""no" 1>&6
10283 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
10284 echo "configure:10285: checking for inet_addr in -lnsl" >&5
10285 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
10286 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10287 echo $ac_n "(cached) $ac_c" 1>&6
10289 ac_save_LIBS
="$LIBS"
10291 cat > conftest.
$ac_ext <<EOF
10292 #line 10293 "configure"
10293 #include "confdefs.h"
10294 /* Override any gcc2 internal prototype to avoid an error. */
10295 /* We use char because int might match the return type of a gcc2
10296 builtin and then its argument prototype would still apply. */
10303 if { (eval echo configure
:10304: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10305 eval "ac_cv_lib_$ac_lib_var=yes"
10307 echo "configure: failed program was:" >&5
10308 cat conftest.
$ac_ext >&5
10310 eval "ac_cv_lib_$ac_lib_var=no"
10313 LIBS
="$ac_save_LIBS"
10316 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10317 echo "$ac_t""yes" 1>&6
10320 echo "$ac_t""no" 1>&6
10321 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
10322 echo "configure:10323: checking for inet_addr in -lresolv" >&5
10323 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
10324 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10325 echo $ac_n "(cached) $ac_c" 1>&6
10327 ac_save_LIBS
="$LIBS"
10328 LIBS
="-lresolv $LIBS"
10329 cat > conftest.
$ac_ext <<EOF
10330 #line 10331 "configure"
10331 #include "confdefs.h"
10332 /* Override any gcc2 internal prototype to avoid an error. */
10333 /* We use char because int might match the return type of a gcc2
10334 builtin and then its argument prototype would still apply. */
10341 if { (eval echo configure
:10342: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10343 eval "ac_cv_lib_$ac_lib_var=yes"
10345 echo "configure: failed program was:" >&5
10346 cat conftest.
$ac_ext >&5
10348 eval "ac_cv_lib_$ac_lib_var=no"
10351 LIBS
="$ac_save_LIBS"
10354 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10355 echo "$ac_t""yes" 1>&6
10359 echo "$ac_t""no" 1>&6
10371 for ac_func
in inet_aton
10373 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10374 echo "configure:10375: checking for $ac_func" >&5
10375 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10376 echo $ac_n "(cached) $ac_c" 1>&6
10378 cat > conftest.
$ac_ext <<EOF
10379 #line 10380 "configure"
10380 #include "confdefs.h"
10381 /* System header to define __stub macros and hopefully few prototypes,
10382 which can conflict with char $ac_func(); below. */
10383 #include <assert.h>
10384 /* Override any gcc2 internal prototype to avoid an error. */
10385 /* We use char because int might match the return type of a gcc2
10386 builtin and then its argument prototype would still apply. */
10391 /* The GNU C library defines this for functions which it implements
10392 to always fail with ENOSYS. Some functions are actually named
10393 something starting with __ and the normal name is an alias. */
10394 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10402 if { (eval echo configure
:10403: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10404 eval "ac_cv_func_$ac_func=yes"
10406 echo "configure: failed program was:" >&5
10407 cat conftest.
$ac_ext >&5
10409 eval "ac_cv_func_$ac_func=no"
10414 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10415 echo "$ac_t""yes" 1>&6
10416 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10417 cat >> confdefs.h
<<EOF
10418 #define $ac_tr_func 1
10420 cat >> confdefs.h
<<\EOF
10421 #define HAVE_INET_ATON 1
10425 echo "$ac_t""no" 1>&6
10426 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
10427 echo "configure:10428: checking for inet_aton in -l$INET_LINK" >&5
10428 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
10429 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10430 echo $ac_n "(cached) $ac_c" 1>&6
10432 ac_save_LIBS
="$LIBS"
10433 LIBS
="-l$INET_LINK $LIBS"
10434 cat > conftest.
$ac_ext <<EOF
10435 #line 10436 "configure"
10436 #include "confdefs.h"
10437 /* Override any gcc2 internal prototype to avoid an error. */
10438 /* We use char because int might match the return type of a gcc2
10439 builtin and then its argument prototype would still apply. */
10446 if { (eval echo configure
:10447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10448 eval "ac_cv_lib_$ac_lib_var=yes"
10450 echo "configure: failed program was:" >&5
10451 cat conftest.
$ac_ext >&5
10453 eval "ac_cv_lib_$ac_lib_var=no"
10456 LIBS
="$ac_save_LIBS"
10459 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10460 echo "$ac_t""yes" 1>&6
10461 cat >> confdefs.h
<<\EOF
10462 #define HAVE_INET_ATON 1
10466 echo "$ac_t""no" 1>&6
10474 if test "x$INET_LINK" != "x"; then
10475 cat >> confdefs.h
<<\EOF
10476 #define HAVE_INET_ADDR 1
10479 INET_LINK
="-l$INET_LINK"
10485 cat > confcache
<<\EOF
10486 # This file is a shell script that caches the results of configure
10487 # tests run on this system so they can be shared between configure
10488 # scripts and configure runs. It is not useful on other systems.
10489 # If it contains results you don't want to keep, you may remove or edit it.
10491 # By default, configure uses ./config.cache as the cache file,
10492 # creating it if it does not exist already. You can give configure
10493 # the --cache-file=FILE option to use a different cache file; that is
10494 # what configure does when it calls configure scripts in
10495 # subdirectories, so they share the cache.
10496 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10497 # config.status only pays attention to the cache file if you give it the
10498 # --recheck option to rerun configure.
10501 # The following way of writing the cache mishandles newlines in values,
10502 # but we know of no workaround that is simple, portable, and efficient.
10503 # So, don't put newlines in cache variables' values.
10504 # Ultrix sh set writes to stderr and can't be redirected directly,
10505 # and sets the high bit in the cache file unless we assign to the vars.
10507 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10509 # `set' does not quote correctly, so add quotes (double-quote substitution
10510 # turns \\\\ into \\, and sed turns \\ into \).
10512 -e "s/'/'\\\\''/g" \
10513 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10516 # `set' quotes correctly as required by POSIX, so do not add quotes.
10517 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10520 if cmp -s $cache_file confcache
; then
10523 if test -w $cache_file; then
10524 echo "updating cache $cache_file"
10525 cat confcache
> $cache_file
10527 echo "not updating unwritable cache $cache_file"
10534 if test "$USE_UNIX" = 1; then
10540 if test "$wxUSE_THREADS" = "yes" ; then
10541 if test "$wxUSE_WINE" = 1 ; then
10542 echo "configure: warning: Threads are not supported under WINE" 1>&2
10544 elif test "$USE_BEOS" = 1; then
10545 echo "configure: warning: BeOS threads are not yet supported" 1>&2
10550 if test "$wxUSE_THREADS" = "yes" ; then
10552 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10553 echo "configure:10554: checking for pthread_create in -lpthread" >&5
10554 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10555 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10556 echo $ac_n "(cached) $ac_c" 1>&6
10558 ac_save_LIBS
="$LIBS"
10559 LIBS
="-lpthread $LIBS"
10560 cat > conftest.
$ac_ext <<EOF
10561 #line 10562 "configure"
10562 #include "confdefs.h"
10563 /* Override any gcc2 internal prototype to avoid an error. */
10564 /* We use char because int might match the return type of a gcc2
10565 builtin and then its argument prototype would still apply. */
10566 char pthread_create();
10572 if { (eval echo configure
:10573: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10574 eval "ac_cv_lib_$ac_lib_var=yes"
10576 echo "configure: failed program was:" >&5
10577 cat conftest.
$ac_ext >&5
10579 eval "ac_cv_lib_$ac_lib_var=no"
10582 LIBS
="$ac_save_LIBS"
10585 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10586 echo "$ac_t""yes" 1>&6
10588 THREADS_OBJ
="threadpsx.lo"
10589 THREADS_LINK
="pthread"
10592 echo "$ac_t""no" 1>&6
10594 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10595 echo "configure:10596: checking for pthread_create in -lc_r" >&5
10596 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10597 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10598 echo $ac_n "(cached) $ac_c" 1>&6
10600 ac_save_LIBS
="$LIBS"
10602 cat > conftest.
$ac_ext <<EOF
10603 #line 10604 "configure"
10604 #include "confdefs.h"
10605 /* Override any gcc2 internal prototype to avoid an error. */
10606 /* We use char because int might match the return type of a gcc2
10607 builtin and then its argument prototype would still apply. */
10608 char pthread_create();
10614 if { (eval echo configure
:10615: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10616 eval "ac_cv_lib_$ac_lib_var=yes"
10618 echo "configure: failed program was:" >&5
10619 cat conftest.
$ac_ext >&5
10621 eval "ac_cv_lib_$ac_lib_var=no"
10624 LIBS
="$ac_save_LIBS"
10627 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10628 echo "$ac_t""yes" 1>&6
10630 THREADS_OBJ
="threadpsx.lo"
10634 echo "$ac_t""no" 1>&6
10636 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10637 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10638 echo "configure:10639: checking for sys/prctl.h" >&5
10639 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10640 echo $ac_n "(cached) $ac_c" 1>&6
10642 cat > conftest.
$ac_ext <<EOF
10643 #line 10644 "configure"
10644 #include "confdefs.h"
10645 #include <sys/prctl.h>
10647 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10648 { (eval echo configure
:10649: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10649 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10650 if test -z "$ac_err"; then
10652 eval "ac_cv_header_$ac_safe=yes"
10655 echo "configure: failed program was:" >&5
10656 cat conftest.
$ac_ext >&5
10658 eval "ac_cv_header_$ac_safe=no"
10662 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10663 echo "$ac_t""yes" 1>&6
10665 THREADS_OBJ
="threadsgi.lo"
10668 echo "$ac_t""no" 1>&6
10678 if test -z "$THREADS_OBJ" ; then
10680 echo "configure: warning: No thread support on this system" 1>&2
10684 if test "$wxUSE_THREADS" = "yes" ; then
10685 for ac_func
in thr_setconcurrency
10687 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10688 echo "configure:10689: checking for $ac_func" >&5
10689 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10690 echo $ac_n "(cached) $ac_c" 1>&6
10692 cat > conftest.
$ac_ext <<EOF
10693 #line 10694 "configure"
10694 #include "confdefs.h"
10695 /* System header to define __stub macros and hopefully few prototypes,
10696 which can conflict with char $ac_func(); below. */
10697 #include <assert.h>
10698 /* Override any gcc2 internal prototype to avoid an error. */
10699 /* We use char because int might match the return type of a gcc2
10700 builtin and then its argument prototype would still apply. */
10705 /* The GNU C library defines this for functions which it implements
10706 to always fail with ENOSYS. Some functions are actually named
10707 something starting with __ and the normal name is an alias. */
10708 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10716 if { (eval echo configure
:10717: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10718 eval "ac_cv_func_$ac_func=yes"
10720 echo "configure: failed program was:" >&5
10721 cat conftest.
$ac_ext >&5
10723 eval "ac_cv_func_$ac_func=no"
10728 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10729 echo "$ac_t""yes" 1>&6
10730 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10731 cat >> confdefs.h
<<EOF
10732 #define $ac_tr_func 1
10736 echo "$ac_t""no" 1>&6
10742 for ac_hdr
in sched.h
10744 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10745 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10746 echo "configure:10747: checking for $ac_hdr" >&5
10747 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10748 echo $ac_n "(cached) $ac_c" 1>&6
10750 cat > conftest.
$ac_ext <<EOF
10751 #line 10752 "configure"
10752 #include "confdefs.h"
10755 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10756 { (eval echo configure
:10757: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10757 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10758 if test -z "$ac_err"; then
10760 eval "ac_cv_header_$ac_safe=yes"
10763 echo "configure: failed program was:" >&5
10764 cat conftest.
$ac_ext >&5
10766 eval "ac_cv_header_$ac_safe=no"
10770 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10771 echo "$ac_t""yes" 1>&6
10772 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10773 cat >> confdefs.h
<<EOF
10774 #define $ac_tr_hdr 1
10778 echo "$ac_t""no" 1>&6
10783 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10784 echo "configure:10785: checking for sched_yield in -l$THREADS_LINK" >&5
10785 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10786 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10787 echo $ac_n "(cached) $ac_c" 1>&6
10789 ac_save_LIBS
="$LIBS"
10790 LIBS
="-l$THREADS_LINK $LIBS"
10791 cat > conftest.
$ac_ext <<EOF
10792 #line 10793 "configure"
10793 #include "confdefs.h"
10794 /* Override any gcc2 internal prototype to avoid an error. */
10795 /* We use char because int might match the return type of a gcc2
10796 builtin and then its argument prototype would still apply. */
10797 char sched_yield();
10803 if { (eval echo configure
:10804: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10805 eval "ac_cv_lib_$ac_lib_var=yes"
10807 echo "configure: failed program was:" >&5
10808 cat conftest.
$ac_ext >&5
10810 eval "ac_cv_lib_$ac_lib_var=no"
10813 LIBS
="$ac_save_LIBS"
10816 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10817 echo "$ac_t""yes" 1>&6
10818 cat >> confdefs.h
<<\EOF
10819 #define HAVE_SCHED_YIELD 1
10823 echo "$ac_t""no" 1>&6
10824 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10825 echo "configure:10826: checking for sched_yield in -l"posix4
"" >&5
10826 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10827 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10828 echo $ac_n "(cached) $ac_c" 1>&6
10830 ac_save_LIBS
="$LIBS"
10831 LIBS
="-l"posix4
" $LIBS"
10832 cat > conftest.
$ac_ext <<EOF
10833 #line 10834 "configure"
10834 #include "confdefs.h"
10835 /* Override any gcc2 internal prototype to avoid an error. */
10836 /* We use char because int might match the return type of a gcc2
10837 builtin and then its argument prototype would still apply. */
10838 char sched_yield();
10844 if { (eval echo configure
:10845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10846 eval "ac_cv_lib_$ac_lib_var=yes"
10848 echo "configure: failed program was:" >&5
10849 cat conftest.
$ac_ext >&5
10851 eval "ac_cv_lib_$ac_lib_var=no"
10854 LIBS
="$ac_save_LIBS"
10857 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10858 echo "$ac_t""yes" 1>&6
10859 cat >> confdefs.h
<<\EOF
10860 #define HAVE_SCHED_YIELD 1
10862 POSIX4_LINK
="-lposix4"
10864 echo "$ac_t""no" 1>&6
10865 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10873 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10874 echo "configure:10875: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10875 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10876 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10877 echo $ac_n "(cached) $ac_c" 1>&6
10879 ac_save_LIBS
="$LIBS"
10880 LIBS
="-l$THREADS_LINK $LIBS"
10881 cat > conftest.
$ac_ext <<EOF
10882 #line 10883 "configure"
10883 #include "confdefs.h"
10884 /* Override any gcc2 internal prototype to avoid an error. */
10885 /* We use char because int might match the return type of a gcc2
10886 builtin and then its argument prototype would still apply. */
10887 char pthread_attr_getschedpolicy();
10890 pthread_attr_getschedpolicy()
10893 if { (eval echo configure
:10894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10895 eval "ac_cv_lib_$ac_lib_var=yes"
10897 echo "configure: failed program was:" >&5
10898 cat conftest.
$ac_ext >&5
10900 eval "ac_cv_lib_$ac_lib_var=no"
10903 LIBS
="$ac_save_LIBS"
10906 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10907 echo "$ac_t""yes" 1>&6
10908 cat >> confdefs.h
<<\EOF
10909 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10913 echo "$ac_t""no" 1>&6
10914 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10915 echo "configure:10916: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10916 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10917 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10918 echo $ac_n "(cached) $ac_c" 1>&6
10920 ac_save_LIBS
="$LIBS"
10921 LIBS
="-l"posix4
" $LIBS"
10922 cat > conftest.
$ac_ext <<EOF
10923 #line 10924 "configure"
10924 #include "confdefs.h"
10925 /* Override any gcc2 internal prototype to avoid an error. */
10926 /* We use char because int might match the return type of a gcc2
10927 builtin and then its argument prototype would still apply. */
10928 char pthread_attr_getschedpolicy();
10931 pthread_attr_getschedpolicy()
10934 if { (eval echo configure
:10935: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10936 eval "ac_cv_lib_$ac_lib_var=yes"
10938 echo "configure: failed program was:" >&5
10939 cat conftest.
$ac_ext >&5
10941 eval "ac_cv_lib_$ac_lib_var=no"
10944 LIBS
="$ac_save_LIBS"
10947 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10948 echo "$ac_t""yes" 1>&6
10949 cat >> confdefs.h
<<\EOF
10950 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10952 POSIX4_LINK
="-lposix4"
10954 echo "$ac_t""no" 1>&6
10955 echo "configure: warning: Setting thread priority will not work" 1>&2
10963 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10964 echo "configure:10965: checking for pthread_cancel in -l$THREADS_LINK" >&5
10965 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10966 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10967 echo $ac_n "(cached) $ac_c" 1>&6
10969 ac_save_LIBS
="$LIBS"
10970 LIBS
="-l$THREADS_LINK $LIBS"
10971 cat > conftest.
$ac_ext <<EOF
10972 #line 10973 "configure"
10973 #include "confdefs.h"
10974 /* Override any gcc2 internal prototype to avoid an error. */
10975 /* We use char because int might match the return type of a gcc2
10976 builtin and then its argument prototype would still apply. */
10977 char pthread_cancel();
10983 if { (eval echo configure
:10984: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10985 eval "ac_cv_lib_$ac_lib_var=yes"
10987 echo "configure: failed program was:" >&5
10988 cat conftest.
$ac_ext >&5
10990 eval "ac_cv_lib_$ac_lib_var=no"
10993 LIBS
="$ac_save_LIBS"
10996 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10997 echo "$ac_t""yes" 1>&6
10998 cat >> confdefs.h
<<\EOF
10999 #define HAVE_PTHREAD_CANCEL 1
11003 echo "$ac_t""no" 1>&6
11004 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
11008 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
11009 echo "configure:11010: checking for pthread_cleanup_push/pop" >&5
11010 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
11011 echo $ac_n "(cached) $ac_c" 1>&6
11014 cat > conftest.
$ac_ext <<EOF
11015 #line 11016 "configure"
11016 #include "confdefs.h"
11017 #include <pthread.h>
11020 pthread_cleanup_push(NULL, NULL);
11021 pthread_cleanup_pop(0);
11025 if { (eval echo configure
:11026: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11028 wx_cv_func_pthread_cleanup_push
=yes
11029 cat >> confdefs.h
<<\EOF
11030 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
11035 echo "configure: failed program was:" >&5
11036 cat conftest.
$ac_ext >&5
11039 wx_cv_func_pthread_cleanup_push
=no
11046 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
11048 THREADS_LINK
="-l$THREADS_LINK"
11053 if test "$wxUSE_THREADS" = "yes"; then
11054 cat >> confdefs.h
<<\EOF
11055 #define wxUSE_THREADS 1
11059 CFLAGS
="${CFLAGS} -D_REENTRANT"
11060 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11062 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
11064 if test "$ac_cv_func_strtok_r" = "yes"; then
11065 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
11066 echo "configure:11067: checking if -D_REENTRANT is needed" >&5
11067 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
11068 CFLAGS
="${CFLAGS} -D_REENTRANT"
11069 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
11070 echo "$ac_t""yes" 1>&6
11072 echo "$ac_t""no" 1>&6
11077 if test "$WXGTK12" = 1 ; then
11078 cat >> confdefs.h
<<EOF
11079 #define __WXGTK12__ $WXGTK12
11084 if test "$WXWINE" = 1 ; then
11085 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
11088 if test "$wxUSE_CYGWIN" = 1 ; then
11089 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
11094 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
11099 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
11100 wxUSE_DEBUG_INFO
=yes
11104 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
11105 cat >> confdefs.h
<<\EOF
11109 WXDEBUG_DEFINE
="-D__WXDEBUG__"
11111 if test "$wxUSE_GTK" = 1 ; then
11112 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
11116 if test "$wxUSE_MEM_TRACING" = "yes" ; then
11117 cat >> confdefs.h
<<\EOF
11118 #define wxUSE_MEMORY_TRACING 1
11121 cat >> confdefs.h
<<\EOF
11122 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
11125 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
11128 if test "$wxUSE_DMALLOC" = "yes" ; then
11129 DMALLOC_LINK
="-ldmalloc"
11133 if test "$wxUSE_PROFILE" = "yes" ; then
11138 if test "$GCC" = yes ; then
11139 if test "$wxUSE_NO_RTTI" = "yes" ; then
11140 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
11142 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
11143 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
11145 if test "$wxUSE_PERMISSIVE" = "yes" ; then
11146 CFLAGS
="${CFLAGS} -fpermissive"
11147 CXXFLAGS
="${CXXFLAGS} -fpermissive"
11149 if test "$wxUSE_NO_DEPS" = "no" ; then
11150 DEP_INFO_FLAGS
="-MMD"
11155 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
11156 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
11157 if test "$wxUSE_OPTIMISE" = "no" ; then
11160 if test "$GCC" = yes ; then
11163 i586
-*-*|i686
-*-* )
11164 OPTIMISE
="${OPTIMISE} "
11174 if test "$wxUSE_ZLIB" = "yes" ; then
11175 cat >> confdefs.h
<<\EOF
11176 #define wxUSE_ZLIB 1
11179 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
11183 if test "$wxUSE_LIBPNG" = "yes" ; then
11184 cat >> confdefs.h
<<\EOF
11185 #define wxUSE_LIBPNG 1
11188 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
11189 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
11193 if test "$wxUSE_LIBJPEG" = "yes" ; then
11194 cat >> confdefs.h
<<\EOF
11195 #define wxUSE_LIBJPEG 1
11198 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
11202 if test "$wxUSE_LIBTIFF" = "yes" ; then
11203 cat >> confdefs.h
<<\EOF
11204 #define wxUSE_LIBTIFF 1
11207 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
11210 if test "$wxUSE_OPENGL" = "yes"; then
11211 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
11212 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
11213 echo "configure:11214: checking for GL/gl.h" >&5
11214 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11215 echo $ac_n "(cached) $ac_c" 1>&6
11217 cat > conftest.
$ac_ext <<EOF
11218 #line 11219 "configure"
11219 #include "confdefs.h"
11222 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11223 { (eval echo configure
:11224: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11224 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11225 if test -z "$ac_err"; then
11227 eval "ac_cv_header_$ac_safe=yes"
11230 echo "configure: failed program was:" >&5
11231 cat conftest.
$ac_ext >&5
11233 eval "ac_cv_header_$ac_safe=no"
11237 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11238 echo "$ac_t""yes" 1>&6
11240 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
11241 echo "configure:11242: checking for glInitNames in -lGL" >&5
11242 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
11243 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11244 echo $ac_n "(cached) $ac_c" 1>&6
11246 ac_save_LIBS
="$LIBS"
11247 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
11248 cat > conftest.
$ac_ext <<EOF
11249 #line 11250 "configure"
11250 #include "confdefs.h"
11251 /* Override any gcc2 internal prototype to avoid an error. */
11252 /* We use char because int might match the return type of a gcc2
11253 builtin and then its argument prototype would still apply. */
11254 char glInitNames();
11260 if { (eval echo configure
:11261: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11262 eval "ac_cv_lib_$ac_lib_var=yes"
11264 echo "configure: failed program was:" >&5
11265 cat conftest.
$ac_ext >&5
11267 eval "ac_cv_lib_$ac_lib_var=no"
11270 LIBS
="$ac_save_LIBS"
11273 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11274 echo "$ac_t""yes" 1>&6
11277 cat >> confdefs.h
<<\EOF
11278 #define wxUSE_OPENGL 1
11281 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11284 echo "$ac_t""no" 1>&6
11286 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
11287 echo "configure:11288: checking for glInitNames in -lMesaGL" >&5
11288 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
11289 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11290 echo $ac_n "(cached) $ac_c" 1>&6
11292 ac_save_LIBS
="$LIBS"
11293 LIBS
="-lMesaGL $LIBS"
11294 cat > conftest.
$ac_ext <<EOF
11295 #line 11296 "configure"
11296 #include "confdefs.h"
11297 /* Override any gcc2 internal prototype to avoid an error. */
11298 /* We use char because int might match the return type of a gcc2
11299 builtin and then its argument prototype would still apply. */
11300 char glInitNames();
11306 if { (eval echo configure
:11307: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11308 eval "ac_cv_lib_$ac_lib_var=yes"
11310 echo "configure: failed program was:" >&5
11311 cat conftest.
$ac_ext >&5
11313 eval "ac_cv_lib_$ac_lib_var=no"
11316 LIBS
="$ac_save_LIBS"
11319 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11320 echo "$ac_t""yes" 1>&6
11322 OPENGL_LINK
="-lMesaGL"
11323 cat >> confdefs.h
<<\EOF
11324 #define wxUSE_OPENGL 1
11327 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11330 echo "$ac_t""no" 1>&6
11339 echo "$ac_t""no" 1>&6
11346 if test "$wxUSE_GUI" = "yes"; then
11347 cat >> confdefs.h
<<\EOF
11348 #define wxUSE_GUI 1
11353 cat >> confdefs.h
<<\EOF
11354 #define wxUSE_NOGUI 1
11360 if test "$wxUSE_UNIX" = "yes"; then
11361 cat >> confdefs.h
<<\EOF
11362 #define wxUSE_UNIX 1
11368 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11369 cat >> confdefs.h
<<\EOF
11370 #define wxUSE_APPLE_IEEE 1
11375 if test "$wxUSE_WAVE" = "yes"; then
11376 cat >> confdefs.h
<<\EOF
11377 #define wxUSE_WAVE 1
11382 if test "$wxUSE_FILE" = "yes"; then
11383 cat >> confdefs.h
<<\EOF
11384 #define wxUSE_FILE 1
11389 if test "$wxUSE_FS_INET" = "yes"; then
11390 cat >> confdefs.h
<<\EOF
11391 #define wxUSE_FS_INET 1
11396 if test "$wxUSE_FS_ZIP" = "yes"; then
11397 cat >> confdefs.h
<<\EOF
11398 #define wxUSE_FS_ZIP 1
11403 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11404 cat >> confdefs.h
<<\EOF
11405 #define wxUSE_ZIPSTREAM 1
11410 if test "$wxUSE_BUSYINFO" = "yes"; then
11411 cat >> confdefs.h
<<\EOF
11412 #define wxUSE_BUSYINFO 1
11417 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11418 cat >> confdefs.h
<<\EOF
11419 #define wxUSE_STD_IOSTREAM 1
11424 if test "$wxUSE_TEXTFILE" = "yes"; then
11425 if test "$wxUSE_FILE" != "yes"; then
11426 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11428 cat >> confdefs.h
<<\EOF
11429 #define wxUSE_TEXTFILE 1
11435 if test "$wxUSE_CONFIG" = "yes" ; then
11436 if test "$wxUSE_TEXTFILE" != "yes"; then
11437 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11439 cat >> confdefs.h
<<\EOF
11440 #define wxUSE_CONFIG 1
11443 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11447 if test "$wxUSE_INTL" = "yes" ; then
11448 if test "$wxUSE_FILE" != "yes"; then
11449 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11451 cat >> confdefs.h
<<\EOF
11452 #define wxUSE_INTL 1
11455 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11459 if test "$wxUSE_LOG" = "yes"; then
11460 cat >> confdefs.h
<<\EOF
11461 #define wxUSE_LOG 1
11466 if test "$wxUSE_LONGLONG" = "yes"; then
11467 cat >> confdefs.h
<<\EOF
11468 #define wxUSE_LONGLONG 1
11473 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11474 cat >> confdefs.h
<<\EOF
11475 #define wxUSE_DIALUP_MANAGER 1
11478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS nettest"
11481 if test "$wxUSE_STREAMS" = "yes" ; then
11482 cat >> confdefs.h
<<\EOF
11483 #define wxUSE_STREAMS 1
11489 if test "$wxUSE_TIMEDATE" = "yes"; then
11490 for ac_func
in strptime
11492 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11493 echo "configure:11494: checking for $ac_func" >&5
11494 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11495 echo $ac_n "(cached) $ac_c" 1>&6
11497 cat > conftest.
$ac_ext <<EOF
11498 #line 11499 "configure"
11499 #include "confdefs.h"
11500 /* System header to define __stub macros and hopefully few prototypes,
11501 which can conflict with char $ac_func(); below. */
11502 #include <assert.h>
11503 /* Override any gcc2 internal prototype to avoid an error. */
11504 /* We use char because int might match the return type of a gcc2
11505 builtin and then its argument prototype would still apply. */
11510 /* The GNU C library defines this for functions which it implements
11511 to always fail with ENOSYS. Some functions are actually named
11512 something starting with __ and the normal name is an alias. */
11513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11521 if { (eval echo configure
:11522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11523 eval "ac_cv_func_$ac_func=yes"
11525 echo "configure: failed program was:" >&5
11526 cat conftest.
$ac_ext >&5
11528 eval "ac_cv_func_$ac_func=no"
11533 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11534 echo "$ac_t""yes" 1>&6
11535 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11536 cat >> confdefs.h
<<EOF
11537 #define $ac_tr_func 1
11541 echo "$ac_t""no" 1>&6
11546 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
11547 echo "configure:11548: checking for timezone variable in <time.h>" >&5
11548 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
11549 echo $ac_n "(cached) $ac_c" 1>&6
11552 cat > conftest.
$ac_ext <<EOF
11553 #line 11554 "configure"
11554 #include "confdefs.h"
11565 if { (eval echo configure
:11566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11568 wx_cv_var_timezone
=__timezone
11571 echo "configure: failed program was:" >&5
11572 cat conftest.
$ac_ext >&5
11575 cat > conftest.
$ac_ext <<EOF
11576 #line 11577 "configure"
11577 #include "confdefs.h"
11588 if { (eval echo configure
:11589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11591 wx_cv_var_timezone
=_timezone
11594 echo "configure: failed program was:" >&5
11595 cat conftest.
$ac_ext >&5
11598 cat > conftest.
$ac_ext <<EOF
11599 #line 11600 "configure"
11600 #include "confdefs.h"
11611 if { (eval echo configure
:11612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11614 wx_cv_var_timezone
=timezone
11617 echo "configure: failed program was:" >&5
11618 cat conftest.
$ac_ext >&5
11620 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
11636 echo "$ac_t""$wx_cv_var_timezone" 1>&6
11638 cat >> confdefs.h
<<EOF
11639 #define WX_TIMEZONE $wx_cv_var_timezone
11643 for ac_func
in localtime gettimeofday ftime
11645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11646 echo "configure:11647: checking for $ac_func" >&5
11647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11648 echo $ac_n "(cached) $ac_c" 1>&6
11650 cat > conftest.
$ac_ext <<EOF
11651 #line 11652 "configure"
11652 #include "confdefs.h"
11653 /* System header to define __stub macros and hopefully few prototypes,
11654 which can conflict with char $ac_func(); below. */
11655 #include <assert.h>
11656 /* Override any gcc2 internal prototype to avoid an error. */
11657 /* We use char because int might match the return type of a gcc2
11658 builtin and then its argument prototype would still apply. */
11663 /* The GNU C library defines this for functions which it implements
11664 to always fail with ENOSYS. Some functions are actually named
11665 something starting with __ and the normal name is an alias. */
11666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11674 if { (eval echo configure
:11675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11676 eval "ac_cv_func_$ac_func=yes"
11678 echo "configure: failed program was:" >&5
11679 cat conftest.
$ac_ext >&5
11681 eval "ac_cv_func_$ac_func=no"
11686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11687 echo "$ac_t""yes" 1>&6
11688 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11689 cat >> confdefs.h
<<EOF
11690 #define $ac_tr_func 1
11694 echo "$ac_t""no" 1>&6
11699 if test "$ac_cv_func_localtime" = "yes"; then
11700 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
11701 echo "configure:11702: checking for tm_gmtoff in struct tm" >&5
11702 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
11703 echo $ac_n "(cached) $ac_c" 1>&6
11706 cat > conftest.
$ac_ext <<EOF
11707 #line 11708 "configure"
11708 #include "confdefs.h"
11719 if { (eval echo configure
:11720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11722 wx_cv_struct_tm_has_gmtoff
=yes
11723 cat >> confdefs.h
<<\EOF
11724 #define WX_GMTOFF_IN_TM 1
11729 echo "configure: failed program was:" >&5
11730 cat conftest.
$ac_ext >&5
11732 wx_cv_struct_tm_has_gmtoff
=no
11739 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
11740 elif test "$ac_cv_func_gettimeofday" = "yes"; then
11741 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
11742 echo "configure:11743: checking whether gettimeofday takes two arguments" >&5
11743 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
11744 echo $ac_n "(cached) $ac_c" 1>&6
11749 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11750 ac_cpp
='$CXXCPP $CPPFLAGS'
11751 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11752 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11753 cross_compiling
=$ac_cv_prog_cxx_cross
11756 cat > conftest.
$ac_ext <<EOF
11757 #line 11758 "configure"
11758 #include "confdefs.h"
11760 #include <sys/time.h>
11761 #include <unistd.h>
11766 struct timezone tz;
11767 gettimeofday(&tv, &tz);
11771 if { (eval echo configure
:11772: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11773 wx_cv_func_gettimeofday_has_2_args
=yes
11775 echo "configure: failed program was:" >&5
11776 cat conftest.
$ac_ext >&5
11778 cat > conftest.
$ac_ext <<EOF
11779 #line 11780 "configure"
11780 #include "confdefs.h"
11782 #include <sys/time.h>
11783 #include <unistd.h>
11792 if { (eval echo configure
:11793: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11794 wx_cv_func_gettimeofday_has_2_args
=no
11796 echo "configure: failed program was:" >&5
11797 cat conftest.
$ac_ext >&5
11799 wx_cv_func_gettimeofday_has_2_args
=unknown
11807 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11808 ac_cpp
='$CPP $CPPFLAGS'
11809 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11810 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11811 cross_compiling
=$ac_cv_prog_cc_cross
11816 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
11818 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
11819 cat >> confdefs.h
<<\EOF
11820 #define WX_GETTIMEOFDAY_NO_TZ 1
11826 cat >> confdefs.h
<<\EOF
11827 #define wxUSE_TIMEDATE 1
11830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
11834 if test "$wxUSE_SOCKETS" = "yes"; then
11835 echo $ac_n "checking for socket""... $ac_c" 1>&6
11836 echo "configure:11837: checking for socket" >&5
11837 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
11838 echo $ac_n "(cached) $ac_c" 1>&6
11840 cat > conftest.
$ac_ext <<EOF
11841 #line 11842 "configure"
11842 #include "confdefs.h"
11843 /* System header to define __stub macros and hopefully few prototypes,
11844 which can conflict with char socket(); below. */
11845 #include <assert.h>
11846 /* Override any gcc2 internal prototype to avoid an error. */
11847 /* We use char because int might match the return type of a gcc2
11848 builtin and then its argument prototype would still apply. */
11853 /* The GNU C library defines this for functions which it implements
11854 to always fail with ENOSYS. Some functions are actually named
11855 something starting with __ and the normal name is an alias. */
11856 #if defined (__stub_socket) || defined (__stub___socket)
11864 if { (eval echo configure
:11865: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11866 eval "ac_cv_func_socket=yes"
11868 echo "configure: failed program was:" >&5
11869 cat conftest.
$ac_ext >&5
11871 eval "ac_cv_func_socket=no"
11876 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
11877 echo "$ac_t""yes" 1>&6
11880 echo "$ac_t""no" 1>&6
11881 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
11882 echo "configure:11883: checking for socket in -lsocket" >&5
11883 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
11884 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11885 echo $ac_n "(cached) $ac_c" 1>&6
11887 ac_save_LIBS
="$LIBS"
11888 LIBS
="-lsocket $LIBS"
11889 cat > conftest.
$ac_ext <<EOF
11890 #line 11891 "configure"
11891 #include "confdefs.h"
11892 /* Override any gcc2 internal prototype to avoid an error. */
11893 /* We use char because int might match the return type of a gcc2
11894 builtin and then its argument prototype would still apply. */
11901 if { (eval echo configure
:11902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11903 eval "ac_cv_lib_$ac_lib_var=yes"
11905 echo "configure: failed program was:" >&5
11906 cat conftest.
$ac_ext >&5
11908 eval "ac_cv_lib_$ac_lib_var=no"
11911 LIBS
="$ac_save_LIBS"
11914 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11915 echo "$ac_t""yes" 1>&6
11916 INET_LINK
="$INET_LINK -lsocket"
11918 echo "$ac_t""no" 1>&6
11920 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
11931 if test "$wxUSE_SOCKETS" = "yes" ; then
11934 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11935 ac_cpp
='$CXXCPP $CPPFLAGS'
11936 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11937 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11938 cross_compiling
=$ac_cv_prog_cxx_cross
11940 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11941 echo "configure:11942: checking the type of the third argument of getsockname" >&5
11942 cat > conftest.
$ac_ext <<EOF
11943 #line 11944 "configure"
11944 #include "confdefs.h"
11945 #include <sys/socket.h>
11947 socklen_t len; getsockname(0, 0, &len);
11950 if { (eval echo configure
:11951: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11952 cat >> confdefs.h
<<\EOF
11953 #define SOCKLEN_T socklen_t
11955 echo "$ac_t""socklen_t" 1>&6
11957 echo "configure: failed program was:" >&5
11958 cat conftest.
$ac_ext >&5
11960 cat > conftest.
$ac_ext <<EOF
11961 #line 11962 "configure"
11962 #include "confdefs.h"
11963 #include <sys/socket.h>
11965 size_t len; getsockname(0, 0, &len);
11968 if { (eval echo configure
:11969: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11970 cat >> confdefs.h
<<\EOF
11971 #define SOCKLEN_T size_t
11973 echo "$ac_t""size_t" 1>&6
11975 echo "configure: failed program was:" >&5
11976 cat conftest.
$ac_ext >&5
11978 cat > conftest.
$ac_ext <<EOF
11979 #line 11980 "configure"
11980 #include "confdefs.h"
11981 #include <sys/socket.h>
11983 int len; getsockname(0, 0, &len);
11986 if { (eval echo configure
:11987: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11988 cat >> confdefs.h
<<\EOF
11989 #define SOCKLEN_T int
11991 echo "$ac_t""int" 1>&6
11993 echo "configure: failed program was:" >&5
11994 cat conftest.
$ac_ext >&5
11996 echo "$ac_t""unknown" 1>&6
12007 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
12008 ac_cpp
='$CPP $CPPFLAGS'
12009 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
12010 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
12011 cross_compiling
=$ac_cv_prog_cc_cross
12014 cat >> confdefs.h
<<\EOF
12015 #define wxUSE_SOCKETS 1
12018 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
12019 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
12023 if test "$wxUSE_JOYSTICK" = 1; then
12024 for ac_hdr
in linux
/joystick.h
12026 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12027 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12028 echo "configure:12029: checking for $ac_hdr" >&5
12029 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12030 echo $ac_n "(cached) $ac_c" 1>&6
12032 cat > conftest.
$ac_ext <<EOF
12033 #line 12034 "configure"
12034 #include "confdefs.h"
12037 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12038 { (eval echo configure
:12039: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12039 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12040 if test -z "$ac_err"; then
12042 eval "ac_cv_header_$ac_safe=yes"
12045 echo "configure: failed program was:" >&5
12046 cat conftest.
$ac_ext >&5
12048 eval "ac_cv_header_$ac_safe=no"
12052 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12053 echo "$ac_t""yes" 1>&6
12054 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12055 cat >> confdefs.h
<<EOF
12056 #define $ac_tr_hdr 1
12060 echo "$ac_t""no" 1>&6
12064 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
12065 cat >> confdefs.h
<<\EOF
12066 #define wxUSE_JOYSTICK 1
12069 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
12076 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
12077 for ac_func
in dlopen
12079 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12080 echo "configure:12081: checking for $ac_func" >&5
12081 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12082 echo $ac_n "(cached) $ac_c" 1>&6
12084 cat > conftest.
$ac_ext <<EOF
12085 #line 12086 "configure"
12086 #include "confdefs.h"
12087 /* System header to define __stub macros and hopefully few prototypes,
12088 which can conflict with char $ac_func(); below. */
12089 #include <assert.h>
12090 /* Override any gcc2 internal prototype to avoid an error. */
12091 /* We use char because int might match the return type of a gcc2
12092 builtin and then its argument prototype would still apply. */
12097 /* The GNU C library defines this for functions which it implements
12098 to always fail with ENOSYS. Some functions are actually named
12099 something starting with __ and the normal name is an alias. */
12100 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12108 if { (eval echo configure
:12109: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12110 eval "ac_cv_func_$ac_func=yes"
12112 echo "configure: failed program was:" >&5
12113 cat conftest.
$ac_ext >&5
12115 eval "ac_cv_func_$ac_func=no"
12120 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12121 echo "$ac_t""yes" 1>&6
12122 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12123 cat >> confdefs.h
<<EOF
12124 #define $ac_tr_func 1
12127 cat >> confdefs.h
<<\EOF
12128 #define HAVE_DLOPEN 1
12134 echo "$ac_t""no" 1>&6
12135 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
12136 echo "configure:12137: checking for dlopen in -ldl" >&5
12137 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
12138 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12139 echo $ac_n "(cached) $ac_c" 1>&6
12141 ac_save_LIBS
="$LIBS"
12143 cat > conftest.
$ac_ext <<EOF
12144 #line 12145 "configure"
12145 #include "confdefs.h"
12146 /* Override any gcc2 internal prototype to avoid an error. */
12147 /* We use char because int might match the return type of a gcc2
12148 builtin and then its argument prototype would still apply. */
12155 if { (eval echo configure
:12156: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12157 eval "ac_cv_lib_$ac_lib_var=yes"
12159 echo "configure: failed program was:" >&5
12160 cat conftest.
$ac_ext >&5
12162 eval "ac_cv_lib_$ac_lib_var=no"
12165 LIBS
="$ac_save_LIBS"
12168 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12169 echo "$ac_t""yes" 1>&6
12171 cat >> confdefs.h
<<\EOF
12172 #define HAVE_DLOPEN 1
12179 echo "$ac_t""no" 1>&6
12181 for ac_func
in shl_load
12183 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12184 echo "configure:12185: checking for $ac_func" >&5
12185 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12186 echo $ac_n "(cached) $ac_c" 1>&6
12188 cat > conftest.
$ac_ext <<EOF
12189 #line 12190 "configure"
12190 #include "confdefs.h"
12191 /* System header to define __stub macros and hopefully few prototypes,
12192 which can conflict with char $ac_func(); below. */
12193 #include <assert.h>
12194 /* Override any gcc2 internal prototype to avoid an error. */
12195 /* We use char because int might match the return type of a gcc2
12196 builtin and then its argument prototype would still apply. */
12201 /* The GNU C library defines this for functions which it implements
12202 to always fail with ENOSYS. Some functions are actually named
12203 something starting with __ and the normal name is an alias. */
12204 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12212 if { (eval echo configure
:12213: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12214 eval "ac_cv_func_$ac_func=yes"
12216 echo "configure: failed program was:" >&5
12217 cat conftest.
$ac_ext >&5
12219 eval "ac_cv_func_$ac_func=no"
12224 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12225 echo "$ac_t""yes" 1>&6
12226 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12227 cat >> confdefs.h
<<EOF
12228 #define $ac_tr_func 1
12231 cat >> confdefs.h
<<\EOF
12232 #define HAVE_SHL_LOAD 1
12238 echo "$ac_t""no" 1>&6
12250 if test "$HAVE_DL_FUNCS" = 0; then
12251 if test "$HAVE_SHL_FUNCS" = 0; then
12252 if test "$USE_UNIX" = 1; then
12253 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
12254 wxUSE_DYNLIB_CLASS
=no
12256 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
12262 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
12263 cat >> confdefs.h
<<\EOF
12264 #define wxUSE_DYNLIB_CLASS 1
12273 if test "$wxUSE_UNICODE" = "yes" ; then
12274 cat >> confdefs.h
<<\EOF
12275 #define wxUSE_UNICODE 1
12280 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
12281 cat >> confdefs.h
<<\EOF
12282 #define wxUSE_WCSRTOMBS 1
12287 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
12288 cat >> confdefs.h
<<\EOF
12289 #define wxUSE_EXPERIMENTAL_PRINTF 1
12295 if test "$wxUSE_SERIAL" = "yes" ; then
12296 cat >> confdefs.h
<<\EOF
12297 #define wxUSE_SERIAL 1
12304 if test "$wxUSE_ODBC" = "yes" ; then
12305 cat >> confdefs.h
<<\EOF
12306 #define wxUSE_ODBC 1
12309 WXODBCFLAG
="-D_IODBC_"
12310 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
12311 IODBCOBJS
="\$(IODBC_OBJS)"
12317 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
12318 cat >> confdefs.h
<<\EOF
12319 #define wxUSE_POSTSCRIPT 1
12324 cat >> confdefs.h
<<\EOF
12325 #define wxUSE_AFM_FOR_POSTSCRIPT 1
12329 cat >> confdefs.h
<<\EOF
12330 #define wxUSE_NORMALIZED_PS_FONTS 1
12335 if test "$wxUSE_CONSTRAINTS" = "yes"; then
12336 cat >> confdefs.h
<<\EOF
12337 #define wxUSE_CONSTRAINTS 1
12340 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
12343 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12344 cat >> confdefs.h
<<\EOF
12345 #define wxUSE_MDI_ARCHITECTURE 1
12348 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
12351 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
12352 cat >> confdefs.h
<<\EOF
12353 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
12356 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
12357 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
12358 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
12362 if test "$wxUSE_HELP" = "yes"; then
12363 cat >> confdefs.h
<<\EOF
12364 #define wxUSE_HELP 1
12367 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
12370 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
12371 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12372 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
12374 cat >> confdefs.h
<<\EOF
12375 #define wxUSE_PRINTING_ARCHITECTURE 1
12379 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
12382 if test "$wxUSE_PROLOGIO" = "yes" ; then
12383 cat >> confdefs.h
<<\EOF
12384 #define wxUSE_PROLOGIO 1
12389 if test "$wxUSE_RESOURCES" = "yes" ; then
12390 if test "$wxUSE_PROLOGIO" = "yes" ; then
12391 cat >> confdefs.h
<<\EOF
12392 #define wxUSE_RESOURCES 1
12395 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
12397 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
12401 if test "$wxUSE_X_RESOURCES" = "yes"; then
12402 cat >> confdefs.h
<<\EOF
12403 #define wxUSE_X_RESOURCES 1
12409 if test "$wxUSE_IPC" = "yes"; then
12410 cat >> confdefs.h
<<\EOF
12411 #define wxUSE_IPC 1
12416 if test "$wxUSE_CLIPBOARD" = "yes"; then
12417 cat >> confdefs.h
<<\EOF
12418 #define wxUSE_CLIPBOARD 1
12423 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
12424 if test "$wxUSE_GTK" = 1; then
12425 if test "$WXGTK12" != 1; then
12426 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
12427 wxUSE_DRAG_AND_DROP
=no
12431 if test "$wxUSE_MOTIF" = 1; then
12432 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
12433 wxUSE_DRAG_AND_DROP
=no
12436 if test "$USE_WIN32" = 1; then
12437 for ac_hdr
in ole2.h
12439 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12440 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12441 echo "configure:12442: checking for $ac_hdr" >&5
12442 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12443 echo $ac_n "(cached) $ac_c" 1>&6
12445 cat > conftest.
$ac_ext <<EOF
12446 #line 12447 "configure"
12447 #include "confdefs.h"
12450 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12451 { (eval echo configure
:12452: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12452 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12453 if test -z "$ac_err"; then
12455 eval "ac_cv_header_$ac_safe=yes"
12458 echo "configure: failed program was:" >&5
12459 cat conftest.
$ac_ext >&5
12461 eval "ac_cv_header_$ac_safe=no"
12465 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12466 echo "$ac_t""yes" 1>&6
12467 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12468 cat >> confdefs.h
<<EOF
12469 #define $ac_tr_hdr 1
12473 echo "$ac_t""no" 1>&6
12477 if test "x$HAVE_OLE2_H" = x
; then
12478 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
12479 wxUSE_DRAG_AND_DROP
=no
12483 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
12484 cat >> confdefs.h
<<\EOF
12485 #define wxUSE_DRAG_AND_DROP 1
12488 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
12493 if test "$wxUSE_SPLINES" = "yes" ; then
12494 cat >> confdefs.h
<<\EOF
12495 #define wxUSE_SPLINES 1
12501 if test "$wxUSE_ACCEL" = "yes"; then
12502 cat >> confdefs.h
<<\EOF
12503 #define wxUSE_ACCEL 1
12508 if test "$wxUSE_CARET" = "yes"; then
12509 cat >> confdefs.h
<<\EOF
12510 #define wxUSE_CARET 1
12513 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
12516 if test "$wxUSE_COMBOBOX" = "yes"; then
12517 cat >> confdefs.h
<<\EOF
12518 #define wxUSE_COMBOBOX 1
12523 if test "$wxUSE_CHOICE" = "yes"; then
12524 cat >> confdefs.h
<<\EOF
12525 #define wxUSE_CHOICE 1
12530 if test "$wxUSE_BMPBUTTON" = "yes"; then
12531 cat >> confdefs.h
<<\EOF
12532 #define wxUSE_BMPBUTTON 1
12537 if test "$wxUSE_CHECKBOX" = "yes"; then
12538 cat >> confdefs.h
<<\EOF
12539 #define wxUSE_CHECKBOX 1
12544 if test "$wxUSE_CHECKLST" = "yes"; then
12545 cat >> confdefs.h
<<\EOF
12546 #define wxUSE_CHECKLISTBOX 1
12549 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
12552 if test "$wxUSE_GAUGE" = "yes"; then
12553 cat >> confdefs.h
<<\EOF
12554 #define wxUSE_GAUGE 1
12559 if test "$wxUSE_GRID" = "yes"; then
12560 cat >> confdefs.h
<<\EOF
12561 #define wxUSE_GRID 1
12564 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
12567 if test "$wxUSE_NEW_GRID" = "yes"; then
12568 cat >> confdefs.h
<<\EOF
12569 #define wxUSE_NEW_GRID 1
12572 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
12575 if test "$wxUSE_IMAGLIST" = "yes"; then
12576 cat >> confdefs.h
<<\EOF
12577 #define wxUSE_IMAGLIST 1
12582 if test "$wxUSE_LISTBOX" = "yes"; then
12583 cat >> confdefs.h
<<\EOF
12584 #define wxUSE_LISTBOX 1
12589 if test "$wxUSE_LISTCTRL" = "yes"; then
12590 if test "$wxUSE_IMAGLIST" = "yes"; then
12591 cat >> confdefs.h
<<\EOF
12592 #define wxUSE_LISTCTRL 1
12595 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
12597 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
12601 if test "$wxUSE_NOTEBOOK" = "yes"; then
12602 cat >> confdefs.h
<<\EOF
12603 #define wxUSE_NOTEBOOK 1
12606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
12609 if test "$wxUSE_RADIOBOX" = "yes"; then
12610 cat >> confdefs.h
<<\EOF
12611 #define wxUSE_RADIOBOX 1
12616 if test "$wxUSE_RADIOBTN" = "yes"; then
12617 cat >> confdefs.h
<<\EOF
12618 #define wxUSE_RADIOBTN 1
12623 if test "$wxUSE_SASH" = "yes"; then
12624 cat >> confdefs.h
<<\EOF
12625 #define wxUSE_SASH 1
12628 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
12631 if test "$wxUSE_SCROLLBAR" = "yes"; then
12632 cat >> confdefs.h
<<\EOF
12633 #define wxUSE_SCROLLBAR 1
12636 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
12639 if test "$wxUSE_SLIDER" = "yes"; then
12640 cat >> confdefs.h
<<\EOF
12641 #define wxUSE_SLIDER 1
12646 if test "$wxUSE_SPINBTN" = "yes"; then
12647 cat >> confdefs.h
<<\EOF
12648 #define wxUSE_SPINBTN 1
12653 if test "$wxUSE_SPINCTRL" = "yes"; then
12654 cat >> confdefs.h
<<\EOF
12655 #define wxUSE_SPINCTRL 1
12660 if test "$wxUSE_SPLITTER" = "yes"; then
12661 cat >> confdefs.h
<<\EOF
12662 #define wxUSE_SPLITTER 1
12665 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
12668 if test "$wxUSE_STATBMP" = "yes"; then
12669 cat >> confdefs.h
<<\EOF
12670 #define wxUSE_STATBMP 1
12675 if test "$wxUSE_STATBOX" = "yes"; then
12676 cat >> confdefs.h
<<\EOF
12677 #define wxUSE_STATBOX 1
12682 if test "$wxUSE_STATLINE" = "yes"; then
12683 if test "$wxUSE_WINE" = 1 ; then
12684 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
12686 cat >> confdefs.h
<<\EOF
12687 #define wxUSE_STATLINE 1
12693 if test "$wxUSE_STATUSBAR" = "yes"; then
12694 cat >> confdefs.h
<<\EOF
12695 #define wxUSE_STATUSBAR 1
12700 if test "$wxUSE_TABDIALOG" = "yes"; then
12701 cat >> confdefs.h
<<\EOF
12702 #define wxUSE_TAB_DIALOG 1
12705 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
12708 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
12709 cat >> confdefs.h
<<\EOF
12710 #define wxUSE_TOOLBAR_SIMPLE 1
12713 wxUSE_TOOLBAR
="yes"
12716 if test "$wxUSE_TOOLBAR" = "yes"; then
12717 cat >> confdefs.h
<<\EOF
12718 #define wxUSE_TOOLBAR 1
12722 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
12723 wxUSE_TOOLBAR_NATIVE
="yes"
12726 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
12729 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
12730 cat >> confdefs.h
<<\EOF
12731 #define wxUSE_TOOLBAR_NATIVE 1
12736 if test "$wxUSE_TOOLTIPS" = "yes"; then
12737 if test "$wxUSE_MOTIF" = 1; then
12738 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
12740 if test "$wxUSE_WINE" = 1; then
12741 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
12743 cat >> confdefs.h
<<\EOF
12744 #define wxUSE_TOOLTIPS 1
12751 if test "$wxUSE_TREECTRL" = "yes"; then
12752 if test "$wxUSE_IMAGLIST" = "yes"; then
12753 cat >> confdefs.h
<<\EOF
12754 #define wxUSE_TREECTRL 1
12757 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
12759 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
12765 if test "$wxUSE_METAFILE" = "yes"; then
12766 cat >> confdefs.h
<<\EOF
12767 #define wxUSE_METAFILE 1
12772 if test "$wxUSE_DIRDLG" = "yes"; then
12773 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12774 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
12776 if test "$wxUSE_TREECTRL" != "yes"; then
12777 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
12779 cat >> confdefs.h
<<\EOF
12780 #define wxUSE_DIRDLG 1
12787 if test "$wxUSE_TEXTDLG" = "yes"; then
12788 cat >> confdefs.h
<<\EOF
12789 #define wxUSE_TEXTDLG 1
12794 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
12795 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12796 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
12798 cat >> confdefs.h
<<\EOF
12799 #define wxUSE_STARTUP_TIPS 1
12805 if test "$wxUSE_PROGRESSDLG" = "yes"; then
12806 if test "$wxUSE_CONSTRAINTS" != "yes"; then
12807 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
12809 cat >> confdefs.h
<<\EOF
12810 #define wxUSE_PROGRESSDLG 1
12816 if test "$wxUSE_MINIFRAME" = "yes"; then
12817 cat >> confdefs.h
<<\EOF
12818 #define wxUSE_MINIFRAME 1
12821 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
12824 if test "$wxUSE_HTML" = "yes"; then
12825 cat >> confdefs.h
<<\EOF
12826 #define wxUSE_HTML 1
12829 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
12830 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
12833 if test "$wxUSE_VALIDATORS" = "yes"; then
12834 cat >> confdefs.h
<<\EOF
12835 #define wxUSE_VALIDATORS 1
12838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
12841 if test "$wxUSE_GIF" = "yes" ; then
12842 cat >> confdefs.h
<<\EOF
12843 #define wxUSE_GIF 1
12848 if test "$wxUSE_PCX" = "yes" ; then
12849 cat >> confdefs.h
<<\EOF
12850 #define wxUSE_PCX 1
12855 if test "$wxUSE_PNM" = "yes" ; then
12856 cat >> confdefs.h
<<\EOF
12857 #define wxUSE_PNM 1
12863 OSINFO
=`uname -s -r -m`
12864 OSINFO
="\"$OSINFO\""
12865 cat >> confdefs.h
<<EOF
12866 #define WXWIN_OS_DESCRIPTION $OSINFO
12871 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
12873 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK"
12874 if test "$wxUSE_GUI" = "yes"; then
12875 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
12878 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
12880 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $TOOLKIT_INCLUDE"
12882 if test "$GXX" = yes ; then
12883 CXXWARNINGS
="-Wall"
12885 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
12887 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS | sed 's/ \\+/ /g'`
12888 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
12890 LDFLAGS
="$LDFLAGS $PROFILE"
12892 if test "$wxUSE_GUI" = "yes"; then
12894 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
12895 font forty fractal image minimal richedit wxpoem"
12897 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS)"
12902 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
12960 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
12961 echo "configure:12962: checking whether ${MAKE-make} sets \${MAKE}" >&5
12962 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
12963 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
12964 echo $ac_n "(cached) $ac_c" 1>&6
12966 cat > conftestmake
<<\EOF
12968 @
echo 'ac_maketemp="${MAKE}"'
12970 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12971 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
12972 if test -n "$ac_maketemp"; then
12973 eval ac_cv_prog_make_
${ac_make}_set
=yes
12975 eval ac_cv_prog_make_
${ac_make}_set
=no
12979 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
12980 echo "$ac_t""yes" 1>&6
12983 echo "$ac_t""no" 1>&6
12984 SET_MAKE
="MAKE=${MAKE-make}"
12990 if test "${TOOLKIT_DIR}" = "msw" ; then
12991 GL_TOOLKIT_DIR
="win"
12993 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
12998 cat > confcache
<<\EOF
12999 # This file is a shell script that caches the results of configure
13000 # tests run on this system so they can be shared between configure
13001 # scripts and configure runs. It is not useful on other systems.
13002 # If it contains results you don't want to keep, you may remove or edit it.
13004 # By default, configure uses ./config.cache as the cache file,
13005 # creating it if it does not exist already. You can give configure
13006 # the --cache-file=FILE option to use a different cache file; that is
13007 # what configure does when it calls configure scripts in
13008 # subdirectories, so they share the cache.
13009 # Giving --cache-file=/dev/null disables caching, for debugging configure.
13010 # config.status only pays attention to the cache file if you give it the
13011 # --recheck option to rerun configure.
13014 # The following way of writing the cache mishandles newlines in values,
13015 # but we know of no workaround that is simple, portable, and efficient.
13016 # So, don't put newlines in cache variables' values.
13017 # Ultrix sh set writes to stderr and can't be redirected directly,
13018 # and sets the high bit in the cache file unless we assign to the vars.
13020 case `(ac_space=' '; set | grep ac_space) 2>&1` in
13022 # `set' does not quote correctly, so add quotes (double-quote substitution
13023 # turns \\\\ into \\, and sed turns \\ into \).
13025 -e "s/'/'\\\\''/g" \
13026 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
13029 # `set' quotes correctly as required by POSIX, so do not add quotes.
13030 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
13033 if cmp -s $cache_file confcache
; then
13036 if test -w $cache_file; then
13037 echo "updating cache $cache_file"
13038 cat confcache
> $cache_file
13040 echo "not updating unwritable cache $cache_file"
13045 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
13047 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
13048 # Let make expand exec_prefix.
13049 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
13051 # Any assignment to VPATH causes Sun make to only execute
13052 # the first set of double-colon rules, so remove it if not needed.
13053 # If there is a colon in the path, we need to keep it.
13054 if test "x$srcdir" = x.
; then
13055 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
13058 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
13060 DEFS
=-DHAVE_CONFIG_H
13062 # Without the "./", some shells look in PATH for config.status.
13063 : ${CONFIG_STATUS=./config.status}
13065 echo creating
$CONFIG_STATUS
13066 rm -f $CONFIG_STATUS
13067 cat > $CONFIG_STATUS <<EOF
13069 # Generated automatically by configure.
13070 # Run this file to recreate the current configuration.
13071 # This directory was configured as follows,
13072 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
13074 # $0 $ac_configure_args
13076 # Compiler output produced by configure, useful for debugging
13077 # configure, is in ./config.log if it exists.
13079 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
13082 case "\$ac_option" in
13083 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
13084 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
13085 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
13086 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
13087 echo "$CONFIG_STATUS generated by autoconf version 2.13"
13089 -help | --help | --hel | --he | --h)
13090 echo "\$ac_cs_usage"; exit 0 ;;
13091 *) echo "\$ac_cs_usage"; exit 1 ;;
13095 ac_given_srcdir=$srcdir
13096 ac_given_INSTALL="$INSTALL"
13098 trap 'rm -fr `echo "
13105 samples/bombs/Makefile
13106 samples/caret/Makefile
13107 samples/checklst/Makefile
13108 samples/config/Makefile
13109 samples/controls/Makefile
13110 samples/console/Makefile
13111 samples/db/Makefile
13112 samples/dialogs/Makefile
13113 samples/docview/Makefile
13114 samples/docvwmdi/Makefile
13115 samples/dnd/Makefile
13116 samples/drawing/Makefile
13117 samples/forty/Makefile
13118 samples/font/Makefile
13119 samples/fractal/Makefile
13120 samples/image/Makefile
13121 samples/internat/Makefile
13122 samples/layout/Makefile
13123 samples/listctrl/Makefile
13124 samples/mdi/Makefile
13125 samples/minifram/Makefile
13126 samples/minimal/Makefile
13127 samples/nettest/Makefile
13128 samples/newgrid/Makefile
13129 samples/notebook/Makefile
13130 samples/png/Makefile
13131 samples/printing/Makefile
13132 samples/proplist/Makefile
13133 samples/richedit/Makefile
13134 samples/resource/Makefile
13135 samples/sashtest/Makefile
13136 samples/scroll/Makefile
13137 samples/scrollsub/Makefile
13138 samples/splitter/Makefile
13139 samples/text/Makefile
13140 samples/thread/Makefile
13141 samples/toolbar/Makefile
13142 samples/treectrl/Makefile
13143 samples/typetest/Makefile
13144 samples/validate/Makefile
13145 samples/wxpoem/Makefile
13146 samples/wxsocket/Makefile
13147 samples/wizard/Makefile
13148 samples/html/Makefile
13149 samples/html/about/Makefile
13150 samples/html/help/Makefile
13151 samples/html/printing/Makefile
13152 samples/html/helpview/Makefile
13153 samples/html/test/Makefile
13154 samples/html/zip/Makefile
13155 samples/html/virtual/Makefile
13156 samples/html/widget/Makefile
13158 utils/wxMMedia2/Makefile
13159 utils/wxMMedia2/lib/Makefile
13160 utils/wxMMedia2/sample/Makefile
13161 utils/glcanvas/Makefile
13162 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
13164 utils/ogl/src/Makefile
13165 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
13167 cat >> $CONFIG_STATUS <<EOF
13169 # Protect against being on the right side of a sed subst in config.status.
13170 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
13171 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
13175 s%@CFLAGS@%$CFLAGS%g
13176 s%@CPPFLAGS@%$CPPFLAGS%g
13177 s%@CXXFLAGS@%$CXXFLAGS%g
13178 s%@FFLAGS@%$FFLAGS%g
13180 s%@LDFLAGS@%$LDFLAGS%g
13182 s%@exec_prefix@%$exec_prefix%g
13183 s%@prefix@%$prefix%g
13184 s%@program_transform_name@%$program_transform_name%g
13185 s%@bindir@%$bindir%g
13186 s%@sbindir@%$sbindir%g
13187 s%@libexecdir@%$libexecdir%g
13188 s%@datadir@%$datadir%g
13189 s%@sysconfdir@%$sysconfdir%g
13190 s%@sharedstatedir@%$sharedstatedir%g
13191 s%@localstatedir@%$localstatedir%g
13192 s%@libdir@%$libdir%g
13193 s%@includedir@%$includedir%g
13194 s%@oldincludedir@%$oldincludedir%g
13195 s%@infodir@%$infodir%g
13196 s%@mandir@%$mandir%g
13198 s%@host_alias@%$host_alias%g
13199 s%@host_cpu@%$host_cpu%g
13200 s%@host_vendor@%$host_vendor%g
13201 s%@host_os@%$host_os%g
13202 s%@target@%$target%g
13203 s%@target_alias@%$target_alias%g
13204 s%@target_cpu@%$target_cpu%g
13205 s%@target_vendor@%$target_vendor%g
13206 s%@target_os@%$target_os%g
13208 s%@build_alias@%$build_alias%g
13209 s%@build_cpu@%$build_cpu%g
13210 s%@build_vendor@%$build_vendor%g
13211 s%@build_os@%$build_os%g
13215 s%@CXXCPP@%$CXXCPP%g
13216 s%@RANLIB@%$RANLIB%g
13218 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
13219 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
13220 s%@INSTALL_DATA@%$INSTALL_DATA%g
13224 s%@LEXLIB@%$LEXLIB%g
13226 s%@GTK_CONFIG@%$GTK_CONFIG%g
13227 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
13228 s%@GTK_LIBS@%$GTK_LIBS%g
13229 s%@X_CFLAGS@%$X_CFLAGS%g
13230 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
13231 s%@X_LIBS@%$X_LIBS%g
13232 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
13233 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
13234 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
13235 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
13236 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
13237 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
13238 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
13239 s%@WX_LIBRARY@%$WX_LIBRARY%g
13240 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
13241 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
13242 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
13243 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
13244 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
13245 s%@WX_ALL@%$WX_ALL%g
13246 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
13247 s%@SHARED_LD@%$SHARED_LD%g
13248 s%@PIC_FLAG@%$PIC_FLAG%g
13249 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
13250 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
13251 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
13252 s%@TOOLKIT@%$TOOLKIT%g
13253 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
13254 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
13255 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
13256 s%@GUIHEADERS@%$GUIHEADERS%g
13257 s%@GUIOBJS@%$GUIOBJS%g
13258 s%@COMMONOBJS@%$COMMONOBJS%g
13259 s%@GENERICOBJS@%$GENERICOBJS%g
13260 s%@GUIDEPS@%$GUIDEPS%g
13261 s%@COMMONDEPS@%$COMMONDEPS%g
13262 s%@GENERICDEPS@%$GENERICDEPS%g
13263 s%@IODBCOBJS@%$IODBCOBJS%g
13264 s%@UNIXOBJS@%$UNIXOBJS%g
13265 s%@UNIXDEPS@%$UNIXDEPS%g
13266 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
13267 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
13268 s%@ALL_HEADERS@%$ALL_HEADERS%g
13269 s%@GUIDIST@%$GUIDIST%g
13270 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
13271 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
13272 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
13273 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
13274 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
13275 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
13276 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
13277 s%@EXTRADEFS@%$EXTRADEFS%g
13278 s%@LD_LIBS@%$LD_LIBS%g
13279 s%@SET_MAKE@%$SET_MAKE%g
13280 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
13285 cat >> $CONFIG_STATUS <<\EOF
13287 # Split the substitutions into bite-sized pieces for seds with
13288 # small command number limits, like on Digital OSF/1 and HP-UX.
13289 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
13290 ac_file
=1 # Number of current file.
13291 ac_beg
=1 # First line for current file.
13292 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
13295 while $ac_more_lines; do
13296 if test $ac_beg -gt 1; then
13297 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
13299 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
13301 if test ! -s conftest.s
$ac_file; then
13302 ac_more_lines
=false
13303 rm -f conftest.s
$ac_file
13305 if test -z "$ac_sed_cmds"; then
13306 ac_sed_cmds
="sed -f conftest.s$ac_file"
13308 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
13310 ac_file
=`expr $ac_file + 1`
13312 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
13315 if test -z "$ac_sed_cmds"; then
13320 cat >> $CONFIG_STATUS <<EOF
13322 CONFIG_FILES=\${CONFIG_FILES-"wx-config
13328 samples/bombs/Makefile
13329 samples/caret/Makefile
13330 samples/checklst/Makefile
13331 samples/config/Makefile
13332 samples/controls/Makefile
13333 samples/console/Makefile
13334 samples/db/Makefile
13335 samples/dialogs/Makefile
13336 samples/docview/Makefile
13337 samples/docvwmdi/Makefile
13338 samples/dnd/Makefile
13339 samples/drawing/Makefile
13340 samples/forty/Makefile
13341 samples/font/Makefile
13342 samples/fractal/Makefile
13343 samples/image/Makefile
13344 samples/internat/Makefile
13345 samples/layout/Makefile
13346 samples/listctrl/Makefile
13347 samples/mdi/Makefile
13348 samples/minifram/Makefile
13349 samples/minimal/Makefile
13350 samples/nettest/Makefile
13351 samples/newgrid/Makefile
13352 samples/notebook/Makefile
13353 samples/png/Makefile
13354 samples/printing/Makefile
13355 samples/proplist/Makefile
13356 samples/richedit/Makefile
13357 samples/resource/Makefile
13358 samples/sashtest/Makefile
13359 samples/scroll/Makefile
13360 samples/scrollsub/Makefile
13361 samples/splitter/Makefile
13362 samples/text/Makefile
13363 samples/thread/Makefile
13364 samples/toolbar/Makefile
13365 samples/treectrl/Makefile
13366 samples/typetest/Makefile
13367 samples/validate/Makefile
13368 samples/wxpoem/Makefile
13369 samples/wxsocket/Makefile
13370 samples/wizard/Makefile
13371 samples/html/Makefile
13372 samples/html/about/Makefile
13373 samples/html/help/Makefile
13374 samples/html/printing/Makefile
13375 samples/html/helpview/Makefile
13376 samples/html/test/Makefile
13377 samples/html/zip/Makefile
13378 samples/html/virtual/Makefile
13379 samples/html/widget/Makefile
13381 utils/wxMMedia2/Makefile
13382 utils/wxMMedia2/lib/Makefile
13383 utils/wxMMedia2/sample/Makefile
13384 utils/glcanvas/Makefile
13385 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
13387 utils/ogl/src/Makefile
13390 cat >> $CONFIG_STATUS <<\EOF
13391 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
13392 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13394 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13395 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13396 *) ac_file_in
="${ac_file}.in" ;;
13399 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
13401 # Remove last slash and all that follows it. Not all systems have dirname.
13402 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13403 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
13404 # The file is in a subdirectory.
13405 test ! -d "$ac_dir" && mkdir "$ac_dir"
13406 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
13407 # A "../" for each directory in $ac_dir_suffix.
13408 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
13410 ac_dir_suffix
= ac_dots
=
13413 case "$ac_given_srcdir" in
13415 if test -z "$ac_dots"; then top_srcdir
=.
13416 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
13417 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
13418 *) # Relative path.
13419 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
13420 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
13423 case "$ac_given_INSTALL" in
13424 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
13425 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
13428 echo creating
"$ac_file"
13430 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
13432 *Makefile
*) ac_comsub
="1i\\
13433 # $configure_input" ;;
13437 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13439 s%@configure_input@%$configure_input%g
13440 s%@srcdir@%$srcdir%g
13441 s%@top_srcdir@%$top_srcdir%g
13442 s%@INSTALL@%$INSTALL%g
13443 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
13447 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
13448 # NAME is the cpp macro being defined and VALUE is the value it is being given.
13450 # ac_d sets the value in "#define NAME VALUE" lines.
13451 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
13452 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
13455 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
13456 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13457 ac_uB
='\([ ]\)%\1#\2define\3'
13460 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
13461 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
13462 ac_eB
='$%\1#\2define\3'
13466 if test "${CONFIG_HEADERS+set}" != set; then
13468 cat >> $CONFIG_STATUS <<EOF
13469 CONFIG_HEADERS="setup.h:setup.h.in"
13471 cat >> $CONFIG_STATUS <<\EOF
13473 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
13474 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
13476 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
13477 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
13478 *) ac_file_in
="${ac_file}.in" ;;
13481 echo creating
$ac_file
13483 rm -f conftest.frag conftest.
in conftest.out
13484 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
13485 cat $ac_file_inputs > conftest.
in
13489 # Transform confdefs.h into a sed script conftest.vals that substitutes
13490 # the proper values into config.h.in to produce config.h. And first:
13491 # Protect against being on the right side of a sed subst in config.status.
13492 # Protect against being in an unquoted here document in config.status.
13493 rm -f conftest.vals
13494 cat > conftest.hdr
<<\EOF
13497 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
13501 sed -n -f conftest.hdr confdefs.h > conftest.vals
13504 # This sed command replaces #undef with comments. This is necessary, for
13505 # example, in the case of _POSIX_SOURCE, which is predefined and required
13506 # on some systems where configure will not decide to define it.
13507 cat >> conftest.vals <<\EOF
13508 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
13511 # Break up conftest.vals because some shells have a limit on
13512 # the size of here documents, and old seds have small limits too.
13514 rm -f conftest.tail
13517 ac_lines=`grep -c . conftest.vals
`
13518 # grep -c gives empty output for an empty file on some AIX systems.
13519 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
13520 # Write a limited-size here document to conftest.frag.
13521 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
13522 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
13524 sed -f conftest.frag conftest.in > conftest.out
13526 mv conftest.out conftest.in
13527 ' >> $CONFIG_STATUS
13528 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
13529 rm -f conftest.vals
13530 mv conftest.tail conftest.vals
13532 rm -f conftest.vals
13534 cat >> $CONFIG_STATUS <<\EOF
13535 rm -f conftest.frag conftest.h
13536 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
13537 cat conftest.in >> conftest.h
13539 if cmp -s $ac_file conftest.h 2>/dev/null; then
13540 echo "$ac_file is unchanged"
13543 # Remove last slash and all that follows it. Not all systems have dirname.
13544 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
13545 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
13546 # The file is in a subdirectory.
13547 test ! -d "$ac_dir" && mkdir "$ac_dir"
13550 mv conftest.h $ac_file
13555 cat >> $CONFIG_STATUS <<EOF
13557 TOOLKIT_DIR="${TOOLKIT_DIR}"
13561 cat >> $CONFIG_STATUS <<\EOF
13564 if test ! -d include; then
13567 if test ! -d include/wx; then
13570 if test ! -d include/wx/${TOOLKIT_DIR}; then
13571 mkdir include/wx/${TOOLKIT_DIR}
13573 if test -f setup.h; then
13574 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
13579 chmod +x $CONFIG_STATUS
13580 rm -fr confdefs* $ac_clean_files
13581 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1