3 # From configure.in Id: configure.in
42 # Configure paths for GTK+
46 # Guess values for system-dependent variables and create Makefiles.
47 # Generated automatically using autoconf version 2.13
48 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
50 # This configure script is free software; the Free Software Foundation
51 # gives unlimited permission to copy, distribute and modify it.
55 ac_default_prefix
=/usr
/local
56 # Any additions from configure.in:
58 --enable-gui use GUI classes"
62 --with-motif use Motif/Lesstif"
64 --with-mac use Mac OS X"
68 --with-cygwin use Cygwin for MS-Windows"
70 --with-mingw use GCC Minimal MS-Windows"
72 --with-pm use OS/2 Presentation Manager"
74 --with-gtk-prefix=PFX Prefix where GTK is installed"
76 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
78 --with-libpng use libpng (PNG image format)"
80 --with-libjpeg use libjpeg (JPEG file format)"
82 --with-libtiff use libtiff (TIFF file format)"
84 --with-freetype use freetype (font rasterizer)"
86 --with-opengl use OpenGL (or Mesa)"
88 --with-dmalloc use dmalloc library (www.letters.com/dmalloc)"
90 --with-zlib use zlib for LZW compression"
92 --with-odbc use the IODBC and wxODBC classes"
94 --enable-shared create shared library code"
96 --enable-burnt_name create set name in shared library "
98 --enable-optimise create optimised code"
100 --enable-debug same as debug_flag and debug_info"
102 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)"
104 --enable-debug_info create code with debugging information"
106 --enable-debug_gdb create code with extra GDB debugging information"
108 --enable-debug_cntxt use wxDebugContext"
110 --enable-mem_tracing create code with memory tracing"
112 --enable-profile create code with profiling information"
114 --enable-no_rtti create code without RTTI information"
116 --enable-no_exceptions create code without exceptions information"
118 --enable-permissive compile code disregarding strict ANSI"
120 --enable-no_deps create code without dependency information"
122 --enable-intl use internationalization system"
124 --enable-config use wxConfig (and derived) classes"
126 --enable-sockets use socket/network classes"
128 --enable-ipc use interprocess communication (wxSocket etc.)"
130 --enable-dialupman use dialup network classes"
132 --enable-apple_ieee use the Apple IEEE codec"
134 --enable-timedate use date/time classes"
136 --enable-wave use wxWave class"
138 --enable-fraction use wxFraction class"
140 --enable-dynlib use wxLibrary class for DLL loading"
142 --enable-longlong use wxLongLong class"
144 --enable-geometry use geometry class"
146 --enable-log use logging system"
148 --enable-streams use wxStream etc classes"
150 --enable-file use wxFile classes"
152 --enable-textfile use wxTextFile classes"
154 --enable-unicode compile wxString with Unicode support"
156 --enable-wcsrtombs use wcsrtombs instead of buggy (GNU libc1/Linux libc5) wcstombs"
158 --enable-wxprintfv use wxWindows implementation of vprintf()"
160 --enable-std_iostreams use standard C++ stream classes"
162 --enable-filesystem use virtual file systems classes"
164 --enable-fs_inet use virtual HTTP/FTP filesystems"
166 --enable-fs_zip use virtual ZIP filesystems"
168 --enable-zipstream use wxZipInputStream"
170 --enable-catch_segvs catch signals and pass them to wxApp::OnFatalException"
172 --enable-threads use threads"
174 --enable-serial use class serialization"
176 --enable-docview use document view architecture"
178 --enable-help use help (using external browser at present)"
180 --enable-constraints use layout-constraints system"
182 --enable-printarch use printing architecture"
184 --enable-mdi use multiple document interface architecture"
186 --enable-postscript use wxPostscriptDC device context (default for gtk+)"
188 --enable-prologio use Prolog IO library"
190 --enable-resources use wxWindows resources"
192 --enable-xresources use X resources for save (default for gtk+)"
194 --enable-clipboard use wxClipboard classes"
196 --enable-dnd use Drag'n'Drop classes"
198 --enable-wxtree make wxTree library"
200 --enable-controls use all usual controls"
202 --enable-accel use accelerators"
204 --enable-caret use wxCaret class"
206 --enable-bmpbutton use wxBitmapButton class"
208 --enable-checkbox use wxCheckBox class"
210 --enable-checklst use wxCheckListBox (listbox with checkboxes) class"
212 --enable-choice use wxChoice class"
214 --enable-combobox use wxComboBox classes"
216 --enable-gauge use wxGauge class"
218 --enable-grid use wxGrid class"
220 --enable-newgrid use new wxGrid class"
222 --enable-imaglist use wxImageList class"
224 --enable-listbox use wxListBox class"
226 --enable-listctrl use wxListCtrl class"
228 --enable-notebook use wxNotebook class"
230 --enable-radiobox use wxRadioBox class"
232 --enable-radiobtn use wxRadioButton class"
234 --enable-sash use wxSashWindow class"
236 --enable-scrollbar use wxScrollBar class and scrollable windows"
238 --enable-slider use wxSlider class"
240 --enable-spinbtn use wxSpinButton class"
242 --enable-spinctrl use wxSpinCtrl class"
244 --enable-splitter use wxSplitterWindow class"
246 --enable-statbmp use wxStaticBitmap class"
248 --enable-statbox use wxStaticBox class"
250 --enable-statline use wxStaticLine class"
252 --enable-statusbar use wxStatusBar class"
254 --enable-tabdialog use wxTabControl class"
256 --enable-toolbar use wxToolBar class"
258 --enable-tbarnative use native wxToolBar class"
260 --enable-tbarsmpl use wxToolBarSimple class"
262 --enable-treectrl use wxTreeCtrl class"
264 --enable-commondlg use common dialogs (wxDirDialog, wxProgressDialog, wxTextDialog, ...)"
266 --enable-dirdlg use wxDirDialog"
268 --enable-textdlg use wxTextDialog"
270 --enable-tipdlg use startup tips"
272 --enable-progressdlg use wxProgressDialog"
274 --enable-miniframe use wxMiniFrame class"
276 --enable-html use wxHTML sub-library"
278 --enable-tooltips use wxToolTip class"
280 --enable-splines use spline drawing code"
282 --enable-validators use wxValidator and derived classes"
284 --enable-busyinfo use wxBusyInfo"
286 --enable-joystick compile in joystick support (Linux only)"
288 --enable-gif use gif images (GIF file format)"
290 --enable-pcx use pcx images (PCX file format)"
292 --enable-pnm use pnm images (PNM file format)"
294 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
296 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
298 --disable-gtktest Do not try to compile and run a test GTK program"
300 --with-x use the X Window System"
302 # Initialize some variables set by options.
303 # The variables have the same names as the options, with
304 # dashes changed to underlines.
306 cache_file
=.
/config.cache
315 program_transform_name
=s
,x
,x
,
323 bindir
='${exec_prefix}/bin'
324 sbindir
='${exec_prefix}/sbin'
325 libexecdir
='${exec_prefix}/libexec'
326 datadir
='${prefix}/share'
327 sysconfdir
='${prefix}/etc'
328 sharedstatedir
='${prefix}/com'
329 localstatedir
='${prefix}/var'
330 libdir
='${exec_prefix}/lib'
331 includedir
='${prefix}/include'
332 oldincludedir
='/usr/include'
333 infodir
='${prefix}/info'
334 mandir
='${prefix}/man'
336 # Initialize some other variables.
339 SHELL
=${CONFIG_SHELL-/bin/sh}
340 # Maximum number of lines to put in a shell here document.
347 # If the previous option needs an argument, assign it.
348 if test -n "$ac_prev"; then
349 eval "$ac_prev=\$ac_option"
355 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
359 # Accept the important Cygnus configure options, so we can diagnose typos.
363 -bindir | --bindir | --bindi | --bind | --bin | --bi)
365 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
366 bindir
="$ac_optarg" ;;
368 -build | --build | --buil | --bui | --bu)
370 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
371 build
="$ac_optarg" ;;
373 -cache-file | --cache-file | --cache-fil | --cache-fi \
374 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
375 ac_prev
=cache_file
;;
376 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
377 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
378 cache_file
="$ac_optarg" ;;
380 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
382 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
384 datadir
="$ac_optarg" ;;
386 -disable-* | --disable-*)
387 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
388 # Reject names that are not valid shell variable names.
389 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
390 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
392 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
393 eval "enable_${ac_feature}=no" ;;
395 -enable-* | --enable-*)
396 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
397 # Reject names that are not valid shell variable names.
398 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
399 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
401 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
406 eval "enable_${ac_feature}='$ac_optarg'" ;;
408 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
409 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
410 | --exec | --exe | --ex)
411 ac_prev
=exec_prefix
;;
412 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
413 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
414 | --exec=* | --exe=* | --ex=*)
415 exec_prefix
="$ac_optarg" ;;
417 -gas | --gas | --ga | --g)
418 # Obsolete; use --with-gas.
421 -help | --help | --hel | --he)
422 # Omit some internal or obsolete options to make the list less imposing.
423 # This message is too long to be a string in the A/UX 3.1 sh.
425 Usage: configure [options] [host]
426 Options: [defaults in brackets after descriptions]
428 --cache-file=FILE cache test results in FILE
429 --help print this message
430 --no-create do not create output files
431 --quiet, --silent do not print \`checking...' messages
432 --version print the version of autoconf that created configure
433 Directory and file names:
434 --prefix=PREFIX install architecture-independent files in PREFIX
436 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
438 --bindir=DIR user executables in DIR [EPREFIX/bin]
439 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
440 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
441 --datadir=DIR read-only architecture-independent data in DIR
443 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
444 --sharedstatedir=DIR modifiable architecture-independent data in DIR
446 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
447 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
448 --includedir=DIR C header files in DIR [PREFIX/include]
449 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
450 --infodir=DIR info documentation in DIR [PREFIX/info]
451 --mandir=DIR man documentation in DIR [PREFIX/man]
452 --srcdir=DIR find the sources in DIR [configure dir or ..]
453 --program-prefix=PREFIX prepend PREFIX to installed program names
454 --program-suffix=SUFFIX append SUFFIX to installed program names
455 --program-transform-name=PROGRAM
456 run sed PROGRAM on installed program names
460 --build=BUILD configure for building on BUILD [BUILD=HOST]
461 --host=HOST configure for HOST [guessed]
462 --target=TARGET configure for TARGET [TARGET=HOST]
463 Features and packages:
464 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
465 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
466 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
467 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
468 --x-includes=DIR X include files are in DIR
469 --x-libraries=DIR X library files are in DIR
471 if test -n "$ac_help"; then
472 echo "--enable and --with options recognized:$ac_help"
476 -host | --host | --hos | --ho)
478 -host=* | --host=* | --hos=* | --ho=*)
481 -includedir | --includedir | --includedi | --included | --include \
482 | --includ | --inclu | --incl | --inc)
483 ac_prev
=includedir
;;
484 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
485 | --includ=* | --inclu=* | --incl=* | --inc=*)
486 includedir
="$ac_optarg" ;;
488 -infodir | --infodir | --infodi | --infod | --info | --inf)
490 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
491 infodir
="$ac_optarg" ;;
493 -libdir | --libdir | --libdi | --libd)
495 -libdir=* | --libdir=* | --libdi=* | --libd=*)
496 libdir
="$ac_optarg" ;;
498 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
499 | --libexe | --libex | --libe)
500 ac_prev
=libexecdir
;;
501 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
502 | --libexe=* | --libex=* | --libe=*)
503 libexecdir
="$ac_optarg" ;;
505 -localstatedir | --localstatedir | --localstatedi | --localstated \
506 | --localstate | --localstat | --localsta | --localst \
507 | --locals | --local | --loca | --loc | --lo)
508 ac_prev
=localstatedir
;;
509 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
510 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
511 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
512 localstatedir
="$ac_optarg" ;;
514 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
516 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
517 mandir
="$ac_optarg" ;;
520 # Obsolete; use --without-fp.
523 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
527 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
528 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
531 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
532 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
533 | --oldin | --oldi | --old | --ol | --o)
534 ac_prev
=oldincludedir
;;
535 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
536 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
537 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
538 oldincludedir
="$ac_optarg" ;;
540 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
542 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
543 prefix
="$ac_optarg" ;;
545 -program-prefix | --program-prefix | --program-prefi | --program-pref \
546 | --program-pre | --program-pr | --program-p)
547 ac_prev
=program_prefix
;;
548 -program-prefix=* | --program-prefix=* | --program-prefi=* \
549 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
550 program_prefix
="$ac_optarg" ;;
552 -program-suffix | --program-suffix | --program-suffi | --program-suff \
553 | --program-suf | --program-su | --program-s)
554 ac_prev
=program_suffix
;;
555 -program-suffix=* | --program-suffix=* | --program-suffi=* \
556 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
557 program_suffix
="$ac_optarg" ;;
559 -program-transform-name | --program-transform-name \
560 | --program-transform-nam | --program-transform-na \
561 | --program-transform-n | --program-transform- \
562 | --program-transform | --program-transfor \
563 | --program-transfo | --program-transf \
564 | --program-trans | --program-tran \
565 | --progr-tra | --program-tr | --program-t)
566 ac_prev
=program_transform_name
;;
567 -program-transform-name=* | --program-transform-name=* \
568 | --program-transform-nam=* | --program-transform-na=* \
569 | --program-transform-n=* | --program-transform-=* \
570 | --program-transform=* | --program-transfor=* \
571 | --program-transfo=* | --program-transf=* \
572 | --program-trans=* | --program-tran=* \
573 | --progr-tra=* | --program-tr=* | --program-t=*)
574 program_transform_name
="$ac_optarg" ;;
576 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
577 | -silent | --silent | --silen | --sile | --sil)
580 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
582 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
584 sbindir
="$ac_optarg" ;;
586 -sharedstatedir | --sharedstatedir | --sharedstatedi \
587 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
588 | --sharedst | --shareds | --shared | --share | --shar \
590 ac_prev
=sharedstatedir
;;
591 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
592 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
593 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
595 sharedstatedir
="$ac_optarg" ;;
597 -site | --site | --sit)
599 -site=* | --site=* | --sit=*)
602 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
604 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
605 srcdir
="$ac_optarg" ;;
607 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
608 | --syscon | --sysco | --sysc | --sys | --sy)
609 ac_prev
=sysconfdir
;;
610 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
611 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
612 sysconfdir
="$ac_optarg" ;;
614 -target | --target | --targe | --targ | --tar | --ta | --t)
616 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
617 target
="$ac_optarg" ;;
619 -v | -verbose | --verbose | --verbos | --verbo | --verb)
622 -version | --version | --versio | --versi | --vers)
623 echo "configure generated by autoconf version 2.13"
627 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
628 # Reject names that are not valid shell variable names.
629 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
630 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
632 ac_package
=`echo $ac_package| sed 's/-/_/g'`
637 eval "with_${ac_package}='$ac_optarg'" ;;
639 -without-* | --without-*)
640 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
641 # Reject names that are not valid shell variable names.
642 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
643 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
645 ac_package
=`echo $ac_package| sed 's/-/_/g'`
646 eval "with_${ac_package}=no" ;;
649 # Obsolete; use --with-x.
652 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
653 | --x-incl | --x-inc | --x-in | --x-i)
654 ac_prev
=x_includes
;;
655 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
656 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
657 x_includes
="$ac_optarg" ;;
659 -x-libraries | --x-libraries | --x-librarie | --x-librari \
660 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
661 ac_prev
=x_libraries
;;
662 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
663 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
664 x_libraries
="$ac_optarg" ;;
666 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
670 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
671 echo "configure: warning: $ac_option: invalid host type" 1>&2
673 if test "x$nonopt" != xNONE
; then
674 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
682 if test -n "$ac_prev"; then
683 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
686 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
688 # File descriptor usage:
691 # 2 errors and warnings
692 # 3 some systems may open it to /dev/tty
693 # 4 used on the Kubota Titan
694 # 6 checking for... messages and results
695 # 5 compiler messages saved in config.log
696 if test "$silent" = yes; then
704 This file contains any messages produced by compilers while
705 running configure, to aid debugging if configure makes a mistake.
708 # Strip out --no-create and --no-recursion so they do not pile up.
709 # Also quote any args containing shell metacharacters.
714 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
715 | --no-cr | --no-c) ;;
716 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
717 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
718 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
719 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
720 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
725 # Only set these to C if already set. These must not be set unconditionally
726 # because not all systems understand e.g. LANG=C (notably SCO).
727 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
728 # Non-C LC_CTYPE values break the ctype check.
729 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
730 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
731 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
732 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
734 # confdefs.h avoids OS command line length limits that DEFS can exceed.
735 rm -rf conftest
* confdefs.h
736 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
739 # A filename unique to this package, relative to the directory that
740 # configure is in, which we can look for to find out if srcdir is correct.
741 ac_unique_file
=wx
-config.
in
743 # Find the source files, if location was not specified.
744 if test -z "$srcdir"; then
745 ac_srcdir_defaulted
=yes
746 # Try the directory containing this script, then its parent.
748 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
749 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
751 if test ! -r $srcdir/$ac_unique_file; then
755 ac_srcdir_defaulted
=no
757 if test ! -r $srcdir/$ac_unique_file; then
758 if test "$ac_srcdir_defaulted" = yes; then
759 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
761 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
764 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
766 # Prefer explicitly selected file to automatically selected ones.
767 if test -z "$CONFIG_SITE"; then
768 if test "x$prefix" != xNONE
; then
769 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
771 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
774 for ac_site_file
in $CONFIG_SITE; do
775 if test -r "$ac_site_file"; then
776 echo "loading site script $ac_site_file"
781 if test -r "$cache_file"; then
782 echo "loading cache $cache_file"
785 echo "creating cache $cache_file"
790 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
791 ac_cpp
='$CPP $CPPFLAGS'
792 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
793 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
794 cross_compiling
=$ac_cv_prog_cc_cross
798 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
799 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
800 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
807 ac_n
= ac_c
='\c' ac_t
=
813 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
814 if test -f $ac_dir/install-sh; then
816 ac_install_sh
="$ac_aux_dir/install-sh -c"
818 elif test -f $ac_dir/install.sh
; then
820 ac_install_sh
="$ac_aux_dir/install.sh -c"
824 if test -z "$ac_aux_dir"; then
825 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
827 ac_config_guess
=$ac_aux_dir/config.guess
828 ac_config_sub
=$ac_aux_dir/config.sub
829 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
832 # Do some error checking and defaulting for the host and target type.
834 # configure --host=HOST --target=TARGET --build=BUILD NONOPT
837 # 1. You are not allowed to specify --host, --target, and nonopt at the
839 # 2. Host defaults to nonopt.
840 # 3. If nonopt is not specified, then host defaults to the current host,
841 # as determined by config.guess.
842 # 4. Target and build default to nonopt.
843 # 5. If nonopt is not specified, then target and build default to host.
845 # The aliases save the names the user supplied, while $host etc.
846 # will get canonicalized.
847 case $host---$target---$nonopt in
848 NONE
---*---* | *---NONE---* | *---*---NONE) ;;
849 *) { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } ;;
853 # Make sure we can run config.sub.
854 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
855 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
858 echo $ac_n "checking host system type""... $ac_c" 1>&6
859 echo "configure:860: checking host system type" >&5
862 case "$host_alias" in
866 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
867 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
869 *) host_alias
=$nonopt ;;
873 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
874 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
875 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
876 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
877 echo "$ac_t""$host" 1>&6
879 echo $ac_n "checking target system type""... $ac_c" 1>&6
880 echo "configure:881: checking target system type" >&5
883 case "$target_alias" in
886 NONE
) target_alias
=$host_alias ;;
887 *) target_alias
=$nonopt ;;
891 target
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
892 target_cpu
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
893 target_vendor
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
894 target_os
=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
895 echo "$ac_t""$target" 1>&6
897 echo $ac_n "checking build system type""... $ac_c" 1>&6
898 echo "configure:899: checking build system type" >&5
901 case "$build_alias" in
904 NONE
) build_alias
=$host_alias ;;
905 *) build_alias
=$nonopt ;;
909 build
=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
910 build_cpu
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
911 build_vendor
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
912 build_os
=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
913 echo "$ac_t""$build" 1>&6
915 test "$host_alias" != "$target_alias" &&
916 test "$program_prefix$program_suffix$program_transform_name" = \
918 program_prefix
=${target_alias}-
922 WX_MAJOR_VERSION_NUMBER
=2
923 WX_MINOR_VERSION_NUMBER
=3
929 WX_VERSION
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER.
$WX_RELEASE_NUMBER
931 WX_RELEASE
=$WX_MAJOR_VERSION_NUMBER.
$WX_MINOR_VERSION_NUMBER
932 WX_CURRENT
=`expr $WX_RELEASE_NUMBER - $WX_INTERFACE_AGE`
933 WX_REVISION
=$WX_INTERFACE_AGE
934 WX_AGE
=`expr $WX_BINARY_AGE - $WX_INTERFACE_AGE`
961 NEEDS_D_REENTRANT_FOR_R_FUNCS
=0
963 ALL_TOOLKITS
="CYGWIN GTK MINGW MOTIF MAC WINE PM"
966 DEFAULT_wxUSE_MOTIF
=0
972 DEFAULT_DEFAULT_wxUSE_GTK
=0
973 DEFAULT_DEFAULT_wxUSE_MOTIF
=0
974 DEFAULT_DEFAULT_wxUSE_MSW
=0
975 DEFAULT_DEFAULT_wxUSE_MAC
=0
976 DEFAULT_DEFAULT_wxUSE_WINE
=0
977 DEFAULT_DEFAULT_wxUSE_PM
=0
984 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
985 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
986 cat >> confdefs.h
<<\EOF
993 cat >> confdefs.h
<<\EOF
998 if test "x$TMP" = "xalpha"; then
1000 cat >> confdefs.h
<<\EOF
1005 DEFAULT_DEFAULT_wxUSE_GTK
=1
1007 *-*-irix5* | *-*-irix6* )
1010 cat >> confdefs.h
<<\EOF
1014 cat >> confdefs.h
<<\EOF
1018 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1024 cat >> confdefs.h
<<\EOF
1028 cat >> confdefs.h
<<\EOF
1029 #define __SOLARIS__ 1
1032 cat >> confdefs.h
<<\EOF
1036 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1037 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1043 cat >> confdefs.h
<<\EOF
1047 cat >> confdefs.h
<<\EOF
1051 cat >> confdefs.h
<<\EOF
1055 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1060 cat >> confdefs.h
<<\EOF
1061 #define __FREEBSD__ 1
1064 cat >> confdefs.h
<<\EOF
1068 DEFAULT_DEFAULT_wxUSE_GTK
=1
1073 cat >> confdefs.h
<<\EOF
1074 #define __FREEBSD__ 1
1077 cat >> confdefs.h
<<\EOF
1078 #define __NETBSD__ 1
1081 DEFAULT_DEFAULT_wxUSE_GTK
=1
1086 cat >> confdefs.h
<<\EOF
1090 cat >> confdefs.h
<<\EOF
1094 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1095 NEEDS_D_REENTRANT_FOR_R_FUNCS
=1
1100 cat >> confdefs.h
<<\EOF
1104 cat >> confdefs.h
<<\EOF
1108 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1113 cat >> confdefs.h
<<\EOF
1117 cat >> confdefs.h
<<\EOF
1121 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1127 cat >> confdefs.h
<<\EOF
1131 cat >> confdefs.h
<<\EOF
1135 cat >> confdefs.h
<<\EOF
1139 DEFAULT_DEFAULT_wxUSE_MOTIF
=1
1142 *-*-cygwin32* | *-*-mingw32* )
1145 cat >> confdefs.h
<<\EOF
1149 cat >> confdefs.h
<<\EOF
1153 cat >> confdefs.h
<<\EOF
1154 #define __WINDOWS__ 1
1157 cat >> confdefs.h
<<\EOF
1158 #define __GNUWIN32__ 1
1161 cat >> confdefs.h
<<\EOF
1165 cat >> confdefs.h
<<\EOF
1166 #define WINVER 0x0400
1170 DEFAULT_DEFAULT_wxUSE_MSW
=1
1174 cat >> confdefs.h
<<\EOF
1179 DEFAULT_DEFAULT_wxUSE_PM
=1
1185 cat >> confdefs.h
<<\EOF
1189 cat >> confdefs.h
<<\EOF
1193 cat >> confdefs.h
<<\EOF
1197 DEFAULT_DEFAULT_wxUSE_MAC
=1
1202 cat >> confdefs.h
<<\EOF
1209 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
1212 if test "$USE_UNIX" = 1 ; then
1214 cat >> confdefs.h
<<\EOF
1219 SRC_SUBDIRS
="$SRC_SUBDIRS unix"
1220 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS unix"
1223 if test "$USE_BEOS" = 1; then
1224 SRC_SUBDIRS
="$SRC_SUBDIRS be"
1225 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS be"
1228 if test "$USE_LINUX" = 1; then
1229 echo $ac_n "checking for gettext in -lc""... $ac_c" 1>&6
1230 echo "configure:1231: checking for gettext in -lc" >&5
1231 ac_lib_var
=`echo c'_'gettext | sed 'y%./+-%__p_%'`
1232 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1233 echo $ac_n "(cached) $ac_c" 1>&6
1235 ac_save_LIBS
="$LIBS"
1237 cat > conftest.
$ac_ext <<EOF
1238 #line 1239 "configure"
1239 #include "confdefs.h"
1240 /* Override any gcc2 internal prototype to avoid an error. */
1241 /* We use char because int might match the return type of a gcc2
1242 builtin and then its argument prototype would still apply. */
1249 if { (eval echo configure
:1250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1251 eval "ac_cv_lib_$ac_lib_var=yes"
1253 echo "configure: failed program was:" >&5
1254 cat conftest.
$ac_ext >&5
1256 eval "ac_cv_lib_$ac_lib_var=no"
1259 LIBS
="$ac_save_LIBS"
1262 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1263 echo "$ac_t""yes" 1>&6
1264 cat >> confdefs.h
<<\EOF
1265 #define wxHAVE_GLIBC2 1
1269 echo "$ac_t""no" 1>&6
1277 wx_arg_cache_file
="configarg.cache"
1278 echo "loading argument cache $wx_arg_cache_file"
1279 rm -f ${wx_arg_cache_file}.tmp
1280 touch ${wx_arg_cache_file}.tmp
1281 touch ${wx_arg_cache_file}
1285 if test $DEBUG_CONFIGURE = 1; then
1286 DEFAULT_wxUSE_THREADS
=yes
1288 DEFAULT_wxUSE_SHARED
=yes
1289 DEFAULT_wxUSE_BURNT_NAME
=no
1290 DEFAULT_wxUSE_OPTIMISE
=yes
1291 DEFAULT_wxUSE_PROFILE
=no
1292 DEFAULT_wxUSE_NO_DEPS
=no
1293 DEFAULT_wxUSE_NO_RTTI
=no
1294 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1295 DEFAULT_wxUSE_PERMISSIVE
=no
1296 DEFAULT_wxUSE_DEBUG_FLAG
=yes
1297 DEFAULT_wxUSE_DEBUG_INFO
=yes
1298 DEFAULT_wxUSE_DEBUG_GDB
=yes
1299 DEFAULT_wxUSE_MEM_TRACING
=no
1300 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1301 DEFAULT_wxUSE_DMALLOC
=no
1302 DEFAULT_wxUSE_APPLE_IEEE
=no
1304 DEFAULT_wxUSE_LOG
=yes
1306 DEFAULT_wxUSE_GUI
=yes
1308 DEFAULT_wxUSE_ZLIB
=no
1309 DEFAULT_wxUSE_LIBPNG
=no
1310 DEFAULT_wxUSE_LIBJPEG
=no
1311 DEFAULT_wxUSE_LIBTIFF
=no
1312 DEFAULT_wxUSE_ODBC
=no
1313 DEFAULT_wxUSE_FREETYPE
=no
1314 DEFAULT_wxUSE_OPENGL
=no
1316 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=no
1317 DEFAULT_wxUSE_STD_IOSTREAM
=no
1318 DEFAULT_wxUSE_FILE
=no
1319 DEFAULT_wxUSE_TEXTFILE
=no
1320 DEFAULT_wxUSE_TIMEDATE
=no
1321 DEFAULT_wxUSE_WAVE
=no
1322 DEFAULT_wxUSE_INTL
=no
1323 DEFAULT_wxUSE_CONFIG
=no
1324 DEFAULT_wxUSE_STREAMS
=no
1325 DEFAULT_wxUSE_SOCKETS
=no
1326 DEFAULT_wxUSE_DIALUP_MANAGER
=no
1327 DEFAULT_wxUSE_SERIAL
=no
1328 DEFAULT_wxUSE_JOYSTICK
=no
1329 DEFAULT_wxUSE_DYNLIB_CLASS
=no
1330 DEFAULT_wxUSE_LONGLONG
=no
1331 DEFAULT_wxUSE_GEOMETRY
=no
1333 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=no
1334 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=no
1335 DEFAULT_wxUSE_POSTSCRIPT
=no
1337 DEFAULT_wxUSE_X_RESOURCES
=no
1338 DEFAULT_wxUSE_CLIPBOARD
=no
1339 DEFAULT_wxUSE_TOOLTIPS
=no
1340 DEFAULT_wxUSE_DRAG_AND_DROP
=no
1341 DEFAULT_wxUSE_SPLINES
=no
1343 DEFAULT_wxUSE_MDI_ARCHITECTURE
=no
1344 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=no
1345 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=no
1347 DEFAULT_wxUSE_PROLOGIO
=no
1348 DEFAULT_wxUSE_RESOURCES
=no
1349 DEFAULT_wxUSE_CONSTRAINTS
=no
1350 DEFAULT_wxUSE_IPC
=no
1351 DEFAULT_wxUSE_HELP
=no
1352 DEFAULT_wxUSE_WXTREE
=no
1353 DEFAULT_wxUSE_METAFILE
=no
1355 DEFAULT_wxUSE_COMMONDLGS
=no
1356 DEFAULT_wxUSE_DIRDLG
=no
1357 DEFAULT_wxUSE_TEXTDLG
=no
1358 DEFAULT_wxUSE_STARTUP_TIPS
=no
1359 DEFAULT_wxUSE_PROGRESSDLG
=no
1360 DEFAULT_wxUSE_MINIFRAME
=no
1361 DEFAULT_wxUSE_HTML
=no
1362 DEFAULT_wxUSE_FILESYSTEM
=no
1363 DEFAULT_wxUSE_FS_INET
=no
1364 DEFAULT_wxUSE_FS_ZIP
=no
1365 DEFAULT_wxUSE_BUSYINFO
=no
1366 DEFAULT_wxUSE_ZIPSTREAM
=no
1367 DEFAULT_wxUSE_VALIDATORS
=yes
1369 DEFAULT_wxUSE_ACCEL
=no
1370 DEFAULT_wxUSE_CARET
=no
1371 DEFAULT_wxUSE_BMPBUTTON
=no
1372 DEFAULT_wxUSE_CHECKBOX
=no
1373 DEFAULT_wxUSE_CHECKLST
=no
1374 DEFAULT_wxUSE_CHOICE
=yes
1375 DEFAULT_wxUSE_COMBOBOX
=no
1376 DEFAULT_wxUSE_GAUGE
=no
1377 DEFAULT_wxUSE_GRID
=no
1378 DEFAULT_wxUSE_NEW_GRID
=no
1379 DEFAULT_wxUSE_IMAGLIST
=no
1380 DEFAULT_wxUSE_LISTBOX
=no
1381 DEFAULT_wxUSE_LISTCTRL
=no
1382 DEFAULT_wxUSE_NOTEBOOK
=no
1383 DEFAULT_wxUSE_RADIOBOX
=no
1384 DEFAULT_wxUSE_RADIOBTN
=no
1385 DEFAULT_wxUSE_SASH
=no
1386 DEFAULT_wxUSE_SCROLLBAR
=no
1387 DEFAULT_wxUSE_SLIDER
=no
1388 DEFAULT_wxUSE_SPINBTN
=no
1389 DEFAULT_wxUSE_SPINCTRL
=no
1390 DEFAULT_wxUSE_SPLITTER
=no
1391 DEFAULT_wxUSE_STATBMP
=no
1392 DEFAULT_wxUSE_STATBOX
=no
1393 DEFAULT_wxUSE_STATLINE
=no
1394 DEFAULT_wxUSE_STATUSBAR
=yes
1395 DEFAULT_wxUSE_TABDIALOG
=no
1396 DEFAULT_wxUSE_TOOLBAR
=no
1397 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
1398 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
1399 DEFAULT_wxUSE_TREECTRL
=no
1401 DEFAULT_wxUSE_UNICODE
=no
1402 DEFAULT_wxUSE_WCSRTOMBS
=no
1404 DEFAULT_wxUSE_GIF
=no
1405 DEFAULT_wxUSE_PCX
=no
1406 DEFAULT_wxUSE_PNM
=no
1408 DEFAULT_wxUSE_THREADS
=yes
1410 DEFAULT_wxUSE_SHARED
=yes
1411 DEFAULT_wxUSE_BURNT_NAME
=no
1412 DEFAULT_wxUSE_OPTIMISE
=yes
1413 DEFAULT_wxUSE_PROFILE
=no
1414 DEFAULT_wxUSE_NO_DEPS
=no
1415 DEFAULT_wxUSE_NO_RTTI
=no
1416 DEFAULT_wxUSE_NO_EXCEPTIONS
=no
1417 DEFAULT_wxUSE_PERMISSIVE
=no
1418 DEFAULT_wxUSE_DEBUG_FLAG
=no
1419 DEFAULT_wxUSE_DEBUG_INFO
=no
1420 DEFAULT_wxUSE_DEBUG_GDB
=no
1421 DEFAULT_wxUSE_MEM_TRACING
=no
1422 DEFAULT_wxUSE_DEBUG_CONTEXT
=no
1423 DEFAULT_wxUSE_DMALLOC
=no
1424 DEFAULT_wxUSE_APPLE_IEEE
=yes
1426 DEFAULT_wxUSE_LOG
=yes
1428 DEFAULT_wxUSE_GUI
=yes
1430 DEFAULT_wxUSE_ZLIB
=yes
1431 DEFAULT_wxUSE_LIBPNG
=yes
1432 DEFAULT_wxUSE_LIBJPEG
=yes
1433 DEFAULT_wxUSE_LIBTIFF
=yes
1434 DEFAULT_wxUSE_ODBC
=no
1435 DEFAULT_wxUSE_FREETYPE
=no
1436 DEFAULT_wxUSE_OPENGL
=no
1438 DEFAULT_wxUSE_ON_FATAL_EXCEPTION
=yes
1439 DEFAULT_wxUSE_STD_IOSTREAM
=no
1440 DEFAULT_wxUSE_FILE
=yes
1441 DEFAULT_wxUSE_TEXTFILE
=yes
1442 DEFAULT_wxUSE_TIMEDATE
=yes
1443 DEFAULT_wxUSE_WAVE
=no
1444 DEFAULT_wxUSE_INTL
=yes
1445 DEFAULT_wxUSE_CONFIG
=yes
1446 DEFAULT_wxUSE_STREAMS
=yes
1447 DEFAULT_wxUSE_SOCKETS
=yes
1448 DEFAULT_wxUSE_DIALUP_MANAGER
=yes
1449 DEFAULT_wxUSE_SERIAL
=yes
1450 DEFAULT_wxUSE_JOYSTICK
=yes
1451 DEFAULT_wxUSE_DYNLIB_CLASS
=yes
1452 DEFAULT_wxUSE_LONGLONG
=yes
1453 DEFAULT_wxUSE_GEOMETRY
=yes
1455 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=yes
1456 DEFAULT_wxUSE_NORMALIZED_PS_FONTS
=yes
1457 DEFAULT_wxUSE_POSTSCRIPT
=yes
1459 DEFAULT_wxUSE_X_RESOURCES
=no
1460 DEFAULT_wxUSE_CLIPBOARD
=yes
1461 DEFAULT_wxUSE_TOOLTIPS
=yes
1462 DEFAULT_wxUSE_DRAG_AND_DROP
=yes
1463 DEFAULT_wxUSE_SPLINES
=yes
1465 DEFAULT_wxUSE_MDI_ARCHITECTURE
=yes
1466 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=yes
1467 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=yes
1469 DEFAULT_wxUSE_PROLOGIO
=yes
1470 DEFAULT_wxUSE_RESOURCES
=yes
1471 DEFAULT_wxUSE_CONSTRAINTS
=yes
1472 DEFAULT_wxUSE_IPC
=yes
1473 DEFAULT_wxUSE_HELP
=yes
1474 DEFAULT_wxUSE_WXTREE
=yes
1475 DEFAULT_wxUSE_METAFILE
=yes
1477 DEFAULT_wxUSE_COMMONDLGS
=yes
1478 DEFAULT_wxUSE_DIRDLG
=yes
1479 DEFAULT_wxUSE_TEXTDLG
=yes
1480 DEFAULT_wxUSE_STARTUP_TIPS
=yes
1481 DEFAULT_wxUSE_PROGRESSDLG
=yes
1482 DEFAULT_wxUSE_MINIFRAME
=yes
1483 DEFAULT_wxUSE_HTML
=yes
1484 DEFAULT_wxUSE_FILESYSTEM
=yes
1485 DEFAULT_wxUSE_FS_INET
=yes
1486 DEFAULT_wxUSE_FS_ZIP
=yes
1487 DEFAULT_wxUSE_BUSYINFO
=yes
1488 DEFAULT_wxUSE_ZIPSTREAM
=yes
1489 DEFAULT_wxUSE_VALIDATORS
=yes
1491 DEFAULT_wxUSE_ACCEL
=yes
1492 DEFAULT_wxUSE_CARET
=yes
1493 DEFAULT_wxUSE_BMPBUTTON
=yes
1494 DEFAULT_wxUSE_CHECKBOX
=yes
1495 DEFAULT_wxUSE_CHECKLST
=yes
1496 DEFAULT_wxUSE_CHOICE
=yes
1497 DEFAULT_wxUSE_COMBOBOX
=yes
1498 DEFAULT_wxUSE_GAUGE
=yes
1499 DEFAULT_wxUSE_GRID
=yes
1500 DEFAULT_wxUSE_NEW_GRID
=yes
1501 DEFAULT_wxUSE_IMAGLIST
=yes
1502 DEFAULT_wxUSE_LISTBOX
=yes
1503 DEFAULT_wxUSE_LISTCTRL
=yes
1504 DEFAULT_wxUSE_NOTEBOOK
=yes
1505 DEFAULT_wxUSE_RADIOBOX
=yes
1506 DEFAULT_wxUSE_RADIOBTN
=yes
1507 DEFAULT_wxUSE_SASH
=yes
1508 DEFAULT_wxUSE_SCROLLBAR
=yes
1509 DEFAULT_wxUSE_SLIDER
=yes
1510 DEFAULT_wxUSE_SPINBTN
=yes
1511 DEFAULT_wxUSE_SPINCTRL
=yes
1512 DEFAULT_wxUSE_SPLITTER
=yes
1513 DEFAULT_wxUSE_STATBMP
=yes
1514 DEFAULT_wxUSE_STATBOX
=yes
1515 DEFAULT_wxUSE_STATLINE
=yes
1516 DEFAULT_wxUSE_STATUSBAR
=yes
1517 DEFAULT_wxUSE_TABDIALOG
=no
1518 DEFAULT_wxUSE_TOOLBAR
=yes
1519 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
1520 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
1521 DEFAULT_wxUSE_TREECTRL
=yes
1523 DEFAULT_wxUSE_UNICODE
=no
1524 DEFAULT_wxUSE_WCSRTOMBS
=no
1526 DEFAULT_wxUSE_GIF
=yes
1527 DEFAULT_wxUSE_PCX
=yes
1528 DEFAULT_wxUSE_PNM
=yes
1533 for toolkit
in `echo $ALL_TOOLKITS`; do
1534 LINE
=`grep "wxUSE_$toolkit" ${wx_arg_cache_file}`
1535 if test "x$LINE" != x
; then
1536 has_toolkit_in_cache
=1
1537 eval "DEFAULT_$LINE"
1538 eval "CACHE_$toolkit=1"
1544 echo $ac_n "checking "for --enable-gui"""... $ac_c" 1>&6
1545 echo "configure:1546: checking "for --enable-gui"" >&5
1547 # Check whether --enable-gui or --disable-gui was given.
1548 if test "${enable_gui+set}" = set; then
1549 enableval
="$enable_gui"
1551 if test "$enableval" = yes; then
1552 ac_cv_use_gui
='wxUSE_GUI=yes'
1554 ac_cv_use_gui
='wxUSE_GUI=no'
1559 LINE
=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
1560 if test "x$LINE" != x
; then
1561 eval "DEFAULT_$LINE"
1566 ac_cv_use_gui
='wxUSE_GUI='$DEFAULT_wxUSE_GUI
1571 eval "$ac_cv_use_gui"
1572 if test "$no_cache" != 1; then
1573 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
1576 if test "$wxUSE_GUI" = yes; then
1577 echo "$ac_t""yes" 1>&6
1579 echo "$ac_t""no" 1>&6
1583 if test "$wxUSE_GUI" = "yes"; then
1585 # Check whether --with-gtk or --without-gtk was given.
1586 if test "${with_gtk+set}" = set; then
1588 wxUSE_GTK
="$withval" CACHE_GTK
=1 TOOLKIT_GIVEN
=1
1591 # Check whether --with-motif or --without-motif was given.
1592 if test "${with_motif+set}" = set; then
1593 withval
="$with_motif"
1594 wxUSE_MOTIF
="$withval" CACHE_MOTIF
=1 TOOLKIT_GIVEN
=1
1597 # Check whether --with-mac or --without-mac was given.
1598 if test "${with_mac+set}" = set; then
1600 wxUSE_MAC
="$withval" TOOLKIT_GIVEN
=1
1603 # Check whether --with-wine or --without-wine was given.
1604 if test "${with_wine+set}" = set; then
1605 withval
="$with_wine"
1606 wxUSE_WINE
="$withval" CACHE_WINE
=1 TOOLKIT_GIVEN
=1
1609 # Check whether --with-cygwin or --without-cygwin was given.
1610 if test "${with_cygwin+set}" = set; then
1611 withval
="$with_cygwin"
1612 wxUSE_CYGWIN
="$withval" CACHE_CYGWIN
=1 TOOLKIT_GIVEN
=1
1615 # Check whether --with-mingw or --without-mingw was given.
1616 if test "${with_mingw+set}" = set; then
1617 withval
="$with_mingw"
1618 wxUSE_MINGW
="$withval" CACHE_MINGW
=1 TOOLKIT_GIVEN
=1
1621 # Check whether --with-pm or --without-pm was given.
1622 if test "${with_pm+set}" = set; then
1624 wxUSE_PM
="$withval" CACHE_PM
=1 TOOLKIT_GIVEN
=1
1628 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
1629 if test "${with_gtk_prefix+set}" = set; then
1630 withval
="$with_gtk_prefix"
1631 gtk_config_prefix
="$withval"
1633 gtk_config_prefix
=""
1636 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
1637 if test "${with_gtk_exec_prefix+set}" = set; then
1638 withval
="$with_gtk_exec_prefix"
1639 gtk_config_exec_prefix
="$withval"
1641 gtk_config_exec_prefix
=""
1646 echo $ac_n "checking "for --with-libpng"""... $ac_c" 1>&6
1647 echo "configure:1648: checking "for --with-libpng"" >&5
1649 # Check whether --with-libpng or --without-libpng was given.
1650 if test "${with_libpng+set}" = set; then
1651 withval
="$with_libpng"
1653 if test "$withval" = yes; then
1654 ac_cv_use_libpng
='wxUSE_LIBPNG=yes'
1655 elif test "$withval" = no
; then
1656 ac_cv_use_libpng
='wxUSE_LIBPNG=no'
1657 elif test "$withval" = sys
; then
1658 ac_cv_use_libpng
='wxUSE_LIBPNG=sys'
1660 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1665 LINE
=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
1666 if test "x$LINE" != x
; then
1667 eval "DEFAULT_$LINE"
1672 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
1677 eval "$ac_cv_use_libpng"
1678 if test "$no_cache" != 1; then
1679 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
1682 if test "$wxUSE_LIBPNG" = yes; then
1683 echo "$ac_t""yes" 1>&6
1684 elif test "$wxUSE_LIBPNG" = no
; then
1685 echo "$ac_t""no" 1>&6
1686 elif test "$wxUSE_LIBPNG" = sys
; then
1687 echo "$ac_t""system version" 1>&6
1689 { echo "configure: error: Invalid value for --with-libpng: should be yes, no or sys" 1>&2; exit 1; }
1693 echo $ac_n "checking "for --with-libjpeg"""... $ac_c" 1>&6
1694 echo "configure:1695: checking "for --with-libjpeg"" >&5
1696 # Check whether --with-libjpeg or --without-libjpeg was given.
1697 if test "${with_libjpeg+set}" = set; then
1698 withval
="$with_libjpeg"
1700 if test "$withval" = yes; then
1701 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=yes'
1702 elif test "$withval" = no
; then
1703 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=no'
1704 elif test "$withval" = sys
; then
1705 ac_cv_use_libjpeg
='wxUSE_LIBJPEG=sys'
1707 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1712 LINE
=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
1713 if test "x$LINE" != x
; then
1714 eval "DEFAULT_$LINE"
1719 ac_cv_use_libjpeg
='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
1724 eval "$ac_cv_use_libjpeg"
1725 if test "$no_cache" != 1; then
1726 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
1729 if test "$wxUSE_LIBJPEG" = yes; then
1730 echo "$ac_t""yes" 1>&6
1731 elif test "$wxUSE_LIBJPEG" = no
; then
1732 echo "$ac_t""no" 1>&6
1733 elif test "$wxUSE_LIBJPEG" = sys
; then
1734 echo "$ac_t""system version" 1>&6
1736 { echo "configure: error: Invalid value for --with-libjpeg: should be yes, no or sys" 1>&2; exit 1; }
1740 echo $ac_n "checking "for --with-libtiff"""... $ac_c" 1>&6
1741 echo "configure:1742: checking "for --with-libtiff"" >&5
1743 # Check whether --with-libtiff or --without-libtiff was given.
1744 if test "${with_libtiff+set}" = set; then
1745 withval
="$with_libtiff"
1747 if test "$withval" = yes; then
1748 ac_cv_use_libtiff
='wxUSE_LIBTIFF=yes'
1749 elif test "$withval" = no
; then
1750 ac_cv_use_libtiff
='wxUSE_LIBTIFF=no'
1751 elif test "$withval" = sys
; then
1752 ac_cv_use_libtiff
='wxUSE_LIBTIFF=sys'
1754 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1759 LINE
=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
1760 if test "x$LINE" != x
; then
1761 eval "DEFAULT_$LINE"
1766 ac_cv_use_libtiff
='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
1771 eval "$ac_cv_use_libtiff"
1772 if test "$no_cache" != 1; then
1773 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
1776 if test "$wxUSE_LIBTIFF" = yes; then
1777 echo "$ac_t""yes" 1>&6
1778 elif test "$wxUSE_LIBTIFF" = no
; then
1779 echo "$ac_t""no" 1>&6
1780 elif test "$wxUSE_LIBTIFF" = sys
; then
1781 echo "$ac_t""system version" 1>&6
1783 { echo "configure: error: Invalid value for --with-libtiff: should be yes, no or sys" 1>&2; exit 1; }
1787 echo $ac_n "checking "for --with-freetype"""... $ac_c" 1>&6
1788 echo "configure:1789: checking "for --with-freetype"" >&5
1790 # Check whether --with-freetype or --without-freetype was given.
1791 if test "${with_freetype+set}" = set; then
1792 withval
="$with_freetype"
1794 if test "$withval" = yes; then
1795 ac_cv_use_freetype
='wxUSE_FREETYPE=yes'
1796 elif test "$withval" = no
; then
1797 ac_cv_use_freetype
='wxUSE_FREETYPE=no'
1798 elif test "$withval" = sys
; then
1799 ac_cv_use_freetype
='wxUSE_FREETYPE=sys'
1801 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1806 LINE
=`grep "wxUSE_FREETYPE" ${wx_arg_cache_file}`
1807 if test "x$LINE" != x
; then
1808 eval "DEFAULT_$LINE"
1813 ac_cv_use_freetype
='wxUSE_FREETYPE='$DEFAULT_wxUSE_FREETYPE
1818 eval "$ac_cv_use_freetype"
1819 if test "$no_cache" != 1; then
1820 echo $ac_cv_use_freetype >> ${wx_arg_cache_file}.tmp
1823 if test "$wxUSE_FREETYPE" = yes; then
1824 echo "$ac_t""yes" 1>&6
1825 elif test "$wxUSE_FREETYPE" = no
; then
1826 echo "$ac_t""no" 1>&6
1827 elif test "$wxUSE_FREETYPE" = sys
; then
1828 echo "$ac_t""system version" 1>&6
1830 { echo "configure: error: Invalid value for --with-freetype: should be yes, no or sys" 1>&2; exit 1; }
1834 echo $ac_n "checking "for --with-opengl"""... $ac_c" 1>&6
1835 echo "configure:1836: checking "for --with-opengl"" >&5
1837 # Check whether --with-opengl or --without-opengl was given.
1838 if test "${with_opengl+set}" = set; then
1839 withval
="$with_opengl"
1841 if test "$withval" = yes; then
1842 ac_cv_use_opengl
='wxUSE_OPENGL=yes'
1844 ac_cv_use_opengl
='wxUSE_OPENGL=no'
1849 LINE
=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
1850 if test "x$LINE" != x
; then
1851 eval "DEFAULT_$LINE"
1856 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
1861 eval "$ac_cv_use_opengl"
1862 if test "$no_cache" != 1; then
1863 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
1866 if test "$wxUSE_OPENGL" = yes; then
1867 echo "$ac_t""yes" 1>&6
1869 echo "$ac_t""no" 1>&6
1876 echo $ac_n "checking "for --with-dmalloc"""... $ac_c" 1>&6
1877 echo "configure:1878: checking "for --with-dmalloc"" >&5
1879 # Check whether --with-dmalloc or --without-dmalloc was given.
1880 if test "${with_dmalloc+set}" = set; then
1881 withval
="$with_dmalloc"
1883 if test "$withval" = yes; then
1884 ac_cv_use_dmalloc
='wxUSE_DMALLOC=yes'
1886 ac_cv_use_dmalloc
='wxUSE_DMALLOC=no'
1891 LINE
=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
1892 if test "x$LINE" != x
; then
1893 eval "DEFAULT_$LINE"
1898 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
1903 eval "$ac_cv_use_dmalloc"
1904 if test "$no_cache" != 1; then
1905 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
1908 if test "$wxUSE_DMALLOC" = yes; then
1909 echo "$ac_t""yes" 1>&6
1911 echo "$ac_t""no" 1>&6
1915 echo $ac_n "checking "for --with-zlib"""... $ac_c" 1>&6
1916 echo "configure:1917: checking "for --with-zlib"" >&5
1918 # Check whether --with-zlib or --without-zlib was given.
1919 if test "${with_zlib+set}" = set; then
1920 withval
="$with_zlib"
1922 if test "$withval" = yes; then
1923 ac_cv_use_zlib
='wxUSE_ZLIB=yes'
1924 elif test "$withval" = no
; then
1925 ac_cv_use_zlib
='wxUSE_ZLIB=no'
1926 elif test "$withval" = sys
; then
1927 ac_cv_use_zlib
='wxUSE_ZLIB=sys'
1929 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1934 LINE
=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
1935 if test "x$LINE" != x
; then
1936 eval "DEFAULT_$LINE"
1941 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
1946 eval "$ac_cv_use_zlib"
1947 if test "$no_cache" != 1; then
1948 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
1951 if test "$wxUSE_ZLIB" = yes; then
1952 echo "$ac_t""yes" 1>&6
1953 elif test "$wxUSE_ZLIB" = no
; then
1954 echo "$ac_t""no" 1>&6
1955 elif test "$wxUSE_ZLIB" = sys
; then
1956 echo "$ac_t""system version" 1>&6
1958 { echo "configure: error: Invalid value for --with-zlib: should be yes, no or sys" 1>&2; exit 1; }
1962 echo $ac_n "checking "for --with-odbc"""... $ac_c" 1>&6
1963 echo "configure:1964: checking "for --with-odbc"" >&5
1965 # Check whether --with-odbc or --without-odbc was given.
1966 if test "${with_odbc+set}" = set; then
1967 withval
="$with_odbc"
1969 if test "$withval" = yes; then
1970 ac_cv_use_odbc
='wxUSE_ODBC=yes'
1972 ac_cv_use_odbc
='wxUSE_ODBC=no'
1977 LINE
=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
1978 if test "x$LINE" != x
; then
1979 eval "DEFAULT_$LINE"
1984 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
1989 eval "$ac_cv_use_odbc"
1990 if test "$no_cache" != 1; then
1991 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
1994 if test "$wxUSE_ODBC" = yes; then
1995 echo "$ac_t""yes" 1>&6
1997 echo "$ac_t""no" 1>&6
2004 echo $ac_n "checking "for --enable-shared"""... $ac_c" 1>&6
2005 echo "configure:2006: checking "for --enable-shared"" >&5
2007 # Check whether --enable-shared or --disable-shared was given.
2008 if test "${enable_shared+set}" = set; then
2009 enableval
="$enable_shared"
2011 if test "$enableval" = yes; then
2012 ac_cv_use_shared
='wxUSE_SHARED=yes'
2014 ac_cv_use_shared
='wxUSE_SHARED=no'
2019 LINE
=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
2020 if test "x$LINE" != x
; then
2021 eval "DEFAULT_$LINE"
2026 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
2031 eval "$ac_cv_use_shared"
2032 if test "$no_cache" != 1; then
2033 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
2036 if test "$wxUSE_SHARED" = yes; then
2037 echo "$ac_t""yes" 1>&6
2039 echo "$ac_t""no" 1>&6
2043 echo $ac_n "checking "for --enable-burnt_name"""... $ac_c" 1>&6
2044 echo "configure:2045: checking "for --enable-burnt_name"" >&5
2046 # Check whether --enable-burnt_name or --disable-burnt_name was given.
2047 if test "${enable_burnt_name+set}" = set; then
2048 enableval
="$enable_burnt_name"
2050 if test "$enableval" = yes; then
2051 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=yes'
2053 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME=no'
2058 LINE
=`grep "wxUSE_BURNT_NAME" ${wx_arg_cache_file}`
2059 if test "x$LINE" != x
; then
2060 eval "DEFAULT_$LINE"
2065 ac_cv_use_burnt_name
='wxUSE_BURNT_NAME='$DEFAULT_wxUSE_BURNT_NAME
2070 eval "$ac_cv_use_burnt_name"
2071 if test "$no_cache" != 1; then
2072 echo $ac_cv_use_burnt_name >> ${wx_arg_cache_file}.tmp
2075 if test "$wxUSE_BURNT_NAME" = yes; then
2076 echo "$ac_t""yes" 1>&6
2078 echo "$ac_t""no" 1>&6
2082 echo $ac_n "checking "for --enable-optimise"""... $ac_c" 1>&6
2083 echo "configure:2084: checking "for --enable-optimise"" >&5
2085 # Check whether --enable-optimise or --disable-optimise was given.
2086 if test "${enable_optimise+set}" = set; then
2087 enableval
="$enable_optimise"
2089 if test "$enableval" = yes; then
2090 ac_cv_use_optimise
='wxUSE_OPTIMISE=yes'
2092 ac_cv_use_optimise
='wxUSE_OPTIMISE=no'
2097 LINE
=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
2098 if test "x$LINE" != x
; then
2099 eval "DEFAULT_$LINE"
2104 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
2109 eval "$ac_cv_use_optimise"
2110 if test "$no_cache" != 1; then
2111 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
2114 if test "$wxUSE_OPTIMISE" = yes; then
2115 echo "$ac_t""yes" 1>&6
2117 echo "$ac_t""no" 1>&6
2121 echo $ac_n "checking "for --enable-debug"""... $ac_c" 1>&6
2122 echo "configure:2123: checking "for --enable-debug"" >&5
2124 # Check whether --enable-debug or --disable-debug was given.
2125 if test "${enable_debug+set}" = set; then
2126 enableval
="$enable_debug"
2128 if test "$enableval" = yes; then
2129 ac_cv_use_debug
='wxUSE_DEBUG=yes'
2131 ac_cv_use_debug
='wxUSE_DEBUG=no'
2136 LINE
=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
2137 if test "x$LINE" != x
; then
2138 eval "DEFAULT_$LINE"
2143 ac_cv_use_debug
='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
2148 eval "$ac_cv_use_debug"
2149 if test "$no_cache" != 1; then
2150 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
2153 if test "$wxUSE_DEBUG" = yes; then
2154 echo "$ac_t""yes" 1>&6
2156 echo "$ac_t""no" 1>&6
2160 if test "$wxUSE_DEBUG" = "yes"; then
2161 DEFAULT_wxUSE_DEBUG_FLAG
=yes
2162 DEFAULT_wxUSE_DEBUG_INFO
=yes
2163 elif test "$wxUSE_DEBUG" = "no"; then
2164 DEFAULT_wxUSE_DEBUG_FLAG
=no
2165 DEFAULT_wxUSE_DEBUG_INFO
=no
2169 echo $ac_n "checking "for --enable-debug_flag"""... $ac_c" 1>&6
2170 echo "configure:2171: checking "for --enable-debug_flag"" >&5
2172 # Check whether --enable-debug_flag or --disable-debug_flag was given.
2173 if test "${enable_debug_flag+set}" = set; then
2174 enableval
="$enable_debug_flag"
2176 if test "$enableval" = yes; then
2177 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=yes'
2179 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG=no'
2184 LINE
=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
2185 if test "x$LINE" != x
; then
2186 eval "DEFAULT_$LINE"
2191 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
2196 eval "$ac_cv_use_debug_flag"
2197 if test "$no_cache" != 1; then
2198 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
2201 if test "$wxUSE_DEBUG_FLAG" = yes; then
2202 echo "$ac_t""yes" 1>&6
2204 echo "$ac_t""no" 1>&6
2208 echo $ac_n "checking "for --enable-debug_info"""... $ac_c" 1>&6
2209 echo "configure:2210: checking "for --enable-debug_info"" >&5
2211 # Check whether --enable-debug_info or --disable-debug_info was given.
2212 if test "${enable_debug_info+set}" = set; then
2213 enableval
="$enable_debug_info"
2215 if test "$enableval" = yes; then
2216 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=yes'
2218 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO=no'
2223 LINE
=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
2224 if test "x$LINE" != x
; then
2225 eval "DEFAULT_$LINE"
2230 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
2235 eval "$ac_cv_use_debug_info"
2236 if test "$no_cache" != 1; then
2237 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
2240 if test "$wxUSE_DEBUG_INFO" = yes; then
2241 echo "$ac_t""yes" 1>&6
2243 echo "$ac_t""no" 1>&6
2247 echo $ac_n "checking "for --enable-debug_gdb"""... $ac_c" 1>&6
2248 echo "configure:2249: checking "for --enable-debug_gdb"" >&5
2250 # Check whether --enable-debug_gdb or --disable-debug_gdb was given.
2251 if test "${enable_debug_gdb+set}" = set; then
2252 enableval
="$enable_debug_gdb"
2254 if test "$enableval" = yes; then
2255 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=yes'
2257 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB=no'
2262 LINE
=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
2263 if test "x$LINE" != x
; then
2264 eval "DEFAULT_$LINE"
2269 ac_cv_use_debug_gdb
='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
2274 eval "$ac_cv_use_debug_gdb"
2275 if test "$no_cache" != 1; then
2276 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
2279 if test "$wxUSE_DEBUG_GDB" = yes; then
2280 echo "$ac_t""yes" 1>&6
2282 echo "$ac_t""no" 1>&6
2286 echo $ac_n "checking "for --enable-debug_cntxt"""... $ac_c" 1>&6
2287 echo "configure:2288: checking "for --enable-debug_cntxt"" >&5
2289 # Check whether --enable-debug_cntxt or --disable-debug_cntxt was given.
2290 if test "${enable_debug_cntxt+set}" = set; then
2291 enableval
="$enable_debug_cntxt"
2293 if test "$enableval" = yes; then
2294 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=yes'
2296 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT=no'
2301 LINE
=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
2302 if test "x$LINE" != x
; then
2303 eval "DEFAULT_$LINE"
2308 ac_cv_use_debug_cntxt
='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
2313 eval "$ac_cv_use_debug_cntxt"
2314 if test "$no_cache" != 1; then
2315 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
2318 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
2319 echo "$ac_t""yes" 1>&6
2321 echo "$ac_t""no" 1>&6
2325 echo $ac_n "checking "for --enable-mem_tracing"""... $ac_c" 1>&6
2326 echo "configure:2327: checking "for --enable-mem_tracing"" >&5
2328 # Check whether --enable-mem_tracing or --disable-mem_tracing was given.
2329 if test "${enable_mem_tracing+set}" = set; then
2330 enableval
="$enable_mem_tracing"
2332 if test "$enableval" = yes; then
2333 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=yes'
2335 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING=no'
2340 LINE
=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
2341 if test "x$LINE" != x
; then
2342 eval "DEFAULT_$LINE"
2347 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
2352 eval "$ac_cv_use_mem_tracing"
2353 if test "$no_cache" != 1; then
2354 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
2357 if test "$wxUSE_MEM_TRACING" = yes; then
2358 echo "$ac_t""yes" 1>&6
2360 echo "$ac_t""no" 1>&6
2364 echo $ac_n "checking "for --enable-profile"""... $ac_c" 1>&6
2365 echo "configure:2366: checking "for --enable-profile"" >&5
2367 # Check whether --enable-profile or --disable-profile was given.
2368 if test "${enable_profile+set}" = set; then
2369 enableval
="$enable_profile"
2371 if test "$enableval" = yes; then
2372 ac_cv_use_profile
='wxUSE_PROFILE=yes'
2374 ac_cv_use_profile
='wxUSE_PROFILE=no'
2379 LINE
=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
2380 if test "x$LINE" != x
; then
2381 eval "DEFAULT_$LINE"
2386 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
2391 eval "$ac_cv_use_profile"
2392 if test "$no_cache" != 1; then
2393 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
2396 if test "$wxUSE_PROFILE" = yes; then
2397 echo "$ac_t""yes" 1>&6
2399 echo "$ac_t""no" 1>&6
2403 echo $ac_n "checking "for --enable-no_rtti"""... $ac_c" 1>&6
2404 echo "configure:2405: checking "for --enable-no_rtti"" >&5
2406 # Check whether --enable-no_rtti or --disable-no_rtti was given.
2407 if test "${enable_no_rtti+set}" = set; then
2408 enableval
="$enable_no_rtti"
2410 if test "$enableval" = yes; then
2411 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=yes'
2413 ac_cv_use_no_rtti
='wxUSE_NO_RTTI=no'
2418 LINE
=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
2419 if test "x$LINE" != x
; then
2420 eval "DEFAULT_$LINE"
2425 ac_cv_use_no_rtti
='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
2430 eval "$ac_cv_use_no_rtti"
2431 if test "$no_cache" != 1; then
2432 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
2435 if test "$wxUSE_NO_RTTI" = yes; then
2436 echo "$ac_t""yes" 1>&6
2438 echo "$ac_t""no" 1>&6
2442 echo $ac_n "checking "for --enable-no_exceptions"""... $ac_c" 1>&6
2443 echo "configure:2444: checking "for --enable-no_exceptions"" >&5
2445 # Check whether --enable-no_exceptions or --disable-no_exceptions was given.
2446 if test "${enable_no_exceptions+set}" = set; then
2447 enableval
="$enable_no_exceptions"
2449 if test "$enableval" = yes; then
2450 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=yes'
2452 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS=no'
2457 LINE
=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
2458 if test "x$LINE" != x
; then
2459 eval "DEFAULT_$LINE"
2464 ac_cv_use_no_exceptions
='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
2469 eval "$ac_cv_use_no_exceptions"
2470 if test "$no_cache" != 1; then
2471 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
2474 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
2475 echo "$ac_t""yes" 1>&6
2477 echo "$ac_t""no" 1>&6
2481 echo $ac_n "checking "for --enable-permissive"""... $ac_c" 1>&6
2482 echo "configure:2483: checking "for --enable-permissive"" >&5
2484 # Check whether --enable-permissive or --disable-permissive was given.
2485 if test "${enable_permissive+set}" = set; then
2486 enableval
="$enable_permissive"
2488 if test "$enableval" = yes; then
2489 ac_cv_use_permissive
='wxUSE_PERMISSIVE=yes'
2491 ac_cv_use_permissive
='wxUSE_PERMISSIVE=no'
2496 LINE
=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
2497 if test "x$LINE" != x
; then
2498 eval "DEFAULT_$LINE"
2503 ac_cv_use_permissive
='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
2508 eval "$ac_cv_use_permissive"
2509 if test "$no_cache" != 1; then
2510 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
2513 if test "$wxUSE_PERMISSIVE" = yes; then
2514 echo "$ac_t""yes" 1>&6
2516 echo "$ac_t""no" 1>&6
2520 echo $ac_n "checking "for --enable-no_deps"""... $ac_c" 1>&6
2521 echo "configure:2522: checking "for --enable-no_deps"" >&5
2523 # Check whether --enable-no_deps or --disable-no_deps was given.
2524 if test "${enable_no_deps+set}" = set; then
2525 enableval
="$enable_no_deps"
2527 if test "$enableval" = yes; then
2528 ac_cv_use_no_deps
='wxUSE_NO_DEPS=yes'
2530 ac_cv_use_no_deps
='wxUSE_NO_DEPS=no'
2535 LINE
=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
2536 if test "x$LINE" != x
; then
2537 eval "DEFAULT_$LINE"
2542 ac_cv_use_no_deps
='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
2547 eval "$ac_cv_use_no_deps"
2548 if test "$no_cache" != 1; then
2549 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
2552 if test "$wxUSE_NO_DEPS" = yes; then
2553 echo "$ac_t""yes" 1>&6
2555 echo "$ac_t""no" 1>&6
2561 echo $ac_n "checking "for --enable-intl"""... $ac_c" 1>&6
2562 echo "configure:2563: checking "for --enable-intl"" >&5
2564 # Check whether --enable-intl or --disable-intl was given.
2565 if test "${enable_intl+set}" = set; then
2566 enableval
="$enable_intl"
2568 if test "$enableval" = yes; then
2569 ac_cv_use_intl
='wxUSE_INTL=yes'
2571 ac_cv_use_intl
='wxUSE_INTL=no'
2576 LINE
=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
2577 if test "x$LINE" != x
; then
2578 eval "DEFAULT_$LINE"
2583 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
2588 eval "$ac_cv_use_intl"
2589 if test "$no_cache" != 1; then
2590 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
2593 if test "$wxUSE_INTL" = yes; then
2594 echo "$ac_t""yes" 1>&6
2596 echo "$ac_t""no" 1>&6
2600 echo $ac_n "checking "for --enable-config"""... $ac_c" 1>&6
2601 echo "configure:2602: checking "for --enable-config"" >&5
2603 # Check whether --enable-config or --disable-config was given.
2604 if test "${enable_config+set}" = set; then
2605 enableval
="$enable_config"
2607 if test "$enableval" = yes; then
2608 ac_cv_use_config
='wxUSE_CONFIG=yes'
2610 ac_cv_use_config
='wxUSE_CONFIG=no'
2615 LINE
=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
2616 if test "x$LINE" != x
; then
2617 eval "DEFAULT_$LINE"
2622 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
2627 eval "$ac_cv_use_config"
2628 if test "$no_cache" != 1; then
2629 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
2632 if test "$wxUSE_CONFIG" = yes; then
2633 echo "$ac_t""yes" 1>&6
2635 echo "$ac_t""no" 1>&6
2640 echo $ac_n "checking "for --enable-sockets"""... $ac_c" 1>&6
2641 echo "configure:2642: checking "for --enable-sockets"" >&5
2643 # Check whether --enable-sockets or --disable-sockets was given.
2644 if test "${enable_sockets+set}" = set; then
2645 enableval
="$enable_sockets"
2647 if test "$enableval" = yes; then
2648 ac_cv_use_sockets
='wxUSE_SOCKETS=yes'
2650 ac_cv_use_sockets
='wxUSE_SOCKETS=no'
2655 LINE
=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
2656 if test "x$LINE" != x
; then
2657 eval "DEFAULT_$LINE"
2662 ac_cv_use_sockets
='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
2667 eval "$ac_cv_use_sockets"
2668 if test "$no_cache" != 1; then
2669 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
2672 if test "$wxUSE_SOCKETS" = yes; then
2673 echo "$ac_t""yes" 1>&6
2675 echo "$ac_t""no" 1>&6
2680 echo $ac_n "checking "for --enable-ipc"""... $ac_c" 1>&6
2681 echo "configure:2682: checking "for --enable-ipc"" >&5
2683 # Check whether --enable-ipc or --disable-ipc was given.
2684 if test "${enable_ipc+set}" = set; then
2685 enableval
="$enable_ipc"
2687 if test "$enableval" = yes; then
2688 ac_cv_use_ipc
='wxUSE_IPC=yes'
2690 ac_cv_use_ipc
='wxUSE_IPC=no'
2695 LINE
=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
2696 if test "x$LINE" != x
; then
2697 eval "DEFAULT_$LINE"
2702 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
2707 eval "$ac_cv_use_ipc"
2708 if test "$no_cache" != 1; then
2709 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
2712 if test "$wxUSE_IPC" = yes; then
2713 echo "$ac_t""yes" 1>&6
2715 echo "$ac_t""no" 1>&6
2720 echo $ac_n "checking "for --enable-dialupman"""... $ac_c" 1>&6
2721 echo "configure:2722: checking "for --enable-dialupman"" >&5
2723 # Check whether --enable-dialupman or --disable-dialupman was given.
2724 if test "${enable_dialupman+set}" = set; then
2725 enableval
="$enable_dialupman"
2727 if test "$enableval" = yes; then
2728 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=yes'
2730 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER=no'
2735 LINE
=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
2736 if test "x$LINE" != x
; then
2737 eval "DEFAULT_$LINE"
2742 ac_cv_use_dialupman
='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
2747 eval "$ac_cv_use_dialupman"
2748 if test "$no_cache" != 1; then
2749 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
2752 if test "$wxUSE_DIALUP_MANAGER" = yes; then
2753 echo "$ac_t""yes" 1>&6
2755 echo "$ac_t""no" 1>&6
2759 echo $ac_n "checking "for --enable-apple_ieee"""... $ac_c" 1>&6
2760 echo "configure:2761: checking "for --enable-apple_ieee"" >&5
2762 # Check whether --enable-apple_ieee or --disable-apple_ieee was given.
2763 if test "${enable_apple_ieee+set}" = set; then
2764 enableval
="$enable_apple_ieee"
2766 if test "$enableval" = yes; then
2767 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=yes'
2769 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE=no'
2774 LINE
=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
2775 if test "x$LINE" != x
; then
2776 eval "DEFAULT_$LINE"
2781 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
2786 eval "$ac_cv_use_apple_ieee"
2787 if test "$no_cache" != 1; then
2788 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
2791 if test "$wxUSE_APPLE_IEEE" = yes; then
2792 echo "$ac_t""yes" 1>&6
2794 echo "$ac_t""no" 1>&6
2798 echo $ac_n "checking "for --enable-timedate"""... $ac_c" 1>&6
2799 echo "configure:2800: checking "for --enable-timedate"" >&5
2801 # Check whether --enable-timedate or --disable-timedate was given.
2802 if test "${enable_timedate+set}" = set; then
2803 enableval
="$enable_timedate"
2805 if test "$enableval" = yes; then
2806 ac_cv_use_timedate
='wxUSE_TIMEDATE=yes'
2808 ac_cv_use_timedate
='wxUSE_TIMEDATE=no'
2813 LINE
=`grep "wxUSE_TIMEDATE" ${wx_arg_cache_file}`
2814 if test "x$LINE" != x
; then
2815 eval "DEFAULT_$LINE"
2820 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
2825 eval "$ac_cv_use_timedate"
2826 if test "$no_cache" != 1; then
2827 echo $ac_cv_use_timedate >> ${wx_arg_cache_file}.tmp
2830 if test "$wxUSE_TIMEDATE" = yes; then
2831 echo "$ac_t""yes" 1>&6
2833 echo "$ac_t""no" 1>&6
2837 echo $ac_n "checking "for --enable-wave"""... $ac_c" 1>&6
2838 echo "configure:2839: checking "for --enable-wave"" >&5
2840 # Check whether --enable-wave or --disable-wave was given.
2841 if test "${enable_wave+set}" = set; then
2842 enableval
="$enable_wave"
2844 if test "$enableval" = yes; then
2845 ac_cv_use_wave
='wxUSE_WAVE=yes'
2847 ac_cv_use_wave
='wxUSE_WAVE=no'
2852 LINE
=`grep "wxUSE_WAVE" ${wx_arg_cache_file}`
2853 if test "x$LINE" != x
; then
2854 eval "DEFAULT_$LINE"
2859 ac_cv_use_wave
='wxUSE_WAVE='$DEFAULT_wxUSE_WAVE
2864 eval "$ac_cv_use_wave"
2865 if test "$no_cache" != 1; then
2866 echo $ac_cv_use_wave >> ${wx_arg_cache_file}.tmp
2869 if test "$wxUSE_WAVE" = yes; then
2870 echo "$ac_t""yes" 1>&6
2872 echo "$ac_t""no" 1>&6
2876 echo $ac_n "checking "for --enable-fraction"""... $ac_c" 1>&6
2877 echo "configure:2878: checking "for --enable-fraction"" >&5
2879 # Check whether --enable-fraction or --disable-fraction was given.
2880 if test "${enable_fraction+set}" = set; then
2881 enableval
="$enable_fraction"
2883 if test "$enableval" = yes; then
2884 ac_cv_use_fraction
='wxUSE_FRACTION=yes'
2886 ac_cv_use_fraction
='wxUSE_FRACTION=no'
2891 LINE
=`grep "wxUSE_FRACTION" ${wx_arg_cache_file}`
2892 if test "x$LINE" != x
; then
2893 eval "DEFAULT_$LINE"
2898 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
2903 eval "$ac_cv_use_fraction"
2904 if test "$no_cache" != 1; then
2905 echo $ac_cv_use_fraction >> ${wx_arg_cache_file}.tmp
2908 if test "$wxUSE_FRACTION" = yes; then
2909 echo "$ac_t""yes" 1>&6
2911 echo "$ac_t""no" 1>&6
2915 echo $ac_n "checking "for --enable-dynlib"""... $ac_c" 1>&6
2916 echo "configure:2917: checking "for --enable-dynlib"" >&5
2918 # Check whether --enable-dynlib or --disable-dynlib was given.
2919 if test "${enable_dynlib+set}" = set; then
2920 enableval
="$enable_dynlib"
2922 if test "$enableval" = yes; then
2923 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=yes'
2925 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS=no'
2930 LINE
=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
2931 if test "x$LINE" != x
; then
2932 eval "DEFAULT_$LINE"
2937 ac_cv_use_dynlib
='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
2942 eval "$ac_cv_use_dynlib"
2943 if test "$no_cache" != 1; then
2944 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
2947 if test "$wxUSE_DYNLIB_CLASS" = yes; then
2948 echo "$ac_t""yes" 1>&6
2950 echo "$ac_t""no" 1>&6
2954 echo $ac_n "checking "for --enable-longlong"""... $ac_c" 1>&6
2955 echo "configure:2956: checking "for --enable-longlong"" >&5
2957 # Check whether --enable-longlong or --disable-longlong was given.
2958 if test "${enable_longlong+set}" = set; then
2959 enableval
="$enable_longlong"
2961 if test "$enableval" = yes; then
2962 ac_cv_use_longlong
='wxUSE_LONGLONG=yes'
2964 ac_cv_use_longlong
='wxUSE_LONGLONG=no'
2969 LINE
=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
2970 if test "x$LINE" != x
; then
2971 eval "DEFAULT_$LINE"
2976 ac_cv_use_longlong
='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
2981 eval "$ac_cv_use_longlong"
2982 if test "$no_cache" != 1; then
2983 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
2986 if test "$wxUSE_LONGLONG" = yes; then
2987 echo "$ac_t""yes" 1>&6
2989 echo "$ac_t""no" 1>&6
2993 echo $ac_n "checking "for --enable-geometry"""... $ac_c" 1>&6
2994 echo "configure:2995: checking "for --enable-geometry"" >&5
2996 # Check whether --enable-geometry or --disable-geometry was given.
2997 if test "${enable_geometry+set}" = set; then
2998 enableval
="$enable_geometry"
3000 if test "$enableval" = yes; then
3001 ac_cv_use_geometry
='wxUSE_GEOMETRY=yes'
3003 ac_cv_use_geometry
='wxUSE_GEOMETRY=no'
3008 LINE
=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
3009 if test "x$LINE" != x
; then
3010 eval "DEFAULT_$LINE"
3015 ac_cv_use_geometry
='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
3020 eval "$ac_cv_use_geometry"
3021 if test "$no_cache" != 1; then
3022 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
3025 if test "$wxUSE_GEOMETRY" = yes; then
3026 echo "$ac_t""yes" 1>&6
3028 echo "$ac_t""no" 1>&6
3032 echo $ac_n "checking "for --enable-log"""... $ac_c" 1>&6
3033 echo "configure:3034: checking "for --enable-log"" >&5
3035 # Check whether --enable-log or --disable-log was given.
3036 if test "${enable_log+set}" = set; then
3037 enableval
="$enable_log"
3039 if test "$enableval" = yes; then
3040 ac_cv_use_log
='wxUSE_LOG=yes'
3042 ac_cv_use_log
='wxUSE_LOG=no'
3047 LINE
=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
3048 if test "x$LINE" != x
; then
3049 eval "DEFAULT_$LINE"
3054 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
3059 eval "$ac_cv_use_log"
3060 if test "$no_cache" != 1; then
3061 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
3064 if test "$wxUSE_LOG" = yes; then
3065 echo "$ac_t""yes" 1>&6
3067 echo "$ac_t""no" 1>&6
3071 echo $ac_n "checking "for --enable-streams"""... $ac_c" 1>&6
3072 echo "configure:3073: checking "for --enable-streams"" >&5
3074 # Check whether --enable-streams or --disable-streams was given.
3075 if test "${enable_streams+set}" = set; then
3076 enableval
="$enable_streams"
3078 if test "$enableval" = yes; then
3079 ac_cv_use_streams
='wxUSE_STREAMS=yes'
3081 ac_cv_use_streams
='wxUSE_STREAMS=no'
3086 LINE
=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
3087 if test "x$LINE" != x
; then
3088 eval "DEFAULT_$LINE"
3093 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
3098 eval "$ac_cv_use_streams"
3099 if test "$no_cache" != 1; then
3100 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
3103 if test "$wxUSE_STREAMS" = yes; then
3104 echo "$ac_t""yes" 1>&6
3106 echo "$ac_t""no" 1>&6
3110 echo $ac_n "checking "for --enable-file"""... $ac_c" 1>&6
3111 echo "configure:3112: checking "for --enable-file"" >&5
3113 # Check whether --enable-file or --disable-file was given.
3114 if test "${enable_file+set}" = set; then
3115 enableval
="$enable_file"
3117 if test "$enableval" = yes; then
3118 ac_cv_use_file
='wxUSE_FILE=yes'
3120 ac_cv_use_file
='wxUSE_FILE=no'
3125 LINE
=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
3126 if test "x$LINE" != x
; then
3127 eval "DEFAULT_$LINE"
3132 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
3137 eval "$ac_cv_use_file"
3138 if test "$no_cache" != 1; then
3139 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
3142 if test "$wxUSE_FILE" = yes; then
3143 echo "$ac_t""yes" 1>&6
3145 echo "$ac_t""no" 1>&6
3149 echo $ac_n "checking "for --enable-textfile"""... $ac_c" 1>&6
3150 echo "configure:3151: checking "for --enable-textfile"" >&5
3152 # Check whether --enable-textfile or --disable-textfile was given.
3153 if test "${enable_textfile+set}" = set; then
3154 enableval
="$enable_textfile"
3156 if test "$enableval" = yes; then
3157 ac_cv_use_textfile
='wxUSE_TEXTFILE=yes'
3159 ac_cv_use_textfile
='wxUSE_TEXTFILE=no'
3164 LINE
=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
3165 if test "x$LINE" != x
; then
3166 eval "DEFAULT_$LINE"
3171 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
3176 eval "$ac_cv_use_textfile"
3177 if test "$no_cache" != 1; then
3178 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
3181 if test "$wxUSE_TEXTFILE" = yes; then
3182 echo "$ac_t""yes" 1>&6
3184 echo "$ac_t""no" 1>&6
3188 echo $ac_n "checking "for --enable-unicode"""... $ac_c" 1>&6
3189 echo "configure:3190: checking "for --enable-unicode"" >&5
3191 # Check whether --enable-unicode or --disable-unicode was given.
3192 if test "${enable_unicode+set}" = set; then
3193 enableval
="$enable_unicode"
3195 if test "$enableval" = yes; then
3196 ac_cv_use_unicode
='wxUSE_UNICODE=yes'
3198 ac_cv_use_unicode
='wxUSE_UNICODE=no'
3203 LINE
=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
3204 if test "x$LINE" != x
; then
3205 eval "DEFAULT_$LINE"
3210 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
3215 eval "$ac_cv_use_unicode"
3216 if test "$no_cache" != 1; then
3217 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
3220 if test "$wxUSE_UNICODE" = yes; then
3221 echo "$ac_t""yes" 1>&6
3223 echo "$ac_t""no" 1>&6
3227 echo $ac_n "checking "for --enable-wcsrtombs"""... $ac_c" 1>&6
3228 echo "configure:3229: checking "for --enable-wcsrtombs"" >&5
3230 # Check whether --enable-wcsrtombs or --disable-wcsrtombs was given.
3231 if test "${enable_wcsrtombs+set}" = set; then
3232 enableval
="$enable_wcsrtombs"
3234 if test "$enableval" = yes; then
3235 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=yes'
3237 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS=no'
3242 LINE
=`grep "wxUSE_WCSRTOMBS" ${wx_arg_cache_file}`
3243 if test "x$LINE" != x
; then
3244 eval "DEFAULT_$LINE"
3249 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
3254 eval "$ac_cv_use_wcsrtombs"
3255 if test "$no_cache" != 1; then
3256 echo $ac_cv_use_wcsrtombs >> ${wx_arg_cache_file}.tmp
3259 if test "$wxUSE_WCSRTOMBS" = yes; then
3260 echo "$ac_t""yes" 1>&6
3262 echo "$ac_t""no" 1>&6
3266 echo $ac_n "checking "for --enable-wxprintfv"""... $ac_c" 1>&6
3267 echo "configure:3268: checking "for --enable-wxprintfv"" >&5
3269 # Check whether --enable-wxprintfv or --disable-wxprintfv was given.
3270 if test "${enable_wxprintfv+set}" = set; then
3271 enableval
="$enable_wxprintfv"
3273 if test "$enableval" = yes; then
3274 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=yes'
3276 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF=no'
3281 LINE
=`grep "wxUSE_EXPERIMENTAL_PRINTF" ${wx_arg_cache_file}`
3282 if test "x$LINE" != x
; then
3283 eval "DEFAULT_$LINE"
3288 ac_cv_use_wxprintfv
='wxUSE_EXPERIMENTAL_PRINTF='$DEFAULT_wxUSE_EXPERIMENTAL_PRINTF
3293 eval "$ac_cv_use_wxprintfv"
3294 if test "$no_cache" != 1; then
3295 echo $ac_cv_use_wxprintfv >> ${wx_arg_cache_file}.tmp
3298 if test "$wxUSE_EXPERIMENTAL_PRINTF" = yes; then
3299 echo "$ac_t""yes" 1>&6
3301 echo "$ac_t""no" 1>&6
3305 echo $ac_n "checking "for --enable-std_iostreams"""... $ac_c" 1>&6
3306 echo "configure:3307: checking "for --enable-std_iostreams"" >&5
3308 # Check whether --enable-std_iostreams or --disable-std_iostreams was given.
3309 if test "${enable_std_iostreams+set}" = set; then
3310 enableval
="$enable_std_iostreams"
3312 if test "$enableval" = yes; then
3313 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=yes'
3315 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM=no'
3320 LINE
=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
3321 if test "x$LINE" != x
; then
3322 eval "DEFAULT_$LINE"
3327 ac_cv_use_std_iostreams
='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
3332 eval "$ac_cv_use_std_iostreams"
3333 if test "$no_cache" != 1; then
3334 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
3337 if test "$wxUSE_STD_IOSTREAM" = yes; then
3338 echo "$ac_t""yes" 1>&6
3340 echo "$ac_t""no" 1>&6
3344 echo $ac_n "checking "for --enable-filesystem"""... $ac_c" 1>&6
3345 echo "configure:3346: checking "for --enable-filesystem"" >&5
3347 # Check whether --enable-filesystem or --disable-filesystem was given.
3348 if test "${enable_filesystem+set}" = set; then
3349 enableval
="$enable_filesystem"
3351 if test "$enableval" = yes; then
3352 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=yes'
3354 ac_cv_use_filesystem
='wxUSE_FILESYSTEM=no'
3359 LINE
=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
3360 if test "x$LINE" != x
; then
3361 eval "DEFAULT_$LINE"
3366 ac_cv_use_filesystem
='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
3371 eval "$ac_cv_use_filesystem"
3372 if test "$no_cache" != 1; then
3373 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
3376 if test "$wxUSE_FILESYSTEM" = yes; then
3377 echo "$ac_t""yes" 1>&6
3379 echo "$ac_t""no" 1>&6
3383 echo $ac_n "checking "for --enable-fs_inet"""... $ac_c" 1>&6
3384 echo "configure:3385: checking "for --enable-fs_inet"" >&5
3386 # Check whether --enable-fs_inet or --disable-fs_inet was given.
3387 if test "${enable_fs_inet+set}" = set; then
3388 enableval
="$enable_fs_inet"
3390 if test "$enableval" = yes; then
3391 ac_cv_use_fs_inet
='wxUSE_FS_INET=yes'
3393 ac_cv_use_fs_inet
='wxUSE_FS_INET=no'
3398 LINE
=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
3399 if test "x$LINE" != x
; then
3400 eval "DEFAULT_$LINE"
3405 ac_cv_use_fs_inet
='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
3410 eval "$ac_cv_use_fs_inet"
3411 if test "$no_cache" != 1; then
3412 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
3415 if test "$wxUSE_FS_INET" = yes; then
3416 echo "$ac_t""yes" 1>&6
3418 echo "$ac_t""no" 1>&6
3422 echo $ac_n "checking "for --enable-fs_zip"""... $ac_c" 1>&6
3423 echo "configure:3424: checking "for --enable-fs_zip"" >&5
3425 # Check whether --enable-fs_zip or --disable-fs_zip was given.
3426 if test "${enable_fs_zip+set}" = set; then
3427 enableval
="$enable_fs_zip"
3429 if test "$enableval" = yes; then
3430 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=yes'
3432 ac_cv_use_fs_zip
='wxUSE_FS_ZIP=no'
3437 LINE
=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
3438 if test "x$LINE" != x
; then
3439 eval "DEFAULT_$LINE"
3444 ac_cv_use_fs_zip
='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
3449 eval "$ac_cv_use_fs_zip"
3450 if test "$no_cache" != 1; then
3451 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
3454 if test "$wxUSE_FS_ZIP" = yes; then
3455 echo "$ac_t""yes" 1>&6
3457 echo "$ac_t""no" 1>&6
3461 echo $ac_n "checking "for --enable-zipstream"""... $ac_c" 1>&6
3462 echo "configure:3463: checking "for --enable-zipstream"" >&5
3464 # Check whether --enable-zipstream or --disable-zipstream was given.
3465 if test "${enable_zipstream+set}" = set; then
3466 enableval
="$enable_zipstream"
3468 if test "$enableval" = yes; then
3469 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=yes'
3471 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM=no'
3476 LINE
=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
3477 if test "x$LINE" != x
; then
3478 eval "DEFAULT_$LINE"
3483 ac_cv_use_zipstream
='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
3488 eval "$ac_cv_use_zipstream"
3489 if test "$no_cache" != 1; then
3490 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
3493 if test "$wxUSE_ZIPSTREAM" = yes; then
3494 echo "$ac_t""yes" 1>&6
3496 echo "$ac_t""no" 1>&6
3501 echo $ac_n "checking "for --enable-catch_segvs"""... $ac_c" 1>&6
3502 echo "configure:3503: checking "for --enable-catch_segvs"" >&5
3504 # Check whether --enable-catch_segvs or --disable-catch_segvs was given.
3505 if test "${enable_catch_segvs+set}" = set; then
3506 enableval
="$enable_catch_segvs"
3508 if test "$enableval" = yes; then
3509 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=yes'
3511 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION=no'
3516 LINE
=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
3517 if test "x$LINE" != x
; then
3518 eval "DEFAULT_$LINE"
3523 ac_cv_use_catch_segvs
='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
3528 eval "$ac_cv_use_catch_segvs"
3529 if test "$no_cache" != 1; then
3530 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
3533 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
3534 echo "$ac_t""yes" 1>&6
3536 echo "$ac_t""no" 1>&6
3542 echo $ac_n "checking "for --enable-threads"""... $ac_c" 1>&6
3543 echo "configure:3544: checking "for --enable-threads"" >&5
3545 # Check whether --enable-threads or --disable-threads was given.
3546 if test "${enable_threads+set}" = set; then
3547 enableval
="$enable_threads"
3549 if test "$enableval" = yes; then
3550 ac_cv_use_threads
='wxUSE_THREADS=yes'
3552 ac_cv_use_threads
='wxUSE_THREADS=no'
3557 LINE
=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
3558 if test "x$LINE" != x
; then
3559 eval "DEFAULT_$LINE"
3564 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
3569 eval "$ac_cv_use_threads"
3570 if test "$no_cache" != 1; then
3571 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
3574 if test "$wxUSE_THREADS" = yes; then
3575 echo "$ac_t""yes" 1>&6
3577 echo "$ac_t""no" 1>&6
3581 echo $ac_n "checking "for --enable-serial"""... $ac_c" 1>&6
3582 echo "configure:3583: checking "for --enable-serial"" >&5
3584 # Check whether --enable-serial or --disable-serial was given.
3585 if test "${enable_serial+set}" = set; then
3586 enableval
="$enable_serial"
3588 if test "$enableval" = yes; then
3589 ac_cv_use_serial
='wxUSE_SERIAL=yes'
3591 ac_cv_use_serial
='wxUSE_SERIAL=no'
3596 LINE
=`grep "wxUSE_SERIAL" ${wx_arg_cache_file}`
3597 if test "x$LINE" != x
; then
3598 eval "DEFAULT_$LINE"
3603 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
3608 eval "$ac_cv_use_serial"
3609 if test "$no_cache" != 1; then
3610 echo $ac_cv_use_serial >> ${wx_arg_cache_file}.tmp
3613 if test "$wxUSE_SERIAL" = yes; then
3614 echo "$ac_t""yes" 1>&6
3616 echo "$ac_t""no" 1>&6
3620 if test "$wxUSE_GUI" = "yes"; then
3624 echo $ac_n "checking "for --enable-docview"""... $ac_c" 1>&6
3625 echo "configure:3626: checking "for --enable-docview"" >&5
3627 # Check whether --enable-docview or --disable-docview was given.
3628 if test "${enable_docview+set}" = set; then
3629 enableval
="$enable_docview"
3631 if test "$enableval" = yes; then
3632 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
3634 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE=no'
3639 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
3640 if test "x$LINE" != x
; then
3641 eval "DEFAULT_$LINE"
3646 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
3651 eval "$ac_cv_use_docview"
3652 if test "$no_cache" != 1; then
3653 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
3656 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
3657 echo "$ac_t""yes" 1>&6
3659 echo "$ac_t""no" 1>&6
3663 echo $ac_n "checking "for --enable-help"""... $ac_c" 1>&6
3664 echo "configure:3665: checking "for --enable-help"" >&5
3666 # Check whether --enable-help or --disable-help was given.
3667 if test "${enable_help+set}" = set; then
3668 enableval
="$enable_help"
3670 if test "$enableval" = yes; then
3671 ac_cv_use_help
='wxUSE_HELP=yes'
3673 ac_cv_use_help
='wxUSE_HELP=no'
3678 LINE
=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
3679 if test "x$LINE" != x
; then
3680 eval "DEFAULT_$LINE"
3685 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
3690 eval "$ac_cv_use_help"
3691 if test "$no_cache" != 1; then
3692 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
3695 if test "$wxUSE_HELP" = yes; then
3696 echo "$ac_t""yes" 1>&6
3698 echo "$ac_t""no" 1>&6
3702 echo $ac_n "checking "for --enable-constraints"""... $ac_c" 1>&6
3703 echo "configure:3704: checking "for --enable-constraints"" >&5
3705 # Check whether --enable-constraints or --disable-constraints was given.
3706 if test "${enable_constraints+set}" = set; then
3707 enableval
="$enable_constraints"
3709 if test "$enableval" = yes; then
3710 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=yes'
3712 ac_cv_use_constraints
='wxUSE_CONSTRAINTS=no'
3717 LINE
=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
3718 if test "x$LINE" != x
; then
3719 eval "DEFAULT_$LINE"
3724 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
3729 eval "$ac_cv_use_constraints"
3730 if test "$no_cache" != 1; then
3731 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
3734 if test "$wxUSE_CONSTRAINTS" = yes; then
3735 echo "$ac_t""yes" 1>&6
3737 echo "$ac_t""no" 1>&6
3741 echo $ac_n "checking "for --enable-printarch"""... $ac_c" 1>&6
3742 echo "configure:3743: checking "for --enable-printarch"" >&5
3744 # Check whether --enable-printarch or --disable-printarch was given.
3745 if test "${enable_printarch+set}" = set; then
3746 enableval
="$enable_printarch"
3748 if test "$enableval" = yes; then
3749 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=yes'
3751 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE=no'
3756 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
3757 if test "x$LINE" != x
; then
3758 eval "DEFAULT_$LINE"
3763 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
3768 eval "$ac_cv_use_printarch"
3769 if test "$no_cache" != 1; then
3770 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
3773 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
3774 echo "$ac_t""yes" 1>&6
3776 echo "$ac_t""no" 1>&6
3780 echo $ac_n "checking "for --enable-mdi"""... $ac_c" 1>&6
3781 echo "configure:3782: checking "for --enable-mdi"" >&5
3783 # Check whether --enable-mdi or --disable-mdi was given.
3784 if test "${enable_mdi+set}" = set; then
3785 enableval
="$enable_mdi"
3787 if test "$enableval" = yes; then
3788 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=yes'
3790 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE=no'
3795 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
3796 if test "x$LINE" != x
; then
3797 eval "DEFAULT_$LINE"
3802 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
3807 eval "$ac_cv_use_mdi"
3808 if test "$no_cache" != 1; then
3809 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
3812 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
3813 echo "$ac_t""yes" 1>&6
3815 echo "$ac_t""no" 1>&6
3820 echo $ac_n "checking "for --enable-postscript"""... $ac_c" 1>&6
3821 echo "configure:3822: checking "for --enable-postscript"" >&5
3823 # Check whether --enable-postscript or --disable-postscript was given.
3824 if test "${enable_postscript+set}" = set; then
3825 enableval
="$enable_postscript"
3827 if test "$enableval" = yes; then
3828 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=yes'
3830 ac_cv_use_postscript
='wxUSE_POSTSCRIPT=no'
3835 LINE
=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
3836 if test "x$LINE" != x
; then
3837 eval "DEFAULT_$LINE"
3842 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
3847 eval "$ac_cv_use_postscript"
3848 if test "$no_cache" != 1; then
3849 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
3852 if test "$wxUSE_POSTSCRIPT" = yes; then
3853 echo "$ac_t""yes" 1>&6
3855 echo "$ac_t""no" 1>&6
3861 echo $ac_n "checking "for --enable-prologio"""... $ac_c" 1>&6
3862 echo "configure:3863: checking "for --enable-prologio"" >&5
3864 # Check whether --enable-prologio or --disable-prologio was given.
3865 if test "${enable_prologio+set}" = set; then
3866 enableval
="$enable_prologio"
3868 if test "$enableval" = yes; then
3869 ac_cv_use_prologio
='wxUSE_PROLOGIO=yes'
3871 ac_cv_use_prologio
='wxUSE_PROLOGIO=no'
3876 LINE
=`grep "wxUSE_PROLOGIO" ${wx_arg_cache_file}`
3877 if test "x$LINE" != x
; then
3878 eval "DEFAULT_$LINE"
3883 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
3888 eval "$ac_cv_use_prologio"
3889 if test "$no_cache" != 1; then
3890 echo $ac_cv_use_prologio >> ${wx_arg_cache_file}.tmp
3893 if test "$wxUSE_PROLOGIO" = yes; then
3894 echo "$ac_t""yes" 1>&6
3896 echo "$ac_t""no" 1>&6
3900 echo $ac_n "checking "for --enable-resources"""... $ac_c" 1>&6
3901 echo "configure:3902: checking "for --enable-resources"" >&5
3903 # Check whether --enable-resources or --disable-resources was given.
3904 if test "${enable_resources+set}" = set; then
3905 enableval
="$enable_resources"
3907 if test "$enableval" = yes; then
3908 ac_cv_use_resources
='wxUSE_RESOURCES=yes'
3910 ac_cv_use_resources
='wxUSE_RESOURCES=no'
3915 LINE
=`grep "wxUSE_RESOURCES" ${wx_arg_cache_file}`
3916 if test "x$LINE" != x
; then
3917 eval "DEFAULT_$LINE"
3922 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
3927 eval "$ac_cv_use_resources"
3928 if test "$no_cache" != 1; then
3929 echo $ac_cv_use_resources >> ${wx_arg_cache_file}.tmp
3932 if test "$wxUSE_RESOURCES" = yes; then
3933 echo "$ac_t""yes" 1>&6
3935 echo "$ac_t""no" 1>&6
3940 echo $ac_n "checking "for --enable-xresources"""... $ac_c" 1>&6
3941 echo "configure:3942: checking "for --enable-xresources"" >&5
3943 # Check whether --enable-xresources or --disable-xresources was given.
3944 if test "${enable_xresources+set}" = set; then
3945 enableval
="$enable_xresources"
3947 if test "$enableval" = yes; then
3948 ac_cv_use_xresources
='wxUSE_X_RESOURCES=yes'
3950 ac_cv_use_xresources
='wxUSE_X_RESOURCES=no'
3955 LINE
=`grep "wxUSE_X_RESOURCES" ${wx_arg_cache_file}`
3956 if test "x$LINE" != x
; then
3957 eval "DEFAULT_$LINE"
3962 ac_cv_use_xresources
='wxUSE_X_RESOURCES='$DEFAULT_wxUSE_X_RESOURCES
3967 eval "$ac_cv_use_xresources"
3968 if test "$no_cache" != 1; then
3969 echo $ac_cv_use_xresources >> ${wx_arg_cache_file}.tmp
3972 if test "$wxUSE_X_RESOURCES" = yes; then
3973 echo "$ac_t""yes" 1>&6
3975 echo "$ac_t""no" 1>&6
3981 echo $ac_n "checking "for --enable-clipboard"""... $ac_c" 1>&6
3982 echo "configure:3983: checking "for --enable-clipboard"" >&5
3984 # Check whether --enable-clipboard or --disable-clipboard was given.
3985 if test "${enable_clipboard+set}" = set; then
3986 enableval
="$enable_clipboard"
3988 if test "$enableval" = yes; then
3989 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=yes'
3991 ac_cv_use_clipboard
='wxUSE_CLIPBOARD=no'
3996 LINE
=`grep "wxUSE_CLIPBOARD" ${wx_arg_cache_file}`
3997 if test "x$LINE" != x
; then
3998 eval "DEFAULT_$LINE"
4003 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
4008 eval "$ac_cv_use_clipboard"
4009 if test "$no_cache" != 1; then
4010 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
4013 if test "$wxUSE_CLIPBOARD" = yes; then
4014 echo "$ac_t""yes" 1>&6
4016 echo "$ac_t""no" 1>&6
4020 echo $ac_n "checking "for --enable-dnd"""... $ac_c" 1>&6
4021 echo "configure:4022: checking "for --enable-dnd"" >&5
4023 # Check whether --enable-dnd or --disable-dnd was given.
4024 if test "${enable_dnd+set}" = set; then
4025 enableval
="$enable_dnd"
4027 if test "$enableval" = yes; then
4028 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=yes'
4030 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP=no'
4035 LINE
=`grep "wxUSE_DRAG_AND_DROP" ${wx_arg_cache_file}`
4036 if test "x$LINE" != x
; then
4037 eval "DEFAULT_$LINE"
4042 ac_cv_use_dnd
='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
4047 eval "$ac_cv_use_dnd"
4048 if test "$no_cache" != 1; then
4049 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
4052 if test "$wxUSE_DRAG_AND_DROP" = yes; then
4053 echo "$ac_t""yes" 1>&6
4055 echo "$ac_t""no" 1>&6
4060 echo $ac_n "checking "for --enable-wxtree"""... $ac_c" 1>&6
4061 echo "configure:4062: checking "for --enable-wxtree"" >&5
4063 # Check whether --enable-wxtree or --disable-wxtree was given.
4064 if test "${enable_wxtree+set}" = set; then
4065 enableval
="$enable_wxtree"
4067 if test "$enableval" = yes; then
4068 ac_cv_use_wxtree
='wxUSE_WXTREE=yes'
4070 ac_cv_use_wxtree
='wxUSE_WXTREE=no'
4075 LINE
=`grep "wxUSE_WXTREE" ${wx_arg_cache_file}`
4076 if test "x$LINE" != x
; then
4077 eval "DEFAULT_$LINE"
4082 ac_cv_use_wxtree
='wxUSE_WXTREE='$DEFAULT_wxUSE_WXTREE
4087 eval "$ac_cv_use_wxtree"
4088 if test "$no_cache" != 1; then
4089 echo $ac_cv_use_wxtree >> ${wx_arg_cache_file}.tmp
4092 if test "$wxUSE_WXTREE" = yes; then
4093 echo "$ac_t""yes" 1>&6
4095 echo "$ac_t""no" 1>&6
4101 echo $ac_n "checking "for --enable-controls"""... $ac_c" 1>&6
4102 echo "configure:4103: checking "for --enable-controls"" >&5
4104 # Check whether --enable-controls or --disable-controls was given.
4105 if test "${enable_controls+set}" = set; then
4106 enableval
="$enable_controls"
4108 if test "$enableval" = yes; then
4109 ac_cv_use_controls
='wxUSE_CONTROLS=yes'
4111 ac_cv_use_controls
='wxUSE_CONTROLS=no'
4116 LINE
=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
4117 if test "x$LINE" != x
; then
4118 eval "DEFAULT_$LINE"
4123 ac_cv_use_controls
='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
4128 eval "$ac_cv_use_controls"
4129 if test "$no_cache" != 1; then
4130 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
4133 if test "$wxUSE_CONTROLS" = yes; then
4134 echo "$ac_t""yes" 1>&6
4136 echo "$ac_t""no" 1>&6
4140 if test "$wxUSE_CONTROLS" = "yes"; then
4141 DEFAULT_wxUSE_ACCEL
=yes
4142 DEFAULT_wxUSE_CARET
=yes
4143 DEFAULT_wxUSE_COMBOBOX
=yes
4144 DEFAULT_wxUSE_BMPBUTTON
=yes
4145 DEFAULT_wxUSE_CHECKBOX
=yes
4146 DEFAULT_wxUSE_CHECKLISTBOX
=yes
4147 DEFAULT_wxUSE_CHOICE
=yes
4148 DEFAULT_wxUSE_GAUGE
=yes
4149 DEFAULT_wxUSE_GRID
=yes
4150 DEFAULT_wxUSE_NEW_GRID
=yes
4151 DEFAULT_wxUSE_IMAGLIST
=yes
4152 DEFAULT_wxUSE_LISTBOX
=yes
4153 DEFAULT_wxUSE_LISTCTRL
=yes
4154 DEFAULT_wxUSE_NOTEBOOK
=yes
4155 DEFAULT_wxUSE_RADIOBOX
=yes
4156 DEFAULT_wxUSE_RADIOBTN
=yes
4157 DEFAULT_wxUSE_SASH
=yes
4158 DEFAULT_wxUSE_SCROLLBAR
=yes
4159 DEFAULT_wxUSE_SLIDER
=yes
4160 DEFAULT_wxUSE_SPINBTN
=yes
4161 DEFAULT_wxUSE_SPINCTRL
=yes
4162 DEFAULT_wxUSE_SPLITTER
=yes
4163 DEFAULT_wxUSE_STATBMP
=yes
4164 DEFAULT_wxUSE_STATBOX
=yes
4165 DEFAULT_wxUSE_STATLINE
=yes
4166 DEFAULT_wxUSE_STATUSBAR
=yes
4167 DEFAULT_wxUSE_TAB_DIALOG
=yes
4168 DEFAULT_wxUSE_TOOLBAR
=yes
4169 DEFAULT_wxUSE_TOOLBAR_NATIVE
=yes
4170 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=yes
4171 DEFAULT_wxUSE_TOOLTIPS
=yes
4172 DEFAULT_wxUSE_TREECTRL
=yes
4173 elif test "$wxUSE_CONTROLS" = "no"; then
4174 DEFAULT_wxUSE_ACCEL
=no
4175 DEFAULT_wxUSE_CARET
=no
4176 DEFAULT_wxUSE_COMBOBOX
=no
4177 DEFAULT_wxUSE_BMPBUTTON
=no
4178 DEFAULT_wxUSE_CHECKBOX
=no
4179 DEFAULT_wxUSE_CHECKLISTBOX
=no
4180 DEFAULT_wxUSE_CHOICE
=no
4181 DEFAULT_wxUSE_GAUGE
=no
4182 DEFAULT_wxUSE_GRID
=no
4183 DEFAULT_wxUSE_NEW_GRID
=no
4184 DEFAULT_wxUSE_IMAGLIST
=no
4185 DEFAULT_wxUSE_LISTBOX
=no
4186 DEFAULT_wxUSE_LISTCTRL
=no
4187 DEFAULT_wxUSE_NOTEBOOK
=no
4188 DEFAULT_wxUSE_RADIOBOX
=no
4189 DEFAULT_wxUSE_RADIOBTN
=no
4190 DEFAULT_wxUSE_SASH
=no
4191 DEFAULT_wxUSE_SCROLLBAR
=no
4192 DEFAULT_wxUSE_SLIDER
=no
4193 DEFAULT_wxUSE_SPINBTN
=no
4194 DEFAULT_wxUSE_SPINCTRL
=no
4195 DEFAULT_wxUSE_SPLITTER
=no
4196 DEFAULT_wxUSE_STATBMP
=no
4197 DEFAULT_wxUSE_STATBOX
=no
4198 DEFAULT_wxUSE_STATLINE
=no
4199 DEFAULT_wxUSE_STATUSBAR
=no
4200 DEFAULT_wxUSE_TAB_DIALOG
=no
4201 DEFAULT_wxUSE_TOOLBAR
=no
4202 DEFAULT_wxUSE_TOOLBAR_NATIVE
=no
4203 DEFAULT_wxUSE_TOOLBAR_SIMPLE
=no
4204 DEFAULT_wxUSE_TOOLTIPS
=no
4205 DEFAULT_wxUSE_TREECTRL
=no
4209 echo $ac_n "checking "for --enable-accel"""... $ac_c" 1>&6
4210 echo "configure:4211: checking "for --enable-accel"" >&5
4212 # Check whether --enable-accel or --disable-accel was given.
4213 if test "${enable_accel+set}" = set; then
4214 enableval
="$enable_accel"
4216 if test "$enableval" = yes; then
4217 ac_cv_use_accel
='wxUSE_ACCEL=yes'
4219 ac_cv_use_accel
='wxUSE_ACCEL=no'
4224 LINE
=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
4225 if test "x$LINE" != x
; then
4226 eval "DEFAULT_$LINE"
4231 ac_cv_use_accel
='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
4236 eval "$ac_cv_use_accel"
4237 if test "$no_cache" != 1; then
4238 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
4241 if test "$wxUSE_ACCEL" = yes; then
4242 echo "$ac_t""yes" 1>&6
4244 echo "$ac_t""no" 1>&6
4248 echo $ac_n "checking "for --enable-caret"""... $ac_c" 1>&6
4249 echo "configure:4250: checking "for --enable-caret"" >&5
4251 # Check whether --enable-caret or --disable-caret was given.
4252 if test "${enable_caret+set}" = set; then
4253 enableval
="$enable_caret"
4255 if test "$enableval" = yes; then
4256 ac_cv_use_caret
='wxUSE_CARET=yes'
4258 ac_cv_use_caret
='wxUSE_CARET=no'
4263 LINE
=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
4264 if test "x$LINE" != x
; then
4265 eval "DEFAULT_$LINE"
4270 ac_cv_use_caret
='wxUSE_CARET='$DEFAULT_wxUSE_CARET
4275 eval "$ac_cv_use_caret"
4276 if test "$no_cache" != 1; then
4277 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
4280 if test "$wxUSE_CARET" = yes; then
4281 echo "$ac_t""yes" 1>&6
4283 echo "$ac_t""no" 1>&6
4287 echo $ac_n "checking "for --enable-bmpbutton"""... $ac_c" 1>&6
4288 echo "configure:4289: checking "for --enable-bmpbutton"" >&5
4290 # Check whether --enable-bmpbutton or --disable-bmpbutton was given.
4291 if test "${enable_bmpbutton+set}" = set; then
4292 enableval
="$enable_bmpbutton"
4294 if test "$enableval" = yes; then
4295 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=yes'
4297 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON=no'
4302 LINE
=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
4303 if test "x$LINE" != x
; then
4304 eval "DEFAULT_$LINE"
4309 ac_cv_use_bmpbutton
='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
4314 eval "$ac_cv_use_bmpbutton"
4315 if test "$no_cache" != 1; then
4316 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
4319 if test "$wxUSE_BMPBUTTON" = yes; then
4320 echo "$ac_t""yes" 1>&6
4322 echo "$ac_t""no" 1>&6
4326 echo $ac_n "checking "for --enable-checkbox"""... $ac_c" 1>&6
4327 echo "configure:4328: checking "for --enable-checkbox"" >&5
4329 # Check whether --enable-checkbox or --disable-checkbox was given.
4330 if test "${enable_checkbox+set}" = set; then
4331 enableval
="$enable_checkbox"
4333 if test "$enableval" = yes; then
4334 ac_cv_use_checkbox
='wxUSE_CHECKBOX=yes'
4336 ac_cv_use_checkbox
='wxUSE_CHECKBOX=no'
4341 LINE
=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
4342 if test "x$LINE" != x
; then
4343 eval "DEFAULT_$LINE"
4348 ac_cv_use_checkbox
='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
4353 eval "$ac_cv_use_checkbox"
4354 if test "$no_cache" != 1; then
4355 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
4358 if test "$wxUSE_CHECKBOX" = yes; then
4359 echo "$ac_t""yes" 1>&6
4361 echo "$ac_t""no" 1>&6
4365 echo $ac_n "checking "for --enable-checklst"""... $ac_c" 1>&6
4366 echo "configure:4367: checking "for --enable-checklst"" >&5
4368 # Check whether --enable-checklst or --disable-checklst was given.
4369 if test "${enable_checklst+set}" = set; then
4370 enableval
="$enable_checklst"
4372 if test "$enableval" = yes; then
4373 ac_cv_use_checklst
='wxUSE_CHECKLST=yes'
4375 ac_cv_use_checklst
='wxUSE_CHECKLST=no'
4380 LINE
=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
4381 if test "x$LINE" != x
; then
4382 eval "DEFAULT_$LINE"
4387 ac_cv_use_checklst
='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
4392 eval "$ac_cv_use_checklst"
4393 if test "$no_cache" != 1; then
4394 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
4397 if test "$wxUSE_CHECKLST" = yes; then
4398 echo "$ac_t""yes" 1>&6
4400 echo "$ac_t""no" 1>&6
4404 echo $ac_n "checking "for --enable-choice"""... $ac_c" 1>&6
4405 echo "configure:4406: checking "for --enable-choice"" >&5
4407 # Check whether --enable-choice or --disable-choice was given.
4408 if test "${enable_choice+set}" = set; then
4409 enableval
="$enable_choice"
4411 if test "$enableval" = yes; then
4412 ac_cv_use_choice
='wxUSE_CHOICE=yes'
4414 ac_cv_use_choice
='wxUSE_CHOICE=no'
4419 LINE
=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
4420 if test "x$LINE" != x
; then
4421 eval "DEFAULT_$LINE"
4426 ac_cv_use_choice
='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
4431 eval "$ac_cv_use_choice"
4432 if test "$no_cache" != 1; then
4433 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
4436 if test "$wxUSE_CHOICE" = yes; then
4437 echo "$ac_t""yes" 1>&6
4439 echo "$ac_t""no" 1>&6
4443 echo $ac_n "checking "for --enable-combobox"""... $ac_c" 1>&6
4444 echo "configure:4445: checking "for --enable-combobox"" >&5
4446 # Check whether --enable-combobox or --disable-combobox was given.
4447 if test "${enable_combobox+set}" = set; then
4448 enableval
="$enable_combobox"
4450 if test "$enableval" = yes; then
4451 ac_cv_use_combobox
='wxUSE_COMBOBOX=yes'
4453 ac_cv_use_combobox
='wxUSE_COMBOBOX=no'
4458 LINE
=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
4459 if test "x$LINE" != x
; then
4460 eval "DEFAULT_$LINE"
4465 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
4470 eval "$ac_cv_use_combobox"
4471 if test "$no_cache" != 1; then
4472 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
4475 if test "$wxUSE_COMBOBOX" = yes; then
4476 echo "$ac_t""yes" 1>&6
4478 echo "$ac_t""no" 1>&6
4482 echo $ac_n "checking "for --enable-gauge"""... $ac_c" 1>&6
4483 echo "configure:4484: checking "for --enable-gauge"" >&5
4485 # Check whether --enable-gauge or --disable-gauge was given.
4486 if test "${enable_gauge+set}" = set; then
4487 enableval
="$enable_gauge"
4489 if test "$enableval" = yes; then
4490 ac_cv_use_gauge
='wxUSE_GAUGE=yes'
4492 ac_cv_use_gauge
='wxUSE_GAUGE=no'
4497 LINE
=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
4498 if test "x$LINE" != x
; then
4499 eval "DEFAULT_$LINE"
4504 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
4509 eval "$ac_cv_use_gauge"
4510 if test "$no_cache" != 1; then
4511 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
4514 if test "$wxUSE_GAUGE" = yes; then
4515 echo "$ac_t""yes" 1>&6
4517 echo "$ac_t""no" 1>&6
4521 echo $ac_n "checking "for --enable-grid"""... $ac_c" 1>&6
4522 echo "configure:4523: checking "for --enable-grid"" >&5
4524 # Check whether --enable-grid or --disable-grid was given.
4525 if test "${enable_grid+set}" = set; then
4526 enableval
="$enable_grid"
4528 if test "$enableval" = yes; then
4529 ac_cv_use_grid
='wxUSE_GRID=yes'
4531 ac_cv_use_grid
='wxUSE_GRID=no'
4536 LINE
=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
4537 if test "x$LINE" != x
; then
4538 eval "DEFAULT_$LINE"
4543 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
4548 eval "$ac_cv_use_grid"
4549 if test "$no_cache" != 1; then
4550 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
4553 if test "$wxUSE_GRID" = yes; then
4554 echo "$ac_t""yes" 1>&6
4556 echo "$ac_t""no" 1>&6
4560 echo $ac_n "checking "for --enable-newgrid"""... $ac_c" 1>&6
4561 echo "configure:4562: checking "for --enable-newgrid"" >&5
4563 # Check whether --enable-newgrid or --disable-newgrid was given.
4564 if test "${enable_newgrid+set}" = set; then
4565 enableval
="$enable_newgrid"
4567 if test "$enableval" = yes; then
4568 ac_cv_use_newgrid
='wxUSE_NEW_GRID=yes'
4570 ac_cv_use_newgrid
='wxUSE_NEW_GRID=no'
4575 LINE
=`grep "wxUSE_NEW_GRID" ${wx_arg_cache_file}`
4576 if test "x$LINE" != x
; then
4577 eval "DEFAULT_$LINE"
4582 ac_cv_use_newgrid
='wxUSE_NEW_GRID='$DEFAULT_wxUSE_NEW_GRID
4587 eval "$ac_cv_use_newgrid"
4588 if test "$no_cache" != 1; then
4589 echo $ac_cv_use_newgrid >> ${wx_arg_cache_file}.tmp
4592 if test "$wxUSE_NEW_GRID" = yes; then
4593 echo "$ac_t""yes" 1>&6
4595 echo "$ac_t""no" 1>&6
4599 echo $ac_n "checking "for --enable-imaglist"""... $ac_c" 1>&6
4600 echo "configure:4601: checking "for --enable-imaglist"" >&5
4602 # Check whether --enable-imaglist or --disable-imaglist was given.
4603 if test "${enable_imaglist+set}" = set; then
4604 enableval
="$enable_imaglist"
4606 if test "$enableval" = yes; then
4607 ac_cv_use_imaglist
='wxUSE_IMAGLIST=yes'
4609 ac_cv_use_imaglist
='wxUSE_IMAGLIST=no'
4614 LINE
=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
4615 if test "x$LINE" != x
; then
4616 eval "DEFAULT_$LINE"
4621 ac_cv_use_imaglist
='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
4626 eval "$ac_cv_use_imaglist"
4627 if test "$no_cache" != 1; then
4628 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
4631 if test "$wxUSE_IMAGLIST" = yes; then
4632 echo "$ac_t""yes" 1>&6
4634 echo "$ac_t""no" 1>&6
4638 echo $ac_n "checking "for --enable-listbox"""... $ac_c" 1>&6
4639 echo "configure:4640: checking "for --enable-listbox"" >&5
4641 # Check whether --enable-listbox or --disable-listbox was given.
4642 if test "${enable_listbox+set}" = set; then
4643 enableval
="$enable_listbox"
4645 if test "$enableval" = yes; then
4646 ac_cv_use_listbox
='wxUSE_LISTBOX=yes'
4648 ac_cv_use_listbox
='wxUSE_LISTBOX=no'
4653 LINE
=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x
; then
4655 eval "DEFAULT_$LINE"
4660 ac_cv_use_listbox
='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
4665 eval "$ac_cv_use_listbox"
4666 if test "$no_cache" != 1; then
4667 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
4670 if test "$wxUSE_LISTBOX" = yes; then
4671 echo "$ac_t""yes" 1>&6
4673 echo "$ac_t""no" 1>&6
4677 echo $ac_n "checking "for --enable-listctrl"""... $ac_c" 1>&6
4678 echo "configure:4679: checking "for --enable-listctrl"" >&5
4680 # Check whether --enable-listctrl or --disable-listctrl was given.
4681 if test "${enable_listctrl+set}" = set; then
4682 enableval
="$enable_listctrl"
4684 if test "$enableval" = yes; then
4685 ac_cv_use_listctrl
='wxUSE_LISTCTRL=yes'
4687 ac_cv_use_listctrl
='wxUSE_LISTCTRL=no'
4692 LINE
=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
4693 if test "x$LINE" != x
; then
4694 eval "DEFAULT_$LINE"
4699 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
4704 eval "$ac_cv_use_listctrl"
4705 if test "$no_cache" != 1; then
4706 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
4709 if test "$wxUSE_LISTCTRL" = yes; then
4710 echo "$ac_t""yes" 1>&6
4712 echo "$ac_t""no" 1>&6
4716 echo $ac_n "checking "for --enable-notebook"""... $ac_c" 1>&6
4717 echo "configure:4718: checking "for --enable-notebook"" >&5
4719 # Check whether --enable-notebook or --disable-notebook was given.
4720 if test "${enable_notebook+set}" = set; then
4721 enableval
="$enable_notebook"
4723 if test "$enableval" = yes; then
4724 ac_cv_use_notebook
='wxUSE_NOTEBOOK=yes'
4726 ac_cv_use_notebook
='wxUSE_NOTEBOOK=no'
4731 LINE
=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
4732 if test "x$LINE" != x
; then
4733 eval "DEFAULT_$LINE"
4738 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
4743 eval "$ac_cv_use_notebook"
4744 if test "$no_cache" != 1; then
4745 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
4748 if test "$wxUSE_NOTEBOOK" = yes; then
4749 echo "$ac_t""yes" 1>&6
4751 echo "$ac_t""no" 1>&6
4755 echo $ac_n "checking "for --enable-radiobox"""... $ac_c" 1>&6
4756 echo "configure:4757: checking "for --enable-radiobox"" >&5
4758 # Check whether --enable-radiobox or --disable-radiobox was given.
4759 if test "${enable_radiobox+set}" = set; then
4760 enableval
="$enable_radiobox"
4762 if test "$enableval" = yes; then
4763 ac_cv_use_radiobox
='wxUSE_RADIOBOX=yes'
4765 ac_cv_use_radiobox
='wxUSE_RADIOBOX=no'
4770 LINE
=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
4771 if test "x$LINE" != x
; then
4772 eval "DEFAULT_$LINE"
4777 ac_cv_use_radiobox
='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
4782 eval "$ac_cv_use_radiobox"
4783 if test "$no_cache" != 1; then
4784 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
4787 if test "$wxUSE_RADIOBOX" = yes; then
4788 echo "$ac_t""yes" 1>&6
4790 echo "$ac_t""no" 1>&6
4794 echo $ac_n "checking "for --enable-radiobtn"""... $ac_c" 1>&6
4795 echo "configure:4796: checking "for --enable-radiobtn"" >&5
4797 # Check whether --enable-radiobtn or --disable-radiobtn was given.
4798 if test "${enable_radiobtn+set}" = set; then
4799 enableval
="$enable_radiobtn"
4801 if test "$enableval" = yes; then
4802 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=yes'
4804 ac_cv_use_radiobtn
='wxUSE_RADIOBTN=no'
4809 LINE
=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
4810 if test "x$LINE" != x
; then
4811 eval "DEFAULT_$LINE"
4816 ac_cv_use_radiobtn
='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
4821 eval "$ac_cv_use_radiobtn"
4822 if test "$no_cache" != 1; then
4823 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
4826 if test "$wxUSE_RADIOBTN" = yes; then
4827 echo "$ac_t""yes" 1>&6
4829 echo "$ac_t""no" 1>&6
4833 echo $ac_n "checking "for --enable-sash"""... $ac_c" 1>&6
4834 echo "configure:4835: checking "for --enable-sash"" >&5
4836 # Check whether --enable-sash or --disable-sash was given.
4837 if test "${enable_sash+set}" = set; then
4838 enableval
="$enable_sash"
4840 if test "$enableval" = yes; then
4841 ac_cv_use_sash
='wxUSE_SASH=yes'
4843 ac_cv_use_sash
='wxUSE_SASH=no'
4848 LINE
=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
4849 if test "x$LINE" != x
; then
4850 eval "DEFAULT_$LINE"
4855 ac_cv_use_sash
='wxUSE_SASH='$DEFAULT_wxUSE_SASH
4860 eval "$ac_cv_use_sash"
4861 if test "$no_cache" != 1; then
4862 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
4865 if test "$wxUSE_SASH" = yes; then
4866 echo "$ac_t""yes" 1>&6
4868 echo "$ac_t""no" 1>&6
4872 echo $ac_n "checking "for --enable-scrollbar"""... $ac_c" 1>&6
4873 echo "configure:4874: checking "for --enable-scrollbar"" >&5
4875 # Check whether --enable-scrollbar or --disable-scrollbar was given.
4876 if test "${enable_scrollbar+set}" = set; then
4877 enableval
="$enable_scrollbar"
4879 if test "$enableval" = yes; then
4880 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=yes'
4882 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR=no'
4887 LINE
=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
4888 if test "x$LINE" != x
; then
4889 eval "DEFAULT_$LINE"
4894 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
4899 eval "$ac_cv_use_scrollbar"
4900 if test "$no_cache" != 1; then
4901 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
4904 if test "$wxUSE_SCROLLBAR" = yes; then
4905 echo "$ac_t""yes" 1>&6
4907 echo "$ac_t""no" 1>&6
4911 echo $ac_n "checking "for --enable-slider"""... $ac_c" 1>&6
4912 echo "configure:4913: checking "for --enable-slider"" >&5
4914 # Check whether --enable-slider or --disable-slider was given.
4915 if test "${enable_slider+set}" = set; then
4916 enableval
="$enable_slider"
4918 if test "$enableval" = yes; then
4919 ac_cv_use_slider
='wxUSE_SLIDER=yes'
4921 ac_cv_use_slider
='wxUSE_SLIDER=no'
4926 LINE
=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x
; then
4928 eval "DEFAULT_$LINE"
4933 ac_cv_use_slider
='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
4938 eval "$ac_cv_use_slider"
4939 if test "$no_cache" != 1; then
4940 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
4943 if test "$wxUSE_SLIDER" = yes; then
4944 echo "$ac_t""yes" 1>&6
4946 echo "$ac_t""no" 1>&6
4950 echo $ac_n "checking "for --enable-spinbtn"""... $ac_c" 1>&6
4951 echo "configure:4952: checking "for --enable-spinbtn"" >&5
4953 # Check whether --enable-spinbtn or --disable-spinbtn was given.
4954 if test "${enable_spinbtn+set}" = set; then
4955 enableval
="$enable_spinbtn"
4957 if test "$enableval" = yes; then
4958 ac_cv_use_spinbtn
='wxUSE_SPINBTN=yes'
4960 ac_cv_use_spinbtn
='wxUSE_SPINBTN=no'
4965 LINE
=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
4966 if test "x$LINE" != x
; then
4967 eval "DEFAULT_$LINE"
4972 ac_cv_use_spinbtn
='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
4977 eval "$ac_cv_use_spinbtn"
4978 if test "$no_cache" != 1; then
4979 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
4982 if test "$wxUSE_SPINBTN" = yes; then
4983 echo "$ac_t""yes" 1>&6
4985 echo "$ac_t""no" 1>&6
4989 echo $ac_n "checking "for --enable-spinctrl"""... $ac_c" 1>&6
4990 echo "configure:4991: checking "for --enable-spinctrl"" >&5
4992 # Check whether --enable-spinctrl or --disable-spinctrl was given.
4993 if test "${enable_spinctrl+set}" = set; then
4994 enableval
="$enable_spinctrl"
4996 if test "$enableval" = yes; then
4997 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=yes'
4999 ac_cv_use_spinctrl
='wxUSE_SPINCTRL=no'
5004 LINE
=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
5005 if test "x$LINE" != x
; then
5006 eval "DEFAULT_$LINE"
5011 ac_cv_use_spinctrl
='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
5016 eval "$ac_cv_use_spinctrl"
5017 if test "$no_cache" != 1; then
5018 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
5021 if test "$wxUSE_SPINCTRL" = yes; then
5022 echo "$ac_t""yes" 1>&6
5024 echo "$ac_t""no" 1>&6
5028 echo $ac_n "checking "for --enable-splitter"""... $ac_c" 1>&6
5029 echo "configure:5030: checking "for --enable-splitter"" >&5
5031 # Check whether --enable-splitter or --disable-splitter was given.
5032 if test "${enable_splitter+set}" = set; then
5033 enableval
="$enable_splitter"
5035 if test "$enableval" = yes; then
5036 ac_cv_use_splitter
='wxUSE_SPLITTER=yes'
5038 ac_cv_use_splitter
='wxUSE_SPLITTER=no'
5043 LINE
=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
5044 if test "x$LINE" != x
; then
5045 eval "DEFAULT_$LINE"
5050 ac_cv_use_splitter
='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
5055 eval "$ac_cv_use_splitter"
5056 if test "$no_cache" != 1; then
5057 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
5060 if test "$wxUSE_SPLITTER" = yes; then
5061 echo "$ac_t""yes" 1>&6
5063 echo "$ac_t""no" 1>&6
5067 echo $ac_n "checking "for --enable-statbmp"""... $ac_c" 1>&6
5068 echo "configure:5069: checking "for --enable-statbmp"" >&5
5070 # Check whether --enable-statbmp or --disable-statbmp was given.
5071 if test "${enable_statbmp+set}" = set; then
5072 enableval
="$enable_statbmp"
5074 if test "$enableval" = yes; then
5075 ac_cv_use_statbmp
='wxUSE_STATBMP=yes'
5077 ac_cv_use_statbmp
='wxUSE_STATBMP=no'
5082 LINE
=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
5083 if test "x$LINE" != x
; then
5084 eval "DEFAULT_$LINE"
5089 ac_cv_use_statbmp
='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
5094 eval "$ac_cv_use_statbmp"
5095 if test "$no_cache" != 1; then
5096 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
5099 if test "$wxUSE_STATBMP" = yes; then
5100 echo "$ac_t""yes" 1>&6
5102 echo "$ac_t""no" 1>&6
5106 echo $ac_n "checking "for --enable-statbox"""... $ac_c" 1>&6
5107 echo "configure:5108: checking "for --enable-statbox"" >&5
5109 # Check whether --enable-statbox or --disable-statbox was given.
5110 if test "${enable_statbox+set}" = set; then
5111 enableval
="$enable_statbox"
5113 if test "$enableval" = yes; then
5114 ac_cv_use_statbox
='wxUSE_STATBOX=yes'
5116 ac_cv_use_statbox
='wxUSE_STATBOX=no'
5121 LINE
=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
5122 if test "x$LINE" != x
; then
5123 eval "DEFAULT_$LINE"
5128 ac_cv_use_statbox
='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
5133 eval "$ac_cv_use_statbox"
5134 if test "$no_cache" != 1; then
5135 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
5138 if test "$wxUSE_STATBOX" = yes; then
5139 echo "$ac_t""yes" 1>&6
5141 echo "$ac_t""no" 1>&6
5145 echo $ac_n "checking "for --enable-statline"""... $ac_c" 1>&6
5146 echo "configure:5147: checking "for --enable-statline"" >&5
5148 # Check whether --enable-statline or --disable-statline was given.
5149 if test "${enable_statline+set}" = set; then
5150 enableval
="$enable_statline"
5152 if test "$enableval" = yes; then
5153 ac_cv_use_statline
='wxUSE_STATLINE=yes'
5155 ac_cv_use_statline
='wxUSE_STATLINE=no'
5160 LINE
=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
5161 if test "x$LINE" != x
; then
5162 eval "DEFAULT_$LINE"
5167 ac_cv_use_statline
='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
5172 eval "$ac_cv_use_statline"
5173 if test "$no_cache" != 1; then
5174 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
5177 if test "$wxUSE_STATLINE" = yes; then
5178 echo "$ac_t""yes" 1>&6
5180 echo "$ac_t""no" 1>&6
5184 echo $ac_n "checking "for --enable-statusbar"""... $ac_c" 1>&6
5185 echo "configure:5186: checking "for --enable-statusbar"" >&5
5187 # Check whether --enable-statusbar or --disable-statusbar was given.
5188 if test "${enable_statusbar+set}" = set; then
5189 enableval
="$enable_statusbar"
5191 if test "$enableval" = yes; then
5192 ac_cv_use_statusbar
='wxUSE_STATUSBAR=yes'
5194 ac_cv_use_statusbar
='wxUSE_STATUSBAR=no'
5199 LINE
=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
5200 if test "x$LINE" != x
; then
5201 eval "DEFAULT_$LINE"
5206 ac_cv_use_statusbar
='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
5211 eval "$ac_cv_use_statusbar"
5212 if test "$no_cache" != 1; then
5213 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
5216 if test "$wxUSE_STATUSBAR" = yes; then
5217 echo "$ac_t""yes" 1>&6
5219 echo "$ac_t""no" 1>&6
5223 echo $ac_n "checking "for --enable-tabdialog"""... $ac_c" 1>&6
5224 echo "configure:5225: checking "for --enable-tabdialog"" >&5
5226 # Check whether --enable-tabdialog or --disable-tabdialog was given.
5227 if test "${enable_tabdialog+set}" = set; then
5228 enableval
="$enable_tabdialog"
5230 if test "$enableval" = yes; then
5231 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=yes'
5233 ac_cv_use_tabdialog
='wxUSE_TABDIALOG=no'
5238 LINE
=`grep "wxUSE_TABDIALOG" ${wx_arg_cache_file}`
5239 if test "x$LINE" != x
; then
5240 eval "DEFAULT_$LINE"
5245 ac_cv_use_tabdialog
='wxUSE_TABDIALOG='$DEFAULT_wxUSE_TABDIALOG
5250 eval "$ac_cv_use_tabdialog"
5251 if test "$no_cache" != 1; then
5252 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
5255 if test "$wxUSE_TABDIALOG" = yes; then
5256 echo "$ac_t""yes" 1>&6
5258 echo "$ac_t""no" 1>&6
5262 echo $ac_n "checking "for --enable-toolbar"""... $ac_c" 1>&6
5263 echo "configure:5264: checking "for --enable-toolbar"" >&5
5265 # Check whether --enable-toolbar or --disable-toolbar was given.
5266 if test "${enable_toolbar+set}" = set; then
5267 enableval
="$enable_toolbar"
5269 if test "$enableval" = yes; then
5270 ac_cv_use_toolbar
='wxUSE_TOOLBAR=yes'
5272 ac_cv_use_toolbar
='wxUSE_TOOLBAR=no'
5277 LINE
=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
5278 if test "x$LINE" != x
; then
5279 eval "DEFAULT_$LINE"
5284 ac_cv_use_toolbar
='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
5289 eval "$ac_cv_use_toolbar"
5290 if test "$no_cache" != 1; then
5291 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
5294 if test "$wxUSE_TOOLBAR" = yes; then
5295 echo "$ac_t""yes" 1>&6
5297 echo "$ac_t""no" 1>&6
5301 echo $ac_n "checking "for --enable-tbarnative"""... $ac_c" 1>&6
5302 echo "configure:5303: checking "for --enable-tbarnative"" >&5
5304 # Check whether --enable-tbarnative or --disable-tbarnative was given.
5305 if test "${enable_tbarnative+set}" = set; then
5306 enableval
="$enable_tbarnative"
5308 if test "$enableval" = yes; then
5309 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=yes'
5311 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE=no'
5316 LINE
=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x
; then
5318 eval "DEFAULT_$LINE"
5323 ac_cv_use_tbarnative
='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
5328 eval "$ac_cv_use_tbarnative"
5329 if test "$no_cache" != 1; then
5330 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
5333 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
5334 echo "$ac_t""yes" 1>&6
5336 echo "$ac_t""no" 1>&6
5340 echo $ac_n "checking "for --enable-tbarsmpl"""... $ac_c" 1>&6
5341 echo "configure:5342: checking "for --enable-tbarsmpl"" >&5
5343 # Check whether --enable-tbarsmpl or --disable-tbarsmpl was given.
5344 if test "${enable_tbarsmpl+set}" = set; then
5345 enableval
="$enable_tbarsmpl"
5347 if test "$enableval" = yes; then
5348 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=yes'
5350 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE=no'
5355 LINE
=`grep "wxUSE_TOOLBAR_SIMPLE" ${wx_arg_cache_file}`
5356 if test "x$LINE" != x
; then
5357 eval "DEFAULT_$LINE"
5362 ac_cv_use_tbarsmpl
='wxUSE_TOOLBAR_SIMPLE='$DEFAULT_wxUSE_TOOLBAR_SIMPLE
5367 eval "$ac_cv_use_tbarsmpl"
5368 if test "$no_cache" != 1; then
5369 echo $ac_cv_use_tbarsmpl >> ${wx_arg_cache_file}.tmp
5372 if test "$wxUSE_TOOLBAR_SIMPLE" = yes; then
5373 echo "$ac_t""yes" 1>&6
5375 echo "$ac_t""no" 1>&6
5379 echo $ac_n "checking "for --enable-treectrl"""... $ac_c" 1>&6
5380 echo "configure:5381: checking "for --enable-treectrl"" >&5
5382 # Check whether --enable-treectrl or --disable-treectrl was given.
5383 if test "${enable_treectrl+set}" = set; then
5384 enableval
="$enable_treectrl"
5386 if test "$enableval" = yes; then
5387 ac_cv_use_treectrl
='wxUSE_TREECTRL=yes'
5389 ac_cv_use_treectrl
='wxUSE_TREECTRL=no'
5394 LINE
=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
5395 if test "x$LINE" != x
; then
5396 eval "DEFAULT_$LINE"
5401 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5406 eval "$ac_cv_use_treectrl"
5407 if test "$no_cache" != 1; then
5408 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
5411 if test "$wxUSE_TREECTRL" = yes; then
5412 echo "$ac_t""yes" 1>&6
5414 echo "$ac_t""no" 1>&6
5420 echo $ac_n "checking "for --enable-commondlg"""... $ac_c" 1>&6
5421 echo "configure:5422: checking "for --enable-commondlg"" >&5
5423 # Check whether --enable-commondlg or --disable-commondlg was given.
5424 if test "${enable_commondlg+set}" = set; then
5425 enableval
="$enable_commondlg"
5427 if test "$enableval" = yes; then
5428 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=yes'
5430 ac_cv_use_commondlg
='wxUSE_COMMONDLGS=no'
5435 LINE
=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
5436 if test "x$LINE" != x
; then
5437 eval "DEFAULT_$LINE"
5442 ac_cv_use_commondlg
='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
5447 eval "$ac_cv_use_commondlg"
5448 if test "$no_cache" != 1; then
5449 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
5452 if test "$wxUSE_COMMONDLGS" = yes; then
5453 echo "$ac_t""yes" 1>&6
5455 echo "$ac_t""no" 1>&6
5459 echo $ac_n "checking "for --enable-dirdlg"""... $ac_c" 1>&6
5460 echo "configure:5461: checking "for --enable-dirdlg"" >&5
5462 # Check whether --enable-dirdlg or --disable-dirdlg was given.
5463 if test "${enable_dirdlg+set}" = set; then
5464 enableval
="$enable_dirdlg"
5466 if test "$enableval" = yes; then
5467 ac_cv_use_dirdlg
='wxUSE_DIRDLG=yes'
5469 ac_cv_use_dirdlg
='wxUSE_DIRDLG=no'
5474 LINE
=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
5475 if test "x$LINE" != x
; then
5476 eval "DEFAULT_$LINE"
5481 ac_cv_use_dirdlg
='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
5486 eval "$ac_cv_use_dirdlg"
5487 if test "$no_cache" != 1; then
5488 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
5491 if test "$wxUSE_DIRDLG" = yes; then
5492 echo "$ac_t""yes" 1>&6
5494 echo "$ac_t""no" 1>&6
5498 echo $ac_n "checking "for --enable-textdlg"""... $ac_c" 1>&6
5499 echo "configure:5500: checking "for --enable-textdlg"" >&5
5501 # Check whether --enable-textdlg or --disable-textdlg was given.
5502 if test "${enable_textdlg+set}" = set; then
5503 enableval
="$enable_textdlg"
5505 if test "$enableval" = yes; then
5506 ac_cv_use_textdlg
='wxUSE_TEXTDLG=yes'
5508 ac_cv_use_textdlg
='wxUSE_TEXTDLG=no'
5513 LINE
=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
5514 if test "x$LINE" != x
; then
5515 eval "DEFAULT_$LINE"
5520 ac_cv_use_textdlg
='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
5525 eval "$ac_cv_use_textdlg"
5526 if test "$no_cache" != 1; then
5527 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
5530 if test "$wxUSE_TEXTDLG" = yes; then
5531 echo "$ac_t""yes" 1>&6
5533 echo "$ac_t""no" 1>&6
5537 echo $ac_n "checking "for --enable-tipdlg"""... $ac_c" 1>&6
5538 echo "configure:5539: checking "for --enable-tipdlg"" >&5
5540 # Check whether --enable-tipdlg or --disable-tipdlg was given.
5541 if test "${enable_tipdlg+set}" = set; then
5542 enableval
="$enable_tipdlg"
5544 if test "$enableval" = yes; then
5545 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=yes'
5547 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS=no'
5552 LINE
=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
5553 if test "x$LINE" != x
; then
5554 eval "DEFAULT_$LINE"
5559 ac_cv_use_tipdlg
='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
5564 eval "$ac_cv_use_tipdlg"
5565 if test "$no_cache" != 1; then
5566 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
5569 if test "$wxUSE_STARTUP_TIPS" = yes; then
5570 echo "$ac_t""yes" 1>&6
5572 echo "$ac_t""no" 1>&6
5576 echo $ac_n "checking "for --enable-progressdlg"""... $ac_c" 1>&6
5577 echo "configure:5578: checking "for --enable-progressdlg"" >&5
5579 # Check whether --enable-progressdlg or --disable-progressdlg was given.
5580 if test "${enable_progressdlg+set}" = set; then
5581 enableval
="$enable_progressdlg"
5583 if test "$enableval" = yes; then
5584 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=yes'
5586 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG=no'
5591 LINE
=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
5592 if test "x$LINE" != x
; then
5593 eval "DEFAULT_$LINE"
5598 ac_cv_use_progressdlg
='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
5603 eval "$ac_cv_use_progressdlg"
5604 if test "$no_cache" != 1; then
5605 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
5608 if test "$wxUSE_PROGRESSDLG" = yes; then
5609 echo "$ac_t""yes" 1>&6
5611 echo "$ac_t""no" 1>&6
5615 echo $ac_n "checking "for --enable-miniframe"""... $ac_c" 1>&6
5616 echo "configure:5617: checking "for --enable-miniframe"" >&5
5618 # Check whether --enable-miniframe or --disable-miniframe was given.
5619 if test "${enable_miniframe+set}" = set; then
5620 enableval
="$enable_miniframe"
5622 if test "$enableval" = yes; then
5623 ac_cv_use_miniframe
='wxUSE_MINIFRAME=yes'
5625 ac_cv_use_miniframe
='wxUSE_MINIFRAME=no'
5630 LINE
=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
5631 if test "x$LINE" != x
; then
5632 eval "DEFAULT_$LINE"
5637 ac_cv_use_miniframe
='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
5642 eval "$ac_cv_use_miniframe"
5643 if test "$no_cache" != 1; then
5644 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
5647 if test "$wxUSE_MINIFRAME" = yes; then
5648 echo "$ac_t""yes" 1>&6
5650 echo "$ac_t""no" 1>&6
5654 echo $ac_n "checking "for --enable-html"""... $ac_c" 1>&6
5655 echo "configure:5656: checking "for --enable-html"" >&5
5657 # Check whether --enable-html or --disable-html was given.
5658 if test "${enable_html+set}" = set; then
5659 enableval
="$enable_html"
5661 if test "$enableval" = yes; then
5662 ac_cv_use_html
='wxUSE_HTML=yes'
5664 ac_cv_use_html
='wxUSE_HTML=no'
5669 LINE
=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
5670 if test "x$LINE" != x
; then
5671 eval "DEFAULT_$LINE"
5676 ac_cv_use_html
='wxUSE_HTML='$DEFAULT_wxUSE_HTML
5681 eval "$ac_cv_use_html"
5682 if test "$no_cache" != 1; then
5683 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
5686 if test "$wxUSE_HTML" = yes; then
5687 echo "$ac_t""yes" 1>&6
5689 echo "$ac_t""no" 1>&6
5693 echo $ac_n "checking "for --enable-tooltips"""... $ac_c" 1>&6
5694 echo "configure:5695: checking "for --enable-tooltips"" >&5
5696 # Check whether --enable-tooltips or --disable-tooltips was given.
5697 if test "${enable_tooltips+set}" = set; then
5698 enableval
="$enable_tooltips"
5700 if test "$enableval" = yes; then
5701 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=yes'
5703 ac_cv_use_tooltips
='wxUSE_TOOLTIPS=no'
5708 LINE
=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
5709 if test "x$LINE" != x
; then
5710 eval "DEFAULT_$LINE"
5715 ac_cv_use_tooltips
='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
5720 eval "$ac_cv_use_tooltips"
5721 if test "$no_cache" != 1; then
5722 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
5725 if test "$wxUSE_TOOLTIPS" = yes; then
5726 echo "$ac_t""yes" 1>&6
5728 echo "$ac_t""no" 1>&6
5732 echo $ac_n "checking "for --enable-splines"""... $ac_c" 1>&6
5733 echo "configure:5734: checking "for --enable-splines"" >&5
5735 # Check whether --enable-splines or --disable-splines was given.
5736 if test "${enable_splines+set}" = set; then
5737 enableval
="$enable_splines"
5739 if test "$enableval" = yes; then
5740 ac_cv_use_splines
='wxUSE_SPLINES=yes'
5742 ac_cv_use_splines
='wxUSE_SPLINES=no'
5747 LINE
=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
5748 if test "x$LINE" != x
; then
5749 eval "DEFAULT_$LINE"
5754 ac_cv_use_splines
='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
5759 eval "$ac_cv_use_splines"
5760 if test "$no_cache" != 1; then
5761 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
5764 if test "$wxUSE_SPLINES" = yes; then
5765 echo "$ac_t""yes" 1>&6
5767 echo "$ac_t""no" 1>&6
5771 echo $ac_n "checking "for --enable-validators"""... $ac_c" 1>&6
5772 echo "configure:5773: checking "for --enable-validators"" >&5
5774 # Check whether --enable-validators or --disable-validators was given.
5775 if test "${enable_validators+set}" = set; then
5776 enableval
="$enable_validators"
5778 if test "$enableval" = yes; then
5779 ac_cv_use_validators
='wxUSE_VALIDATORS=yes'
5781 ac_cv_use_validators
='wxUSE_VALIDATORS=no'
5786 LINE
=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
5787 if test "x$LINE" != x
; then
5788 eval "DEFAULT_$LINE"
5793 ac_cv_use_validators
='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
5798 eval "$ac_cv_use_validators"
5799 if test "$no_cache" != 1; then
5800 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
5803 if test "$wxUSE_VALIDATORS" = yes; then
5804 echo "$ac_t""yes" 1>&6
5806 echo "$ac_t""no" 1>&6
5810 echo $ac_n "checking "for --enable-busyinfo"""... $ac_c" 1>&6
5811 echo "configure:5812: checking "for --enable-busyinfo"" >&5
5813 # Check whether --enable-busyinfo or --disable-busyinfo was given.
5814 if test "${enable_busyinfo+set}" = set; then
5815 enableval
="$enable_busyinfo"
5817 if test "$enableval" = yes; then
5818 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=yes'
5820 ac_cv_use_busyinfo
='wxUSE_BUSYINFO=no'
5825 LINE
=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
5826 if test "x$LINE" != x
; then
5827 eval "DEFAULT_$LINE"
5832 ac_cv_use_busyinfo
='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
5837 eval "$ac_cv_use_busyinfo"
5838 if test "$no_cache" != 1; then
5839 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
5842 if test "$wxUSE_BUSYINFO" = yes; then
5843 echo "$ac_t""yes" 1>&6
5845 echo "$ac_t""no" 1>&6
5849 echo $ac_n "checking "for --enable-joystick"""... $ac_c" 1>&6
5850 echo "configure:5851: checking "for --enable-joystick"" >&5
5852 # Check whether --enable-joystick or --disable-joystick was given.
5853 if test "${enable_joystick+set}" = set; then
5854 enableval
="$enable_joystick"
5856 if test "$enableval" = yes; then
5857 ac_cv_use_joystick
='wxUSE_JOYSTICK=yes'
5859 ac_cv_use_joystick
='wxUSE_JOYSTICK=no'
5864 LINE
=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
5865 if test "x$LINE" != x
; then
5866 eval "DEFAULT_$LINE"
5871 ac_cv_use_joystick
='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
5876 eval "$ac_cv_use_joystick"
5877 if test "$no_cache" != 1; then
5878 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
5881 if test "$wxUSE_JOYSTICK" = yes; then
5882 echo "$ac_t""yes" 1>&6
5884 echo "$ac_t""no" 1>&6
5890 echo $ac_n "checking "for --enable-gif"""... $ac_c" 1>&6
5891 echo "configure:5892: checking "for --enable-gif"" >&5
5893 # Check whether --enable-gif or --disable-gif was given.
5894 if test "${enable_gif+set}" = set; then
5895 enableval
="$enable_gif"
5897 if test "$enableval" = yes; then
5898 ac_cv_use_gif
='wxUSE_GIF=yes'
5900 ac_cv_use_gif
='wxUSE_GIF=no'
5905 LINE
=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
5906 if test "x$LINE" != x
; then
5907 eval "DEFAULT_$LINE"
5912 ac_cv_use_gif
='wxUSE_GIF='$DEFAULT_wxUSE_GIF
5917 eval "$ac_cv_use_gif"
5918 if test "$no_cache" != 1; then
5919 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
5922 if test "$wxUSE_GIF" = yes; then
5923 echo "$ac_t""yes" 1>&6
5925 echo "$ac_t""no" 1>&6
5929 echo $ac_n "checking "for --enable-pcx"""... $ac_c" 1>&6
5930 echo "configure:5931: checking "for --enable-pcx"" >&5
5932 # Check whether --enable-pcx or --disable-pcx was given.
5933 if test "${enable_pcx+set}" = set; then
5934 enableval
="$enable_pcx"
5936 if test "$enableval" = yes; then
5937 ac_cv_use_pcx
='wxUSE_PCX=yes'
5939 ac_cv_use_pcx
='wxUSE_PCX=no'
5944 LINE
=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
5945 if test "x$LINE" != x
; then
5946 eval "DEFAULT_$LINE"
5951 ac_cv_use_pcx
='wxUSE_PCX='$DEFAULT_wxUSE_PCX
5956 eval "$ac_cv_use_pcx"
5957 if test "$no_cache" != 1; then
5958 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
5961 if test "$wxUSE_PCX" = yes; then
5962 echo "$ac_t""yes" 1>&6
5964 echo "$ac_t""no" 1>&6
5968 echo $ac_n "checking "for --enable-pnm"""... $ac_c" 1>&6
5969 echo "configure:5970: checking "for --enable-pnm"" >&5
5971 # Check whether --enable-pnm or --disable-pnm was given.
5972 if test "${enable_pnm+set}" = set; then
5973 enableval
="$enable_pnm"
5975 if test "$enableval" = yes; then
5976 ac_cv_use_pnm
='wxUSE_PNM=yes'
5978 ac_cv_use_pnm
='wxUSE_PNM=no'
5983 LINE
=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
5984 if test "x$LINE" != x
; then
5985 eval "DEFAULT_$LINE"
5990 ac_cv_use_pnm
='wxUSE_PNM='$DEFAULT_wxUSE_PNM
5995 eval "$ac_cv_use_pnm"
5996 if test "$no_cache" != 1; then
5997 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
6000 if test "$wxUSE_PNM" = yes; then
6001 echo "$ac_t""yes" 1>&6
6003 echo "$ac_t""no" 1>&6
6010 echo "saving argument cache $wx_arg_cache_file"
6011 mv ${wx_arg_cache_file}.tmp
${wx_arg_cache_file}
6015 echo $ac_n "checking for toolkit""... $ac_c" 1>&6
6016 echo "configure:6017: checking for toolkit" >&5
6018 if test "$wxUSE_GUI" = "yes"; then
6020 if test "$USE_BEOS" = 1; then
6021 { echo "configure: error: BeOS GUI is not supported yet, use --disable-gui" 1>&2; exit 1; }
6024 if test "$TOOLKIT_GIVEN" = 1; then
6025 for toolkit
in `echo $ALL_TOOLKITS`; do
6027 eval "value=\$${var}"
6028 eval "$var=`echo \$value | sed -e "s
/yes
/1/" -e "s
/no
/0/"`"
6031 for toolkit
in `echo $ALL_TOOLKITS`; do
6032 if test "$has_toolkit_in_cache" != 1; then
6033 var
=DEFAULT_DEFAULT_wxUSE_
$toolkit
6035 var
=DEFAULT_wxUSE_
$toolkit
6037 eval "wxUSE_$toolkit=\$${var}"
6041 NUM_TOOLKITS
=`expr ${wxUSE_GTK:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MAC:-0} + ${wxUSE_WINE:-0} + ${wxUSE_MINGW:-0} + ${wxUSE_CYGWIN:-0}`
6045 NUM_TOOLKITS
=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
6046 # PATH_IFS is autodetected by OS/2's configure (usually ';')
6055 case "$NUM_TOOLKITS" in
6059 { echo "configure: error: Please specify a toolkit - cannot determine the default for ${host}" 1>&2; exit 1; }
6062 { echo "configure: error: Please specify at most one toolkit (may be some are cached?)" 1>&2; exit 1; }
6065 for toolkit
in `echo $ALL_TOOLKITS`; do
6067 eval "value=\$${var}"
6068 if test "x$value" != x
; then
6069 cache_var
=CACHE_
$toolkit
6070 eval "cache=\$${cache_var}"
6071 if test "$cache" = 1; then
6072 echo "$var=$value" >> ${wx_arg_cache_file}
6074 if test "$value" = 1; then
6075 echo "$ac_t""`echo $toolkit | tr A-Z a-z`" 1>&6
6082 echo "$ac_t""base only" 1>&6
6086 cat > confcache
<<\EOF
6087 # This file is a shell script that caches the results of configure
6088 # tests run on this system so they can be shared between configure
6089 # scripts and configure runs. It is not useful on other systems.
6090 # If it contains results you don't want to keep, you may remove or edit it.
6092 # By default, configure uses ./config.cache as the cache file,
6093 # creating it if it does not exist already. You can give configure
6094 # the --cache-file=FILE option to use a different cache file; that is
6095 # what configure does when it calls configure scripts in
6096 # subdirectories, so they share the cache.
6097 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6098 # config.status only pays attention to the cache file if you give it the
6099 # --recheck option to rerun configure.
6102 # The following way of writing the cache mishandles newlines in values,
6103 # but we know of no workaround that is simple, portable, and efficient.
6104 # So, don't put newlines in cache variables' values.
6105 # Ultrix sh set writes to stderr and can't be redirected directly,
6106 # and sets the high bit in the cache file unless we assign to the vars.
6108 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6110 # `set' does not quote correctly, so add quotes (double-quote substitution
6111 # turns \\\\ into \\, and sed turns \\ into \).
6113 -e "s/'/'\\\\''/g" \
6114 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6117 # `set' quotes correctly as required by POSIX, so do not add quotes.
6118 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6121 if cmp -s $cache_file confcache
; then
6124 if test -w $cache_file; then
6125 echo "updating cache $cache_file"
6126 cat confcache
> $cache_file
6128 echo "not updating unwritable cache $cache_file"
6134 if test "$build" != "$host" ; then
6138 RANLIB
=$host_alias-ranlib
6139 DLLTOOL
=$host_alias-dlltool
6140 RESCOMP
=$host_alias-windres
6143 STRIP
=$host_alias-strip
6146 # Extract the first word of "gcc", so it can be a program name with args.
6147 set dummy gcc
; ac_word
=$2
6148 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6149 echo "configure:6150: checking for $ac_word" >&5
6150 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6151 echo $ac_n "(cached) $ac_c" 1>&6
6153 if test -n "$CC"; then
6154 ac_cv_prog_CC
="$CC" # Let the user override the test.
6156 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6158 for ac_dir
in $ac_dummy; do
6159 test -z "$ac_dir" && ac_dir
=.
6160 if test -f $ac_dir/$ac_word; then
6169 if test -n "$CC"; then
6170 echo "$ac_t""$CC" 1>&6
6172 echo "$ac_t""no" 1>&6
6175 if test -z "$CC"; then
6176 # Extract the first word of "cc", so it can be a program name with args.
6177 set dummy cc
; ac_word
=$2
6178 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6179 echo "configure:6180: checking for $ac_word" >&5
6180 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6181 echo $ac_n "(cached) $ac_c" 1>&6
6183 if test -n "$CC"; then
6184 ac_cv_prog_CC
="$CC" # Let the user override the test.
6186 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6189 for ac_dir
in $ac_dummy; do
6190 test -z "$ac_dir" && ac_dir
=.
6191 if test -f $ac_dir/$ac_word; then
6192 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
6193 ac_prog_rejected
=yes
6201 if test $ac_prog_rejected = yes; then
6202 # We found a bogon in the path, so make sure we never use it.
6203 set dummy
$ac_cv_prog_CC
6205 if test $# -gt 0; then
6206 # We chose a different compiler from the bogus one.
6207 # However, it has the same basename, so the bogon will be chosen
6208 # first if we set CC to just the basename; use the full file name.
6210 set dummy
"$ac_dir/$ac_word" "$@"
6218 if test -n "$CC"; then
6219 echo "$ac_t""$CC" 1>&6
6221 echo "$ac_t""no" 1>&6
6224 if test -z "$CC"; then
6225 case "`uname -s`" in
6227 # Extract the first word of "cl", so it can be a program name with args.
6228 set dummy cl
; ac_word
=$2
6229 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6230 echo "configure:6231: checking for $ac_word" >&5
6231 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
6232 echo $ac_n "(cached) $ac_c" 1>&6
6234 if test -n "$CC"; then
6235 ac_cv_prog_CC
="$CC" # Let the user override the test.
6237 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6239 for ac_dir
in $ac_dummy; do
6240 test -z "$ac_dir" && ac_dir
=.
6241 if test -f $ac_dir/$ac_word; then
6250 if test -n "$CC"; then
6251 echo "$ac_t""$CC" 1>&6
6253 echo "$ac_t""no" 1>&6
6258 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
6261 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6262 echo "configure:6263: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
6265 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6266 ac_cpp
='$CPP $CPPFLAGS'
6267 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6268 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6269 cross_compiling
=$ac_cv_prog_cc_cross
6271 cat > conftest.
$ac_ext << EOF
6273 #line 6274 "configure"
6274 #include "confdefs.h"
6278 if { (eval echo configure
:6279: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6279 ac_cv_prog_cc_works
=yes
6280 # If we can't run a trivial program, we are probably using a cross compiler.
6281 if (.
/conftest
; exit) 2>/dev
/null
; then
6282 ac_cv_prog_cc_cross
=no
6284 ac_cv_prog_cc_cross
=yes
6287 echo "configure: failed program was:" >&5
6288 cat conftest.
$ac_ext >&5
6289 ac_cv_prog_cc_works
=no
6293 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6294 ac_cpp
='$CPP $CPPFLAGS'
6295 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6296 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6297 cross_compiling
=$ac_cv_prog_cc_cross
6299 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
6300 if test $ac_cv_prog_cc_works = no
; then
6301 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
6303 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6304 echo "configure:6305: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
6305 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
6306 cross_compiling
=$ac_cv_prog_cc_cross
6308 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
6309 echo "configure:6310: checking whether we are using GNU C" >&5
6310 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
6311 echo $ac_n "(cached) $ac_c" 1>&6
6313 cat > conftest.c
<<EOF
6318 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:6319: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6325 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
6327 if test $ac_cv_prog_gcc = yes; then
6333 ac_test_CFLAGS
="${CFLAGS+set}"
6334 ac_save_CFLAGS
="$CFLAGS"
6336 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
6337 echo "configure:6338: checking whether ${CC-cc} accepts -g" >&5
6338 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
6339 echo $ac_n "(cached) $ac_c" 1>&6
6341 echo 'void f(){}' > conftest.c
6342 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
6351 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
6352 if test "$ac_test_CFLAGS" = set; then
6353 CFLAGS
="$ac_save_CFLAGS"
6354 elif test $ac_cv_prog_cc_g = yes; then
6355 if test "$GCC" = yes; then
6361 if test "$GCC" = yes; then
6369 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
6371 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
6372 echo "configure:6373: checking how to run the C preprocessor" >&5
6373 # On Suns, sometimes $CPP names a directory.
6374 if test -n "$CPP" && test -d "$CPP"; then
6377 if test -z "$CPP"; then
6378 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
6379 echo $ac_n "(cached) $ac_c" 1>&6
6381 # This must be in double quotes, not single quotes, because CPP may get
6382 # substituted into the Makefile and "${CC-cc}" will confuse make.
6384 # On the NeXT, cc -E runs the code through the compiler's parser,
6385 # not just through cpp.
6386 cat > conftest.
$ac_ext <<EOF
6387 #line 6388 "configure"
6388 #include "confdefs.h"
6392 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6393 { (eval echo configure
:6394: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6394 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6395 if test -z "$ac_err"; then
6399 echo "configure: failed program was:" >&5
6400 cat conftest.
$ac_ext >&5
6402 CPP
="${CC-cc} -E -traditional-cpp"
6403 cat > conftest.
$ac_ext <<EOF
6404 #line 6405 "configure"
6405 #include "confdefs.h"
6409 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6410 { (eval echo configure
:6411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6411 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6412 if test -z "$ac_err"; then
6416 echo "configure: failed program was:" >&5
6417 cat conftest.
$ac_ext >&5
6419 CPP
="${CC-cc} -nologo -E"
6420 cat > conftest.
$ac_ext <<EOF
6421 #line 6422 "configure"
6422 #include "confdefs.h"
6426 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6427 { (eval echo configure
:6428: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6428 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6429 if test -z "$ac_err"; then
6433 echo "configure: failed program was:" >&5
6434 cat conftest.
$ac_ext >&5
6443 ac_cv_prog_CPP
="$CPP"
6445 CPP
="$ac_cv_prog_CPP"
6447 ac_cv_prog_CPP
="$CPP"
6449 echo "$ac_t""$CPP" 1>&6
6452 if test $ac_cv_prog_gcc = yes; then
6453 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
6454 echo "configure:6455: checking whether ${CC-cc} needs -traditional" >&5
6455 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
6456 echo $ac_n "(cached) $ac_c" 1>&6
6458 ac_pattern
="Autoconf.*'x'"
6459 cat > conftest.
$ac_ext <<EOF
6460 #line 6461 "configure"
6461 #include "confdefs.h"
6465 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6466 egrep "$ac_pattern" >/dev
/null
2>&1; then
6468 ac_cv_prog_gcc_traditional
=yes
6471 ac_cv_prog_gcc_traditional
=no
6476 if test $ac_cv_prog_gcc_traditional = no
; then
6477 cat > conftest.
$ac_ext <<EOF
6478 #line 6479 "configure"
6479 #include "confdefs.h"
6483 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6484 egrep "$ac_pattern" >/dev
/null
2>&1; then
6486 ac_cv_prog_gcc_traditional
=yes
6493 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
6494 if test $ac_cv_prog_gcc_traditional = yes; then
6495 CC
="$CC -traditional"
6502 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6503 ac_cpp
='$CXXCPP $CPPFLAGS'
6504 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6505 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6506 cross_compiling
=$ac_cv_prog_cxx_cross
6509 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++ cl
6511 # Extract the first word of "$ac_prog", so it can be a program name with args.
6512 set dummy
$ac_prog; ac_word
=$2
6513 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6514 echo "configure:6515: checking for $ac_word" >&5
6515 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
6516 echo $ac_n "(cached) $ac_c" 1>&6
6518 if test -n "$CXX"; then
6519 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
6521 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6523 for ac_dir
in $ac_dummy; do
6524 test -z "$ac_dir" && ac_dir
=.
6525 if test -f $ac_dir/$ac_word; then
6526 ac_cv_prog_CXX
="$ac_prog"
6533 CXX
="$ac_cv_prog_CXX"
6534 if test -n "$CXX"; then
6535 echo "$ac_t""$CXX" 1>&6
6537 echo "$ac_t""no" 1>&6
6540 test -n "$CXX" && break
6542 test -n "$CXX" || CXX
="gcc"
6545 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
6546 echo "configure:6547: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
6549 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6550 ac_cpp
='$CXXCPP $CPPFLAGS'
6551 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6552 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6553 cross_compiling
=$ac_cv_prog_cxx_cross
6555 cat > conftest.
$ac_ext << EOF
6557 #line 6558 "configure"
6558 #include "confdefs.h"
6560 int main(){return(0);}
6562 if { (eval echo configure
:6563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6563 ac_cv_prog_cxx_works
=yes
6564 # If we can't run a trivial program, we are probably using a cross compiler.
6565 if (.
/conftest
; exit) 2>/dev
/null
; then
6566 ac_cv_prog_cxx_cross
=no
6568 ac_cv_prog_cxx_cross
=yes
6571 echo "configure: failed program was:" >&5
6572 cat conftest.
$ac_ext >&5
6573 ac_cv_prog_cxx_works
=no
6577 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6578 ac_cpp
='$CXXCPP $CPPFLAGS'
6579 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6580 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6581 cross_compiling
=$ac_cv_prog_cxx_cross
6583 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
6584 if test $ac_cv_prog_cxx_works = no
; then
6585 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
6587 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
6588 echo "configure:6589: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
6589 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
6590 cross_compiling
=$ac_cv_prog_cxx_cross
6592 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
6593 echo "configure:6594: checking whether we are using GNU C++" >&5
6594 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
6595 echo $ac_n "(cached) $ac_c" 1>&6
6597 cat > conftest.C
<<EOF
6602 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:6603: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
6609 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
6611 if test $ac_cv_prog_gxx = yes; then
6617 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
6618 ac_save_CXXFLAGS
="$CXXFLAGS"
6620 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
6621 echo "configure:6622: checking whether ${CXX-g++} accepts -g" >&5
6622 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
6623 echo $ac_n "(cached) $ac_c" 1>&6
6625 echo 'void f(){}' > conftest.cc
6626 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
6627 ac_cv_prog_cxx_g
=yes
6635 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
6636 if test "$ac_test_CXXFLAGS" = set; then
6637 CXXFLAGS
="$ac_save_CXXFLAGS"
6638 elif test $ac_cv_prog_cxx_g = yes; then
6639 if test "$GXX" = yes; then
6645 if test "$GXX" = yes; then
6653 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
6654 echo "configure:6655: checking how to run the C++ preprocessor" >&5
6655 if test -z "$CXXCPP"; then
6656 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
6657 echo $ac_n "(cached) $ac_c" 1>&6
6660 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6661 ac_cpp
='$CXXCPP $CPPFLAGS'
6662 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6663 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6664 cross_compiling
=$ac_cv_prog_cxx_cross
6665 CXXCPP
="${CXX-g++} -E"
6666 cat > conftest.
$ac_ext <<EOF
6667 #line 6668 "configure"
6668 #include "confdefs.h"
6671 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6672 { (eval echo configure
:6673: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6673 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
6674 if test -z "$ac_err"; then
6678 echo "configure: failed program was:" >&5
6679 cat conftest.
$ac_ext >&5
6684 ac_cv_prog_CXXCPP
="$CXXCPP"
6686 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6687 ac_cpp
='$CXXCPP $CPPFLAGS'
6688 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6689 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6690 cross_compiling
=$ac_cv_prog_cxx_cross
6693 CXXCPP
="$ac_cv_prog_CXXCPP"
6694 echo "$ac_t""$CXXCPP" 1>&6
6697 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
6700 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
6701 ac_cpp
='$CPP $CPPFLAGS'
6702 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
6703 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
6704 cross_compiling
=$ac_cv_prog_cc_cross
6707 # Extract the first word of "ranlib", so it can be a program name with args.
6708 set dummy ranlib
; ac_word
=$2
6709 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6710 echo "configure:6711: checking for $ac_word" >&5
6711 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
6712 echo $ac_n "(cached) $ac_c" 1>&6
6714 if test -n "$RANLIB"; then
6715 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
6717 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6719 for ac_dir
in $ac_dummy; do
6720 test -z "$ac_dir" && ac_dir
=.
6721 if test -f $ac_dir/$ac_word; then
6722 ac_cv_prog_RANLIB
="ranlib"
6727 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
6730 RANLIB
="$ac_cv_prog_RANLIB"
6731 if test -n "$RANLIB"; then
6732 echo "$ac_t""$RANLIB" 1>&6
6734 echo "$ac_t""no" 1>&6
6738 # Extract the first word of "ar", so it can be a program name with args.
6739 set dummy
ar; ac_word
=$2
6740 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6741 echo "configure:6742: checking for $ac_word" >&5
6742 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
6743 echo $ac_n "(cached) $ac_c" 1>&6
6745 if test -n "$AR"; then
6746 ac_cv_prog_AR
="$AR" # Let the user override the test.
6748 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6750 for ac_dir
in $ac_dummy; do
6751 test -z "$ac_dir" && ac_dir
=.
6752 if test -f $ac_dir/$ac_word; then
6758 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
6762 if test -n "$AR"; then
6763 echo "$ac_t""$AR" 1>&6
6765 echo "$ac_t""no" 1>&6
6769 # Find a good install program. We prefer a C program (faster),
6770 # so one script is as good as another. But avoid the broken or
6771 # incompatible versions:
6772 # SysV /etc/install, /usr/sbin/install
6773 # SunOS /usr/etc/install
6774 # IRIX /sbin/install
6776 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
6777 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
6778 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
6779 # ./install, which can be erroneously created by make from ./install.sh.
6780 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
6781 echo "configure:6782: checking for a BSD compatible install" >&5
6782 if test -z "$INSTALL"; then
6783 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
6784 echo $ac_n "(cached) $ac_c" 1>&6
6786 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
6787 for ac_dir
in $PATH; do
6788 # Account for people who put trailing slashes in PATH elements.
6790 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
6792 # OSF1 and SCO ODT 3.0 have their own names for install.
6793 # Don't use installbsd from OSF since it installs stuff as root
6795 for ac_prog
in ginstall scoinst
install; do
6796 if test -f $ac_dir/$ac_prog; then
6797 if test $ac_prog = install &&
6798 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
6799 # AIX install. It has an incompatible calling convention.
6802 ac_cv_path_install
="$ac_dir/$ac_prog -c"
6813 if test "${ac_cv_path_install+set}" = set; then
6814 INSTALL
="$ac_cv_path_install"
6816 # As a last resort, use the slow shell script. We don't cache a
6817 # path for INSTALL within a source directory, because that will
6818 # break other packages using the cache if that directory is
6819 # removed, or if the path is relative.
6820 INSTALL
="$ac_install_sh"
6823 echo "$ac_t""$INSTALL" 1>&6
6825 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
6826 # It thinks the first close brace ends the variable substitution.
6827 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
6829 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
6831 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
6834 # Extract the first word of "strip", so it can be a program name with args.
6835 set dummy strip
; ac_word
=$2
6836 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6837 echo "configure:6838: checking for $ac_word" >&5
6838 if eval "test \"`echo '$''{'ac_cv_prog_STRIP'+set}'`\" = set"; then
6839 echo $ac_n "(cached) $ac_c" 1>&6
6841 if test -n "$STRIP"; then
6842 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
6844 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6846 for ac_dir
in $ac_dummy; do
6847 test -z "$ac_dir" && ac_dir
=.
6848 if test -f $ac_dir/$ac_word; then
6849 ac_cv_prog_STRIP
="strip"
6854 test -z "$ac_cv_prog_STRIP" && ac_cv_prog_STRIP
="true"
6857 STRIP
="$ac_cv_prog_STRIP"
6858 if test -n "$STRIP"; then
6859 echo "$ac_t""$STRIP" 1>&6
6861 echo "$ac_t""no" 1>&6
6865 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
6866 echo "configure:6867: checking "make for VPATH support
"" >&5
6867 cat - << EOF > confMake
6873 if test ! -d sub
; then
6876 echo dummy
> sub
/file
6877 ${MAKE-make} -f confMake VPATH
=sub
2>&5 > /dev
/null
6879 rm -f sub
/file check final_file confMake
6881 if test "$RESULT" = 0; then
6882 echo "$ac_t""yes" 1>&6
6884 echo "$ac_t""no" 1>&6
6885 { echo "configure: error: You need a make-utility that is able to use the variable
6887 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
6890 for ac_prog
in 'bison -y' byacc
6892 # Extract the first word of "$ac_prog", so it can be a program name with args.
6893 set dummy
$ac_prog; ac_word
=$2
6894 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6895 echo "configure:6896: checking for $ac_word" >&5
6896 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
6897 echo $ac_n "(cached) $ac_c" 1>&6
6899 if test -n "$YACC"; then
6900 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
6902 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6904 for ac_dir
in $ac_dummy; do
6905 test -z "$ac_dir" && ac_dir
=.
6906 if test -f $ac_dir/$ac_word; then
6907 ac_cv_prog_YACC
="$ac_prog"
6914 YACC
="$ac_cv_prog_YACC"
6915 if test -n "$YACC"; then
6916 echo "$ac_t""$YACC" 1>&6
6918 echo "$ac_t""no" 1>&6
6921 test -n "$YACC" && break
6923 test -n "$YACC" || YACC
="yacc"
6926 # Extract the first word of "flex", so it can be a program name with args.
6927 set dummy flex
; ac_word
=$2
6928 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6929 echo "configure:6930: checking for $ac_word" >&5
6930 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
6931 echo $ac_n "(cached) $ac_c" 1>&6
6933 if test -n "$LEX"; then
6934 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
6936 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
6938 for ac_dir
in $ac_dummy; do
6939 test -z "$ac_dir" && ac_dir
=.
6940 if test -f $ac_dir/$ac_word; then
6941 ac_cv_prog_LEX
="flex"
6946 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
6949 LEX
="$ac_cv_prog_LEX"
6950 if test -n "$LEX"; then
6951 echo "$ac_t""$LEX" 1>&6
6953 echo "$ac_t""no" 1>&6
6956 if test -z "$LEXLIB"
6962 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
6963 echo "configure:6964: checking for yywrap in -l$ac_lib" >&5
6964 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
6965 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6966 echo $ac_n "(cached) $ac_c" 1>&6
6968 ac_save_LIBS
="$LIBS"
6969 LIBS
="-l$ac_lib $LIBS"
6970 cat > conftest.
$ac_ext <<EOF
6971 #line 6972 "configure"
6972 #include "confdefs.h"
6973 /* Override any gcc2 internal prototype to avoid an error. */
6974 /* We use char because int might match the return type of a gcc2
6975 builtin and then its argument prototype would still apply. */
6982 if { (eval echo configure
:6983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6984 eval "ac_cv_lib_$ac_lib_var=yes"
6986 echo "configure: failed program was:" >&5
6987 cat conftest.
$ac_ext >&5
6989 eval "ac_cv_lib_$ac_lib_var=no"
6992 LIBS
="$ac_save_LIBS"
6995 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6996 echo "$ac_t""yes" 1>&6
6999 echo "$ac_t""no" 1>&6
7005 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
7006 echo "configure:7007: checking whether ln -s works" >&5
7007 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
7008 echo $ac_n "(cached) $ac_c" 1>&6
7011 if ln -s X conftestdata
2>/dev
/null
7014 ac_cv_prog_LN_S
="ln -s"
7019 LN_S
="$ac_cv_prog_LN_S"
7020 if test "$ac_cv_prog_LN_S" = "ln -s"; then
7021 echo "$ac_t""yes" 1>&6
7023 echo "$ac_t""no" 1>&6
7029 /usr/local/include \
7031 /usr/Motif-1.2/include \
7032 /usr/Motif-2.1/include \
7034 /usr/include/Motif1.2 \
7035 /opt/xpm/include/X11 \
7036 /opt/GBxpm/include/ \
7037 /opt/GBxpm/X11/include/ \
7039 /usr/Motif1.2/include \
7041 /usr/openwin/include \
7045 /usr/X11R6/include \
7046 /usr/X11R6.4/include \
7047 /usr/X11R5/include \
7048 /usr/X11R4/include \
7050 /usr/include/X11R6 \
7051 /usr/include/X11R5 \
7052 /usr/include/X11R4 \
7054 /usr/local/X11R6/include \
7055 /usr/local/X11R5/include \
7056 /usr/local/X11R4/include \
7058 /usr/local/include/X11R6 \
7059 /usr/local/include/X11R5 \
7060 /usr/local/include/X11R4 \
7064 /usr/local/X11/include \
7065 /usr/local/include/X11 \
7069 /usr/XFree86/include/X11 \
7071 X:/XFree86/include \
7072 X:/XFree86/include/X11 \
7075 /usr/local/include/gtk \
7077 /usr/local/include/glib \
7080 /usr/local/include/qt \
7082 /usr/include/windows \
7084 /usr/local/include/wine \
7086 /usr/unsupported/include \
7087 /usr/athena/include \
7088 /usr/local/x11r5/include \
7089 /usr/lpp/Xamples/include \
7091 /usr/openwin/share/include \
7095 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` "
7098 cat > confcache
<<\EOF
7099 # This file is a shell script that caches the results of configure
7100 # tests run on this system so they can be shared between configure
7101 # scripts and configure runs. It is not useful on other systems.
7102 # If it contains results you don't want to keep, you may remove or edit it.
7104 # By default, configure uses ./config.cache as the cache file,
7105 # creating it if it does not exist already. You can give configure
7106 # the --cache-file=FILE option to use a different cache file; that is
7107 # what configure does when it calls configure scripts in
7108 # subdirectories, so they share the cache.
7109 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7110 # config.status only pays attention to the cache file if you give it the
7111 # --recheck option to rerun configure.
7114 # The following way of writing the cache mishandles newlines in values,
7115 # but we know of no workaround that is simple, portable, and efficient.
7116 # So, don't put newlines in cache variables' values.
7117 # Ultrix sh set writes to stderr and can't be redirected directly,
7118 # and sets the high bit in the cache file unless we assign to the vars.
7120 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7122 # `set' does not quote correctly, so add quotes (double-quote substitution
7123 # turns \\\\ into \\, and sed turns \\ into \).
7125 -e "s/'/'\\\\''/g" \
7126 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7129 # `set' quotes correctly as required by POSIX, so do not add quotes.
7130 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7133 if cmp -s $cache_file confcache
; then
7136 if test -w $cache_file; then
7137 echo "updating cache $cache_file"
7138 cat confcache
> $cache_file
7140 echo "not updating unwritable cache $cache_file"
7149 if test "$wxUSE_GUI" = "yes"; then
7169 if test "$wxUSE_CYGWIN" = 1 || test "$wxUSE_MINGW" = 1 ; then
7170 if test "$cross_compiling" = "yes" ; then
7171 echo "configure: warning: skipping windows.h check for cross-compilation" 1>&2
7173 echo $ac_n "checking for Windows headers""... $ac_c" 1>&6
7174 echo "configure:7175: checking for Windows headers" >&5
7177 for ac_dir
in $SEARCH_INCLUDE;
7179 if test -f "$ac_dir/windows.h"; then
7180 ac_find_includes
=$ac_dir
7185 if test "$ac_find_includes" != "" ; then
7186 echo "$ac_t""found $ac_find_includes" 1>&6
7187 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7189 echo "$ac_t""no" 1>&6
7190 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7194 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS msw"
7195 LIBS
="$LIBS -lkernel32 -luser32 -lgdi32 -lcomdlg32 -lwinspool -lwinmm -lshell32 -lcomctl32 -lctl3d32 -lcrtdll -ladvapi32 -lwsock32"
7197 if test "$wxUSE_ODBC" = "yes" ; then
7198 LIBS
="$LIBS -lodbc32 -lole32 -loleaut32"
7201 if test "$wxUSE_MINGW" = 1; then
7202 LDFLAGS
="$LDFLAGS -mwindows"
7207 GUIOBJS
="\$(MSW_GUIOBJS)"
7208 GUIHEADERS
="\$(MSW_HEADERS)"
7209 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7210 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7214 RCINCSWITCH
="--include-dir"
7215 RCDEFSWITCH
="--define"
7216 RCPREPROCESSOR
="--preprocessor \"\$(CC) -c -E -xc-header -DRC_INVOKED\""
7219 RESFLAGS
="$RCPREPROCESSOR $RCINCSWITCH \$(top_srcdir)/include $RCINCSWITCH \$(top_srcdir)/\$(program_dir) $RCDEFSWITCH __WIN32__ $RCDEFSWITCH __WIN95__ $RCDEFSWITCH __GNUWIN32__"
7221 RESPROGRAM
="\$(RES_PROGRAM)"
7225 if test "$wxUSE_GTK" = 1; then
7226 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
7227 if test "${with_gtk_prefix+set}" = set; then
7228 withval
="$with_gtk_prefix"
7229 gtk_config_prefix
="$withval"
7231 gtk_config_prefix
=""
7234 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
7235 if test "${with_gtk_exec_prefix+set}" = set; then
7236 withval
="$with_gtk_exec_prefix"
7237 gtk_config_exec_prefix
="$withval"
7239 gtk_config_exec_prefix
=""
7242 # Check whether --enable-gtktest or --disable-gtktest was given.
7243 if test "${enable_gtktest+set}" = set; then
7244 enableval
="$enable_gtktest"
7251 for module
in . gthread
7255 gtk_config_args
="$gtk_config_args gthread"
7260 if test x
$gtk_config_exec_prefix != x
; then
7261 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7262 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7263 GTK_CONFIG_2_0
=$gtk_config_exec_prefix/bin
/gtk
-config-2.0
7266 if test x
$gtk_config_prefix != x
; then
7267 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7268 if test x
${GTK_CONFIG_2_0+set} != xset
; then
7269 GTK_CONFIG_2_0
=$gtk_config_prefix/bin
/gtk
-config-2.0
7273 # Extract the first word of "gtk-config-2.0", so it can be a program name with args.
7274 set dummy gtk
-config-2.0
; ac_word
=$2
7275 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7276 echo "configure:7277: checking for $ac_word" >&5
7277 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG_2_0'+set}'`\" = set"; then
7278 echo $ac_n "(cached) $ac_c" 1>&6
7280 case "$GTK_CONFIG_2_0" in
7282 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a path.
7285 ac_cv_path_GTK_CONFIG_2_0
="$GTK_CONFIG_2_0" # Let the user override the test with a dos path.
7288 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7290 for ac_dir
in $ac_dummy; do
7291 test -z "$ac_dir" && ac_dir
=.
7292 if test -f $ac_dir/$ac_word; then
7293 ac_cv_path_GTK_CONFIG_2_0
="$ac_dir/$ac_word"
7298 test -z "$ac_cv_path_GTK_CONFIG_2_0" && ac_cv_path_GTK_CONFIG_2_0
="no"
7302 GTK_CONFIG_2_0
="$ac_cv_path_GTK_CONFIG_2_0"
7303 if test -n "$GTK_CONFIG_2_0"; then
7304 echo "$ac_t""$GTK_CONFIG_2_0" 1>&6
7306 echo "$ac_t""no" 1>&6
7309 min_gtk_version
=1.3.1
7310 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7311 echo "configure:7312: checking for GTK - version >= $min_gtk_version" >&5
7313 if test "$GTK_CONFIG_2_0" = "no" ; then
7316 GTK_CFLAGS
=`$GTK_CONFIG_2_0 $gtk_config_args --cflags`
7317 GTK_LIBS
=`$GTK_CONFIG_2_0 $gtk_config_args --libs`
7318 gtk_config_major_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7319 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
7320 gtk_config_minor_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7321 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
7322 gtk_config_micro_version
=`$GTK_CONFIG_2_0 $gtk_config_args --version | \
7323 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
7324 if test "x$enable_gtktest" = "xyes" ; then
7325 ac_save_CFLAGS
="$CFLAGS"
7326 ac_save_LIBS
="$LIBS"
7327 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7328 LIBS
="$GTK_LIBS $LIBS"
7330 if test "$cross_compiling" = yes; then
7331 echo $ac_n "cross compiling; assumed OK... $ac_c"
7333 cat > conftest.
$ac_ext <<EOF
7334 #line 7335 "configure"
7335 #include "confdefs.h"
7337 #include <gtk/gtk.h>
7344 int major, minor, micro;
7347 system ("touch conf.gtktest");
7349 /* HP/UX 9 (%@#!) writes to sscanf strings */
7350 tmp_version = g_strdup("$min_gtk_version");
7351 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
7352 printf("%s, bad version string\n", "$min_gtk_version");
7356 if ((gtk_major_version != $gtk_config_major_version) ||
7357 (gtk_minor_version != $gtk_config_minor_version) ||
7358 (gtk_micro_version != $gtk_config_micro_version))
7360 printf("\n*** 'gtk-config-2.0 --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
7361 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
7362 gtk_major_version, gtk_minor_version, gtk_micro_version);
7363 printf ("*** was found! If gtk-config-2.0 was correct, then it is best\n");
7364 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
7365 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
7366 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
7367 printf("*** required on your system.\n");
7368 printf("*** If gtk-config-2.0 was wrong, set the environment variable GTK_CONFIG_2_0\n");
7369 printf("*** to point to the correct copy of gtk-config-2.0, and remove the file config.cache\n");
7370 printf("*** before re-running configure\n");
7372 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
7373 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
7374 (gtk_minor_version != GTK_MINOR_VERSION) ||
7375 (gtk_micro_version != GTK_MICRO_VERSION))
7377 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
7378 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
7379 printf("*** library (version %d.%d.%d)\n",
7380 gtk_major_version, gtk_minor_version, gtk_micro_version);
7382 #endif /* defined (GTK_MAJOR_VERSION) ... */
7385 if ((gtk_major_version > major) ||
7386 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7387 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
7393 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
7394 gtk_major_version, gtk_minor_version, gtk_micro_version);
7395 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
7396 major, minor, micro);
7397 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
7399 printf("*** If you have already installed a sufficiently new version, this error\n");
7400 printf("*** probably means that the wrong copy of the gtk-config-2.0 shell script is\n");
7401 printf("*** being found. The easiest way to fix this is to remove the old version\n");
7402 printf("*** of GTK+, but you can also set the GTK_CONFIG_2_0 environment to point to the\n");
7403 printf("*** correct copy of gtk-config-2.0. (In this case, you will have to\n");
7404 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
7405 printf("*** so that the correct libraries are found at run-time))\n");
7412 if { (eval echo configure
:7413: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7416 echo "configure: failed program was:" >&5
7417 cat conftest.
$ac_ext >&5
7424 CFLAGS
="$ac_save_CFLAGS"
7425 LIBS
="$ac_save_LIBS"
7428 if test "x$no_gtk" = x
; then
7429 echo "$ac_t""yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" 1>&6
7432 echo "$ac_t""no" 1>&6
7433 if test "$GTK_CONFIG_2_0" = "no" ; then
7434 echo "*** The gtk-config-2.0 script installed by GTK could not be found"
7435 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
7436 echo "*** your path, or set the GTK_CONFIG_2_0 environment variable to the"
7437 echo "*** full path to gtk-config-2.0."
7439 if test -f conf.gtktest
; then
7442 echo "*** Could not run GTK test program, checking why..."
7443 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7444 LIBS
="$LIBS $GTK_LIBS"
7445 cat > conftest.
$ac_ext <<EOF
7446 #line 7447 "configure"
7447 #include "confdefs.h"
7449 #include <gtk/gtk.h>
7453 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
7456 if { (eval echo configure
:7457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7458 echo "*** The test program compiled, but did not run. This usually means"
7459 echo "*** that the run-time linker is not finding GTK or finding the wrong"
7460 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
7461 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
7462 echo "*** to the installed location Also, make sure you have run ldconfig if that"
7463 echo "*** is required on your system"
7465 echo "*** If you have an old version installed, it is best to remove it, although"
7466 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
7468 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
7469 echo "*** came with the system with the command"
7471 echo "*** rpm --erase --nodeps gtk gtk-devel"
7473 echo "configure: failed program was:" >&5
7474 cat conftest.
$ac_ext >&5
7476 echo "*** The test program failed to compile or link. See the file config.log for the"
7477 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
7478 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
7479 echo "*** may want to edit the gtk-config-2.0 script: $GTK_CONFIG_2_0"
7482 CFLAGS
="$ac_save_CFLAGS"
7483 LIBS
="$ac_save_LIBS"
7490 if test x
$gtk_config_exec_prefix != x
; then
7491 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7492 if test x
${GTK_CONFIG+set} != xset
; then
7493 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7496 if test x
$gtk_config_prefix != x
; then
7497 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7498 if test x
${GTK_CONFIG+set} != xset
; then
7499 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7503 # Extract the first word of "gtk-config", so it can be a program name with args.
7504 set dummy gtk
-config; ac_word
=$2
7505 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7506 echo "configure:7507: checking for $ac_word" >&5
7507 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7508 echo $ac_n "(cached) $ac_c" 1>&6
7510 case "$GTK_CONFIG" in
7512 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7515 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7518 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7520 for ac_dir
in $ac_dummy; do
7521 test -z "$ac_dir" && ac_dir
=.
7522 if test -f $ac_dir/$ac_word; then
7523 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7528 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7532 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7533 if test -n "$GTK_CONFIG"; then
7534 echo "$ac_t""$GTK_CONFIG" 1>&6
7536 echo "$ac_t""no" 1>&6
7539 min_gtk_version
=1.2.7
7540 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7541 echo "configure:7542: checking for GTK - version >= $min_gtk_version" >&5
7543 if test "$GTK_CONFIG" != "no" ; then
7544 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7545 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7546 ac_save_CFLAGS
="$CFLAGS"
7547 ac_save_LIBS
="$LIBS"
7548 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7549 LIBS
="$LIBS $GTK_LIBS"
7550 if test "$cross_compiling" = yes; then
7551 echo $ac_n "cross compiling; assumed OK... $ac_c"
7553 cat > conftest.
$ac_ext <<EOF
7554 #line 7555 "configure"
7555 #include "confdefs.h"
7557 #include <gtk/gtk.h>
7558 #include <gtk/gtkfeatures.h>
7565 int major, minor, micro;
7567 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7568 printf("%s, bad version string\n", "$min_gtk_version");
7572 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7573 (GTK_MINOR_VERSION != gtk_minor_version) ||
7574 (GTK_MICRO_VERSION != gtk_micro_version)) {
7575 printf("Headers vs. library version mismatch!\n");
7579 if (gtk_minor_version == 1) return FALSE;
7581 return !((gtk_major_version > major) ||
7582 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7583 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7587 if { (eval echo configure
:7588: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7591 echo "configure: failed program was:" >&5
7592 cat conftest.
$ac_ext >&5
7599 CFLAGS
="$ac_save_CFLAGS"
7600 LIBS
="$ac_save_LIBS"
7604 if test "x$no_gtk" = x
; then
7605 echo "$ac_t""yes" 1>&6
7608 echo "$ac_t""no" 1>&6
7617 if test x
$gtk_config_exec_prefix != x
; then
7618 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
7619 if test x
${GTK_CONFIG+set} != xset
; then
7620 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
7623 if test x
$gtk_config_prefix != x
; then
7624 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
7625 if test x
${GTK_CONFIG+set} != xset
; then
7626 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
7630 # Extract the first word of "gtk-config", so it can be a program name with args.
7631 set dummy gtk
-config; ac_word
=$2
7632 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
7633 echo "configure:7634: checking for $ac_word" >&5
7634 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
7635 echo $ac_n "(cached) $ac_c" 1>&6
7637 case "$GTK_CONFIG" in
7639 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
7642 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a dos path.
7645 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
7647 for ac_dir
in $ac_dummy; do
7648 test -z "$ac_dir" && ac_dir
=.
7649 if test -f $ac_dir/$ac_word; then
7650 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
7655 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
7659 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
7660 if test -n "$GTK_CONFIG"; then
7661 echo "$ac_t""$GTK_CONFIG" 1>&6
7663 echo "$ac_t""no" 1>&6
7666 min_gtk_version
=1.2.3
7667 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
7668 echo "configure:7669: checking for GTK - version >= $min_gtk_version" >&5
7670 if test "$GTK_CONFIG" != "no" ; then
7671 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
7672 GTK_LIBS
=`$GTK_CONFIG --libs gthread`
7673 ac_save_CFLAGS
="$CFLAGS"
7674 ac_save_LIBS
="$LIBS"
7675 CFLAGS
="$CFLAGS $GTK_CFLAGS"
7676 LIBS
="$LIBS $GTK_LIBS"
7677 if test "$cross_compiling" = yes; then
7678 echo $ac_n "cross compiling; assumed OK... $ac_c"
7680 cat > conftest.
$ac_ext <<EOF
7681 #line 7682 "configure"
7682 #include "confdefs.h"
7684 #include <gtk/gtk.h>
7685 #include <gtk/gtkfeatures.h>
7692 int major, minor, micro;
7694 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
7695 printf("%s, bad version string\n", "$min_gtk_version");
7699 if ((GTK_MAJOR_VERSION != gtk_major_version) ||
7700 (GTK_MINOR_VERSION != gtk_minor_version) ||
7701 (GTK_MICRO_VERSION != gtk_micro_version)) {
7702 printf("Headers vs. library version mismatch!\n");
7706 if (gtk_minor_version == 1) return FALSE;
7708 return !((gtk_major_version > major) ||
7709 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
7710 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
7714 if { (eval echo configure
:7715: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7718 echo "configure: failed program was:" >&5
7719 cat conftest.
$ac_ext >&5
7726 CFLAGS
="$ac_save_CFLAGS"
7727 LIBS
="$ac_save_LIBS"
7731 if test "x$no_gtk" = x
; then
7732 echo "$ac_t""yes" 1>&6
7735 echo "$ac_t""no" 1>&6
7750 if test "$WXGTK12" != 1 -a "$WXGTK20" != 1; then
7751 { echo "configure: error:
7752 Please check that gtk-config is in path, the directory
7753 where GTK+ libraries are installed (returned by
7754 'gtk-config --libs' command) is in LD_LIBRARY_PATH or
7755 equivalent variable and GTK+ is version 1.2.3 or above.
7759 TOOLKIT_INCLUDE
="$GTK_CFLAGS"
7762 GUI_TK_LIBRARY
="$GTK_LIBS"
7766 AFMINSTALL
=afminstall
7768 GUIOBJS
="\$(GTK_GUIOBJS)"
7769 GUIHEADERS
="\$(GTK_HEADERS)"
7770 COMMONOBJS
="\$(GTK_COMMONOBJS)"
7771 GENERICOBJS
="\$(GTK_GENERICOBJS)"
7772 GUIDEPS
="\$(GTK_GUIDEPS)"
7773 COMMONDEPS
="\$(GTK_COMMONDEPS)"
7774 GENERICDEPS
="\$(GTK_GENERICDEPS)"
7775 UNIXOBJS
="\$(UNIX_OBJS)"
7776 UNIXDEPS
="\$(UNIX_DEPS)"
7779 echo $ac_n "checking for gdk_im_open in -lgdk""... $ac_c" 1>&6
7780 echo "configure:7781: checking for gdk_im_open in -lgdk" >&5
7781 ac_lib_var
=`echo gdk'_'gdk_im_open | sed 'y%./+-%__p_%'`
7782 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7783 echo $ac_n "(cached) $ac_c" 1>&6
7785 ac_save_LIBS
="$LIBS"
7787 cat > conftest.
$ac_ext <<EOF
7788 #line 7789 "configure"
7789 #include "confdefs.h"
7790 /* Override any gcc2 internal prototype to avoid an error. */
7791 /* We use char because int might match the return type of a gcc2
7792 builtin and then its argument prototype would still apply. */
7799 if { (eval echo configure
:7800: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7801 eval "ac_cv_lib_$ac_lib_var=yes"
7803 echo "configure: failed program was:" >&5
7804 cat conftest.
$ac_ext >&5
7806 eval "ac_cv_lib_$ac_lib_var=no"
7809 LIBS
="$ac_save_LIBS"
7812 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7813 echo "$ac_t""yes" 1>&6
7814 cat >> confdefs.h
<<\EOF
7819 echo "$ac_t""no" 1>&6
7824 if test "$wxUSE_WINE" = 1; then
7825 echo $ac_n "checking for WINE includes""... $ac_c" 1>&6
7826 echo "configure:7827: checking for WINE includes" >&5
7829 for ac_dir
in $SEARCH_INCLUDE;
7831 if test -f "$ac_dir/windows.h"; then
7832 ac_find_includes
=$ac_dir
7837 if test "$ac_find_includes" != "" ; then
7838 echo "$ac_t""found $ac_find_includes" 1>&6
7839 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE -I$ac_find_includes"
7841 echo "$ac_t""no" 1>&6
7842 { echo "configure: error: please set CFLAGS to contain the location of windows.h" 1>&2; exit 1; }
7846 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
7847 echo "configure:7848: checking for Xpm library" >&5
7850 for ac_dir
in $SEARCH_LIB;
7852 for ac_extension
in a so sl
; do
7853 if test -f "$ac_dir/libXpm.$ac_extension"; then
7854 ac_find_libraries
=$ac_dir
7860 if test "$ac_find_libraries" != "" ; then
7861 GUI_TK_LIBRARY
="-L$ac_find_libraries"
7863 cat >> confdefs.h
<<\EOF
7864 #define wxHAVE_LIB_XPM 1
7867 echo "$ac_t""found at $ac_find_libraries" 1>&6
7869 echo "$ac_t""no" 1>&6
7870 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
7874 echo $ac_n "checking for Mesa library""... $ac_c" 1>&6
7875 echo "configure:7876: checking for Mesa library" >&5
7878 for ac_dir
in $SEARCH_LIB;
7880 for ac_extension
in a so sl
; do
7881 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7882 ac_find_libraries
=$ac_dir
7888 if test "$ac_find_libraries" != "" ; then
7889 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY -L$ac_find_libraries"
7890 MESA_LINK
="-lMesaGL"
7891 echo "$ac_t""found at $ac_find_libraries" 1>&6
7893 { echo "configure: error: no" 1>&2; exit 1; }
7896 GUI_TK_LINK
="-lwine $MESA_LINK $XPM_LINK -lXxf86dga -lXxf86vm -lSM -lICE -lXext -lXmu -lX11 -lncurses"
7897 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
7901 GUIHEADERS
="\$(MSW_HEADERS)"
7902 GUIOBJS
="\$(MSW_GUIOBJS)"
7903 COMMONOBJS
="\$(MSW_COMMONOBJS)"
7904 GENERICOBJS
="\$(MSW_GENERICOBJS)"
7905 GUIDEPS
="\$(MSW_GUIDEPS)"
7906 COMMONDEPS
="\$(MSW_COMMONDEPS)"
7907 GENERICDEPS
="\$(MSW_GENERICDEPS)"
7908 UNIXOBJS
="\$(UNIX_OBJS)"
7909 UNIXDEPS
="\$(UNIX_DEPS)"
7914 # If we find X, set shell vars x_includes and x_libraries to the
7915 # paths, otherwise set no_x=yes.
7916 # Uses ac_ vars as temps to allow command line to override cache and checks.
7917 # --without-x overrides everything else, but does not touch the cache.
7918 echo $ac_n "checking for X""... $ac_c" 1>&6
7919 echo "configure:7920: checking for X" >&5
7921 # Check whether --with-x or --without-x was given.
7922 if test "${with_x+set}" = set; then
7927 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
7928 if test "x$with_x" = xno
; then
7929 # The user explicitly disabled X.
7932 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
7933 # Both variables are already set.
7936 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
7937 echo $ac_n "(cached) $ac_c" 1>&6
7939 # One or both of the vars are not set, and there is no cached value.
7940 ac_x_includes
=NO ac_x_libraries
=NO
7942 if mkdir conftestdir
; then
7944 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
7945 cat > Imakefile
<<'EOF'
7947 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
7949 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
7950 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
7951 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
7952 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
7953 for ac_extension
in a so sl
; do
7954 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
7955 test -f $ac_im_libdir/libX11.
$ac_extension; then
7956 ac_im_usrlibdir
=$ac_im_libdir; break
7959 # Screen out bogus values from the imake configuration. They are
7960 # bogus both because they are the default anyway, and because
7961 # using them would break gcc on systems where it needs fixed includes.
7962 case "$ac_im_incroot" in
7964 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
7966 case "$ac_im_usrlibdir" in
7968 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
7975 if test "$ac_x_includes" = NO
; then
7976 # Guess where to find include files, by looking for this one X11 .h file.
7977 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
7979 # First, try using that file with no special directory specified.
7980 cat > conftest.
$ac_ext <<EOF
7981 #line 7982 "configure"
7982 #include "confdefs.h"
7983 #include <$x_direct_test_include>
7985 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
7986 { (eval echo configure
:7987: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
7987 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
7988 if test -z "$ac_err"; then
7990 # We can compile using X headers with no special include directory.
7994 echo "configure: failed program was:" >&5
7995 cat conftest.
$ac_ext >&5
7997 # Look for the header file in a standard set of common directories.
7998 # Check X11 before X11Rn because it is often a symlink to the current release.
8001 /usr
/X
11R
6/include \
8002 /usr
/X
11R
5/include \
8003 /usr
/X
11R
4/include \
8006 /usr
/include
/X11R6 \
8007 /usr
/include
/X11R5 \
8008 /usr
/include
/X11R4 \
8010 /usr
/local
/X
11/include \
8011 /usr
/local
/X
11R
6/include \
8012 /usr
/local
/X
11R
5/include \
8013 /usr
/local
/X
11R
4/include \
8015 /usr
/local
/include
/X11 \
8016 /usr
/local
/include
/X11R6 \
8017 /usr
/local
/include
/X11R5 \
8018 /usr
/local
/include
/X11R4 \
8022 /usr
/XFree
86/include
/X11 \
8025 /usr
/local
/include \
8026 /usr
/unsupported
/include \
8027 /usr
/athena
/include \
8028 /usr
/local
/x
11r
5/include \
8029 /usr
/lpp
/Xamples
/include \
8031 /usr
/openwin
/include \
8032 /usr
/openwin
/share
/include \
8035 if test -r "$ac_dir/$x_direct_test_include"; then
8036 ac_x_includes
=$ac_dir
8042 fi # $ac_x_includes = NO
8044 if test "$ac_x_libraries" = NO
; then
8045 # Check for the libraries.
8047 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
8048 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
8050 # See if we find them without any special options.
8051 # Don't add to $LIBS permanently.
8052 ac_save_LIBS
="$LIBS"
8053 LIBS
="-l$x_direct_test_library $LIBS"
8054 cat > conftest.
$ac_ext <<EOF
8055 #line 8056 "configure"
8056 #include "confdefs.h"
8059 ${x_direct_test_function}()
8062 if { (eval echo configure
:8063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8064 LIBS
="$ac_save_LIBS"
8065 # We can link X programs with no special library path.
8068 echo "configure: failed program was:" >&5
8069 cat conftest.
$ac_ext >&5
8071 LIBS
="$ac_save_LIBS"
8072 # First see if replacing the include by lib works.
8073 # Check X11 before X11Rn because it is often a symlink to the current release.
8074 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
8085 /usr
/local
/X
11/lib \
8086 /usr
/local
/X
11R
6/lib \
8087 /usr
/local
/X
11R
5/lib \
8088 /usr
/local
/X
11R
4/lib \
8090 /usr
/local
/lib
/X11 \
8091 /usr
/local
/lib
/X11R6 \
8092 /usr
/local
/lib
/X11R5 \
8093 /usr
/local
/lib
/X11R4 \
8097 /usr
/XFree
86/lib
/X11 \
8101 /usr
/unsupported
/lib \
8103 /usr
/local
/x
11r
5/lib \
8104 /usr
/lpp
/Xamples
/lib \
8108 /usr
/openwin
/share
/lib \
8111 for ac_extension
in a so sl
; do
8112 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
8113 ac_x_libraries
=$ac_dir
8120 fi # $ac_x_libraries = NO
8122 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
8123 # Didn't find X anywhere. Cache the known absence of X.
8124 ac_cv_have_x
="have_x=no"
8126 # Record where we found X for the cache.
8127 ac_cv_have_x
="have_x=yes \
8128 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
8132 eval "$ac_cv_have_x"
8135 if test "$have_x" != yes; then
8136 echo "$ac_t""$have_x" 1>&6
8139 # If each of the values was on the command line, it overrides each guess.
8140 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
8141 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
8142 # Update the cache value to reflect the command line values.
8143 ac_cv_have_x
="have_x=yes \
8144 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
8145 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
8148 if test "$no_x" = yes; then
8149 # Not all programs may use this symbol, but it does not hurt to define it.
8150 cat >> confdefs.h
<<\EOF
8151 #define X_DISPLAY_MISSING 1
8154 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
8156 if test -n "$x_includes"; then
8157 X_CFLAGS
="$X_CFLAGS -I$x_includes"
8160 # It would also be nice to do this for all -L options, not just this one.
8161 if test -n "$x_libraries"; then
8162 X_LIBS
="$X_LIBS -L$x_libraries"
8163 # For Solaris; some versions of Sun CC require a space after -R and
8164 # others require no space. Words are not sufficient . . . .
8165 case "`(uname -sr) 2>/dev/null`" in
8167 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
8168 echo "configure:8169: checking whether -R must be followed by a space" >&5
8169 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
8170 cat > conftest.
$ac_ext <<EOF
8171 #line 8172 "configure"
8172 #include "confdefs.h"
8178 if { (eval echo configure
:8179: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8182 echo "configure: failed program was:" >&5
8183 cat conftest.
$ac_ext >&5
8188 if test $ac_R_nospace = yes; then
8189 echo "$ac_t""no" 1>&6
8190 X_LIBS
="$X_LIBS -R$x_libraries"
8192 LIBS
="$ac_xsave_LIBS -R $x_libraries"
8193 cat > conftest.
$ac_ext <<EOF
8194 #line 8195 "configure"
8195 #include "confdefs.h"
8201 if { (eval echo configure
:8202: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8205 echo "configure: failed program was:" >&5
8206 cat conftest.
$ac_ext >&5
8211 if test $ac_R_space = yes; then
8212 echo "$ac_t""yes" 1>&6
8213 X_LIBS
="$X_LIBS -R $x_libraries"
8215 echo "$ac_t""neither works" 1>&6
8218 LIBS
="$ac_xsave_LIBS"
8222 # Check for system-dependent libraries X programs must link with.
8223 # Do this before checking for the system-independent R6 libraries
8224 # (-lICE), since we may need -lsocket or whatever for X linking.
8226 if test "$ISC" = yes; then
8227 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
8229 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
8230 # libraries were built with DECnet support. And karl@cs.umb.edu says
8231 # the Alpha needs dnet_stub (dnet does not exist).
8232 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
8233 echo "configure:8234: checking for dnet_ntoa in -ldnet" >&5
8234 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8235 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8236 echo $ac_n "(cached) $ac_c" 1>&6
8238 ac_save_LIBS
="$LIBS"
8240 cat > conftest.
$ac_ext <<EOF
8241 #line 8242 "configure"
8242 #include "confdefs.h"
8243 /* Override any gcc2 internal prototype to avoid an error. */
8244 /* We use char because int might match the return type of a gcc2
8245 builtin and then its argument prototype would still apply. */
8252 if { (eval echo configure
:8253: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8254 eval "ac_cv_lib_$ac_lib_var=yes"
8256 echo "configure: failed program was:" >&5
8257 cat conftest.
$ac_ext >&5
8259 eval "ac_cv_lib_$ac_lib_var=no"
8262 LIBS
="$ac_save_LIBS"
8265 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8266 echo "$ac_t""yes" 1>&6
8267 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
8269 echo "$ac_t""no" 1>&6
8272 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
8273 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
8274 echo "configure:8275: checking for dnet_ntoa in -ldnet_stub" >&5
8275 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
8276 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8277 echo $ac_n "(cached) $ac_c" 1>&6
8279 ac_save_LIBS
="$LIBS"
8280 LIBS
="-ldnet_stub $LIBS"
8281 cat > conftest.
$ac_ext <<EOF
8282 #line 8283 "configure"
8283 #include "confdefs.h"
8284 /* Override any gcc2 internal prototype to avoid an error. */
8285 /* We use char because int might match the return type of a gcc2
8286 builtin and then its argument prototype would still apply. */
8293 if { (eval echo configure
:8294: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8295 eval "ac_cv_lib_$ac_lib_var=yes"
8297 echo "configure: failed program was:" >&5
8298 cat conftest.
$ac_ext >&5
8300 eval "ac_cv_lib_$ac_lib_var=no"
8303 LIBS
="$ac_save_LIBS"
8306 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8307 echo "$ac_t""yes" 1>&6
8308 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
8310 echo "$ac_t""no" 1>&6
8315 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
8316 # to get the SysV transport functions.
8317 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
8319 # The nsl library prevents programs from opening the X display
8320 # on Irix 5.2, according to dickey@clark.net.
8321 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
8322 echo "configure:8323: checking for gethostbyname" >&5
8323 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
8324 echo $ac_n "(cached) $ac_c" 1>&6
8326 cat > conftest.
$ac_ext <<EOF
8327 #line 8328 "configure"
8328 #include "confdefs.h"
8329 /* System header to define __stub macros and hopefully few prototypes,
8330 which can conflict with char gethostbyname(); below. */
8332 /* Override any gcc2 internal prototype to avoid an error. */
8333 /* We use char because int might match the return type of a gcc2
8334 builtin and then its argument prototype would still apply. */
8335 char gethostbyname();
8339 /* The GNU C library defines this for functions which it implements
8340 to always fail with ENOSYS. Some functions are actually named
8341 something starting with __ and the normal name is an alias. */
8342 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
8350 if { (eval echo configure
:8351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8352 eval "ac_cv_func_gethostbyname=yes"
8354 echo "configure: failed program was:" >&5
8355 cat conftest.
$ac_ext >&5
8357 eval "ac_cv_func_gethostbyname=no"
8362 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
8363 echo "$ac_t""yes" 1>&6
8366 echo "$ac_t""no" 1>&6
8369 if test $ac_cv_func_gethostbyname = no
; then
8370 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
8371 echo "configure:8372: checking for gethostbyname in -lnsl" >&5
8372 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
8373 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8374 echo $ac_n "(cached) $ac_c" 1>&6
8376 ac_save_LIBS
="$LIBS"
8378 cat > conftest.
$ac_ext <<EOF
8379 #line 8380 "configure"
8380 #include "confdefs.h"
8381 /* Override any gcc2 internal prototype to avoid an error. */
8382 /* We use char because int might match the return type of a gcc2
8383 builtin and then its argument prototype would still apply. */
8384 char gethostbyname();
8390 if { (eval echo configure
:8391: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8392 eval "ac_cv_lib_$ac_lib_var=yes"
8394 echo "configure: failed program was:" >&5
8395 cat conftest.
$ac_ext >&5
8397 eval "ac_cv_lib_$ac_lib_var=no"
8400 LIBS
="$ac_save_LIBS"
8403 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8404 echo "$ac_t""yes" 1>&6
8405 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
8407 echo "$ac_t""no" 1>&6
8412 # lieder@skyler.mavd.honeywell.com says without -lsocket,
8413 # socket/setsockopt and other routines are undefined under SCO ODT
8414 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
8415 # on later versions), says simon@lia.di.epfl.ch: it contains
8416 # gethostby* variants that don't use the nameserver (or something).
8417 # -lsocket must be given before -lnsl if both are needed.
8418 # We assume that if connect needs -lnsl, so does gethostbyname.
8419 echo $ac_n "checking for connect""... $ac_c" 1>&6
8420 echo "configure:8421: checking for connect" >&5
8421 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
8422 echo $ac_n "(cached) $ac_c" 1>&6
8424 cat > conftest.
$ac_ext <<EOF
8425 #line 8426 "configure"
8426 #include "confdefs.h"
8427 /* System header to define __stub macros and hopefully few prototypes,
8428 which can conflict with char connect(); below. */
8430 /* Override any gcc2 internal prototype to avoid an error. */
8431 /* We use char because int might match the return type of a gcc2
8432 builtin and then its argument prototype would still apply. */
8437 /* The GNU C library defines this for functions which it implements
8438 to always fail with ENOSYS. Some functions are actually named
8439 something starting with __ and the normal name is an alias. */
8440 #if defined (__stub_connect) || defined (__stub___connect)
8448 if { (eval echo configure
:8449: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8450 eval "ac_cv_func_connect=yes"
8452 echo "configure: failed program was:" >&5
8453 cat conftest.
$ac_ext >&5
8455 eval "ac_cv_func_connect=no"
8460 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
8461 echo "$ac_t""yes" 1>&6
8464 echo "$ac_t""no" 1>&6
8467 if test $ac_cv_func_connect = no
; then
8468 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
8469 echo "configure:8470: checking for connect in -lsocket" >&5
8470 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
8471 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8472 echo $ac_n "(cached) $ac_c" 1>&6
8474 ac_save_LIBS
="$LIBS"
8475 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
8476 cat > conftest.
$ac_ext <<EOF
8477 #line 8478 "configure"
8478 #include "confdefs.h"
8479 /* Override any gcc2 internal prototype to avoid an error. */
8480 /* We use char because int might match the return type of a gcc2
8481 builtin and then its argument prototype would still apply. */
8488 if { (eval echo configure
:8489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8490 eval "ac_cv_lib_$ac_lib_var=yes"
8492 echo "configure: failed program was:" >&5
8493 cat conftest.
$ac_ext >&5
8495 eval "ac_cv_lib_$ac_lib_var=no"
8498 LIBS
="$ac_save_LIBS"
8501 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8502 echo "$ac_t""yes" 1>&6
8503 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
8505 echo "$ac_t""no" 1>&6
8510 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
8511 echo $ac_n "checking for remove""... $ac_c" 1>&6
8512 echo "configure:8513: checking for remove" >&5
8513 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
8514 echo $ac_n "(cached) $ac_c" 1>&6
8516 cat > conftest.
$ac_ext <<EOF
8517 #line 8518 "configure"
8518 #include "confdefs.h"
8519 /* System header to define __stub macros and hopefully few prototypes,
8520 which can conflict with char remove(); below. */
8522 /* Override any gcc2 internal prototype to avoid an error. */
8523 /* We use char because int might match the return type of a gcc2
8524 builtin and then its argument prototype would still apply. */
8529 /* The GNU C library defines this for functions which it implements
8530 to always fail with ENOSYS. Some functions are actually named
8531 something starting with __ and the normal name is an alias. */
8532 #if defined (__stub_remove) || defined (__stub___remove)
8540 if { (eval echo configure
:8541: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8542 eval "ac_cv_func_remove=yes"
8544 echo "configure: failed program was:" >&5
8545 cat conftest.
$ac_ext >&5
8547 eval "ac_cv_func_remove=no"
8552 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
8553 echo "$ac_t""yes" 1>&6
8556 echo "$ac_t""no" 1>&6
8559 if test $ac_cv_func_remove = no
; then
8560 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
8561 echo "configure:8562: checking for remove in -lposix" >&5
8562 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
8563 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8564 echo $ac_n "(cached) $ac_c" 1>&6
8566 ac_save_LIBS
="$LIBS"
8567 LIBS
="-lposix $LIBS"
8568 cat > conftest.
$ac_ext <<EOF
8569 #line 8570 "configure"
8570 #include "confdefs.h"
8571 /* Override any gcc2 internal prototype to avoid an error. */
8572 /* We use char because int might match the return type of a gcc2
8573 builtin and then its argument prototype would still apply. */
8580 if { (eval echo configure
:8581: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8582 eval "ac_cv_lib_$ac_lib_var=yes"
8584 echo "configure: failed program was:" >&5
8585 cat conftest.
$ac_ext >&5
8587 eval "ac_cv_lib_$ac_lib_var=no"
8590 LIBS
="$ac_save_LIBS"
8593 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8594 echo "$ac_t""yes" 1>&6
8595 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
8597 echo "$ac_t""no" 1>&6
8602 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
8603 echo $ac_n "checking for shmat""... $ac_c" 1>&6
8604 echo "configure:8605: checking for shmat" >&5
8605 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
8606 echo $ac_n "(cached) $ac_c" 1>&6
8608 cat > conftest.
$ac_ext <<EOF
8609 #line 8610 "configure"
8610 #include "confdefs.h"
8611 /* System header to define __stub macros and hopefully few prototypes,
8612 which can conflict with char shmat(); below. */
8614 /* Override any gcc2 internal prototype to avoid an error. */
8615 /* We use char because int might match the return type of a gcc2
8616 builtin and then its argument prototype would still apply. */
8621 /* The GNU C library defines this for functions which it implements
8622 to always fail with ENOSYS. Some functions are actually named
8623 something starting with __ and the normal name is an alias. */
8624 #if defined (__stub_shmat) || defined (__stub___shmat)
8632 if { (eval echo configure
:8633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8634 eval "ac_cv_func_shmat=yes"
8636 echo "configure: failed program was:" >&5
8637 cat conftest.
$ac_ext >&5
8639 eval "ac_cv_func_shmat=no"
8644 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
8645 echo "$ac_t""yes" 1>&6
8648 echo "$ac_t""no" 1>&6
8651 if test $ac_cv_func_shmat = no
; then
8652 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
8653 echo "configure:8654: checking for shmat in -lipc" >&5
8654 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
8655 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8656 echo $ac_n "(cached) $ac_c" 1>&6
8658 ac_save_LIBS
="$LIBS"
8660 cat > conftest.
$ac_ext <<EOF
8661 #line 8662 "configure"
8662 #include "confdefs.h"
8663 /* Override any gcc2 internal prototype to avoid an error. */
8664 /* We use char because int might match the return type of a gcc2
8665 builtin and then its argument prototype would still apply. */
8672 if { (eval echo configure
:8673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8674 eval "ac_cv_lib_$ac_lib_var=yes"
8676 echo "configure: failed program was:" >&5
8677 cat conftest.
$ac_ext >&5
8679 eval "ac_cv_lib_$ac_lib_var=no"
8682 LIBS
="$ac_save_LIBS"
8685 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8686 echo "$ac_t""yes" 1>&6
8687 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
8689 echo "$ac_t""no" 1>&6
8695 # Check for libraries that X11R6 Xt/Xaw programs need.
8696 ac_save_LDFLAGS
="$LDFLAGS"
8697 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
8698 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
8699 # check for ICE first), but we must link in the order -lSM -lICE or
8700 # we get undefined symbols. So assume we have SM if we have ICE.
8701 # These have to be linked with before -lX11, unlike the other
8702 # libraries we check for below, so use a different variable.
8703 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
8704 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
8705 echo "configure:8706: checking for IceConnectionNumber in -lICE" >&5
8706 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
8707 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
8708 echo $ac_n "(cached) $ac_c" 1>&6
8710 ac_save_LIBS
="$LIBS"
8711 LIBS
="-lICE $X_EXTRA_LIBS $LIBS"
8712 cat > conftest.
$ac_ext <<EOF
8713 #line 8714 "configure"
8714 #include "confdefs.h"
8715 /* Override any gcc2 internal prototype to avoid an error. */
8716 /* We use char because int might match the return type of a gcc2
8717 builtin and then its argument prototype would still apply. */
8718 char IceConnectionNumber();
8721 IceConnectionNumber()
8724 if { (eval echo configure
:8725: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
8726 eval "ac_cv_lib_$ac_lib_var=yes"
8728 echo "configure: failed program was:" >&5
8729 cat conftest.
$ac_ext >&5
8731 eval "ac_cv_lib_$ac_lib_var=no"
8734 LIBS
="$ac_save_LIBS"
8737 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
8738 echo "$ac_t""yes" 1>&6
8739 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
8741 echo "$ac_t""no" 1>&6
8744 LDFLAGS
="$ac_save_LDFLAGS"
8748 CPPFLAGS
="$CPPFLAGS $X_CFLAGS"
8749 LDFLAGS
="$LDFLAGS $X_LIBS"
8751 if test "$wxUSE_MOTIF" = 1; then
8752 if test "$no_x" = "yes"; then
8753 { echo "configure: error: X11 not found" 1>&2; exit 1; }
8756 GUI_TK_LIBRARY
="$X_LIBS"
8757 TOOLKIT_INCLUDE
="$X_CFLAGS"
8759 AFMINSTALL
=afminstall
8762 COMPILED_X_PROGRAM
=0
8764 echo $ac_n "checking for Motif/Lesstif headers""... $ac_c" 1>&6
8765 echo "configure:8766: checking for Motif/Lesstif headers" >&5
8768 for ac_dir
in $SEARCH_INCLUDE;
8770 if test -f "$ac_dir/Xm/Xm.h"; then
8771 ac_find_includes
=$ac_dir
8776 if test "$ac_find_includes" != "" ; then
8777 echo "$ac_t""found $ac_find_includes" 1>&6
8779 cat > conftest.
$ac_ext <<EOF
8780 #line 8781 "configure"
8781 #include "confdefs.h"
8789 version = xmUseVersion;
8793 if { (eval echo configure
:8794: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8796 echo "$ac_t""found in default search path" 1>&6
8797 COMPILED_X_PROGRAM
=1
8800 echo "configure: failed program was:" >&5
8801 cat conftest.
$ac_ext >&5
8804 echo "$ac_t""no" 1>&6
8805 { echo "configure: error: please set CFLAGS to contain the location of Xm/Xm.h" 1>&2; exit 1; }
8812 if test "$COMPILED_X_PROGRAM" = 0; then
8813 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
8814 echo "configure:8815: checking for Motif/Lesstif library" >&5
8817 for ac_dir
in $SEARCH_LIB;
8819 for ac_extension
in a so sl
; do
8820 if test -f "$ac_dir/libXm.$ac_extension"; then
8821 ac_find_libraries
=$ac_dir
8827 if test "$ac_find_libraries" != "" ; then
8829 ac_path_to_include
=$ac_find_includes
8830 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
8832 if test $result = 0; then
8833 ac_path_to_include
=""
8835 ac_path_to_include
="-I$ac_find_includes"
8839 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8841 if test $result = 0; then
8844 ac_path_to_link
="-L$ac_find_libraries"
8848 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8849 TOOLKIT_INCLUDE
="$TOOLKIT_INCLUDE $ac_path_to_include"
8850 echo "$ac_t""found at $ac_find_libraries" 1>&6
8852 cat > conftest.
$ac_ext <<EOF
8853 #line 8854 "configure"
8854 #include "confdefs.h"
8862 version = xmUseVersion;
8866 if { (eval echo configure
:8867: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8869 echo "$ac_t""found in default search path" 1>&6
8870 COMPILED_X_PROGRAM
=1
8873 echo "configure: failed program was:" >&5
8874 cat conftest.
$ac_ext >&5
8877 echo "$ac_t""no" 1>&6
8878 { echo "configure: error: please set LDFLAGS to contain the location of libXm" 1>&2; exit 1; }
8888 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
8889 echo "configure:8890: checking for Xpm library" >&5
8892 for ac_dir
in $SEARCH_LIB;
8894 for ac_extension
in a so sl
; do
8895 if test -f "$ac_dir/libXpm.$ac_extension"; then
8896 ac_find_libraries
=$ac_dir
8902 if test "$ac_find_libraries" != "" ; then
8904 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev
/null
8906 if test $result = 0; then
8909 ac_path_to_link
="-L$ac_find_libraries"
8912 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $ac_path_to_link"
8914 cat >> confdefs.h
<<\EOF
8915 #define wxHAVE_LIB_XPM 1
8918 echo "$ac_t""found at $ac_find_libraries" 1>&6
8920 cat > conftest.
$ac_ext <<EOF
8921 #line 8922 "configure"
8922 #include "confdefs.h"
8924 #include <X11/xpm.h>
8930 version = XpmLibraryVersion();
8934 if { (eval echo configure
:8935: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
8938 cat >> confdefs.h
<<\EOF
8939 #define wxHAVE_LIB_XPM 1
8942 echo "$ac_t""found in default search path" 1>&6
8943 COMPILED_X_PROGRAM
=0
8946 echo "configure: failed program was:" >&5
8947 cat conftest.
$ac_ext >&5
8950 echo "$ac_t""no" 1>&6
8951 echo "configure: warning: library will be compiled without support for images in XPM format" 1>&2
8958 GUI_TK_LINK
="-lXm $XPM_LINK -lXmu -lXext -lXt -lX11"
8959 GUI_TK_LIBRARY
="$GUI_TK_LIBRARY $GUI_TK_LINK"
8962 GUIHEADERS
="\$(MOTIF_HEADERS)"
8963 GUIOBJS
="\$(MOTIF_GUIOBJS)"
8964 COMMONOBJS
="\$(MOTIF_COMMONOBJS)"
8965 GENERICOBJS
="\$(MOTIF_GENERICOBJS)"
8966 GUIDEPS
="\$(MOTIF_GUIDEPS)"
8967 COMMONDEPS
="\$(MOTIF_COMMONDEPS)"
8968 GENERICDEPS
="\$(MOTIF_GENERICDEPS)"
8969 UNIXOBJS
="\$(UNIX_OBJS)"
8970 UNIXDEPS
="\$(UNIX_DEPS)"
8974 if test "$wxUSE_MAC" = 1; then
8976 UNIXOBJS
="\$(UNIX_OBJS)"
8977 UNIXDEPS
="\$(UNIX_DEPS)"
8981 if test "$wxUSE_PM" = 1; then
8984 GUIOBJS
="\$(PM_GUIOBJS)"
8985 GUIHEADERS
="\$(PM_HEADERS)"
8986 COMMONOBJS
="\$(PM_COMMONOBJS)"
8987 GENERICOBJS
="\$(PM_GENERICOBJS)"
8988 GUIDEPS
="\$(PM_GUIDEPS)"
8989 COMMONDEPS
="\$(PM_COMMONDEPS)"
8990 GENERICDEPS
="\$(PM_GENERICDEPS)"
8996 if test "$TOOLKIT" != "PM" ; then
8997 TOOLKIT_DIR
=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
9002 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9003 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9005 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9008 TOOLKIT_DEF
="-D__WX${TOOLKIT}__"
9010 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9012 ALL_OBJECTS
="\$(GUIOBJS) \$(COMMONOBJS) \$(GENERICOBJS) \$(UNIXOBJS) \$(HTMLOBJS) \$(OGLOBJS)"
9014 if test "$TOOLKIT" != "MSW"; then
9015 if test "$wxUSE_ODBC" = "yes" ; then
9016 ALL_OBJECTS
="${ALL_OBJECTS} \$(IODBCOBJS)"
9020 if test "$wxUSE_LIBJPEG" = "yes" ; then
9021 ALL_OBJECTS
="${ALL_OBJECTS} \$(JPEGOBJS)"
9023 if test "$wxUSE_LIBTIFF" = "yes" ; then
9024 ALL_OBJECTS
="${ALL_OBJECTS} \$(TIFFOBJS)"
9026 if test "$wxUSE_LIBPNG" = "yes" ; then
9027 ALL_OBJECTS
="${ALL_OBJECTS} \$(PNGOBJS)"
9029 if test "$wxUSE_ZLIB" = "yes" ; then
9030 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9032 if test "$wxUSE_FREETYPE" = "yes" ; then
9033 ALL_OBJECTS
="${ALL_OBJECTS} \$(FREETYPEOBJS)"
9035 ALL_DEPFILES
="\$(GUIDEPS) \$(COMMONDEPS) \$(GENERICDEPS) \$(UNIXDEPS) \$(HTMLDEPS) \$(OGLDEPS)"
9037 PORT_FILES
="src/\$(TOOLKITDIR)/files.lst"
9038 RPM_FILES
="src/\$(TOOLKITDIR)/rpmfiles.lst"
9039 RPM_SPEC
="wx\$(TOOLKIT).spec"
9041 GUIDIST
="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
9042 DISTDIR
="wx\$(TOOLKIT)"
9048 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
9049 TOOLKIT_NAME
="${TOOLKIT_DIR}d"
9051 TOOLKIT_NAME
="${TOOLKIT_DIR}"
9054 TOOLKIT_DEF
="-D__WXBASE__"
9056 ALL_OBJECTS
="\$(BASE_OBJS) \$(BASE_UNIX_OBJS)"
9057 ALL_DEPFILES
="\$(BASE_DEPS) \$(BASE_UNIX_DEPS)"
9059 if test "$wxUSE_ZLIB" = "yes" ; then
9060 ALL_OBJECTS
="${ALL_OBJECTS} \$(ZLIBOBJS)"
9063 WX_LIBRARY
="wx_${TOOLKIT_NAME}"
9065 PORT_FILES
="src/files.lst"
9066 RPM_FILES
="src/rpmfiles.lst"
9067 RPM_SPEC
="wxBase.spec"
9072 if test "$USE_UNIX" = 1 ; then
9073 ALL_OBJECTS
="${ALL_OBJECTS} dl_macosx.o"
9074 ALL_DEPFILES
="${ALL_DEPFILES} dl_macosx.d"
9078 WX_LIBRARY_NAME
="lib${WX_LIBRARY}.la"
9079 WX_LIBRARY_NAME_GL
="lib${WX_LIBRARY}_gl.la"
9081 WX_LIBRARY_NAME_STATIC
="lib${WX_LIBRARY}.a"
9082 WX_LIBRARY_NAME_STATIC_GL
="lib${WX_LIBRARY}_gl.a"
9084 WX_LIBRARY_NAME_SHARED
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9085 WX_LIBRARY_NAME_SHARED_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}.${WX_REVISION}.${WX_AGE}"
9087 WX_LIBRARY_LINK1
="lib${WX_LIBRARY}-${WX_RELEASE}.so.${WX_CURRENT}"
9088 WX_LIBRARY_LINK2
="lib${WX_LIBRARY}-${WX_RELEASE}.so"
9089 WX_LIBRARY_LINK3
="lib${WX_LIBRARY}.so"
9090 WX_LIBRARY_LINK1_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so.${WX_CURRENT}"
9091 WX_LIBRARY_LINK2_GL
="lib${WX_LIBRARY}_gl-${WX_RELEASE}.so"
9092 WX_LIBRARY_LINK3_GL
="lib${WX_LIBRARY}_gl.so"
9099 WX_TARGET_LIBRARY_SONAME
=
9102 if test "$wxUSE_SHARED" = "yes"; then
9105 if test "$GCC" = yes ; then
9106 SHARED_LD
="${CC} -shared -fPIC -o"
9109 LDFLAGS
="-L/usr/lib"
9111 SHARED_LD
="${CXX} -b -o"
9114 WX_LIBRARY_NAME_SHARED
="libwx_${TOOLKIT_NAME}.sl"
9115 WX_LIBRARY_NAME_SHARED_GL
="libwx_${TOOLKIT_NAME}_gl.sl"
9116 if test "$wxUSE_OPENGL" = "yes"; then
9117 WX_ALL_INSTALLED
="preinstall_gl"
9118 WX_ALL
="${WX_LIBRARY_NAME_SHARED} ${WX_LIBRARY_NAME_SHARED_GL}"
9120 WX_ALL
="${WX_LIBRARY_NAME_SHARED}"
9125 SHARED_LD
="${CC} -shared -o"
9127 if test "$wxUSE_BURNT_NAME" = "yes" ; then
9128 BURNT_LIBRARY_NAME
="-Wl,-soname,${WX_LIBRARY_LINK1}"
9129 BURNT_LIBRARY_NAME_GL
="-Wl,-soname,${WX_LIBRARY_LINK1_GL}"
9130 WX_TARGET_LIBRARY_SONAME
="-Wl,-soname,\$(TARGETLIB_LINK1)"
9132 if test "$wxUSE_OPENGL" = "yes"; then
9133 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9134 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9136 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9137 WX_ALL
="CREATE_LINKS"
9140 *-*-irix5* | *-*-irix6* )
9141 if test "$GCC" = yes ; then
9142 SHARED_LD
="${CC} -shared -o"
9145 SHARED_LD
="${CXX} -shared -o"
9147 if test "$wxUSE_OPENGL" = "yes"; then
9148 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9149 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9151 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9152 WX_ALL
="CREATE_LINKS"
9156 if test "$GCC" = yes ; then
9157 SHARED_LD
="${CC} -shared -o"
9160 CPPFLAGS
="$CPPFLAGS -isystem /usr/openwin/include"
9162 SHARED_LD
="${CXX} -G -o"
9165 if test "$wxUSE_OPENGL" = "yes"; then
9166 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9167 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9169 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9170 WX_ALL
="CREATE_LINKS"
9174 SHARED_LD
="${CC} -shared -o"
9176 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9177 WX_ALL
="CREATE_LINKS"
9179 *-*-freebsd* | *-*-netbsd* )
9180 SHARED_LD
="${CC} -shared -o"
9182 if test "$wxUSE_OPENGL" = "yes"; then
9183 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9184 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9186 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9187 WX_ALL
="CREATE_LINKS"
9191 SHARED_LD
="libtool -dynamic -o"
9193 if test "$wxUSE_OPENGL" = "yes"; then
9194 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS CREATE_INSTALLED_LINKS_GL"
9195 WX_ALL
="CREATE_LINKS CREATE_LINKS_GL"
9197 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9198 WX_ALL
="CREATE_LINKS"
9202 SHARED_LD
="${CXX} -shared -o"
9204 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9205 WX_ALL
="CREATE_LINKS"
9208 SHARED_LD
="${CXX} -shared -o"
9210 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9211 WX_ALL
="CREATE_LINKS"
9214 SHARED_LD
="${CC} -shared -o"
9216 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9217 WX_ALL
="CREATE_LINKS"
9220 SHARED_LD
="/usr/lpp/xlC/bin/makeC++SharedLib -p 0 -o"
9221 WX_ALL
=${WX_LIBRARY_NAME_SHARED}
9224 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9225 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9226 if test "$wxUSE_OPENGL" = "yes"; then
9227 WX_ALL_INSTALLED
="preinstall_gl"
9228 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9230 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9234 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9235 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9236 if test "$wxUSE_OPENGL" = "yes"; then
9237 WX_ALL_INSTALLED
="preinstall_gl"
9238 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9240 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9244 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9245 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9248 SHARED_LD
="${LD} -shared -o"
9250 WX_ALL_INSTALLED
="CREATE_INSTALLED_LINKS"
9251 WX_ALL
="CREATE_LINKS"
9254 { echo "configure: error: unknown system type ${host}." 1>&2; exit 1; }
9257 if test "x$WX_TARGET_LIBRARY" = "x"; then
9258 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_SHARED}"
9259 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_SHARED_GL}"
9261 WX_TARGET_LIBRARY_TYPE
="so"
9263 WX_TARGET_LIBRARY
="${WX_LIBRARY_NAME_STATIC}"
9264 WX_TARGET_LIBRARY_GL
="${WX_LIBRARY_NAME_STATIC_GL}"
9266 if test "$wxUSE_OPENGL" = "yes"; then
9267 WX_ALL_INSTALLED
="preinstall_gl"
9268 WX_ALL
="${WX_LIBRARY_NAME_STATIC} ${WX_LIBRARY_NAME_STATIC_GL}"
9270 WX_ALL
="${WX_LIBRARY_NAME_STATIC}"
9273 if test "$wxUSE_GUI" = "no"; then
9274 WX_ALL_INSTALLED
="${WX_ALL_INSTALLED} preinstall"
9277 WX_TARGET_LIBRARY_TYPE
="a"
9281 for ac_hdr
in strings.h
9283 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9284 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9285 echo "configure:9286: checking for $ac_hdr" >&5
9286 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9287 echo $ac_n "(cached) $ac_c" 1>&6
9289 cat > conftest.
$ac_ext <<EOF
9290 #line 9291 "configure"
9291 #include "confdefs.h"
9294 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9295 { (eval echo configure
:9296: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9296 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9297 if test -z "$ac_err"; then
9299 eval "ac_cv_header_$ac_safe=yes"
9302 echo "configure: failed program was:" >&5
9303 cat conftest.
$ac_ext >&5
9305 eval "ac_cv_header_$ac_safe=no"
9309 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9310 echo "$ac_t""yes" 1>&6
9311 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9312 cat >> confdefs.h
<<EOF
9313 #define $ac_tr_hdr 1
9317 echo "$ac_t""no" 1>&6
9321 for ac_hdr
in unistd.h
9323 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9324 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9325 echo "configure:9326: checking for $ac_hdr" >&5
9326 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9327 echo $ac_n "(cached) $ac_c" 1>&6
9329 cat > conftest.
$ac_ext <<EOF
9330 #line 9331 "configure"
9331 #include "confdefs.h"
9334 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9335 { (eval echo configure
:9336: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9336 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9337 if test -z "$ac_err"; then
9339 eval "ac_cv_header_$ac_safe=yes"
9342 echo "configure: failed program was:" >&5
9343 cat conftest.
$ac_ext >&5
9345 eval "ac_cv_header_$ac_safe=no"
9349 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9350 echo "$ac_t""yes" 1>&6
9351 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9352 cat >> confdefs.h
<<EOF
9353 #define $ac_tr_hdr 1
9357 echo "$ac_t""no" 1>&6
9361 for ac_hdr
in fcntl.h
9363 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9364 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9365 echo "configure:9366: checking for $ac_hdr" >&5
9366 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9367 echo $ac_n "(cached) $ac_c" 1>&6
9369 cat > conftest.
$ac_ext <<EOF
9370 #line 9371 "configure"
9371 #include "confdefs.h"
9374 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9375 { (eval echo configure
:9376: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9376 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9377 if test -z "$ac_err"; then
9379 eval "ac_cv_header_$ac_safe=yes"
9382 echo "configure: failed program was:" >&5
9383 cat conftest.
$ac_ext >&5
9385 eval "ac_cv_header_$ac_safe=no"
9389 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9390 echo "$ac_t""yes" 1>&6
9391 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9392 cat >> confdefs.h
<<EOF
9393 #define $ac_tr_hdr 1
9397 echo "$ac_t""no" 1>&6
9401 for ac_hdr
in wchar.h
9403 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9404 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9405 echo "configure:9406: checking for $ac_hdr" >&5
9406 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9407 echo $ac_n "(cached) $ac_c" 1>&6
9409 cat > conftest.
$ac_ext <<EOF
9410 #line 9411 "configure"
9411 #include "confdefs.h"
9414 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9415 { (eval echo configure
:9416: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9416 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9417 if test -z "$ac_err"; then
9419 eval "ac_cv_header_$ac_safe=yes"
9422 echo "configure: failed program was:" >&5
9423 cat conftest.
$ac_ext >&5
9425 eval "ac_cv_header_$ac_safe=no"
9429 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9430 echo "$ac_t""yes" 1>&6
9431 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9432 cat >> confdefs.h
<<EOF
9433 #define $ac_tr_hdr 1
9437 echo "$ac_t""no" 1>&6
9441 for ac_hdr
in wcstr.h
9443 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9444 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9445 echo "configure:9446: checking for $ac_hdr" >&5
9446 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9447 echo $ac_n "(cached) $ac_c" 1>&6
9449 cat > conftest.
$ac_ext <<EOF
9450 #line 9451 "configure"
9451 #include "confdefs.h"
9454 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9455 { (eval echo configure
:9456: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9456 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9457 if test -z "$ac_err"; then
9459 eval "ac_cv_header_$ac_safe=yes"
9462 echo "configure: failed program was:" >&5
9463 cat conftest.
$ac_ext >&5
9465 eval "ac_cv_header_$ac_safe=no"
9469 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9470 echo "$ac_t""yes" 1>&6
9471 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9472 cat >> confdefs.h
<<EOF
9473 #define $ac_tr_hdr 1
9477 echo "$ac_t""no" 1>&6
9481 for ac_hdr
in fnmatch.h
9483 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9484 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9485 echo "configure:9486: checking for $ac_hdr" >&5
9486 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9487 echo $ac_n "(cached) $ac_c" 1>&6
9489 cat > conftest.
$ac_ext <<EOF
9490 #line 9491 "configure"
9491 #include "confdefs.h"
9494 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9495 { (eval echo configure
:9496: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9496 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9497 if test -z "$ac_err"; then
9499 eval "ac_cv_header_$ac_safe=yes"
9502 echo "configure: failed program was:" >&5
9503 cat conftest.
$ac_ext >&5
9505 eval "ac_cv_header_$ac_safe=no"
9509 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9510 echo "$ac_t""yes" 1>&6
9511 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9512 cat >> confdefs.h
<<EOF
9513 #define $ac_tr_hdr 1
9517 echo "$ac_t""no" 1>&6
9521 for ac_hdr
in iconv.h
9523 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9524 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9525 echo "configure:9526: checking for $ac_hdr" >&5
9526 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9527 echo $ac_n "(cached) $ac_c" 1>&6
9529 cat > conftest.
$ac_ext <<EOF
9530 #line 9531 "configure"
9531 #include "confdefs.h"
9534 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9535 { (eval echo configure
:9536: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9536 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9537 if test -z "$ac_err"; then
9539 eval "ac_cv_header_$ac_safe=yes"
9542 echo "configure: failed program was:" >&5
9543 cat conftest.
$ac_ext >&5
9545 eval "ac_cv_header_$ac_safe=no"
9549 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9550 echo "$ac_t""yes" 1>&6
9551 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9552 cat >> confdefs.h
<<EOF
9553 #define $ac_tr_hdr 1
9557 echo "$ac_t""no" 1>&6
9561 for ac_hdr
in langinfo.h
9563 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9564 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9565 echo "configure:9566: checking for $ac_hdr" >&5
9566 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9567 echo $ac_n "(cached) $ac_c" 1>&6
9569 cat > conftest.
$ac_ext <<EOF
9570 #line 9571 "configure"
9571 #include "confdefs.h"
9574 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9575 { (eval echo configure
:9576: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9576 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9577 if test -z "$ac_err"; then
9579 eval "ac_cv_header_$ac_safe=yes"
9582 echo "configure: failed program was:" >&5
9583 cat conftest.
$ac_ext >&5
9585 eval "ac_cv_header_$ac_safe=no"
9589 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9590 echo "$ac_t""yes" 1>&6
9591 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9592 cat >> confdefs.h
<<EOF
9593 #define $ac_tr_hdr 1
9597 echo "$ac_t""no" 1>&6
9602 if test "$wxUSE_GUI" = "yes"; then
9603 if test "$wxUSE_UNIX" = "yes"; then
9604 for ac_hdr
in X
11/XKBlib.h
9606 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
9607 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
9608 echo "configure:9609: checking for $ac_hdr" >&5
9609 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
9610 echo $ac_n "(cached) $ac_c" 1>&6
9612 cat > conftest.
$ac_ext <<EOF
9613 #line 9614 "configure"
9614 #include "confdefs.h"
9617 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9618 { (eval echo configure
:9619: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9619 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9620 if test -z "$ac_err"; then
9622 eval "ac_cv_header_$ac_safe=yes"
9625 echo "configure: failed program was:" >&5
9626 cat conftest.
$ac_ext >&5
9628 eval "ac_cv_header_$ac_safe=no"
9632 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
9633 echo "$ac_t""yes" 1>&6
9634 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
9635 cat >> confdefs.h
<<EOF
9636 #define $ac_tr_hdr 1
9640 echo "$ac_t""no" 1>&6
9648 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
9649 echo "configure:9650: checking for ANSI C header files" >&5
9650 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
9651 echo $ac_n "(cached) $ac_c" 1>&6
9653 cat > conftest.
$ac_ext <<EOF
9654 #line 9655 "configure"
9655 #include "confdefs.h"
9661 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
9662 { (eval echo configure
:9663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
9663 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
9664 if test -z "$ac_err"; then
9666 ac_cv_header_stdc
=yes
9669 echo "configure: failed program was:" >&5
9670 cat conftest.
$ac_ext >&5
9672 ac_cv_header_stdc
=no
9676 if test $ac_cv_header_stdc = yes; then
9677 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
9678 cat > conftest.
$ac_ext <<EOF
9679 #line 9680 "configure"
9680 #include "confdefs.h"
9683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9684 egrep "memchr" >/dev
/null
2>&1; then
9688 ac_cv_header_stdc
=no
9694 if test $ac_cv_header_stdc = yes; then
9695 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
9696 cat > conftest.
$ac_ext <<EOF
9697 #line 9698 "configure"
9698 #include "confdefs.h"
9701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9702 egrep "free" >/dev
/null
2>&1; then
9706 ac_cv_header_stdc
=no
9712 if test $ac_cv_header_stdc = yes; then
9713 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
9714 if test "$cross_compiling" = yes; then
9717 cat > conftest.
$ac_ext <<EOF
9718 #line 9719 "configure"
9719 #include "confdefs.h"
9721 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
9722 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
9723 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
9724 int main () { int i; for (i = 0; i < 256; i++)
9725 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
9729 if { (eval echo configure
:9730: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
9733 echo "configure: failed program was:" >&5
9734 cat conftest.
$ac_ext >&5
9736 ac_cv_header_stdc
=no
9744 echo "$ac_t""$ac_cv_header_stdc" 1>&6
9745 if test $ac_cv_header_stdc = yes; then
9746 cat >> confdefs.h
<<\EOF
9747 #define STDC_HEADERS 1
9752 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
9753 echo "configure:9754: checking for mode_t" >&5
9754 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
9755 echo $ac_n "(cached) $ac_c" 1>&6
9757 cat > conftest.
$ac_ext <<EOF
9758 #line 9759 "configure"
9759 #include "confdefs.h"
9760 #include <sys/types.h>
9766 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9767 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9769 ac_cv_type_mode_t
=yes
9772 ac_cv_type_mode_t
=no
9777 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
9778 if test $ac_cv_type_mode_t = no
; then
9779 cat >> confdefs.h
<<\EOF
9785 echo $ac_n "checking for off_t""... $ac_c" 1>&6
9786 echo "configure:9787: checking for off_t" >&5
9787 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
9788 echo $ac_n "(cached) $ac_c" 1>&6
9790 cat > conftest.
$ac_ext <<EOF
9791 #line 9792 "configure"
9792 #include "confdefs.h"
9793 #include <sys/types.h>
9799 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9800 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9802 ac_cv_type_off_t
=yes
9810 echo "$ac_t""$ac_cv_type_off_t" 1>&6
9811 if test $ac_cv_type_off_t = no
; then
9812 cat >> confdefs.h
<<\EOF
9818 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
9819 echo "configure:9820: checking for pid_t" >&5
9820 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
9821 echo $ac_n "(cached) $ac_c" 1>&6
9823 cat > conftest.
$ac_ext <<EOF
9824 #line 9825 "configure"
9825 #include "confdefs.h"
9826 #include <sys/types.h>
9832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9833 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9835 ac_cv_type_pid_t
=yes
9843 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
9844 if test $ac_cv_type_pid_t = no
; then
9845 cat >> confdefs.h
<<\EOF
9851 echo $ac_n "checking for size_t""... $ac_c" 1>&6
9852 echo "configure:9853: checking for size_t" >&5
9853 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
9854 echo $ac_n "(cached) $ac_c" 1>&6
9856 cat > conftest.
$ac_ext <<EOF
9857 #line 9858 "configure"
9858 #include "confdefs.h"
9859 #include <sys/types.h>
9865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9866 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
9868 ac_cv_type_size_t
=yes
9871 ac_cv_type_size_t
=no
9876 echo "$ac_t""$ac_cv_type_size_t" 1>&6
9877 if test $ac_cv_type_size_t = no
; then
9878 cat >> confdefs.h
<<\EOF
9879 #define size_t unsigned
9884 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
9885 echo "configure:9886: checking for uid_t in sys/types.h" >&5
9886 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
9887 echo $ac_n "(cached) $ac_c" 1>&6
9889 cat > conftest.
$ac_ext <<EOF
9890 #line 9891 "configure"
9891 #include "confdefs.h"
9892 #include <sys/types.h>
9894 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9895 egrep "uid_t" >/dev
/null
2>&1; then
9897 ac_cv_type_uid_t
=yes
9906 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
9907 if test $ac_cv_type_uid_t = no
; then
9908 cat >> confdefs.h
<<\EOF
9912 cat >> confdefs.h
<<\EOF
9920 echo $ac_n "checking for pw_gecos in struct passwd""... $ac_c" 1>&6
9921 echo "configure:9922: checking for pw_gecos in struct passwd" >&5
9922 if eval "test \"`echo '$''{'wx_cv_struct_pw_gecos'+set}'`\" = set"; then
9923 echo $ac_n "(cached) $ac_c" 1>&6
9926 cat > conftest.
$ac_ext <<EOF
9927 #line 9928 "configure"
9928 #include "confdefs.h"
9938 if { (eval echo configure
:9939: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
9941 wx_cv_struct_pw_gecos
=yes
9944 echo "configure: failed program was:" >&5
9945 cat conftest.
$ac_ext >&5
9948 wx_cv_struct_pw_gecos
=no
9957 echo "$ac_t""$wx_cv_struct_pw_gecos" 1>&6
9959 if test "$wx_cv_struct_pw_gecos" = "yes"; then
9960 cat >> confdefs.h
<<\EOF
9961 #define HAVE_PW_GECOS 1
9967 echo $ac_n "checking for working const""... $ac_c" 1>&6
9968 echo "configure:9969: checking for working const" >&5
9969 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
9970 echo $ac_n "(cached) $ac_c" 1>&6
9972 cat > conftest.
$ac_ext <<EOF
9973 #line 9974 "configure"
9974 #include "confdefs.h"
9978 /* Ultrix mips cc rejects this. */
9979 typedef int charset[2]; const charset x;
9980 /* SunOS 4.1.1 cc rejects this. */
9981 char const *const *ccp;
9983 /* NEC SVR4.0.2 mips cc rejects this. */
9984 struct point {int x, y;};
9985 static struct point const zero = {0,0};
9986 /* AIX XL C 1.02.0.0 rejects this.
9987 It does not let you subtract one const X* pointer from another in an arm
9988 of an if-expression whose if-part is not a constant expression */
9989 const char *g = "string";
9990 ccp = &g + (g ? g-g : 0);
9991 /* HPUX 7.0 cc rejects these. */
9994 ccp = (char const *const *) p;
9995 { /* SCO 3.2v4 cc rejects this. */
9997 char const *s = 0 ? (char *) 0 : (char const *) 0;
10001 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
10002 int x[] = {25, 17};
10003 const int *foo = &x[0];
10006 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
10007 typedef const int *iptr;
10011 { /* AIX XL C 1.02.0.0 rejects this saying
10012 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
10013 struct s { int j; const int *ap[3]; };
10014 struct s *b; b->j = 5;
10016 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
10017 const int foo = 10;
10022 if { (eval echo configure
:10023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10026 echo "configure: failed program was:" >&5
10027 cat conftest.
$ac_ext >&5
10034 echo "$ac_t""$ac_cv_c_const" 1>&6
10035 if test $ac_cv_c_const = no
; then
10036 cat >> confdefs.h
<<\EOF
10042 echo $ac_n "checking for inline""... $ac_c" 1>&6
10043 echo "configure:10044: checking for inline" >&5
10044 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
10045 echo $ac_n "(cached) $ac_c" 1>&6
10048 for ac_kw
in inline __inline__ __inline
; do
10049 cat > conftest.
$ac_ext <<EOF
10050 #line 10051 "configure"
10051 #include "confdefs.h"
10057 if { (eval echo configure
:10058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10059 ac_cv_c_inline
=$ac_kw; break
10061 echo "configure: failed program was:" >&5
10062 cat conftest.
$ac_ext >&5
10069 echo "$ac_t""$ac_cv_c_inline" 1>&6
10070 case "$ac_cv_c_inline" in
10072 no
) cat >> confdefs.h
<<\EOF
10076 *) cat >> confdefs.h
<<EOF
10077 #define inline $ac_cv_c_inline
10083 echo $ac_n "checking size of char""... $ac_c" 1>&6
10084 echo "configure:10085: checking size of char" >&5
10085 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
10086 echo $ac_n "(cached) $ac_c" 1>&6
10088 if test "$cross_compiling" = yes; then
10089 ac_cv_sizeof_char
=1
10091 cat > conftest.
$ac_ext <<EOF
10092 #line 10093 "configure"
10093 #include "confdefs.h"
10097 FILE *f=fopen("conftestval", "w");
10099 fprintf(f, "%d\n", sizeof(char));
10103 if { (eval echo configure
:10104: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10105 ac_cv_sizeof_char
=`cat conftestval`
10107 echo "configure: failed program was:" >&5
10108 cat conftest.
$ac_ext >&5
10110 ac_cv_sizeof_char
=0
10116 echo "$ac_t""$ac_cv_sizeof_char" 1>&6
10117 cat >> confdefs.h
<<EOF
10118 #define SIZEOF_CHAR $ac_cv_sizeof_char
10122 echo $ac_n "checking size of wchar_t""... $ac_c" 1>&6
10123 echo "configure:10124: checking size of wchar_t" >&5
10124 if eval "test \"`echo '$''{'ac_cv_sizeof_wchar_t'+set}'`\" = set"; then
10125 echo $ac_n "(cached) $ac_c" 1>&6
10127 if test "$cross_compiling" = yes; then
10128 ac_cv_sizeof_wchar_t
=4
10130 cat > conftest.
$ac_ext <<EOF
10131 #line 10132 "configure"
10132 #include "confdefs.h"
10136 FILE *f=fopen("conftestval", "w");
10138 fprintf(f, "%d\n", sizeof(wchar_t));
10142 if { (eval echo configure
:10143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10144 ac_cv_sizeof_wchar_t
=`cat conftestval`
10146 echo "configure: failed program was:" >&5
10147 cat conftest.
$ac_ext >&5
10149 ac_cv_sizeof_wchar_t
=0
10155 echo "$ac_t""$ac_cv_sizeof_wchar_t" 1>&6
10156 cat >> confdefs.h
<<EOF
10157 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
10161 echo $ac_n "checking size of short""... $ac_c" 1>&6
10162 echo "configure:10163: checking size of short" >&5
10163 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
10164 echo $ac_n "(cached) $ac_c" 1>&6
10166 if test "$cross_compiling" = yes; then
10167 ac_cv_sizeof_short
=2
10169 cat > conftest.
$ac_ext <<EOF
10170 #line 10171 "configure"
10171 #include "confdefs.h"
10175 FILE *f=fopen("conftestval", "w");
10177 fprintf(f, "%d\n", sizeof(short));
10181 if { (eval echo configure
:10182: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10183 ac_cv_sizeof_short
=`cat conftestval`
10185 echo "configure: failed program was:" >&5
10186 cat conftest.
$ac_ext >&5
10188 ac_cv_sizeof_short
=0
10194 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
10195 cat >> confdefs.h
<<EOF
10196 #define SIZEOF_SHORT $ac_cv_sizeof_short
10200 echo $ac_n "checking size of int *""... $ac_c" 1>&6
10201 echo "configure:10202: checking size of int *" >&5
10202 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
10203 echo $ac_n "(cached) $ac_c" 1>&6
10205 if test "$cross_compiling" = yes; then
10206 ac_cv_sizeof_int_p
=4
10208 cat > conftest.
$ac_ext <<EOF
10209 #line 10210 "configure"
10210 #include "confdefs.h"
10214 FILE *f=fopen("conftestval", "w");
10216 fprintf(f, "%d\n", sizeof(int *));
10220 if { (eval echo configure
:10221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10222 ac_cv_sizeof_int_p
=`cat conftestval`
10224 echo "configure: failed program was:" >&5
10225 cat conftest.
$ac_ext >&5
10227 ac_cv_sizeof_int_p
=0
10233 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
10234 cat >> confdefs.h
<<EOF
10235 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
10239 echo $ac_n "checking size of int""... $ac_c" 1>&6
10240 echo "configure:10241: checking size of int" >&5
10241 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
10242 echo $ac_n "(cached) $ac_c" 1>&6
10244 if test "$cross_compiling" = yes; then
10247 cat > conftest.
$ac_ext <<EOF
10248 #line 10249 "configure"
10249 #include "confdefs.h"
10253 FILE *f=fopen("conftestval", "w");
10255 fprintf(f, "%d\n", sizeof(int));
10259 if { (eval echo configure
:10260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10261 ac_cv_sizeof_int
=`cat conftestval`
10263 echo "configure: failed program was:" >&5
10264 cat conftest.
$ac_ext >&5
10272 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
10273 cat >> confdefs.h
<<EOF
10274 #define SIZEOF_INT $ac_cv_sizeof_int
10278 echo $ac_n "checking size of long""... $ac_c" 1>&6
10279 echo "configure:10280: checking size of long" >&5
10280 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
10281 echo $ac_n "(cached) $ac_c" 1>&6
10283 if test "$cross_compiling" = yes; then
10284 ac_cv_sizeof_long
=4
10286 cat > conftest.
$ac_ext <<EOF
10287 #line 10288 "configure"
10288 #include "confdefs.h"
10292 FILE *f=fopen("conftestval", "w");
10294 fprintf(f, "%d\n", sizeof(long));
10298 if { (eval echo configure
:10299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10300 ac_cv_sizeof_long
=`cat conftestval`
10302 echo "configure: failed program was:" >&5
10303 cat conftest.
$ac_ext >&5
10305 ac_cv_sizeof_long
=0
10311 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
10312 cat >> confdefs.h
<<EOF
10313 #define SIZEOF_LONG $ac_cv_sizeof_long
10317 echo $ac_n "checking size of long long""... $ac_c" 1>&6
10318 echo "configure:10319: checking size of long long" >&5
10319 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
10320 echo $ac_n "(cached) $ac_c" 1>&6
10322 if test "$cross_compiling" = yes; then
10323 ac_cv_sizeof_long_long
=0
10325 cat > conftest.
$ac_ext <<EOF
10326 #line 10327 "configure"
10327 #include "confdefs.h"
10331 FILE *f=fopen("conftestval", "w");
10333 fprintf(f, "%d\n", sizeof(long long));
10337 if { (eval echo configure
:10338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10339 ac_cv_sizeof_long_long
=`cat conftestval`
10341 echo "configure: failed program was:" >&5
10342 cat conftest.
$ac_ext >&5
10344 ac_cv_sizeof_long_long
=0
10350 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
10351 cat >> confdefs.h
<<EOF
10352 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
10357 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
10358 echo "configure:10359: checking whether byte ordering is bigendian" >&5
10359 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
10360 echo $ac_n "(cached) $ac_c" 1>&6
10362 ac_cv_c_bigendian
=unknown
10363 # See if sys/param.h defines the BYTE_ORDER macro.
10364 cat > conftest.
$ac_ext <<EOF
10365 #line 10366 "configure"
10366 #include "confdefs.h"
10367 #include <sys/types.h>
10368 #include <sys/param.h>
10371 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
10372 bogus endian macros
10376 if { (eval echo configure
:10377: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10378 # It does; now see whether it defined to BIG_ENDIAN or not.
10379 cat > conftest.
$ac_ext <<EOF
10380 #line 10381 "configure"
10381 #include "confdefs.h"
10382 #include <sys/types.h>
10383 #include <sys/param.h>
10386 #if BYTE_ORDER != BIG_ENDIAN
10391 if { (eval echo configure
:10392: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10393 ac_cv_c_bigendian
=yes
10395 echo "configure: failed program was:" >&5
10396 cat conftest.
$ac_ext >&5
10398 ac_cv_c_bigendian
=no
10402 echo "configure: failed program was:" >&5
10403 cat conftest.
$ac_ext >&5
10406 if test $ac_cv_c_bigendian = unknown
; then
10407 if test "$cross_compiling" = yes; then
10408 ac_cv_c_bigendian
=unknown
10410 cat > conftest.
$ac_ext <<EOF
10411 #line 10412 "configure"
10412 #include "confdefs.h"
10414 /* Are we little or big endian? From Harbison&Steele. */
10418 char c[sizeof (long)];
10421 exit (u.c[sizeof (long) - 1] == 1);
10424 if { (eval echo configure
:10425: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
10426 ac_cv_c_bigendian
=no
10428 echo "configure: failed program was:" >&5
10429 cat conftest.
$ac_ext >&5
10431 ac_cv_c_bigendian
=yes
10439 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
10440 if test $ac_cv_c_bigendian = unknown
; then
10441 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
10443 if test $ac_cv_c_bigendian = yes; then
10444 cat >> confdefs.h
<<\EOF
10445 #define WORDS_BIGENDIAN 1
10452 if test "$cross_compiling" = "yes"; then
10453 cat >> confdefs.h
<<\EOF
10454 #define wxUSE_IOSTREAMH 1
10460 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10461 ac_cpp
='$CXXCPP $CPPFLAGS'
10462 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10463 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10464 cross_compiling
=$ac_cv_prog_cxx_cross
10467 for ac_hdr
in iostream
10469 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
10470 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
10471 echo "configure:10472: checking for $ac_hdr" >&5
10472 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
10473 echo $ac_n "(cached) $ac_c" 1>&6
10475 cat > conftest.
$ac_ext <<EOF
10476 #line 10477 "configure"
10477 #include "confdefs.h"
10480 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
10481 { (eval echo configure
:10482: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
10482 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
10483 if test -z "$ac_err"; then
10485 eval "ac_cv_header_$ac_safe=yes"
10488 echo "configure: failed program was:" >&5
10489 cat conftest.
$ac_ext >&5
10491 eval "ac_cv_header_$ac_safe=no"
10495 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
10496 echo "$ac_t""yes" 1>&6
10497 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
10498 cat >> confdefs.h
<<EOF
10499 #define $ac_tr_hdr 1
10503 echo "$ac_t""no" 1>&6
10508 if test "x$HAVE_IOSTREAM" = x
; then
10509 cat >> confdefs.h
<<\EOF
10510 #define wxUSE_IOSTREAMH 1
10518 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10519 ac_cpp
='$CPP $CPPFLAGS'
10520 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10521 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10522 cross_compiling
=$ac_cv_prog_cc_cross
10528 echo $ac_n "checking if C++ compiler supports bool""... $ac_c" 1>&6
10529 echo "configure:10530: checking if C++ compiler supports bool" >&5
10530 if eval "test \"`echo '$''{'wx_cv_cpp_bool'+set}'`\" = set"; then
10531 echo $ac_n "(cached) $ac_c" 1>&6
10536 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10537 ac_cpp
='$CXXCPP $CPPFLAGS'
10538 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10539 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10540 cross_compiling
=$ac_cv_prog_cxx_cross
10543 cat > conftest.
$ac_ext <<EOF
10544 #line 10545 "configure"
10545 #include "confdefs.h"
10556 if { (eval echo configure
:10557: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10559 cat >> confdefs.h
<<\EOF
10560 #define HAVE_BOOL 1
10566 echo "configure: failed program was:" >&5
10567 cat conftest.
$ac_ext >&5
10577 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10578 ac_cpp
='$CPP $CPPFLAGS'
10579 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10580 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10581 cross_compiling
=$ac_cv_prog_cc_cross
10586 echo "$ac_t""$wx_cv_cpp_bool" 1>&6
10588 if test "$wx_cv_cpp_bool" = "yes"; then
10589 cat >> confdefs.h
<<\EOF
10590 #define HAVE_BOOL 1
10597 echo $ac_n "checking if you need GNU extensions""... $ac_c" 1>&6
10598 echo "configure:10599: checking if you need GNU extensions" >&5
10599 if eval "test \"`echo '$''{'wx_cv_gnu_extensions'+set}'`\" = set"; then
10600 echo $ac_n "(cached) $ac_c" 1>&6
10603 cat > conftest.
$ac_ext <<EOF
10604 #line 10605 "configure"
10605 #include "confdefs.h"
10606 #include <features.h>
10610 #ifndef __GNU_LIBRARY__
10611 Compile error wanted
10617 if { (eval echo configure
:10618: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10619 wx_cv_gnu_extensions
=yes
10621 echo "configure: failed program was:" >&5
10622 cat conftest.
$ac_ext >&5
10624 wx_cv_gnu_extensions
=no
10631 echo "$ac_t""$wx_cv_gnu_extensions" 1>&6
10632 if test "$wx_cv_gnu_extensions" = "yes"; then
10633 cat >> confdefs.h
<<EOF
10634 #define _GNU_SOURCE 1
10641 echo $ac_n "checking for wcslen in -lc""... $ac_c" 1>&6
10642 echo "configure:10643: checking for wcslen in -lc" >&5
10643 ac_lib_var
=`echo c'_'wcslen | 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"
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. */
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
10677 cat >> confdefs.h
<<\EOF
10678 #define HAVE_WCSLEN 1
10684 echo "$ac_t""no" 1>&6
10686 echo $ac_n "checking for wcslen in -lw""... $ac_c" 1>&6
10687 echo "configure:10688: checking for wcslen in -lw" >&5
10688 ac_lib_var
=`echo w'_'wcslen | sed 'y%./+-%__p_%'`
10689 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
10690 echo $ac_n "(cached) $ac_c" 1>&6
10692 ac_save_LIBS
="$LIBS"
10694 cat > conftest.
$ac_ext <<EOF
10695 #line 10696 "configure"
10696 #include "confdefs.h"
10697 /* Override any gcc2 internal prototype to avoid an error. */
10698 /* We use char because int might match the return type of a gcc2
10699 builtin and then its argument prototype would still apply. */
10706 if { (eval echo configure
:10707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10708 eval "ac_cv_lib_$ac_lib_var=yes"
10710 echo "configure: failed program was:" >&5
10711 cat conftest.
$ac_ext >&5
10713 eval "ac_cv_lib_$ac_lib_var=no"
10716 LIBS
="$ac_save_LIBS"
10719 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
10720 echo "$ac_t""yes" 1>&6
10722 cat >> confdefs.h
<<\EOF
10723 #define HAVE_WCSLEN 1
10729 echo "$ac_t""no" 1>&6
10736 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
10737 echo "configure:10738: checking for vprintf" >&5
10738 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
10739 echo $ac_n "(cached) $ac_c" 1>&6
10741 cat > conftest.
$ac_ext <<EOF
10742 #line 10743 "configure"
10743 #include "confdefs.h"
10744 /* System header to define __stub macros and hopefully few prototypes,
10745 which can conflict with char vprintf(); below. */
10746 #include <assert.h>
10747 /* Override any gcc2 internal prototype to avoid an error. */
10748 /* We use char because int might match the return type of a gcc2
10749 builtin and then its argument prototype would still apply. */
10754 /* The GNU C library defines this for functions which it implements
10755 to always fail with ENOSYS. Some functions are actually named
10756 something starting with __ and the normal name is an alias. */
10757 #if defined (__stub_vprintf) || defined (__stub___vprintf)
10765 if { (eval echo configure
:10766: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10767 eval "ac_cv_func_vprintf=yes"
10769 echo "configure: failed program was:" >&5
10770 cat conftest.
$ac_ext >&5
10772 eval "ac_cv_func_vprintf=no"
10777 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
10778 echo "$ac_t""yes" 1>&6
10779 cat >> confdefs.h
<<\EOF
10780 #define HAVE_VPRINTF 1
10784 echo "$ac_t""no" 1>&6
10787 if test "$ac_cv_func_vprintf" != yes; then
10788 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
10789 echo "configure:10790: checking for _doprnt" >&5
10790 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
10791 echo $ac_n "(cached) $ac_c" 1>&6
10793 cat > conftest.
$ac_ext <<EOF
10794 #line 10795 "configure"
10795 #include "confdefs.h"
10796 /* System header to define __stub macros and hopefully few prototypes,
10797 which can conflict with char _doprnt(); below. */
10798 #include <assert.h>
10799 /* Override any gcc2 internal prototype to avoid an error. */
10800 /* We use char because int might match the return type of a gcc2
10801 builtin and then its argument prototype would still apply. */
10806 /* The GNU C library defines this for functions which it implements
10807 to always fail with ENOSYS. Some functions are actually named
10808 something starting with __ and the normal name is an alias. */
10809 #if defined (__stub__doprnt) || defined (__stub____doprnt)
10817 if { (eval echo configure
:10818: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
10819 eval "ac_cv_func__doprnt=yes"
10821 echo "configure: failed program was:" >&5
10822 cat conftest.
$ac_ext >&5
10824 eval "ac_cv_func__doprnt=no"
10829 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
10830 echo "$ac_t""yes" 1>&6
10831 cat >> confdefs.h
<<\EOF
10832 #define HAVE_DOPRNT 1
10836 echo "$ac_t""no" 1>&6
10844 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
10845 ac_cpp
='$CXXCPP $CPPFLAGS'
10846 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
10847 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
10848 cross_compiling
=$ac_cv_prog_cxx_cross
10854 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
10855 echo "configure:10856: checking for vsnprintf" >&5
10856 if eval "test \"`echo '$''{'wx_cv_func_vsnprintf'+set}'`\" = set"; then
10857 echo $ac_n "(cached) $ac_c" 1>&6
10860 cat > conftest.
$ac_ext <<EOF
10861 #line 10862 "configure"
10862 #include "confdefs.h"
10865 #include <stdarg.h>
10869 int wx_test_vsnprintf(const char *, ...);
10871 wx_test_vsnprintf("%s");
10875 int wx_test_vsnprintf(const char *fmt, ...)
10880 va_start(argp, fmt);
10881 vsnprintf(s, 42, fmt, argp);
10886 if { (eval echo configure
:10887: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10889 cat >> confdefs.h
<<\EOF
10890 #define HAVE_VSNPRINTF 1
10893 wx_cv_func_vsnprintf
=yes
10896 echo "configure: failed program was:" >&5
10897 cat conftest.
$ac_ext >&5
10900 cat > conftest.
$ac_ext <<EOF
10901 #line 10902 "configure"
10902 #include "confdefs.h"
10905 #include <stdarg.h>
10909 int wx_test_vsnprintf(const char *, ...);
10911 wx_test_vsnprintf("%s");
10915 int wx_test_vsnprintf(const char *fmt, ...)
10920 va_start(argp, fmt);
10921 _vsnprintf(s, 42, fmt, argp);
10926 if { (eval echo configure
:10927: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10929 cat >> confdefs.h
<<\EOF
10930 #define HAVE_VSNPRINTF 1
10933 wx_cv_func_vsnprintf
=yes
10936 echo "configure: failed program was:" >&5
10937 cat conftest.
$ac_ext >&5
10940 echo "configure: warning: unsafe function sprintf will be used instead of snprintf" 1>&2
10941 wx_cv_func_vsnprintf
=no
10951 echo "$ac_t""$wx_cv_func_vsnprintf" 1>&6
10953 echo $ac_n "checking for vsscanf""... $ac_c" 1>&6
10954 echo "configure:10955: checking for vsscanf" >&5
10955 if eval "test \"`echo '$''{'wx_cv_func_vsscanf'+set}'`\" = set"; then
10956 echo $ac_n "(cached) $ac_c" 1>&6
10959 cat > conftest.
$ac_ext <<EOF
10960 #line 10961 "configure"
10961 #include "confdefs.h"
10964 #include <stdarg.h>
10968 int wx_test_vsscanf(const char *, ...);
10970 wx_test_vsscanf("%d");
10974 int wx_test_vsscanf(const char *fmt, ...)
10977 va_start(argp, fmt);
10978 vsscanf("42", fmt, argp);
10983 if { (eval echo configure
:10984: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
10986 cat >> confdefs.h
<<\EOF
10987 #define HAVE_VSSCANF 1
10990 wx_cv_func_vsscanf
=yes
10993 echo "configure: failed program was:" >&5
10994 cat conftest.
$ac_ext >&5
10997 wx_cv_func_vsscanf
=no
11004 echo "$ac_t""$wx_cv_func_vsscanf" 1>&6
11007 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11008 ac_cpp
='$CPP $CPPFLAGS'
11009 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11010 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11011 cross_compiling
=$ac_cv_prog_cc_cross
11014 if test "$TOOLKIT" != "MSW"; then
11016 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
11017 for ac_func
in sigaction
11019 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11020 echo "configure:11021: checking for $ac_func" >&5
11021 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11022 echo $ac_n "(cached) $ac_c" 1>&6
11024 cat > conftest.
$ac_ext <<EOF
11025 #line 11026 "configure"
11026 #include "confdefs.h"
11027 /* System header to define __stub macros and hopefully few prototypes,
11028 which can conflict with char $ac_func(); below. */
11029 #include <assert.h>
11030 /* Override any gcc2 internal prototype to avoid an error. */
11031 /* We use char because int might match the return type of a gcc2
11032 builtin and then its argument prototype would still apply. */
11037 /* The GNU C library defines this for functions which it implements
11038 to always fail with ENOSYS. Some functions are actually named
11039 something starting with __ and the normal name is an alias. */
11040 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11048 if { (eval echo configure
:11049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11050 eval "ac_cv_func_$ac_func=yes"
11052 echo "configure: failed program was:" >&5
11053 cat conftest.
$ac_ext >&5
11055 eval "ac_cv_func_$ac_func=no"
11060 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11061 echo "$ac_t""yes" 1>&6
11062 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11063 cat >> confdefs.h
<<EOF
11064 #define $ac_tr_func 1
11068 echo "$ac_t""no" 1>&6
11073 if test "$ac_cv_func_sigaction" = "no"; then
11074 echo "configure: warning: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" 1>&2
11075 wxUSE_ON_FATAL_EXCEPTION
=no
11078 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
11081 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11082 ac_cpp
='$CXXCPP $CPPFLAGS'
11083 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11084 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11085 cross_compiling
=$ac_cv_prog_cxx_cross
11088 echo $ac_n "checking for sa_handler type""... $ac_c" 1>&6
11089 echo "configure:11090: checking for sa_handler type" >&5
11090 if eval "test \"`echo '$''{'wx_cv_type_sa_handler'+set}'`\" = set"; then
11091 echo $ac_n "(cached) $ac_c" 1>&6
11094 cat > conftest.
$ac_ext <<EOF
11095 #line 11096 "configure"
11096 #include "confdefs.h"
11097 #include <signal.h>
11100 extern void testSigHandler(int);
11102 struct sigaction sa;
11103 sa.sa_handler = testSigHandler;
11107 if { (eval echo configure
:11108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
11110 wx_cv_type_sa_handler
=int
11113 echo "configure: failed program was:" >&5
11114 cat conftest.
$ac_ext >&5
11117 wx_cv_type_sa_handler
=void
11124 echo "$ac_t""$wx_cv_type_sa_handler" 1>&6
11127 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11128 ac_cpp
='$CPP $CPPFLAGS'
11129 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11130 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11131 cross_compiling
=$ac_cv_prog_cc_cross
11134 cat >> confdefs.h
<<EOF
11135 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
11141 for ac_func
in vfork
11143 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11144 echo "configure:11145: checking for $ac_func" >&5
11145 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11146 echo $ac_n "(cached) $ac_c" 1>&6
11148 cat > conftest.
$ac_ext <<EOF
11149 #line 11150 "configure"
11150 #include "confdefs.h"
11151 /* System header to define __stub macros and hopefully few prototypes,
11152 which can conflict with char $ac_func(); below. */
11153 #include <assert.h>
11154 /* Override any gcc2 internal prototype to avoid an error. */
11155 /* We use char because int might match the return type of a gcc2
11156 builtin and then its argument prototype would still apply. */
11161 /* The GNU C library defines this for functions which it implements
11162 to always fail with ENOSYS. Some functions are actually named
11163 something starting with __ and the normal name is an alias. */
11164 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11172 if { (eval echo configure
:11173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11174 eval "ac_cv_func_$ac_func=yes"
11176 echo "configure: failed program was:" >&5
11177 cat conftest.
$ac_ext >&5
11179 eval "ac_cv_func_$ac_func=no"
11184 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11185 echo "$ac_t""yes" 1>&6
11186 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11187 cat >> confdefs.h
<<EOF
11188 #define $ac_tr_func 1
11192 echo "$ac_t""no" 1>&6
11197 for ac_func
in timegm
11199 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11200 echo "configure:11201: checking for $ac_func" >&5
11201 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11202 echo $ac_n "(cached) $ac_c" 1>&6
11204 cat > conftest.
$ac_ext <<EOF
11205 #line 11206 "configure"
11206 #include "confdefs.h"
11207 /* System header to define __stub macros and hopefully few prototypes,
11208 which can conflict with char $ac_func(); below. */
11209 #include <assert.h>
11210 /* Override any gcc2 internal prototype to avoid an error. */
11211 /* We use char because int might match the return type of a gcc2
11212 builtin and then its argument prototype would still apply. */
11217 /* The GNU C library defines this for functions which it implements
11218 to always fail with ENOSYS. Some functions are actually named
11219 something starting with __ and the normal name is an alias. */
11220 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11228 if { (eval echo configure
:11229: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11230 eval "ac_cv_func_$ac_func=yes"
11232 echo "configure: failed program was:" >&5
11233 cat conftest.
$ac_ext >&5
11235 eval "ac_cv_func_$ac_func=no"
11240 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11241 echo "$ac_t""yes" 1>&6
11242 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11243 cat >> confdefs.h
<<EOF
11244 #define $ac_tr_func 1
11248 echo "$ac_t""no" 1>&6
11253 for ac_func
in putenv setenv
11255 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11256 echo "configure:11257: checking for $ac_func" >&5
11257 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11258 echo $ac_n "(cached) $ac_c" 1>&6
11260 cat > conftest.
$ac_ext <<EOF
11261 #line 11262 "configure"
11262 #include "confdefs.h"
11263 /* System header to define __stub macros and hopefully few prototypes,
11264 which can conflict with char $ac_func(); below. */
11265 #include <assert.h>
11266 /* Override any gcc2 internal prototype to avoid an error. */
11267 /* We use char because int might match the return type of a gcc2
11268 builtin and then its argument prototype would still apply. */
11273 /* The GNU C library defines this for functions which it implements
11274 to always fail with ENOSYS. Some functions are actually named
11275 something starting with __ and the normal name is an alias. */
11276 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11284 if { (eval echo configure
:11285: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11286 eval "ac_cv_func_$ac_func=yes"
11288 echo "configure: failed program was:" >&5
11289 cat conftest.
$ac_ext >&5
11291 eval "ac_cv_func_$ac_func=no"
11296 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11297 echo "$ac_t""yes" 1>&6
11298 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11299 cat >> confdefs.h
<<EOF
11300 #define $ac_tr_func 1
11304 echo "$ac_t""no" 1>&6
11309 HAVE_SOME_SLEEP_FUNC
=0
11310 if test "$USE_BEOS" = 1; then
11311 cat >> confdefs.h
<<\EOF
11312 #define HAVE_SLEEP 1
11315 HAVE_SOME_SLEEP_FUNC
=1
11318 if test "$USE_MAC" = 1; then
11319 cat >> confdefs.h
<<\EOF
11320 #define HAVE_USLEEP 1
11323 HAVE_SOME_SLEEP_FUNC
=1
11326 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
11328 for ac_func
in nanosleep
11330 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11331 echo "configure:11332: checking for $ac_func" >&5
11332 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11333 echo $ac_n "(cached) $ac_c" 1>&6
11335 cat > conftest.
$ac_ext <<EOF
11336 #line 11337 "configure"
11337 #include "confdefs.h"
11338 /* System header to define __stub macros and hopefully few prototypes,
11339 which can conflict with char $ac_func(); below. */
11340 #include <assert.h>
11341 /* Override any gcc2 internal prototype to avoid an error. */
11342 /* We use char because int might match the return type of a gcc2
11343 builtin and then its argument prototype would still apply. */
11348 /* The GNU C library defines this for functions which it implements
11349 to always fail with ENOSYS. Some functions are actually named
11350 something starting with __ and the normal name is an alias. */
11351 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11359 if { (eval echo configure
:11360: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11361 eval "ac_cv_func_$ac_func=yes"
11363 echo "configure: failed program was:" >&5
11364 cat conftest.
$ac_ext >&5
11366 eval "ac_cv_func_$ac_func=no"
11371 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11372 echo "$ac_t""yes" 1>&6
11373 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11374 cat >> confdefs.h
<<EOF
11375 #define $ac_tr_func 1
11377 cat >> confdefs.h
<<\EOF
11378 #define HAVE_NANOSLEEP 1
11382 echo "$ac_t""no" 1>&6
11383 echo $ac_n "checking for nanosleep in -lposix4""... $ac_c" 1>&6
11384 echo "configure:11385: checking for nanosleep in -lposix4" >&5
11385 ac_lib_var
=`echo posix4'_'nanosleep | sed 'y%./+-%__p_%'`
11386 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11387 echo $ac_n "(cached) $ac_c" 1>&6
11389 ac_save_LIBS
="$LIBS"
11390 LIBS
="-lposix4 $LIBS"
11391 cat > conftest.
$ac_ext <<EOF
11392 #line 11393 "configure"
11393 #include "confdefs.h"
11394 /* Override any gcc2 internal prototype to avoid an error. */
11395 /* We use char because int might match the return type of a gcc2
11396 builtin and then its argument prototype would still apply. */
11403 if { (eval echo configure
:11404: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11405 eval "ac_cv_lib_$ac_lib_var=yes"
11407 echo "configure: failed program was:" >&5
11408 cat conftest.
$ac_ext >&5
11410 eval "ac_cv_lib_$ac_lib_var=no"
11413 LIBS
="$ac_save_LIBS"
11416 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11417 echo "$ac_t""yes" 1>&6
11419 cat >> confdefs.h
<<\EOF
11420 #define HAVE_NANOSLEEP 1
11423 POSIX4_LINK
="-lposix4"
11426 echo "$ac_t""no" 1>&6
11428 for ac_func
in usleep
11430 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11431 echo "configure:11432: checking for $ac_func" >&5
11432 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11433 echo $ac_n "(cached) $ac_c" 1>&6
11435 cat > conftest.
$ac_ext <<EOF
11436 #line 11437 "configure"
11437 #include "confdefs.h"
11438 /* System header to define __stub macros and hopefully few prototypes,
11439 which can conflict with char $ac_func(); below. */
11440 #include <assert.h>
11441 /* Override any gcc2 internal prototype to avoid an error. */
11442 /* We use char because int might match the return type of a gcc2
11443 builtin and then its argument prototype would still apply. */
11448 /* The GNU C library defines this for functions which it implements
11449 to always fail with ENOSYS. Some functions are actually named
11450 something starting with __ and the normal name is an alias. */
11451 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11459 if { (eval echo configure
:11460: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11461 eval "ac_cv_func_$ac_func=yes"
11463 echo "configure: failed program was:" >&5
11464 cat conftest.
$ac_ext >&5
11466 eval "ac_cv_func_$ac_func=no"
11471 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11472 echo "$ac_t""yes" 1>&6
11473 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11474 cat >> confdefs.h
<<EOF
11475 #define $ac_tr_func 1
11477 cat >> confdefs.h
<<\EOF
11478 #define HAVE_USLEEP 1
11482 echo "$ac_t""no" 1>&6
11486 echo "configure: warning: wxSleep() function will not work" 1>&2
11498 for ac_func
in uname gethostname
11500 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11501 echo "configure:11502: checking for $ac_func" >&5
11502 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11503 echo $ac_n "(cached) $ac_c" 1>&6
11505 cat > conftest.
$ac_ext <<EOF
11506 #line 11507 "configure"
11507 #include "confdefs.h"
11508 /* System header to define __stub macros and hopefully few prototypes,
11509 which can conflict with char $ac_func(); below. */
11510 #include <assert.h>
11511 /* Override any gcc2 internal prototype to avoid an error. */
11512 /* We use char because int might match the return type of a gcc2
11513 builtin and then its argument prototype would still apply. */
11518 /* The GNU C library defines this for functions which it implements
11519 to always fail with ENOSYS. Some functions are actually named
11520 something starting with __ and the normal name is an alias. */
11521 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11529 if { (eval echo configure
:11530: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11531 eval "ac_cv_func_$ac_func=yes"
11533 echo "configure: failed program was:" >&5
11534 cat conftest.
$ac_ext >&5
11536 eval "ac_cv_func_$ac_func=no"
11541 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11542 echo "$ac_t""yes" 1>&6
11543 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11544 cat >> confdefs.h
<<EOF
11545 #define $ac_tr_func 1
11549 echo "$ac_t""no" 1>&6
11556 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11557 ac_cpp
='$CXXCPP $CPPFLAGS'
11558 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11559 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11560 cross_compiling
=$ac_cv_prog_cxx_cross
11563 for ac_func
in strtok_r
11565 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11566 echo "configure:11567: checking for $ac_func" >&5
11567 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11568 echo $ac_n "(cached) $ac_c" 1>&6
11570 cat > conftest.
$ac_ext <<EOF
11571 #line 11572 "configure"
11572 #include "confdefs.h"
11573 /* System header to define __stub macros and hopefully few prototypes,
11574 which can conflict with char $ac_func(); below. */
11575 #include <assert.h>
11576 /* Override any gcc2 internal prototype to avoid an error. */
11580 /* We use char because int might match the return type of a gcc2
11581 builtin and then its argument prototype would still apply. */
11586 /* The GNU C library defines this for functions which it implements
11587 to always fail with ENOSYS. Some functions are actually named
11588 something starting with __ and the normal name is an alias. */
11589 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11597 if { (eval echo configure
:11598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11599 eval "ac_cv_func_$ac_func=yes"
11601 echo "configure: failed program was:" >&5
11602 cat conftest.
$ac_ext >&5
11604 eval "ac_cv_func_$ac_func=no"
11609 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11610 echo "$ac_t""yes" 1>&6
11611 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11612 cat >> confdefs.h
<<EOF
11613 #define $ac_tr_func 1
11617 echo "$ac_t""no" 1>&6
11623 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
11624 ac_cpp
='$CPP $CPPFLAGS'
11625 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
11626 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
11627 cross_compiling
=$ac_cv_prog_cc_cross
11631 for ac_func
in inet_addr
11633 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11634 echo "configure:11635: checking for $ac_func" >&5
11635 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11636 echo $ac_n "(cached) $ac_c" 1>&6
11638 cat > conftest.
$ac_ext <<EOF
11639 #line 11640 "configure"
11640 #include "confdefs.h"
11641 /* System header to define __stub macros and hopefully few prototypes,
11642 which can conflict with char $ac_func(); below. */
11643 #include <assert.h>
11644 /* Override any gcc2 internal prototype to avoid an error. */
11645 /* We use char because int might match the return type of a gcc2
11646 builtin and then its argument prototype would still apply. */
11651 /* The GNU C library defines this for functions which it implements
11652 to always fail with ENOSYS. Some functions are actually named
11653 something starting with __ and the normal name is an alias. */
11654 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11662 if { (eval echo configure
:11663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11664 eval "ac_cv_func_$ac_func=yes"
11666 echo "configure: failed program was:" >&5
11667 cat conftest.
$ac_ext >&5
11669 eval "ac_cv_func_$ac_func=no"
11674 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11675 echo "$ac_t""yes" 1>&6
11676 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11677 cat >> confdefs.h
<<EOF
11678 #define $ac_tr_func 1
11680 cat >> confdefs.h
<<\EOF
11681 #define HAVE_INET_ADDR 1
11685 echo "$ac_t""no" 1>&6
11686 echo $ac_n "checking for inet_addr in -lnsl""... $ac_c" 1>&6
11687 echo "configure:11688: checking for inet_addr in -lnsl" >&5
11688 ac_lib_var
=`echo nsl'_'inet_addr | sed 'y%./+-%__p_%'`
11689 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11690 echo $ac_n "(cached) $ac_c" 1>&6
11692 ac_save_LIBS
="$LIBS"
11694 cat > conftest.
$ac_ext <<EOF
11695 #line 11696 "configure"
11696 #include "confdefs.h"
11697 /* Override any gcc2 internal prototype to avoid an error. */
11698 /* We use char because int might match the return type of a gcc2
11699 builtin and then its argument prototype would still apply. */
11706 if { (eval echo configure
:11707: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11708 eval "ac_cv_lib_$ac_lib_var=yes"
11710 echo "configure: failed program was:" >&5
11711 cat conftest.
$ac_ext >&5
11713 eval "ac_cv_lib_$ac_lib_var=no"
11716 LIBS
="$ac_save_LIBS"
11719 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11720 echo "$ac_t""yes" 1>&6
11723 echo "$ac_t""no" 1>&6
11724 echo $ac_n "checking for inet_addr in -lresolv""... $ac_c" 1>&6
11725 echo "configure:11726: checking for inet_addr in -lresolv" >&5
11726 ac_lib_var
=`echo resolv'_'inet_addr | sed 'y%./+-%__p_%'`
11727 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11728 echo $ac_n "(cached) $ac_c" 1>&6
11730 ac_save_LIBS
="$LIBS"
11731 LIBS
="-lresolv $LIBS"
11732 cat > conftest.
$ac_ext <<EOF
11733 #line 11734 "configure"
11734 #include "confdefs.h"
11735 /* Override any gcc2 internal prototype to avoid an error. */
11736 /* We use char because int might match the return type of a gcc2
11737 builtin and then its argument prototype would still apply. */
11744 if { (eval echo configure
:11745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11746 eval "ac_cv_lib_$ac_lib_var=yes"
11748 echo "configure: failed program was:" >&5
11749 cat conftest.
$ac_ext >&5
11751 eval "ac_cv_lib_$ac_lib_var=no"
11754 LIBS
="$ac_save_LIBS"
11757 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11758 echo "$ac_t""yes" 1>&6
11762 echo "$ac_t""no" 1>&6
11774 for ac_func
in inet_aton
11776 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
11777 echo "configure:11778: checking for $ac_func" >&5
11778 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
11779 echo $ac_n "(cached) $ac_c" 1>&6
11781 cat > conftest.
$ac_ext <<EOF
11782 #line 11783 "configure"
11783 #include "confdefs.h"
11784 /* System header to define __stub macros and hopefully few prototypes,
11785 which can conflict with char $ac_func(); below. */
11786 #include <assert.h>
11787 /* Override any gcc2 internal prototype to avoid an error. */
11788 /* We use char because int might match the return type of a gcc2
11789 builtin and then its argument prototype would still apply. */
11794 /* The GNU C library defines this for functions which it implements
11795 to always fail with ENOSYS. Some functions are actually named
11796 something starting with __ and the normal name is an alias. */
11797 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
11805 if { (eval echo configure
:11806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11807 eval "ac_cv_func_$ac_func=yes"
11809 echo "configure: failed program was:" >&5
11810 cat conftest.
$ac_ext >&5
11812 eval "ac_cv_func_$ac_func=no"
11817 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
11818 echo "$ac_t""yes" 1>&6
11819 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
11820 cat >> confdefs.h
<<EOF
11821 #define $ac_tr_func 1
11823 cat >> confdefs.h
<<\EOF
11824 #define HAVE_INET_ATON 1
11828 echo "$ac_t""no" 1>&6
11829 echo $ac_n "checking for inet_aton in -l$INET_LINK""... $ac_c" 1>&6
11830 echo "configure:11831: checking for inet_aton in -l$INET_LINK" >&5
11831 ac_lib_var
=`echo $INET_LINK'_'inet_aton | sed 'y%./+-%__p_%'`
11832 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11833 echo $ac_n "(cached) $ac_c" 1>&6
11835 ac_save_LIBS
="$LIBS"
11836 LIBS
="-l$INET_LINK $LIBS"
11837 cat > conftest.
$ac_ext <<EOF
11838 #line 11839 "configure"
11839 #include "confdefs.h"
11840 /* Override any gcc2 internal prototype to avoid an error. */
11841 /* We use char because int might match the return type of a gcc2
11842 builtin and then its argument prototype would still apply. */
11849 if { (eval echo configure
:11850: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11851 eval "ac_cv_lib_$ac_lib_var=yes"
11853 echo "configure: failed program was:" >&5
11854 cat conftest.
$ac_ext >&5
11856 eval "ac_cv_lib_$ac_lib_var=no"
11859 LIBS
="$ac_save_LIBS"
11862 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11863 echo "$ac_t""yes" 1>&6
11864 cat >> confdefs.h
<<\EOF
11865 #define HAVE_INET_ATON 1
11869 echo "$ac_t""no" 1>&6
11877 if test "x$INET_LINK" != "x"; then
11878 cat >> confdefs.h
<<\EOF
11879 #define HAVE_INET_ADDR 1
11882 INET_LINK
="-l$INET_LINK"
11888 cat > confcache
<<\EOF
11889 # This file is a shell script that caches the results of configure
11890 # tests run on this system so they can be shared between configure
11891 # scripts and configure runs. It is not useful on other systems.
11892 # If it contains results you don't want to keep, you may remove or edit it.
11894 # By default, configure uses ./config.cache as the cache file,
11895 # creating it if it does not exist already. You can give configure
11896 # the --cache-file=FILE option to use a different cache file; that is
11897 # what configure does when it calls configure scripts in
11898 # subdirectories, so they share the cache.
11899 # Giving --cache-file=/dev/null disables caching, for debugging configure.
11900 # config.status only pays attention to the cache file if you give it the
11901 # --recheck option to rerun configure.
11904 # The following way of writing the cache mishandles newlines in values,
11905 # but we know of no workaround that is simple, portable, and efficient.
11906 # So, don't put newlines in cache variables' values.
11907 # Ultrix sh set writes to stderr and can't be redirected directly,
11908 # and sets the high bit in the cache file unless we assign to the vars.
11910 case `(ac_space=' '; set | grep ac_space) 2>&1` in
11912 # `set' does not quote correctly, so add quotes (double-quote substitution
11913 # turns \\\\ into \\, and sed turns \\ into \).
11915 -e "s/'/'\\\\''/g" \
11916 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
11919 # `set' quotes correctly as required by POSIX, so do not add quotes.
11920 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
11923 if cmp -s $cache_file confcache
; then
11926 if test -w $cache_file; then
11927 echo "updating cache $cache_file"
11928 cat confcache
> $cache_file
11930 echo "not updating unwritable cache $cache_file"
11937 if test "$TOOLKIT" != "MSW"; then
11943 if test "$wxUSE_THREADS" = "yes" ; then
11944 if test "$wxUSE_WINE" = 1 ; then
11945 echo "configure: warning: Threads are not supported under WINE" 1>&2
11947 elif test "$USE_BEOS" = 1; then
11948 echo "configure: warning: BeOS threads are not yet supported" 1>&2
11953 if test "$wxUSE_THREADS" = "yes" ; then
11955 if test "$USE_AIX" = 1; then
11956 THREADS_LIB
=pthreads
11958 THREADS_LIB
=pthread
11961 echo $ac_n "checking for pthread_create in -l$THREADS_LIB""... $ac_c" 1>&6
11962 echo "configure:11963: checking for pthread_create in -l$THREADS_LIB" >&5
11963 ac_lib_var
=`echo $THREADS_LIB'_'pthread_create | sed 'y%./+-%__p_%'`
11964 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
11965 echo $ac_n "(cached) $ac_c" 1>&6
11967 ac_save_LIBS
="$LIBS"
11968 LIBS
="-l$THREADS_LIB $LIBS"
11969 cat > conftest.
$ac_ext <<EOF
11970 #line 11971 "configure"
11971 #include "confdefs.h"
11972 /* Override any gcc2 internal prototype to avoid an error. */
11973 /* We use char because int might match the return type of a gcc2
11974 builtin and then its argument prototype would still apply. */
11975 char pthread_create();
11981 if { (eval echo configure
:11982: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
11983 eval "ac_cv_lib_$ac_lib_var=yes"
11985 echo "configure: failed program was:" >&5
11986 cat conftest.
$ac_ext >&5
11988 eval "ac_cv_lib_$ac_lib_var=no"
11991 LIBS
="$ac_save_LIBS"
11994 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
11995 echo "$ac_t""yes" 1>&6
11997 THREADS_OBJ
="threadpsx.lo"
11998 THREADS_LINK
=$THREADS_LIB
12001 echo "$ac_t""no" 1>&6
12003 echo $ac_n "checking for pthread_create in -lc_r""... $ac_c" 1>&6
12004 echo "configure:12005: checking for pthread_create in -lc_r" >&5
12005 ac_lib_var
=`echo c_r'_'pthread_create | sed 'y%./+-%__p_%'`
12006 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12007 echo $ac_n "(cached) $ac_c" 1>&6
12009 ac_save_LIBS
="$LIBS"
12011 cat > conftest.
$ac_ext <<EOF
12012 #line 12013 "configure"
12013 #include "confdefs.h"
12014 /* Override any gcc2 internal prototype to avoid an error. */
12015 /* We use char because int might match the return type of a gcc2
12016 builtin and then its argument prototype would still apply. */
12017 char pthread_create();
12023 if { (eval echo configure
:12024: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12025 eval "ac_cv_lib_$ac_lib_var=yes"
12027 echo "configure: failed program was:" >&5
12028 cat conftest.
$ac_ext >&5
12030 eval "ac_cv_lib_$ac_lib_var=no"
12033 LIBS
="$ac_save_LIBS"
12036 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12037 echo "$ac_t""yes" 1>&6
12039 THREADS_OBJ
="threadpsx.lo"
12043 echo "$ac_t""no" 1>&6
12045 echo $ac_n "checking for pthread_create in -lcc_dynamic""... $ac_c" 1>&6
12046 echo "configure:12047: checking for pthread_create in -lcc_dynamic" >&5
12047 ac_lib_var
=`echo cc_dynamic'_'pthread_create | sed 'y%./+-%__p_%'`
12048 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12049 echo $ac_n "(cached) $ac_c" 1>&6
12051 ac_save_LIBS
="$LIBS"
12052 LIBS
="-lcc_dynamic $LIBS"
12053 cat > conftest.
$ac_ext <<EOF
12054 #line 12055 "configure"
12055 #include "confdefs.h"
12056 /* Override any gcc2 internal prototype to avoid an error. */
12057 /* We use char because int might match the return type of a gcc2
12058 builtin and then its argument prototype would still apply. */
12059 char pthread_create();
12065 if { (eval echo configure
:12066: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12067 eval "ac_cv_lib_$ac_lib_var=yes"
12069 echo "configure: failed program was:" >&5
12070 cat conftest.
$ac_ext >&5
12072 eval "ac_cv_lib_$ac_lib_var=no"
12075 LIBS
="$ac_save_LIBS"
12078 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12079 echo "$ac_t""yes" 1>&6
12081 THREADS_OBJ
="threadpsx.lo"
12082 THREADS_LINK
="cc_dynamic"
12085 echo "$ac_t""no" 1>&6
12087 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
12088 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
12089 echo "configure:12090: checking for sys/prctl.h" >&5
12090 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12091 echo $ac_n "(cached) $ac_c" 1>&6
12093 cat > conftest.
$ac_ext <<EOF
12094 #line 12095 "configure"
12095 #include "confdefs.h"
12096 #include <sys/prctl.h>
12098 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12099 { (eval echo configure
:12100: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12100 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12101 if test -z "$ac_err"; then
12103 eval "ac_cv_header_$ac_safe=yes"
12106 echo "configure: failed program was:" >&5
12107 cat conftest.
$ac_ext >&5
12109 eval "ac_cv_header_$ac_safe=no"
12113 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12114 echo "$ac_t""yes" 1>&6
12116 THREADS_OBJ
="threadsgi.lo"
12119 echo "$ac_t""no" 1>&6
12132 if test -z "$THREADS_OBJ" ; then
12134 echo "configure: warning: No thread support on this system" 1>&2
12138 if test "$wxUSE_THREADS" = "yes" ; then
12139 for ac_func
in thr_setconcurrency
12141 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
12142 echo "configure:12143: checking for $ac_func" >&5
12143 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
12144 echo $ac_n "(cached) $ac_c" 1>&6
12146 cat > conftest.
$ac_ext <<EOF
12147 #line 12148 "configure"
12148 #include "confdefs.h"
12149 /* System header to define __stub macros and hopefully few prototypes,
12150 which can conflict with char $ac_func(); below. */
12151 #include <assert.h>
12152 /* Override any gcc2 internal prototype to avoid an error. */
12153 /* We use char because int might match the return type of a gcc2
12154 builtin and then its argument prototype would still apply. */
12159 /* The GNU C library defines this for functions which it implements
12160 to always fail with ENOSYS. Some functions are actually named
12161 something starting with __ and the normal name is an alias. */
12162 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
12170 if { (eval echo configure
:12171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12172 eval "ac_cv_func_$ac_func=yes"
12174 echo "configure: failed program was:" >&5
12175 cat conftest.
$ac_ext >&5
12177 eval "ac_cv_func_$ac_func=no"
12182 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
12183 echo "$ac_t""yes" 1>&6
12184 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
12185 cat >> confdefs.h
<<EOF
12186 #define $ac_tr_func 1
12190 echo "$ac_t""no" 1>&6
12196 for ac_hdr
in sched.h
12198 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
12199 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
12200 echo "configure:12201: checking for $ac_hdr" >&5
12201 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12202 echo $ac_n "(cached) $ac_c" 1>&6
12204 cat > conftest.
$ac_ext <<EOF
12205 #line 12206 "configure"
12206 #include "confdefs.h"
12209 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12210 { (eval echo configure
:12211: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12211 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12212 if test -z "$ac_err"; then
12214 eval "ac_cv_header_$ac_safe=yes"
12217 echo "configure: failed program was:" >&5
12218 cat conftest.
$ac_ext >&5
12220 eval "ac_cv_header_$ac_safe=no"
12224 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12225 echo "$ac_t""yes" 1>&6
12226 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
12227 cat >> confdefs.h
<<EOF
12228 #define $ac_tr_hdr 1
12232 echo "$ac_t""no" 1>&6
12237 echo $ac_n "checking for sched_yield in -l$THREADS_LINK""... $ac_c" 1>&6
12238 echo "configure:12239: checking for sched_yield in -l$THREADS_LINK" >&5
12239 ac_lib_var
=`echo $THREADS_LINK'_'sched_yield | sed 'y%./+-%__p_%'`
12240 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12241 echo $ac_n "(cached) $ac_c" 1>&6
12243 ac_save_LIBS
="$LIBS"
12244 LIBS
="-l$THREADS_LINK $LIBS"
12245 cat > conftest.
$ac_ext <<EOF
12246 #line 12247 "configure"
12247 #include "confdefs.h"
12248 /* Override any gcc2 internal prototype to avoid an error. */
12249 /* We use char because int might match the return type of a gcc2
12250 builtin and then its argument prototype would still apply. */
12251 char sched_yield();
12257 if { (eval echo configure
:12258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12259 eval "ac_cv_lib_$ac_lib_var=yes"
12261 echo "configure: failed program was:" >&5
12262 cat conftest.
$ac_ext >&5
12264 eval "ac_cv_lib_$ac_lib_var=no"
12267 LIBS
="$ac_save_LIBS"
12270 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12271 echo "$ac_t""yes" 1>&6
12272 cat >> confdefs.h
<<\EOF
12273 #define HAVE_SCHED_YIELD 1
12277 echo "$ac_t""no" 1>&6
12278 echo $ac_n "checking for sched_yield in -l"posix4
"""... $ac_c" 1>&6
12279 echo "configure:12280: checking for sched_yield in -l"posix4
"" >&5
12280 ac_lib_var
=`echo "posix4"'_'sched_yield | sed 'y%./+-%__p_%'`
12281 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12282 echo $ac_n "(cached) $ac_c" 1>&6
12284 ac_save_LIBS
="$LIBS"
12285 LIBS
="-l"posix4
" $LIBS"
12286 cat > conftest.
$ac_ext <<EOF
12287 #line 12288 "configure"
12288 #include "confdefs.h"
12289 /* Override any gcc2 internal prototype to avoid an error. */
12290 /* We use char because int might match the return type of a gcc2
12291 builtin and then its argument prototype would still apply. */
12292 char sched_yield();
12298 if { (eval echo configure
:12299: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12300 eval "ac_cv_lib_$ac_lib_var=yes"
12302 echo "configure: failed program was:" >&5
12303 cat conftest.
$ac_ext >&5
12305 eval "ac_cv_lib_$ac_lib_var=no"
12308 LIBS
="$ac_save_LIBS"
12311 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12312 echo "$ac_t""yes" 1>&6
12313 cat >> confdefs.h
<<\EOF
12314 #define HAVE_SCHED_YIELD 1
12316 POSIX4_LINK
="-lposix4"
12318 echo "$ac_t""no" 1>&6
12319 echo "configure: warning: wxThread::Yield will not work properly" 1>&2
12328 echo $ac_n "checking for pthread_attr_getschedpolicy in -l$THREADS_LINK""... $ac_c" 1>&6
12329 echo "configure:12330: checking for pthread_attr_getschedpolicy in -l$THREADS_LINK" >&5
12330 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_getschedpolicy | sed 'y%./+-%__p_%'`
12331 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12332 echo $ac_n "(cached) $ac_c" 1>&6
12334 ac_save_LIBS
="$LIBS"
12335 LIBS
="-l$THREADS_LINK $LIBS"
12336 cat > conftest.
$ac_ext <<EOF
12337 #line 12338 "configure"
12338 #include "confdefs.h"
12339 /* Override any gcc2 internal prototype to avoid an error. */
12340 /* We use char because int might match the return type of a gcc2
12341 builtin and then its argument prototype would still apply. */
12342 char pthread_attr_getschedpolicy();
12345 pthread_attr_getschedpolicy()
12348 if { (eval echo configure
:12349: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12350 eval "ac_cv_lib_$ac_lib_var=yes"
12352 echo "configure: failed program was:" >&5
12353 cat conftest.
$ac_ext >&5
12355 eval "ac_cv_lib_$ac_lib_var=no"
12358 LIBS
="$ac_save_LIBS"
12361 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12362 echo "$ac_t""yes" 1>&6
12363 echo $ac_n "checking for pthread_attr_setschedparam in -l$THREADS_LINK""... $ac_c" 1>&6
12364 echo "configure:12365: checking for pthread_attr_setschedparam in -l$THREADS_LINK" >&5
12365 ac_lib_var
=`echo $THREADS_LINK'_'pthread_attr_setschedparam | sed 'y%./+-%__p_%'`
12366 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12367 echo $ac_n "(cached) $ac_c" 1>&6
12369 ac_save_LIBS
="$LIBS"
12370 LIBS
="-l$THREADS_LINK $LIBS"
12371 cat > conftest.
$ac_ext <<EOF
12372 #line 12373 "configure"
12373 #include "confdefs.h"
12374 /* Override any gcc2 internal prototype to avoid an error. */
12375 /* We use char because int might match the return type of a gcc2
12376 builtin and then its argument prototype would still apply. */
12377 char pthread_attr_setschedparam();
12380 pthread_attr_setschedparam()
12383 if { (eval echo configure
:12384: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12385 eval "ac_cv_lib_$ac_lib_var=yes"
12387 echo "configure: failed program was:" >&5
12388 cat conftest.
$ac_ext >&5
12390 eval "ac_cv_lib_$ac_lib_var=no"
12393 LIBS
="$ac_save_LIBS"
12396 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12397 echo "$ac_t""yes" 1>&6
12398 echo $ac_n "checking for sched_get_priority_max in -l$THREADS_LINK""... $ac_c" 1>&6
12399 echo "configure:12400: checking for sched_get_priority_max in -l$THREADS_LINK" >&5
12400 ac_lib_var
=`echo $THREADS_LINK'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12401 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12402 echo $ac_n "(cached) $ac_c" 1>&6
12404 ac_save_LIBS
="$LIBS"
12405 LIBS
="-l$THREADS_LINK $LIBS"
12406 cat > conftest.
$ac_ext <<EOF
12407 #line 12408 "configure"
12408 #include "confdefs.h"
12409 /* Override any gcc2 internal prototype to avoid an error. */
12410 /* We use char because int might match the return type of a gcc2
12411 builtin and then its argument prototype would still apply. */
12412 char sched_get_priority_max();
12415 sched_get_priority_max()
12418 if { (eval echo configure
:12419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12420 eval "ac_cv_lib_$ac_lib_var=yes"
12422 echo "configure: failed program was:" >&5
12423 cat conftest.
$ac_ext >&5
12425 eval "ac_cv_lib_$ac_lib_var=no"
12428 LIBS
="$ac_save_LIBS"
12431 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12432 echo "$ac_t""yes" 1>&6
12435 echo "$ac_t""no" 1>&6
12436 echo $ac_n "checking for sched_get_priority_max in -l"posix4
"""... $ac_c" 1>&6
12437 echo "configure:12438: checking for sched_get_priority_max in -l"posix4
"" >&5
12438 ac_lib_var
=`echo "posix4"'_'sched_get_priority_max | sed 'y%./+-%__p_%'`
12439 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12440 echo $ac_n "(cached) $ac_c" 1>&6
12442 ac_save_LIBS
="$LIBS"
12443 LIBS
="-l"posix4
" $LIBS"
12444 cat > conftest.
$ac_ext <<EOF
12445 #line 12446 "configure"
12446 #include "confdefs.h"
12447 /* Override any gcc2 internal prototype to avoid an error. */
12448 /* We use char because int might match the return type of a gcc2
12449 builtin and then its argument prototype would still apply. */
12450 char sched_get_priority_max();
12453 sched_get_priority_max()
12456 if { (eval echo configure
:12457: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12458 eval "ac_cv_lib_$ac_lib_var=yes"
12460 echo "configure: failed program was:" >&5
12461 cat conftest.
$ac_ext >&5
12463 eval "ac_cv_lib_$ac_lib_var=no"
12466 LIBS
="$ac_save_LIBS"
12469 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12470 echo "$ac_t""yes" 1>&6
12473 POSIX4_LINK
="-lposix4"
12476 echo "$ac_t""no" 1>&6
12484 echo "$ac_t""no" 1>&6
12489 echo "$ac_t""no" 1>&6
12493 if test "$HAVE_PRIOR_FUNCS" = 1; then
12494 cat >> confdefs.h
<<\EOF
12495 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
12499 echo "configure: warning: Setting thread priority will not work" 1>&2
12502 echo $ac_n "checking for pthread_cancel in -l$THREADS_LINK""... $ac_c" 1>&6
12503 echo "configure:12504: checking for pthread_cancel in -l$THREADS_LINK" >&5
12504 ac_lib_var
=`echo $THREADS_LINK'_'pthread_cancel | sed 'y%./+-%__p_%'`
12505 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12506 echo $ac_n "(cached) $ac_c" 1>&6
12508 ac_save_LIBS
="$LIBS"
12509 LIBS
="-l$THREADS_LINK $LIBS"
12510 cat > conftest.
$ac_ext <<EOF
12511 #line 12512 "configure"
12512 #include "confdefs.h"
12513 /* Override any gcc2 internal prototype to avoid an error. */
12514 /* We use char because int might match the return type of a gcc2
12515 builtin and then its argument prototype would still apply. */
12516 char pthread_cancel();
12522 if { (eval echo configure
:12523: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12524 eval "ac_cv_lib_$ac_lib_var=yes"
12526 echo "configure: failed program was:" >&5
12527 cat conftest.
$ac_ext >&5
12529 eval "ac_cv_lib_$ac_lib_var=no"
12532 LIBS
="$ac_save_LIBS"
12535 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12536 echo "$ac_t""yes" 1>&6
12537 cat >> confdefs.h
<<\EOF
12538 #define HAVE_PTHREAD_CANCEL 1
12542 echo "$ac_t""no" 1>&6
12543 echo "configure: warning: wxThread::Kill() will not work properly" 1>&2
12547 echo $ac_n "checking for pthread_cleanup_push/pop""... $ac_c" 1>&6
12548 echo "configure:12549: checking for pthread_cleanup_push/pop" >&5
12549 if eval "test \"`echo '$''{'wx_cv_func_pthread_cleanup_push'+set}'`\" = set"; then
12550 echo $ac_n "(cached) $ac_c" 1>&6
12553 cat > conftest.
$ac_ext <<EOF
12554 #line 12555 "configure"
12555 #include "confdefs.h"
12556 #include <pthread.h>
12559 pthread_cleanup_push(NULL, NULL);
12560 pthread_cleanup_pop(0);
12564 if { (eval echo configure
:12565: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
12567 wx_cv_func_pthread_cleanup_push
=yes
12568 cat >> confdefs.h
<<\EOF
12569 #define HAVE_THREAD_CLEANUP_FUNCTIONS 1
12574 echo "configure: failed program was:" >&5
12575 cat conftest.
$ac_ext >&5
12578 wx_cv_func_pthread_cleanup_push
=no
12585 echo "$ac_t""$wx_cv_func_pthread_cleanup_push" 1>&6
12587 THREADS_LINK
="-l$THREADS_LINK"
12589 if test "$USE_SOLARIS" = "yes" -a "$GCC" != "yes"; then
12590 CFLAGS
="${CFLAGS} -mt"
12591 CXXFLAGS
="${CXXFLAGS} -mt"
12592 LDFLAGS
="${LDFLAGS} -mt"
12598 if test "$wxUSE_THREADS" = "yes"; then
12599 cat >> confdefs.h
<<\EOF
12600 #define wxUSE_THREADS 1
12604 CFLAGS
="${CFLAGS} -D_REENTRANT"
12605 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12607 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS thread"
12609 if test "$ac_cv_func_strtok_r" = "yes"; then
12610 echo $ac_n "checking if -D_REENTRANT is needed""... $ac_c" 1>&6
12611 echo "configure:12612: checking if -D_REENTRANT is needed" >&5
12612 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
12613 CFLAGS
="${CFLAGS} -D_REENTRANT"
12614 CXXFLAGS
="${CXXFLAGS} -D_REENTRANT"
12615 echo "$ac_t""yes" 1>&6
12617 echo "$ac_t""no" 1>&6
12622 if test "$WXGTK20" = 1 ; then
12623 cat >> confdefs.h
<<EOF
12624 #define __WXGTK20__ $WXGTK20
12630 if test "$WXGTK12" = 1 ; then
12631 cat >> confdefs.h
<<EOF
12632 #define __WXGTK12__ $WXGTK12
12637 if test "$WXGTK127" = 1 ; then
12638 cat >> confdefs.h
<<EOF
12639 #define __WXGTK127__ $WXGTK127
12644 if test "$WXWINE" = 1 ; then
12645 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WXWINE__"
12648 if test "$wxUSE_MAC" = 1 ; then
12649 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__UNIX__ -DTARGET_CARBON"
12650 TOOLKIT_INCLUDE
="${TOOLKIT_INCLUDE}"
12653 if test "$wxUSE_CYGWIN" = 1 ; then
12654 TOOLKIT_DEF
="${TOOLKIT_DEF} -D__WIN95__"
12659 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
12664 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
12665 wxUSE_DEBUG_INFO
=yes
12669 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
12670 cat >> confdefs.h
<<\EOF
12674 WXDEBUG_DEFINE
="-D__WXDEBUG__"
12676 if test "$wxUSE_GTK" = 1 ; then
12677 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
12681 if test "$wxUSE_MEM_TRACING" = "yes" ; then
12682 cat >> confdefs.h
<<\EOF
12683 #define wxUSE_MEMORY_TRACING 1
12686 cat >> confdefs.h
<<\EOF
12687 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
12690 cat >> confdefs.h
<<\EOF
12691 #define wxUSE_DEBUG_NEW_ALWAYS 1
12694 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS memcheck"
12697 if test "$wxUSE_DMALLOC" = "yes" ; then
12698 DMALLOC_LINK
="-ldmalloc"
12702 if test "$wxUSE_PROFILE" = "yes" ; then
12708 if test "$GCC" = yes ; then
12709 if test "$wxUSE_NO_RTTI" = "yes" ; then
12710 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-rtti"
12712 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
12713 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fno-exceptions"
12715 if test "$wxUSE_PERMISSIVE" = "yes" ; then
12716 CODE_GEN_FLAGS
="$CODE_GEN_FLAGS -fpermissive"
12718 if test "$wxUSE_NO_DEPS" = "no" ; then
12719 DEP_INFO_FLAGS
="-MMD"
12724 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
12725 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
12726 if test "$wxUSE_OPTIMISE" = "no" ; then
12729 if test "$GCC" = yes ; then
12732 i586
-*-*|i686
-*-* )
12733 OPTIMISE
="${OPTIMISE} "
12743 if test "$wxUSE_ZLIB" = "yes" -o "$wxUSE_ZLIB" = "sys" ; then
12744 cat >> confdefs.h
<<\EOF
12745 #define wxUSE_ZLIB 1
12748 if test "$wxUSE_ZLIB" = "yes" ; then
12749 ZLIB_INCLUDE
="-I\${top_srcdir}/src/zlib"
12752 ac_safe
=`echo "zlib.h" | sed 'y%./+-%__p_%'`
12753 echo $ac_n "checking for zlib.h""... $ac_c" 1>&6
12754 echo "configure:12755: checking for zlib.h" >&5
12755 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12756 echo $ac_n "(cached) $ac_c" 1>&6
12758 cat > conftest.
$ac_ext <<EOF
12759 #line 12760 "configure"
12760 #include "confdefs.h"
12763 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12764 { (eval echo configure
:12765: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12765 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12766 if test -z "$ac_err"; then
12768 eval "ac_cv_header_$ac_safe=yes"
12771 echo "configure: failed program was:" >&5
12772 cat conftest.
$ac_ext >&5
12774 eval "ac_cv_header_$ac_safe=no"
12778 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12779 echo "$ac_t""yes" 1>&6
12780 echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
12781 echo "configure:12782: checking for deflate in -lz" >&5
12782 ac_lib_var
=`echo z'_'deflate | sed 'y%./+-%__p_%'`
12783 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12784 echo $ac_n "(cached) $ac_c" 1>&6
12786 ac_save_LIBS
="$LIBS"
12788 cat > conftest.
$ac_ext <<EOF
12789 #line 12790 "configure"
12790 #include "confdefs.h"
12791 /* Override any gcc2 internal prototype to avoid an error. */
12792 /* We use char because int might match the return type of a gcc2
12793 builtin and then its argument prototype would still apply. */
12800 if { (eval echo configure
:12801: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12802 eval "ac_cv_lib_$ac_lib_var=yes"
12804 echo "configure: failed program was:" >&5
12805 cat conftest.
$ac_ext >&5
12807 eval "ac_cv_lib_$ac_lib_var=no"
12810 LIBS
="$ac_save_LIBS"
12813 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12814 echo "$ac_t""yes" 1>&6
12817 echo "$ac_t""no" 1>&6
12821 echo "$ac_t""no" 1>&6
12824 if test "x$ZLIB_LINK" = "x" ; then
12825 { echo "configure: error: system zlib compression library not found! Use --with-zlib=yes to use built-in zlib" 1>&2; exit 1; }
12831 if test "$wxUSE_LIBPNG" = "yes" -o "$wxUSE_LIBPNG" = "sys" ; then
12832 cat >> confdefs.h
<<\EOF
12833 #define wxUSE_LIBPNG 1
12836 if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
12837 echo "configure: warning: --with-libpng=sys doesn't work without --with-zlib=sys, will compile the built-in libpng instead" 1>&2
12841 if test "$wxUSE_LIBPNG" = "yes" ; then
12842 PNG_INCLUDE
="-I\${top_srcdir}/src/png"
12845 ac_safe
=`echo "png.h" | sed 'y%./+-%__p_%'`
12846 echo $ac_n "checking for png.h""... $ac_c" 1>&6
12847 echo "configure:12848: checking for png.h" >&5
12848 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12849 echo $ac_n "(cached) $ac_c" 1>&6
12851 cat > conftest.
$ac_ext <<EOF
12852 #line 12853 "configure"
12853 #include "confdefs.h"
12856 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12857 { (eval echo configure
:12858: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12858 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12859 if test -z "$ac_err"; then
12861 eval "ac_cv_header_$ac_safe=yes"
12864 echo "configure: failed program was:" >&5
12865 cat conftest.
$ac_ext >&5
12867 eval "ac_cv_header_$ac_safe=no"
12871 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12872 echo "$ac_t""yes" 1>&6
12873 echo $ac_n "checking for png_check_sig in -lpng""... $ac_c" 1>&6
12874 echo "configure:12875: checking for png_check_sig in -lpng" >&5
12875 ac_lib_var
=`echo png'_'png_check_sig | sed 'y%./+-%__p_%'`
12876 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12877 echo $ac_n "(cached) $ac_c" 1>&6
12879 ac_save_LIBS
="$LIBS"
12880 LIBS
="-lpng -lz -lm $LIBS"
12881 cat > conftest.
$ac_ext <<EOF
12882 #line 12883 "configure"
12883 #include "confdefs.h"
12884 /* Override any gcc2 internal prototype to avoid an error. */
12885 /* We use char because int might match the return type of a gcc2
12886 builtin and then its argument prototype would still apply. */
12887 char png_check_sig();
12893 if { (eval echo configure
:12894: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12895 eval "ac_cv_lib_$ac_lib_var=yes"
12897 echo "configure: failed program was:" >&5
12898 cat conftest.
$ac_ext >&5
12900 eval "ac_cv_lib_$ac_lib_var=no"
12903 LIBS
="$ac_save_LIBS"
12906 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12907 echo "$ac_t""yes" 1>&6
12910 echo "$ac_t""no" 1>&6
12915 echo "$ac_t""no" 1>&6
12918 if test "x$PNG_LINK" = "x" ; then
12919 { echo "configure: error: system png library not found! Use --with-libpng=yes to use the built-in libpng" 1>&2; exit 1; }
12923 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS png"
12927 if test "$wxUSE_LIBJPEG" = "yes" -o "$wxUSE_LIBJPEG" = "sys" ; then
12928 cat >> confdefs.h
<<\EOF
12929 #define wxUSE_LIBJPEG 1
12932 if test "$wxUSE_LIBJPEG" = "yes" ; then
12933 JPEG_INCLUDE
="-I\${top_srcdir}/src/jpeg"
12936 ac_safe
=`echo "jpeglib.h" | sed 'y%./+-%__p_%'`
12937 echo $ac_n "checking for jpeglib.h""... $ac_c" 1>&6
12938 echo "configure:12939: checking for jpeglib.h" >&5
12939 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
12940 echo $ac_n "(cached) $ac_c" 1>&6
12942 cat > conftest.
$ac_ext <<EOF
12943 #line 12944 "configure"
12944 #include "confdefs.h"
12945 #include <jpeglib.h>
12947 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
12948 { (eval echo configure
:12949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
12949 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
12950 if test -z "$ac_err"; then
12952 eval "ac_cv_header_$ac_safe=yes"
12955 echo "configure: failed program was:" >&5
12956 cat conftest.
$ac_ext >&5
12958 eval "ac_cv_header_$ac_safe=no"
12962 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
12963 echo "$ac_t""yes" 1>&6
12964 echo $ac_n "checking for jpeg_read_header in -ljpeg""... $ac_c" 1>&6
12965 echo "configure:12966: checking for jpeg_read_header in -ljpeg" >&5
12966 ac_lib_var
=`echo jpeg'_'jpeg_read_header | sed 'y%./+-%__p_%'`
12967 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
12968 echo $ac_n "(cached) $ac_c" 1>&6
12970 ac_save_LIBS
="$LIBS"
12971 LIBS
="-ljpeg $LIBS"
12972 cat > conftest.
$ac_ext <<EOF
12973 #line 12974 "configure"
12974 #include "confdefs.h"
12975 /* Override any gcc2 internal prototype to avoid an error. */
12976 /* We use char because int might match the return type of a gcc2
12977 builtin and then its argument prototype would still apply. */
12978 char jpeg_read_header();
12984 if { (eval echo configure
:12985: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
12986 eval "ac_cv_lib_$ac_lib_var=yes"
12988 echo "configure: failed program was:" >&5
12989 cat conftest.
$ac_ext >&5
12991 eval "ac_cv_lib_$ac_lib_var=no"
12994 LIBS
="$ac_save_LIBS"
12997 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
12998 echo "$ac_t""yes" 1>&6
13001 echo "$ac_t""no" 1>&6
13005 echo "$ac_t""no" 1>&6
13008 if test "x$JPEG_LINK" = "x" ; then
13009 { echo "configure: error: system jpeg library not found! Use --with-libjpeg=yes to use the built-in one" 1>&2; exit 1; }
13015 if test "$wxUSE_LIBTIFF" = "yes" -o "$wxUSE_LIBTIFF" = "sys" ; then
13016 cat >> confdefs.h
<<\EOF
13017 #define wxUSE_LIBTIFF 1
13020 if test "$wxUSE_LIBTIFF" = "yes" ; then
13021 TIFF_INCLUDE
="-I\${top_srcdir}/src/tiff"
13024 ac_safe
=`echo "tiffio.h" | sed 'y%./+-%__p_%'`
13025 echo $ac_n "checking for tiffio.h""... $ac_c" 1>&6
13026 echo "configure:13027: checking for tiffio.h" >&5
13027 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13028 echo $ac_n "(cached) $ac_c" 1>&6
13030 cat > conftest.
$ac_ext <<EOF
13031 #line 13032 "configure"
13032 #include "confdefs.h"
13033 #include <tiffio.h>
13035 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13036 { (eval echo configure
:13037: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13037 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13038 if test -z "$ac_err"; then
13040 eval "ac_cv_header_$ac_safe=yes"
13043 echo "configure: failed program was:" >&5
13044 cat conftest.
$ac_ext >&5
13046 eval "ac_cv_header_$ac_safe=no"
13050 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13051 echo "$ac_t""yes" 1>&6
13052 echo $ac_n "checking for TIFFError in -ltiff""... $ac_c" 1>&6
13053 echo "configure:13054: checking for TIFFError in -ltiff" >&5
13054 ac_lib_var
=`echo tiff'_'TIFFError | sed 'y%./+-%__p_%'`
13055 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13056 echo $ac_n "(cached) $ac_c" 1>&6
13058 ac_save_LIBS
="$LIBS"
13059 LIBS
="-ltiff -lm $LIBS"
13060 cat > conftest.
$ac_ext <<EOF
13061 #line 13062 "configure"
13062 #include "confdefs.h"
13063 /* Override any gcc2 internal prototype to avoid an error. */
13064 /* We use char because int might match the return type of a gcc2
13065 builtin and then its argument prototype would still apply. */
13072 if { (eval echo configure
:13073: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13074 eval "ac_cv_lib_$ac_lib_var=yes"
13076 echo "configure: failed program was:" >&5
13077 cat conftest.
$ac_ext >&5
13079 eval "ac_cv_lib_$ac_lib_var=no"
13082 LIBS
="$ac_save_LIBS"
13085 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13086 echo "$ac_t""yes" 1>&6
13089 echo "$ac_t""no" 1>&6
13093 echo "$ac_t""no" 1>&6
13096 if test "x$TIFF_LINK" = "x" ; then
13097 { echo "configure: error: system tiff library not found! Use --with-libtiff=yes to use the built-in one" 1>&2; exit 1; }
13103 if test "$wxUSE_FREETYPE" = "yes" -o "$wxUSE_FREETYPE" = "sys" ; then
13104 cat >> confdefs.h
<<\EOF
13105 #define wxUSE_FREETYPE 1
13108 if test "$wxUSE_FREETYPE" = "yes" ; then
13109 FREETYPE_INCLUDE
="-I\${top_srcdir}/src/freetype"
13112 ac_safe
=`echo "freetype.h" | sed 'y%./+-%__p_%'`
13113 echo $ac_n "checking for freetype.h""... $ac_c" 1>&6
13114 echo "configure:13115: checking for freetype.h" >&5
13115 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13116 echo $ac_n "(cached) $ac_c" 1>&6
13118 cat > conftest.
$ac_ext <<EOF
13119 #line 13120 "configure"
13120 #include "confdefs.h"
13121 #include <freetype.h>
13123 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13124 { (eval echo configure
:13125: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13125 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13126 if test -z "$ac_err"; then
13128 eval "ac_cv_header_$ac_safe=yes"
13131 echo "configure: failed program was:" >&5
13132 cat conftest.
$ac_ext >&5
13134 eval "ac_cv_header_$ac_safe=no"
13138 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13139 echo "$ac_t""yes" 1>&6
13140 echo $ac_n "checking for FT_Render_Glyph in -lfreetype""... $ac_c" 1>&6
13141 echo "configure:13142: checking for FT_Render_Glyph in -lfreetype" >&5
13142 ac_lib_var
=`echo freetype'_'FT_Render_Glyph | sed 'y%./+-%__p_%'`
13143 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13144 echo $ac_n "(cached) $ac_c" 1>&6
13146 ac_save_LIBS
="$LIBS"
13147 LIBS
="-lfreetype -lm $LIBS"
13148 cat > conftest.
$ac_ext <<EOF
13149 #line 13150 "configure"
13150 #include "confdefs.h"
13151 /* Override any gcc2 internal prototype to avoid an error. */
13152 /* We use char because int might match the return type of a gcc2
13153 builtin and then its argument prototype would still apply. */
13154 char FT_Render_Glyph();
13160 if { (eval echo configure
:13161: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13162 eval "ac_cv_lib_$ac_lib_var=yes"
13164 echo "configure: failed program was:" >&5
13165 cat conftest.
$ac_ext >&5
13167 eval "ac_cv_lib_$ac_lib_var=no"
13170 LIBS
="$ac_save_LIBS"
13173 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13174 echo "$ac_t""yes" 1>&6
13175 FREETYPE_LINK
="-lfreetype"
13177 echo "$ac_t""no" 1>&6
13182 echo "$ac_t""no" 1>&6
13185 if test "x$FREETYPE_LINK" = "x" ; then
13186 { echo "configure: error: system freetype library not found! Use --with-freetype=yes to use the built-in freetype" 1>&2; exit 1; }
13191 if test "$wxUSE_OPENGL" = "yes"; then
13192 ac_safe
=`echo "GL/gl.h" | sed 'y%./+-%__p_%'`
13193 echo $ac_n "checking for GL/gl.h""... $ac_c" 1>&6
13194 echo "configure:13195: checking for GL/gl.h" >&5
13195 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
13196 echo $ac_n "(cached) $ac_c" 1>&6
13198 cat > conftest.
$ac_ext <<EOF
13199 #line 13200 "configure"
13200 #include "confdefs.h"
13203 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
13204 { (eval echo configure
:13205: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
13205 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
13206 if test -z "$ac_err"; then
13208 eval "ac_cv_header_$ac_safe=yes"
13211 echo "configure: failed program was:" >&5
13212 cat conftest.
$ac_ext >&5
13214 eval "ac_cv_header_$ac_safe=no"
13218 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
13219 echo "$ac_t""yes" 1>&6
13221 cat >> confdefs.h
<<\EOF
13222 #define wxUSE_OPENGL 1
13225 cat >> confdefs.h
<<\EOF
13226 #define wxUSE_GLCANVAS 1
13229 echo $ac_n "checking for glFlush in -lGL""... $ac_c" 1>&6
13230 echo "configure:13231: checking for glFlush in -lGL" >&5
13231 ac_lib_var
=`echo GL'_'glFlush | sed 'y%./+-%__p_%'`
13232 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13233 echo $ac_n "(cached) $ac_c" 1>&6
13235 ac_save_LIBS
="$LIBS"
13237 cat > conftest.
$ac_ext <<EOF
13238 #line 13239 "configure"
13239 #include "confdefs.h"
13240 /* Override any gcc2 internal prototype to avoid an error. */
13241 /* We use char because int might match the return type of a gcc2
13242 builtin and then its argument prototype would still apply. */
13249 if { (eval echo configure
:13250: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13251 eval "ac_cv_lib_$ac_lib_var=yes"
13253 echo "configure: failed program was:" >&5
13254 cat conftest.
$ac_ext >&5
13256 eval "ac_cv_lib_$ac_lib_var=no"
13259 LIBS
="$ac_save_LIBS"
13262 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13263 echo "$ac_t""yes" 1>&6
13265 OPENGL_LINK
="-lGL -lGLU"
13268 echo "$ac_t""no" 1>&6
13270 echo $ac_n "checking for glFlush in -lMesaGL""... $ac_c" 1>&6
13271 echo "configure:13272: checking for glFlush in -lMesaGL" >&5
13272 ac_lib_var
=`echo MesaGL'_'glFlush | sed 'y%./+-%__p_%'`
13273 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13274 echo $ac_n "(cached) $ac_c" 1>&6
13276 ac_save_LIBS
="$LIBS"
13277 LIBS
="-lMesaGL $LIBS"
13278 cat > conftest.
$ac_ext <<EOF
13279 #line 13280 "configure"
13280 #include "confdefs.h"
13281 /* Override any gcc2 internal prototype to avoid an error. */
13282 /* We use char because int might match the return type of a gcc2
13283 builtin and then its argument prototype would still apply. */
13290 if { (eval echo configure
:13291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13292 eval "ac_cv_lib_$ac_lib_var=yes"
13294 echo "configure: failed program was:" >&5
13295 cat conftest.
$ac_ext >&5
13297 eval "ac_cv_lib_$ac_lib_var=no"
13300 LIBS
="$ac_save_LIBS"
13303 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13304 echo "$ac_t""yes" 1>&6
13306 OPENGL_LINK
="-lMesaGL -lMesaGLU"
13309 echo "$ac_t""no" 1>&6
13317 echo "$ac_t""no" 1>&6
13324 if test "$wxUSE_GUI" = "yes"; then
13325 cat >> confdefs.h
<<\EOF
13326 #define wxUSE_GUI 1
13331 cat >> confdefs.h
<<\EOF
13332 #define wxUSE_NOGUI 1
13338 if test "$wxUSE_UNIX" = "yes"; then
13339 cat >> confdefs.h
<<\EOF
13340 #define wxUSE_UNIX 1
13346 if test "$wxUSE_APPLE_IEEE" = "yes"; then
13347 cat >> confdefs.h
<<\EOF
13348 #define wxUSE_APPLE_IEEE 1
13353 if test "$wxUSE_WAVE" = "yes"; then
13354 cat >> confdefs.h
<<\EOF
13355 #define wxUSE_WAVE 1
13360 if test "$wxUSE_FILE" = "yes"; then
13361 cat >> confdefs.h
<<\EOF
13362 #define wxUSE_FILE 1
13367 if test "$wxUSE_FILESYSTEM" = "yes"; then
13368 cat >> confdefs.h
<<\EOF
13369 #define wxUSE_FILESYSTEM 1
13374 if test "$wxUSE_FS_INET" = "yes"; then
13375 cat >> confdefs.h
<<\EOF
13376 #define wxUSE_FS_INET 1
13381 if test "$wxUSE_FS_ZIP" = "yes"; then
13382 cat >> confdefs.h
<<\EOF
13383 #define wxUSE_FS_ZIP 1
13388 if test "$wxUSE_ZIPSTREAM" = "yes"; then
13389 cat >> confdefs.h
<<\EOF
13390 #define wxUSE_ZIPSTREAM 1
13395 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
13396 cat >> confdefs.h
<<\EOF
13397 #define wxUSE_ON_FATAL_EXCEPTION 1
13402 if test "$wxUSE_BUSYINFO" = "yes"; then
13403 cat >> confdefs.h
<<\EOF
13404 #define wxUSE_BUSYINFO 1
13409 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
13410 cat >> confdefs.h
<<\EOF
13411 #define wxUSE_STD_IOSTREAM 1
13416 if test "$wxUSE_TEXTFILE" = "yes"; then
13417 if test "$wxUSE_FILE" != "yes"; then
13418 echo "configure: warning: wxTextFile requires wxFile and it won't be compiled without it" 1>&2
13420 cat >> confdefs.h
<<\EOF
13421 #define wxUSE_TEXTFILE 1
13427 if test "$wxUSE_CONFIG" = "yes" ; then
13428 if test "$wxUSE_TEXTFILE" != "yes"; then
13429 echo "configure: warning: wxConfig requires wxTextFile and it won't be compiled without it" 1>&2
13431 cat >> confdefs.h
<<\EOF
13432 #define wxUSE_CONFIG 1
13435 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS config"
13439 if test "$wxUSE_INTL" = "yes" ; then
13440 if test "$wxUSE_FILE" != "yes"; then
13441 echo "configure: warning: I18n code requires wxFile and it won't be compiled without it" 1>&2
13443 cat >> confdefs.h
<<\EOF
13444 #define wxUSE_INTL 1
13447 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS internat"
13448 GUIDIST
="$GUIDIST INTL_DIST"
13452 if test "$wxUSE_LOG" = "yes"; then
13453 cat >> confdefs.h
<<\EOF
13454 #define wxUSE_LOG 1
13459 if test "$wxUSE_LONGLONG" = "yes"; then
13460 cat >> confdefs.h
<<\EOF
13461 #define wxUSE_LONGLONG 1
13466 if test "$wxUSE_GEOMETRY" = "yes"; then
13467 cat >> confdefs.h
<<\EOF
13468 #define wxUSE_GEOMETRY 1
13473 if test "$wxUSE_DIALUP_MANAGER" = "yes" ; then
13474 cat >> confdefs.h
<<\EOF
13475 #define wxUSE_DIALUP_MANAGER 1
13478 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dialup"
13481 if test "$wxUSE_STREAMS" = "yes" ; then
13482 cat >> confdefs.h
<<\EOF
13483 #define wxUSE_STREAMS 1
13489 if test "$wxUSE_TIMEDATE" = "yes"; then
13490 for ac_func
in strptime
13492 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13493 echo "configure:13494: checking for $ac_func" >&5
13494 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13495 echo $ac_n "(cached) $ac_c" 1>&6
13497 cat > conftest.
$ac_ext <<EOF
13498 #line 13499 "configure"
13499 #include "confdefs.h"
13500 /* System header to define __stub macros and hopefully few prototypes,
13501 which can conflict with char $ac_func(); below. */
13502 #include <assert.h>
13503 /* Override any gcc2 internal prototype to avoid an error. */
13504 /* We use char because int might match the return type of a gcc2
13505 builtin and then its argument prototype would still apply. */
13510 /* The GNU C library defines this for functions which it implements
13511 to always fail with ENOSYS. Some functions are actually named
13512 something starting with __ and the normal name is an alias. */
13513 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13521 if { (eval echo configure
:13522: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13523 eval "ac_cv_func_$ac_func=yes"
13525 echo "configure: failed program was:" >&5
13526 cat conftest.
$ac_ext >&5
13528 eval "ac_cv_func_$ac_func=no"
13533 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13534 echo "$ac_t""yes" 1>&6
13535 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13536 cat >> confdefs.h
<<EOF
13537 #define $ac_tr_func 1
13541 echo "$ac_t""no" 1>&6
13546 echo $ac_n "checking for timezone variable in <time.h>""... $ac_c" 1>&6
13547 echo "configure:13548: checking for timezone variable in <time.h>" >&5
13548 if eval "test \"`echo '$''{'wx_cv_var_timezone'+set}'`\" = set"; then
13549 echo $ac_n "(cached) $ac_c" 1>&6
13552 cat > conftest.
$ac_ext <<EOF
13553 #line 13554 "configure"
13554 #include "confdefs.h"
13565 if { (eval echo configure
:13566: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13568 wx_cv_var_timezone
=__timezone
13571 echo "configure: failed program was:" >&5
13572 cat conftest.
$ac_ext >&5
13575 cat > conftest.
$ac_ext <<EOF
13576 #line 13577 "configure"
13577 #include "confdefs.h"
13588 if { (eval echo configure
:13589: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13591 wx_cv_var_timezone
=_timezone
13594 echo "configure: failed program was:" >&5
13595 cat conftest.
$ac_ext >&5
13598 cat > conftest.
$ac_ext <<EOF
13599 #line 13600 "configure"
13600 #include "confdefs.h"
13611 if { (eval echo configure
:13612: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13614 wx_cv_var_timezone
=timezone
13617 echo "configure: failed program was:" >&5
13618 cat conftest.
$ac_ext >&5
13620 { echo "configure: error: no timezone variable" 1>&2; exit 1; }
13636 echo "$ac_t""$wx_cv_var_timezone" 1>&6
13638 cat >> confdefs.h
<<EOF
13639 #define WX_TIMEZONE $wx_cv_var_timezone
13643 for ac_func
in localtime
13645 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13646 echo "configure:13647: checking for $ac_func" >&5
13647 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13648 echo $ac_n "(cached) $ac_c" 1>&6
13650 cat > conftest.
$ac_ext <<EOF
13651 #line 13652 "configure"
13652 #include "confdefs.h"
13653 /* System header to define __stub macros and hopefully few prototypes,
13654 which can conflict with char $ac_func(); below. */
13655 #include <assert.h>
13656 /* Override any gcc2 internal prototype to avoid an error. */
13657 /* We use char because int might match the return type of a gcc2
13658 builtin and then its argument prototype would still apply. */
13663 /* The GNU C library defines this for functions which it implements
13664 to always fail with ENOSYS. Some functions are actually named
13665 something starting with __ and the normal name is an alias. */
13666 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13674 if { (eval echo configure
:13675: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13676 eval "ac_cv_func_$ac_func=yes"
13678 echo "configure: failed program was:" >&5
13679 cat conftest.
$ac_ext >&5
13681 eval "ac_cv_func_$ac_func=no"
13686 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13687 echo "$ac_t""yes" 1>&6
13688 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13689 cat >> confdefs.h
<<EOF
13690 #define $ac_tr_func 1
13694 echo "$ac_t""no" 1>&6
13699 if test "$ac_cv_func_localtime" = "yes"; then
13700 echo $ac_n "checking for tm_gmtoff in struct tm""... $ac_c" 1>&6
13701 echo "configure:13702: checking for tm_gmtoff in struct tm" >&5
13702 if eval "test \"`echo '$''{'wx_cv_struct_tm_has_gmtoff'+set}'`\" = set"; then
13703 echo $ac_n "(cached) $ac_c" 1>&6
13706 cat > conftest.
$ac_ext <<EOF
13707 #line 13708 "configure"
13708 #include "confdefs.h"
13719 if { (eval echo configure
:13720: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13722 wx_cv_struct_tm_has_gmtoff
=yes
13723 cat >> confdefs.h
<<\EOF
13724 #define WX_GMTOFF_IN_TM 1
13729 echo "configure: failed program was:" >&5
13730 cat conftest.
$ac_ext >&5
13732 wx_cv_struct_tm_has_gmtoff
=no
13739 echo "$ac_t""$wx_cv_struct_tm_has_gmtoff" 1>&6
13742 for ac_func
in gettimeofday ftime
13744 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
13745 echo "configure:13746: checking for $ac_func" >&5
13746 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
13747 echo $ac_n "(cached) $ac_c" 1>&6
13749 cat > conftest.
$ac_ext <<EOF
13750 #line 13751 "configure"
13751 #include "confdefs.h"
13752 /* System header to define __stub macros and hopefully few prototypes,
13753 which can conflict with char $ac_func(); below. */
13754 #include <assert.h>
13755 /* Override any gcc2 internal prototype to avoid an error. */
13756 /* We use char because int might match the return type of a gcc2
13757 builtin and then its argument prototype would still apply. */
13762 /* The GNU C library defines this for functions which it implements
13763 to always fail with ENOSYS. Some functions are actually named
13764 something starting with __ and the normal name is an alias. */
13765 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
13773 if { (eval echo configure
:13774: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13775 eval "ac_cv_func_$ac_func=yes"
13777 echo "configure: failed program was:" >&5
13778 cat conftest.
$ac_ext >&5
13780 eval "ac_cv_func_$ac_func=no"
13785 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
13786 echo "$ac_t""yes" 1>&6
13787 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
13788 cat >> confdefs.h
<<EOF
13789 #define $ac_tr_func 1
13793 echo "$ac_t""no" 1>&6
13798 if test "$ac_cv_func_gettimeofday" = "yes"; then
13799 echo $ac_n "checking whether gettimeofday takes two arguments""... $ac_c" 1>&6
13800 echo "configure:13801: checking whether gettimeofday takes two arguments" >&5
13801 if eval "test \"`echo '$''{'wx_cv_func_gettimeofday_has_2_args'+set}'`\" = set"; then
13802 echo $ac_n "(cached) $ac_c" 1>&6
13807 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13808 ac_cpp
='$CXXCPP $CPPFLAGS'
13809 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13810 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13811 cross_compiling
=$ac_cv_prog_cxx_cross
13814 cat > conftest.
$ac_ext <<EOF
13815 #line 13816 "configure"
13816 #include "confdefs.h"
13818 #include <sys/time.h>
13819 #include <unistd.h>
13824 struct timezone tz;
13825 gettimeofday(&tv, &tz);
13829 if { (eval echo configure
:13830: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13831 wx_cv_func_gettimeofday_has_2_args
=yes
13833 echo "configure: failed program was:" >&5
13834 cat conftest.
$ac_ext >&5
13836 cat > conftest.
$ac_ext <<EOF
13837 #line 13838 "configure"
13838 #include "confdefs.h"
13840 #include <sys/time.h>
13841 #include <unistd.h>
13850 if { (eval echo configure
:13851: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
13852 wx_cv_func_gettimeofday_has_2_args
=no
13854 echo "configure: failed program was:" >&5
13855 cat conftest.
$ac_ext >&5
13857 wx_cv_func_gettimeofday_has_2_args
=unknown
13865 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
13866 ac_cpp
='$CPP $CPPFLAGS'
13867 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
13868 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
13869 cross_compiling
=$ac_cv_prog_cc_cross
13874 echo "$ac_t""$wx_cv_func_gettimeofday_has_2_args" 1>&6
13876 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
13877 cat >> confdefs.h
<<\EOF
13878 #define WX_GETTIMEOFDAY_NO_TZ 1
13884 cat >> confdefs.h
<<\EOF
13885 #define wxUSE_TIMEDATE 1
13888 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS typetest"
13892 if test "$TOOLKIT" != "MSW"; then
13894 if test "$wxUSE_SOCKETS" = "yes"; then
13895 echo $ac_n "checking for socket""... $ac_c" 1>&6
13896 echo "configure:13897: checking for socket" >&5
13897 if eval "test \"`echo '$''{'ac_cv_func_socket'+set}'`\" = set"; then
13898 echo $ac_n "(cached) $ac_c" 1>&6
13900 cat > conftest.
$ac_ext <<EOF
13901 #line 13902 "configure"
13902 #include "confdefs.h"
13903 /* System header to define __stub macros and hopefully few prototypes,
13904 which can conflict with char socket(); below. */
13905 #include <assert.h>
13906 /* Override any gcc2 internal prototype to avoid an error. */
13907 /* We use char because int might match the return type of a gcc2
13908 builtin and then its argument prototype would still apply. */
13913 /* The GNU C library defines this for functions which it implements
13914 to always fail with ENOSYS. Some functions are actually named
13915 something starting with __ and the normal name is an alias. */
13916 #if defined (__stub_socket) || defined (__stub___socket)
13924 if { (eval echo configure
:13925: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13926 eval "ac_cv_func_socket=yes"
13928 echo "configure: failed program was:" >&5
13929 cat conftest.
$ac_ext >&5
13931 eval "ac_cv_func_socket=no"
13936 if eval "test \"`echo '$ac_cv_func_'socket`\" = yes"; then
13937 echo "$ac_t""yes" 1>&6
13940 echo "$ac_t""no" 1>&6
13941 echo $ac_n "checking for socket in -lsocket""... $ac_c" 1>&6
13942 echo "configure:13943: checking for socket in -lsocket" >&5
13943 ac_lib_var
=`echo socket'_'socket | sed 'y%./+-%__p_%'`
13944 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
13945 echo $ac_n "(cached) $ac_c" 1>&6
13947 ac_save_LIBS
="$LIBS"
13948 LIBS
="-lsocket $LIBS"
13949 cat > conftest.
$ac_ext <<EOF
13950 #line 13951 "configure"
13951 #include "confdefs.h"
13952 /* Override any gcc2 internal prototype to avoid an error. */
13953 /* We use char because int might match the return type of a gcc2
13954 builtin and then its argument prototype would still apply. */
13961 if { (eval echo configure
:13962: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
13963 eval "ac_cv_lib_$ac_lib_var=yes"
13965 echo "configure: failed program was:" >&5
13966 cat conftest.
$ac_ext >&5
13968 eval "ac_cv_lib_$ac_lib_var=no"
13971 LIBS
="$ac_save_LIBS"
13974 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
13975 echo "$ac_t""yes" 1>&6
13976 INET_LINK
="$INET_LINK -lsocket"
13978 echo "$ac_t""no" 1>&6
13980 echo "configure: warning: socket library not found - sockets will be disabled" 1>&2
13992 if test "$wxUSE_SOCKETS" = "yes" ; then
13993 echo $ac_n "checking what is the type of the third argument of getsockname""... $ac_c" 1>&6
13994 echo "configure:13995: checking what is the type of the third argument of getsockname" >&5
13995 if eval "test \"`echo '$''{'wx_cv_type_getsockname3'+set}'`\" = set"; then
13996 echo $ac_n "(cached) $ac_c" 1>&6
14001 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14002 ac_cpp
='$CXXCPP $CPPFLAGS'
14003 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14004 ac_link
='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14005 cross_compiling
=$ac_cv_prog_cxx_cross
14008 cat > conftest.
$ac_ext <<EOF
14009 #line 14010 "configure"
14010 #include "confdefs.h"
14012 #include <sys/types.h>
14013 #include <sys/socket.h>
14018 getsockname(0, 0, &len);
14022 if { (eval echo configure
:14023: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14024 wx_cv_type_getsockname3
=socklen_t
14026 echo "configure: failed program was:" >&5
14027 cat conftest.
$ac_ext >&5
14029 cat > conftest.
$ac_ext <<EOF
14030 #line 14031 "configure"
14031 #include "confdefs.h"
14033 #include <sys/types.h>
14034 #include <sys/socket.h>
14039 getsockname(0, 0, &len);
14043 if { (eval echo configure
:14044: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14045 wx_cv_type_getsockname3
=size_t
14047 echo "configure: failed program was:" >&5
14048 cat conftest.
$ac_ext >&5
14050 cat > conftest.
$ac_ext <<EOF
14051 #line 14052 "configure"
14052 #include "confdefs.h"
14054 #include <sys/types.h>
14055 #include <sys/socket.h>
14060 getsockname(0, 0, &len);
14064 if { (eval echo configure
:14065: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
14066 wx_cv_type_getsockname3
=int
14068 echo "configure: failed program was:" >&5
14069 cat conftest.
$ac_ext >&5
14071 wx_cv_type_getsockname3
=unknown
14083 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
14084 ac_cpp
='$CPP $CPPFLAGS'
14085 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
14086 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
14087 cross_compiling
=$ac_cv_prog_cc_cross
14092 echo "$ac_t""$wx_cv_type_getsockname3" 1>&6
14094 if test "$wx_cv_type_getsockname3" = "unknown"; then
14096 echo "configure: warning: Couldn't find socklen_t synonym for this system" 1>&2
14098 cat >> confdefs.h
<<EOF
14099 #define SOCKLEN_T $wx_cv_type_getsockname3
14107 if test "$wxUSE_SOCKETS" = "yes" ; then
14108 cat >> confdefs.h
<<\EOF
14109 #define wxUSE_SOCKETS 1
14112 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sockets"
14113 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS protocol"
14117 if test "$wxUSE_GUI" = "yes"; then
14119 if test "$TOOLKIT" != "MSW"; then
14121 if test "$wxUSE_JOYSTICK" = "yes"; then
14122 for ac_hdr
in linux
/joystick.h
14124 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14125 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14126 echo "configure:14127: checking for $ac_hdr" >&5
14127 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14128 echo $ac_n "(cached) $ac_c" 1>&6
14130 cat > conftest.
$ac_ext <<EOF
14131 #line 14132 "configure"
14132 #include "confdefs.h"
14135 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14136 { (eval echo configure
:14137: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14137 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14138 if test -z "$ac_err"; then
14140 eval "ac_cv_header_$ac_safe=yes"
14143 echo "configure: failed program was:" >&5
14144 cat conftest.
$ac_ext >&5
14146 eval "ac_cv_header_$ac_safe=no"
14150 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14151 echo "$ac_t""yes" 1>&6
14152 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14153 cat >> confdefs.h
<<EOF
14154 #define $ac_tr_hdr 1
14158 echo "$ac_t""no" 1>&6
14162 if test "$ac_cv_header_linux_joystick_h" != "yes"; then
14164 echo "configure: warning: Joystick not supported by this system" 1>&2
14170 if test "$wxUSE_JOYSTICK" = "yes"; then
14171 cat >> confdefs.h
<<\EOF
14172 #define wxUSE_JOYSTICK 1
14175 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS joytest"
14181 if test "$TOOLKIT" != "MSW"; then
14185 if test "$wxUSE_DYNLIB_CLASS" = "yes"; then
14186 if test "$USE_MAC" = 1; then
14189 for ac_func
in dlopen
14191 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14192 echo "configure:14193: checking for $ac_func" >&5
14193 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14194 echo $ac_n "(cached) $ac_c" 1>&6
14196 cat > conftest.
$ac_ext <<EOF
14197 #line 14198 "configure"
14198 #include "confdefs.h"
14199 /* System header to define __stub macros and hopefully few prototypes,
14200 which can conflict with char $ac_func(); below. */
14201 #include <assert.h>
14202 /* Override any gcc2 internal prototype to avoid an error. */
14203 /* We use char because int might match the return type of a gcc2
14204 builtin and then its argument prototype would still apply. */
14209 /* The GNU C library defines this for functions which it implements
14210 to always fail with ENOSYS. Some functions are actually named
14211 something starting with __ and the normal name is an alias. */
14212 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14220 if { (eval echo configure
:14221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14222 eval "ac_cv_func_$ac_func=yes"
14224 echo "configure: failed program was:" >&5
14225 cat conftest.
$ac_ext >&5
14227 eval "ac_cv_func_$ac_func=no"
14232 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14233 echo "$ac_t""yes" 1>&6
14234 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14235 cat >> confdefs.h
<<EOF
14236 #define $ac_tr_func 1
14239 cat >> confdefs.h
<<\EOF
14240 #define HAVE_DLOPEN 1
14246 echo "$ac_t""no" 1>&6
14247 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
14248 echo "configure:14249: checking for dlopen in -ldl" >&5
14249 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
14250 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14251 echo $ac_n "(cached) $ac_c" 1>&6
14253 ac_save_LIBS
="$LIBS"
14255 cat > conftest.
$ac_ext <<EOF
14256 #line 14257 "configure"
14257 #include "confdefs.h"
14258 /* Override any gcc2 internal prototype to avoid an error. */
14259 /* We use char because int might match the return type of a gcc2
14260 builtin and then its argument prototype would still apply. */
14267 if { (eval echo configure
:14268: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14269 eval "ac_cv_lib_$ac_lib_var=yes"
14271 echo "configure: failed program was:" >&5
14272 cat conftest.
$ac_ext >&5
14274 eval "ac_cv_lib_$ac_lib_var=no"
14277 LIBS
="$ac_save_LIBS"
14280 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14281 echo "$ac_t""yes" 1>&6
14283 cat >> confdefs.h
<<\EOF
14284 #define HAVE_DLOPEN 1
14291 echo "$ac_t""no" 1>&6
14293 for ac_func
in shl_load
14295 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14296 echo "configure:14297: checking for $ac_func" >&5
14297 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14298 echo $ac_n "(cached) $ac_c" 1>&6
14300 cat > conftest.
$ac_ext <<EOF
14301 #line 14302 "configure"
14302 #include "confdefs.h"
14303 /* System header to define __stub macros and hopefully few prototypes,
14304 which can conflict with char $ac_func(); below. */
14305 #include <assert.h>
14306 /* Override any gcc2 internal prototype to avoid an error. */
14307 /* We use char because int might match the return type of a gcc2
14308 builtin and then its argument prototype would still apply. */
14313 /* The GNU C library defines this for functions which it implements
14314 to always fail with ENOSYS. Some functions are actually named
14315 something starting with __ and the normal name is an alias. */
14316 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14324 if { (eval echo configure
:14325: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14326 eval "ac_cv_func_$ac_func=yes"
14328 echo "configure: failed program was:" >&5
14329 cat conftest.
$ac_ext >&5
14331 eval "ac_cv_func_$ac_func=no"
14336 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14337 echo "$ac_t""yes" 1>&6
14338 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14339 cat >> confdefs.h
<<EOF
14340 #define $ac_tr_func 1
14343 cat >> confdefs.h
<<\EOF
14344 #define HAVE_SHL_LOAD 1
14350 echo "$ac_t""no" 1>&6
14351 echo $ac_n "checking for dld in -lshl_load""... $ac_c" 1>&6
14352 echo "configure:14353: checking for dld in -lshl_load" >&5
14353 ac_lib_var
=`echo shl_load'_'dld | sed 'y%./+-%__p_%'`
14354 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14355 echo $ac_n "(cached) $ac_c" 1>&6
14357 ac_save_LIBS
="$LIBS"
14358 LIBS
="-lshl_load $LIBS"
14359 cat > conftest.
$ac_ext <<EOF
14360 #line 14361 "configure"
14361 #include "confdefs.h"
14362 /* Override any gcc2 internal prototype to avoid an error. */
14363 /* We use char because int might match the return type of a gcc2
14364 builtin and then its argument prototype would still apply. */
14371 if { (eval echo configure
:14372: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14373 eval "ac_cv_lib_$ac_lib_var=yes"
14375 echo "configure: failed program was:" >&5
14376 cat conftest.
$ac_ext >&5
14378 eval "ac_cv_lib_$ac_lib_var=no"
14381 LIBS
="$ac_save_LIBS"
14384 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14385 echo "$ac_t""yes" 1>&6
14391 echo "$ac_t""no" 1>&6
14406 if test "$HAVE_DL_FUNCS" = 1; then
14407 for ac_func
in dlerror
14409 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
14410 echo "configure:14411: checking for $ac_func" >&5
14411 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
14412 echo $ac_n "(cached) $ac_c" 1>&6
14414 cat > conftest.
$ac_ext <<EOF
14415 #line 14416 "configure"
14416 #include "confdefs.h"
14417 /* System header to define __stub macros and hopefully few prototypes,
14418 which can conflict with char $ac_func(); below. */
14419 #include <assert.h>
14420 /* Override any gcc2 internal prototype to avoid an error. */
14421 /* We use char because int might match the return type of a gcc2
14422 builtin and then its argument prototype would still apply. */
14427 /* The GNU C library defines this for functions which it implements
14428 to always fail with ENOSYS. Some functions are actually named
14429 something starting with __ and the normal name is an alias. */
14430 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
14438 if { (eval echo configure
:14439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14440 eval "ac_cv_func_$ac_func=yes"
14442 echo "configure: failed program was:" >&5
14443 cat conftest.
$ac_ext >&5
14445 eval "ac_cv_func_$ac_func=no"
14450 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
14451 echo "$ac_t""yes" 1>&6
14452 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
14453 cat >> confdefs.h
<<EOF
14454 #define $ac_tr_func 1
14456 cat >> confdefs.h
<<\EOF
14457 #define HAVE_DLERROR 1
14461 echo "$ac_t""no" 1>&6
14462 echo $ac_n "checking for dlerror in -ldl""... $ac_c" 1>&6
14463 echo "configure:14464: checking for dlerror in -ldl" >&5
14464 ac_lib_var
=`echo dl'_'dlerror | sed 'y%./+-%__p_%'`
14465 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
14466 echo $ac_n "(cached) $ac_c" 1>&6
14468 ac_save_LIBS
="$LIBS"
14470 cat > conftest.
$ac_ext <<EOF
14471 #line 14472 "configure"
14472 #include "confdefs.h"
14473 /* Override any gcc2 internal prototype to avoid an error. */
14474 /* We use char because int might match the return type of a gcc2
14475 builtin and then its argument prototype would still apply. */
14482 if { (eval echo configure
:14483: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
14484 eval "ac_cv_lib_$ac_lib_var=yes"
14486 echo "configure: failed program was:" >&5
14487 cat conftest.
$ac_ext >&5
14489 eval "ac_cv_lib_$ac_lib_var=no"
14492 LIBS
="$ac_save_LIBS"
14495 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
14496 echo "$ac_t""yes" 1>&6
14497 cat >> confdefs.h
<<\EOF
14498 #define HAVE_DLERROR 1
14502 echo "$ac_t""no" 1>&6
14511 if test "$HAVE_DL_FUNCS" = 0; then
14512 if test "$HAVE_SHL_FUNCS" = 0; then
14513 if test "$USE_UNIX" = 1; then
14514 echo "configure: warning: Missing dynamic loading support, several features will be disabled" 1>&2
14515 wxUSE_DYNLIB_CLASS
=no
14517 echo "configure: warning: Assuming wxLibrary class works on this platform" 1>&2
14525 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
14526 cat >> confdefs.h
<<\EOF
14527 #define wxUSE_DYNLIB_CLASS 1
14536 if test "$wxUSE_UNICODE" = "yes" ; then
14537 cat >> confdefs.h
<<\EOF
14538 #define wxUSE_UNICODE 1
14543 if test "$wxUSE_WCSRTOMBS" = "yes" ; then
14544 cat >> confdefs.h
<<\EOF
14545 #define wxUSE_WCSRTOMBS 1
14550 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
14551 cat >> confdefs.h
<<\EOF
14552 #define wxUSE_EXPERIMENTAL_PRINTF 1
14558 if test "$wxUSE_SERIAL" = "yes" ; then
14559 cat >> confdefs.h
<<\EOF
14560 #define wxUSE_SERIAL 1
14567 if test "$wxUSE_ODBC" = "yes" ; then
14568 cat >> confdefs.h
<<\EOF
14569 #define wxUSE_ODBC 1
14572 WXODBCFLAG
="-D_IODBC_"
14573 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS db"
14574 IODBCOBJS
="\$(IODBC_OBJS)"
14580 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
14581 cat >> confdefs.h
<<\EOF
14582 #define wxUSE_POSTSCRIPT 1
14587 cat >> confdefs.h
<<\EOF
14588 #define wxUSE_AFM_FOR_POSTSCRIPT 1
14592 cat >> confdefs.h
<<\EOF
14593 #define wxUSE_NORMALIZED_PS_FONTS 1
14598 if test "$wxUSE_CONSTRAINTS" = "yes"; then
14599 cat >> confdefs.h
<<\EOF
14600 #define wxUSE_CONSTRAINTS 1
14603 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS layout"
14606 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14607 cat >> confdefs.h
<<\EOF
14608 #define wxUSE_MDI_ARCHITECTURE 1
14611 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS mdi"
14614 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
14615 cat >> confdefs.h
<<\EOF
14616 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
14619 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docview"
14620 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
14621 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS docvwmdi"
14625 if test "$wxUSE_HELP" = "yes"; then
14626 cat >> confdefs.h
<<\EOF
14627 #define wxUSE_HELP 1
14630 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS help"
14633 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
14634 if test "$wxUSE_CONSTRAINTS" != "yes"; then
14635 echo "configure: warning: Printing support cannot be used without constraints so it won't be compiled without it" 1>&2
14637 cat >> confdefs.h
<<\EOF
14638 #define wxUSE_PRINTING_ARCHITECTURE 1
14642 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS printing"
14645 if test "$wxUSE_PROLOGIO" = "yes" ; then
14646 cat >> confdefs.h
<<\EOF
14647 #define wxUSE_PROLOGIO 1
14652 if test "$wxUSE_RESOURCES" = "yes" ; then
14653 if test "$wxUSE_PROLOGIO" = "yes" ; then
14654 cat >> confdefs.h
<<\EOF
14655 #define wxUSE_RESOURCES 1
14658 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS resource"
14660 echo "configure: warning: wxWindows ressource system requires PrologIO and can't be compiled without it." 1>&2
14664 if test "$wxUSE_X_RESOURCES" = "yes"; then
14665 cat >> confdefs.h
<<\EOF
14666 #define wxUSE_X_RESOURCES 1
14672 if test "$wxUSE_IPC" = "yes"; then
14673 if test "$wxUSE_SOCKETS" != "yes"; then
14674 echo "configure: warning: wxWindows IPC classes require sockets" 1>&2
14677 cat >> confdefs.h
<<\EOF
14678 #define wxUSE_IPC 1
14683 if test "$wxUSE_CLIPBOARD" = "yes"; then
14684 cat >> confdefs.h
<<\EOF
14685 #define wxUSE_CLIPBOARD 1
14690 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
14691 if test "$wxUSE_GTK" = 1; then
14692 if test "$WXGTK12" != 1; then
14693 echo "configure: warning: Drag and drop is only supported under GTK+ 1.2" 1>&2
14694 wxUSE_DRAG_AND_DROP
=no
14698 if test "$wxUSE_MOTIF" = 1; then
14699 echo "configure: warning: Drag and drop is not yet supported under Motif" 1>&2
14700 wxUSE_DRAG_AND_DROP
=no
14703 if test "$USE_WIN32" = 1; then
14705 for ac_hdr
in ole2.h
14707 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
14708 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
14709 echo "configure:14710: checking for $ac_hdr" >&5
14710 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
14711 echo $ac_n "(cached) $ac_c" 1>&6
14713 cat > conftest.
$ac_ext <<EOF
14714 #line 14715 "configure"
14715 #include "confdefs.h"
14718 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
14719 { (eval echo configure
:14720: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
14720 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
14721 if test -z "$ac_err"; then
14723 eval "ac_cv_header_$ac_safe=yes"
14726 echo "configure: failed program was:" >&5
14727 cat conftest.
$ac_ext >&5
14729 eval "ac_cv_header_$ac_safe=no"
14733 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
14734 echo "$ac_t""yes" 1>&6
14735 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
14736 cat >> confdefs.h
<<EOF
14737 #define $ac_tr_hdr 1
14741 echo "$ac_t""no" 1>&6
14746 if test "$ac_cv_header_ole2_h" = "yes" ; then
14747 if test "$GCC" = yes ; then
14748 CODE_GEN_FLAGS_CXX
="$CODE_GEN_FLAGS_CXX -fvtable-thunks"
14751 echo "configure: warning: Drag and drop disabled because OLE headers not found" 1>&2
14752 wxUSE_DRAG_AND_DROP
=no
14756 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
14757 cat >> confdefs.h
<<\EOF
14758 #define wxUSE_DRAG_AND_DROP 1
14761 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS dnd"
14766 if test "$wxUSE_SPLINES" = "yes" ; then
14767 cat >> confdefs.h
<<\EOF
14768 #define wxUSE_SPLINES 1
14774 if test "$wxUSE_ACCEL" = "yes"; then
14775 cat >> confdefs.h
<<\EOF
14776 #define wxUSE_ACCEL 1
14781 if test "$wxUSE_CARET" = "yes"; then
14782 cat >> confdefs.h
<<\EOF
14783 #define wxUSE_CARET 1
14786 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS caret"
14789 if test "$wxUSE_COMBOBOX" = "yes"; then
14790 cat >> confdefs.h
<<\EOF
14791 #define wxUSE_COMBOBOX 1
14796 if test "$wxUSE_CHOICE" = "yes"; then
14797 cat >> confdefs.h
<<\EOF
14798 #define wxUSE_CHOICE 1
14803 if test "$wxUSE_BMPBUTTON" = "yes"; then
14804 cat >> confdefs.h
<<\EOF
14805 #define wxUSE_BMPBUTTON 1
14810 if test "$wxUSE_CHECKBOX" = "yes"; then
14811 cat >> confdefs.h
<<\EOF
14812 #define wxUSE_CHECKBOX 1
14817 if test "$wxUSE_CHECKLST" = "yes"; then
14818 cat >> confdefs.h
<<\EOF
14819 #define wxUSE_CHECKLISTBOX 1
14822 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS checklst"
14825 if test "$wxUSE_GAUGE" = "yes"; then
14826 cat >> confdefs.h
<<\EOF
14827 #define wxUSE_GAUGE 1
14832 if test "$wxUSE_NEW_GRID" = "yes"; then
14834 cat >> confdefs.h
<<\EOF
14835 #define wxUSE_NEW_GRID 1
14838 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS newgrid"
14841 if test "$wxUSE_GRID" = "yes"; then
14842 cat >> confdefs.h
<<\EOF
14843 #define wxUSE_GRID 1
14846 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS grid"
14849 if test "$wxUSE_IMAGLIST" = "yes"; then
14850 cat >> confdefs.h
<<\EOF
14851 #define wxUSE_IMAGLIST 1
14856 if test "$wxUSE_LISTBOX" = "yes"; then
14857 cat >> confdefs.h
<<\EOF
14858 #define wxUSE_LISTBOX 1
14863 if test "$wxUSE_LISTCTRL" = "yes"; then
14864 if test "$wxUSE_IMAGLIST" = "yes"; then
14865 cat >> confdefs.h
<<\EOF
14866 #define wxUSE_LISTCTRL 1
14869 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS listctrl"
14871 echo "configure: warning: wxListCtrl requires wxImageList and won't be compiled without it" 1>&2
14875 if test "$wxUSE_NOTEBOOK" = "yes"; then
14876 cat >> confdefs.h
<<\EOF
14877 #define wxUSE_NOTEBOOK 1
14880 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS notebook"
14883 if test "$wxUSE_RADIOBOX" = "yes"; then
14884 cat >> confdefs.h
<<\EOF
14885 #define wxUSE_RADIOBOX 1
14890 if test "$wxUSE_RADIOBTN" = "yes"; then
14891 cat >> confdefs.h
<<\EOF
14892 #define wxUSE_RADIOBTN 1
14897 if test "$wxUSE_SASH" = "yes"; then
14898 cat >> confdefs.h
<<\EOF
14899 #define wxUSE_SASH 1
14902 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS sashtest"
14905 if test "$wxUSE_SCROLLBAR" = "yes"; then
14906 cat >> confdefs.h
<<\EOF
14907 #define wxUSE_SCROLLBAR 1
14910 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS scroll scrollsub"
14913 if test "$wxUSE_SLIDER" = "yes"; then
14914 cat >> confdefs.h
<<\EOF
14915 #define wxUSE_SLIDER 1
14920 if test "$wxUSE_SPINBTN" = "yes"; then
14921 cat >> confdefs.h
<<\EOF
14922 #define wxUSE_SPINBTN 1
14927 if test "$wxUSE_SPINCTRL" = "yes"; then
14928 cat >> confdefs.h
<<\EOF
14929 #define wxUSE_SPINCTRL 1
14934 if test "$wxUSE_SPLITTER" = "yes"; then
14935 cat >> confdefs.h
<<\EOF
14936 #define wxUSE_SPLITTER 1
14939 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS splitter"
14942 if test "$wxUSE_STATBMP" = "yes"; then
14943 cat >> confdefs.h
<<\EOF
14944 #define wxUSE_STATBMP 1
14949 if test "$wxUSE_STATBOX" = "yes"; then
14950 cat >> confdefs.h
<<\EOF
14951 #define wxUSE_STATBOX 1
14956 if test "$wxUSE_STATLINE" = "yes"; then
14957 if test "$wxUSE_WINE" = 1 ; then
14958 echo "configure: warning: wxStaticLine is not supported under WINE" 1>&2
14960 cat >> confdefs.h
<<\EOF
14961 #define wxUSE_STATLINE 1
14967 if test "$wxUSE_STATUSBAR" = "yes"; then
14968 cat >> confdefs.h
<<\EOF
14969 #define wxUSE_STATUSBAR 1
14973 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS statbar"
14976 if test "$wxUSE_TABDIALOG" = "yes"; then
14977 cat >> confdefs.h
<<\EOF
14978 #define wxUSE_TAB_DIALOG 1
14981 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS tab"
14984 if test "$wxUSE_TOOLBAR_SIMPLE" = "yes"; then
14985 cat >> confdefs.h
<<\EOF
14986 #define wxUSE_TOOLBAR_SIMPLE 1
14989 wxUSE_TOOLBAR
="yes"
14992 if test "$wxUSE_TOOLBAR" = "yes"; then
14993 cat >> confdefs.h
<<\EOF
14994 #define wxUSE_TOOLBAR 1
14998 if test "$wxUSE_TOOLBAR_SIMPLE" != "yes"; then
14999 wxUSE_TOOLBAR_NATIVE
="yes"
15002 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS toolbar"
15005 if test "$wxUSE_TOOLBAR_NATIVE" = "yes"; then
15006 cat >> confdefs.h
<<\EOF
15007 #define wxUSE_TOOLBAR_NATIVE 1
15012 if test "$wxUSE_TOOLTIPS" = "yes"; then
15013 if test "$wxUSE_MOTIF" = 1; then
15014 echo "configure: warning: wxTooltip not supported yet under Motif" 1>&2
15016 if test "$wxUSE_WINE" = 1; then
15017 echo "configure: warning: wxTooltip not supported under WINE" 1>&2
15019 cat >> confdefs.h
<<\EOF
15020 #define wxUSE_TOOLTIPS 1
15027 if test "$wxUSE_TREECTRL" = "yes"; then
15028 if test "$wxUSE_IMAGLIST" = "yes"; then
15029 cat >> confdefs.h
<<\EOF
15030 #define wxUSE_TREECTRL 1
15033 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS treectrl"
15035 echo "configure: warning: wxTreeCtrl requires wxImageList and won't be compiled without it" 1>&2
15041 if test "$wxUSE_METAFILE" = "yes"; then
15042 cat >> confdefs.h
<<\EOF
15043 #define wxUSE_METAFILE 1
15048 if test "$wxUSE_DIRDLG" = "yes"; then
15049 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15050 echo "configure: warning: wxDirDialog requires constraints so it won't be compiled without them" 1>&2
15052 if test "$wxUSE_TREECTRL" != "yes"; then
15053 echo "configure: warning: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" 1>&2
15055 cat >> confdefs.h
<<\EOF
15056 #define wxUSE_DIRDLG 1
15063 if test "$wxUSE_TEXTDLG" = "yes"; then
15064 cat >> confdefs.h
<<\EOF
15065 #define wxUSE_TEXTDLG 1
15070 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
15071 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15072 echo "configure: warning: Startup tips requires constraints and won't be compiled without them" 1>&2
15074 cat >> confdefs.h
<<\EOF
15075 #define wxUSE_STARTUP_TIPS 1
15081 if test "$wxUSE_PROGRESSDLG" = "yes"; then
15082 if test "$wxUSE_CONSTRAINTS" != "yes"; then
15083 echo "configure: warning: wxProgressDialog requires constraints so it won't be compiled without them" 1>&2
15085 cat >> confdefs.h
<<\EOF
15086 #define wxUSE_PROGRESSDLG 1
15092 if test "$wxUSE_MINIFRAME" = "yes"; then
15093 cat >> confdefs.h
<<\EOF
15094 #define wxUSE_MINIFRAME 1
15097 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS minifram"
15100 if test "$wxUSE_HTML" = "yes"; then
15101 cat >> confdefs.h
<<\EOF
15102 #define wxUSE_HTML 1
15105 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS html"
15106 INCLUDE_SUBDIRS
="$INCLUDE_SUBDIRS html"
15109 if test "$wxUSE_VALIDATORS" = "yes"; then
15110 cat >> confdefs.h
<<\EOF
15111 #define wxUSE_VALIDATORS 1
15114 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS validate"
15117 if test "$wxUSE_GIF" = "yes" ; then
15118 cat >> confdefs.h
<<\EOF
15119 #define wxUSE_GIF 1
15124 if test "$wxUSE_PCX" = "yes" ; then
15125 cat >> confdefs.h
<<\EOF
15126 #define wxUSE_PCX 1
15131 if test "$wxUSE_PNM" = "yes" ; then
15132 cat >> confdefs.h
<<\EOF
15133 #define wxUSE_PNM 1
15139 if test "$cross_compiling" = "yes"; then
15142 OSINFO
=`uname -s -r -m`
15143 OSINFO
="\"$OSINFO\""
15146 cat >> confdefs.h
<<EOF
15147 #define WXWIN_OS_DESCRIPTION $OSINFO
15152 GUILIBS
="$GUI_TK_LIBRARY $TOOLKIT_LINK"
15153 OPENGL_LIBS
="$OPENGL_LINK"
15155 if test "$USE_MAC" = 1 ; then
15156 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -framework System"
15157 CFLAGS
="${CFLAGS} -fpascal-strings"
15158 CPPFLAGS
="${CPPFLAGS} -fpascal-strings"
15160 EXTRA_LIBS
="$LIBS $POSIX4_LINK $INET_LINK $WCHAR_LINK $THREADS_LINK $DMALLOC_LINK $DL_LINK $ZLIB_LINK -lm"
15162 if test "$wxUSE_GUI" = "yes"; then
15163 EXTRA_LIBS
="$GUILIBS $PNG_LINK $JPEG_LINK $TIFF_LINK $FREETYPE_LINK $EXTRA_LIBS"
15166 LD_LIBS
="\${top_builddir}/lib/${WX_LIBRARY_NAME_STATIC} $EXTRA_LIBS"
15168 INCLUDES
="-I. -I\${top_builddir}/include -I\${top_srcdir}/include $ZLIB_INCLUDE $PNG_INCLUDE $JPEG_INCLUDE $TIFF_INCLUDE $FREETYPE_INCLUDE $TOOLKIT_INCLUDE"
15170 if test "$wxUSE_GTK" = 1; then
15171 WXCONFIG_INCLUDE
=""
15173 WXCONFIG_INCLUDE
="$TOOLKIT_INCLUDE"
15176 if test "$GXX" = yes ; then
15177 CXXWARNINGS
="-Wall"
15179 EXTRA_CFLAGS
="$WXDEBUG $WXODBCFLAG $PROFILE $OPTIMISE $INCLUDES"
15181 CFLAGS
=`echo $CFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \\+/ /g'`
15182 CXXFLAGS
=`echo $CXXFLAGS $EXTRA_CFLAGS $CXXWARNINGS | sed 's/ \+/ /g'`
15184 LDFLAGS
="$LDFLAGS $PROFILE"
15186 if test "$wxUSE_GUI" = "yes"; then
15188 SAMPLES_SUBDIRS
="$SAMPLES_SUBDIRS controls dialogs dragimag \
15189 drawing dynamic event font fractal image menu \
15192 CPPFLAGS
="$CPPFLAGS \$(EXTRADEFS) \$(APPEXTRADEFS)"
15197 SAMPLES_SUBDIRS
="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
15293 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
15294 echo "configure:15295: checking whether ${MAKE-make} sets \${MAKE}" >&5
15295 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
15296 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
15297 echo $ac_n "(cached) $ac_c" 1>&6
15299 cat > conftestmake
<<\EOF
15301 @
echo 'ac_maketemp="${MAKE}"'
15303 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
15304 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
15305 if test -n "$ac_maketemp"; then
15306 eval ac_cv_prog_make_
${ac_make}_set
=yes
15308 eval ac_cv_prog_make_
${ac_make}_set
=no
15312 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
15313 echo "$ac_t""yes" 1>&6
15316 echo "$ac_t""no" 1>&6
15317 SET_MAKE
="MAKE=${MAKE-make}"
15321 if test -d include
; then
15322 if test -d include
/wx
; then
15323 if test -d include
/wx
/${TOOLKIT_DIR}; then
15324 if test -f include
/wx
/${TOOLKIT_DIR}/setup.h
; then
15325 mv -f include
/wx
/${TOOLKIT_DIR}/setup.h setup.h
15333 if test "$wxUSE_GUI" = "yes"; then
15334 wx_cv_path_samplesubdirs
=$SAMPLES_SUBDIRS
15335 wx_cv_path_ifs
=$PATH_IFS
15336 wx_cv_program_ext
=$PROGRAM_EXT
15337 wx_cv_target_library
=$WX_TARGET_LIBRARY
15338 wx_cv_target_libtype
=$WX_TARGET_LIBRARY_TYPE
15339 subdirs
="demos samples utils contrib"
15344 cat > confcache
<<\EOF
15345 # This file is a shell script that caches the results of configure
15346 # tests run on this system so they can be shared between configure
15347 # scripts and configure runs. It is not useful on other systems.
15348 # If it contains results you don't want to keep, you may remove or edit it.
15350 # By default, configure uses ./config.cache as the cache file,
15351 # creating it if it does not exist already. You can give configure
15352 # the --cache-file=FILE option to use a different cache file; that is
15353 # what configure does when it calls configure scripts in
15354 # subdirectories, so they share the cache.
15355 # Giving --cache-file=/dev/null disables caching, for debugging configure.
15356 # config.status only pays attention to the cache file if you give it the
15357 # --recheck option to rerun configure.
15360 # The following way of writing the cache mishandles newlines in values,
15361 # but we know of no workaround that is simple, portable, and efficient.
15362 # So, don't put newlines in cache variables' values.
15363 # Ultrix sh set writes to stderr and can't be redirected directly,
15364 # and sets the high bit in the cache file unless we assign to the vars.
15366 case `(ac_space=' '; set | grep ac_space) 2>&1` in
15368 # `set' does not quote correctly, so add quotes (double-quote substitution
15369 # turns \\\\ into \\, and sed turns \\ into \).
15371 -e "s/'/'\\\\''/g" \
15372 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
15375 # `set' quotes correctly as required by POSIX, so do not add quotes.
15376 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
15379 if cmp -s $cache_file confcache
; then
15382 if test -w $cache_file; then
15383 echo "updating cache $cache_file"
15384 cat confcache
> $cache_file
15386 echo "not updating unwritable cache $cache_file"
15391 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
15393 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
15394 # Let make expand exec_prefix.
15395 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
15397 # Any assignment to VPATH causes Sun make to only execute
15398 # the first set of double-colon rules, so remove it if not needed.
15399 # If there is a colon in the path, we need to keep it.
15400 if test "x$srcdir" = x.
; then
15401 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
15404 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
15406 DEFS
=-DHAVE_CONFIG_H
15408 # Without the "./", some shells look in PATH for config.status.
15409 : ${CONFIG_STATUS=./config.status}
15411 echo creating
$CONFIG_STATUS
15412 rm -f $CONFIG_STATUS
15413 cat > $CONFIG_STATUS <<EOF
15415 # Generated automatically by configure.
15416 # Run this file to recreate the current configuration.
15417 # This directory was configured as follows,
15418 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
15420 # $0 $ac_configure_args
15422 # Compiler output produced by configure, useful for debugging
15423 # configure, is in ./config.log if it exists.
15425 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
15428 case "\$ac_option" in
15429 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
15430 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
15431 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
15432 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
15433 echo "$CONFIG_STATUS generated by autoconf version 2.13"
15435 -help | --help | --hel | --he | --h)
15436 echo "\$ac_cs_usage"; exit 0 ;;
15437 *) echo "\$ac_cs_usage"; exit 1 ;;
15441 ac_given_srcdir=$srcdir
15442 ac_given_INSTALL="$INSTALL"
15444 trap 'rm -fr `echo "
15450 setup.h:setup.h.in" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
15452 cat >> $CONFIG_STATUS <<EOF
15454 # Protect against being on the right side of a sed subst in config.status.
15455 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
15456 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
15460 s%@CFLAGS@%$CFLAGS%g
15461 s%@CPPFLAGS@%$CPPFLAGS%g
15462 s%@CXXFLAGS@%$CXXFLAGS%g
15463 s%@FFLAGS@%$FFLAGS%g
15465 s%@LDFLAGS@%$LDFLAGS%g
15467 s%@exec_prefix@%$exec_prefix%g
15468 s%@prefix@%$prefix%g
15469 s%@program_transform_name@%$program_transform_name%g
15470 s%@bindir@%$bindir%g
15471 s%@sbindir@%$sbindir%g
15472 s%@libexecdir@%$libexecdir%g
15473 s%@datadir@%$datadir%g
15474 s%@sysconfdir@%$sysconfdir%g
15475 s%@sharedstatedir@%$sharedstatedir%g
15476 s%@localstatedir@%$localstatedir%g
15477 s%@libdir@%$libdir%g
15478 s%@includedir@%$includedir%g
15479 s%@oldincludedir@%$oldincludedir%g
15480 s%@infodir@%$infodir%g
15481 s%@mandir@%$mandir%g
15483 s%@host_alias@%$host_alias%g
15484 s%@host_cpu@%$host_cpu%g
15485 s%@host_vendor@%$host_vendor%g
15486 s%@host_os@%$host_os%g
15487 s%@target@%$target%g
15488 s%@target_alias@%$target_alias%g
15489 s%@target_cpu@%$target_cpu%g
15490 s%@target_vendor@%$target_vendor%g
15491 s%@target_os@%$target_os%g
15493 s%@build_alias@%$build_alias%g
15494 s%@build_cpu@%$build_cpu%g
15495 s%@build_vendor@%$build_vendor%g
15496 s%@build_os@%$build_os%g
15500 s%@CXXCPP@%$CXXCPP%g
15501 s%@RANLIB@%$RANLIB%g
15503 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
15504 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
15505 s%@INSTALL_DATA@%$INSTALL_DATA%g
15509 s%@LEXLIB@%$LEXLIB%g
15511 s%@GTK_CONFIG_2_0@%$GTK_CONFIG_2_0%g
15512 s%@GTK_CONFIG@%$GTK_CONFIG%g
15513 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
15514 s%@GTK_LIBS@%$GTK_LIBS%g
15515 s%@X_CFLAGS@%$X_CFLAGS%g
15516 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
15517 s%@X_LIBS@%$X_LIBS%g
15518 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
15519 s%@LEX_STEM@%$LEX_STEM%g
15520 s%@PATH_IFS@%$PATH_IFS%g
15521 s%@WX_MAJOR_VERSION_NUMBER@%$WX_MAJOR_VERSION_NUMBER%g
15522 s%@WX_MINOR_VERSION_NUMBER@%$WX_MINOR_VERSION_NUMBER%g
15523 s%@WX_RELEASE_NUMBER@%$WX_RELEASE_NUMBER%g
15524 s%@WX_LIBRARY_NAME@%$WX_LIBRARY_NAME%g
15525 s%@WX_LIBRARY_NAME_STATIC@%$WX_LIBRARY_NAME_STATIC%g
15526 s%@WX_LIBRARY_NAME_SHARED@%$WX_LIBRARY_NAME_SHARED%g
15527 s%@WX_LIBRARY@%$WX_LIBRARY%g
15528 s%@WX_TARGET_LIBRARY@%$WX_TARGET_LIBRARY%g
15529 s%@WX_LIBRARY_LINK1@%$WX_LIBRARY_LINK1%g
15530 s%@WX_LIBRARY_LINK2@%$WX_LIBRARY_LINK2%g
15531 s%@WX_LIBRARY_LINK3@%$WX_LIBRARY_LINK3%g
15532 s%@PROGRAM_EXT@%$PROGRAM_EXT%g
15533 s%@WX_LIBRARY_NAME_GL@%$WX_LIBRARY_NAME_GL%g
15534 s%@WX_LIBRARY_NAME_STATIC_GL@%$WX_LIBRARY_NAME_STATIC_GL%g
15535 s%@WX_LIBRARY_NAME_SHARED_GL@%$WX_LIBRARY_NAME_SHARED_GL%g
15536 s%@WX_LIBRARY_GL@%$WX_LIBRARY_GL%g
15537 s%@WX_TARGET_LIBRARY_GL@%$WX_TARGET_LIBRARY_GL%g
15538 s%@WX_LIBRARY_LINK1_GL@%$WX_LIBRARY_LINK1_GL%g
15539 s%@WX_LIBRARY_LINK2_GL@%$WX_LIBRARY_LINK2_GL%g
15540 s%@WX_LIBRARY_LINK3_GL@%$WX_LIBRARY_LINK3_GL%g
15541 s%@WX_ALL@%$WX_ALL%g
15542 s%@WX_ALL_INSTALLED@%$WX_ALL_INSTALLED%g
15543 s%@SHARED_LD@%$SHARED_LD%g
15544 s%@PIC_FLAG@%$PIC_FLAG%g
15545 s%@DEP_INFO_FLAGS@%$DEP_INFO_FLAGS%g
15546 s%@CODE_GEN_FLAGS@%$CODE_GEN_FLAGS%g
15547 s%@BURNT_LIBRARY_NAME@%$BURNT_LIBRARY_NAME%g
15548 s%@BURNT_LIBRARY_NAME_GL@%$BURNT_LIBRARY_NAME_GL%g
15549 s%@WX_TARGET_LIBRARY_SONAME@%$WX_TARGET_LIBRARY_SONAME%g
15550 s%@WX_TARGET_LIBRARY_TYPE@%$WX_TARGET_LIBRARY_TYPE%g
15551 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
15552 s%@USE_GUI@%$USE_GUI%g
15553 s%@AFMINSTALL@%$AFMINSTALL%g
15554 s%@TOOLKIT@%$TOOLKIT%g
15555 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
15556 s%@TOOLKIT_DIR@%$TOOLKIT_DIR%g
15557 s%@TOOLKIT_NAME@%$TOOLKIT_NAME%g
15558 s%@TOOLKIT_INCLUDE@%$TOOLKIT_INCLUDE%g
15559 s%@WXCONFIG_INCLUDE@%$WXCONFIG_INCLUDE%g
15560 s%@GUIHEADERS@%$GUIHEADERS%g
15561 s%@GUIOBJS@%$GUIOBJS%g
15562 s%@COMMONOBJS@%$COMMONOBJS%g
15563 s%@GENERICOBJS@%$GENERICOBJS%g
15564 s%@GUIDEPS@%$GUIDEPS%g
15565 s%@COMMONDEPS@%$COMMONDEPS%g
15566 s%@GENERICDEPS@%$GENERICDEPS%g
15567 s%@IODBCOBJS@%$IODBCOBJS%g
15568 s%@UNIXOBJS@%$UNIXOBJS%g
15569 s%@UNIXDEPS@%$UNIXDEPS%g
15570 s%@ALL_OBJECTS@%$ALL_OBJECTS%g
15571 s%@ALL_DEPFILES@%$ALL_DEPFILES%g
15572 s%@GUIDIST@%$GUIDIST%g
15573 s%@PORT_FILES@%$PORT_FILES%g
15574 s%@DISTDIR@%$DISTDIR%g
15575 s%@RPM_SPEC@%$RPM_SPEC%g
15576 s%@RPM_FILES@%$RPM_FILES%g
15577 s%@SRC_SUBDIRS@%$SRC_SUBDIRS%g
15578 s%@INCLUDE_SUBDIRS@%$INCLUDE_SUBDIRS%g
15579 s%@UTILS_SUBDIRS@%$UTILS_SUBDIRS%g
15580 s%@DOCS_SUBDIRS@%$DOCS_SUBDIRS%g
15581 s%@SAMPLES_SUBDIRS@%$SAMPLES_SUBDIRS%g
15582 s%@USER_SUBDIRS@%$USER_SUBDIRS%g
15583 s%@EXTRA_LIBS@%$EXTRA_LIBS%g
15584 s%@OPENGL_LIBS@%$OPENGL_LIBS%g
15585 s%@EXTRADEFS@%$EXTRADEFS%g
15586 s%@LD_LIBS@%$LD_LIBS%g
15587 s%@RCINPUTSWITCH@%$RCINPUTSWITCH%g
15588 s%@RCOUTPUTSWITCH@%$RCOUTPUTSWITCH%g
15589 s%@RESPROGRAM@%$RESPROGRAM%g
15590 s%@RESCOMP@%$RESCOMP%g
15591 s%@RESFLAGS@%$RESFLAGS%g
15592 s%@DLLTOOL@%$DLLTOOL%g
15596 s%@MAKEINFO@%$MAKEINFO%g
15597 s%@SET_MAKE@%$SET_MAKE%g
15598 s%@subdirs@%$subdirs%g
15603 cat >> $CONFIG_STATUS <<\EOF
15605 # Split the substitutions into bite-sized pieces for seds with
15606 # small command number limits, like on Digital OSF/1 and HP-UX.
15607 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
15608 ac_file
=1 # Number of current file.
15609 ac_beg
=1 # First line for current file.
15610 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
15613 while $ac_more_lines; do
15614 if test $ac_beg -gt 1; then
15615 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
15617 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
15619 if test ! -s conftest.s
$ac_file; then
15620 ac_more_lines
=false
15621 rm -f conftest.s
$ac_file
15623 if test -z "$ac_sed_cmds"; then
15624 ac_sed_cmds
="sed -f conftest.s$ac_file"
15626 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
15628 ac_file
=`expr $ac_file + 1`
15630 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
15633 if test -z "$ac_sed_cmds"; then
15638 cat >> $CONFIG_STATUS <<EOF
15640 CONFIG_FILES=\${CONFIG_FILES-"wx-config
15647 cat >> $CONFIG_STATUS <<\EOF
15648 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
15649 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15651 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
15652 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15653 *) ac_file_in
="${ac_file}.in" ;;
15656 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
15658 # Remove last slash and all that follows it. Not all systems have dirname.
15659 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15660 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
15661 # The file is in a subdirectory.
15662 test ! -d "$ac_dir" && mkdir "$ac_dir"
15663 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
15664 # A "../" for each directory in $ac_dir_suffix.
15665 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
15667 ac_dir_suffix
= ac_dots
=
15670 case "$ac_given_srcdir" in
15672 if test -z "$ac_dots"; then top_srcdir
=.
15673 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
15674 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
15675 *) # Relative path.
15676 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
15677 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
15680 case "$ac_given_INSTALL" in
15681 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
15682 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
15685 echo creating
"$ac_file"
15687 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
15689 *Makefile
*) ac_comsub
="1i\\
15690 # $configure_input" ;;
15694 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
15696 s%@configure_input@%$configure_input%g
15697 s%@srcdir@%$srcdir%g
15698 s%@top_srcdir@%$top_srcdir%g
15699 s%@INSTALL@%$INSTALL%g
15700 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
15704 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
15705 # NAME is the cpp macro being defined and VALUE is the value it is being given.
15707 # ac_d sets the value in "#define NAME VALUE" lines.
15708 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
15709 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
15712 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
15713 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15714 ac_uB
='\([ ]\)%\1#\2define\3'
15717 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
15718 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
15719 ac_eB
='$%\1#\2define\3'
15723 if test "${CONFIG_HEADERS+set}" != set; then
15725 cat >> $CONFIG_STATUS <<EOF
15726 CONFIG_HEADERS="setup.h:setup.h.in"
15728 cat >> $CONFIG_STATUS <<\EOF
15730 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
15731 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
15733 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
15734 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
15735 *) ac_file_in
="${ac_file}.in" ;;
15738 echo creating
$ac_file
15740 rm -f conftest.frag conftest.
in conftest.out
15741 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
15742 cat $ac_file_inputs > conftest.
in
15746 # Transform confdefs.h into a sed script conftest.vals that substitutes
15747 # the proper values into config.h.in to produce config.h. And first:
15748 # Protect against being on the right side of a sed subst in config.status.
15749 # Protect against being in an unquoted here document in config.status.
15750 rm -f conftest.vals
15751 cat > conftest.hdr
<<\EOF
15754 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
15758 sed -n -f conftest.hdr confdefs.h > conftest.vals
15761 # This sed command replaces #undef with comments. This is necessary, for
15762 # example, in the case of _POSIX_SOURCE, which is predefined and required
15763 # on some systems where configure will not decide to define it.
15764 cat >> conftest.vals <<\EOF
15765 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
15768 # Break up conftest.vals because some shells have a limit on
15769 # the size of here documents, and old seds have small limits too.
15771 rm -f conftest.tail
15774 ac_lines=`grep -c . conftest.vals
`
15775 # grep -c gives empty output for an empty file on some AIX systems.
15776 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
15777 # Write a limited-size here document to conftest.frag.
15778 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
15779 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
15781 sed -f conftest.frag conftest.in > conftest.out
15783 mv conftest.out conftest.in
15784 ' >> $CONFIG_STATUS
15785 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
15786 rm -f conftest.vals
15787 mv conftest.tail conftest.vals
15789 rm -f conftest.vals
15791 cat >> $CONFIG_STATUS <<\EOF
15792 rm -f conftest.frag conftest.h
15793 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
15794 cat conftest.in >> conftest.h
15796 if cmp -s $ac_file conftest.h 2>/dev/null; then
15797 echo "$ac_file is unchanged"
15800 # Remove last slash and all that follows it. Not all systems have dirname.
15801 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
15802 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
15803 # The file is in a subdirectory.
15804 test ! -d "$ac_dir" && mkdir "$ac_dir"
15807 mv conftest.h $ac_file
15812 cat >> $CONFIG_STATUS <<EOF
15814 TOOLKIT_DIR="${TOOLKIT_DIR}"
15815 TOOLKIT_NAME="${TOOLKIT_NAME}"
15820 cat >> $CONFIG_STATUS <<\EOF
15823 mv wx-config wx${TOOLKIT_NAME}-config
15824 ${LN_S} wx${TOOLKIT_NAME}-config wx-config
15827 if test ! -d lib; then
15830 if test ! -d lib/wx; then
15833 if test ! -d lib/wx/include; then
15834 mkdir lib/wx/include
15836 if test ! -d lib/wx/include/wx; then
15837 mkdir lib/wx/include/wx
15839 if test ! -d lib/wx/include/wx/${TOOLKIT_NAME}; then
15840 mkdir lib/wx/include/wx/${TOOLKIT_NAME}
15842 if test -f setup.h; then
15843 cp -f setup.h lib/wx/include/wx/${TOOLKIT_NAME}/setup.h
15847 if test ! -d include; then
15850 if test ! -d include/wx; then
15853 if test ! -d include/wx/${TOOLKIT_DIR}; then
15854 mkdir include/wx/${TOOLKIT_DIR}
15856 if test -f setup.h; then
15857 mv -f setup.h include/wx/${TOOLKIT_DIR}/setup.h
15863 chmod +x $CONFIG_STATUS
15864 rm -fr confdefs* $ac_clean_files
15865 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
15867 if test "$no_recursion" != yes; then
15869 # Remove --cache-file and --srcdir arguments so they do not pile up.
15870 ac_sub_configure_args=
15872 for ac_arg in $ac_configure_args; do
15873 if test -n "$ac_prev"; then
15878 -cache-file | --cache-file | --cache-fil | --cache-fi \
15879 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
15880 ac_prev=cache_file ;;
15881 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
15882 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
15884 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
15886 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
15888 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;;
15892 for ac_config_dir in demos samples utils contrib; do
15894 # Do not complain, so a configure script can configure whichever
15895 # parts of a large source tree are present.
15896 if test ! -d $srcdir/$ac_config_dir; then
15900 echo configuring in $ac_config_dir
15905 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :;
15907 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; }
15915 # A "../" for each directory in /$ac_config_dir.
15916 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'`
15919 .) # No --srcdir option. We are building in place.
15920 ac_sub_srcdir=$srcdir ;;
15921 /*) # Absolute path.
15922 ac_sub_srcdir=$srcdir/$ac_config_dir ;;
15923 *) # Relative path.
15924 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;;
15927 # Check for guested configure; otherwise get Cygnus style configure.
15928 if test -f $ac_sub_srcdir/configure; then
15929 ac_sub_configure=$ac_sub_srcdir/configure
15930 elif test -f $ac_sub_srcdir/configure.in; then
15931 ac_sub_configure=$ac_configure
15933 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2
15937 # The recursion is here.
15938 if test -n "$ac_sub_configure"; then
15940 # Make the cache file name correct relative to the subdirectory.
15941 case "$cache_file" in
15942 /*) ac_sub_cache_file=$cache_file ;;
15943 *) # Relative path.
15944 ac_sub_cache_file="$ac_dots$cache_file" ;;
15946 case "$ac_given_INSTALL" in
15947 [/$]*) INSTALL="$ac_given_INSTALL" ;;
15948 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
15951 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir"
15952 # The eval makes quoting arguments work.
15953 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir
15956 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; }