3 # From configure.in Id: configure.in
43 # Guess values for system-dependent variables and create Makefiles.
44 # Generated automatically using autoconf version 2.14
45 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
47 # This configure script is free software; the Free Software Foundation
48 # gives unlimited permission to copy, distribute and modify it.
52 ac_default_prefix
=/usr
/local
53 # Any additions from configure.in:
55 --enable-gui use GUI classes"
59 --with-motif use Motif/Lesstif"
63 --with-cygwin use Cygwin for MS-Windows"
65 --with-mingw use GCC Minimal MS-Windows"
67 --with-gtk-prefix=PFX Prefix where GTK is installed"
69 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
71 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
73 --with-zlib use zlib for LZW compression"
75 --with-libpng use libpng (PNG image format)"
77 --with-libjpeg use libjpeg (JPEG file format)"
79 --with-opengl use OpenGL (or Mesa)"
81 --with-odbc use the IODBC and wxODBC classes"
83 --enable-shared create shared library code"
85 --enable-optimise create optimised code"
87 --enable-debug same as debug_flag and debug_info"
89 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
91 --enable-debug_info create code with debugging information"
93 --enable-debug_gdb create code with extra GDB debugging information"
95 --enable-debug_cntxt use wxDebugContext"
97 --enable-mem_tracing create code with memory tracing"
99 --enable-profile create code with profiling information"
101 --enable-no_rtti create code without RTTI information"
103 --enable-no_exceptions create code without exceptions information"
105 --enable-permissive compile code disregarding strict ANSI"
107 --enable-no_deps create code without dependency information"
109 --enable-intl use internationalization system"
111 --enable-config use wxConfig (and derived) classes"
113 --enable-sockets use socket/network classes"
115 --enable-dialupman use dialup network classes"
117 --enable-ipc use interprocess communication (wxSocket etc.)"
119 --enable-apple_ieee use the Apple IEEE codec"
121 --enable-timedate use date/time classes"
123 --enable-wave use wxWave class"
125 --enable-fraction use wxFraction class"
127 --enable-dynlib use wxLibrary class for DLL loading"
129 --enable-longlong use wxLongLong class"
131 --enable-log use logging system"
133 --enable-streams use wxStream etc classes"
135 --enable-file use wxFile classes"
137 --enable-textfile use wxTextFile classes"
139 --enable-unicode compile wxString with Unicode support"
141 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
143 --enable-wxprintfv use wxWindows implementation of vprintf()"
145 --enable-joystick compile in joystick support (Linux only)"
147 --enable-std_iostreams use standard C++ stream classes"
149 --enable-fs_inet use virtual HTTP/FTP filesystems"
151 --enable-fs_zip use virtual ZIP filesystems"
153 --enable-zipstream use wxZipInputStream"
155 --enable-threads use threads"
157 --enable-serial use class serialization"
159 --enable-docview use document view architecture"
161 --enable-help use help (using external browser at present)"
163 --enable-constraints use layout-constraints system"
165 --enable-printarch use printing architecture"
167 --enable-mdi use multiple document interface architecture"
169 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
171 --enable-prologio use Prolog IO library"
173 --enable-resources use wxWindows resources"
175 --enable-xresources use X resources for save (default for gtk+)"
177 --enable-clipboard use wxClipboard classes"
179 --enable-dnd use Drag'n'Drop classes"
181 --enable-wxtree make wxTree library"
183 --enable-controls use all usual controls"
185 --enable-accel use accelerators"
187 --enable-caret use wxCaret class"
189 --enable-bmpbutton use wxBitmapButton class"
191 --enable-checkbox use wxCheckBox class"
193 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
195 --enable-choice use wxChoice class"
197 --enable-combobox use wxComboBox classes"
199 --enable-gauge use wxGauge class"
201 --enable-grid use wxGrid class"
203 --enable-imaglist use wxImageList class"
205 --enable-listbox use wxListBox class"
207 --enable-listctrl use wxListCtrl class"
209 --enable-notebook use wxNotebook class"
211 --enable-radiobox use wxRadioBox class"
213 --enable-radiobtn use wxRadioButton class"
215 --enable-sash use wxSashWindow class"
217 --enable-scrollbar use wxScrollBar class and scrollable windows"
219 --enable-slider use wxSlider class"
221 --enable-spinbtn use wxSpinButton class"
223 --enable-splitter use wxSplitterWindow class"
225 --enable-statbmp use wxStaticBitmap class"
227 --enable-statbox use wxStaticBox class"
229 --enable-statline use wxStaticLine class"
231 --enable-statusbar use wxStatusBar class"
233 --enable-tabdialog use wxTabControl class"
235 --enable-toolbar use wxToolBar class"
237 --enable-treectrl use wxTreeCtrl class"
239 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
241 --enable-dirdlg use wxDirDialog"
243 --enable-textdlg use wxTextDialog"
245 --enable-tipdlg use startup tips"
247 --enable-progressdlg use wxProgressDialog"
249 --enable-miniframe use wxMiniFrame class"
251 --enable-html use wxHTML sub-library"
253 --enable-tooltips use wxToolTip class"
255 --enable-splines use spline drawing code"
257 --enable-validators use wxValidator and derived classes"
259 --enable-busyinfo use wxBusyInfo"
261 --enable-gif use gif images (GIF file format)"
263 --enable-pcx use pcx images (PCX file format)"
265 --enable-pnm use pnm images (PNM file format)"
267 --with-x use the X Window System"
269 # Initialize some variables set by options.
270 # The variables have the same names as the options, with
271 # dashes changed to underlines.
273 cache_file
=.
/config.cache
282 program_transform_name
=s
,x
,x
,
290 bindir
='${exec_prefix}/bin'
291 sbindir
='${exec_prefix}/sbin'
292 libexecdir
='${exec_prefix}/libexec'
293 datadir
='${prefix}/share'
294 sysconfdir
='${prefix}/etc'
295 sharedstatedir
='${prefix}/com'
296 localstatedir
='${prefix}/var'
297 libdir
='${exec_prefix}/lib'
298 includedir
='${prefix}/include'
299 oldincludedir
='/usr/include'
300 infodir
='${prefix}/info'
301 mandir
='${prefix}/man'
303 # Initialize some other variables.
306 SHELL
=${CONFIG_SHELL-/bin/sh}
307 # Maximum number of lines to put in a shell here document.
314 # If the previous option needs an argument, assign it.
315 if test -n "$ac_prev"; then
316 eval "$ac_prev=\$ac_option"
322 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
326 # Accept the important Cygnus configure options, so we can diagnose typos.
330 -bindir | --bindir | --bindi | --bind | --bin | --bi)
332 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
333 bindir
="$ac_optarg" ;;
335 -build | --build | --buil | --bui | --bu)
337 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
338 build
="$ac_optarg" ;;
340 -cache-file | --cache-file | --cache-fil | --cache-fi \
341 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
342 ac_prev
=cache_file
;;
343 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
344 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
345 cache_file
="$ac_optarg" ;;
347 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
349 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
351 datadir
="$ac_optarg" ;;
353 -disable-* | --disable-*)
354 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
355 # Reject names that are not valid shell variable names.
356 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
357 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
359 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
360 eval "enable_${ac_feature}=no" ;;
362 -enable-* | --enable-*)
363 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
364 # Reject names that are not valid shell variable names.
365 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
366 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
368 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
373 eval "enable_${ac_feature}='$ac_optarg'" ;;
375 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
376 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
377 | --exec | --exe | --ex)
378 ac_prev
=exec_prefix
;;
379 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
380 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
381 | --exec=* | --exe=* | --ex=*)
382 exec_prefix
="$ac_optarg" ;;
384 -gas | --gas | --ga | --g)
385 # Obsolete; use --with-gas.
388 -help | --help | --hel | --he)
389 # Omit some internal or obsolete options to make the list less imposing.
390 # This message is too long to be a string in the A/UX 3.1 sh.
392 Usage: configure [options] [host]
393 Options: [defaults in brackets after descriptions]
395 --cache-file=FILE cache test results in FILE
396 --help print this message
397 --no-create do not create output files
398 --quiet, --silent do not print \`checking...' messages
399 --version print the version of autoconf that created configure
400 Directory and file names:
401 --prefix=PREFIX install architecture-independent files in PREFIX
403 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
405 --bindir=DIR user executables in DIR [EPREFIX/bin]
406 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
407 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
408 --datadir=DIR read-only architecture-independent data in DIR
410 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
411 --sharedstatedir=DIR modifiable architecture-independent data in DIR
413 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
414 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
415 --includedir=DIR C header files in DIR [PREFIX/include]
416 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
417 --infodir=DIR info documentation in DIR [PREFIX/info]
418 --mandir=DIR man documentation in DIR [PREFIX/man]
419 --srcdir=DIR find the sources in DIR [configure dir or ..]
420 --program-prefix=PREFIX prepend PREFIX to installed program names
421 --program-suffix=SUFFIX append SUFFIX to installed program names
422 --program-transform-name=PROGRAM
423 run sed PROGRAM on installed program names
427 --build=BUILD configure for building on BUILD [BUILD=HOST]
428 --host=HOST configure for HOST [guessed]
429 --target=TARGET configure for TARGET [TARGET=HOST]
430 Features and packages:
431 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
432 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
433 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
434 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
435 --x-includes=DIR X include files are in DIR
436 --x-libraries=DIR X library files are in DIR
438 if test -n "$ac_help"; then
439 echo "--enable and --with options recognized:$ac_help"
443 -host | --host | --hos | --ho)
445 -host=* | --host=* | --hos=* | --ho=*)
448 -includedir | --includedir | --includedi | --included | --include \
449 | --includ | --inclu | --incl | --inc)
450 ac_prev
=includedir
;;
451 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
452 | --includ=* | --inclu=* | --incl=* | --inc=*)
453 includedir
="$ac_optarg" ;;
455 -infodir | --infodir | --infodi | --infod | --info | --inf)
457 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
458 infodir
="$ac_optarg" ;;
460 -libdir | --libdir | --libdi | --libd)
462 -libdir=* | --libdir=* | --libdi=* | --libd=*)
463 libdir
="$ac_optarg" ;;
465 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
466 | --libexe | --libex | --libe)
467 ac_prev
=libexecdir
;;
468 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
469 | --libexe=* | --libex=* | --libe=*)
470 libexecdir
="$ac_optarg" ;;
472 -localstatedir | --localstatedir | --localstatedi | --localstated \
473 | --localstate | --localstat | --localsta | --localst \
474 | --locals | --local | --loca | --loc | --lo)
475 ac_prev
=localstatedir
;;
476 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
477 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
478 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
479 localstatedir
="$ac_optarg" ;;
481 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
483 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
484 mandir
="$ac_optarg" ;;
487 # Obsolete; use --without-fp.
490 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
494 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
495 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
498 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
499 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
500 | --oldin | --oldi | --old | --ol | --o)
501 ac_prev
=oldincludedir
;;
502 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
503 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
504 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
505 oldincludedir
="$ac_optarg" ;;
507 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
509 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
510 prefix
="$ac_optarg" ;;
512 -program-prefix | --program-prefix | --program-prefi | --program-pref \
513 | --program-pre | --program-pr | --program-p)
514 ac_prev
=program_prefix
;;
515 -program-prefix=* | --program-prefix=* | --program-prefi=* \
516 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
517 program_prefix
="$ac_optarg" ;;
519 -program-suffix | --program-suffix | --program-suffi | --program-suff \
520 | --program-suf | --program-su | --program-s)
521 ac_prev
=program_suffix
;;
522 -program-suffix=* | --program-suffix=* | --program-suffi=* \
523 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
524 program_suffix
="$ac_optarg" ;;
526 -program-transform-name | --program-transform-name \
527 | --program-transform-nam | --program-transform-na \
528 | --program-transform-n | --program-transform- \
529 | --program-transform | --program-transfor \
530 | --program-transfo | --program-transf \
531 | --program-trans | --program-tran \
532 | --progr-tra | --program-tr | --program-t)
533 ac_prev
=program_transform_name
;;
534 -program-transform-name=* | --program-transform-name=* \
535 | --program-transform-nam=* | --program-transform-na=* \
536 | --program-transform-n=* | --program-transform-=* \
537 | --program-transform=* | --program-transfor=* \
538 | --program-transfo=* | --program-transf=* \
539 | --program-trans=* | --program-tran=* \
540 | --progr-tra=* | --program-tr=* | --program-t=*)
541 program_transform_name
="$ac_optarg" ;;
543 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
544 | -silent | --silent | --silen | --sile | --sil)
547 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
549 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
551 sbindir
="$ac_optarg" ;;
553 -sharedstatedir | --sharedstatedir | --sharedstatedi \
554 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
555 | --sharedst | --shareds | --shared | --share | --shar \
557 ac_prev
=sharedstatedir
;;
558 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
559 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
560 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
562 sharedstatedir
="$ac_optarg" ;;
564 -site | --site | --sit)
566 -site=* | --site=* | --sit=*)
569 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
571 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
572 srcdir
="$ac_optarg" ;;
574 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
575 | --syscon | --sysco | --sysc | --sys | --sy)
576 ac_prev
=sysconfdir
;;
577 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
578 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
579 sysconfdir
="$ac_optarg" ;;
581 -target | --target | --targe | --targ | --tar | --ta | --t)
583 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
584 target
="$ac_optarg" ;;
586 -v | -verbose | --verbose | --verbos | --verbo | --verb)
589 -version | --version | --versio | --versi | --vers)
590 echo "configure generated by autoconf version 2.14"
594 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
595 # Reject names that are not valid shell variable names.
596 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
597 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
599 ac_package
=`echo $ac_package| sed 's/-/_/g'`
604 eval "with_${ac_package}='$ac_optarg'" ;;
606 -without-* | --without-*)
607 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
608 # Reject names that are not valid shell variable names.
609 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
610 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
612 ac_package
=`echo $ac_package| sed 's/-/_/g'`
613 eval "with_${ac_package}=no" ;;
616 # Obsolete; use --with-x.
619 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
620 | --x-incl | --x-inc | --x-in | --x-i)
621 ac_prev
=x_includes
;;
622 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
623 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
624 x_includes
="$ac_optarg" ;;
626 -x-libraries | --x-libraries | --x-librarie | --x-librari \
627 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
628 ac_prev
=x_libraries
;;
629 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
630 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
631 x_libraries
="$ac_optarg" ;;
633 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
637 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
638 echo "configure: warning: $ac_option: invalid host type" 1>&2
640 if test "x$nonopt" != xNONE
; then
641 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
649 if test -n "$ac_prev"; then
650 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
653 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
655 # File descriptor usage:
658 # 2 errors and warnings
659 # 3 some systems may open it to /dev/tty
660 # 4 used on the Kubota Titan
661 # 6 checking for... messages and results
662 # 5 compiler messages saved in config.log
663 if test "$silent" = yes; then
671 This file contains any messages produced by compilers while
672 running configure, to aid debugging if configure makes a mistake.
675 # Strip out --no-create and --no-recursion so they do not pile up.
676 # Also quote any args containing shell metacharacters.
681 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
682 | --no-cr | --no-c) ;;
683 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
684 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
685 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
686 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
687 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
692 # Only set these to C if already set. These must not be set unconditionally
693 # because not all systems understand e.g. LANG=C (notably SCO).
694 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
695 # Non-C LC_CTYPE values break the ctype check.
696 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
697 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
698 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
699 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
701 # confdefs.h avoids OS command line length limits that DEFS can exceed.
702 rm -rf conftest
* confdefs.h
703 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
706 # A filename unique to this package, relative to the directory that
707 # configure is in, which we can look for to find out if srcdir is correct.
708 ac_unique_file
=wx
-config.
in
710 # Find the source files, if location was not specified.
711 if test -z "$srcdir"; then
712 ac_srcdir_defaulted
=yes
713 # Try the directory containing this script, then its parent.
715 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
716 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
718 if test ! -r $srcdir/$ac_unique_file; then
722 ac_srcdir_defaulted
=no
724 if test ! -r $srcdir/$ac_unique_file; then
725 if test "$ac_srcdir_defaulted" = yes; then
726 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
728 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
731 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
733 # Prefer explicitly selected file to automatically selected ones.
734 if test -z "$CONFIG_SITE"; then
735 if test "x$prefix" != xNONE
; then
736 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
738 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
741 for ac_site_file
in $CONFIG_SITE; do
742 if test -r "$ac_site_file"; then
743 echo "loading site script $ac_site_file"
748 if test -r "$cache_file"; then
749 echo "loading cache $cache_file"
752 echo "creating cache $cache_file"
757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
758 ac_cpp
='$CPP $CPPFLAGS'
759 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
760 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
761 cross_compiling
=$ac_cv_prog_cc_cross
765 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
766 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
767 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
774 ac_n
= ac_c
='\c' ac_t
=
780 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
781 if test -f $ac_dir/install-sh; then
783 ac_install_sh
="$ac_aux_dir/install-sh -c"
785 elif test -f $ac_dir/install.sh
; then
787 ac_install_sh
="$ac_aux_dir/install.sh -c"
791 if test -z "$ac_aux_dir"; then
792 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
794 ac_config_guess
=$ac_aux_dir/config.guess
795 ac_config_sub
=$ac_aux_dir/config.sub
796 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
799 # Do some error checking and defaulting for the host and target type.
801 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
804 # 1. You are not allowed to specify --host, --target, and nonopt at the
806 # 2. Host defaults to nonopt.
807 # 3. If nonopt is not specified, then host defaults to the current host,
808 # as determined by config.guess.
809 # 4. Target and build default to nonopt.
810 # 5. If nonopt is not specified, then target and build default to host.
812 # The aliases save the names the user supplied, while $host etc.
813 # will get canonicalized.
814 case $host---$target---$nonopt in
815 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
816 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
820 # Make sure we can run config.sub.
821 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
822 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
825 echo $ac_n "checking host system type""... $ac_c" 1>&6
826 echo "configure:827: checking host system type" >&5
829 case "$host_alias" in
833 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
834 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
836 *) host_alias
=$nonopt ;;
840 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
841 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
842 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
843 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
844 echo "$ac_t""$host" 1>&6
846 echo $ac_n "checking target system type""... $ac_c" 1>&6
847 echo "configure:848: checking target system type" >&5
850 case "$target_alias" in
853 NONE
) target_alias
=$host_alias ;;
854 *) target_alias
=$nonopt ;;
858 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
859 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
860 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
861 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
862 echo "$ac_t""$target" 1>&6
864 echo $ac_n "checking build system type""... $ac_c" 1>&6
865 echo "configure:866: checking build system type" >&5
868 case "$build_alias" in
871 NONE
) build_alias
=$host_alias ;;
872 *) build_alias
=$nonopt ;;
876 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
877 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
878 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
879 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
880 echo "$ac_t""$build" 1>&6
882 test "$host_alias" != "$target_alias" &&
883 test "$program_prefix$program_suffix$program_transform_name" = \
885 program_prefix
=${target_alias}-
889 WX_MAJOR_VERSION_NUMBER
=2
890 WX_MINOR_VERSION_NUMBER
=1
896 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
898 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
899 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
900 WX_REVISION
=$WX_INTERFACE_AGE
901 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
924 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF WINE"
927 DEFAULT_wxUSE_MOTIF
=0
931 DEFAULT_DEFAULT_wxUSE_GTK
=0
932 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
933 DEFAULT_DEFAULT_wxUSE_MSW
=0
934 DEFAULT_DEFAULT_wxUSE_WINE
=0
939 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
940 cat >> confdefs.h
<<\EOF
947 cat >> confdefs.h
<<\EOF
952 if test "x$TMP" = "xalpha"; then
954 cat >> confdefs.h
<<\EOF
959 DEFAULT_DEFAULT_wxUSE_GTK
=1
961 *-*-irix5* | *-*-irix6* )
964 cat >> confdefs.h
<<\EOF
968 cat >> confdefs.h
<<\EOF
972 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
978 cat >> confdefs.h
<<\EOF
982 cat >> confdefs.h
<<\EOF
983 #define __SOLARIS__ 1
986 cat >> confdefs.h
<<\EOF
990 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
996 cat >> confdefs.h
<<\EOF
1000 cat >> confdefs.h
<<\EOF
1004 cat >> confdefs.h
<<\EOF
1008 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1010 *-*-freebsd* | *-*-netbsd*)
1013 cat >> confdefs.h
<<\EOF
1014 #define __FREEBSD__ 1
1017 cat >> confdefs.h
<<\EOF
1021 DEFAULT_DEFAULT_wxUSE_GTK
=1
1026 cat >> confdefs.h
<<\EOF
1030 cat >> confdefs.h
<<\EOF
1034 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1039 cat >> confdefs.h
<<\EOF
1043 cat >> confdefs.h
<<\EOF
1047 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1052 cat >> confdefs.h
<<\EOF
1056 cat >> confdefs.h
<<\EOF
1060 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1066 cat >> confdefs.h
<<\EOF
1070 cat >> confdefs.h
<<\EOF
1074 cat >> confdefs.h
<<\EOF
1078 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1083 cat >> confdefs.h
<<\EOF
1087 cat >> confdefs.h
<<\EOF
1091 cat >> confdefs.h
<<\EOF
1092 #define __WINDOWS__ 1
1095 cat >> confdefs.h
<<\EOF
1096 #define __GNUWIN32__ 1
1099 cat >> confdefs.h
<<\EOF
1103 cat >> confdefs.h
<<\EOF
1104 #define WINVER 0x0400
1107 DEFAULT_DEFAULT_wxUSE_MSW
=1
1111 cat >> confdefs.h
<<\EOF
1115 cat >> confdefs.h
<<\EOF
1119 cat >> confdefs.h
<<\EOF
1120 #define __WINDOWS__ 1
1123 cat >> confdefs.h
<<\EOF
1124 #define __GNUWIN32__ 1
1127 cat >> confdefs.h
<<\EOF
1131 cat >> confdefs.h
<<\EOF
1132 #define WINVER 0x0400
1135 DEFAULT_DEFAULT_wxUSE_MSW
=1
1139 cat >> confdefs.h
<<\EOF
1146 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1149 if test "$USE_UNIX" = 1 ; then
1151 cat >> confdefs.h
<<\EOF
1155 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1156 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1159 if test "$USE_LINUX" = 1; then
1160 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1161 echo "configure:1162: checking for gettext in -lc" >&5
1162 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1163 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1164 echo $ac_n "(cached) $ac_c" 1>&6
1166 ac_save_LIBS
="$LIBS"
1168 cat > conftest.
$ac_ext <<EOF
1169 #line 1170 "configure"
1170 #include "confdefs.h"
1171 /* Override any gcc2 internal prototype to avoid an error. */
1172 /* We use char because int might match the return type of a gcc2
1173 builtin and then its argument prototype would still apply. */
1180 if { (eval echo configure
:1181: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1182 eval "ac_cv_lib_$ac_lib_var=yes"
1184 echo "configure: failed program was:" >&5
1185 cat conftest.
$ac_ext >&5
1187 eval "ac_cv_lib_$ac_lib_var=no"
1190 LIBS
="$ac_save_LIBS"
1193 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1194 echo "$ac_t""yes" 1>&6
1195 cat >> confdefs.h
<<\EOF
1196 #define wxHAVE_GLIBC2 1
1200 echo "$ac_t""no" 1>&6
1208 wx_arg_cache_file
="configarg.cache"
1209 echo "loading argument cache $wx_arg_cache_file"
1210 rm -f ${wx_arg_cache_file}.tmp
1211 touch ${wx_arg_cache_file}.tmp
1212 touch ${wx_arg_cache_file}
1216 if test $DEBUG_CONFIGURE = 1; then
1217 DEFAULT_wxUSE_THREADS
=yes
1219 DEFAULT_wxUSE_SHARED
=yes
1220 DEFAULT_wxUSE_OPTIMISE
=yes
1221 DEFAULT_wxUSE_PROFILE
=no
1222 DEFAULT_wxUSE_NO_DEPS
=no
1223 DEFAULT_wxUSE_NO_RTTI
=no
1224 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1225 DEFAULT_wxUSE_PERMISSIVE
=no
1226 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1227 DEFAULT_wxUSE_DEBUG_INFO
=yes
1228 DEFAULT_wxUSE_DEBUG_GDB
=yes
1229 DEFAULT_wxUSE_MEM_TRACING
=no
1230 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1231 DEFAULT_wxUSE_DMALLOC
=no
1232 DEFAULT_wxUSE_APPLE_IEEE
=no
1234 DEFAULT_wxUSE_LOG
=yes
1236 DEFAULT_wxUSE_GUI
=yes
1238 DEFAULT_wxUSE_ZLIB
=no
1239 DEFAULT_wxUSE_LIBPNG
=no
1240 DEFAULT_wxUSE_LIBJPEG
=no
1241 DEFAULT_wxUSE_ODBC
=no
1243 DEFAULT_wxUSE_STD_IOSTREAM
=no
1244 DEFAULT_wxUSE_FILE
=no
1245 DEFAULT_wxUSE_TEXTFILE
=no
1246 DEFAULT_wxUSE_TIMEDATE
=no
1247 DEFAULT_wxUSE_WAVE
=no
1248 DEFAULT_wxUSE_INTL
=no
1249 DEFAULT_wxUSE_CONFIG
=no
1250 DEFAULT_wxUSE_STREAMS
=no
1251 DEFAULT_wxUSE_SOCKETS
=no
1252 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1253 DEFAULT_wxUSE_SERIAL
=no
1254 DEFAULT_wxUSE_JOYSTICK
=no
1255 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1256 DEFAULT_wxUSE_LONGLONG
=no
1258 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1259 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1260 DEFAULT_wxUSE_POSTSCRIPT
=no
1262 DEFAULT_wxUSE_X_RESOURCES
=no
1263 DEFAULT_wxUSE_CLIPBOARD
=no
1264 DEFAULT_wxUSE_TOOLTIPS
=no
1265 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1266 DEFAULT_wxUSE_SPLINES
=no
1268 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1269 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1270 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1272 DEFAULT_wxUSE_PROLOGIO
=no
1273 DEFAULT_wxUSE_RESOURCES
=no
1274 DEFAULT_wxUSE_CONSTRAINTS
=no
1275 DEFAULT_wxUSE_IPC
=no
1276 DEFAULT_wxUSE_HELP
=no
1277 DEFAULT_wxUSE_WXTREE
=no
1278 DEFAULT_wxUSE_METAFILE
=no
1280 DEFAULT_wxUSE_COMMONDLGS
=no
1281 DEFAULT_wxUSE_DIRDLG
=no
1282 DEFAULT_wxUSE_TEXTDLG
=no
1283 DEFAULT_wxUSE_STARTUP_TIPS
=no
1284 DEFAULT_wxUSE_PROGRESSDLG
=no
1285 DEFAULT_wxUSE_MINIFRAME
=no
1286 DEFAULT_wxUSE_HTML
=no
1287 DEFAULT_wxUSE_FS_INET
=no
1288 DEFAULT_wxUSE_FS_ZIP
=no
1289 DEFAULT_wxUSE_BUSYINFO
=no
1290 DEFAULT_wxUSE_ZIPSTREAM
=no
1291 DEFAULT_wxUSE_VALIDATORS
=yes
1293 DEFAULT_wxUSE_ACCEL
=no
1294 DEFAULT_wxUSE_CARET
=no
1295 DEFAULT_wxUSE_BMPBUTTON
=no
1296 DEFAULT_wxUSE_CHECKBOX
=no
1297 DEFAULT_wxUSE_CHECKLST
=no
1298 DEFAULT_wxUSE_CHOICE
=yes
1299 DEFAULT_wxUSE_COMBOBOX
=no
1300 DEFAULT_wxUSE_GAUGE
=no
1301 DEFAULT_wxUSE_GRID
=no
1302 DEFAULT_wxUSE_IMAGLIST
=no
1303 DEFAULT_wxUSE_LISTBOX
=no
1304 DEFAULT_wxUSE_LISTCTRL
=no
1305 DEFAULT_wxUSE_NOTEBOOK
=no
1306 DEFAULT_wxUSE_RADIOBOX
=no
1307 DEFAULT_wxUSE_RADIOBTN
=no
1308 DEFAULT_wxUSE_SASH
=no
1309 DEFAULT_wxUSE_SCROLLBAR
=no
1310 DEFAULT_wxUSE_SLIDER
=no
1311 DEFAULT_wxUSE_SPINBTN
=no
1312 DEFAULT_wxUSE_SPLITTER
=no
1313 DEFAULT_wxUSE_STATBMP
=no
1314 DEFAULT_wxUSE_STATBOX
=no
1315 DEFAULT_wxUSE_STATLINE
=no
1316 DEFAULT_wxUSE_STATUSBAR
=yes
1317 DEFAULT_wxUSE_TABDIALOG
=no
1318 DEFAULT_wxUSE_TOOLBAR
=no
1319 DEFAULT_wxUSE_TREECTRL
=no
1321 DEFAULT_wxUSE_UNICODE
=no
1322 DEFAULT_wxUSE_WCSRTOMBS
=no
1324 DEFAULT_wxUSE_GIF
=no
1325 DEFAULT_wxUSE_PCX
=no
1326 DEFAULT_wxUSE_PNM
=no
1328 DEFAULT_wxUSE_THREADS
=yes
1330 DEFAULT_wxUSE_SHARED
=yes
1331 DEFAULT_wxUSE_OPTIMISE
=yes
1332 DEFAULT_wxUSE_PROFILE
=no
1333 DEFAULT_wxUSE_NO_DEPS
=no
1334 DEFAULT_wxUSE_NO_RTTI
=no
1335 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1336 DEFAULT_wxUSE_PERMISSIVE
=no
1337 DEFAULT_wxUSE_DEBUG_FLAG
=no
1338 DEFAULT_wxUSE_DEBUG_INFO
=no
1339 DEFAULT_wxUSE_DEBUG_GDB
=no
1340 DEFAULT_wxUSE_MEM_TRACING
=no
1341 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1342 DEFAULT_wxUSE_DMALLOC
=no
1343 DEFAULT_wxUSE_APPLE_IEEE
=yes
1345 DEFAULT_wxUSE_LOG
=yes
1347 DEFAULT_wxUSE_GUI
=yes
1349 DEFAULT_wxUSE_ZLIB
=yes
1350 DEFAULT_wxUSE_LIBPNG
=yes
1351 DEFAULT_wxUSE_LIBJPEG
=yes
1352 DEFAULT_wxUSE_ODBC
=no
1354 DEFAULT_wxUSE_STD_IOSTREAM
=no
1355 DEFAULT_wxUSE_FILE
=yes
1356 DEFAULT_wxUSE_TEXTFILE
=yes
1357 DEFAULT_wxUSE_TIMEDATE
=yes
1358 DEFAULT_wxUSE_WAVE
=no
1359 DEFAULT_wxUSE_INTL
=yes
1360 DEFAULT_wxUSE_CONFIG
=yes
1361 DEFAULT_wxUSE_STREAMS
=yes
1362 DEFAULT_wxUSE_SOCKETS
=yes
1363 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1364 DEFAULT_wxUSE_SERIAL
=yes
1365 DEFAULT_wxUSE_JOYSTICK
=yes
1366 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1367 DEFAULT_wxUSE_LONGLONG
=no
1369 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1370 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1371 DEFAULT_wxUSE_POSTSCRIPT
=yes
1373 DEFAULT_wxUSE_X_RESOURCES
=no
1374 DEFAULT_wxUSE_CLIPBOARD
=yes
1375 DEFAULT_wxUSE_TOOLTIPS
=yes
1376 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1377 DEFAULT_wxUSE_SPLINES
=yes
1379 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1380 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1381 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1383 DEFAULT_wxUSE_PROLOGIO
=yes
1384 DEFAULT_wxUSE_RESOURCES
=yes
1385 DEFAULT_wxUSE_CONSTRAINTS
=yes
1386 DEFAULT_wxUSE_IPC
=yes
1387 DEFAULT_wxUSE_HELP
=yes
1388 DEFAULT_wxUSE_WXTREE
=yes
1389 DEFAULT_wxUSE_METAFILE
=yes
1391 DEFAULT_wxUSE_COMMONDLGS
=yes
1392 DEFAULT_wxUSE_DIRDLG
=yes
1393 DEFAULT_wxUSE_TEXTDLG
=yes
1394 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1395 DEFAULT_wxUSE_PROGRESSDLG
=yes
1396 DEFAULT_wxUSE_MINIFRAME
=yes
1397 DEFAULT_wxUSE_HTML
=yes
1398 DEFAULT_wxUSE_FS_INET
=yes
1399 DEFAULT_wxUSE_FS_ZIP
=yes
1400 DEFAULT_wxUSE_BUSYINFO
=yes
1401 DEFAULT_wxUSE_ZIPSTREAM
=yes
1402 DEFAULT_wxUSE_VALIDATORS
=yes
1404 DEFAULT_wxUSE_ACCEL
=yes
1405 DEFAULT_wxUSE_CARET
=yes
1406 DEFAULT_wxUSE_BMPBUTTON
=yes
1407 DEFAULT_wxUSE_CHECKBOX
=yes
1408 DEFAULT_wxUSE_CHECKLST
=yes
1409 DEFAULT_wxUSE_CHOICE
=yes
1410 DEFAULT_wxUSE_COMBOBOX
=yes
1411 DEFAULT_wxUSE_GAUGE
=yes
1412 DEFAULT_wxUSE_GRID
=yes
1413 DEFAULT_wxUSE_IMAGLIST
=yes
1414 DEFAULT_wxUSE_LISTBOX
=yes
1415 DEFAULT_wxUSE_LISTCTRL
=yes
1416 DEFAULT_wxUSE_NOTEBOOK
=yes
1417 DEFAULT_wxUSE_RADIOBOX
=yes
1418 DEFAULT_wxUSE_RADIOBTN
=yes
1419 DEFAULT_wxUSE_SASH
=yes
1420 DEFAULT_wxUSE_SCROLLBAR
=yes
1421 DEFAULT_wxUSE_SLIDER
=yes
1422 DEFAULT_wxUSE_SPINBTN
=yes
1423 DEFAULT_wxUSE_SPLITTER
=yes
1424 DEFAULT_wxUSE_STATBMP
=yes
1425 DEFAULT_wxUSE_STATBOX
=yes
1426 DEFAULT_wxUSE_STATLINE
=yes
1427 DEFAULT_wxUSE_STATUSBAR
=yes
1428 DEFAULT_wxUSE_TABDIALOG
=no
1429 DEFAULT_wxUSE_TOOLBAR
=yes
1430 DEFAULT_wxUSE_TREECTRL
=yes
1432 DEFAULT_wxUSE_UNICODE
=no
1433 DEFAULT_wxUSE_WCSRTOMBS
=no
1435 DEFAULT_wxUSE_GIF
=yes
1436 DEFAULT_wxUSE_PCX
=yes
1437 DEFAULT_wxUSE_PNM
=yes
1442 for toolkit
in `echo $ALL_TOOLKITS`; do
1443 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1444 if test "x$LINE" != x
; then
1445 has_toolkit_in_cache
=1
1446 eval "DEFAULT_$LINE"
1447 eval "CACHE_$toolkit=1"
1453 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1454 echo "configure:1455: checking "for --enable-gui"" >&5
1456 # Check whether --enable-gui or --disable-gui was given.
1457 if test "${enable_gui+set}" = set; then
1458 enableval
="$enable_gui"
1460 if test "$enableval" = yes; then
1461 ac_cv_use_gui
='wxUSE_GUI=yes'
1463 ac_cv_use_gui
='wxUSE_GUI=no'
1468 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1469 if test "x$LINE" != x
; then
1470 eval "DEFAULT_$LINE"
1475 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1480 eval "$ac_cv_use_gui"
1481 if test "$no_cache" != 1; then
1482 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1485 if test "$wxUSE_GUI" = yes; then
1486 echo "$ac_t""yes" 1>&6
1488 echo "$ac_t""no" 1>&6
1492 if test "$wxUSE_GUI" = "no"; then
1493 DEFAULT_wxUSE_ZLIB
=no
1494 DEFAULT_wxUSE_LIBPNG
=no
1495 DEFAULT_wxUSE_LIBJPEG
=no
1496 DEFAULT_wxUSE_SOCKETS
=no
1497 DEFAULT_wxUSE_JOYSTICK
=no
1498 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1499 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1500 DEFAULT_wxUSE_POSTSCRIPT
=no
1501 DEFAULT_wxUSE_X_RESOURCES
=no
1502 DEFAULT_wxUSE_CLIPBOARD
=no
1503 DEFAULT_wxUSE_TOOLTIPS
=no
1504 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1505 DEFAULT_wxUSE_SPLINES
=no
1506 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1507 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1508 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1509 DEFAULT_wxUSE_PROLOGIO
=no
1510 DEFAULT_wxUSE_RESOURCES
=no
1511 DEFAULT_wxUSE_CONSTRAINTS
=no
1512 DEFAULT_wxUSE_IPC
=no
1513 DEFAULT_wxUSE_HELP
=no
1514 DEFAULT_wxUSE_WXTREE
=no
1515 DEFAULT_wxUSE_METAFILE
=no
1516 DEFAULT_wxUSE_COMMONDLGS
=no
1517 DEFAULT_wxUSE_DIRDLG
=no
1518 DEFAULT_wxUSE_TEXTDLG
=no
1519 DEFAULT_wxUSE_STARTUP_TIPS
=no
1520 DEFAULT_wxUSE_PROGRESSDLG
=no
1521 DEFAULT_wxUSE_MINIFRAME
=no
1522 DEFAULT_wxUSE_HTML
=no
1523 DEFAULT_wxUSE_FS_INET
=no
1524 DEFAULT_wxUSE_FS_ZIP
=no
1525 DEFAULT_wxUSE_BUSYINFO
=no
1526 DEFAULT_wxUSE_ZIPSTREAM
=no
1527 DEFAULT_wxUSE_VALIDATORS
=yes
1528 DEFAULT_wxUSE_ACCEL
=no
1529 DEFAULT_wxUSE_CARET
=no
1530 DEFAULT_wxUSE_BMPBUTTON
=no
1531 DEFAULT_wxUSE_CHECKBOX
=no
1532 DEFAULT_wxUSE_CHECKLST
=no
1533 DEFAULT_wxUSE_CHOICE
=yes
1534 DEFAULT_wxUSE_COMBOBOX
=no
1535 DEFAULT_wxUSE_GAUGE
=no
1536 DEFAULT_wxUSE_GRID
=no
1537 DEFAULT_wxUSE_IMAGLIST
=no
1538 DEFAULT_wxUSE_LISTBOX
=no
1539 DEFAULT_wxUSE_LISTCTRL
=no
1540 DEFAULT_wxUSE_NOTEBOOK
=no
1541 DEFAULT_wxUSE_RADIOBOX
=no
1542 DEFAULT_wxUSE_RADIOBTN
=no
1543 DEFAULT_wxUSE_SASH
=no
1544 DEFAULT_wxUSE_SCROLLBAR
=no
1545 DEFAULT_wxUSE_SLIDER
=no
1546 DEFAULT_wxUSE_SPINBTN
=no
1547 DEFAULT_wxUSE_SPLITTER
=no
1548 DEFAULT_wxUSE_STATBMP
=no
1549 DEFAULT_wxUSE_STATBOX
=no
1550 DEFAULT_wxUSE_STATLINE
=no
1551 DEFAULT_wxUSE_STATUSBAR
=yes
1552 DEFAULT_wxUSE_TABDIALOG
=no
1553 DEFAULT_wxUSE_TOOLBAR
=no
1554 DEFAULT_wxUSE_TREECTRL
=no
1555 DEFAULT_wxUSE_GIF
=no
1556 DEFAULT_wxUSE_PCX
=no
1557 DEFAULT_wxUSE_PNM
=no
1560 # Check whether --with-gtk or --without-gtk was given.
1561 if test "${with_gtk+set}" = set; then
1563 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1566 # Check whether --with-motif or --without-motif was given.
1567 if test "${with_motif+set}" = set; then
1568 withval
="$with_motif"
1569 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1572 # Check whether --with-wine or --without-wine was given.
1573 if test "${with_wine+set}" = set; then
1574 withval
="$with_wine"
1575 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1578 # Check whether --with-cygwin or --without-cygwin was given.
1579 if test "${with_cygwin+set}" = set; then
1580 withval
="$with_cygwin"
1581 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1584 # Check whether --with-mingw or --without-mingw was given.
1585 if test "${with_mingw+set}" = set; then
1586 withval
="$with_mingw"
1587 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1591 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1592 if test "${with_gtk_prefix+set}" = set; then
1593 withval
="$with_gtk_prefix"
1594 gtk_config_prefix
="$withval"
1596 gtk_config_prefix
=""
1599 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1600 if test "${with_gtk_exec_prefix+set}" = set; then
1601 withval
="$with_gtk_exec_prefix"
1602 gtk_config_exec_prefix
="$withval"
1604 gtk_config_exec_prefix
=""
1609 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1610 echo "configure:1611: checking "for --with-dmalloc"" >&5
1612 # Check whether --with-dmalloc or --without-dmalloc was given.
1613 if test "${with_dmalloc+set}" = set; then
1614 withval
="$with_dmalloc"
1616 if test "$withval" = yes; then
1617 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1619 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1624 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1625 if test "x$LINE" != x
; then
1626 eval "DEFAULT_$LINE"
1631 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1636 eval "$ac_cv_use_dmalloc"
1637 if test "$no_cache" != 1; then
1638 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1641 if test "$wxUSE_DMALLOC" = yes; then
1642 echo "$ac_t""yes" 1>&6
1644 echo "$ac_t""no" 1>&6
1648 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1649 echo "configure:1650: checking "for --with-zlib"" >&5
1651 # Check whether --with-zlib or --without-zlib was given.
1652 if test "${with_zlib+set}" = set; then
1653 withval
="$with_zlib"
1655 if test "$withval" = yes; then
1656 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1658 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1663 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1664 if test "x$LINE" != x
; then
1665 eval "DEFAULT_$LINE"
1670 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1675 eval "$ac_cv_use_zlib"
1676 if test "$no_cache" != 1; then
1677 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1680 if test "$wxUSE_ZLIB" = yes; then
1681 echo "$ac_t""yes" 1>&6
1683 echo "$ac_t""no" 1>&6
1687 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1688 echo "configure:1689: checking "for --with-libpng"" >&5
1690 # Check whether --with-libpng or --without-libpng was given.
1691 if test "${with_libpng+set}" = set; then
1692 withval
="$with_libpng"
1694 if test "$withval" = yes; then
1695 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1697 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1702 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1703 if test "x$LINE" != x
; then
1704 eval "DEFAULT_$LINE"
1709 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1714 eval "$ac_cv_use_libpng"
1715 if test "$no_cache" != 1; then
1716 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1719 if test "$wxUSE_LIBPNG" = yes; then
1720 echo "$ac_t""yes" 1>&6
1722 echo "$ac_t""no" 1>&6
1726 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1727 echo "configure:1728: checking "for --with-libjpeg"" >&5
1729 # Check whether --with-libjpeg or --without-libjpeg was given.
1730 if test "${with_libjpeg+set}" = set; then
1731 withval
="$with_libjpeg"
1733 if test "$withval" = yes; then
1734 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1736 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1741 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1742 if test "x$LINE" != x
; then
1743 eval "DEFAULT_$LINE"
1748 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1753 eval "$ac_cv_use_libjpeg"
1754 if test "$no_cache" != 1; then
1755 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1758 if test "$wxUSE_LIBJPEG" = yes; then
1759 echo "$ac_t""yes" 1>&6
1761 echo "$ac_t""no" 1>&6
1765 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1766 echo "configure:1767: checking "for --with-opengl"" >&5
1768 # Check whether --with-opengl or --without-opengl was given.
1769 if test "${with_opengl+set}" = set; then
1770 withval
="$with_opengl"
1772 if test "$withval" = yes; then
1773 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1775 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1780 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1781 if test "x$LINE" != x
; then
1782 eval "DEFAULT_$LINE"
1787 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1792 eval "$ac_cv_use_opengl"
1793 if test "$no_cache" != 1; then
1794 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1797 if test "$wxUSE_OPENGL" = yes; then
1798 echo "$ac_t""yes" 1>&6
1800 echo "$ac_t""no" 1>&6
1804 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1805 echo "configure:1806: checking "for --with-odbc"" >&5
1807 # Check whether --with-odbc or --without-odbc was given.
1808 if test "${with_odbc+set}" = set; then
1809 withval
="$with_odbc"
1811 if test "$withval" = yes; then
1812 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1814 ac_cv_use_odbc
='wxUSE_ODBC=no'
1819 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1820 if test "x$LINE" != x
; then
1821 eval "DEFAULT_$LINE"
1826 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1831 eval "$ac_cv_use_odbc"
1832 if test "$no_cache" != 1; then
1833 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1836 if test "$wxUSE_ODBC" = yes; then
1837 echo "$ac_t""yes" 1>&6
1839 echo "$ac_t""no" 1>&6
1846 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
1847 echo "configure:1848: checking "for --enable-shared"" >&5
1849 # Check whether --enable-shared or --disable-shared was given.
1850 if test "${enable_shared+set}" = set; then
1851 enableval
="$enable_shared"
1853 if test "$enableval" = yes; then
1854 ac_cv_use_shared
='wxUSE_SHARED=yes'
1856 ac_cv_use_shared
='wxUSE_SHARED=no'
1861 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
1862 if test "x$LINE" != x
; then
1863 eval "DEFAULT_$LINE"
1868 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
1873 eval "$ac_cv_use_shared"
1874 if test "$no_cache" != 1; then
1875 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
1878 if test "$wxUSE_SHARED" = yes; then
1879 echo "$ac_t""yes" 1>&6
1881 echo "$ac_t""no" 1>&6
1885 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
1886 echo "configure:1887: checking "for --enable-optimise"" >&5
1888 # Check whether --enable-optimise or --disable-optimise was given.
1889 if test "${enable_optimise+set}" = set; then
1890 enableval
="$enable_optimise"
1892 if test "$enableval" = yes; then
1893 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
1895 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
1900 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
1901 if test "x$LINE" != x
; then
1902 eval "DEFAULT_$LINE"
1907 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
1912 eval "$ac_cv_use_optimise"
1913 if test "$no_cache" != 1; then
1914 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
1917 if test "$wxUSE_OPTIMISE" = yes; then
1918 echo "$ac_t""yes" 1>&6
1920 echo "$ac_t""no" 1>&6
1924 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
1925 echo "configure:1926: checking "for --enable-debug"" >&5
1927 # Check whether --enable-debug or --disable-debug was given.
1928 if test "${enable_debug+set}" = set; then
1929 enableval
="$enable_debug"
1931 if test "$enableval" = yes; then
1932 ac_cv_use_debug
='wxUSE_DEBUG=yes'
1934 ac_cv_use_debug
='wxUSE_DEBUG=no'
1939 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
1940 if test "x$LINE" != x
; then
1941 eval "DEFAULT_$LINE"
1946 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
1951 eval "$ac_cv_use_debug"
1952 if test "$no_cache" != 1; then
1953 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
1956 if test "$wxUSE_DEBUG" = yes; then
1957 echo "$ac_t""yes" 1>&6
1959 echo "$ac_t""no" 1>&6
1963 if test "$wxUSE_DEBUG" = "yes"; then
1964 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1965 DEFAULT_wxUSE_DEBUG_INFO
=yes
1966 elif test "$wxUSE_DEBUG" = "no"; then
1967 DEFAULT_wxUSE_DEBUG_FLAG
=no
1968 DEFAULT_wxUSE_DEBUG_INFO
=no
1972 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
1973 echo "configure:1974: checking "for --enable-debug_flag"" >&5
1975 # Check whether --enable-debug_flag or --disable-debug_flag was given.
1976 if test "${enable_debug_flag+set}" = set; then
1977 enableval
="$enable_debug_flag"
1979 if test "$enableval" = yes; then
1980 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
1982 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
1987 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
1988 if test "x$LINE" != x
; then
1989 eval "DEFAULT_$LINE"
1994 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
1999 eval "$ac_cv_use_debug_flag"
2000 if test "$no_cache" != 1; then
2001 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2004 if test "$wxUSE_DEBUG_FLAG" = yes; then
2005 echo "$ac_t""yes" 1>&6
2007 echo "$ac_t""no" 1>&6
2011 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2012 echo "configure:2013: checking "for --enable-debug_info"" >&5
2014 # Check whether --enable-debug_info or --disable-debug_info was given.
2015 if test "${enable_debug_info+set}" = set; then
2016 enableval
="$enable_debug_info"
2018 if test "$enableval" = yes; then
2019 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2021 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2026 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2027 if test "x$LINE" != x
; then
2028 eval "DEFAULT_$LINE"
2033 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2038 eval "$ac_cv_use_debug_info"
2039 if test "$no_cache" != 1; then
2040 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2043 if test "$wxUSE_DEBUG_INFO" = yes; then
2044 echo "$ac_t""yes" 1>&6
2046 echo "$ac_t""no" 1>&6
2050 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2051 echo "configure:2052: checking "for --enable-debug_gdb"" >&5
2053 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2054 if test "${enable_debug_gdb+set}" = set; then
2055 enableval
="$enable_debug_gdb"
2057 if test "$enableval" = yes; then
2058 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2060 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2065 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2066 if test "x$LINE" != x
; then
2067 eval "DEFAULT_$LINE"
2072 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2077 eval "$ac_cv_use_debug_gdb"
2078 if test "$no_cache" != 1; then
2079 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2082 if test "$wxUSE_DEBUG_GDB" = yes; then
2083 echo "$ac_t""yes" 1>&6
2085 echo "$ac_t""no" 1>&6
2089 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2090 echo "configure:2091: checking "for --enable-debug_cntxt"" >&5
2092 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2093 if test "${enable_debug_cntxt+set}" = set; then
2094 enableval
="$enable_debug_cntxt"
2096 if test "$enableval" = yes; then
2097 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2099 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2104 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2105 if test "x$LINE" != x
; then
2106 eval "DEFAULT_$LINE"
2111 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2116 eval "$ac_cv_use_debug_cntxt"
2117 if test "$no_cache" != 1; then
2118 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2121 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2122 echo "$ac_t""yes" 1>&6
2124 echo "$ac_t""no" 1>&6
2128 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2129 echo "configure:2130: checking "for --enable-mem_tracing"" >&5
2131 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2132 if test "${enable_mem_tracing+set}" = set; then
2133 enableval
="$enable_mem_tracing"
2135 if test "$enableval" = yes; then
2136 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2138 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2143 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2144 if test "x$LINE" != x
; then
2145 eval "DEFAULT_$LINE"
2150 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2155 eval "$ac_cv_use_mem_tracing"
2156 if test "$no_cache" != 1; then
2157 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2160 if test "$wxUSE_MEM_TRACING" = yes; then
2161 echo "$ac_t""yes" 1>&6
2163 echo "$ac_t""no" 1>&6
2167 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2168 echo "configure:2169: checking "for --enable-profile"" >&5
2170 # Check whether --enable-profile or --disable-profile was given.
2171 if test "${enable_profile+set}" = set; then
2172 enableval
="$enable_profile"
2174 if test "$enableval" = yes; then
2175 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2177 ac_cv_use_profile
='wxUSE_PROFILE=no'
2182 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2183 if test "x$LINE" != x
; then
2184 eval "DEFAULT_$LINE"
2189 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2194 eval "$ac_cv_use_profile"
2195 if test "$no_cache" != 1; then
2196 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2199 if test "$wxUSE_PROFILE" = yes; then
2200 echo "$ac_t""yes" 1>&6
2202 echo "$ac_t""no" 1>&6
2206 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2207 echo "configure:2208: checking "for --enable-no_rtti"" >&5
2209 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2210 if test "${enable_no_rtti+set}" = set; then
2211 enableval
="$enable_no_rtti"
2213 if test "$enableval" = yes; then
2214 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2216 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2221 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2222 if test "x$LINE" != x
; then
2223 eval "DEFAULT_$LINE"
2228 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2233 eval "$ac_cv_use_no_rtti"
2234 if test "$no_cache" != 1; then
2235 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2238 if test "$wxUSE_NO_RTTI" = yes; then
2239 echo "$ac_t""yes" 1>&6
2241 echo "$ac_t""no" 1>&6
2245 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2246 echo "configure:2247: checking "for --enable-no_exceptions"" >&5
2248 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2249 if test "${enable_no_exceptions+set}" = set; then
2250 enableval
="$enable_no_exceptions"
2252 if test "$enableval" = yes; then
2253 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2255 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2260 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2261 if test "x$LINE" != x
; then
2262 eval "DEFAULT_$LINE"
2267 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2272 eval "$ac_cv_use_no_exceptions"
2273 if test "$no_cache" != 1; then
2274 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2277 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2278 echo "$ac_t""yes" 1>&6
2280 echo "$ac_t""no" 1>&6
2284 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2285 echo "configure:2286: checking "for --enable-permissive"" >&5
2287 # Check whether --enable-permissive or --disable-permissive was given.
2288 if test "${enable_permissive+set}" = set; then
2289 enableval
="$enable_permissive"
2291 if test "$enableval" = yes; then
2292 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2294 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2299 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2300 if test "x$LINE" != x
; then
2301 eval "DEFAULT_$LINE"
2306 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2311 eval "$ac_cv_use_permissive"
2312 if test "$no_cache" != 1; then
2313 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2316 if test "$wxUSE_PERMISSIVE" = yes; then
2317 echo "$ac_t""yes" 1>&6
2319 echo "$ac_t""no" 1>&6
2323 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2324 echo "configure:2325: checking "for --enable-no_deps"" >&5
2326 # Check whether --enable-no_deps or --disable-no_deps was given.
2327 if test "${enable_no_deps+set}" = set; then
2328 enableval
="$enable_no_deps"
2330 if test "$enableval" = yes; then
2331 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2333 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2338 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2339 if test "x$LINE" != x
; then
2340 eval "DEFAULT_$LINE"
2345 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2350 eval "$ac_cv_use_no_deps"
2351 if test "$no_cache" != 1; then
2352 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2355 if test "$wxUSE_NO_DEPS" = yes; then
2356 echo "$ac_t""yes" 1>&6
2358 echo "$ac_t""no" 1>&6
2364 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2365 echo "configure:2366: checking "for --enable-intl"" >&5
2367 # Check whether --enable-intl or --disable-intl was given.
2368 if test "${enable_intl+set}" = set; then
2369 enableval
="$enable_intl"
2371 if test "$enableval" = yes; then
2372 ac_cv_use_intl
='wxUSE_INTL=yes'
2374 ac_cv_use_intl
='wxUSE_INTL=no'
2379 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2380 if test "x$LINE" != x
; then
2381 eval "DEFAULT_$LINE"
2386 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2391 eval "$ac_cv_use_intl"
2392 if test "$no_cache" != 1; then
2393 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2396 if test "$wxUSE_INTL" = yes; then
2397 echo "$ac_t""yes" 1>&6
2399 echo "$ac_t""no" 1>&6
2403 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2404 echo "configure:2405: checking "for --enable-config"" >&5
2406 # Check whether --enable-config or --disable-config was given.
2407 if test "${enable_config+set}" = set; then
2408 enableval
="$enable_config"
2410 if test "$enableval" = yes; then
2411 ac_cv_use_config
='wxUSE_CONFIG=yes'
2413 ac_cv_use_config
='wxUSE_CONFIG=no'
2418 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2419 if test "x$LINE" != x
; then
2420 eval "DEFAULT_$LINE"
2425 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2430 eval "$ac_cv_use_config"
2431 if test "$no_cache" != 1; then
2432 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2435 if test "$wxUSE_CONFIG" = yes; then
2436 echo "$ac_t""yes" 1>&6
2438 echo "$ac_t""no" 1>&6
2442 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2443 echo "configure:2444: checking "for --enable-sockets"" >&5
2445 # Check whether --enable-sockets or --disable-sockets was given.
2446 if test "${enable_sockets+set}" = set; then
2447 enableval
="$enable_sockets"
2449 if test "$enableval" = yes; then
2450 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2452 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2457 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2458 if test "x$LINE" != x
; then
2459 eval "DEFAULT_$LINE"
2464 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2469 eval "$ac_cv_use_sockets"
2470 if test "$no_cache" != 1; then
2471 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2474 if test "$wxUSE_SOCKETS" = yes; then
2475 echo "$ac_t""yes" 1>&6
2477 echo "$ac_t""no" 1>&6
2481 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2482 echo "configure:2483: checking "for --enable-dialupman"" >&5
2484 # Check whether --enable-dialupman or --disable-dialupman was given.
2485 if test "${enable_dialupman+set}" = set; then
2486 enableval
="$enable_dialupman"
2488 if test "$enableval" = yes; then
2489 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2491 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2496 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2497 if test "x$LINE" != x
; then
2498 eval "DEFAULT_$LINE"
2503 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2508 eval "$ac_cv_use_dialupman"
2509 if test "$no_cache" != 1; then
2510 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2513 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2514 echo "$ac_t""yes" 1>&6
2516 echo "$ac_t""no" 1>&6
2520 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2521 echo "configure:2522: checking "for --enable-ipc"" >&5
2523 # Check whether --enable-ipc or --disable-ipc was given.
2524 if test "${enable_ipc+set}" = set; then
2525 enableval
="$enable_ipc"
2527 if test "$enableval" = yes; then
2528 ac_cv_use_ipc
='wxUSE_IPC=yes'
2530 ac_cv_use_ipc
='wxUSE_IPC=no'
2535 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2536 if test "x$LINE" != x
; then
2537 eval "DEFAULT_$LINE"
2542 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2547 eval "$ac_cv_use_ipc"
2548 if test "$no_cache" != 1; then
2549 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2552 if test "$wxUSE_IPC" = yes; then
2553 echo "$ac_t""yes" 1>&6
2555 echo "$ac_t""no" 1>&6
2559 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2560 echo "configure:2561: checking "for --enable-apple_ieee"" >&5
2562 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2563 if test "${enable_apple_ieee+set}" = set; then
2564 enableval
="$enable_apple_ieee"
2566 if test "$enableval" = yes; then
2567 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2569 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2574 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2575 if test "x$LINE" != x
; then
2576 eval "DEFAULT_$LINE"
2581 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2586 eval "$ac_cv_use_apple_ieee"
2587 if test "$no_cache" != 1; then
2588 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2591 if test "$wxUSE_APPLE_IEEE" = yes; then
2592 echo "$ac_t""yes" 1>&6
2594 echo "$ac_t""no" 1>&6
2598 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2599 echo "configure:2600: checking "for --enable-timedate"" >&5
2601 # Check whether --enable-timedate or --disable-timedate was given.
2602 if test "${enable_timedate+set}" = set; then
2603 enableval
="$enable_timedate"
2605 if test "$enableval" = yes; then
2606 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2608 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2613 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2614 if test "x$LINE" != x
; then
2615 eval "DEFAULT_$LINE"
2620 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2625 eval "$ac_cv_use_timedate"
2626 if test "$no_cache" != 1; then
2627 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2630 if test "$wxUSE_TIMEDATE" = yes; then
2631 echo "$ac_t""yes" 1>&6
2633 echo "$ac_t""no" 1>&6
2637 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2638 echo "configure:2639: checking "for --enable-wave"" >&5
2640 # Check whether --enable-wave or --disable-wave was given.
2641 if test "${enable_wave+set}" = set; then
2642 enableval
="$enable_wave"
2644 if test "$enableval" = yes; then
2645 ac_cv_use_wave
='wxUSE_WAVE=yes'
2647 ac_cv_use_wave
='wxUSE_WAVE=no'
2652 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2653 if test "x$LINE" != x
; then
2654 eval "DEFAULT_$LINE"
2659 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2664 eval "$ac_cv_use_wave"
2665 if test "$no_cache" != 1; then
2666 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2669 if test "$wxUSE_WAVE" = yes; then
2670 echo "$ac_t""yes" 1>&6
2672 echo "$ac_t""no" 1>&6
2676 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2677 echo "configure:2678: checking "for --enable-fraction"" >&5
2679 # Check whether --enable-fraction or --disable-fraction was given.
2680 if test "${enable_fraction+set}" = set; then
2681 enableval
="$enable_fraction"
2683 if test "$enableval" = yes; then
2684 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2686 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2691 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2692 if test "x$LINE" != x
; then
2693 eval "DEFAULT_$LINE"
2698 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2703 eval "$ac_cv_use_fraction"
2704 if test "$no_cache" != 1; then
2705 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2708 if test "$wxUSE_FRACTION" = yes; then
2709 echo "$ac_t""yes" 1>&6
2711 echo "$ac_t""no" 1>&6
2715 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2716 echo "configure:2717: checking "for --enable-dynlib"" >&5
2718 # Check whether --enable-dynlib or --disable-dynlib was given.
2719 if test "${enable_dynlib+set}" = set; then
2720 enableval
="$enable_dynlib"
2722 if test "$enableval" = yes; then
2723 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2725 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2730 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2731 if test "x$LINE" != x
; then
2732 eval "DEFAULT_$LINE"
2737 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2742 eval "$ac_cv_use_dynlib"
2743 if test "$no_cache" != 1; then
2744 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2747 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2748 echo "$ac_t""yes" 1>&6
2750 echo "$ac_t""no" 1>&6
2754 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2755 echo "configure:2756: checking "for --enable-longlong"" >&5
2757 # Check whether --enable-longlong or --disable-longlong was given.
2758 if test "${enable_longlong+set}" = set; then
2759 enableval
="$enable_longlong"
2761 if test "$enableval" = yes; then
2762 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2764 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2769 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2770 if test "x$LINE" != x
; then
2771 eval "DEFAULT_$LINE"
2776 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2781 eval "$ac_cv_use_longlong"
2782 if test "$no_cache" != 1; then
2783 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2786 if test "$wxUSE_LONGLONG" = yes; then
2787 echo "$ac_t""yes" 1>&6
2789 echo "$ac_t""no" 1>&6
2793 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
2794 echo "configure:2795: checking "for --enable-log"" >&5
2796 # Check whether --enable-log or --disable-log was given.
2797 if test "${enable_log+set}" = set; then
2798 enableval
="$enable_log"
2800 if test "$enableval" = yes; then
2801 ac_cv_use_log
='wxUSE_LOG=yes'
2803 ac_cv_use_log
='wxUSE_LOG=no'
2808 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
2809 if test "x$LINE" != x
; then
2810 eval "DEFAULT_$LINE"
2815 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
2820 eval "$ac_cv_use_log"
2821 if test "$no_cache" != 1; then
2822 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
2825 if test "$wxUSE_LOG" = yes; then
2826 echo "$ac_t""yes" 1>&6
2828 echo "$ac_t""no" 1>&6
2832 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
2833 echo "configure:2834: checking "for --enable-streams"" >&5
2835 # Check whether --enable-streams or --disable-streams was given.
2836 if test "${enable_streams+set}" = set; then
2837 enableval
="$enable_streams"
2839 if test "$enableval" = yes; then
2840 ac_cv_use_streams
='wxUSE_STREAMS=yes'
2842 ac_cv_use_streams
='wxUSE_STREAMS=no'
2847 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
2848 if test "x$LINE" != x
; then
2849 eval "DEFAULT_$LINE"
2854 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
2859 eval "$ac_cv_use_streams"
2860 if test "$no_cache" != 1; then
2861 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
2864 if test "$wxUSE_STREAMS" = yes; then
2865 echo "$ac_t""yes" 1>&6
2867 echo "$ac_t""no" 1>&6
2871 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
2872 echo "configure:2873: checking "for --enable-file"" >&5
2874 # Check whether --enable-file or --disable-file was given.
2875 if test "${enable_file+set}" = set; then
2876 enableval
="$enable_file"
2878 if test "$enableval" = yes; then
2879 ac_cv_use_file
='wxUSE_FILE=yes'
2881 ac_cv_use_file
='wxUSE_FILE=no'
2886 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
2887 if test "x$LINE" != x
; then
2888 eval "DEFAULT_$LINE"
2893 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
2898 eval "$ac_cv_use_file"
2899 if test "$no_cache" != 1; then
2900 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
2903 if test "$wxUSE_FILE" = yes; then
2904 echo "$ac_t""yes" 1>&6
2906 echo "$ac_t""no" 1>&6
2910 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
2911 echo "configure:2912: checking "for --enable-textfile"" >&5
2913 # Check whether --enable-textfile or --disable-textfile was given.
2914 if test "${enable_textfile+set}" = set; then
2915 enableval
="$enable_textfile"
2917 if test "$enableval" = yes; then
2918 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
2920 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
2925 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
2926 if test "x$LINE" != x
; then
2927 eval "DEFAULT_$LINE"
2932 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
2937 eval "$ac_cv_use_textfile"
2938 if test "$no_cache" != 1; then
2939 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
2942 if test "$wxUSE_TEXTFILE" = yes; then
2943 echo "$ac_t""yes" 1>&6
2945 echo "$ac_t""no" 1>&6
2949 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
2950 echo "configure:2951: checking "for --enable-unicode"" >&5
2952 # Check whether --enable-unicode or --disable-unicode was given.
2953 if test "${enable_unicode+set}" = set; then
2954 enableval
="$enable_unicode"
2956 if test "$enableval" = yes; then
2957 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
2959 ac_cv_use_unicode
='wxUSE_UNICODE=no'
2964 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
2965 if test "x$LINE" != x
; then
2966 eval "DEFAULT_$LINE"
2971 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
2976 eval "$ac_cv_use_unicode"
2977 if test "$no_cache" != 1; then
2978 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
2981 if test "$wxUSE_UNICODE" = yes; then
2982 echo "$ac_t""yes" 1>&6
2984 echo "$ac_t""no" 1>&6
2988 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
2989 echo "configure:2990: checking "for --enable-wcsrtombs"" >&5
2991 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
2992 if test "${enable_wcsrtombs+set}" = set; then
2993 enableval
="$enable_wcsrtombs"
2995 if test "$enableval" = yes; then
2996 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
2998 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3003 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3004 if test "x$LINE" != x
; then
3005 eval "DEFAULT_$LINE"
3010 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3015 eval "$ac_cv_use_wcsrtombs"
3016 if test "$no_cache" != 1; then
3017 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3020 if test "$wxUSE_WCSRTOMBS" = yes; then
3021 echo "$ac_t""yes" 1>&6
3023 echo "$ac_t""no" 1>&6
3027 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3028 echo "configure:3029: checking "for --enable-wxprintfv"" >&5
3030 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3031 if test "${enable_wxprintfv+set}" = set; then
3032 enableval
="$enable_wxprintfv"
3034 if test "$enableval" = yes; then
3035 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3037 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3042 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3043 if test "x$LINE" != x
; then
3044 eval "DEFAULT_$LINE"
3049 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3054 eval "$ac_cv_use_wxprintfv"
3055 if test "$no_cache" != 1; then
3056 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3059 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3060 echo "$ac_t""yes" 1>&6
3062 echo "$ac_t""no" 1>&6
3066 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
3067 echo "configure:3068: checking "for --enable-joystick"" >&5
3069 # Check whether --enable-joystick or --disable-joystick was given.
3070 if test "${enable_joystick+set}" = set; then
3071 enableval
="$enable_joystick"
3073 if test "$enableval" = yes; then
3074 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
3076 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
3081 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
3082 if test "x$LINE" != x
; then
3083 eval "DEFAULT_$LINE"
3088 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
3093 eval "$ac_cv_use_joystick"
3094 if test "$no_cache" != 1; then
3095 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
3098 if test "$wxUSE_JOYSTICK" = yes; then
3099 echo "$ac_t""yes" 1>&6
3101 echo "$ac_t""no" 1>&6
3105 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3106 echo "configure:3107: checking "for --enable-std_iostreams"" >&5
3108 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3109 if test "${enable_std_iostreams+set}" = set; then
3110 enableval
="$enable_std_iostreams"
3112 if test "$enableval" = yes; then
3113 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3115 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3120 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3121 if test "x$LINE" != x
; then
3122 eval "DEFAULT_$LINE"
3127 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3132 eval "$ac_cv_use_std_iostreams"
3133 if test "$no_cache" != 1; then
3134 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3137 if test "$wxUSE_STD_IOSTREAM" = yes; then
3138 echo "$ac_t""yes" 1>&6
3140 echo "$ac_t""no" 1>&6
3144 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3145 echo "configure:3146: checking "for --enable-fs_inet"" >&5
3147 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3148 if test "${enable_fs_inet+set}" = set; then
3149 enableval
="$enable_fs_inet"
3151 if test "$enableval" = yes; then
3152 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3154 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3159 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3160 if test "x$LINE" != x
; then
3161 eval "DEFAULT_$LINE"
3166 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3171 eval "$ac_cv_use_fs_inet"
3172 if test "$no_cache" != 1; then
3173 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3176 if test "$wxUSE_FS_INET" = yes; then
3177 echo "$ac_t""yes" 1>&6
3179 echo "$ac_t""no" 1>&6
3183 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3184 echo "configure:3185: checking "for --enable-fs_zip"" >&5
3186 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3187 if test "${enable_fs_zip+set}" = set; then
3188 enableval
="$enable_fs_zip"
3190 if test "$enableval" = yes; then
3191 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3193 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3198 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3199 if test "x$LINE" != x
; then
3200 eval "DEFAULT_$LINE"
3205 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3210 eval "$ac_cv_use_fs_zip"
3211 if test "$no_cache" != 1; then
3212 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3215 if test "$wxUSE_FS_ZIP" = yes; then
3216 echo "$ac_t""yes" 1>&6
3218 echo "$ac_t""no" 1>&6
3222 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3223 echo "configure:3224: checking "for --enable-zipstream"" >&5
3225 # Check whether --enable-zipstream or --disable-zipstream was given.
3226 if test "${enable_zipstream+set}" = set; then
3227 enableval
="$enable_zipstream"
3229 if test "$enableval" = yes; then
3230 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3232 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3237 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3238 if test "x$LINE" != x
; then
3239 eval "DEFAULT_$LINE"
3244 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3249 eval "$ac_cv_use_zipstream"
3250 if test "$no_cache" != 1; then
3251 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3254 if test "$wxUSE_ZIPSTREAM" = yes; then
3255 echo "$ac_t""yes" 1>&6
3257 echo "$ac_t""no" 1>&6
3263 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3264 echo "configure:3265: checking "for --enable-threads"" >&5
3266 # Check whether --enable-threads or --disable-threads was given.
3267 if test "${enable_threads+set}" = set; then
3268 enableval
="$enable_threads"
3270 if test "$enableval" = yes; then
3271 ac_cv_use_threads
='wxUSE_THREADS=yes'
3273 ac_cv_use_threads
='wxUSE_THREADS=no'
3278 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3279 if test "x$LINE" != x
; then
3280 eval "DEFAULT_$LINE"
3285 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3290 eval "$ac_cv_use_threads"
3291 if test "$no_cache" != 1; then
3292 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3295 if test "$wxUSE_THREADS" = yes; then
3296 echo "$ac_t""yes" 1>&6
3298 echo "$ac_t""no" 1>&6
3302 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3303 echo "configure:3304: checking "for --enable-serial"" >&5
3305 # Check whether --enable-serial or --disable-serial was given.
3306 if test "${enable_serial+set}" = set; then
3307 enableval
="$enable_serial"
3309 if test "$enableval" = yes; then
3310 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3312 ac_cv_use_serial
='wxUSE_SERIAL=no'
3317 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3318 if test "x$LINE" != x
; then
3319 eval "DEFAULT_$LINE"
3324 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3329 eval "$ac_cv_use_serial"
3330 if test "$no_cache" != 1; then
3331 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3334 if test "$wxUSE_SERIAL" = yes; then
3335 echo "$ac_t""yes" 1>&6
3337 echo "$ac_t""no" 1>&6
3343 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3344 echo "configure:3345: checking "for --enable-docview"" >&5
3346 # Check whether --enable-docview or --disable-docview was given.
3347 if test "${enable_docview+set}" = set; then
3348 enableval
="$enable_docview"
3350 if test "$enableval" = yes; then
3351 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3353 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3358 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3359 if test "x$LINE" != x
; then
3360 eval "DEFAULT_$LINE"
3365 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3370 eval "$ac_cv_use_docview"
3371 if test "$no_cache" != 1; then
3372 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3375 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3376 echo "$ac_t""yes" 1>&6
3378 echo "$ac_t""no" 1>&6
3382 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3383 echo "configure:3384: checking "for --enable-help"" >&5
3385 # Check whether --enable-help or --disable-help was given.
3386 if test "${enable_help+set}" = set; then
3387 enableval
="$enable_help"
3389 if test "$enableval" = yes; then
3390 ac_cv_use_help
='wxUSE_HELP=yes'
3392 ac_cv_use_help
='wxUSE_HELP=no'
3397 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3398 if test "x$LINE" != x
; then
3399 eval "DEFAULT_$LINE"
3404 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3409 eval "$ac_cv_use_help"
3410 if test "$no_cache" != 1; then
3411 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3414 if test "$wxUSE_HELP" = yes; then
3415 echo "$ac_t""yes" 1>&6
3417 echo "$ac_t""no" 1>&6
3421 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3422 echo "configure:3423: checking "for --enable-constraints"" >&5
3424 # Check whether --enable-constraints or --disable-constraints was given.
3425 if test "${enable_constraints+set}" = set; then
3426 enableval
="$enable_constraints"
3428 if test "$enableval" = yes; then
3429 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3431 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3436 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3437 if test "x$LINE" != x
; then
3438 eval "DEFAULT_$LINE"
3443 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3448 eval "$ac_cv_use_constraints"
3449 if test "$no_cache" != 1; then
3450 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3453 if test "$wxUSE_CONSTRAINTS" = yes; then
3454 echo "$ac_t""yes" 1>&6
3456 echo "$ac_t""no" 1>&6
3460 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3461 echo "configure:3462: checking "for --enable-printarch"" >&5
3463 # Check whether --enable-printarch or --disable-printarch was given.
3464 if test "${enable_printarch+set}" = set; then
3465 enableval
="$enable_printarch"
3467 if test "$enableval" = yes; then
3468 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3470 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3475 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3476 if test "x$LINE" != x
; then
3477 eval "DEFAULT_$LINE"
3482 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3487 eval "$ac_cv_use_printarch"
3488 if test "$no_cache" != 1; then
3489 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3492 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3493 echo "$ac_t""yes" 1>&6
3495 echo "$ac_t""no" 1>&6
3499 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3500 echo "configure:3501: checking "for --enable-mdi"" >&5
3502 # Check whether --enable-mdi or --disable-mdi was given.
3503 if test "${enable_mdi+set}" = set; then
3504 enableval
="$enable_mdi"
3506 if test "$enableval" = yes; then
3507 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3509 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3514 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3515 if test "x$LINE" != x
; then
3516 eval "DEFAULT_$LINE"
3521 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3526 eval "$ac_cv_use_mdi"
3527 if test "$no_cache" != 1; then
3528 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3531 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3532 echo "$ac_t""yes" 1>&6
3534 echo "$ac_t""no" 1>&6
3539 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3540 echo "configure:3541: checking "for --enable-postscript"" >&5
3542 # Check whether --enable-postscript or --disable-postscript was given.
3543 if test "${enable_postscript+set}" = set; then
3544 enableval
="$enable_postscript"
3546 if test "$enableval" = yes; then
3547 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3549 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3554 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3555 if test "x$LINE" != x
; then
3556 eval "DEFAULT_$LINE"
3561 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3566 eval "$ac_cv_use_postscript"
3567 if test "$no_cache" != 1; then
3568 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3571 if test "$wxUSE_POSTSCRIPT" = yes; then
3572 echo "$ac_t""yes" 1>&6
3574 echo "$ac_t""no" 1>&6
3580 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3581 echo "configure:3582: checking "for --enable-prologio"" >&5
3583 # Check whether --enable-prologio or --disable-prologio was given.
3584 if test "${enable_prologio+set}" = set; then
3585 enableval
="$enable_prologio"
3587 if test "$enableval" = yes; then
3588 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3590 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3595 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3596 if test "x$LINE" != x
; then
3597 eval "DEFAULT_$LINE"
3602 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3607 eval "$ac_cv_use_prologio"
3608 if test "$no_cache" != 1; then
3609 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3612 if test "$wxUSE_PROLOGIO" = yes; then
3613 echo "$ac_t""yes" 1>&6
3615 echo "$ac_t""no" 1>&6
3619 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3620 echo "configure:3621: checking "for --enable-resources"" >&5
3622 # Check whether --enable-resources or --disable-resources was given.
3623 if test "${enable_resources+set}" = set; then
3624 enableval
="$enable_resources"
3626 if test "$enableval" = yes; then
3627 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3629 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3634 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3635 if test "x$LINE" != x
; then
3636 eval "DEFAULT_$LINE"
3641 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3646 eval "$ac_cv_use_resources"
3647 if test "$no_cache" != 1; then
3648 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3651 if test "$wxUSE_RESOURCES" = yes; then
3652 echo "$ac_t""yes" 1>&6
3654 echo "$ac_t""no" 1>&6
3659 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3660 echo "configure:3661: checking "for --enable-xresources"" >&5
3662 # Check whether --enable-xresources or --disable-xresources was given.
3663 if test "${enable_xresources+set}" = set; then
3664 enableval
="$enable_xresources"
3666 if test "$enableval" = yes; then
3667 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3669 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3674 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x
; then
3676 eval "DEFAULT_$LINE"
3681 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3686 eval "$ac_cv_use_xresources"
3687 if test "$no_cache" != 1; then
3688 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3691 if test "$wxUSE_X_RESOURCES" = yes; then
3692 echo "$ac_t""yes" 1>&6
3694 echo "$ac_t""no" 1>&6
3700 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3701 echo "configure:3702: checking "for --enable-clipboard"" >&5
3703 # Check whether --enable-clipboard or --disable-clipboard was given.
3704 if test "${enable_clipboard+set}" = set; then
3705 enableval
="$enable_clipboard"
3707 if test "$enableval" = yes; then
3708 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3710 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3715 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3716 if test "x$LINE" != x
; then
3717 eval "DEFAULT_$LINE"
3722 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
3727 eval "$ac_cv_use_clipboard"
3728 if test "$no_cache" != 1; then
3729 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
3732 if test "$wxUSE_CLIPBOARD" = yes; then
3733 echo "$ac_t""yes" 1>&6
3735 echo "$ac_t""no" 1>&6
3739 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
3740 echo "configure:3741: checking "for --enable-dnd"" >&5
3742 # Check whether --enable-dnd or --disable-dnd was given.
3743 if test "${enable_dnd+set}" = set; then
3744 enableval
="$enable_dnd"
3746 if test "$enableval" = yes; then
3747 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
3749 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
3754 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
3755 if test "x$LINE" != x
; then
3756 eval "DEFAULT_$LINE"
3761 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
3766 eval "$ac_cv_use_dnd"
3767 if test "$no_cache" != 1; then
3768 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
3771 if test "$wxUSE_DRAG_AND_DROP" = yes; then
3772 echo "$ac_t""yes" 1>&6
3774 echo "$ac_t""no" 1>&6
3779 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
3780 echo "configure:3781: checking "for --enable-wxtree"" >&5
3782 # Check whether --enable-wxtree or --disable-wxtree was given.
3783 if test "${enable_wxtree+set}" = set; then
3784 enableval
="$enable_wxtree"
3786 if test "$enableval" = yes; then
3787 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
3789 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
3794 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
3795 if test "x$LINE" != x
; then
3796 eval "DEFAULT_$LINE"
3801 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
3806 eval "$ac_cv_use_wxtree"
3807 if test "$no_cache" != 1; then
3808 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
3811 if test "$wxUSE_WXTREE" = yes; then
3812 echo "$ac_t""yes" 1>&6
3814 echo "$ac_t""no" 1>&6
3820 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
3821 echo "configure:3822: checking "for --enable-controls"" >&5
3823 # Check whether --enable-controls or --disable-controls was given.
3824 if test "${enable_controls+set}" = set; then
3825 enableval
="$enable_controls"
3827 if test "$enableval" = yes; then
3828 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
3830 ac_cv_use_controls
='wxUSE_CONTROLS=no'
3835 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
3836 if test "x$LINE" != x
; then
3837 eval "DEFAULT_$LINE"
3842 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
3847 eval "$ac_cv_use_controls"
3848 if test "$no_cache" != 1; then
3849 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
3852 if test "$wxUSE_CONTROLS" = yes; then
3853 echo "$ac_t""yes" 1>&6
3855 echo "$ac_t""no" 1>&6
3859 if test "$wxUSE_CONTROLS" = "yes"; then
3860 DEFAULT_wxUSE_ACCEL
=yes
3861 DEFAULT_wxUSE_CARET
=yes
3862 DEFAULT_wxUSE_COMBOBOX
=yes
3863 DEFAULT_wxUSE_BMPBUTTON
=yes
3864 DEFAULT_wxUSE_CHECKBOX
=yes
3865 DEFAULT_wxUSE_CHECKLISTBOX
=yes
3866 DEFAULT_wxUSE_CHOICE
=yes
3867 DEFAULT_wxUSE_GAUGE
=yes
3868 DEFAULT_wxUSE_GRID
=yes
3869 DEFAULT_wxUSE_IMAGLIST
=yes
3870 DEFAULT_wxUSE_LISTBOX
=yes
3871 DEFAULT_wxUSE_LISTCTRL
=yes
3872 DEFAULT_wxUSE_NOTEBOOK
=yes
3873 DEFAULT_wxUSE_RADIOBOX
=yes
3874 DEFAULT_wxUSE_RADIOBTN
=yes
3875 DEFAULT_wxUSE_SASH
=yes
3876 DEFAULT_wxUSE_SCROLLBAR
=yes
3877 DEFAULT_wxUSE_SLIDER
=yes
3878 DEFAULT_wxUSE_SPINBTN
=yes
3879 DEFAULT_wxUSE_SPLITTER
=yes
3880 DEFAULT_wxUSE_STATBMP
=yes
3881 DEFAULT_wxUSE_STATBOX
=yes
3882 DEFAULT_wxUSE_STATLINE
=yes
3883 DEFAULT_wxUSE_STATUSBAR
=yes
3884 DEFAULT_wxUSE_TAB_DIALOG
=yes
3885 DEFAULT_wxUSE_TOOLBAR
=yes
3886 DEFAULT_wxUSE_TOOLTIPS
=yes
3887 DEFAULT_wxUSE_TREECTRL
=yes
3888 elif test "$wxUSE_CONTROLS" = "no"; then
3889 DEFAULT_wxUSE_ACCEL
=no
3890 DEFAULT_wxUSE_CARET
=no
3891 DEFAULT_wxUSE_COMBOBOX
=no
3892 DEFAULT_wxUSE_BMPBUTTON
=no
3893 DEFAULT_wxUSE_CHECKBOX
=no
3894 DEFAULT_wxUSE_CHECKLISTBOX
=no
3895 DEFAULT_wxUSE_CHOICE
=no
3896 DEFAULT_wxUSE_GAUGE
=no
3897 DEFAULT_wxUSE_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_SPLITTER
=no
3909 DEFAULT_wxUSE_STATBMP
=no
3910 DEFAULT_wxUSE_STATBOX
=no
3911 DEFAULT_wxUSE_STATLINE
=no
3912 DEFAULT_wxUSE_STATUSBAR
=no
3913 DEFAULT_wxUSE_TAB_DIALOG
=no
3914 DEFAULT_wxUSE_TOOLBAR
=no
3915 DEFAULT_wxUSE_TOOLTIPS
=no
3916 DEFAULT_wxUSE_TREECTRL
=no
3920 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
3921 echo "configure:3922: checking "for --enable-accel"" >&5
3923 # Check whether --enable-accel or --disable-accel was given.
3924 if test "${enable_accel+set}" = set; then
3925 enableval
="$enable_accel"
3927 if test "$enableval" = yes; then
3928 ac_cv_use_accel
='wxUSE_ACCEL=yes'
3930 ac_cv_use_accel
='wxUSE_ACCEL=no'
3935 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
3936 if test "x$LINE" != x
; then
3937 eval "DEFAULT_$LINE"
3942 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
3947 eval "$ac_cv_use_accel"
3948 if test "$no_cache" != 1; then
3949 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
3952 if test "$wxUSE_ACCEL" = yes; then
3953 echo "$ac_t""yes" 1>&6
3955 echo "$ac_t""no" 1>&6
3959 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
3960 echo "configure:3961: checking "for --enable-caret"" >&5
3962 # Check whether --enable-caret or --disable-caret was given.
3963 if test "${enable_caret+set}" = set; then
3964 enableval
="$enable_caret"
3966 if test "$enableval" = yes; then
3967 ac_cv_use_caret
='wxUSE_CARET=yes'
3969 ac_cv_use_caret
='wxUSE_CARET=no'
3974 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
3975 if test "x$LINE" != x
; then
3976 eval "DEFAULT_$LINE"
3981 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
3986 eval "$ac_cv_use_caret"
3987 if test "$no_cache" != 1; then
3988 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
3991 if test "$wxUSE_CARET" = yes; then
3992 echo "$ac_t""yes" 1>&6
3994 echo "$ac_t""no" 1>&6
3998 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
3999 echo "configure:4000: checking "for --enable-bmpbutton"" >&5
4001 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4002 if test "${enable_bmpbutton+set}" = set; then
4003 enableval
="$enable_bmpbutton"
4005 if test "$enableval" = yes; then
4006 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4008 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4013 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4014 if test "x$LINE" != x
; then
4015 eval "DEFAULT_$LINE"
4020 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4025 eval "$ac_cv_use_bmpbutton"
4026 if test "$no_cache" != 1; then
4027 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4030 if test "$wxUSE_BMPBUTTON" = yes; then
4031 echo "$ac_t""yes" 1>&6
4033 echo "$ac_t""no" 1>&6
4037 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4038 echo "configure:4039: checking "for --enable-checkbox"" >&5
4040 # Check whether --enable-checkbox or --disable-checkbox was given.
4041 if test "${enable_checkbox+set}" = set; then
4042 enableval
="$enable_checkbox"
4044 if test "$enableval" = yes; then
4045 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4047 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4052 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4053 if test "x$LINE" != x
; then
4054 eval "DEFAULT_$LINE"
4059 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4064 eval "$ac_cv_use_checkbox"
4065 if test "$no_cache" != 1; then
4066 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4069 if test "$wxUSE_CHECKBOX" = yes; then
4070 echo "$ac_t""yes" 1>&6
4072 echo "$ac_t""no" 1>&6
4076 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4077 echo "configure:4078: checking "for --enable-checklst"" >&5
4079 # Check whether --enable-checklst or --disable-checklst was given.
4080 if test "${enable_checklst+set}" = set; then
4081 enableval
="$enable_checklst"
4083 if test "$enableval" = yes; then
4084 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4086 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4091 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4092 if test "x$LINE" != x
; then
4093 eval "DEFAULT_$LINE"
4098 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4103 eval "$ac_cv_use_checklst"
4104 if test "$no_cache" != 1; then
4105 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4108 if test "$wxUSE_CHECKLST" = yes; then
4109 echo "$ac_t""yes" 1>&6
4111 echo "$ac_t""no" 1>&6
4115 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4116 echo "configure:4117: checking "for --enable-choice"" >&5
4118 # Check whether --enable-choice or --disable-choice was given.
4119 if test "${enable_choice+set}" = set; then
4120 enableval
="$enable_choice"
4122 if test "$enableval" = yes; then
4123 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4125 ac_cv_use_choice
='wxUSE_CHOICE=no'
4130 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4131 if test "x$LINE" != x
; then
4132 eval "DEFAULT_$LINE"
4137 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4142 eval "$ac_cv_use_choice"
4143 if test "$no_cache" != 1; then
4144 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4147 if test "$wxUSE_CHOICE" = yes; then
4148 echo "$ac_t""yes" 1>&6
4150 echo "$ac_t""no" 1>&6
4154 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4155 echo "configure:4156: checking "for --enable-combobox"" >&5
4157 # Check whether --enable-combobox or --disable-combobox was given.
4158 if test "${enable_combobox+set}" = set; then
4159 enableval
="$enable_combobox"
4161 if test "$enableval" = yes; then
4162 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4164 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4169 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4170 if test "x$LINE" != x
; then
4171 eval "DEFAULT_$LINE"
4176 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4181 eval "$ac_cv_use_combobox"
4182 if test "$no_cache" != 1; then
4183 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4186 if test "$wxUSE_COMBOBOX" = yes; then
4187 echo "$ac_t""yes" 1>&6
4189 echo "$ac_t""no" 1>&6
4193 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4194 echo "configure:4195: checking "for --enable-gauge"" >&5
4196 # Check whether --enable-gauge or --disable-gauge was given.
4197 if test "${enable_gauge+set}" = set; then
4198 enableval
="$enable_gauge"
4200 if test "$enableval" = yes; then
4201 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4203 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4208 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4209 if test "x$LINE" != x
; then
4210 eval "DEFAULT_$LINE"
4215 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4220 eval "$ac_cv_use_gauge"
4221 if test "$no_cache" != 1; then
4222 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4225 if test "$wxUSE_GAUGE" = yes; then
4226 echo "$ac_t""yes" 1>&6
4228 echo "$ac_t""no" 1>&6
4232 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4233 echo "configure:4234: checking "for --enable-grid"" >&5
4235 # Check whether --enable-grid or --disable-grid was given.
4236 if test "${enable_grid+set}" = set; then
4237 enableval
="$enable_grid"
4239 if test "$enableval" = yes; then
4240 ac_cv_use_grid
='wxUSE_GRID=yes'
4242 ac_cv_use_grid
='wxUSE_GRID=no'
4247 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4248 if test "x$LINE" != x
; then
4249 eval "DEFAULT_$LINE"
4254 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4259 eval "$ac_cv_use_grid"
4260 if test "$no_cache" != 1; then
4261 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4264 if test "$wxUSE_GRID" = yes; then
4265 echo "$ac_t""yes" 1>&6
4267 echo "$ac_t""no" 1>&6
4271 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4272 echo "configure:4273: checking "for --enable-imaglist"" >&5
4274 # Check whether --enable-imaglist or --disable-imaglist was given.
4275 if test "${enable_imaglist+set}" = set; then
4276 enableval
="$enable_imaglist"
4278 if test "$enableval" = yes; then
4279 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4281 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4286 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4287 if test "x$LINE" != x
; then
4288 eval "DEFAULT_$LINE"
4293 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4298 eval "$ac_cv_use_imaglist"
4299 if test "$no_cache" != 1; then
4300 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4303 if test "$wxUSE_IMAGLIST" = yes; then
4304 echo "$ac_t""yes" 1>&6
4306 echo "$ac_t""no" 1>&6
4310 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4311 echo "configure:4312: checking "for --enable-listbox"" >&5
4313 # Check whether --enable-listbox or --disable-listbox was given.
4314 if test "${enable_listbox+set}" = set; then
4315 enableval
="$enable_listbox"
4317 if test "$enableval" = yes; then
4318 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4320 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4325 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4326 if test "x$LINE" != x
; then
4327 eval "DEFAULT_$LINE"
4332 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4337 eval "$ac_cv_use_listbox"
4338 if test "$no_cache" != 1; then
4339 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4342 if test "$wxUSE_LISTBOX" = yes; then
4343 echo "$ac_t""yes" 1>&6
4345 echo "$ac_t""no" 1>&6
4349 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4350 echo "configure:4351: checking "for --enable-listctrl"" >&5
4352 # Check whether --enable-listctrl or --disable-listctrl was given.
4353 if test "${enable_listctrl+set}" = set; then
4354 enableval
="$enable_listctrl"
4356 if test "$enableval" = yes; then
4357 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4359 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4364 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4365 if test "x$LINE" != x
; then
4366 eval "DEFAULT_$LINE"
4371 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4376 eval "$ac_cv_use_listctrl"
4377 if test "$no_cache" != 1; then
4378 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4381 if test "$wxUSE_LISTCTRL" = yes; then
4382 echo "$ac_t""yes" 1>&6
4384 echo "$ac_t""no" 1>&6
4388 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4389 echo "configure:4390: checking "for --enable-notebook"" >&5
4391 # Check whether --enable-notebook or --disable-notebook was given.
4392 if test "${enable_notebook+set}" = set; then
4393 enableval
="$enable_notebook"
4395 if test "$enableval" = yes; then
4396 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4398 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4403 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4404 if test "x$LINE" != x
; then
4405 eval "DEFAULT_$LINE"
4410 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4415 eval "$ac_cv_use_notebook"
4416 if test "$no_cache" != 1; then
4417 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4420 if test "$wxUSE_NOTEBOOK" = yes; then
4421 echo "$ac_t""yes" 1>&6
4423 echo "$ac_t""no" 1>&6
4427 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4428 echo "configure:4429: checking "for --enable-radiobox"" >&5
4430 # Check whether --enable-radiobox or --disable-radiobox was given.
4431 if test "${enable_radiobox+set}" = set; then
4432 enableval
="$enable_radiobox"
4434 if test "$enableval" = yes; then
4435 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4437 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4442 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4443 if test "x$LINE" != x
; then
4444 eval "DEFAULT_$LINE"
4449 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4454 eval "$ac_cv_use_radiobox"
4455 if test "$no_cache" != 1; then
4456 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4459 if test "$wxUSE_RADIOBOX" = yes; then
4460 echo "$ac_t""yes" 1>&6
4462 echo "$ac_t""no" 1>&6
4466 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4467 echo "configure:4468: checking "for --enable-radiobtn"" >&5
4469 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4470 if test "${enable_radiobtn+set}" = set; then
4471 enableval
="$enable_radiobtn"
4473 if test "$enableval" = yes; then
4474 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4476 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4481 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4482 if test "x$LINE" != x
; then
4483 eval "DEFAULT_$LINE"
4488 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4493 eval "$ac_cv_use_radiobtn"
4494 if test "$no_cache" != 1; then
4495 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4498 if test "$wxUSE_RADIOBTN" = yes; then
4499 echo "$ac_t""yes" 1>&6
4501 echo "$ac_t""no" 1>&6
4505 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4506 echo "configure:4507: checking "for --enable-sash"" >&5
4508 # Check whether --enable-sash or --disable-sash was given.
4509 if test "${enable_sash+set}" = set; then
4510 enableval
="$enable_sash"
4512 if test "$enableval" = yes; then
4513 ac_cv_use_sash
='wxUSE_SASH=yes'
4515 ac_cv_use_sash
='wxUSE_SASH=no'
4520 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4521 if test "x$LINE" != x
; then
4522 eval "DEFAULT_$LINE"
4527 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4532 eval "$ac_cv_use_sash"
4533 if test "$no_cache" != 1; then
4534 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4537 if test "$wxUSE_SASH" = yes; then
4538 echo "$ac_t""yes" 1>&6
4540 echo "$ac_t""no" 1>&6
4544 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4545 echo "configure:4546: checking "for --enable-scrollbar"" >&5
4547 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4548 if test "${enable_scrollbar+set}" = set; then
4549 enableval
="$enable_scrollbar"
4551 if test "$enableval" = yes; then
4552 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4554 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4559 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4560 if test "x$LINE" != x
; then
4561 eval "DEFAULT_$LINE"
4566 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4571 eval "$ac_cv_use_scrollbar"
4572 if test "$no_cache" != 1; then
4573 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4576 if test "$wxUSE_SCROLLBAR" = yes; then
4577 echo "$ac_t""yes" 1>&6
4579 echo "$ac_t""no" 1>&6
4583 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4584 echo "configure:4585: checking "for --enable-slider"" >&5
4586 # Check whether --enable-slider or --disable-slider was given.
4587 if test "${enable_slider+set}" = set; then
4588 enableval
="$enable_slider"
4590 if test "$enableval" = yes; then
4591 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4593 ac_cv_use_slider
='wxUSE_SLIDER=no'
4598 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4599 if test "x$LINE" != x
; then
4600 eval "DEFAULT_$LINE"
4605 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4610 eval "$ac_cv_use_slider"
4611 if test "$no_cache" != 1; then
4612 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4615 if test "$wxUSE_SLIDER" = yes; then
4616 echo "$ac_t""yes" 1>&6
4618 echo "$ac_t""no" 1>&6
4622 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4623 echo "configure:4624: checking "for --enable-spinbtn"" >&5
4625 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4626 if test "${enable_spinbtn+set}" = set; then
4627 enableval
="$enable_spinbtn"
4629 if test "$enableval" = yes; then
4630 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4632 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4637 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4638 if test "x$LINE" != x
; then
4639 eval "DEFAULT_$LINE"
4644 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4649 eval "$ac_cv_use_spinbtn"
4650 if test "$no_cache" != 1; then
4651 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4654 if test "$wxUSE_SPINBTN" = yes; then
4655 echo "$ac_t""yes" 1>&6
4657 echo "$ac_t""no" 1>&6
4661 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
4662 echo "configure:4663: checking "for --enable-splitter"" >&5
4664 # Check whether --enable-splitter or --disable-splitter was given.
4665 if test "${enable_splitter+set}" = set; then
4666 enableval
="$enable_splitter"
4668 if test "$enableval" = yes; then
4669 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
4671 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
4676 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
4677 if test "x$LINE" != x
; then
4678 eval "DEFAULT_$LINE"
4683 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
4688 eval "$ac_cv_use_splitter"
4689 if test "$no_cache" != 1; then
4690 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
4693 if test "$wxUSE_SPLITTER" = yes; then
4694 echo "$ac_t""yes" 1>&6
4696 echo "$ac_t""no" 1>&6
4700 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
4701 echo "configure:4702: checking "for --enable-statbmp"" >&5
4703 # Check whether --enable-statbmp or --disable-statbmp was given.
4704 if test "${enable_statbmp+set}" = set; then
4705 enableval
="$enable_statbmp"
4707 if test "$enableval" = yes; then
4708 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
4710 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
4715 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
4716 if test "x$LINE" != x
; then
4717 eval "DEFAULT_$LINE"
4722 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
4727 eval "$ac_cv_use_statbmp"
4728 if test "$no_cache" != 1; then
4729 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
4732 if test "$wxUSE_STATBMP" = yes; then
4733 echo "$ac_t""yes" 1>&6
4735 echo "$ac_t""no" 1>&6
4739 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
4740 echo "configure:4741: checking "for --enable-statbox"" >&5
4742 # Check whether --enable-statbox or --disable-statbox was given.
4743 if test "${enable_statbox+set}" = set; then
4744 enableval
="$enable_statbox"
4746 if test "$enableval" = yes; then
4747 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
4749 ac_cv_use_statbox
='wxUSE_STATBOX=no'
4754 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
4755 if test "x$LINE" != x
; then
4756 eval "DEFAULT_$LINE"
4761 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
4766 eval "$ac_cv_use_statbox"
4767 if test "$no_cache" != 1; then
4768 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
4771 if test "$wxUSE_STATBOX" = yes; then
4772 echo "$ac_t""yes" 1>&6
4774 echo "$ac_t""no" 1>&6
4778 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
4779 echo "configure:4780: checking "for --enable-statline"" >&5
4781 # Check whether --enable-statline or --disable-statline was given.
4782 if test "${enable_statline+set}" = set; then
4783 enableval
="$enable_statline"
4785 if test "$enableval" = yes; then
4786 ac_cv_use_statline
='wxUSE_STATLINE=yes'
4788 ac_cv_use_statline
='wxUSE_STATLINE=no'
4793 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
4794 if test "x$LINE" != x
; then
4795 eval "DEFAULT_$LINE"
4800 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
4805 eval "$ac_cv_use_statline"
4806 if test "$no_cache" != 1; then
4807 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
4810 if test "$wxUSE_STATLINE" = yes; then
4811 echo "$ac_t""yes" 1>&6
4813 echo "$ac_t""no" 1>&6
4817 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
4818 echo "configure:4819: checking "for --enable-statusbar"" >&5
4820 # Check whether --enable-statusbar or --disable-statusbar was given.
4821 if test "${enable_statusbar+set}" = set; then
4822 enableval
="$enable_statusbar"
4824 if test "$enableval" = yes; then
4825 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
4827 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
4832 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
4833 if test "x$LINE" != x
; then
4834 eval "DEFAULT_$LINE"
4839 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
4844 eval "$ac_cv_use_statusbar"
4845 if test "$no_cache" != 1; then
4846 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
4849 if test "$wxUSE_STATUSBAR" = yes; then
4850 echo "$ac_t""yes" 1>&6
4852 echo "$ac_t""no" 1>&6
4856 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
4857 echo "configure:4858: checking "for --enable-tabdialog"" >&5
4859 # Check whether --enable-tabdialog or --disable-tabdialog was given.
4860 if test "${enable_tabdialog+set}" = set; then
4861 enableval
="$enable_tabdialog"
4863 if test "$enableval" = yes; then
4864 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
4866 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
4871 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
4872 if test "x$LINE" != x
; then
4873 eval "DEFAULT_$LINE"
4878 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
4883 eval "$ac_cv_use_tabdialog"
4884 if test "$no_cache" != 1; then
4885 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
4888 if test "$wxUSE_TABDIALOG" = yes; then
4889 echo "$ac_t""yes" 1>&6
4891 echo "$ac_t""no" 1>&6
4895 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
4896 echo "configure:4897: checking "for --enable-toolbar"" >&5
4898 # Check whether --enable-toolbar or --disable-toolbar was given.
4899 if test "${enable_toolbar+set}" = set; then
4900 enableval
="$enable_toolbar"
4902 if test "$enableval" = yes; then
4903 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
4905 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
4910 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
4911 if test "x$LINE" != x
; then
4912 eval "DEFAULT_$LINE"
4917 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
4922 eval "$ac_cv_use_toolbar"
4923 if test "$no_cache" != 1; then
4924 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
4927 if test "$wxUSE_TOOLBAR" = yes; then
4928 echo "$ac_t""yes" 1>&6
4930 echo "$ac_t""no" 1>&6
4934 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
4935 echo "configure:4936: checking "for --enable-treectrl"" >&5
4937 # Check whether --enable-treectrl or --disable-treectrl was given.
4938 if test "${enable_treectrl+set}" = set; then
4939 enableval
="$enable_treectrl"
4941 if test "$enableval" = yes; then
4942 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
4944 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
4949 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
4950 if test "x$LINE" != x
; then
4951 eval "DEFAULT_$LINE"
4956 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
4961 eval "$ac_cv_use_treectrl"
4962 if test "$no_cache" != 1; then
4963 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
4966 if test "$wxUSE_TREECTRL" = yes; then
4967 echo "$ac_t""yes" 1>&6
4969 echo "$ac_t""no" 1>&6
4975 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
4976 echo "configure:4977: checking "for --enable-commondlg"" >&5
4978 # Check whether --enable-commondlg or --disable-commondlg was given.
4979 if test "${enable_commondlg+set}" = set; then
4980 enableval
="$enable_commondlg"
4982 if test "$enableval" = yes; then
4983 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
4985 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
4990 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
4991 if test "x$LINE" != x
; then
4992 eval "DEFAULT_$LINE"
4997 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5002 eval "$ac_cv_use_commondlg"
5003 if test "$no_cache" != 1; then
5004 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5007 if test "$wxUSE_COMMONDLGS" = yes; then
5008 echo "$ac_t""yes" 1>&6
5010 echo "$ac_t""no" 1>&6
5014 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5015 echo "configure:5016: checking "for --enable-dirdlg"" >&5
5017 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5018 if test "${enable_dirdlg+set}" = set; then
5019 enableval
="$enable_dirdlg"
5021 if test "$enableval" = yes; then
5022 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5024 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5029 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5030 if test "x$LINE" != x
; then
5031 eval "DEFAULT_$LINE"
5036 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5041 eval "$ac_cv_use_dirdlg"
5042 if test "$no_cache" != 1; then
5043 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5046 if test "$wxUSE_DIRDLG" = yes; then
5047 echo "$ac_t""yes" 1>&6
5049 echo "$ac_t""no" 1>&6
5053 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5054 echo "configure:5055: checking "for --enable-textdlg"" >&5
5056 # Check whether --enable-textdlg or --disable-textdlg was given.
5057 if test "${enable_textdlg+set}" = set; then
5058 enableval
="$enable_textdlg"
5060 if test "$enableval" = yes; then
5061 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5063 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5068 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5069 if test "x$LINE" != x
; then
5070 eval "DEFAULT_$LINE"
5075 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5080 eval "$ac_cv_use_textdlg"
5081 if test "$no_cache" != 1; then
5082 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5085 if test "$wxUSE_TEXTDLG" = yes; then
5086 echo "$ac_t""yes" 1>&6
5088 echo "$ac_t""no" 1>&6
5092 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5093 echo "configure:5094: checking "for --enable-tipdlg"" >&5
5095 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5096 if test "${enable_tipdlg+set}" = set; then
5097 enableval
="$enable_tipdlg"
5099 if test "$enableval" = yes; then
5100 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5102 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5107 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5108 if test "x$LINE" != x
; then
5109 eval "DEFAULT_$LINE"
5114 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5119 eval "$ac_cv_use_tipdlg"
5120 if test "$no_cache" != 1; then
5121 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5124 if test "$wxUSE_STARTUP_TIPS" = yes; then
5125 echo "$ac_t""yes" 1>&6
5127 echo "$ac_t""no" 1>&6
5131 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5132 echo "configure:5133: checking "for --enable-progressdlg"" >&5
5134 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5135 if test "${enable_progressdlg+set}" = set; then
5136 enableval
="$enable_progressdlg"
5138 if test "$enableval" = yes; then
5139 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5141 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5146 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5147 if test "x$LINE" != x
; then
5148 eval "DEFAULT_$LINE"
5153 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5158 eval "$ac_cv_use_progressdlg"
5159 if test "$no_cache" != 1; then
5160 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5163 if test "$wxUSE_PROGRESSDLG" = yes; then
5164 echo "$ac_t""yes" 1>&6
5166 echo "$ac_t""no" 1>&6
5170 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5171 echo "configure:5172: checking "for --enable-miniframe"" >&5
5173 # Check whether --enable-miniframe or --disable-miniframe was given.
5174 if test "${enable_miniframe+set}" = set; then
5175 enableval
="$enable_miniframe"
5177 if test "$enableval" = yes; then
5178 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5180 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5185 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5186 if test "x$LINE" != x
; then
5187 eval "DEFAULT_$LINE"
5192 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5197 eval "$ac_cv_use_miniframe"
5198 if test "$no_cache" != 1; then
5199 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5202 if test "$wxUSE_MINIFRAME" = yes; then
5203 echo "$ac_t""yes" 1>&6
5205 echo "$ac_t""no" 1>&6
5209 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5210 echo "configure:5211: checking "for --enable-html"" >&5
5212 # Check whether --enable-html or --disable-html was given.
5213 if test "${enable_html+set}" = set; then
5214 enableval
="$enable_html"
5216 if test "$enableval" = yes; then
5217 ac_cv_use_html
='wxUSE_HTML=yes'
5219 ac_cv_use_html
='wxUSE_HTML=no'
5224 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5225 if test "x$LINE" != x
; then
5226 eval "DEFAULT_$LINE"
5231 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5236 eval "$ac_cv_use_html"
5237 if test "$no_cache" != 1; then
5238 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5241 if test "$wxUSE_HTML" = yes; then
5242 echo "$ac_t""yes" 1>&6
5244 echo "$ac_t""no" 1>&6
5248 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5249 echo "configure:5250: checking "for --enable-tooltips"" >&5
5251 # Check whether --enable-tooltips or --disable-tooltips was given.
5252 if test "${enable_tooltips+set}" = set; then
5253 enableval
="$enable_tooltips"
5255 if test "$enableval" = yes; then
5256 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5258 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5263 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5264 if test "x$LINE" != x
; then
5265 eval "DEFAULT_$LINE"
5270 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5275 eval "$ac_cv_use_tooltips"
5276 if test "$no_cache" != 1; then
5277 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5280 if test "$wxUSE_TOOLTIPS" = yes; then
5281 echo "$ac_t""yes" 1>&6
5283 echo "$ac_t""no" 1>&6
5287 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5288 echo "configure:5289: checking "for --enable-splines"" >&5
5290 # Check whether --enable-splines or --disable-splines was given.
5291 if test "${enable_splines+set}" = set; then
5292 enableval
="$enable_splines"
5294 if test "$enableval" = yes; then
5295 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5297 ac_cv_use_splines
='wxUSE_SPLINES=no'
5302 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5303 if test "x$LINE" != x
; then
5304 eval "DEFAULT_$LINE"
5309 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5314 eval "$ac_cv_use_splines"
5315 if test "$no_cache" != 1; then
5316 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5319 if test "$wxUSE_SPLINES" = yes; then
5320 echo "$ac_t""yes" 1>&6
5322 echo "$ac_t""no" 1>&6
5326 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5327 echo "configure:5328: checking "for --enable-validators"" >&5
5329 # Check whether --enable-validators or --disable-validators was given.
5330 if test "${enable_validators+set}" = set; then
5331 enableval
="$enable_validators"
5333 if test "$enableval" = yes; then
5334 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5336 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5341 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5342 if test "x$LINE" != x
; then
5343 eval "DEFAULT_$LINE"
5348 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5353 eval "$ac_cv_use_validators"
5354 if test "$no_cache" != 1; then
5355 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5358 if test "$wxUSE_VALIDATORS" = yes; then
5359 echo "$ac_t""yes" 1>&6
5361 echo "$ac_t""no" 1>&6
5365 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5366 echo "configure:5367: checking "for --enable-busyinfo"" >&5
5368 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5369 if test "${enable_busyinfo+set}" = set; then
5370 enableval
="$enable_busyinfo"
5372 if test "$enableval" = yes; then
5373 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5375 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5380 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5381 if test "x$LINE" != x
; then
5382 eval "DEFAULT_$LINE"
5387 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5392 eval "$ac_cv_use_busyinfo"
5393 if test "$no_cache" != 1; then
5394 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5397 if test "$wxUSE_BUSYINFO" = yes; then
5398 echo "$ac_t""yes" 1>&6
5400 echo "$ac_t""no" 1>&6
5406 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5407 echo "configure:5408: checking "for --enable-gif"" >&5
5409 # Check whether --enable-gif or --disable-gif was given.
5410 if test "${enable_gif+set}" = set; then
5411 enableval
="$enable_gif"
5413 if test "$enableval" = yes; then
5414 ac_cv_use_gif
='wxUSE_GIF=yes'
5416 ac_cv_use_gif
='wxUSE_GIF=no'
5421 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5422 if test "x$LINE" != x
; then
5423 eval "DEFAULT_$LINE"
5428 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5433 eval "$ac_cv_use_gif"
5434 if test "$no_cache" != 1; then
5435 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5438 if test "$wxUSE_GIF" = yes; then
5439 echo "$ac_t""yes" 1>&6
5441 echo "$ac_t""no" 1>&6
5445 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5446 echo "configure:5447: checking "for --enable-pcx"" >&5
5448 # Check whether --enable-pcx or --disable-pcx was given.
5449 if test "${enable_pcx+set}" = set; then
5450 enableval
="$enable_pcx"
5452 if test "$enableval" = yes; then
5453 ac_cv_use_pcx
='wxUSE_PCX=yes'
5455 ac_cv_use_pcx
='wxUSE_PCX=no'
5460 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5461 if test "x$LINE" != x
; then
5462 eval "DEFAULT_$LINE"
5467 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5472 eval "$ac_cv_use_pcx"
5473 if test "$no_cache" != 1; then
5474 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5477 if test "$wxUSE_PCX" = yes; then
5478 echo "$ac_t""yes" 1>&6
5480 echo "$ac_t""no" 1>&6
5484 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5485 echo "configure:5486: checking "for --enable-pnm"" >&5
5487 # Check whether --enable-pnm or --disable-pnm was given.
5488 if test "${enable_pnm+set}" = set; then
5489 enableval
="$enable_pnm"
5491 if test "$enableval" = yes; then
5492 ac_cv_use_pnm
='wxUSE_PNM=yes'
5494 ac_cv_use_pnm
='wxUSE_PNM=no'
5499 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5500 if test "x$LINE" != x
; then
5501 eval "DEFAULT_$LINE"
5506 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5511 eval "$ac_cv_use_pnm"
5512 if test "$no_cache" != 1; then
5513 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
5516 if test "$wxUSE_PNM" = yes; then
5517 echo "$ac_t""yes" 1>&6
5519 echo "$ac_t""no" 1>&6
5524 echo "saving argument cache $wx_arg_cache_file"
5525 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
5529 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
5530 echo "configure:5531: checking for toolkit" >&5
5532 if test "$wxUSE_GUI" = "yes"; then
5534 if test "$TOOLKIT_GIVEN" = 1; then
5535 for toolkit
in `echo $ALL_TOOLKITS`; do
5537 eval "value=\$${var}"
5538 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
5541 for toolkit
in `echo $ALL_TOOLKITS`; do
5542 if test "$has_toolkit_in_cache" != 1; then
5543 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
5545 var
=DEFAULT_wxUSE_
$toolkit
5547 eval "wxUSE_$toolkit=\$${var}"
5551 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
5553 case "$NUM_TOOLKITS" in
5557 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
5560 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
5563 for toolkit
in `echo $ALL_TOOLKITS`; do
5565 eval "value=\$${var}"
5566 if test "x$value" != x
; then
5567 cache_var
=CACHE_
$toolkit
5568 eval "cache=\$${cache_var}"
5569 if test "$cache" = 1; then
5570 echo "$var=$value" >> ${wx_arg_cache_file}
5572 if test "$value" = 1; then
5573 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
5579 echo "$ac_t""base only" 1>&6
5583 cat > confcache
<<\EOF
5584 # This file is a shell script that caches the results of configure
5585 # tests run on this system so they can be shared between configure
5586 # scripts and configure runs. It is not useful on other systems.
5587 # If it contains results you don't want to keep, you may remove or edit it.
5589 # By default, configure uses ./config.cache as the cache file,
5590 # creating it if it does not exist already. You can give configure
5591 # the --cache-file=FILE option to use a different cache file; that is
5592 # what configure does when it calls configure scripts in
5593 # subdirectories, so they share the cache.
5594 # Giving --cache-file=/dev/null disables caching, for debugging configure.
5595 # config.status only pays attention to the cache file if you give it the
5596 # --recheck option to rerun configure.
5599 # The following way of writing the cache mishandles newlines in values,
5600 # but we know of no workaround that is simple, portable, and efficient.
5601 # So, don't put newlines in cache variables' values.
5602 # Ultrix sh set writes to stderr and can't be redirected directly,
5603 # and sets the high bit in the cache file unless we assign to the vars.
5605 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5607 # `set' does not quote correctly, so add quotes (double-quote substitution
5608 # turns \\\\ into \\, and sed turns \\ into \).
5610 -e "s/'/'\\\\''/g" \
5611 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
5614 # `set' quotes correctly as required by POSIX, so do not add quotes.
5615 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
5618 if cmp -s $cache_file confcache
; then
5621 if test -w $cache_file; then
5622 echo "updating cache $cache_file"
5623 cat confcache
> $cache_file
5625 echo "not updating unwritable cache $cache_file"
5631 if eval "test $host != $build"; then
5632 if eval "test $host_alias != NONE"; then
5636 RANLIB
=$host_alias-ranlib
5637 DLLTOOL
=$host_alias-dlltool
5640 STRIP
=$host_alias-strip
5644 # Extract the first word of "gcc", so it can be a program name with args.
5645 set dummy gcc
; ac_word
=$2
5646 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5647 echo "configure:5648: checking for $ac_word" >&5
5648 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5649 echo $ac_n "(cached) $ac_c" 1>&6
5651 if test -n "$CC"; then
5652 ac_cv_prog_CC
="$CC" # Let the user override the test.
5654 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5656 for ac_dir
in $ac_dummy; do
5657 test -z "$ac_dir" && ac_dir
=.
5658 if test -f $ac_dir/$ac_word; then
5667 if test -n "$CC"; then
5668 echo "$ac_t""$CC" 1>&6
5670 echo "$ac_t""no" 1>&6
5673 if test -z "$CC"; then
5674 # Extract the first word of "cc", so it can be a program name with args.
5675 set dummy cc
; ac_word
=$2
5676 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5677 echo "configure:5678: checking for $ac_word" >&5
5678 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5679 echo $ac_n "(cached) $ac_c" 1>&6
5681 if test -n "$CC"; then
5682 ac_cv_prog_CC
="$CC" # Let the user override the test.
5684 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5687 for ac_dir
in $ac_dummy; do
5688 test -z "$ac_dir" && ac_dir
=.
5689 if test -f $ac_dir/$ac_word; then
5690 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
5691 ac_prog_rejected
=yes
5699 if test $ac_prog_rejected = yes; then
5700 # We found a bogon in the path, so make sure we never use it.
5701 set dummy
$ac_cv_prog_CC
5703 if test $# -gt 0; then
5704 # We chose a different compiler from the bogus one.
5705 # However, it has the same basename, so the bogon will be chosen
5706 # first if we set CC to just the basename; use the full file name.
5708 set dummy
"$ac_dir/$ac_word" "$@"
5716 if test -n "$CC"; then
5717 echo "$ac_t""$CC" 1>&6
5719 echo "$ac_t""no" 1>&6
5722 if test -z "$CC"; then
5723 case "`uname -s`" in
5725 # Extract the first word of "cl", so it can be a program name with args.
5726 set dummy cl
; ac_word
=$2
5727 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5728 echo "configure:5729: checking for $ac_word" >&5
5729 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
5730 echo $ac_n "(cached) $ac_c" 1>&6
5732 if test -n "$CC"; then
5733 ac_cv_prog_CC
="$CC" # Let the user override the test.
5735 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
5737 for ac_dir
in $ac_dummy; do
5738 test -z "$ac_dir" && ac_dir
=.
5739 if test -f $ac_dir/$ac_word; then
5748 if test -n "$CC"; then
5749 echo "$ac_t""$CC" 1>&6
5751 echo "$ac_t""no" 1>&6
5756 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
5759 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
5760 echo "configure:5761: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
5763 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5764 ac_cpp
='$CPP $CPPFLAGS'
5765 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5766 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5767 cross_compiling
=$ac_cv_prog_cc_cross
5769 cat > conftest.
$ac_ext << EOF
5771 #line 5772 "configure"
5772 #include "confdefs.h"
5776 if { (eval echo configure
:5777: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5777 ac_cv_prog_cc_works
=yes
5778 # If we can't run a trivial program, we are probably using a cross compiler.
5779 if (.
/conftest
; exit) 2>/dev
/null
; then
5780 ac_cv_prog_cc_cross
=no
5782 ac_cv_prog_cc_cross
=yes
5785 echo "configure: failed program was:" >&5
5786 cat conftest.
$ac_ext >&5
5787 ac_cv_prog_cc_works
=no
5791 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
5792 ac_cpp
='$CPP $CPPFLAGS'
5793 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
5794 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
5795 cross_compiling
=$ac_cv_prog_cc_cross
5797 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
5798 if test $ac_cv_prog_cc_works = no
; then
5799 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
5801 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
5802 echo "configure:5803: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
5803 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
5804 cross_compiling
=$ac_cv_prog_cc_cross
5806 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
5807 echo "configure:5808: checking whether we are using GNU C" >&5
5808 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
5809 echo $ac_n "(cached) $ac_c" 1>&6
5811 cat > conftest.c
<<EOF
5816 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:5817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
5823 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
5825 if test $ac_cv_prog_gcc = yes; then
5831 ac_test_CFLAGS
="${CFLAGS+set}"
5832 ac_save_CFLAGS
="$CFLAGS"
5834 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
5835 echo "configure:5836: checking whether ${CC-cc} accepts -g" >&5
5836 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
5837 echo $ac_n "(cached) $ac_c" 1>&6
5839 echo 'void f(){}' > conftest.c
5840 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
5849 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
5850 if test "$ac_test_CFLAGS" = set; then
5851 CFLAGS
="$ac_save_CFLAGS"
5852 elif test $ac_cv_prog_cc_g = yes; then
5853 if test "$GCC" = yes; then
5859 if test "$GCC" = yes; then
5867 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
5869 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
5870 echo "configure:5871: checking how to run the C preprocessor" >&5
5871 # On Suns, sometimes $CPP names a directory.
5872 if test -n "$CPP" && test -d "$CPP"; then
5875 if test -z "$CPP"; then
5876 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
5877 echo $ac_n "(cached) $ac_c" 1>&6
5879 # This must be in double quotes, not single quotes, because CPP may get
5880 # substituted into the Makefile and "${CC-cc}" will confuse make.
5882 # On the NeXT, cc -E runs the code through the compiler's parser,
5883 # not just through cpp.
5884 cat > conftest.
$ac_ext <<EOF
5885 #line 5886 "configure"
5886 #include "confdefs.h"
5890 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5891 { (eval echo configure
:5892: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5892 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5893 if test -z "$ac_err"; then
5897 echo "configure: failed program was:" >&5
5898 cat conftest.
$ac_ext >&5
5900 CPP
="${CC-cc} -E -traditional-cpp"
5901 cat > conftest.
$ac_ext <<EOF
5902 #line 5903 "configure"
5903 #include "confdefs.h"
5907 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5908 { (eval echo configure
:5909: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5909 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5910 if test -z "$ac_err"; then
5914 echo "configure: failed program was:" >&5
5915 cat conftest.
$ac_ext >&5
5917 CPP
="${CC-cc} -nologo -E"
5918 cat > conftest.
$ac_ext <<EOF
5919 #line 5920 "configure"
5920 #include "confdefs.h"
5924 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
5925 { (eval echo configure
:5926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
5926 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
5927 if test -z "$ac_err"; then
5931 echo "configure: failed program was:" >&5
5932 cat conftest.
$ac_ext >&5
5941 ac_cv_prog_CPP
="$CPP"
5943 CPP
="$ac_cv_prog_CPP"
5945 ac_cv_prog_CPP
="$CPP"
5947 echo "$ac_t""$CPP" 1>&6
5950 if test $ac_cv_prog_gcc = yes; then
5951 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
5952 echo "configure:5953: checking whether ${CC-cc} needs -traditional" >&5
5953 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
5954 echo $ac_n "(cached) $ac_c" 1>&6
5956 ac_pattern
="Autoconf.*'x'"
5957 cat > conftest.
$ac_ext <<EOF
5958 #line 5959 "configure"
5959 #include "confdefs.h"
5963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5964 egrep "$ac_pattern" >/dev
/null
2>&1; then
5966 ac_cv_prog_gcc_traditional
=yes
5969 ac_cv_prog_gcc_traditional
=no
5974 if test $ac_cv_prog_gcc_traditional = no
; then
5975 cat > conftest.
$ac_ext <<EOF
5976 #line 5977 "configure"
5977 #include "confdefs.h"
5981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5982 egrep "$ac_pattern" >/dev
/null
2>&1; then
5984 ac_cv_prog_gcc_traditional
=yes
5991 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
5992 if test $ac_cv_prog_gcc_traditional = yes; then
5993 CC
="$CC -traditional"
6000 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6001 ac_cpp
='$CXXCPP $CPPFLAGS'
6002 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6003 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6004 cross_compiling
=$ac_cv_prog_cxx_cross
6007 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6009 # Extract the first word of "$ac_prog", so it can be a program name with args.
6010 set dummy
$ac_prog; ac_word
=$2
6011 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6012 echo "configure:6013: checking for $ac_word" >&5
6013 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6014 echo $ac_n "(cached) $ac_c" 1>&6
6016 if test -n "$CXX"; then
6017 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6019 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6021 for ac_dir
in $ac_dummy; do
6022 test -z "$ac_dir" && ac_dir
=.
6023 if test -f $ac_dir/$ac_word; then
6024 ac_cv_prog_CXX
="$ac_prog"
6031 CXX
="$ac_cv_prog_CXX"
6032 if test -n "$CXX"; then
6033 echo "$ac_t""$CXX" 1>&6
6035 echo "$ac_t""no" 1>&6
6038 test -n "$CXX" && break
6040 test -n "$CXX" || CXX
="gcc"
6043 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6044 echo "configure:6045: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6047 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6048 ac_cpp
='$CXXCPP $CPPFLAGS'
6049 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6050 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6051 cross_compiling
=$ac_cv_prog_cxx_cross
6053 cat > conftest.
$ac_ext << EOF
6055 #line 6056 "configure"
6056 #include "confdefs.h"
6058 int main(){return(0);}
6060 if { (eval echo configure
:6061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6061 ac_cv_prog_cxx_works
=yes
6062 # If we can't run a trivial program, we are probably using a cross compiler.
6063 if (.
/conftest
; exit) 2>/dev
/null
; then
6064 ac_cv_prog_cxx_cross
=no
6066 ac_cv_prog_cxx_cross
=yes
6069 echo "configure: failed program was:" >&5
6070 cat conftest.
$ac_ext >&5
6071 ac_cv_prog_cxx_works
=no
6075 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6076 ac_cpp
='$CXXCPP $CPPFLAGS'
6077 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6078 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6079 cross_compiling
=$ac_cv_prog_cxx_cross
6081 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6082 if test $ac_cv_prog_cxx_works = no
; then
6083 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6085 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6086 echo "configure:6087: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6087 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6088 cross_compiling
=$ac_cv_prog_cxx_cross
6090 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6091 echo "configure:6092: checking whether we are using GNU C++" >&5
6092 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6093 echo $ac_n "(cached) $ac_c" 1>&6
6095 cat > conftest.C
<<EOF
6100 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6107 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6109 if test $ac_cv_prog_gxx = yes; then
6115 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6116 ac_save_CXXFLAGS
="$CXXFLAGS"
6118 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6119 echo "configure:6120: checking whether ${CXX-g++} accepts -g" >&5
6120 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6121 echo $ac_n "(cached) $ac_c" 1>&6
6123 echo 'void f(){}' > conftest.cc
6124 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6125 ac_cv_prog_cxx_g
=yes
6133 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6134 if test "$ac_test_CXXFLAGS" = set; then
6135 CXXFLAGS
="$ac_save_CXXFLAGS"
6136 elif test $ac_cv_prog_cxx_g = yes; then
6137 if test "$GXX" = yes; then
6143 if test "$GXX" = yes; then
6151 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6152 echo "configure:6153: checking how to run the C++ preprocessor" >&5
6153 if test -z "$CXXCPP"; then
6154 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6155 echo $ac_n "(cached) $ac_c" 1>&6
6158 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6159 ac_cpp
='$CXXCPP $CPPFLAGS'
6160 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6161 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6162 cross_compiling
=$ac_cv_prog_cxx_cross
6163 CXXCPP
="${CXX-g++} -E"
6164 cat > conftest.
$ac_ext <<EOF
6165 #line 6166 "configure"
6166 #include "confdefs.h"
6169 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6170 { (eval echo configure
:6171: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6171 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6172 if test -z "$ac_err"; then
6176 echo "configure: failed program was:" >&5
6177 cat conftest.
$ac_ext >&5
6182 ac_cv_prog_CXXCPP
="$CXXCPP"
6184 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6185 ac_cpp
='$CXXCPP $CPPFLAGS'
6186 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6187 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6188 cross_compiling
=$ac_cv_prog_cxx_cross
6191 CXXCPP
="$ac_cv_prog_CXXCPP"
6192 echo "$ac_t""$CXXCPP" 1>&6
6195 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6198 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6199 ac_cpp
='$CPP $CPPFLAGS'
6200 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6201 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6202 cross_compiling
=$ac_cv_prog_cc_cross
6205 # Extract the first word of "ranlib", so it can be a program name with args.
6206 set dummy ranlib
; ac_word
=$2
6207 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6208 echo "configure:6209: checking for $ac_word" >&5
6209 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6210 echo $ac_n "(cached) $ac_c" 1>&6
6212 if test -n "$RANLIB"; then
6213 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6215 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6217 for ac_dir
in $ac_dummy; do
6218 test -z "$ac_dir" && ac_dir
=.
6219 if test -f $ac_dir/$ac_word; then
6220 ac_cv_prog_RANLIB
="ranlib"
6225 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6228 RANLIB
="$ac_cv_prog_RANLIB"
6229 if test -n "$RANLIB"; then
6230 echo "$ac_t""$RANLIB" 1>&6
6232 echo "$ac_t""no" 1>&6
6236 # Extract the first word of "ar", so it can be a program name with args.
6237 set dummy
ar; ac_word
=$2
6238 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6239 echo "configure:6240: checking for $ac_word" >&5
6240 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6241 echo $ac_n "(cached) $ac_c" 1>&6
6243 if test -n "$AR"; then
6244 ac_cv_prog_AR
="$AR" # Let the user override the test.
6246 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6248 for ac_dir
in $ac_dummy; do
6249 test -z "$ac_dir" && ac_dir
=.
6250 if test -f $ac_dir/$ac_word; then
6256 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6260 if test -n "$AR"; then
6261 echo "$ac_t""$AR" 1>&6
6263 echo "$ac_t""no" 1>&6
6267 # Find a good install program. We prefer a C program (faster),
6268 # so one script is as good as another. But avoid the broken or
6269 # incompatible versions:
6270 # SysV /etc/install, /usr/sbin/install
6271 # SunOS /usr/etc/install
6272 # IRIX /sbin/install
6274 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6275 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6276 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6277 # ./install, which can be erroneously created by make from ./install.sh.
6278 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6279 echo "configure:6280: checking for a BSD compatible install" >&5
6280 if test -z "$INSTALL"; then
6281 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6282 echo $ac_n "(cached) $ac_c" 1>&6
6284 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6285 for ac_dir
in $PATH; do
6286 # Account for people who put trailing slashes in PATH elements.
6288 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6290 # OSF1 and SCO ODT 3.0 have their own names for install.
6291 # Don't use installbsd from OSF since it installs stuff as root
6293 for ac_prog
in ginstall scoinst
install; do
6294 if test -f $ac_dir/$ac_prog; then
6295 if test $ac_prog = install &&
6296 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6297 # AIX install. It has an incompatible calling convention.
6300 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6311 if test "${ac_cv_path_install+set}" = set; then
6312 INSTALL
="$ac_cv_path_install"
6314 # As a last resort, use the slow shell script. We don't cache a
6315 # path for INSTALL within a source directory, because that will
6316 # break other packages using the cache if that directory is
6317 # removed, or if the path is relative.
6318 INSTALL
="$ac_install_sh"
6321 echo "$ac_t""$INSTALL" 1>&6
6323 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6324 # It thinks the first close brace ends the variable substitution.
6325 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6327 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6329 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6332 # Extract the first word of "strip", so it can be a program name with args.
6333 set dummy strip
; ac_word
=$2
6334 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6335 echo "configure:6336: checking for $ac_word" >&5
6336 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6337 echo $ac_n "(cached) $ac_c" 1>&6
6339 if test -n "$STRIP"; then
6340 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6342 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6344 for ac_dir
in $ac_dummy; do
6345 test -z "$ac_dir" && ac_dir
=.
6346 if test -f $ac_dir/$ac_word; then
6347 ac_cv_prog_STRIP
="strip"
6352 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6355 STRIP
="$ac_cv_prog_STRIP"
6356 if test -n "$STRIP"; then
6357 echo "$ac_t""$STRIP" 1>&6
6359 echo "$ac_t""no" 1>&6
6363 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6364 echo "configure:6365: checking "make for VPATH support
"" >&5
6365 cat - << EOF > confMake
6371 if test ! -d sub
; then
6374 echo dummy
> sub
/file
6375 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
6377 rm -f sub
/file check final_file confMake
6379 if test "$RESULT" = 0; then
6380 echo "$ac_t""yes" 1>&6
6382 echo "$ac_t""no" 1>&6
6383 { echo "configure: error: You need a make-utility that is able to use the variable
6385 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6388 for ac_prog
in 'bison -y' byacc
6390 # Extract the first word of "$ac_prog", so it can be a program name with args.
6391 set dummy
$ac_prog; ac_word
=$2
6392 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6393 echo "configure:6394: checking for $ac_word" >&5
6394 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6395 echo $ac_n "(cached) $ac_c" 1>&6
6397 if test -n "$YACC"; then
6398 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6400 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6402 for ac_dir
in $ac_dummy; do
6403 test -z "$ac_dir" && ac_dir
=.
6404 if test -f $ac_dir/$ac_word; then
6405 ac_cv_prog_YACC
="$ac_prog"
6412 YACC
="$ac_cv_prog_YACC"
6413 if test -n "$YACC"; then
6414 echo "$ac_t""$YACC" 1>&6
6416 echo "$ac_t""no" 1>&6
6419 test -n "$YACC" && break
6421 test -n "$YACC" || YACC
="yacc"
6424 # Extract the first word of "flex", so it can be a program name with args.
6425 set dummy flex
; ac_word
=$2
6426 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6427 echo "configure:6428: checking for $ac_word" >&5
6428 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6429 echo $ac_n "(cached) $ac_c" 1>&6
6431 if test -n "$LEX"; then
6432 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6434 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6436 for ac_dir
in $ac_dummy; do
6437 test -z "$ac_dir" && ac_dir
=.
6438 if test -f $ac_dir/$ac_word; then
6439 ac_cv_prog_LEX
="flex"
6444 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6447 LEX
="$ac_cv_prog_LEX"
6448 if test -n "$LEX"; then
6449 echo "$ac_t""$LEX" 1>&6
6451 echo "$ac_t""no" 1>&6
6454 if test -z "$LEXLIB"
6460 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6461 echo "configure:6462: checking for yywrap in -l$ac_lib" >&5
6462 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6463 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6464 echo $ac_n "(cached) $ac_c" 1>&6
6466 ac_save_LIBS
="$LIBS"
6467 LIBS
="-l$ac_lib $LIBS"
6468 cat > conftest.
$ac_ext <<EOF
6469 #line 6470 "configure"
6470 #include "confdefs.h"
6471 /* Override any gcc2 internal prototype to avoid an error. */
6472 /* We use char because int might match the return type of a gcc2
6473 builtin and then its argument prototype would still apply. */
6480 if { (eval echo configure
:6481: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6482 eval "ac_cv_lib_$ac_lib_var=yes"
6484 echo "configure: failed program was:" >&5
6485 cat conftest.
$ac_ext >&5
6487 eval "ac_cv_lib_$ac_lib_var=no"
6490 LIBS
="$ac_save_LIBS"
6493 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6494 echo "$ac_t""yes" 1>&6
6497 echo "$ac_t""no" 1>&6
6503 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
6504 echo "configure:6505: checking whether ln -s works" >&5
6505 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
6506 echo $ac_n "(cached) $ac_c" 1>&6
6509 if ln -s X conftestdata
2>/dev
/null
6512 ac_cv_prog_LN_S
="ln -s"
6517 LN_S
="$ac_cv_prog_LN_S"
6518 if test "$ac_cv_prog_LN_S" = "ln -s"; then
6519 echo "$ac_t""yes" 1>&6
6521 echo "$ac_t""no" 1>&6
6527 /usr/Motif-1.2/include \
6528 /usr/Motif-2.1/include \
6530 /usr/include/Motif1.2 \
6531 /opt/xpm/include/X11 \
6532 /opt/GBxpm/include/ \
6533 /opt/GBxpm/X11/include/ \
6535 /usr/Motif1.2/include \
6539 /usr/X11R6/include \
6540 /usr/X11R5/include \
6541 /usr/X11R4/include \
6547 /usr/include/X11R6 \
6548 /usr/include/X11R5 \
6549 /usr/include/X11R4 \
6551 /usr/local/X11R6/include \
6552 /usr/local/X11R5/include \
6553 /usr/local/X11R4/include \
6555 /usr/local/include/X11R6 \
6556 /usr/local/include/X11R5 \
6557 /usr/local/include/X11R4 \
6561 /usr/local/X11/include \
6562 /usr/local/include/X11 \
6566 /usr/XFree86/include/X11 \
6569 /usr/local/include \
6572 /usr/local/include/gtk \
6574 /usr/local/include/glib \
6577 /usr/local/include/qt \
6579 /usr/include/windows \
6581 /usr/local/include/wine \
6583 /usr/unsupported/include \
6584 /usr/athena/include \
6585 /usr/local/x11r5/include \
6586 /usr/lpp/Xamples/include \
6588 /usr/openwin/include \
6589 /usr/openwin/share/include \
6592 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
6595 cat > confcache
<<\EOF
6596 # This file is a shell script that caches the results of configure
6597 # tests run on this system so they can be shared between configure
6598 # scripts and configure runs. It is not useful on other systems.
6599 # If it contains results you don't want to keep, you may remove or edit it.
6601 # By default, configure uses ./config.cache as the cache file,
6602 # creating it if it does not exist already. You can give configure
6603 # the --cache-file=FILE option to use a different cache file; that is
6604 # what configure does when it calls configure scripts in
6605 # subdirectories, so they share the cache.
6606 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6607 # config.status only pays attention to the cache file if you give it the
6608 # --recheck option to rerun configure.
6611 # The following way of writing the cache mishandles newlines in values,
6612 # but we know of no workaround that is simple, portable, and efficient.
6613 # So, don't put newlines in cache variables' values.
6614 # Ultrix sh set writes to stderr and can't be redirected directly,
6615 # and sets the high bit in the cache file unless we assign to the vars.
6617 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6619 # `set' does not quote correctly, so add quotes (double-quote substitution
6620 # turns \\\\ into \\, and sed turns \\ into \).
6622 -e "s/'/'\\\\''/g" \
6623 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6626 # `set' quotes correctly as required by POSIX, so do not add quotes.
6627 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6630 if cmp -s $cache_file confcache
; then
6633 if test -w $cache_file; then
6634 echo "updating cache $cache_file"
6635 cat confcache
> $cache_file
6637 echo "not updating unwritable cache $cache_file"
6644 if test "$wxUSE_GUI" = "yes"; then
6662 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
6663 if test "$cross_compiling" = "yes" ; then
6664 echo "configure: warning: Cross compiling --- skipping windows.h check" 1>&2
6666 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
6667 echo "configure:6668: checking for Windows headers" >&5
6670 for ac_dir
in $SEARCH_INCLUDE;
6672 if test -f "$ac_dir/windows.h"; then
6673 ac_find_includes
=$ac_dir
6678 if test "$ac_find_includes" != "" ; then
6679 echo "$ac_t""found $ac_find_includes" 1>&6
6680 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6682 echo "$ac_t""no" 1>&6
6683 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6687 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
6688 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
6692 GUIOBJS
="\$(MSW_GUIOBJS)"
6693 GUIHEADERS
="\$(MSW_HEADERS)"
6694 COMMONOBJS
="\$(MSW_COMMONOBJS)"
6695 GENERICOBJS
="\$(MSW_GENERICOBJS)"
6701 if test "$wxUSE_GTK" = 1; then
6703 if test x
$gtk_config_exec_prefix != x
; then
6704 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6705 if test x
${GTK_CONFIG+set} != xset
; then
6706 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6709 if test x
$gtk_config_prefix != x
; then
6710 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6711 if test x
${GTK_CONFIG+set} != xset
; then
6712 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6716 # Extract the first word of "gtk-config", so it can be a program name with args.
6717 set dummy gtk
-config; ac_word
=$2
6718 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6719 echo "configure:6720: checking for $ac_word" >&5
6720 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6721 echo $ac_n "(cached) $ac_c" 1>&6
6723 case "$GTK_CONFIG" in
6725 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6728 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6731 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6733 for ac_dir
in $ac_dummy; do
6734 test -z "$ac_dir" && ac_dir
=.
6735 if test -f $ac_dir/$ac_word; then
6736 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6741 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6745 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6746 if test -n "$GTK_CONFIG"; then
6747 echo "$ac_t""$GTK_CONFIG" 1>&6
6749 echo "$ac_t""no" 1>&6
6752 min_gtk_version
=1.2.0
6753 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6754 echo "configure:6755: checking for GTK - version >= $min_gtk_version" >&5
6756 if test "$GTK_CONFIG" != "no" ; then
6757 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6758 GTK_LIBS
=`$GTK_CONFIG --libs`
6759 ac_save_CFLAGS
="$CFLAGS"
6760 ac_save_LIBS
="$LIBS"
6761 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6762 LIBS
="$LIBS $GTK_LIBS"
6763 if test "$cross_compiling" = yes; then
6764 echo $ac_n "cross compiling; assumed OK... $ac_c"
6766 cat > conftest.
$ac_ext <<EOF
6767 #line 6768 "configure"
6768 #include "confdefs.h"
6770 #include <gtk/gtk.h>
6776 int major, minor, micro;
6778 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6779 printf("%s, bad version string\n", "$min_gtk_version");
6783 if (gtk_minor_version == 1) return FALSE;
6785 return !((gtk_major_version > major) ||
6786 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6787 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6791 if { (eval echo configure
:6792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6795 echo "configure: failed program was:" >&5
6796 cat conftest.
$ac_ext >&5
6803 CFLAGS
="$ac_save_CFLAGS"
6804 LIBS
="$ac_save_LIBS"
6808 if test "x$no_gtk" = x
; then
6809 echo "$ac_t""yes" 1>&6
6812 echo "$ac_t""no" 1>&6
6820 if test "$WXGTK12" != 1; then
6822 if test x
$gtk_config_exec_prefix != x
; then
6823 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6824 if test x
${GTK_CONFIG+set} != xset
; then
6825 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6828 if test x
$gtk_config_prefix != x
; then
6829 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6830 if test x
${GTK_CONFIG+set} != xset
; then
6831 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6835 # Extract the first word of "gtk-config", so it can be a program name with args.
6836 set dummy gtk
-config; ac_word
=$2
6837 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6838 echo "configure:6839: checking for $ac_word" >&5
6839 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6840 echo $ac_n "(cached) $ac_c" 1>&6
6842 case "$GTK_CONFIG" in
6844 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6847 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
6850 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6852 for ac_dir
in $ac_dummy; do
6853 test -z "$ac_dir" && ac_dir
=.
6854 if test -f $ac_dir/$ac_word; then
6855 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6860 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6864 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6865 if test -n "$GTK_CONFIG"; then
6866 echo "$ac_t""$GTK_CONFIG" 1>&6
6868 echo "$ac_t""no" 1>&6
6871 min_gtk_version
=1.0.0
6872 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6873 echo "configure:6874: checking for GTK - version >= $min_gtk_version" >&5
6875 if test "$GTK_CONFIG" != "no" ; then
6876 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6877 GTK_LIBS
=`$GTK_CONFIG --libs`
6878 ac_save_CFLAGS
="$CFLAGS"
6879 ac_save_LIBS
="$LIBS"
6880 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6881 LIBS
="$LIBS $GTK_LIBS"
6882 if test "$cross_compiling" = yes; then
6883 echo $ac_n "cross compiling; assumed OK... $ac_c"
6885 cat > conftest.
$ac_ext <<EOF
6886 #line 6887 "configure"
6887 #include "confdefs.h"
6889 #include <gtk/gtk.h>
6895 int major, minor, micro;
6897 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6898 printf("%s, bad version string\n", "$min_gtk_version");
6902 if (gtk_minor_version == 1) return FALSE;
6904 return !((gtk_major_version > major) ||
6905 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6906 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6910 if { (eval echo configure
:6911: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6914 echo "configure: failed program was:" >&5
6915 cat conftest.
$ac_ext >&5
6922 CFLAGS
="$ac_save_CFLAGS"
6923 LIBS
="$ac_save_LIBS"
6927 if test "x$no_gtk" = x
; then
6928 echo "$ac_t""yes" 1>&6
6931 echo "$ac_t""no" 1>&6
6934 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.2.X or 1.0.X?" 1>&2; exit 1; }
6941 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
6942 GUI_TK_LIBRARY
="$GTK_LIBS"
6945 GUIOBJS
="\$(GTK_GUIOBJS)"
6946 GUIHEADERS
="\$(GTK_HEADERS)"
6947 COMMONOBJS
="\$(GTK_COMMONOBJS)"
6948 GENERICOBJS
="\$(GTK_GENERICOBJS)"
6949 GUIDEPS
="\$(GTK_GUIDEPS)"
6950 COMMONDEPS
="\$(GTK_COMMONDEPS)"
6951 GENERICDEPS
="\$(GTK_GENERICDEPS)"
6952 UNIXOBJS
="\$(UNIX_OBJS)"
6956 if test "$wxUSE_WINE" = 1; then
6957 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
6958 echo "configure:6959: checking for WINE includes" >&5
6961 for ac_dir
in $SEARCH_INCLUDE;
6963 if test -f "$ac_dir/windows.h"; then
6964 ac_find_includes
=$ac_dir
6969 if test "$ac_find_includes" != "" ; then
6970 echo "$ac_t""found $ac_find_includes" 1>&6
6971 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
6973 echo "$ac_t""no" 1>&6
6974 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
6978 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6979 echo "configure:6980: checking for Xpm library" >&5
6982 for ac_dir
in $SEARCH_LIB;
6984 for ac_extension
in a so sl
; do
6985 if test -f "$ac_dir/libXpm.$ac_extension"; then
6986 ac_find_libraries
=$ac_dir
6992 if test "$ac_find_libraries" != "" ; then
6993 GUI_TK_LIBRARY
="-L$ac_find_libraries"
6995 cat >> confdefs.h
<<\EOF
6996 #define wxHAVE_LIB_XPM 1
6999 echo "$ac_t""found at $ac_find_libraries" 1>&6
7001 echo "$ac_t""no" 1>&6
7002 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7006 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7007 echo "configure:7008: checking for Mesa library" >&5
7010 for ac_dir
in $SEARCH_LIB;
7012 for ac_extension
in a so sl
; do
7013 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7014 ac_find_libraries
=$ac_dir
7020 if test "$ac_find_libraries" != "" ; then
7021 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7022 MESA_LINK
="-lMesaGL"
7023 echo "$ac_t""found at $ac_find_libraries" 1>&6
7025 { echo "configure: error: no" 1>&2; exit 1; }
7028 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses -lm"
7029 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7033 GUIHEADERS
="\$(MSW_HEADERS)"
7034 GUIOBJS
="\$(MSW_GUIOBJS)"
7035 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7036 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7037 GUIDEPS
="\$(MSW_GUIDEPS)"
7038 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7039 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7040 UNIXOBJS
="\$(UNIX_OBJS)"
7044 if test "$wxUSE_MOTIF" = 1; then
7045 # If we find X, set shell vars x_includes and x_libraries to the
7046 # paths, otherwise set no_x=yes.
7047 # Uses ac_ vars as temps to allow command line to override cache and checks.
7048 # --without-x overrides everything else, but does not touch the cache.
7049 echo $ac_n "checking for X""... $ac_c" 1>&6
7050 echo "configure:7051: checking for X" >&5
7052 # Check whether --with-x or --without-x was given.
7053 if test "${with_x+set}" = set; then
7058 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7059 if test "x$with_x" = xno
; then
7060 # The user explicitly disabled X.
7063 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7064 # Both variables are already set.
7067 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7068 echo $ac_n "(cached) $ac_c" 1>&6
7070 # One or both of the vars are not set, and there is no cached value.
7071 ac_x_includes
=NO ac_x_libraries
=NO
7073 if mkdir conftestdir
; then
7075 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7076 cat > Imakefile
<<'EOF'
7078 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7080 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7081 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7082 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7083 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7084 for ac_extension
in a so sl
; do
7085 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7086 test -f $ac_im_libdir/libX11.
$ac_extension; then
7087 ac_im_usrlibdir
=$ac_im_libdir; break
7090 # Screen out bogus values from the imake configuration. They are
7091 # bogus both because they are the default anyway, and because
7092 # using them would break gcc on systems where it needs fixed includes.
7093 case "$ac_im_incroot" in
7095 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7097 case "$ac_im_usrlibdir" in
7099 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7106 if test "$ac_x_includes" = NO
; then
7107 # Guess where to find include files, by looking for this one X11 .h file.
7108 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7110 # First, try using that file with no special directory specified.
7111 cat > conftest.
$ac_ext <<EOF
7112 #line 7113 "configure"
7113 #include "confdefs.h"
7114 #include <$x_direct_test_include>
7116 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7117 { (eval echo configure
:7118: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7118 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7119 if test -z "$ac_err"; then
7121 # We can compile using X headers with no special include directory.
7125 echo "configure: failed program was:" >&5
7126 cat conftest.
$ac_ext >&5
7128 # Look for the header file in a standard set of common directories.
7129 # Check X11 before X11Rn because it is often a symlink to the current release.
7132 /usr
/X
11R
6/include \
7133 /usr
/X
11R
5/include \
7134 /usr
/X
11R
4/include \
7137 /usr
/include
/X11R6 \
7138 /usr
/include
/X11R5 \
7139 /usr
/include
/X11R4 \
7141 /usr
/local
/X
11/include \
7142 /usr
/local
/X
11R
6/include \
7143 /usr
/local
/X
11R
5/include \
7144 /usr
/local
/X
11R
4/include \
7146 /usr
/local
/include
/X11 \
7147 /usr
/local
/include
/X11R6 \
7148 /usr
/local
/include
/X11R5 \
7149 /usr
/local
/include
/X11R4 \
7153 /usr
/XFree
86/include
/X11 \
7156 /usr
/local
/include \
7157 /usr
/unsupported
/include \
7158 /usr
/athena
/include \
7159 /usr
/local
/x
11r
5/include \
7160 /usr
/lpp
/Xamples
/include \
7162 /usr
/openwin
/include \
7163 /usr
/openwin
/share
/include \
7166 if test -r "$ac_dir/$x_direct_test_include"; then
7167 ac_x_includes
=$ac_dir
7173 fi # $ac_x_includes = NO
7175 if test "$ac_x_libraries" = NO
; then
7176 # Check for the libraries.
7178 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
7179 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
7181 # See if we find them without any special options.
7182 # Don't add to $LIBS permanently.
7183 ac_save_LIBS
="$LIBS"
7184 LIBS
="-l$x_direct_test_library $LIBS"
7185 cat > conftest.
$ac_ext <<EOF
7186 #line 7187 "configure"
7187 #include "confdefs.h"
7190 ${x_direct_test_function}()
7193 if { (eval echo configure
:7194: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7195 LIBS
="$ac_save_LIBS"
7196 # We can link X programs with no special library path.
7199 echo "configure: failed program was:" >&5
7200 cat conftest.
$ac_ext >&5
7202 LIBS
="$ac_save_LIBS"
7203 # First see if replacing the include by lib works.
7204 # Check X11 before X11Rn because it is often a symlink to the current release.
7205 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
7216 /usr
/local
/X
11/lib \
7217 /usr
/local
/X
11R
6/lib \
7218 /usr
/local
/X
11R
5/lib \
7219 /usr
/local
/X
11R
4/lib \
7221 /usr
/local
/lib
/X11 \
7222 /usr
/local
/lib
/X11R6 \
7223 /usr
/local
/lib
/X11R5 \
7224 /usr
/local
/lib
/X11R4 \
7228 /usr
/XFree
86/lib
/X11 \
7232 /usr
/unsupported
/lib \
7234 /usr
/local
/x
11r
5/lib \
7235 /usr
/lpp
/Xamples
/lib \
7239 /usr
/openwin
/share
/lib \
7242 for ac_extension
in a so sl
; do
7243 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
7244 ac_x_libraries
=$ac_dir
7251 fi # $ac_x_libraries = NO
7253 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
7254 # Didn't find X anywhere. Cache the known absence of X.
7255 ac_cv_have_x
="have_x=no"
7257 # Record where we found X for the cache.
7258 ac_cv_have_x
="have_x=yes \
7259 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
7263 eval "$ac_cv_have_x"
7266 if test "$have_x" != yes; then
7267 echo "$ac_t""$have_x" 1>&6
7270 # If each of the values was on the command line, it overrides each guess.
7271 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
7272 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
7273 # Update the cache value to reflect the command line values.
7274 ac_cv_have_x
="have_x=yes \
7275 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
7276 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
7279 if test "$no_x" = yes; then
7280 # Not all programs may use this symbol, but it does not hurt to define it.
7281 cat >> confdefs.h
<<\EOF
7282 #define X_DISPLAY_MISSING 1
7285 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
7287 if test -n "$x_includes"; then
7288 X_CFLAGS
="$X_CFLAGS -I$x_includes"
7291 # It would also be nice to do this for all -L options, not just this one.
7292 if test -n "$x_libraries"; then
7293 X_LIBS
="$X_LIBS -L$x_libraries"
7294 # For Solaris; some versions of Sun CC require a space after -R and
7295 # others require no space. Words are not sufficient . . . .
7296 case "`(uname -sr) 2>/dev/null`" in
7298 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
7299 echo "configure:7300: checking whether -R must be followed by a space" >&5
7300 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
7301 cat > conftest.
$ac_ext <<EOF
7302 #line 7303 "configure"
7303 #include "confdefs.h"
7309 if { (eval echo configure
:7310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7313 echo "configure: failed program was:" >&5
7314 cat conftest.
$ac_ext >&5
7319 if test $ac_R_nospace = yes; then
7320 echo "$ac_t""no" 1>&6
7321 X_LIBS
="$X_LIBS -R$x_libraries"
7323 LIBS
="$ac_xsave_LIBS -R $x_libraries"
7324 cat > conftest.
$ac_ext <<EOF
7325 #line 7326 "configure"
7326 #include "confdefs.h"
7332 if { (eval echo configure
:7333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7336 echo "configure: failed program was:" >&5
7337 cat conftest.
$ac_ext >&5
7342 if test $ac_R_space = yes; then
7343 echo "$ac_t""yes" 1>&6
7344 X_LIBS
="$X_LIBS -R $x_libraries"
7346 echo "$ac_t""neither works" 1>&6
7349 LIBS
="$ac_xsave_LIBS"
7353 # Check for system-dependent libraries X programs must link with.
7354 # Do this before checking for the system-independent R6 libraries
7355 # (-lICE), since we may need -lsocket or whatever for X linking.
7357 if test "$ISC" = yes; then
7358 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
7360 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
7361 # libraries were built with DECnet support. And karl@cs.umb.edu says
7362 # the Alpha needs dnet_stub (dnet does not exist).
7363 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
7364 echo "configure:7365: checking for dnet_ntoa in -ldnet" >&5
7365 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7366 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7367 echo $ac_n "(cached) $ac_c" 1>&6
7369 ac_save_LIBS
="$LIBS"
7371 cat > conftest.
$ac_ext <<EOF
7372 #line 7373 "configure"
7373 #include "confdefs.h"
7374 /* Override any gcc2 internal prototype to avoid an error. */
7375 /* We use char because int might match the return type of a gcc2
7376 builtin and then its argument prototype would still apply. */
7383 if { (eval echo configure
:7384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7385 eval "ac_cv_lib_$ac_lib_var=yes"
7387 echo "configure: failed program was:" >&5
7388 cat conftest.
$ac_ext >&5
7390 eval "ac_cv_lib_$ac_lib_var=no"
7393 LIBS
="$ac_save_LIBS"
7396 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7397 echo "$ac_t""yes" 1>&6
7398 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
7400 echo "$ac_t""no" 1>&6
7403 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
7404 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
7405 echo "configure:7406: checking for dnet_ntoa in -ldnet_stub" >&5
7406 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
7407 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7408 echo $ac_n "(cached) $ac_c" 1>&6
7410 ac_save_LIBS
="$LIBS"
7411 LIBS
="-ldnet_stub $LIBS"
7412 cat > conftest.
$ac_ext <<EOF
7413 #line 7414 "configure"
7414 #include "confdefs.h"
7415 /* Override any gcc2 internal prototype to avoid an error. */
7416 /* We use char because int might match the return type of a gcc2
7417 builtin and then its argument prototype would still apply. */
7424 if { (eval echo configure
:7425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7426 eval "ac_cv_lib_$ac_lib_var=yes"
7428 echo "configure: failed program was:" >&5
7429 cat conftest.
$ac_ext >&5
7431 eval "ac_cv_lib_$ac_lib_var=no"
7434 LIBS
="$ac_save_LIBS"
7437 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7438 echo "$ac_t""yes" 1>&6
7439 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
7441 echo "$ac_t""no" 1>&6
7446 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
7447 # to get the SysV transport functions.
7448 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
7450 # The nsl library prevents programs from opening the X display
7451 # on Irix 5.2, according to dickey@clark.net.
7452 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
7453 echo "configure:7454: checking for gethostbyname" >&5
7454 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
7455 echo $ac_n "(cached) $ac_c" 1>&6
7457 cat > conftest.
$ac_ext <<EOF
7458 #line 7459 "configure"
7459 #include "confdefs.h"
7460 /* System header to define __stub macros and hopefully few prototypes,
7461 which can conflict with char gethostbyname(); below. */
7463 /* Override any gcc2 internal prototype to avoid an error. */
7464 /* We use char because int might match the return type of a gcc2
7465 builtin and then its argument prototype would still apply. */
7466 char gethostbyname();
7471 /* The GNU C library defines this for functions which it implements
7472 to always fail with ENOSYS. Some functions are actually named
7473 something starting with __ and the normal name is an alias. */
7474 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
7482 if { (eval echo configure
:7483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7484 eval "ac_cv_func_gethostbyname=yes"
7486 echo "configure: failed program was:" >&5
7487 cat conftest.
$ac_ext >&5
7489 eval "ac_cv_func_gethostbyname=no"
7494 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
7495 echo "$ac_t""yes" 1>&6
7498 echo "$ac_t""no" 1>&6
7501 if test $ac_cv_func_gethostbyname = no
; then
7502 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
7503 echo "configure:7504: checking for gethostbyname in -lnsl" >&5
7504 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
7505 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7506 echo $ac_n "(cached) $ac_c" 1>&6
7508 ac_save_LIBS
="$LIBS"
7510 cat > conftest.
$ac_ext <<EOF
7511 #line 7512 "configure"
7512 #include "confdefs.h"
7513 /* Override any gcc2 internal prototype to avoid an error. */
7514 /* We use char because int might match the return type of a gcc2
7515 builtin and then its argument prototype would still apply. */
7516 char gethostbyname();
7522 if { (eval echo configure
:7523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7524 eval "ac_cv_lib_$ac_lib_var=yes"
7526 echo "configure: failed program was:" >&5
7527 cat conftest.
$ac_ext >&5
7529 eval "ac_cv_lib_$ac_lib_var=no"
7532 LIBS
="$ac_save_LIBS"
7535 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7536 echo "$ac_t""yes" 1>&6
7537 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
7539 echo "$ac_t""no" 1>&6
7544 # lieder@skyler.mavd.honeywell.com says without -lsocket,
7545 # socket/setsockopt and other routines are undefined under SCO ODT
7546 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
7547 # on later versions), says simon@lia.di.epfl.ch: it contains
7548 # gethostby* variants that don't use the nameserver (or something).
7549 # -lsocket must be given before -lnsl if both are needed.
7550 # We assume that if connect needs -lnsl, so does gethostbyname.
7551 echo $ac_n "checking for connect""... $ac_c" 1>&6
7552 echo "configure:7553: checking for connect" >&5
7553 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
7554 echo $ac_n "(cached) $ac_c" 1>&6
7556 cat > conftest.
$ac_ext <<EOF
7557 #line 7558 "configure"
7558 #include "confdefs.h"
7559 /* System header to define __stub macros and hopefully few prototypes,
7560 which can conflict with char connect(); below. */
7562 /* Override any gcc2 internal prototype to avoid an error. */
7563 /* We use char because int might match the return type of a gcc2
7564 builtin and then its argument prototype would still apply. */
7570 /* The GNU C library defines this for functions which it implements
7571 to always fail with ENOSYS. Some functions are actually named
7572 something starting with __ and the normal name is an alias. */
7573 #if defined (__stub_connect) || defined (__stub___connect)
7581 if { (eval echo configure
:7582: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7583 eval "ac_cv_func_connect=yes"
7585 echo "configure: failed program was:" >&5
7586 cat conftest.
$ac_ext >&5
7588 eval "ac_cv_func_connect=no"
7593 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
7594 echo "$ac_t""yes" 1>&6
7597 echo "$ac_t""no" 1>&6
7600 if test $ac_cv_func_connect = no
; then
7601 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
7602 echo "configure:7603: checking for connect in -lsocket" >&5
7603 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
7604 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7605 echo $ac_n "(cached) $ac_c" 1>&6
7607 ac_save_LIBS
="$LIBS"
7608 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
7609 cat > conftest.
$ac_ext <<EOF
7610 #line 7611 "configure"
7611 #include "confdefs.h"
7612 /* Override any gcc2 internal prototype to avoid an error. */
7613 /* We use char because int might match the return type of a gcc2
7614 builtin and then its argument prototype would still apply. */
7621 if { (eval echo configure
:7622: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7623 eval "ac_cv_lib_$ac_lib_var=yes"
7625 echo "configure: failed program was:" >&5
7626 cat conftest.
$ac_ext >&5
7628 eval "ac_cv_lib_$ac_lib_var=no"
7631 LIBS
="$ac_save_LIBS"
7634 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7635 echo "$ac_t""yes" 1>&6
7636 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
7638 echo "$ac_t""no" 1>&6
7643 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
7644 echo $ac_n "checking for remove""... $ac_c" 1>&6
7645 echo "configure:7646: checking for remove" >&5
7646 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
7647 echo $ac_n "(cached) $ac_c" 1>&6
7649 cat > conftest.
$ac_ext <<EOF
7650 #line 7651 "configure"
7651 #include "confdefs.h"
7652 /* System header to define __stub macros and hopefully few prototypes,
7653 which can conflict with char remove(); below. */
7655 /* Override any gcc2 internal prototype to avoid an error. */
7656 /* We use char because int might match the return type of a gcc2
7657 builtin and then its argument prototype would still apply. */
7663 /* The GNU C library defines this for functions which it implements
7664 to always fail with ENOSYS. Some functions are actually named
7665 something starting with __ and the normal name is an alias. */
7666 #if defined (__stub_remove) || defined (__stub___remove)
7674 if { (eval echo configure
:7675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7676 eval "ac_cv_func_remove=yes"
7678 echo "configure: failed program was:" >&5
7679 cat conftest.
$ac_ext >&5
7681 eval "ac_cv_func_remove=no"
7686 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
7687 echo "$ac_t""yes" 1>&6
7690 echo "$ac_t""no" 1>&6
7693 if test $ac_cv_func_remove = no
; then
7694 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
7695 echo "configure:7696: checking for remove in -lposix" >&5
7696 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
7697 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7698 echo $ac_n "(cached) $ac_c" 1>&6
7700 ac_save_LIBS
="$LIBS"
7701 LIBS
="-lposix $LIBS"
7702 cat > conftest.
$ac_ext <<EOF
7703 #line 7704 "configure"
7704 #include "confdefs.h"
7705 /* Override any gcc2 internal prototype to avoid an error. */
7706 /* We use char because int might match the return type of a gcc2
7707 builtin and then its argument prototype would still apply. */
7714 if { (eval echo configure
:7715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7716 eval "ac_cv_lib_$ac_lib_var=yes"
7718 echo "configure: failed program was:" >&5
7719 cat conftest.
$ac_ext >&5
7721 eval "ac_cv_lib_$ac_lib_var=no"
7724 LIBS
="$ac_save_LIBS"
7727 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7728 echo "$ac_t""yes" 1>&6
7729 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
7731 echo "$ac_t""no" 1>&6
7736 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
7737 echo $ac_n "checking for shmat""... $ac_c" 1>&6
7738 echo "configure:7739: checking for shmat" >&5
7739 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
7740 echo $ac_n "(cached) $ac_c" 1>&6
7742 cat > conftest.
$ac_ext <<EOF
7743 #line 7744 "configure"
7744 #include "confdefs.h"
7745 /* System header to define __stub macros and hopefully few prototypes,
7746 which can conflict with char shmat(); below. */
7748 /* Override any gcc2 internal prototype to avoid an error. */
7749 /* We use char because int might match the return type of a gcc2
7750 builtin and then its argument prototype would still apply. */
7756 /* The GNU C library defines this for functions which it implements
7757 to always fail with ENOSYS. Some functions are actually named
7758 something starting with __ and the normal name is an alias. */
7759 #if defined (__stub_shmat) || defined (__stub___shmat)
7767 if { (eval echo configure
:7768: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7769 eval "ac_cv_func_shmat=yes"
7771 echo "configure: failed program was:" >&5
7772 cat conftest.
$ac_ext >&5
7774 eval "ac_cv_func_shmat=no"
7779 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
7780 echo "$ac_t""yes" 1>&6
7783 echo "$ac_t""no" 1>&6
7786 if test $ac_cv_func_shmat = no
; then
7787 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
7788 echo "configure:7789: checking for shmat in -lipc" >&5
7789 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
7790 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7791 echo $ac_n "(cached) $ac_c" 1>&6
7793 ac_save_LIBS
="$LIBS"
7795 cat > conftest.
$ac_ext <<EOF
7796 #line 7797 "configure"
7797 #include "confdefs.h"
7798 /* Override any gcc2 internal prototype to avoid an error. */
7799 /* We use char because int might match the return type of a gcc2
7800 builtin and then its argument prototype would still apply. */
7807 if { (eval echo configure
:7808: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7809 eval "ac_cv_lib_$ac_lib_var=yes"
7811 echo "configure: failed program was:" >&5
7812 cat conftest.
$ac_ext >&5
7814 eval "ac_cv_lib_$ac_lib_var=no"
7817 LIBS
="$ac_save_LIBS"
7820 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7821 echo "$ac_t""yes" 1>&6
7822 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
7824 echo "$ac_t""no" 1>&6
7830 # Check for libraries that X11R6 Xt/Xaw programs need.
7831 ac_save_LDFLAGS
="$LDFLAGS"
7832 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
7833 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
7834 # check for ICE first), but we must link in the order -lSM -lICE or
7835 # we get undefined symbols. So assume we have SM if we have ICE.
7836 # These have to be linked with before -lX11, unlike the other
7837 # libraries we check for below, so use a different variable.
7838 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
7839 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
7840 echo "configure:7841: checking for IceConnectionNumber in -lICE" >&5
7841 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
7842 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7843 echo $ac_n "(cached) $ac_c" 1>&6
7845 ac_save_LIBS
="$LIBS"
7846 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
7847 cat > conftest.
$ac_ext <<EOF
7848 #line 7849 "configure"
7849 #include "confdefs.h"
7850 /* Override any gcc2 internal prototype to avoid an error. */
7851 /* We use char because int might match the return type of a gcc2
7852 builtin and then its argument prototype would still apply. */
7853 char IceConnectionNumber();
7856 IceConnectionNumber()
7859 if { (eval echo configure
:7860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7861 eval "ac_cv_lib_$ac_lib_var=yes"
7863 echo "configure: failed program was:" >&5
7864 cat conftest.
$ac_ext >&5
7866 eval "ac_cv_lib_$ac_lib_var=no"
7869 LIBS
="$ac_save_LIBS"
7872 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7873 echo "$ac_t""yes" 1>&6
7874 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
7876 echo "$ac_t""no" 1>&6
7879 LDFLAGS
="$ac_save_LDFLAGS"
7884 if test "$no_x" = "yes"; then
7885 { echo "configure: error: X11 libraries not found" 1>&2; exit 1; }
7888 TOOLKIT_INCLUDE
="$X_CFLAGS"
7889 GUI_TK_LIBRARY
="$X_LIBS"
7891 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
7892 echo "configure:7893: checking for Motif/Lesstif includes" >&5
7895 for ac_dir
in $SEARCH_INCLUDE;
7897 if test -f "$ac_dir/Xm/Xm.h"; then
7898 ac_find_includes
=$ac_dir
7903 if test "$ac_find_includes" != "" ; then
7904 echo "$ac_t""found $ac_find_includes" 1>&6
7906 echo "$ac_t""no" 1>&6
7907 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
7910 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
7911 echo "configure:7912: checking for Motif/Lesstif library" >&5
7914 for ac_dir
in $SEARCH_LIB;
7916 for ac_extension
in a so sl
; do
7917 if test -f "$ac_dir/libXm.$ac_extension"; then
7918 ac_find_libraries
=$ac_dir
7924 if test "$ac_find_libraries" != "" ; then
7926 ac_path_to_include
=$ac_find_includes
7927 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7929 if test $result = 0; then
7930 ac_path_to_include
=""
7932 ac_path_to_include
="-I$ac_find_includes"
7936 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7938 if test $result = 0; then
7941 ac_path_to_link
="-L$ac_find_libraries"
7945 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7946 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
7947 echo "$ac_t""found at $ac_find_libraries" 1>&6
7949 echo "$ac_t""no" 1>&6
7950 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
7953 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
7954 echo "configure:7955: checking for Xt library" >&5
7957 for ac_dir
in $SEARCH_LIB;
7959 for ac_extension
in a so sl
; do
7960 if test -f "$ac_dir/libXt.$ac_extension"; then
7961 ac_find_libraries
=$ac_dir
7967 if test "$ac_find_libraries" != "" ; then
7969 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
7971 if test $result = 0; then
7974 ac_path_to_link
="-L$ac_find_libraries"
7977 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
7978 echo "$ac_t""found at $ac_find_libraries" 1>&6
7980 echo "$ac_t""no" 1>&6
7981 { echo "configure: error: please set LDFLAGS to contain the location of libXt" 1>&2; exit 1; }
7985 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7986 echo "configure:7987: checking for Xpm library" >&5
7989 for ac_dir
in $SEARCH_LIB;
7991 for ac_extension
in a so sl
; do
7992 if test -f "$ac_dir/libXpm.$ac_extension"; then
7993 ac_find_libraries
=$ac_dir
7999 if test "$ac_find_libraries" != "" ; then
8001 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8003 if test $result = 0; then
8006 ac_path_to_link
="-L$ac_find_libraries"
8009 CHECK_LINK
="$GUI_TK_LIBRARY $ac_path_to_link"
8011 cat >> confdefs.h
<<\EOF
8012 #define wxHAVE_LIB_XPM 1
8015 echo "$ac_t""found at $ac_find_libraries" 1>&6
8017 echo "$ac_t""no" 1>&6
8018 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8021 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXt -lX11 -lm"
8022 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8025 GUIHEADERS
="\$(MOTIF_HEADERS)"
8026 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8027 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8028 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8029 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8030 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8031 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8032 UNIXOBJS
="\$(UNIX_OBJS)"
8036 if test "$wxUSE_GTK" = 1 || test "$wxUSE_MOTIF" = 1 || test "$wxUSE_WINE" = 1; then
8037 echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
8038 echo "configure:8039: checking for main in -ldl" >&5
8039 ac_lib_var
=`echo dl'_'main | sed 'y%./+-%__p_%'`
8040 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8041 echo $ac_n "(cached) $ac_c" 1>&6
8043 ac_save_LIBS
="$LIBS"
8045 cat > conftest.
$ac_ext <<EOF
8046 #line 8047 "configure"
8047 #include "confdefs.h"
8053 if { (eval echo configure
:8054: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8055 eval "ac_cv_lib_$ac_lib_var=yes"
8057 echo "configure: failed program was:" >&5
8058 cat conftest.
$ac_ext >&5
8060 eval "ac_cv_lib_$ac_lib_var=no"
8063 LIBS
="$ac_save_LIBS"
8066 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8067 echo "$ac_t""yes" 1>&6
8068 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -ldl"
8070 echo "$ac_t""no" 1>&6
8075 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "A-Z" "a-z"`
8077 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
8079 WX_LIBRARY
="wx_${TOOLKIT_DIR}"
8081 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(JPEGOBJS) \$(PNGOBJS) \$(ZLIBOBJS)"
8082 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS)"
8083 ALL_HEADERS
="\$(GUIHEADERS) \$(HTML_HEADERS) \$(UNIX_HEADERS) \$(PROTOCOL_HEADERS) \$(GENERIC_HEADERS) \$(WX_HEADERS)"
8086 ALL_OBJECTS
="\$(BASE_OBJS)"
8087 ALL_DEPFILES
="\${BASE_DEPS}"
8088 ALL_HEADERS
="\${BASE_HEADERS}"
8093 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
8095 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
8097 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
8099 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
8100 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
8101 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
8107 if test "$wxUSE_SHARED" = "yes"; then
8108 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
8112 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_DIR}.sl"
8113 SHARED_LD
="${CXX} -b -o"
8117 SHARED_LD
="${CC} -shared -o"
8119 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
8120 WX_CREATE_LINKS
="CREATE_LINKS"
8122 *-*-irix5* | *-*-irix6* )
8123 if test "$GCC" = yes ; then
8124 SHARED_LD
="${CC} -shared -o"
8127 SHARED_LD
="${CXX} -shared -o"
8129 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
8130 WX_CREATE_LINKS
="CREATE_LINKS"
8133 if test "$GCC" = yes ; then
8134 SHARED_LD
="${CC} -shared -o"
8137 SHARED_LD
="${CXX} -G -o"
8140 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
8141 WX_CREATE_LINKS
="CREATE_LINKS"
8144 SHARED_LD
="${CC} -shared -o"
8146 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
8147 WX_CREATE_LINKS
="CREATE_LINKS"
8149 *-*-freebsd* | *-*-netbsd*)
8150 SHARED_LD
="${CC} -shared -o"
8152 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
8153 WX_CREATE_LINKS
="CREATE_LINKS"
8156 SHARED_LD
="${CXX} -shared -o"
8158 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
8159 WX_CREATE_LINKS
="CREATE_LINKS"
8162 SHARED_LD
="${CXX} -shared -o"
8164 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
8165 WX_CREATE_LINKS
="CREATE_LINKS"
8168 SHARED_LD
="${CC} -shared -o"
8170 WX_CREATE_INSTALLED_LINKS
="CREATE_INSTALLED_LINKS"
8171 WX_CREATE_LINKS
="CREATE_LINKS"
8174 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
8177 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8180 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8185 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
8189 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
8193 for ac_hdr
in strings.h
8195 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8196 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8197 echo "configure:8198: checking for $ac_hdr" >&5
8198 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8199 echo $ac_n "(cached) $ac_c" 1>&6
8201 cat > conftest.
$ac_ext <<EOF
8202 #line 8203 "configure"
8203 #include "confdefs.h"
8206 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8207 { (eval echo configure
:8208: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8208 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8209 if test -z "$ac_err"; then
8211 eval "ac_cv_header_$ac_safe=yes"
8214 echo "configure: failed program was:" >&5
8215 cat conftest.
$ac_ext >&5
8217 eval "ac_cv_header_$ac_safe=no"
8221 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8222 echo "$ac_t""yes" 1>&6
8223 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8224 cat >> confdefs.h
<<EOF
8225 #define $ac_tr_hdr 1
8229 echo "$ac_t""no" 1>&6
8233 for ac_hdr
in unistd.h
8235 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8236 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8237 echo "configure:8238: checking for $ac_hdr" >&5
8238 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8239 echo $ac_n "(cached) $ac_c" 1>&6
8241 cat > conftest.
$ac_ext <<EOF
8242 #line 8243 "configure"
8243 #include "confdefs.h"
8246 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8247 { (eval echo configure
:8248: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8248 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8249 if test -z "$ac_err"; then
8251 eval "ac_cv_header_$ac_safe=yes"
8254 echo "configure: failed program was:" >&5
8255 cat conftest.
$ac_ext >&5
8257 eval "ac_cv_header_$ac_safe=no"
8261 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8262 echo "$ac_t""yes" 1>&6
8263 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8264 cat >> confdefs.h
<<EOF
8265 #define $ac_tr_hdr 1
8269 echo "$ac_t""no" 1>&6
8273 for ac_hdr
in wchar.h
8275 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8276 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8277 echo "configure:8278: checking for $ac_hdr" >&5
8278 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8279 echo $ac_n "(cached) $ac_c" 1>&6
8281 cat > conftest.
$ac_ext <<EOF
8282 #line 8283 "configure"
8283 #include "confdefs.h"
8286 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8287 { (eval echo configure
:8288: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8288 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8289 if test -z "$ac_err"; then
8291 eval "ac_cv_header_$ac_safe=yes"
8294 echo "configure: failed program was:" >&5
8295 cat conftest.
$ac_ext >&5
8297 eval "ac_cv_header_$ac_safe=no"
8301 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8302 echo "$ac_t""yes" 1>&6
8303 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8304 cat >> confdefs.h
<<EOF
8305 #define $ac_tr_hdr 1
8309 echo "$ac_t""no" 1>&6
8313 for ac_hdr
in wcstr.h
8315 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8316 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8317 echo "configure:8318: checking for $ac_hdr" >&5
8318 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8319 echo $ac_n "(cached) $ac_c" 1>&6
8321 cat > conftest.
$ac_ext <<EOF
8322 #line 8323 "configure"
8323 #include "confdefs.h"
8326 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8327 { (eval echo configure
:8328: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8328 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8329 if test -z "$ac_err"; then
8331 eval "ac_cv_header_$ac_safe=yes"
8334 echo "configure: failed program was:" >&5
8335 cat conftest.
$ac_ext >&5
8337 eval "ac_cv_header_$ac_safe=no"
8341 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8342 echo "$ac_t""yes" 1>&6
8343 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8344 cat >> confdefs.h
<<EOF
8345 #define $ac_tr_hdr 1
8349 echo "$ac_t""no" 1>&6
8353 for ac_hdr
in fnmatch.h
8355 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8356 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8357 echo "configure:8358: checking for $ac_hdr" >&5
8358 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8359 echo $ac_n "(cached) $ac_c" 1>&6
8361 cat > conftest.
$ac_ext <<EOF
8362 #line 8363 "configure"
8363 #include "confdefs.h"
8366 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8367 { (eval echo configure
:8368: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8368 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8369 if test -z "$ac_err"; then
8371 eval "ac_cv_header_$ac_safe=yes"
8374 echo "configure: failed program was:" >&5
8375 cat conftest.
$ac_ext >&5
8377 eval "ac_cv_header_$ac_safe=no"
8381 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8382 echo "$ac_t""yes" 1>&6
8383 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8384 cat >> confdefs.h
<<EOF
8385 #define $ac_tr_hdr 1
8389 echo "$ac_t""no" 1>&6
8394 if test "$wxUSE_GUI" = "yes"; then
8395 for ac_hdr
in X
11/XKBlib.h
8397 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
8398 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
8399 echo "configure:8400: checking for $ac_hdr" >&5
8400 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
8401 echo $ac_n "(cached) $ac_c" 1>&6
8403 cat > conftest.
$ac_ext <<EOF
8404 #line 8405 "configure"
8405 #include "confdefs.h"
8408 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8409 { (eval echo configure
:8410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8410 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8411 if test -z "$ac_err"; then
8413 eval "ac_cv_header_$ac_safe=yes"
8416 echo "configure: failed program was:" >&5
8417 cat conftest.
$ac_ext >&5
8419 eval "ac_cv_header_$ac_safe=no"
8423 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
8424 echo "$ac_t""yes" 1>&6
8425 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
8426 cat >> confdefs.h
<<EOF
8427 #define $ac_tr_hdr 1
8431 echo "$ac_t""no" 1>&6
8438 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
8439 echo "configure:8440: checking for ANSI C header files" >&5
8440 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
8441 echo $ac_n "(cached) $ac_c" 1>&6
8443 cat > conftest.
$ac_ext <<EOF
8444 #line 8445 "configure"
8445 #include "confdefs.h"
8451 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
8452 { (eval echo configure
:8453: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
8453 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
8454 if test -z "$ac_err"; then
8456 ac_cv_header_stdc
=yes
8459 echo "configure: failed program was:" >&5
8460 cat conftest.
$ac_ext >&5
8462 ac_cv_header_stdc
=no
8466 if test $ac_cv_header_stdc = yes; then
8467 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8468 cat > conftest.
$ac_ext <<EOF
8469 #line 8470 "configure"
8470 #include "confdefs.h"
8473 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8474 egrep "memchr" >/dev
/null
2>&1; then
8478 ac_cv_header_stdc
=no
8484 if test $ac_cv_header_stdc = yes; then
8485 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8486 cat > conftest.
$ac_ext <<EOF
8487 #line 8488 "configure"
8488 #include "confdefs.h"
8491 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8492 egrep "free" >/dev
/null
2>&1; then
8496 ac_cv_header_stdc
=no
8502 if test $ac_cv_header_stdc = yes; then
8503 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8504 if test "$cross_compiling" = yes; then
8507 cat > conftest.
$ac_ext <<EOF
8508 #line 8509 "configure"
8509 #include "confdefs.h"
8511 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8512 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8513 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8514 int main () { int i; for (i = 0; i < 256; i++)
8515 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
8519 if { (eval echo configure
:8520: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8523 echo "configure: failed program was:" >&5
8524 cat conftest.
$ac_ext >&5
8526 ac_cv_header_stdc
=no
8534 echo "$ac_t""$ac_cv_header_stdc" 1>&6
8535 if test $ac_cv_header_stdc = yes; then
8536 cat >> confdefs.h
<<\EOF
8537 #define STDC_HEADERS 1
8542 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
8543 echo "configure:8544: checking for mode_t" >&5
8544 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
8545 echo $ac_n "(cached) $ac_c" 1>&6
8547 cat > conftest.
$ac_ext <<EOF
8548 #line 8549 "configure"
8549 #include "confdefs.h"
8550 #include <sys/types.h>
8556 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8557 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8559 ac_cv_type_mode_t
=yes
8562 ac_cv_type_mode_t
=no
8567 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
8568 if test $ac_cv_type_mode_t = no
; then
8569 cat >> confdefs.h
<<\EOF
8575 echo $ac_n "checking for off_t""... $ac_c" 1>&6
8576 echo "configure:8577: checking for off_t" >&5
8577 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
8578 echo $ac_n "(cached) $ac_c" 1>&6
8580 cat > conftest.
$ac_ext <<EOF
8581 #line 8582 "configure"
8582 #include "confdefs.h"
8583 #include <sys/types.h>
8589 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8590 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8592 ac_cv_type_off_t
=yes
8600 echo "$ac_t""$ac_cv_type_off_t" 1>&6
8601 if test $ac_cv_type_off_t = no
; then
8602 cat >> confdefs.h
<<\EOF
8608 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
8609 echo "configure:8610: checking for pid_t" >&5
8610 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
8611 echo $ac_n "(cached) $ac_c" 1>&6
8613 cat > conftest.
$ac_ext <<EOF
8614 #line 8615 "configure"
8615 #include "confdefs.h"
8616 #include <sys/types.h>
8622 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8623 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8625 ac_cv_type_pid_t
=yes
8633 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
8634 if test $ac_cv_type_pid_t = no
; then
8635 cat >> confdefs.h
<<\EOF
8641 echo $ac_n "checking for size_t""... $ac_c" 1>&6
8642 echo "configure:8643: checking for size_t" >&5
8643 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
8644 echo $ac_n "(cached) $ac_c" 1>&6
8646 cat > conftest.
$ac_ext <<EOF
8647 #line 8648 "configure"
8648 #include "confdefs.h"
8649 #include <sys/types.h>
8655 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8656 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
8658 ac_cv_type_size_t
=yes
8661 ac_cv_type_size_t
=no
8666 echo "$ac_t""$ac_cv_type_size_t" 1>&6
8667 if test $ac_cv_type_size_t = no
; then
8668 cat >> confdefs.h
<<\EOF
8669 #define size_t unsigned
8674 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
8675 echo "configure:8676: checking for uid_t in sys/types.h" >&5
8676 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
8677 echo $ac_n "(cached) $ac_c" 1>&6
8679 cat > conftest.
$ac_ext <<EOF
8680 #line 8681 "configure"
8681 #include "confdefs.h"
8682 #include <sys/types.h>
8684 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8685 egrep "uid_t" >/dev
/null
2>&1; then
8687 ac_cv_type_uid_t
=yes
8696 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
8697 if test $ac_cv_type_uid_t = no
; then
8698 cat >> confdefs.h
<<\EOF
8702 cat >> confdefs.h
<<\EOF
8711 echo $ac_n "checking for working const""... $ac_c" 1>&6
8712 echo "configure:8713: checking for working const" >&5
8713 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
8714 echo $ac_n "(cached) $ac_c" 1>&6
8716 cat > conftest.
$ac_ext <<EOF
8717 #line 8718 "configure"
8718 #include "confdefs.h"
8722 /* Ultrix mips cc rejects this. */
8723 typedef int charset[2]; const charset x;
8724 /* SunOS 4.1.1 cc rejects this. */
8725 char const *const *ccp;
8727 /* NEC SVR4.0.2 mips cc rejects this. */
8728 struct point {int x, y;};
8729 static struct point const zero = {0,0};
8730 /* AIX XL C 1.02.0.0 rejects this.
8731 It does not let you subtract one const X* pointer from another in an arm
8732 of an if-expression whose if-part is not a constant expression */
8733 const char *g = "string";
8734 ccp = &g + (g ? g-g : 0);
8735 /* HPUX 7.0 cc rejects these. */
8738 ccp = (char const *const *) p;
8739 { /* SCO 3.2v4 cc rejects this. */
8741 char const *s = 0 ? (char *) 0 : (char const *) 0;
8745 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
8747 const int *foo = &x[0];
8750 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
8751 typedef const int *iptr;
8755 { /* AIX XL C 1.02.0.0 rejects this saying
8756 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
8757 struct s { int j; const int *ap[3]; };
8758 struct s *b; b->j = 5;
8760 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
8766 if { (eval echo configure
:8767: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8770 echo "configure: failed program was:" >&5
8771 cat conftest.
$ac_ext >&5
8778 echo "$ac_t""$ac_cv_c_const" 1>&6
8779 if test $ac_cv_c_const = no
; then
8780 cat >> confdefs.h
<<\EOF
8786 echo $ac_n "checking for inline""... $ac_c" 1>&6
8787 echo "configure:8788: checking for inline" >&5
8788 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
8789 echo $ac_n "(cached) $ac_c" 1>&6
8792 for ac_kw
in inline __inline__ __inline
; do
8793 cat > conftest.
$ac_ext <<EOF
8794 #line 8795 "configure"
8795 #include "confdefs.h"
8801 if { (eval echo configure
:8802: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8803 ac_cv_c_inline
=$ac_kw; break
8805 echo "configure: failed program was:" >&5
8806 cat conftest.
$ac_ext >&5
8813 echo "$ac_t""$ac_cv_c_inline" 1>&6
8814 case "$ac_cv_c_inline" in
8816 no
) cat >> confdefs.h
<<\EOF
8820 *) cat >> confdefs.h
<<EOF
8821 #define inline $ac_cv_c_inline
8827 echo $ac_n "checking size of char""... $ac_c" 1>&6
8828 echo "configure:8829: checking size of char" >&5
8829 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
8830 echo $ac_n "(cached) $ac_c" 1>&6
8832 if test "$cross_compiling" = yes; then
8835 cat > conftest.
$ac_ext <<EOF
8836 #line 8837 "configure"
8837 #include "confdefs.h"
8841 FILE *f=fopen("conftestval", "w");
8843 fprintf(f, "%d\n", sizeof(char));
8847 if { (eval echo configure
:8848: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8849 ac_cv_sizeof_char
=`cat conftestval`
8851 echo "configure: failed program was:" >&5
8852 cat conftest.
$ac_ext >&5
8860 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
8861 cat >> confdefs.h
<<EOF
8862 #define SIZEOF_CHAR $ac_cv_sizeof_char
8866 echo $ac_n "checking size of short""... $ac_c" 1>&6
8867 echo "configure:8868: checking size of short" >&5
8868 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
8869 echo $ac_n "(cached) $ac_c" 1>&6
8871 if test "$cross_compiling" = yes; then
8872 ac_cv_sizeof_short
=2
8874 cat > conftest.
$ac_ext <<EOF
8875 #line 8876 "configure"
8876 #include "confdefs.h"
8880 FILE *f=fopen("conftestval", "w");
8882 fprintf(f, "%d\n", sizeof(short));
8886 if { (eval echo configure
:8887: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8888 ac_cv_sizeof_short
=`cat conftestval`
8890 echo "configure: failed program was:" >&5
8891 cat conftest.
$ac_ext >&5
8893 ac_cv_sizeof_short
=0
8899 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
8900 cat >> confdefs.h
<<EOF
8901 #define SIZEOF_SHORT $ac_cv_sizeof_short
8905 echo $ac_n "checking size of int *""... $ac_c" 1>&6
8906 echo "configure:8907: checking size of int *" >&5
8907 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
8908 echo $ac_n "(cached) $ac_c" 1>&6
8910 if test "$cross_compiling" = yes; then
8911 ac_cv_sizeof_int_p
=4
8913 cat > conftest.
$ac_ext <<EOF
8914 #line 8915 "configure"
8915 #include "confdefs.h"
8919 FILE *f=fopen("conftestval", "w");
8921 fprintf(f, "%d\n", sizeof(int *));
8925 if { (eval echo configure
:8926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8927 ac_cv_sizeof_int_p
=`cat conftestval`
8929 echo "configure: failed program was:" >&5
8930 cat conftest.
$ac_ext >&5
8932 ac_cv_sizeof_int_p
=0
8938 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
8939 cat >> confdefs.h
<<EOF
8940 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
8944 echo $ac_n "checking size of int""... $ac_c" 1>&6
8945 echo "configure:8946: checking size of int" >&5
8946 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
8947 echo $ac_n "(cached) $ac_c" 1>&6
8949 if test "$cross_compiling" = yes; then
8952 cat > conftest.
$ac_ext <<EOF
8953 #line 8954 "configure"
8954 #include "confdefs.h"
8958 FILE *f=fopen("conftestval", "w");
8960 fprintf(f, "%d\n", sizeof(int));
8964 if { (eval echo configure
:8965: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
8966 ac_cv_sizeof_int
=`cat conftestval`
8968 echo "configure: failed program was:" >&5
8969 cat conftest.
$ac_ext >&5
8977 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
8978 cat >> confdefs.h
<<EOF
8979 #define SIZEOF_INT $ac_cv_sizeof_int
8983 echo $ac_n "checking size of long""... $ac_c" 1>&6
8984 echo "configure:8985: checking size of long" >&5
8985 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
8986 echo $ac_n "(cached) $ac_c" 1>&6
8988 if test "$cross_compiling" = yes; then
8991 cat > conftest.
$ac_ext <<EOF
8992 #line 8993 "configure"
8993 #include "confdefs.h"
8997 FILE *f=fopen("conftestval", "w");
8999 fprintf(f, "%d\n", sizeof(long));
9003 if { (eval echo configure
:9004: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9005 ac_cv_sizeof_long
=`cat conftestval`
9007 echo "configure: failed program was:" >&5
9008 cat conftest.
$ac_ext >&5
9016 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
9017 cat >> confdefs.h
<<EOF
9018 #define SIZEOF_LONG $ac_cv_sizeof_long
9022 echo $ac_n "checking size of long long""... $ac_c" 1>&6
9023 echo "configure:9024: checking size of long long" >&5
9024 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
9025 echo $ac_n "(cached) $ac_c" 1>&6
9027 if test "$cross_compiling" = yes; then
9028 ac_cv_sizeof_long_long
=0
9030 cat > conftest.
$ac_ext <<EOF
9031 #line 9032 "configure"
9032 #include "confdefs.h"
9036 FILE *f=fopen("conftestval", "w");
9038 fprintf(f, "%d\n", sizeof(long long));
9042 if { (eval echo configure
:9043: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9044 ac_cv_sizeof_long_long
=`cat conftestval`
9046 echo "configure: failed program was:" >&5
9047 cat conftest.
$ac_ext >&5
9049 ac_cv_sizeof_long_long
=0
9055 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
9056 cat >> confdefs.h
<<EOF
9057 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
9062 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
9063 echo "configure:9064: checking whether byte ordering is bigendian" >&5
9064 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
9065 echo $ac_n "(cached) $ac_c" 1>&6
9067 ac_cv_c_bigendian
=unknown
9068 # See if sys/param.h defines the BYTE_ORDER macro.
9069 cat > conftest.
$ac_ext <<EOF
9070 #line 9071 "configure"
9071 #include "confdefs.h"
9072 #include <sys/types.h>
9073 #include <sys/param.h>
9076 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
9081 if { (eval echo configure
:9082: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9083 # It does; now see whether it defined to BIG_ENDIAN or not.
9084 cat > conftest.
$ac_ext <<EOF
9085 #line 9086 "configure"
9086 #include "confdefs.h"
9087 #include <sys/types.h>
9088 #include <sys/param.h>
9091 #if BYTE_ORDER != BIG_ENDIAN
9096 if { (eval echo configure
:9097: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9098 ac_cv_c_bigendian
=yes
9100 echo "configure: failed program was:" >&5
9101 cat conftest.
$ac_ext >&5
9103 ac_cv_c_bigendian
=no
9107 echo "configure: failed program was:" >&5
9108 cat conftest.
$ac_ext >&5
9111 if test $ac_cv_c_bigendian = unknown
; then
9112 if test "$cross_compiling" = yes; then
9113 ac_cv_c_bigendian
=unknown
9115 cat > conftest.
$ac_ext <<EOF
9116 #line 9117 "configure"
9117 #include "confdefs.h"
9119 /* Are we little or big endian? From Harbison&Steele. */
9123 char c[sizeof (long)];
9126 exit (u.c[sizeof (long) - 1] == 1);
9129 if { (eval echo configure
:9130: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9131 ac_cv_c_bigendian
=no
9133 echo "configure: failed program was:" >&5
9134 cat conftest.
$ac_ext >&5
9136 ac_cv_c_bigendian
=yes
9144 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
9145 if test $ac_cv_c_bigendian = unknown
; then
9146 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
9148 if test $ac_cv_c_bigendian = yes; then
9149 cat >> confdefs.h
<<\EOF
9150 #define WORDS_BIGENDIAN 1
9157 if test "$cross_compiling" = "yes"; then
9158 cat >> confdefs.h
<<\EOF
9159 #define wxUSE_IOSTREAMH 1
9165 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9166 ac_cpp
='$CXXCPP $CPPFLAGS'
9167 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9168 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9169 cross_compiling
=$ac_cv_prog_cxx_cross
9172 for ac_hdr
in iostream
9174 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9175 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9176 echo "configure:9177: checking for $ac_hdr" >&5
9177 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9178 echo $ac_n "(cached) $ac_c" 1>&6
9180 cat > conftest.
$ac_ext <<EOF
9181 #line 9182 "configure"
9182 #include "confdefs.h"
9185 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9186 { (eval echo configure
:9187: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9187 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9188 if test -z "$ac_err"; then
9190 eval "ac_cv_header_$ac_safe=yes"
9193 echo "configure: failed program was:" >&5
9194 cat conftest.
$ac_ext >&5
9196 eval "ac_cv_header_$ac_safe=no"
9200 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9201 echo "$ac_t""yes" 1>&6
9202 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9203 cat >> confdefs.h
<<EOF
9204 #define $ac_tr_hdr 1
9208 echo "$ac_t""no" 1>&6
9213 if test "x$HAVE_IOSTREAM" = x
; then
9214 cat >> confdefs.h
<<\EOF
9215 #define wxUSE_IOSTREAMH 1
9223 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9224 ac_cpp
='$CPP $CPPFLAGS'
9225 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9226 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9227 cross_compiling
=$ac_cv_prog_cc_cross
9233 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
9234 echo "configure:9235: checking if C++ compiler supports bool" >&5
9235 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
9236 echo $ac_n "(cached) $ac_c" 1>&6
9241 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9242 ac_cpp
='$CXXCPP $CPPFLAGS'
9243 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9244 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9245 cross_compiling
=$ac_cv_prog_cxx_cross
9248 cat > conftest.
$ac_ext <<EOF
9249 #line 9250 "configure"
9250 #include "confdefs.h"
9261 if { (eval echo configure
:9262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9264 cat >> confdefs.h
<<\EOF
9271 echo "configure: failed program was:" >&5
9272 cat conftest.
$ac_ext >&5
9282 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9283 ac_cpp
='$CPP $CPPFLAGS'
9284 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9285 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9286 cross_compiling
=$ac_cv_prog_cc_cross
9291 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
9293 if test "$wx_cv_cpp_bool" = "yes"; then
9294 cat >> confdefs.h
<<\EOF
9302 echo $ac_n "checking if size_t and int are different types""... $ac_c" 1>&6
9303 echo "configure:9304: checking if size_t and int are different types" >&5
9304 if eval "test \"`echo '$''{'wx_cv_cpp_sizet_not_int'+set}'`\" = set"; then
9305 echo $ac_n "(cached) $ac_c" 1>&6
9310 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9311 ac_cpp
='$CXXCPP $CPPFLAGS'
9312 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9313 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9314 cross_compiling
=$ac_cv_prog_cxx_cross
9317 if test "$cross_compiling" = yes; then
9318 wx_cv_cpp_sizet_not_int
=no
9321 cat > conftest.
$ac_ext <<EOF
9322 #line 9323 "configure"
9323 #include "confdefs.h"
9325 extern "C" void exit(int);
9333 S(char *s) { m_s = s; }
9335 char operator[](size_t n) const { return m_s[n]; }
9336 char operator[](int n) const { return m_s[n]; }
9348 return s[n1] == s[n2];
9352 if { (eval echo configure
:9353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9354 cat >> confdefs.h
<<\EOF
9355 #define wxUSE_SIZE_T_STRING_OPERATOR 1
9357 wx_cv_cpp_sizet_not_int
=yes
9359 echo "configure: failed program was:" >&5
9360 cat conftest.
$ac_ext >&5
9362 wx_cv_cpp_sizet_not_int
=no
9369 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9370 ac_cpp
='$CPP $CPPFLAGS'
9371 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9372 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9373 cross_compiling
=$ac_cv_prog_cc_cross
9378 echo "$ac_t""$wx_cv_cpp_sizet_not_int" 1>&6
9382 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
9383 echo "configure:9384: checking if you need GNU extensions" >&5
9384 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
9385 echo $ac_n "(cached) $ac_c" 1>&6
9388 cat > conftest.
$ac_ext <<EOF
9389 #line 9390 "configure"
9390 #include "confdefs.h"
9391 #include <features.h>
9395 #ifndef __GNU_LIBRARY__
9396 Compile error wanted
9402 if { (eval echo configure
:9403: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9404 wx_cv_gnu_extensions
=yes
9406 echo "configure: failed program was:" >&5
9407 cat conftest.
$ac_ext >&5
9409 wx_cv_gnu_extensions
=no
9416 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
9417 if test "$wx_cv_gnu_extensions" = "yes"; then
9418 cat >> confdefs.h
<<EOF
9419 #define _GNU_SOURCE 1
9426 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
9427 echo "configure:9428: checking for wcslen in -lc" >&5
9428 ac_lib_var
=`echo c'_'wcslen | sed 'y%./+-%__p_%'`
9429 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9430 echo $ac_n "(cached) $ac_c" 1>&6
9432 ac_save_LIBS
="$LIBS"
9434 cat > conftest.
$ac_ext <<EOF
9435 #line 9436 "configure"
9436 #include "confdefs.h"
9437 /* Override any gcc2 internal prototype to avoid an error. */
9438 /* We use char because int might match the return type of a gcc2
9439 builtin and then its argument prototype would still apply. */
9446 if { (eval echo configure
:9447: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9448 eval "ac_cv_lib_$ac_lib_var=yes"
9450 echo "configure: failed program was:" >&5
9451 cat conftest.
$ac_ext >&5
9453 eval "ac_cv_lib_$ac_lib_var=no"
9456 LIBS
="$ac_save_LIBS"
9459 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9460 echo "$ac_t""yes" 1>&6
9462 cat >> confdefs.h
<<\EOF
9463 #define HAVE_WCSLEN 1
9469 echo "$ac_t""no" 1>&6
9471 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
9472 echo "configure:9473: checking for wcslen in -lw" >&5
9473 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
9474 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9475 echo $ac_n "(cached) $ac_c" 1>&6
9477 ac_save_LIBS
="$LIBS"
9479 cat > conftest.
$ac_ext <<EOF
9480 #line 9481 "configure"
9481 #include "confdefs.h"
9482 /* Override any gcc2 internal prototype to avoid an error. */
9483 /* We use char because int might match the return type of a gcc2
9484 builtin and then its argument prototype would still apply. */
9491 if { (eval echo configure
:9492: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9493 eval "ac_cv_lib_$ac_lib_var=yes"
9495 echo "configure: failed program was:" >&5
9496 cat conftest.
$ac_ext >&5
9498 eval "ac_cv_lib_$ac_lib_var=no"
9501 LIBS
="$ac_save_LIBS"
9504 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9505 echo "$ac_t""yes" 1>&6
9507 cat >> confdefs.h
<<\EOF
9508 #define HAVE_WCSLEN 1
9514 echo "$ac_t""no" 1>&6
9521 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
9522 echo "configure:9523: checking for vprintf" >&5
9523 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
9524 echo $ac_n "(cached) $ac_c" 1>&6
9526 cat > conftest.
$ac_ext <<EOF
9527 #line 9528 "configure"
9528 #include "confdefs.h"
9529 /* System header to define __stub macros and hopefully few prototypes,
9530 which can conflict with char vprintf(); below. */
9532 /* Override any gcc2 internal prototype to avoid an error. */
9533 /* We use char because int might match the return type of a gcc2
9534 builtin and then its argument prototype would still apply. */
9540 /* The GNU C library defines this for functions which it implements
9541 to always fail with ENOSYS. Some functions are actually named
9542 something starting with __ and the normal name is an alias. */
9543 #if defined (__stub_vprintf) || defined (__stub___vprintf)
9551 if { (eval echo configure
:9552: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9553 eval "ac_cv_func_vprintf=yes"
9555 echo "configure: failed program was:" >&5
9556 cat conftest.
$ac_ext >&5
9558 eval "ac_cv_func_vprintf=no"
9563 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
9564 echo "$ac_t""yes" 1>&6
9565 cat >> confdefs.h
<<\EOF
9566 #define HAVE_VPRINTF 1
9570 echo "$ac_t""no" 1>&6
9573 if test "$ac_cv_func_vprintf" != yes; then
9574 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
9575 echo "configure:9576: checking for _doprnt" >&5
9576 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
9577 echo $ac_n "(cached) $ac_c" 1>&6
9579 cat > conftest.
$ac_ext <<EOF
9580 #line 9581 "configure"
9581 #include "confdefs.h"
9582 /* System header to define __stub macros and hopefully few prototypes,
9583 which can conflict with char _doprnt(); below. */
9585 /* Override any gcc2 internal prototype to avoid an error. */
9586 /* We use char because int might match the return type of a gcc2
9587 builtin and then its argument prototype would still apply. */
9593 /* The GNU C library defines this for functions which it implements
9594 to always fail with ENOSYS. Some functions are actually named
9595 something starting with __ and the normal name is an alias. */
9596 #if defined (__stub__doprnt) || defined (__stub____doprnt)
9604 if { (eval echo configure
:9605: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9606 eval "ac_cv_func__doprnt=yes"
9608 echo "configure: failed program was:" >&5
9609 cat conftest.
$ac_ext >&5
9611 eval "ac_cv_func__doprnt=no"
9616 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
9617 echo "$ac_t""yes" 1>&6
9618 cat >> confdefs.h
<<\EOF
9619 #define HAVE_DOPRNT 1
9623 echo "$ac_t""no" 1>&6
9629 for ac_func
in vsnprintf
9631 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9632 echo "configure:9633: checking for $ac_func" >&5
9633 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9634 echo $ac_n "(cached) $ac_c" 1>&6
9636 cat > conftest.
$ac_ext <<EOF
9637 #line 9638 "configure"
9638 #include "confdefs.h"
9639 /* System header to define __stub macros and hopefully few prototypes,
9640 which can conflict with char $ac_func(); below. */
9642 /* Override any gcc2 internal prototype to avoid an error. */
9643 /* We use char because int might match the return type of a gcc2
9644 builtin and then its argument prototype would still apply. */
9650 /* The GNU C library defines this for functions which it implements
9651 to always fail with ENOSYS. Some functions are actually named
9652 something starting with __ and the normal name is an alias. */
9653 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9661 if { (eval echo configure
:9662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9663 eval "ac_cv_func_$ac_func=yes"
9665 echo "configure: failed program was:" >&5
9666 cat conftest.
$ac_ext >&5
9668 eval "ac_cv_func_$ac_func=no"
9673 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9674 echo "$ac_t""yes" 1>&6
9675 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9676 cat >> confdefs.h
<<EOF
9677 #define $ac_tr_func 1
9679 cat >> confdefs.h
<<\EOF
9680 #define HAVE_VSNPRINTF 1
9684 echo "$ac_t""no" 1>&6
9685 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
9693 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9694 ac_cpp
='$CXXCPP $CPPFLAGS'
9695 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9696 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9697 cross_compiling
=$ac_cv_prog_cxx_cross
9700 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
9701 echo "configure:9702: checking for vsscanf" >&5
9702 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
9703 echo $ac_n "(cached) $ac_c" 1>&6
9706 if test "$cross_compiling" = yes; then
9707 wx_cv_func_vsscanf
=no
9710 cat > conftest.
$ac_ext <<EOF
9711 #line 9712 "configure"
9712 #include "confdefs.h"
9714 extern "C" void exit(int);
9720 int try_vsscanf(const char *format, ...)
9723 va_start(ap, format);
9725 vsscanf("17", format, ap);
9733 try_vsscanf("%d", &i);
9734 return i == 17 ? 0 : 1;
9738 if { (eval echo configure
:9739: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9741 cat >> confdefs.h
<<\EOF
9742 #define HAVE_VSSCANF 1
9745 wx_cv_func_vsscanf
=yes
9748 echo "configure: failed program was:" >&5
9749 cat conftest.
$ac_ext >&5
9751 wx_cv_func_vsscanf
=no
9759 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
9762 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
9763 ac_cpp
='$CPP $CPPFLAGS'
9764 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
9765 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
9766 cross_compiling
=$ac_cv_prog_cc_cross
9769 for ac_func
in vfork
9771 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9772 echo "configure:9773: checking for $ac_func" >&5
9773 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9774 echo $ac_n "(cached) $ac_c" 1>&6
9776 cat > conftest.
$ac_ext <<EOF
9777 #line 9778 "configure"
9778 #include "confdefs.h"
9779 /* System header to define __stub macros and hopefully few prototypes,
9780 which can conflict with char $ac_func(); below. */
9782 /* Override any gcc2 internal prototype to avoid an error. */
9783 /* We use char because int might match the return type of a gcc2
9784 builtin and then its argument prototype would still apply. */
9790 /* The GNU C library defines this for functions which it implements
9791 to always fail with ENOSYS. Some functions are actually named
9792 something starting with __ and the normal name is an alias. */
9793 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9801 if { (eval echo configure
:9802: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9803 eval "ac_cv_func_$ac_func=yes"
9805 echo "configure: failed program was:" >&5
9806 cat conftest.
$ac_ext >&5
9808 eval "ac_cv_func_$ac_func=no"
9813 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9814 echo "$ac_t""yes" 1>&6
9815 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9816 cat >> confdefs.h
<<EOF
9817 #define $ac_tr_func 1
9821 echo "$ac_t""no" 1>&6
9827 for ac_func
in nanosleep
9829 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9830 echo "configure:9831: checking for $ac_func" >&5
9831 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9832 echo $ac_n "(cached) $ac_c" 1>&6
9834 cat > conftest.
$ac_ext <<EOF
9835 #line 9836 "configure"
9836 #include "confdefs.h"
9837 /* System header to define __stub macros and hopefully few prototypes,
9838 which can conflict with char $ac_func(); below. */
9840 /* Override any gcc2 internal prototype to avoid an error. */
9841 /* We use char because int might match the return type of a gcc2
9842 builtin and then its argument prototype would still apply. */
9848 /* The GNU C library defines this for functions which it implements
9849 to always fail with ENOSYS. Some functions are actually named
9850 something starting with __ and the normal name is an alias. */
9851 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9859 if { (eval echo configure
:9860: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9861 eval "ac_cv_func_$ac_func=yes"
9863 echo "configure: failed program was:" >&5
9864 cat conftest.
$ac_ext >&5
9866 eval "ac_cv_func_$ac_func=no"
9871 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9872 echo "$ac_t""yes" 1>&6
9873 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9874 cat >> confdefs.h
<<EOF
9875 #define $ac_tr_func 1
9877 cat >> confdefs.h
<<\EOF
9878 #define HAVE_NANOSLEEP 1
9882 echo "$ac_t""no" 1>&6
9883 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
9884 echo "configure:9885: checking for nanosleep in -lposix4" >&5
9885 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
9886 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
9887 echo $ac_n "(cached) $ac_c" 1>&6
9889 ac_save_LIBS
="$LIBS"
9890 LIBS
="-lposix4 $LIBS"
9891 cat > conftest.
$ac_ext <<EOF
9892 #line 9893 "configure"
9893 #include "confdefs.h"
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. */
9903 if { (eval echo configure
:9904: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9905 eval "ac_cv_lib_$ac_lib_var=yes"
9907 echo "configure: failed program was:" >&5
9908 cat conftest.
$ac_ext >&5
9910 eval "ac_cv_lib_$ac_lib_var=no"
9913 LIBS
="$ac_save_LIBS"
9916 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
9917 echo "$ac_t""yes" 1>&6
9919 cat >> confdefs.h
<<\EOF
9920 #define HAVE_NANOSLEEP 1
9923 POSIX4_LINK
="-lposix4"
9926 echo "$ac_t""no" 1>&6
9928 for ac_func
in usleep
9930 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9931 echo "configure:9932: checking for $ac_func" >&5
9932 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
9933 echo $ac_n "(cached) $ac_c" 1>&6
9935 cat > conftest.
$ac_ext <<EOF
9936 #line 9937 "configure"
9937 #include "confdefs.h"
9938 /* System header to define __stub macros and hopefully few prototypes,
9939 which can conflict with char $ac_func(); below. */
9941 /* Override any gcc2 internal prototype to avoid an error. */
9942 /* We use char because int might match the return type of a gcc2
9943 builtin and then its argument prototype would still apply. */
9949 /* The GNU C library defines this for functions which it implements
9950 to always fail with ENOSYS. Some functions are actually named
9951 something starting with __ and the normal name is an alias. */
9952 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
9960 if { (eval echo configure
:9961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
9962 eval "ac_cv_func_$ac_func=yes"
9964 echo "configure: failed program was:" >&5
9965 cat conftest.
$ac_ext >&5
9967 eval "ac_cv_func_$ac_func=no"
9972 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
9973 echo "$ac_t""yes" 1>&6
9974 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
9975 cat >> confdefs.h
<<EOF
9976 #define $ac_tr_func 1
9978 cat >> confdefs.h
<<\EOF
9979 #define HAVE_USLEEP 1
9983 echo "$ac_t""no" 1>&6
9984 echo "configure: warning: wxSleep() function will not work" 1>&2
9996 for ac_func
in uname gethostname
9998 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
9999 echo "configure:10000: checking for $ac_func" >&5
10000 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10001 echo $ac_n "(cached) $ac_c" 1>&6
10003 cat > conftest.
$ac_ext <<EOF
10004 #line 10005 "configure"
10005 #include "confdefs.h"
10006 /* System header to define __stub macros and hopefully few prototypes,
10007 which can conflict with char $ac_func(); below. */
10008 #include <assert.h>
10009 /* Override any gcc2 internal prototype to avoid an error. */
10010 /* We use char because int might match the return type of a gcc2
10011 builtin and then its argument prototype would still apply. */
10017 /* The GNU C library defines this for functions which it implements
10018 to always fail with ENOSYS. Some functions are actually named
10019 something starting with __ and the normal name is an alias. */
10020 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10028 if { (eval echo configure
:10029: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10030 eval "ac_cv_func_$ac_func=yes"
10032 echo "configure: failed program was:" >&5
10033 cat conftest.
$ac_ext >&5
10035 eval "ac_cv_func_$ac_func=no"
10040 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10041 echo "$ac_t""yes" 1>&6
10042 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10043 cat >> confdefs.h
<<EOF
10044 #define $ac_tr_func 1
10048 echo "$ac_t""no" 1>&6
10053 for ac_func
in strtok_r
10055 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10056 echo "configure:10057: checking for $ac_func" >&5
10057 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10058 echo $ac_n "(cached) $ac_c" 1>&6
10060 cat > conftest.
$ac_ext <<EOF
10061 #line 10062 "configure"
10062 #include "confdefs.h"
10063 /* System header to define __stub macros and hopefully few prototypes,
10064 which can conflict with char $ac_func(); below. */
10065 #include <assert.h>
10066 /* Override any gcc2 internal prototype to avoid an error. */
10067 /* We use char because int might match the return type of a gcc2
10068 builtin and then its argument prototype would still apply. */
10074 /* The GNU C library defines this for functions which it implements
10075 to always fail with ENOSYS. Some functions are actually named
10076 something starting with __ and the normal name is an alias. */
10077 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10085 if { (eval echo configure
:10086: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10087 eval "ac_cv_func_$ac_func=yes"
10089 echo "configure: failed program was:" >&5
10090 cat conftest.
$ac_ext >&5
10092 eval "ac_cv_func_$ac_func=no"
10097 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10098 echo "$ac_t""yes" 1>&6
10099 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10100 cat >> confdefs.h
<<EOF
10101 #define $ac_tr_func 1
10105 echo "$ac_t""no" 1>&6
10110 for ac_func
in inet_addr
10112 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10113 echo "configure:10114: checking for $ac_func" >&5
10114 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10115 echo $ac_n "(cached) $ac_c" 1>&6
10117 cat > conftest.
$ac_ext <<EOF
10118 #line 10119 "configure"
10119 #include "confdefs.h"
10120 /* System header to define __stub macros and hopefully few prototypes,
10121 which can conflict with char $ac_func(); below. */
10122 #include <assert.h>
10123 /* Override any gcc2 internal prototype to avoid an error. */
10124 /* We use char because int might match the return type of a gcc2
10125 builtin and then its argument prototype would still apply. */
10131 /* The GNU C library defines this for functions which it implements
10132 to always fail with ENOSYS. Some functions are actually named
10133 something starting with __ and the normal name is an alias. */
10134 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10142 if { (eval echo configure
:10143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10144 eval "ac_cv_func_$ac_func=yes"
10146 echo "configure: failed program was:" >&5
10147 cat conftest.
$ac_ext >&5
10149 eval "ac_cv_func_$ac_func=no"
10154 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10155 echo "$ac_t""yes" 1>&6
10156 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10157 cat >> confdefs.h
<<EOF
10158 #define $ac_tr_func 1
10162 echo "$ac_t""no" 1>&6
10166 for ac_func
in inet_aton
10168 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
10169 echo "configure:10170: checking for $ac_func" >&5
10170 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
10171 echo $ac_n "(cached) $ac_c" 1>&6
10173 cat > conftest.
$ac_ext <<EOF
10174 #line 10175 "configure"
10175 #include "confdefs.h"
10176 /* System header to define __stub macros and hopefully few prototypes,
10177 which can conflict with char $ac_func(); below. */
10178 #include <assert.h>
10179 /* Override any gcc2 internal prototype to avoid an error. */
10180 /* We use char because int might match the return type of a gcc2
10181 builtin and then its argument prototype would still apply. */
10187 /* The GNU C library defines this for functions which it implements
10188 to always fail with ENOSYS. Some functions are actually named
10189 something starting with __ and the normal name is an alias. */
10190 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
10198 if { (eval echo configure
:10199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10200 eval "ac_cv_func_$ac_func=yes"
10202 echo "configure: failed program was:" >&5
10203 cat conftest.
$ac_ext >&5
10205 eval "ac_cv_func_$ac_func=no"
10210 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
10211 echo "$ac_t""yes" 1>&6
10212 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
10213 cat >> confdefs.h
<<EOF
10214 #define $ac_tr_func 1
10218 echo "$ac_t""no" 1>&6
10222 echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
10223 echo "configure:10224: checking for inet_aton in -lresolv" >&5
10224 ac_lib_var
=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
10225 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10226 echo $ac_n "(cached) $ac_c" 1>&6
10228 ac_save_LIBS
="$LIBS"
10229 LIBS
="-lresolv $LIBS"
10230 cat > conftest.
$ac_ext <<EOF
10231 #line 10232 "configure"
10232 #include "confdefs.h"
10233 /* Override any gcc2 internal prototype to avoid an error. */
10234 /* We use char because int might match the return type of a gcc2
10235 builtin and then its argument prototype would still apply. */
10242 if { (eval echo configure
:10243: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10244 eval "ac_cv_lib_$ac_lib_var=yes"
10246 echo "configure: failed program was:" >&5
10247 cat conftest.
$ac_ext >&5
10249 eval "ac_cv_lib_$ac_lib_var=no"
10252 LIBS
="$ac_save_LIBS"
10255 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10256 echo "$ac_t""yes" 1>&6
10257 ac_tr_lib
=HAVE_LIB
`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
10258 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
10259 cat >> confdefs.h
<<EOF
10260 #define $ac_tr_lib 1
10263 LIBS
="-lresolv $LIBS"
10266 echo "$ac_t""no" 1>&6
10271 cat > confcache
<<\EOF
10272 # This file is a shell script that caches the results of configure
10273 # tests run on this system so they can be shared between configure
10274 # scripts and configure runs. It is not useful on other systems.
10275 # If it contains results you don't want to keep, you may remove or edit it.
10277 # By default, configure uses ./config.cache as the cache file,
10278 # creating it if it does not exist already. You can give configure
10279 # the --cache-file=FILE option to use a different cache file; that is
10280 # what configure does when it calls configure scripts in
10281 # subdirectories, so they share the cache.
10282 # Giving --cache-file=/dev/null disables caching, for debugging configure.
10283 # config.status only pays attention to the cache file if you give it the
10284 # --recheck option to rerun configure.
10287 # The following way of writing the cache mishandles newlines in values,
10288 # but we know of no workaround that is simple, portable, and efficient.
10289 # So, don't put newlines in cache variables' values.
10290 # Ultrix sh set writes to stderr and can't be redirected directly,
10291 # and sets the high bit in the cache file unless we assign to the vars.
10293 case `(ac_space=' '; set | grep ac_space) 2>&1` in
10295 # `set' does not quote correctly, so add quotes (double-quote substitution
10296 # turns \\\\ into \\, and sed turns \\ into \).
10298 -e "s/'/'\\\\''/g" \
10299 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
10302 # `set' quotes correctly as required by POSIX, so do not add quotes.
10303 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
10306 if cmp -s $cache_file confcache
; then
10309 if test -w $cache_file; then
10310 echo "updating cache $cache_file"
10311 cat confcache
> $cache_file
10313 echo "not updating unwritable cache $cache_file"
10320 if test "$USE_UNIX" = 1; then
10326 if test "$wxUSE_THREADS" = "yes" ; then
10327 if test "$wxUSE_WINE" = 1 ; then
10328 echo "configure: warning: Threads are not supported under WINE" 1>&2
10333 if test "$wxUSE_THREADS" = "yes" ; then
10335 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
10336 echo "configure:10337: checking for pthread_create in -lpthread" >&5
10337 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
10338 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10339 echo $ac_n "(cached) $ac_c" 1>&6
10341 ac_save_LIBS
="$LIBS"
10342 LIBS
="-lpthread $LIBS"
10343 cat > conftest.
$ac_ext <<EOF
10344 #line 10345 "configure"
10345 #include "confdefs.h"
10346 /* Override any gcc2 internal prototype to avoid an error. */
10347 /* We use char because int might match the return type of a gcc2
10348 builtin and then its argument prototype would still apply. */
10349 char pthread_create();
10355 if { (eval echo configure
:10356: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10357 eval "ac_cv_lib_$ac_lib_var=yes"
10359 echo "configure: failed program was:" >&5
10360 cat conftest.
$ac_ext >&5
10362 eval "ac_cv_lib_$ac_lib_var=no"
10365 LIBS
="$ac_save_LIBS"
10368 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10369 echo "$ac_t""yes" 1>&6
10371 THREADS_OBJ
="threadpsx.lo"
10372 THREADS_LINK
="pthread"
10375 echo "$ac_t""no" 1>&6
10377 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
10378 echo "configure:10379: checking for pthread_create in -lc_r" >&5
10379 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
10380 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10381 echo $ac_n "(cached) $ac_c" 1>&6
10383 ac_save_LIBS
="$LIBS"
10385 cat > conftest.
$ac_ext <<EOF
10386 #line 10387 "configure"
10387 #include "confdefs.h"
10388 /* Override any gcc2 internal prototype to avoid an error. */
10389 /* We use char because int might match the return type of a gcc2
10390 builtin and then its argument prototype would still apply. */
10391 char pthread_create();
10397 if { (eval echo configure
:10398: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10399 eval "ac_cv_lib_$ac_lib_var=yes"
10401 echo "configure: failed program was:" >&5
10402 cat conftest.
$ac_ext >&5
10404 eval "ac_cv_lib_$ac_lib_var=no"
10407 LIBS
="$ac_save_LIBS"
10410 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10411 echo "$ac_t""yes" 1>&6
10413 THREADS_OBJ
="threadpsx.lo"
10417 echo "$ac_t""no" 1>&6
10419 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
10420 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
10421 echo "configure:10422: checking for sys/prctl.h" >&5
10422 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10423 echo $ac_n "(cached) $ac_c" 1>&6
10425 cat > conftest.
$ac_ext <<EOF
10426 #line 10427 "configure"
10427 #include "confdefs.h"
10428 #include <sys/prctl.h>
10430 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10431 { (eval echo configure
:10432: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10432 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10433 if test -z "$ac_err"; then
10435 eval "ac_cv_header_$ac_safe=yes"
10438 echo "configure: failed program was:" >&5
10439 cat conftest.
$ac_ext >&5
10441 eval "ac_cv_header_$ac_safe=no"
10445 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10446 echo "$ac_t""yes" 1>&6
10448 THREADS_OBJ
="threadsgi.lo"
10451 echo "$ac_t""no" 1>&6
10461 if test -z "$THREADS_OBJ" ; then
10463 echo "configure: warning: No thread support on this system" 1>&2
10467 if test "$wxUSE_THREADS" = "yes" ; then
10469 for ac_hdr
in sched.h
10471 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10472 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10473 echo "configure:10474: checking for $ac_hdr" >&5
10474 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10475 echo $ac_n "(cached) $ac_c" 1>&6
10477 cat > conftest.
$ac_ext <<EOF
10478 #line 10479 "configure"
10479 #include "confdefs.h"
10482 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10483 { (eval echo configure
:10484: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10484 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10485 if test -z "$ac_err"; then
10487 eval "ac_cv_header_$ac_safe=yes"
10490 echo "configure: failed program was:" >&5
10491 cat conftest.
$ac_ext >&5
10493 eval "ac_cv_header_$ac_safe=no"
10497 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10498 echo "$ac_t""yes" 1>&6
10499 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10500 cat >> confdefs.h
<<EOF
10501 #define $ac_tr_hdr 1
10505 echo "$ac_t""no" 1>&6
10510 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
10511 echo "configure:10512: checking for sched_yield in -l$THREADS_LINK" >&5
10512 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
10513 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10514 echo $ac_n "(cached) $ac_c" 1>&6
10516 ac_save_LIBS
="$LIBS"
10517 LIBS
="-l$THREADS_LINK $LIBS"
10518 cat > conftest.
$ac_ext <<EOF
10519 #line 10520 "configure"
10520 #include "confdefs.h"
10521 /* Override any gcc2 internal prototype to avoid an error. */
10522 /* We use char because int might match the return type of a gcc2
10523 builtin and then its argument prototype would still apply. */
10524 char sched_yield();
10530 if { (eval echo configure
:10531: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10532 eval "ac_cv_lib_$ac_lib_var=yes"
10534 echo "configure: failed program was:" >&5
10535 cat conftest.
$ac_ext >&5
10537 eval "ac_cv_lib_$ac_lib_var=no"
10540 LIBS
="$ac_save_LIBS"
10543 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10544 echo "$ac_t""yes" 1>&6
10545 cat >> confdefs.h
<<\EOF
10546 #define HAVE_SCHED_YIELD 1
10550 echo "$ac_t""no" 1>&6
10551 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
10552 echo "configure:10553: checking for sched_yield in -l"posix4
"" >&5
10553 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
10554 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10555 echo $ac_n "(cached) $ac_c" 1>&6
10557 ac_save_LIBS
="$LIBS"
10558 LIBS
="-l"posix4
" $LIBS"
10559 cat > conftest.
$ac_ext <<EOF
10560 #line 10561 "configure"
10561 #include "confdefs.h"
10562 /* Override any gcc2 internal prototype to avoid an error. */
10563 /* We use char because int might match the return type of a gcc2
10564 builtin and then its argument prototype would still apply. */
10565 char sched_yield();
10571 if { (eval echo configure
:10572: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10573 eval "ac_cv_lib_$ac_lib_var=yes"
10575 echo "configure: failed program was:" >&5
10576 cat conftest.
$ac_ext >&5
10578 eval "ac_cv_lib_$ac_lib_var=no"
10581 LIBS
="$ac_save_LIBS"
10584 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10585 echo "$ac_t""yes" 1>&6
10586 cat >> confdefs.h
<<\EOF
10587 #define HAVE_SCHED_YIELD 1
10589 POSIX4_LINK
="-lposix4"
10591 echo "$ac_t""no" 1>&6
10592 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
10600 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
10601 echo "configure:10602: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
10602 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10603 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10604 echo $ac_n "(cached) $ac_c" 1>&6
10606 ac_save_LIBS
="$LIBS"
10607 LIBS
="-l$THREADS_LINK $LIBS"
10608 cat > conftest.
$ac_ext <<EOF
10609 #line 10610 "configure"
10610 #include "confdefs.h"
10611 /* Override any gcc2 internal prototype to avoid an error. */
10612 /* We use char because int might match the return type of a gcc2
10613 builtin and then its argument prototype would still apply. */
10614 char pthread_attr_getschedpolicy();
10617 pthread_attr_getschedpolicy()
10620 if { (eval echo configure
:10621: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10622 eval "ac_cv_lib_$ac_lib_var=yes"
10624 echo "configure: failed program was:" >&5
10625 cat conftest.
$ac_ext >&5
10627 eval "ac_cv_lib_$ac_lib_var=no"
10630 LIBS
="$ac_save_LIBS"
10633 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10634 echo "$ac_t""yes" 1>&6
10635 cat >> confdefs.h
<<\EOF
10636 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10640 echo "$ac_t""no" 1>&6
10641 echo $ac_n "checking for pthread_attr_getschedpolicy in -l"posix4
"""... $ac_c" 1>&6
10642 echo "configure:10643: checking for pthread_attr_getschedpolicy in -l"posix4
"" >&5
10643 ac_lib_var
=`echo "posix4"'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
10644 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10645 echo $ac_n "(cached) $ac_c" 1>&6
10647 ac_save_LIBS
="$LIBS"
10648 LIBS
="-l"posix4
" $LIBS"
10649 cat > conftest.
$ac_ext <<EOF
10650 #line 10651 "configure"
10651 #include "confdefs.h"
10652 /* Override any gcc2 internal prototype to avoid an error. */
10653 /* We use char because int might match the return type of a gcc2
10654 builtin and then its argument prototype would still apply. */
10655 char pthread_attr_getschedpolicy();
10658 pthread_attr_getschedpolicy()
10661 if { (eval echo configure
:10662: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10663 eval "ac_cv_lib_$ac_lib_var=yes"
10665 echo "configure: failed program was:" >&5
10666 cat conftest.
$ac_ext >&5
10668 eval "ac_cv_lib_$ac_lib_var=no"
10671 LIBS
="$ac_save_LIBS"
10674 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10675 echo "$ac_t""yes" 1>&6
10676 cat >> confdefs.h
<<\EOF
10677 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
10679 POSIX4_LINK
="-lposix4"
10681 echo "$ac_t""no" 1>&6
10682 echo "configure: warning: Setting thread priority will not work" 1>&2
10690 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
10691 echo "configure:10692: checking for pthread_cancel in -l$THREADS_LINK" >&5
10692 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
10693 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10694 echo $ac_n "(cached) $ac_c" 1>&6
10696 ac_save_LIBS
="$LIBS"
10697 LIBS
="-l$THREADS_LINK $LIBS"
10698 cat > conftest.
$ac_ext <<EOF
10699 #line 10700 "configure"
10700 #include "confdefs.h"
10701 /* Override any gcc2 internal prototype to avoid an error. */
10702 /* We use char because int might match the return type of a gcc2
10703 builtin and then its argument prototype would still apply. */
10704 char pthread_cancel();
10710 if { (eval echo configure
:10711: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10712 eval "ac_cv_lib_$ac_lib_var=yes"
10714 echo "configure: failed program was:" >&5
10715 cat conftest.
$ac_ext >&5
10717 eval "ac_cv_lib_$ac_lib_var=no"
10720 LIBS
="$ac_save_LIBS"
10723 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10724 echo "$ac_t""yes" 1>&6
10725 cat >> confdefs.h
<<\EOF
10726 #define HAVE_PTHREAD_CANCEL 1
10730 echo "$ac_t""no" 1>&6
10731 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
10735 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
10736 echo "configure:10737: checking for pthread_cleanup_push/pop" >&5
10737 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
10738 echo $ac_n "(cached) $ac_c" 1>&6
10741 cat > conftest.
$ac_ext <<EOF
10742 #line 10743 "configure"
10743 #include "confdefs.h"
10744 #include <pthread.h>
10747 pthread_cleanup_push(NULL, NULL);
10748 pthread_cleanup_pop(0);
10752 if { (eval echo configure
:10753: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10755 wx_cv_func_pthread_cleanup_push
=yes
10756 cat >> confdefs.h
<<\EOF
10757 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
10762 echo "configure: failed program was:" >&5
10763 cat conftest.
$ac_ext >&5
10766 wx_cv_func_pthread_cleanup_push
=no
10773 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
10775 THREADS_LINK
="-l$THREADS_LINK"
10780 if test "$wxUSE_THREADS" = "yes"; then
10781 cat >> confdefs.h
<<\EOF
10782 #define wxUSE_THREADS 1
10786 CFLAGS
="${CFLAGS} -D_REENTRANT"
10787 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
10789 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
10792 if test "$WXGTK12" = 1 ; then
10793 cat >> confdefs.h
<<EOF
10794 #define __WXGTK12__ $WXGTK12
10799 if test "$WXWINE" = 1 ; then
10800 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
10803 if test "$wxUSE_CYGWIN" = 1 ; then
10804 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
10809 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
10814 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
10815 wxUSE_DEBUG_INFO
=yes
10819 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
10820 cat >> confdefs.h
<<\EOF
10824 WXDEBUG_DEFINE
="-D__WXDEBUG__"
10826 if test "$wxUSE_GTK" = 1 ; then
10827 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
10831 if test "$wxUSE_MEM_TRACING" = "yes" ; then
10832 cat >> confdefs.h
<<\EOF
10833 #define wxUSE_MEMORY_TRACING 1
10836 cat >> confdefs.h
<<\EOF
10837 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
10840 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
10843 if test "$wxUSE_DMALLOC" = "yes" ; then
10844 DMALLOC_LINK
="-ldmalloc"
10848 if test "$wxUSE_PROFILE" = "yes" ; then
10853 if test "$GCC" = yes ; then
10854 if test "$wxUSE_NO_RTTI" = "yes" ; then
10855 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-rtti"
10857 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
10858 WXDEBUG_DEFINE
="$WXDEBUG_DEFINE -fno-exceptions"
10860 if test "$wxUSE_PERMISSIVE" = "yes" ; then
10861 CFLAGS
="${CFLAGS} -fpermissive"
10862 CXXFLAGS
="${CXXFLAGS} -fpermissive"
10864 if test "$wxUSE_NO_DEPS" = "no" ; then
10865 DEP_INFO_FLAGS
="-MMD"
10870 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
10871 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
10872 if test "$wxUSE_OPTIMISE" = "no" ; then
10875 if test "$GCC" = yes ; then
10878 i586
-*-*|i686
-*-* )
10879 OPTIMISE
="${OPTIMISE} "
10889 if test "$wxUSE_ZLIB" = "yes" ; then
10890 cat >> confdefs.h
<<\EOF
10891 #define wxUSE_ZLIB 1
10894 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
10898 if test "$wxUSE_LIBPNG" = "yes" ; then
10899 cat >> confdefs.h
<<\EOF
10900 #define wxUSE_LIBPNG 1
10903 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
10904 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
10908 if test "$wxUSE_LIBJPEG" = "yes" ; then
10909 cat >> confdefs.h
<<\EOF
10910 #define wxUSE_LIBJPEG 1
10913 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
10916 if test "$wxUSE_OPENGL" = "yes"; then
10917 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
10918 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
10919 echo "configure:10920: checking for GL/gl.h" >&5
10920 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10921 echo $ac_n "(cached) $ac_c" 1>&6
10923 cat > conftest.
$ac_ext <<EOF
10924 #line 10925 "configure"
10925 #include "confdefs.h"
10928 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10929 { (eval echo configure
:10930: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10930 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10931 if test -z "$ac_err"; then
10933 eval "ac_cv_header_$ac_safe=yes"
10936 echo "configure: failed program was:" >&5
10937 cat conftest.
$ac_ext >&5
10939 eval "ac_cv_header_$ac_safe=no"
10943 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10944 echo "$ac_t""yes" 1>&6
10946 echo $ac_n "checking for glInitNames in -lGL""... $ac_c" 1>&6
10947 echo "configure:10948: checking for glInitNames in -lGL" >&5
10948 ac_lib_var
=`echo GL'_'glInitNames | sed 'y%./+-%__p_%'`
10949 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10950 echo $ac_n "(cached) $ac_c" 1>&6
10952 ac_save_LIBS
="$LIBS"
10953 LIBS
="-lGL wxUSE_OPENGL=0 $LIBS"
10954 cat > conftest.
$ac_ext <<EOF
10955 #line 10956 "configure"
10956 #include "confdefs.h"
10957 /* Override any gcc2 internal prototype to avoid an error. */
10958 /* We use char because int might match the return type of a gcc2
10959 builtin and then its argument prototype would still apply. */
10960 char glInitNames();
10966 if { (eval echo configure
:10967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10968 eval "ac_cv_lib_$ac_lib_var=yes"
10970 echo "configure: failed program was:" >&5
10971 cat conftest.
$ac_ext >&5
10973 eval "ac_cv_lib_$ac_lib_var=no"
10976 LIBS
="$ac_save_LIBS"
10979 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10980 echo "$ac_t""yes" 1>&6
10983 cat >> confdefs.h
<<\EOF
10984 #define wxUSE_OPENGL 1
10987 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
10990 echo "$ac_t""no" 1>&6
10992 echo $ac_n "checking for glInitNames in -lMesaGL""... $ac_c" 1>&6
10993 echo "configure:10994: checking for glInitNames in -lMesaGL" >&5
10994 ac_lib_var
=`echo MesaGL'_'glInitNames | sed 'y%./+-%__p_%'`
10995 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10996 echo $ac_n "(cached) $ac_c" 1>&6
10998 ac_save_LIBS
="$LIBS"
10999 LIBS
="-lMesaGL $LIBS"
11000 cat > conftest.
$ac_ext <<EOF
11001 #line 11002 "configure"
11002 #include "confdefs.h"
11003 /* Override any gcc2 internal prototype to avoid an error. */
11004 /* We use char because int might match the return type of a gcc2
11005 builtin and then its argument prototype would still apply. */
11006 char glInitNames();
11012 if { (eval echo configure
:11013: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11014 eval "ac_cv_lib_$ac_lib_var=yes"
11016 echo "configure: failed program was:" >&5
11017 cat conftest.
$ac_ext >&5
11019 eval "ac_cv_lib_$ac_lib_var=no"
11022 LIBS
="$ac_save_LIBS"
11025 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11026 echo "$ac_t""yes" 1>&6
11028 OPENGL_LINK
="-lMesaGL"
11029 cat >> confdefs.h
<<\EOF
11030 #define wxUSE_OPENGL 1
11033 UTILS_SUBDIRS
="$UTILS_SUBDIRS glcanvas/src"
11036 echo "$ac_t""no" 1>&6
11045 echo "$ac_t""no" 1>&6
11052 if test "$wxUSE_GUI" = "yes"; then
11053 cat >> confdefs.h
<<\EOF
11054 #define wxUSE_GUI 1
11059 cat >> confdefs.h
<<\EOF
11060 #define wxUSE_NOGUI 1
11066 if test "$wxUSE_UNIX" = "yes"; then
11067 cat >> confdefs.h
<<\EOF
11068 #define wxUSE_UNIX 1
11074 if test "$wxUSE_APPLE_IEEE" = "yes"; then
11075 cat >> confdefs.h
<<\EOF
11076 #define wxUSE_APPLE_IEEE 1
11081 if test "$wxUSE_TIMEDATE" = "yes"; then
11082 cat >> confdefs.h
<<\EOF
11083 #define wxUSE_TIMEDATE 1
11086 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
11089 if test "$wxUSE_WAVE" = "yes"; then
11090 cat >> confdefs.h
<<\EOF
11091 #define wxUSE_WAVE 1
11096 if test "$wxUSE_FILE" = "yes"; then
11097 cat >> confdefs.h
<<\EOF
11098 #define wxUSE_FILE 1
11103 if test "$wxUSE_FS_INET" = "yes"; then
11104 cat >> confdefs.h
<<\EOF
11105 #define wxUSE_FS_INET 1
11110 if test "$wxUSE_FS_ZIP" = "yes"; then
11111 cat >> confdefs.h
<<\EOF
11112 #define wxUSE_FS_ZIP 1
11117 if test "$wxUSE_ZIPSTREAM" = "yes"; then
11118 cat >> confdefs.h
<<\EOF
11119 #define wxUSE_ZIPSTREAM 1
11124 if test "$wxUSE_BUSYINFO" = "yes"; then
11125 cat >> confdefs.h
<<\EOF
11126 #define wxUSE_BUSYINFO 1
11131 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
11132 cat >> confdefs.h
<<\EOF
11133 #define wxUSE_STD_IOSTREAM 1
11138 if test "$wxUSE_TEXTFILE" = "yes"; then
11139 if test "$wxUSE_FILE" != "yes"; then
11140 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
11142 cat >> confdefs.h
<<\EOF
11143 #define wxUSE_TEXTFILE 1
11149 if test "$wxUSE_CONFIG" = "yes" ; then
11150 if test "$wxUSE_TEXTFILE" != "yes"; then
11151 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
11153 cat >> confdefs.h
<<\EOF
11154 #define wxUSE_CONFIG 1
11157 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
11161 if test "$wxUSE_INTL" = "yes" ; then
11162 if test "$wxUSE_FILE" != "yes"; then
11163 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
11165 cat >> confdefs.h
<<\EOF
11166 #define wxUSE_INTL 1
11169 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
11173 if test "$wxUSE_LOG" = "yes"; then
11174 cat >> confdefs.h
<<\EOF
11175 #define wxUSE_LOG 1
11180 if test "$wxUSE_LONGLONG" = "yes"; then
11181 cat >> confdefs.h
<<\EOF
11182 #define wxUSE_LONGLONG 1
11187 if test "$wxUSE_SOCKETS" = "yes" ; then
11188 if test "$wxUSE_THREADS" = "yes" ; then
11189 cat >> confdefs.h
<<\EOF
11190 #define wxUSE_SOCKETS 1
11193 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS wxsocket"
11194 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
11196 echo "configure: warning: Socket classes require --with-threads and won't be compiled without it" 1>&2
11201 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
11202 cat >> confdefs.h
<<\EOF
11203 #define wxUSE_DIALUP_MANAGER 1
11208 if test "$wxUSE_STREAMS" = "yes" ; then
11209 cat >> confdefs.h
<<\EOF
11210 #define wxUSE_STREAMS 1
11215 if test "$wxUSE_SERIAL" = "yes" ; then
11216 cat >> confdefs.h
<<\EOF
11217 #define wxUSE_SERIAL 1
11223 if test "$wxUSE_SOCKETS" = "yes"; then
11226 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11227 ac_cpp
='$CXXCPP $CPPFLAGS'
11228 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11229 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11230 cross_compiling
=$ac_cv_prog_cxx_cross
11232 echo $ac_n "checking the type of the third argument of getsockname""... $ac_c" 1>&6
11233 echo "configure:11234: checking the type of the third argument of getsockname" >&5
11234 cat > conftest.
$ac_ext <<EOF
11235 #line 11236 "configure"
11236 #include "confdefs.h"
11237 #include <sys/socket.h>
11239 socklen_t len; getsockname(0, NULL, &len);
11242 if { (eval echo configure
:11243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11244 cat >> confdefs.h
<<\EOF
11245 #define SOCKLEN_T socklen_t
11247 echo "$ac_t""socklen_t" 1>&6
11249 echo "configure: failed program was:" >&5
11250 cat conftest.
$ac_ext >&5
11252 cat > conftest.
$ac_ext <<EOF
11253 #line 11254 "configure"
11254 #include "confdefs.h"
11255 #include <sys/socket.h>
11257 size_t len; getsockname(0, NULL, &len);
11260 if { (eval echo configure
:11261: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11262 cat >> confdefs.h
<<\EOF
11263 #define SOCKLEN_T size_t
11265 echo "$ac_t""size_t" 1>&6
11267 echo "configure: failed program was:" >&5
11268 cat conftest.
$ac_ext >&5
11270 cat > conftest.
$ac_ext <<EOF
11271 #line 11272 "configure"
11272 #include "confdefs.h"
11273 #include <sys/socket.h>
11275 int len; getsockname(0, NULL, &len);
11278 if { (eval echo configure
:11279: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11280 cat >> confdefs.h
<<\EOF
11281 #define SOCKLEN_T int
11283 echo "$ac_t""int" 1>&6
11285 echo "configure: failed program was:" >&5
11286 cat conftest.
$ac_ext >&5
11288 echo "$ac_t""unknown" 1>&6
11299 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11300 ac_cpp
='$CPP $CPPFLAGS'
11301 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11302 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11303 cross_compiling
=$ac_cv_prog_cc_cross
11308 if test "$wxUSE_JOYSTICK" = 1; then
11309 for ac_hdr
in linux
/joystick.h
11311 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
11312 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
11313 echo "configure:11314: checking for $ac_hdr" >&5
11314 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
11315 echo $ac_n "(cached) $ac_c" 1>&6
11317 cat > conftest.
$ac_ext <<EOF
11318 #line 11319 "configure"
11319 #include "confdefs.h"
11322 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
11323 { (eval echo configure
:11324: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
11324 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
11325 if test -z "$ac_err"; then
11327 eval "ac_cv_header_$ac_safe=yes"
11330 echo "configure: failed program was:" >&5
11331 cat conftest.
$ac_ext >&5
11333 eval "ac_cv_header_$ac_safe=no"
11337 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
11338 echo "$ac_t""yes" 1>&6
11339 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
11340 cat >> confdefs.h
<<EOF
11341 #define $ac_tr_hdr 1
11345 echo "$ac_t""no" 1>&6
11349 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
11350 cat >> confdefs.h
<<\EOF
11351 #define wxUSE_JOYSTICK 1
11354 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
11361 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
11362 for ac_func
in dlopen
11364 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11365 echo "configure:11366: checking for $ac_func" >&5
11366 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11367 echo $ac_n "(cached) $ac_c" 1>&6
11369 cat > conftest.
$ac_ext <<EOF
11370 #line 11371 "configure"
11371 #include "confdefs.h"
11372 /* System header to define __stub macros and hopefully few prototypes,
11373 which can conflict with char $ac_func(); below. */
11374 #include <assert.h>
11375 /* Override any gcc2 internal prototype to avoid an error. */
11376 /* We use char because int might match the return type of a gcc2
11377 builtin and then its argument prototype would still apply. */
11383 /* The GNU C library defines this for functions which it implements
11384 to always fail with ENOSYS. Some functions are actually named
11385 something starting with __ and the normal name is an alias. */
11386 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11394 if { (eval echo configure
:11395: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11396 eval "ac_cv_func_$ac_func=yes"
11398 echo "configure: failed program was:" >&5
11399 cat conftest.
$ac_ext >&5
11401 eval "ac_cv_func_$ac_func=no"
11406 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11407 echo "$ac_t""yes" 1>&6
11408 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11409 cat >> confdefs.h
<<EOF
11410 #define $ac_tr_func 1
11412 cat >> confdefs.h
<<\EOF
11413 #define HAVE_DLOPEN 1
11417 echo "$ac_t""no" 1>&6
11418 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
11419 echo "configure:11420: checking for dlopen in -ldl" >&5
11420 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
11421 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11422 echo $ac_n "(cached) $ac_c" 1>&6
11424 ac_save_LIBS
="$LIBS"
11426 cat > conftest.
$ac_ext <<EOF
11427 #line 11428 "configure"
11428 #include "confdefs.h"
11429 /* Override any gcc2 internal prototype to avoid an error. */
11430 /* We use char because int might match the return type of a gcc2
11431 builtin and then its argument prototype would still apply. */
11438 if { (eval echo configure
:11439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11440 eval "ac_cv_lib_$ac_lib_var=yes"
11442 echo "configure: failed program was:" >&5
11443 cat conftest.
$ac_ext >&5
11445 eval "ac_cv_lib_$ac_lib_var=no"
11448 LIBS
="$ac_save_LIBS"
11451 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11452 echo "$ac_t""yes" 1>&6
11453 cat >> confdefs.h
<<\EOF
11454 #define HAVE_DLOPEN 1
11458 echo "$ac_t""no" 1>&6
11464 for ac_func
in shl_load
11466 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11467 echo "configure:11468: checking for $ac_func" >&5
11468 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11469 echo $ac_n "(cached) $ac_c" 1>&6
11471 cat > conftest.
$ac_ext <<EOF
11472 #line 11473 "configure"
11473 #include "confdefs.h"
11474 /* System header to define __stub macros and hopefully few prototypes,
11475 which can conflict with char $ac_func(); below. */
11476 #include <assert.h>
11477 /* Override any gcc2 internal prototype to avoid an error. */
11478 /* We use char because int might match the return type of a gcc2
11479 builtin and then its argument prototype would still apply. */
11485 /* The GNU C library defines this for functions which it implements
11486 to always fail with ENOSYS. Some functions are actually named
11487 something starting with __ and the normal name is an alias. */
11488 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11496 if { (eval echo configure
:11497: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11498 eval "ac_cv_func_$ac_func=yes"
11500 echo "configure: failed program was:" >&5
11501 cat conftest.
$ac_ext >&5
11503 eval "ac_cv_func_$ac_func=no"
11508 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11509 echo "$ac_t""yes" 1>&6
11510 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11511 cat >> confdefs.h
<<EOF
11512 #define $ac_tr_func 1
11514 cat >> confdefs.h
<<\EOF
11515 #define HAVE_SHL_LOAD 1
11517 HAVE_DL_FUNCS
=1 HAVE_SHL_FUNCS
=1
11519 echo "$ac_t""no" 1>&6
11524 if test "$HAVE_DL_FUNCS" = 0; then
11525 if test "$USE_UNIX" = 1; then
11526 echo "configure: warning: "--with-dynlib and
--with-odbc will be disabled due to missing shared library support
"" 1>&2
11528 wxUSE_DYNLIB_CLASS
=no
11530 echo "configure: warning: "Cannot check dynlib requirements on non
-Unix platforms. dynlib remains enabled.
"" 1>&2
11535 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
11536 cat >> confdefs.h
<<\EOF
11537 #define wxUSE_DYNLIB_CLASS 1
11543 if test "$wxUSE_UNICODE" = "yes" ; then
11544 cat >> confdefs.h
<<\EOF
11545 #define wxUSE_UNICODE 1
11550 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
11551 cat >> confdefs.h
<<\EOF
11552 #define wxUSE_WCSRTOMBS 1
11557 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
11558 cat >> confdefs.h
<<\EOF
11559 #define wxUSE_EXPERIMENTAL_PRINTF 1
11566 if test "$wxUSE_ODBC" = "yes" ; then
11567 cat >> confdefs.h
<<\EOF
11568 #define wxUSE_ODBC 1
11571 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
11575 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
11576 cat >> confdefs.h
<<\EOF
11577 #define wxUSE_POSTSCRIPT 1
11582 cat >> confdefs.h
<<\EOF
11583 #define wxUSE_AFM_FOR_POSTSCRIPT 1
11587 cat >> confdefs.h
<<\EOF
11588 #define wxUSE_NORMALIZED_PS_FONTS 1
11593 if test "$wxUSE_CONSTRAINTS" = "yes"; then
11594 cat >> confdefs.h
<<\EOF
11595 #define wxUSE_CONSTRAINTS 1
11598 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
11601 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11602 cat >> confdefs.h
<<\EOF
11603 #define wxUSE_MDI_ARCHITECTURE 1
11606 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
11609 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
11610 cat >> confdefs.h
<<\EOF
11611 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
11614 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
11615 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
11616 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
11620 if test "$wxUSE_HELP" = "yes"; then
11621 cat >> confdefs.h
<<\EOF
11622 #define wxUSE_HELP 1
11625 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
11628 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
11629 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11630 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
11632 cat >> confdefs.h
<<\EOF
11633 #define wxUSE_PRINTING_ARCHITECTURE 1
11637 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
11640 if test "$wxUSE_PROLOGIO" = "yes" ; then
11641 cat >> confdefs.h
<<\EOF
11642 #define wxUSE_PROLOGIO 1
11647 if test "$wxUSE_RESOURCES" = "yes" ; then
11648 if test "$wxUSE_PROLOGIO" = "yes" ; then
11649 cat >> confdefs.h
<<\EOF
11650 #define wxUSE_RESOURCES 1
11653 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
11655 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
11659 if test "$wxUSE_X_RESOURCES" = "yes"; then
11660 cat >> confdefs.h
<<\EOF
11661 #define wxUSE_X_RESOURCES 1
11667 if test "$wxUSE_IPC" = "yes"; then
11668 cat >> confdefs.h
<<\EOF
11669 #define wxUSE_IPC 1
11674 if test "$wxUSE_CLIPBOARD" = "yes"; then
11675 cat >> confdefs.h
<<\EOF
11676 #define wxUSE_CLIPBOARD 1
11681 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
11682 if test "$wxUSE_GTK" = 1; then
11683 if test "$WXGTK12" != 1; then
11684 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
11685 wxUSE_DRAG_AND_DROP
=no
11689 if test "$wxUSE_MOTIF" = 1; then
11690 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
11691 wxUSE_DRAG_AND_DROP
=no
11694 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
11695 cat >> confdefs.h
<<\EOF
11696 #define wxUSE_DRAG_AND_DROP 1
11699 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
11703 if test "$wxUSE_SPLINES" = "yes" ; then
11704 cat >> confdefs.h
<<\EOF
11705 #define wxUSE_SPLINES 1
11711 if test "$wxUSE_ACCEL" = "yes"; then
11712 cat >> confdefs.h
<<\EOF
11713 #define wxUSE_ACCEL 1
11718 if test "$wxUSE_CARET" = "yes"; then
11719 cat >> confdefs.h
<<\EOF
11720 #define wxUSE_CARET 1
11723 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
11726 if test "$wxUSE_COMBOBOX" = "yes"; then
11727 cat >> confdefs.h
<<\EOF
11728 #define wxUSE_COMBOBOX 1
11733 if test "$wxUSE_CHOICE" = "yes"; then
11734 cat >> confdefs.h
<<\EOF
11735 #define wxUSE_CHOICE 1
11740 if test "$wxUSE_BMPBUTTON" = "yes"; then
11741 cat >> confdefs.h
<<\EOF
11742 #define wxUSE_BMPBUTTON 1
11747 if test "$wxUSE_CHECKBOX" = "yes"; then
11748 cat >> confdefs.h
<<\EOF
11749 #define wxUSE_CHECKBOX 1
11754 if test "$wxUSE_CHECKLST" = "yes"; then
11755 cat >> confdefs.h
<<\EOF
11756 #define wxUSE_CHECKLISTBOX 1
11759 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
11762 if test "$wxUSE_GAUGE" = "yes"; then
11763 cat >> confdefs.h
<<\EOF
11764 #define wxUSE_GAUGE 1
11769 if test "$wxUSE_GRID" = "yes"; then
11770 cat >> confdefs.h
<<\EOF
11771 #define wxUSE_GRID 1
11774 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
11777 if test "$wxUSE_IMAGLIST" = "yes"; then
11778 cat >> confdefs.h
<<\EOF
11779 #define wxUSE_IMAGLIST 1
11784 if test "$wxUSE_LISTBOX" = "yes"; then
11785 cat >> confdefs.h
<<\EOF
11786 #define wxUSE_LISTBOX 1
11791 if test "$wxUSE_LISTCTRL" = "yes"; then
11792 if test "$wxUSE_IMAGLIST" = "yes"; then
11793 cat >> confdefs.h
<<\EOF
11794 #define wxUSE_LISTCTRL 1
11797 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
11799 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
11803 if test "$wxUSE_NOTEBOOK" = "yes"; then
11804 cat >> confdefs.h
<<\EOF
11805 #define wxUSE_NOTEBOOK 1
11808 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
11811 if test "$wxUSE_RADIOBOX" = "yes"; then
11812 cat >> confdefs.h
<<\EOF
11813 #define wxUSE_RADIOBOX 1
11818 if test "$wxUSE_RADIOBTN" = "yes"; then
11819 cat >> confdefs.h
<<\EOF
11820 #define wxUSE_RADIOBTN 1
11825 if test "$wxUSE_SASH" = "yes"; then
11826 cat >> confdefs.h
<<\EOF
11827 #define wxUSE_SASH 1
11830 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
11833 if test "$wxUSE_SCROLLBAR" = "yes"; then
11834 cat >> confdefs.h
<<\EOF
11835 #define wxUSE_SCROLLBAR 1
11838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll"
11841 if test "$wxUSE_SLIDER" = "yes"; then
11842 cat >> confdefs.h
<<\EOF
11843 #define wxUSE_SLIDER 1
11848 if test "$wxUSE_SPINBTN" = "yes"; then
11849 cat >> confdefs.h
<<\EOF
11850 #define wxUSE_SPINBTN 1
11855 if test "$wxUSE_SPLITTER" = "yes"; then
11856 cat >> confdefs.h
<<\EOF
11857 #define wxUSE_SPLITTER 1
11860 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
11863 if test "$wxUSE_STATBMP" = "yes"; then
11864 cat >> confdefs.h
<<\EOF
11865 #define wxUSE_STATBMP 1
11870 if test "$wxUSE_STATBOX" = "yes"; then
11871 cat >> confdefs.h
<<\EOF
11872 #define wxUSE_STATBOX 1
11877 if test "$wxUSE_STATLINE" = "yes"; then
11878 if test "$wxUSE_WINE" = 1 ; then
11879 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
11881 cat >> confdefs.h
<<\EOF
11882 #define wxUSE_STATLINE 1
11888 if test "$wxUSE_STATUSBAR" = "yes"; then
11889 cat >> confdefs.h
<<\EOF
11890 #define wxUSE_STATUSBAR 1
11895 if test "$wxUSE_TABDIALOG" = "yes"; then
11896 cat >> confdefs.h
<<\EOF
11897 #define wxUSE_TAB_DIALOG 1
11900 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
11903 if test "$wxUSE_TOOLBAR" = "yes"; then
11904 cat >> confdefs.h
<<\EOF
11905 #define wxUSE_TOOLBAR 1
11908 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
11911 if test "$wxUSE_TOOLTIPS" = "yes"; then
11912 if test "$wxUSE_MOTIF" = 1; then
11913 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
11915 if test "$wxUSE_WINE" = 1; then
11916 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
11918 cat >> confdefs.h
<<\EOF
11919 #define wxUSE_TOOLTIPS 1
11926 if test "$wxUSE_TREECTRL" = "yes"; then
11927 if test "$wxUSE_IMAGLIST" = "yes"; then
11928 cat >> confdefs.h
<<\EOF
11929 #define wxUSE_TREECTRL 1
11932 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
11934 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
11940 if test "$wxUSE_METAFILE" = "yes"; then
11941 cat >> confdefs.h
<<\EOF
11942 #define wxUSE_METAFILE 1
11947 if test "$wxUSE_DIRDLG" = "yes"; then
11948 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11949 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
11951 if test "$wxUSE_TREECTRL" != "yes"; then
11952 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
11954 cat >> confdefs.h
<<\EOF
11955 #define wxUSE_DIRDLG 1
11962 if test "$wxUSE_TEXTDLG" = "yes"; then
11963 cat >> confdefs.h
<<\EOF
11964 #define wxUSE_TEXTDLG 1
11969 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
11970 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11971 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
11973 cat >> confdefs.h
<<\EOF
11974 #define wxUSE_STARTUP_TIPS 1
11980 if test "$wxUSE_PROGRESSDLG" = "yes"; then
11981 if test "$wxUSE_CONSTRAINTS" != "yes"; then
11982 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
11984 cat >> confdefs.h
<<\EOF
11985 #define wxUSE_PROGRESSDLG 1
11991 if test "$wxUSE_MINIFRAME" = "yes"; then
11992 cat >> confdefs.h
<<\EOF
11993 #define wxUSE_MINIFRAME 1
11996 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
11999 if test "$wxUSE_HTML" = "yes"; then
12000 cat >> confdefs.h
<<\EOF
12001 #define wxUSE_HTML 1
12004 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
12005 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
12008 if test "$wxUSE_VALIDATORS" = "yes"; then
12009 cat >> confdefs.h
<<\EOF
12010 #define wxUSE_VALIDATORS 1
12013 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
12016 if test "$wxUSE_GIF" = "yes" ; then
12017 cat >> confdefs.h
<<\EOF
12018 #define wxUSE_GIF 1
12023 if test "$wxUSE_PCX" = "yes" ; then
12024 cat >> confdefs.h
<<\EOF
12025 #define wxUSE_PCX 1
12030 if test "$wxUSE_PNM" = "yes" ; then
12031 cat >> confdefs.h
<<\EOF
12032 #define wxUSE_PNM 1
12038 GUILIBS
="$GUI_TK_LIBRARY $OPENGL_LINK $LIBPNG_LINK $ZLIB_LINK $TOOLKIT_LINK"
12040 EXTRA_LIBS
="$LIBS $POSIX4_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK"
12041 if test "$wxUSE_GUI" = "yes"; then
12042 EXTRA_LIBS
="$EXTRA_LIBS $GUILIBS"
12045 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
12047 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TOOLKIT_INCLUDE"
12049 if test "$GXX" = yes ; then
12050 CXXWARNINGS
="-Wall"
12052 EXTRA_CFLAGS
="$WXDEBUG $PROFILE $OPTIMISE $INCLUDES"
12054 CPPFLAGS
="-I\${top_srcdir}/include $CPPFLAGS"
12055 CFLAGS
="$CFLAGS $EXTRA_CFLAGS"
12056 CXXFLAGS
="$CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS"
12058 if test "$wxUSE_GUI" = "yes"; then
12060 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS bombs controls dialogs drawing dynamic \
12061 forty fractal image wxpoem"
12066 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '`"
12120 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
12121 echo "configure:12122: checking whether ${MAKE-make} sets \${MAKE}" >&5
12122 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
12123 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
12124 echo $ac_n "(cached) $ac_c" 1>&6
12126 cat > conftestmake
<<\EOF
12128 @
echo 'ac_maketemp="${MAKE}"'
12130 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
12131 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
12132 if test -n "$ac_maketemp"; then
12133 eval ac_cv_prog_make_
${ac_make}_set
=yes
12135 eval ac_cv_prog_make_
${ac_make}_set
=no
12139 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
12140 echo "$ac_t""yes" 1>&6
12143 echo "$ac_t""no" 1>&6
12144 SET_MAKE
="MAKE=${MAKE-make}"
12150 if test "${TOOLKIT_DIR}" = "msw" ; then
12151 GL_TOOLKIT_DIR
="win"
12153 GL_TOOLKIT_DIR
="${TOOLKIT_DIR}"
12158 cat > confcache
<<\EOF
12159 # This file is a shell script that caches the results of configure
12160 # tests run on this system so they can be shared between configure
12161 # scripts and configure runs. It is not useful on other systems.
12162 # If it contains results you don't want to keep, you may remove or edit it.
12164 # By default, configure uses ./config.cache as the cache file,
12165 # creating it if it does not exist already. You can give configure
12166 # the --cache-file=FILE option to use a different cache file; that is
12167 # what configure does when it calls configure scripts in
12168 # subdirectories, so they share the cache.
12169 # Giving --cache-file=/dev/null disables caching, for debugging configure.
12170 # config.status only pays attention to the cache file if you give it the
12171 # --recheck option to rerun configure.
12174 # The following way of writing the cache mishandles newlines in values,
12175 # but we know of no workaround that is simple, portable, and efficient.
12176 # So, don't put newlines in cache variables' values.
12177 # Ultrix sh set writes to stderr and can't be redirected directly,
12178 # and sets the high bit in the cache file unless we assign to the vars.
12180 case `(ac_space=' '; set | grep ac_space) 2>&1` in
12182 # `set' does not quote correctly, so add quotes (double-quote substitution
12183 # turns \\\\ into \\, and sed turns \\ into \).
12185 -e "s/'/'\\\\''/g" \
12186 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
12189 # `set' quotes correctly as required by POSIX, so do not add quotes.
12190 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
12193 if cmp -s $cache_file confcache
; then
12196 if test -w $cache_file; then
12197 echo "updating cache $cache_file"
12198 cat confcache
> $cache_file
12200 echo "not updating unwritable cache $cache_file"
12205 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
12207 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
12208 # Let make expand exec_prefix.
12209 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
12211 # Any assignment to VPATH causes Sun make to only execute
12212 # the first set of double-colon rules, so remove it if not needed.
12213 # If there is a colon in the path, we need to keep it.
12214 if test "x$srcdir" = x.
; then
12215 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
12218 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
12220 DEFS
=-DHAVE_CONFIG_H
12222 # Without the "./", some shells look in PATH for config.status.
12223 : ${CONFIG_STATUS=./config.status}
12225 echo creating
$CONFIG_STATUS
12226 rm -f $CONFIG_STATUS
12227 cat > $CONFIG_STATUS <<EOF
12229 # Generated automatically by configure.
12230 # Run this file to recreate the current configuration.
12231 # This directory was configured as follows,
12232 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
12234 # $0 $ac_configure_args
12236 # Compiler output produced by configure, useful for debugging
12237 # configure, is in ./config.log if it exists.
12239 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
12242 case "\$ac_option" in
12243 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12244 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
12245 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
12246 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
12247 echo "$CONFIG_STATUS generated by autoconf version 2.14"
12249 -help | --help | --hel | --he | --h)
12250 echo "\$ac_cs_usage"; exit 0 ;;
12251 *) echo "\$ac_cs_usage"; exit 1 ;;
12255 ac_given_srcdir=$srcdir
12256 ac_given_INSTALL="$INSTALL"
12258 trap 'rm -fr `echo "
12265 samples/bombs/Makefile
12266 samples/caret/Makefile
12267 samples/checklst/Makefile
12268 samples/config/Makefile
12269 samples/controls/Makefile
12270 samples/dialogs/Makefile
12271 samples/docview/Makefile
12272 samples/docvwmdi/Makefile
12273 samples/dnd/Makefile
12274 samples/drawing/Makefile
12275 samples/dynamic/Makefile
12276 samples/image/Makefile
12277 samples/internat/Makefile
12278 samples/layout/Makefile
12279 samples/listctrl/Makefile
12280 samples/mdi/Makefile
12281 samples/minifram/Makefile
12282 samples/minimal/Makefile
12283 samples/notebook/Makefile
12284 samples/printing/Makefile
12285 samples/proplist/Makefile
12286 samples/sashtest/Makefile
12287 samples/scroll/Makefile
12288 samples/splitter/Makefile
12289 samples/text/Makefile
12290 samples/thread/Makefile
12291 samples/toolbar/Makefile
12292 samples/treectrl/Makefile
12293 samples/typetest/Makefile
12294 samples/validate/Makefile
12295 samples/wxpoem/Makefile
12296 samples/wxsocket/Makefile
12297 samples/wizard/Makefile
12298 samples/html/Makefile
12299 samples/html/about/Makefile
12300 samples/html/help/Makefile
12301 samples/html/printing/Makefile
12302 samples/html/test/Makefile
12303 samples/html/zip/Makefile
12304 samples/html/virtual/Makefile
12305 samples/html/widget/Makefile
12307 utils/wxMMedia2/Makefile
12308 utils/wxMMedia2/lib/Makefile
12309 utils/wxMMedia2/sample/Makefile
12310 utils/glcanvas/Makefile
12311 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12313 utils/ogl/src/Makefile
12314 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
12316 cat >> $CONFIG_STATUS <<EOF
12318 # Protect against being on the right side of a sed subst in config.status.
12319 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
12320 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
12324 s%@CFLAGS@%$CFLAGS%g
12325 s%@CPPFLAGS@%$CPPFLAGS%g
12326 s%@CXXFLAGS@%$CXXFLAGS%g
12327 s%@FFLAGS@%$FFLAGS%g
12329 s%@LDFLAGS@%$LDFLAGS%g
12331 s%@exec_prefix@%$exec_prefix%g
12332 s%@prefix@%$prefix%g
12333 s%@program_transform_name@%$program_transform_name%g
12334 s%@bindir@%$bindir%g
12335 s%@sbindir@%$sbindir%g
12336 s%@libexecdir@%$libexecdir%g
12337 s%@datadir@%$datadir%g
12338 s%@sysconfdir@%$sysconfdir%g
12339 s%@sharedstatedir@%$sharedstatedir%g
12340 s%@localstatedir@%$localstatedir%g
12341 s%@libdir@%$libdir%g
12342 s%@includedir@%$includedir%g
12343 s%@oldincludedir@%$oldincludedir%g
12344 s%@infodir@%$infodir%g
12345 s%@mandir@%$mandir%g
12347 s%@host_alias@%$host_alias%g
12348 s%@host_cpu@%$host_cpu%g
12349 s%@host_vendor@%$host_vendor%g
12350 s%@host_os@%$host_os%g
12351 s%@target@%$target%g
12352 s%@target_alias@%$target_alias%g
12353 s%@target_cpu@%$target_cpu%g
12354 s%@target_vendor@%$target_vendor%g
12355 s%@target_os@%$target_os%g
12357 s%@build_alias@%$build_alias%g
12358 s%@build_cpu@%$build_cpu%g
12359 s%@build_vendor@%$build_vendor%g
12360 s%@build_os@%$build_os%g
12364 s%@CXXCPP@%$CXXCPP%g
12365 s%@RANLIB@%$RANLIB%g
12367 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
12368 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
12369 s%@INSTALL_DATA@%$INSTALL_DATA%g
12373 s%@LEXLIB@%$LEXLIB%g
12375 s%@GTK_CONFIG@%$GTK_CONFIG%g
12376 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
12377 s%@GTK_LIBS@%$GTK_LIBS%g
12378 s%@X_CFLAGS@%$X_CFLAGS%g
12379 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
12380 s%@X_LIBS@%$X_LIBS%g
12381 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
12382 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
12383 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
12384 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
12385 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
12386 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
12387 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
12388 s%@WX_LIBRARY@%$WX_LIBRARY%g
12389 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
12390 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
12391 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
12392 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
12393 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
12394 s%@WX_CREATE_LINKS@%$WX_CREATE_LINKS%g
12395 s%@WX_CREATE_INSTALLED_LINKS@%$WX_CREATE_INSTALLED_LINKS%g
12396 s%@SHARED_LD@%$SHARED_LD%g
12397 s%@PIC_FLAG@%$PIC_FLAG%g
12398 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
12399 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
12400 s%@TOOLKIT@%$TOOLKIT%g
12401 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
12402 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
12403 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
12404 s%@GUIHEADERS@%$GUIHEADERS%g
12405 s%@GUIOBJS@%$GUIOBJS%g
12406 s%@COMMONOBJS@%$COMMONOBJS%g
12407 s%@GENERICOBJS@%$GENERICOBJS%g
12408 s%@GUIDEPS@%$GUIDEPS%g
12409 s%@COMMONDEPS@%$COMMONDEPS%g
12410 s%@GENERICDEPS@%$GENERICDEPS%g
12411 s%@UNIXOBJS@%$UNIXOBJS%g
12412 s%@UNIXDEPS@%$UNIXDEPS%g
12413 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
12414 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
12415 s%@ALL_HEADERS@%$ALL_HEADERS%g
12416 s%@GUIDIST@%$GUIDIST%g
12417 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
12418 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
12419 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
12420 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
12421 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
12422 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
12423 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
12424 s%@LD_LIBS@%$LD_LIBS%g
12425 s%@SET_MAKE@%$SET_MAKE%g
12426 s%@GL_TOOLKIT_DIR@%$GL_TOOLKIT_DIR%g
12431 cat >> $CONFIG_STATUS <<\EOF
12433 # Split the substitutions into bite-sized pieces for seds with
12434 # small command number limits, like on Digital OSF/1 and HP-UX.
12435 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
12436 ac_file
=1 # Number of current file.
12437 ac_beg
=1 # First line for current file.
12438 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
12441 while $ac_more_lines; do
12442 if test $ac_beg -gt 1; then
12443 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
12445 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
12447 if test ! -s conftest.s
$ac_file; then
12448 ac_more_lines
=false
12449 rm -f conftest.s
$ac_file
12451 if test -z "$ac_sed_cmds"; then
12452 ac_sed_cmds
="sed -f conftest.s$ac_file"
12454 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
12456 ac_file
=`expr $ac_file + 1`
12458 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
12461 if test -z "$ac_sed_cmds"; then
12466 cat >> $CONFIG_STATUS <<EOF
12468 CONFIG_FILES=\${CONFIG_FILES-"wx-config
12474 samples/bombs/Makefile
12475 samples/caret/Makefile
12476 samples/checklst/Makefile
12477 samples/config/Makefile
12478 samples/controls/Makefile
12479 samples/dialogs/Makefile
12480 samples/docview/Makefile
12481 samples/docvwmdi/Makefile
12482 samples/dnd/Makefile
12483 samples/drawing/Makefile
12484 samples/dynamic/Makefile
12485 samples/image/Makefile
12486 samples/internat/Makefile
12487 samples/layout/Makefile
12488 samples/listctrl/Makefile
12489 samples/mdi/Makefile
12490 samples/minifram/Makefile
12491 samples/minimal/Makefile
12492 samples/notebook/Makefile
12493 samples/printing/Makefile
12494 samples/proplist/Makefile
12495 samples/sashtest/Makefile
12496 samples/scroll/Makefile
12497 samples/splitter/Makefile
12498 samples/text/Makefile
12499 samples/thread/Makefile
12500 samples/toolbar/Makefile
12501 samples/treectrl/Makefile
12502 samples/typetest/Makefile
12503 samples/validate/Makefile
12504 samples/wxpoem/Makefile
12505 samples/wxsocket/Makefile
12506 samples/wizard/Makefile
12507 samples/html/Makefile
12508 samples/html/about/Makefile
12509 samples/html/help/Makefile
12510 samples/html/printing/Makefile
12511 samples/html/test/Makefile
12512 samples/html/zip/Makefile
12513 samples/html/virtual/Makefile
12514 samples/html/widget/Makefile
12516 utils/wxMMedia2/Makefile
12517 utils/wxMMedia2/lib/Makefile
12518 utils/wxMMedia2/sample/Makefile
12519 utils/glcanvas/Makefile
12520 utils/glcanvas/${GL_TOOLKIT_DIR}/Makefile
12522 utils/ogl/src/Makefile
12525 cat >> $CONFIG_STATUS <<\EOF
12526 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
12527 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12529 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12530 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12531 *) ac_file_in
="${ac_file}.in" ;;
12534 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
12536 # Remove last slash and all that follows it. Not all systems have dirname.
12537 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12538 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
12539 # The file is in a subdirectory.
12540 test ! -d "$ac_dir" && mkdir "$ac_dir"
12541 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
12542 # A "../" for each directory in $ac_dir_suffix.
12543 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
12545 ac_dir_suffix
= ac_dots
=
12548 case "$ac_given_srcdir" in
12550 if test -z "$ac_dots"; then top_srcdir
=.
12551 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
12552 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
12553 *) # Relative path.
12554 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
12555 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
12558 case "$ac_given_INSTALL" in
12559 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
12560 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
12563 echo creating
"$ac_file"
12565 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
12567 *Makefile
*) ac_comsub
="1i\\
12568 # $configure_input" ;;
12572 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12574 s%@configure_input@%$configure_input%g
12575 s%@srcdir@%$srcdir%g
12576 s%@top_srcdir@%$top_srcdir%g
12577 s%@INSTALL@%$INSTALL%g
12578 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
12582 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
12583 # NAME is the cpp macro being defined and VALUE is the value it is being given.
12585 # ac_d sets the value in "#define NAME VALUE" lines.
12586 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
12587 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
12590 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
12591 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12592 ac_uB
='\([ ]\)%\1#\2define\3'
12595 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
12596 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
12597 ac_eB
='$%\1#\2define\3'
12601 if test "${CONFIG_HEADERS+set}" != set; then
12603 cat >> $CONFIG_STATUS <<EOF
12604 CONFIG_HEADERS="setup.h:setup.h.in"
12606 cat >> $CONFIG_STATUS <<\EOF
12608 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
12609 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
12611 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
12612 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
12613 *) ac_file_in
="${ac_file}.in" ;;
12616 echo creating
$ac_file
12618 rm -f conftest.frag conftest.
in conftest.out
12619 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
12620 cat $ac_file_inputs > conftest.
in
12624 # Transform confdefs.h into a sed script conftest.vals that substitutes
12625 # the proper values into config.h.in to produce config.h. And first:
12626 # Protect against being on the right side of a sed subst in config.status.
12627 # Protect against being in an unquoted here document in config.status.
12628 rm -f conftest.vals
12629 cat > conftest.hdr
<<\EOF
12632 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
12636 sed -n -f conftest.hdr confdefs.h > conftest.vals
12639 # This sed command replaces #undef with comments. This is necessary, for
12640 # example, in the case of _POSIX_SOURCE, which is predefined and required
12641 # on some systems where configure will not decide to define it.
12642 cat >> conftest.vals <<\EOF
12643 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
12646 # Break up conftest.vals because some shells have a limit on
12647 # the size of here documents, and old seds have small limits too.
12649 rm -f conftest.tail
12652 ac_lines=`grep -c . conftest.vals
`
12653 # grep -c gives empty output for an empty file on some AIX systems.
12654 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
12655 # Write a limited-size here document to conftest.frag.
12656 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
12657 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
12659 sed -f conftest.frag conftest.in > conftest.out
12661 mv conftest.out conftest.in
12662 ' >> $CONFIG_STATUS
12663 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
12664 rm -f conftest.vals
12665 mv conftest.tail conftest.vals
12667 rm -f conftest.vals
12669 cat >> $CONFIG_STATUS <<\EOF
12670 rm -f conftest.frag conftest.h
12671 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
12672 cat conftest.in >> conftest.h
12674 if cmp -s $ac_file conftest.h 2>/dev/null; then
12675 echo "$ac_file is unchanged"
12678 # Remove last slash and all that follows it. Not all systems have dirname.
12679 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
12680 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
12681 # The file is in a subdirectory.
12682 test ! -d "$ac_dir" && mkdir "$ac_dir"
12685 mv conftest.h $ac_file
12690 cat >> $CONFIG_STATUS <<EOF
12692 LN_S="${ac_cv_prog_LN_S}"
12693 TOOLKIT_DIR="${TOOLKIT_DIR}"
12697 cat >> $CONFIG_STATUS <<\EOF
12700 if test ! -d include; then
12703 if test ! -d include/wx; then
12706 if test ! -d include/wx/${TOOLKIT_DIR}; then
12707 mkdir include/wx/${TOOLKIT_DIR}
12709 cp -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
12713 chmod +x $CONFIG_STATUS
12714 rm -fr confdefs* $ac_clean_files
12715 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1