3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.12
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --with-x use the X Window System"
21 **--with-motif use Motif/Lesstif"
23 **--with-shared create shared libraries"
25 **--with-optimise create optimised code"
27 **--with-debug_flag create code with WXDEBUG define set to 1"
29 **--with-debug_info create code with debuging information"
31 **--with-mem_traing create code with memory tracing"
33 **--with-dmalloc use dmalloc memory debug library (www.letters.com/dmalloc/)"
35 **--with-profile create code with profiling information"
37 **--with_apple_ieee use the Apple IEEE codec"
39 **--with-zlib use zlib for LZW comression"
41 **--with-libpng use libpng (PNG image format)"
43 **--with-odbc use iODBC and wxODBC classes"
45 **--with-opengl use OpenGL (or Mesa)"
47 **--with-gauge use wxGauge class"
49 **--with-combobox use wxComboBox class"
51 **--with-scrollbar use wxScrollbar class"
53 **--with-listctrl use wxListCtrl class"
55 **--with-treectrl use wxTreeCtrl class"
57 **--with-grid use wxGrid class"
59 **--with-tab_dialog use wxTabDia class"
61 **--with-notebook use wxNotebook class"
63 **--with-timedate use wxTime and wxDate classes"
65 **--with-fraction use wxFraction class"
67 **--with-log use logging system"
69 **--with-intl use internationalization system"
71 **--with-config use wxConfig class"
73 **--with-streams use wxStream etc classes"
75 **--with-serial use class serialization"
77 **--with-file use wxFile class"
79 **--with-textfile use wxTextFile class"
81 **--with-afmfonts use Adobe Font Metric Font table"
83 **--with-PS-normalized use normalized PS fonts"
85 **--with-postscript use wxPostscriptDC device context"
87 **--with-unicode compile wxString with Unicode support"
89 **--with-wcsrtombs use wcsrtombs instead of (buggy in GNU libc5) wcstombs"
91 **--with-wxresources use wxWindows's resources"
93 **--with-prologio use Prolog IO library"
95 **--with-rpc use Prolog's remote procedure calls"
97 **--with-ipc use interprocess communication (wxSocket etc.)"
99 **--with-resources use X resources for saving information"
101 **--with-clipboard use wxClipboard classes"
103 **--with-dnd use Drag'n'Drop classes"
105 **--with-constraints use layout-constraints system"
107 **--with-mdi use multiple document interface architecture"
109 **--with-docview use document view architecture"
111 **--with-printarch use printing architecture"
113 **--with-help use help (using external browser at present)"
115 **--with-gtk-prefix=PFX Prefix where GTK is installed"
117 **--with-gtk-exec-prefix=PFX Exec prefix where GTK is installed"
119 **--without-threads Force disabling threads"
121 # Initialize some variables set by options.
122 # The variables have the same names as the options, with
123 # dashes changed to underlines.
125 cache_file
=.
/config.cache
134 program_transform_name
=s
,x
,x
,
142 bindir
='${exec_prefix}/bin'
143 sbindir
='${exec_prefix}/sbin'
144 libexecdir
='${exec_prefix}/libexec'
145 datadir
='${prefix}/share'
146 sysconfdir
='${prefix}/etc'
147 sharedstatedir
='${prefix}/com'
148 localstatedir
='${prefix}/var'
149 libdir
='${exec_prefix}/lib'
150 includedir
='${prefix}/include'
151 oldincludedir
='/usr/include'
152 infodir
='${prefix}/info'
153 mandir
='${prefix}/man'
155 # Initialize some other variables.
158 # Maximum number of lines to put in a shell here document.
165 # If the previous option needs an argument, assign it.
166 if test -n "$ac_prev"; then
167 eval "$ac_prev=\$ac_option"
173 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
177 # Accept the important Cygnus configure options, so we can diagnose typos.
181 -bindir | --bindir | --bindi | --bind | --bin | --bi)
183 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
184 bindir
="$ac_optarg" ;;
186 -build | --build | --buil | --bui | --bu)
188 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
189 build
="$ac_optarg" ;;
191 -cache-file | --cache-file | --cache-fil | --cache-fi \
192 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
193 ac_prev
=cache_file
;;
194 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
195 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
196 cache_file
="$ac_optarg" ;;
198 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
200 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
202 datadir
="$ac_optarg" ;;
204 -disable-* | --disable-*)
205 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
206 # Reject names that are not valid shell variable names.
207 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
208 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
210 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
211 eval "enable_${ac_feature}=no" ;;
213 -enable-* | --enable-*)
214 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
215 # Reject names that are not valid shell variable names.
216 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
217 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
219 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
224 eval "enable_${ac_feature}='$ac_optarg'" ;;
226 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
227 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
228 | --exec | --exe | --ex)
229 ac_prev
=exec_prefix
;;
230 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
231 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
232 | --exec=* | --exe=* | --ex=*)
233 exec_prefix
="$ac_optarg" ;;
235 -gas | --gas | --ga | --g)
236 # Obsolete; use --with-gas.
239 -help | --help | --hel | --he)
240 # Omit some internal or obsolete options to make the list less imposing.
241 # This message is too long to be a string in the A/UX 3.1 sh.
243 Usage: configure [options] [host]
244 Options: [defaults in brackets after descriptions]
246 --cache-file=FILE cache test results in FILE
247 --help print this message
248 --no-create do not create output files
249 --quiet, --silent do not print \`checking...' messages
250 --version print the version of autoconf that created configure
251 Directory and file names:
252 --prefix=PREFIX install architecture-independent files in PREFIX
254 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
256 --bindir=DIR user executables in DIR [EPREFIX/bin]
257 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
258 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
259 --datadir=DIR read-only architecture-independent data in DIR
261 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
262 --sharedstatedir=DIR modifiable architecture-independent data in DIR
264 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
265 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
266 --includedir=DIR C header files in DIR [PREFIX/include]
267 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
268 --infodir=DIR info documentation in DIR [PREFIX/info]
269 --mandir=DIR man documentation in DIR [PREFIX/man]
270 --srcdir=DIR find the sources in DIR [configure dir or ..]
271 --program-prefix=PREFIX prepend PREFIX to installed program names
272 --program-suffix=SUFFIX append SUFFIX to installed program names
273 --program-transform-name=PROGRAM
274 run sed PROGRAM on installed program names
278 --build=BUILD configure for building on BUILD [BUILD=HOST]
279 --host=HOST configure for HOST [guessed]
280 --target=TARGET configure for TARGET [TARGET=HOST]
281 Features and packages:
282 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
283 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
284 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
285 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
286 --x-includes=DIR X include files are in DIR
287 --x-libraries=DIR X library files are in DIR
289 if test -n "$ac_help"; then
290 echo "--enable and --with options recognized:$ac_help"
294 -host | --host | --hos | --ho)
296 -host=* | --host=* | --hos=* | --ho=*)
299 -includedir | --includedir | --includedi | --included | --include \
300 | --includ | --inclu | --incl | --inc)
301 ac_prev
=includedir
;;
302 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
303 | --includ=* | --inclu=* | --incl=* | --inc=*)
304 includedir
="$ac_optarg" ;;
306 -infodir | --infodir | --infodi | --infod | --info | --inf)
308 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
309 infodir
="$ac_optarg" ;;
311 -libdir | --libdir | --libdi | --libd)
313 -libdir=* | --libdir=* | --libdi=* | --libd=*)
314 libdir
="$ac_optarg" ;;
316 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
317 | --libexe | --libex | --libe)
318 ac_prev
=libexecdir
;;
319 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
320 | --libexe=* | --libex=* | --libe=*)
321 libexecdir
="$ac_optarg" ;;
323 -localstatedir | --localstatedir | --localstatedi | --localstated \
324 | --localstate | --localstat | --localsta | --localst \
325 | --locals | --local | --loca | --loc | --lo)
326 ac_prev
=localstatedir
;;
327 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
328 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
329 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
330 localstatedir
="$ac_optarg" ;;
332 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
334 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
335 mandir
="$ac_optarg" ;;
338 # Obsolete; use --without-fp.
341 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
345 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
346 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
349 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
350 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
351 | --oldin | --oldi | --old | --ol | --o)
352 ac_prev
=oldincludedir
;;
353 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
354 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
355 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
356 oldincludedir
="$ac_optarg" ;;
358 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
360 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
361 prefix
="$ac_optarg" ;;
363 -program-prefix | --program-prefix | --program-prefi | --program-pref \
364 | --program-pre | --program-pr | --program-p)
365 ac_prev
=program_prefix
;;
366 -program-prefix=* | --program-prefix=* | --program-prefi=* \
367 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
368 program_prefix
="$ac_optarg" ;;
370 -program-suffix | --program-suffix | --program-suffi | --program-suff \
371 | --program-suf | --program-su | --program-s)
372 ac_prev
=program_suffix
;;
373 -program-suffix=* | --program-suffix=* | --program-suffi=* \
374 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
375 program_suffix
="$ac_optarg" ;;
377 -program-transform-name | --program-transform-name \
378 | --program-transform-nam | --program-transform-na \
379 | --program-transform-n | --program-transform- \
380 | --program-transform | --program-transfor \
381 | --program-transfo | --program-transf \
382 | --program-trans | --program-tran \
383 | --progr-tra | --program-tr | --program-t)
384 ac_prev
=program_transform_name
;;
385 -program-transform-name=* | --program-transform-name=* \
386 | --program-transform-nam=* | --program-transform-na=* \
387 | --program-transform-n=* | --program-transform-=* \
388 | --program-transform=* | --program-transfor=* \
389 | --program-transfo=* | --program-transf=* \
390 | --program-trans=* | --program-tran=* \
391 | --progr-tra=* | --program-tr=* | --program-t=*)
392 program_transform_name
="$ac_optarg" ;;
394 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
395 | -silent | --silent | --silen | --sile | --sil)
398 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
400 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
402 sbindir
="$ac_optarg" ;;
404 -sharedstatedir | --sharedstatedir | --sharedstatedi \
405 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
406 | --sharedst | --shareds | --shared | --share | --shar \
408 ac_prev
=sharedstatedir
;;
409 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
410 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
411 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
413 sharedstatedir
="$ac_optarg" ;;
415 -site | --site | --sit)
417 -site=* | --site=* | --sit=*)
420 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
422 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
423 srcdir
="$ac_optarg" ;;
425 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
426 | --syscon | --sysco | --sysc | --sys | --sy)
427 ac_prev
=sysconfdir
;;
428 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
429 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
430 sysconfdir
="$ac_optarg" ;;
432 -target | --target | --targe | --targ | --tar | --ta | --t)
434 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
435 target
="$ac_optarg" ;;
437 -v | -verbose | --verbose | --verbos | --verbo | --verb)
440 -version | --version | --versio | --versi | --vers)
441 echo "configure generated by autoconf version 2.12"
445 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
446 # Reject names that are not valid shell variable names.
447 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
448 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
450 ac_package
=`echo $ac_package| sed 's/-/_/g'`
455 eval "with_${ac_package}='$ac_optarg'" ;;
457 -without-* | --without-*)
458 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
459 # Reject names that are not valid shell variable names.
460 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
461 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
463 ac_package
=`echo $ac_package| sed 's/-/_/g'`
464 eval "with_${ac_package}=no" ;;
467 # Obsolete; use --with-x.
470 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
471 | --x-incl | --x-inc | --x-in | --x-i)
472 ac_prev
=x_includes
;;
473 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
474 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
475 x_includes
="$ac_optarg" ;;
477 -x-libraries | --x-libraries | --x-librarie | --x-librari \
478 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
479 ac_prev
=x_libraries
;;
480 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
481 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
482 x_libraries
="$ac_optarg" ;;
484 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
488 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
489 echo "configure: warning: $ac_option: invalid host type" 1>&2
491 if test "x$nonopt" != xNONE
; then
492 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
500 if test -n "$ac_prev"; then
501 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
504 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
506 # File descriptor usage:
509 # 2 errors and warnings
510 # 3 some systems may open it to /dev/tty
511 # 4 used on the Kubota Titan
512 # 6 checking for... messages and results
513 # 5 compiler messages saved in config.log
514 if test "$silent" = yes; then
522 This file contains any messages produced by compilers while
523 running configure, to aid debugging if configure makes a mistake.
526 # Strip out --no-create and --no-recursion so they do not pile up.
527 # Also quote any args containing shell metacharacters.
532 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
533 | --no-cr | --no-c) ;;
534 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
535 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
536 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
537 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
538 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
543 # Only set these to C if already set. These must not be set unconditionally
544 # because not all systems understand e.g. LANG=C (notably SCO).
545 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
546 # Non-C LC_CTYPE values break the ctype check.
547 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
548 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
549 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
550 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
552 # confdefs.h avoids OS command line length limits that DEFS can exceed.
553 rm -rf conftest
* confdefs.h
554 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
557 # A filename unique to this package, relative to the directory that
558 # configure is in, which we can look for to find out if srcdir is correct.
559 ac_unique_file
=configure.
in
561 # Find the source files, if location was not specified.
562 if test -z "$srcdir"; then
563 ac_srcdir_defaulted
=yes
564 # Try the directory containing this script, then its parent.
566 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
567 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
569 if test ! -r $srcdir/$ac_unique_file; then
573 ac_srcdir_defaulted
=no
575 if test ! -r $srcdir/$ac_unique_file; then
576 if test "$ac_srcdir_defaulted" = yes; then
577 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
579 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
582 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
584 # Prefer explicitly selected file to automatically selected ones.
585 if test -z "$CONFIG_SITE"; then
586 if test "x$prefix" != xNONE
; then
587 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
589 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
592 for ac_site_file
in $CONFIG_SITE; do
593 if test -r "$ac_site_file"; then
594 echo "loading site script $ac_site_file"
599 if test -r "$cache_file"; then
600 echo "loading cache $cache_file"
603 echo "creating cache $cache_file"
608 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
609 ac_cpp
='$CPP $CPPFLAGS'
610 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
611 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
612 cross_compiling
=$ac_cv_prog_cc_cross
614 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
615 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
616 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
623 ac_n
= ac_c
='\c' ac_t
=
631 if test "x$OS" = "x"; then
633 { echo "configure: error: "The system variable OS has not been
set"
634 "please
set is everytime befor compiling on this system
"
635 "A good example
for this system would be
:"
636 "setenv OSTYPE
$UNAME for csh as a SHELL
"
637 "EXPORT OSTYPE
=$UNAME for sh as SHELL
"
638 "please
set this and restart again.
"
648 /usr/Motif1.2/include \
662 /usr/local/X11R6/include \
663 /usr/local/X11R5/include \
664 /usr/local/X11R4/include \
666 /usr/local/include/X11R6 \
667 /usr/local/include/X11R5 \
668 /usr/local/include/X11R4 \
672 /usr/local/X11/include \
673 /usr/local/include/X11 \
677 /usr/XFree86/include/X11 \
681 /usr/unsupported/include \
682 /usr/athena/include \
683 /usr/local/x11r5/include \
684 /usr/lpp/Xamples/include \
686 /usr/local/include/gtk \
687 /usr/local/include/Xm \
688 /usr/local/include/qt \
689 /usr/X11R6/include/Xm \
690 /usr/X11/include/Xm \
693 /usr/openwin/include \
694 /usr/openwin/share/include \
697 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \
702 # Extract the first word of "gcc", so it can be a program name with args.
703 set dummy gcc
; ac_word
=$2
704 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
705 echo "configure:706: checking for $ac_word" >&5
706 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
707 echo $ac_n "(cached) $ac_c" 1>&6
709 if test -n "$CC"; then
710 ac_cv_prog_CC
="$CC" # Let the user override the test.
712 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
713 for ac_dir
in $PATH; do
714 test -z "$ac_dir" && ac_dir
=.
715 if test -f $ac_dir/$ac_word; then
724 if test -n "$CC"; then
725 echo "$ac_t""$CC" 1>&6
727 echo "$ac_t""no" 1>&6
730 if test -z "$CC"; then
731 # Extract the first word of "cc", so it can be a program name with args.
732 set dummy cc
; ac_word
=$2
733 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
734 echo "configure:735: checking for $ac_word" >&5
735 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
736 echo $ac_n "(cached) $ac_c" 1>&6
738 if test -n "$CC"; then
739 ac_cv_prog_CC
="$CC" # Let the user override the test.
741 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
743 for ac_dir
in $PATH; do
744 test -z "$ac_dir" && ac_dir
=.
745 if test -f $ac_dir/$ac_word; then
746 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
755 if test $ac_prog_rejected = yes; then
756 # We found a bogon in the path, so make sure we never use it.
757 set dummy
$ac_cv_prog_CC
759 if test $# -gt 0; then
760 # We chose a different compiler from the bogus one.
761 # However, it has the same basename, so the bogon will be chosen
762 # first if we set CC to just the basename; use the full file name.
764 set dummy
"$ac_dir/$ac_word" "$@"
772 if test -n "$CC"; then
773 echo "$ac_t""$CC" 1>&6
775 echo "$ac_t""no" 1>&6
778 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
781 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
782 echo "configure:783: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
785 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
786 ac_cpp
='$CPP $CPPFLAGS'
787 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
788 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
789 cross_compiling
=$ac_cv_prog_cc_cross
791 cat > conftest.
$ac_ext <<EOF
792 #line 793 "configure"
793 #include "confdefs.h"
796 if { (eval echo configure
:797: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
797 ac_cv_prog_cc_works
=yes
798 # If we can't run a trivial program, we are probably using a cross compiler.
799 if (.
/conftest
; exit) 2>/dev
/null
; then
800 ac_cv_prog_cc_cross
=no
802 ac_cv_prog_cc_cross
=yes
805 echo "configure: failed program was:" >&5
806 cat conftest.
$ac_ext >&5
807 ac_cv_prog_cc_works
=no
811 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
812 if test $ac_cv_prog_cc_works = no
; then
813 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
815 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
816 echo "configure:817: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
817 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
818 cross_compiling
=$ac_cv_prog_cc_cross
820 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
821 echo "configure:822: checking whether we are using GNU C" >&5
822 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
823 echo $ac_n "(cached) $ac_c" 1>&6
825 cat > conftest.c
<<EOF
830 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:831: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
837 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
839 if test $ac_cv_prog_gcc = yes; then
841 ac_test_CFLAGS
="${CFLAGS+set}"
842 ac_save_CFLAGS
="$CFLAGS"
844 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
845 echo "configure:846: checking whether ${CC-cc} accepts -g" >&5
846 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
847 echo $ac_n "(cached) $ac_c" 1>&6
849 echo 'void f(){}' > conftest.c
850 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
859 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
860 if test "$ac_test_CFLAGS" = set; then
861 CFLAGS
="$ac_save_CFLAGS"
862 elif test $ac_cv_prog_cc_g = yes; then
869 test "${CFLAGS+set}" = set || CFLAGS
="-g"
873 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
875 if test "x$CC" != xcc
; then
876 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
877 echo "configure:878: checking whether $CC and cc understand -c and -o together" >&5
879 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
880 echo "configure:881: checking whether cc understands -c and -o together" >&5
882 set dummy
$CC; ac_cc
="`echo $2 |
883 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
884 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
885 echo $ac_n "(cached) $ac_c" 1>&6
887 echo 'foo(){}' > conftest.c
888 # Make sure it works both with $CC and with simple cc.
889 # We do the test twice because some compilers refuse to overwrite an
890 # existing .o file with -o, though they will create one.
891 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
892 if { (eval echo configure
:893: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
893 test -f conftest.o
&& { (eval echo configure
:894: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
895 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
896 if test "x$CC" != xcc
; then
897 # Test first that cc exists at all.
898 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:899: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
899 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
900 if { (eval echo configure
:901: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
901 test -f conftest.o
&& { (eval echo configure
:902: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
906 # cc exists but doesn't like -o.
907 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
912 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
917 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
918 echo "$ac_t""yes" 1>&6
920 echo "$ac_t""no" 1>&6
921 cat >> confdefs.h
<<\EOF
922 #define NO_MINUS_C_MINUS_O 1
927 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
928 echo "configure:929: checking how to run the C preprocessor" >&5
929 # On Suns, sometimes $CPP names a directory.
930 if test -n "$CPP" && test -d "$CPP"; then
933 if test -z "$CPP"; then
934 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
935 echo $ac_n "(cached) $ac_c" 1>&6
937 # This must be in double quotes, not single quotes, because CPP may get
938 # substituted into the Makefile and "${CC-cc}" will confuse make.
940 # On the NeXT, cc -E runs the code through the compiler's parser,
941 # not just through cpp.
942 cat > conftest.
$ac_ext <<EOF
943 #line 944 "configure"
944 #include "confdefs.h"
948 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
949 { (eval echo configure
:950: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
950 ac_err
=`grep -v '^ *+' conftest.out`
951 if test -z "$ac_err"; then
955 echo "configure: failed program was:" >&5
956 cat conftest.
$ac_ext >&5
958 CPP
="${CC-cc} -E -traditional-cpp"
959 cat > conftest.
$ac_ext <<EOF
960 #line 961 "configure"
961 #include "confdefs.h"
965 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
966 { (eval echo configure
:967: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
967 ac_err
=`grep -v '^ *+' conftest.out`
968 if test -z "$ac_err"; then
972 echo "configure: failed program was:" >&5
973 cat conftest.
$ac_ext >&5
980 ac_cv_prog_CPP
="$CPP"
982 CPP
="$ac_cv_prog_CPP"
984 ac_cv_prog_CPP
="$CPP"
986 echo "$ac_t""$CPP" 1>&6
988 if test $ac_cv_prog_gcc = yes; then
989 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
990 echo "configure:991: checking whether ${CC-cc} needs -traditional" >&5
991 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
992 echo $ac_n "(cached) $ac_c" 1>&6
994 ac_pattern
="Autoconf.*'x'"
995 cat > conftest.
$ac_ext <<EOF
996 #line 997 "configure"
997 #include "confdefs.h"
1001 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1002 egrep "$ac_pattern" >/dev
/null
2>&1; then
1004 ac_cv_prog_gcc_traditional
=yes
1007 ac_cv_prog_gcc_traditional
=no
1012 if test $ac_cv_prog_gcc_traditional = no
; then
1013 cat > conftest.
$ac_ext <<EOF
1014 #line 1015 "configure"
1015 #include "confdefs.h"
1019 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1020 egrep "$ac_pattern" >/dev
/null
2>&1; then
1022 ac_cv_prog_gcc_traditional
=yes
1029 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1030 if test $ac_cv_prog_gcc_traditional = yes; then
1031 CC
="$CC -traditional"
1038 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1040 # Extract the first word of "$ac_prog", so it can be a program name with args.
1041 set dummy
$ac_prog; ac_word
=$2
1042 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1043 echo "configure:1044: checking for $ac_word" >&5
1044 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1045 echo $ac_n "(cached) $ac_c" 1>&6
1047 if test -n "$CXX"; then
1048 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1050 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1051 for ac_dir
in $PATH; do
1052 test -z "$ac_dir" && ac_dir
=.
1053 if test -f $ac_dir/$ac_word; then
1054 ac_cv_prog_CXX
="$ac_prog"
1061 CXX
="$ac_cv_prog_CXX"
1062 if test -n "$CXX"; then
1063 echo "$ac_t""$CXX" 1>&6
1065 echo "$ac_t""no" 1>&6
1068 test -n "$CXX" && break
1070 test -n "$CXX" || CXX
="gcc"
1073 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1074 echo "configure:1075: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1077 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1078 ac_cpp
='$CXXCPP $CPPFLAGS'
1079 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1080 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1081 cross_compiling
=$ac_cv_prog_cxx_cross
1083 cat > conftest.
$ac_ext <<EOF
1084 #line 1085 "configure"
1085 #include "confdefs.h"
1088 if { (eval echo configure
:1089: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1089 ac_cv_prog_cxx_works
=yes
1090 # If we can't run a trivial program, we are probably using a cross compiler.
1091 if (.
/conftest
; exit) 2>/dev
/null
; then
1092 ac_cv_prog_cxx_cross
=no
1094 ac_cv_prog_cxx_cross
=yes
1097 echo "configure: failed program was:" >&5
1098 cat conftest.
$ac_ext >&5
1099 ac_cv_prog_cxx_works
=no
1103 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1104 ac_cpp
='$CPP $CPPFLAGS'
1105 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1106 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1107 cross_compiling
=$ac_cv_prog_cc_cross
1109 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1110 if test $ac_cv_prog_cxx_works = no
; then
1111 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1113 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1114 echo "configure:1115: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1115 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1116 cross_compiling
=$ac_cv_prog_cxx_cross
1118 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1119 echo "configure:1120: checking whether we are using GNU C++" >&5
1120 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1121 echo $ac_n "(cached) $ac_c" 1>&6
1123 cat > conftest.C
<<EOF
1128 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1129: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1135 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1137 if test $ac_cv_prog_gxx = yes; then
1139 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1140 ac_save_CXXFLAGS
="$CXXFLAGS"
1142 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1143 echo "configure:1144: checking whether ${CXX-g++} accepts -g" >&5
1144 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1145 echo $ac_n "(cached) $ac_c" 1>&6
1147 echo 'void f(){}' > conftest.cc
1148 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1149 ac_cv_prog_cxx_g
=yes
1157 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1158 if test "$ac_test_CXXFLAGS" = set; then
1159 CXXFLAGS
="$ac_save_CXXFLAGS"
1160 elif test $ac_cv_prog_cxx_g = yes; then
1167 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1170 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1171 echo "configure:1172: checking how to run the C++ preprocessor" >&5
1172 if test -z "$CXXCPP"; then
1173 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1174 echo $ac_n "(cached) $ac_c" 1>&6
1177 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1178 ac_cpp
='$CXXCPP $CPPFLAGS'
1179 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1180 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1181 cross_compiling
=$ac_cv_prog_cxx_cross
1182 CXXCPP
="${CXX-g++} -E"
1183 cat > conftest.
$ac_ext <<EOF
1184 #line 1185 "configure"
1185 #include "confdefs.h"
1188 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1189 { (eval echo configure
:1190: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1190 ac_err
=`grep -v '^ *+' conftest.out`
1191 if test -z "$ac_err"; then
1195 echo "configure: failed program was:" >&5
1196 cat conftest.
$ac_ext >&5
1201 ac_cv_prog_CXXCPP
="$CXXCPP"
1203 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1204 ac_cpp
='$CPP $CPPFLAGS'
1205 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1206 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1207 cross_compiling
=$ac_cv_prog_cc_cross
1210 CXXCPP
="$ac_cv_prog_CXXCPP"
1211 echo "$ac_t""$CXXCPP" 1>&6
1214 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1218 # Extract the first word of "ranlib", so it can be a program name with args.
1219 set dummy ranlib
; ac_word
=$2
1220 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1221 echo "configure:1222: checking for $ac_word" >&5
1222 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1223 echo $ac_n "(cached) $ac_c" 1>&6
1225 if test -n "$RANLIB"; then
1226 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1228 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1229 for ac_dir
in $PATH; do
1230 test -z "$ac_dir" && ac_dir
=.
1231 if test -f $ac_dir/$ac_word; then
1232 ac_cv_prog_RANLIB
="ranlib"
1237 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1240 RANLIB
="$ac_cv_prog_RANLIB"
1241 if test -n "$RANLIB"; then
1242 echo "$ac_t""$RANLIB" 1>&6
1244 echo "$ac_t""no" 1>&6
1248 # Extract the first word of "ar", so it can be a program name with args.
1249 set dummy
ar; ac_word
=$2
1250 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1251 echo "configure:1252: checking for $ac_word" >&5
1252 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1253 echo $ac_n "(cached) $ac_c" 1>&6
1255 if test -n "$AR"; then
1256 ac_cv_prog_AR
="$AR" # Let the user override the test.
1258 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1259 for ac_dir
in $PATH; do
1260 test -z "$ac_dir" && ac_dir
=.
1261 if test -f $ac_dir/$ac_word; then
1267 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1271 if test -n "$AR"; then
1272 echo "$ac_t""$AR" 1>&6
1274 echo "$ac_t""no" 1>&6
1279 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1280 if test -f $ac_dir/install-sh; then
1282 ac_install_sh
="$ac_aux_dir/install-sh -c"
1284 elif test -f $ac_dir/install.sh
; then
1286 ac_install_sh
="$ac_aux_dir/install.sh -c"
1290 if test -z "$ac_aux_dir"; then
1291 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1293 ac_config_guess
=$ac_aux_dir/config.guess
1294 ac_config_sub
=$ac_aux_dir/config.sub
1295 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1297 # Find a good install program. We prefer a C program (faster),
1298 # so one script is as good as another. But avoid the broken or
1299 # incompatible versions:
1300 # SysV /etc/install, /usr/sbin/install
1301 # SunOS /usr/etc/install
1302 # IRIX /sbin/install
1304 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1305 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1306 # ./install, which can be erroneously created by make from ./install.sh.
1307 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1308 echo "configure:1309: checking for a BSD compatible install" >&5
1309 if test -z "$INSTALL"; then
1310 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1311 echo $ac_n "(cached) $ac_c" 1>&6
1313 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1314 for ac_dir
in $PATH; do
1315 # Account for people who put trailing slashes in PATH elements.
1317 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1319 # OSF1 and SCO ODT 3.0 have their own names for install.
1320 for ac_prog
in ginstall installbsd scoinst
install; do
1321 if test -f $ac_dir/$ac_prog; then
1322 if test $ac_prog = install &&
1323 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1324 # AIX install. It has an incompatible calling convention.
1325 # OSF/1 installbsd also uses dspmsg, but is usable.
1328 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1339 if test "${ac_cv_path_install+set}" = set; then
1340 INSTALL
="$ac_cv_path_install"
1342 # As a last resort, use the slow shell script. We don't cache a
1343 # path for INSTALL within a source directory, because that will
1344 # break other packages using the cache if that directory is
1345 # removed, or if the path is relative.
1346 INSTALL
="$ac_install_sh"
1349 echo "$ac_t""$INSTALL" 1>&6
1351 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1352 # It thinks the first close brace ends the variable substitution.
1353 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1355 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1358 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1359 echo "configure:1360: checking whether ln -s works" >&5
1360 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1361 echo $ac_n "(cached) $ac_c" 1>&6
1364 if ln -s X conftestdata
2>/dev
/null
1367 ac_cv_prog_LN_S
="ln -s"
1372 LN_S
="$ac_cv_prog_LN_S"
1373 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1374 echo "$ac_t""yes" 1>&6
1376 echo "$ac_t""no" 1>&6
1380 for ac_prog
in mawk gawk nawk
awk
1382 # Extract the first word of "$ac_prog", so it can be a program name with args.
1383 set dummy
$ac_prog; ac_word
=$2
1384 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1385 echo "configure:1386: checking for $ac_word" >&5
1386 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1387 echo $ac_n "(cached) $ac_c" 1>&6
1389 if test -n "$AWK"; then
1390 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1392 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1393 for ac_dir
in $PATH; do
1394 test -z "$ac_dir" && ac_dir
=.
1395 if test -f $ac_dir/$ac_word; then
1396 ac_cv_prog_AWK
="$ac_prog"
1403 AWK
="$ac_cv_prog_AWK"
1404 if test -n "$AWK"; then
1405 echo "$ac_t""$AWK" 1>&6
1407 echo "$ac_t""no" 1>&6
1410 test -n "$AWK" && break
1414 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1415 echo "configure:1416: checking "make for VPATH support
"" >&5
1416 cat - << EOF > confMake
1422 if test ! -d sub
; then
1425 echo dummy
> sub
/file
1426 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1428 rm -f sub
/file check final_file confMake
1430 if test "$RESULT" = 0; then
1431 echo "$ac_t""yes" 1>&6
1433 echo "$ac_t""no" 1>&6
1434 { echo "configure: error: You need a make-utility that is able to use the variable
1436 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1440 # If we find X, set shell vars x_includes and x_libraries to the
1441 # paths, otherwise set no_x=yes.
1442 # Uses ac_ vars as temps to allow command line to override cache and checks.
1443 # --without-x overrides everything else, but does not touch the cache.
1444 echo $ac_n "checking for X""... $ac_c" 1>&6
1445 echo "configure:1446: checking for X" >&5
1447 # Check whether --with-x or --without-x was given.
1448 if test "${with_x+set}" = set; then
1453 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1454 if test "x$with_x" = xno
; then
1455 # The user explicitly disabled X.
1458 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1459 # Both variables are already set.
1462 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1463 echo $ac_n "(cached) $ac_c" 1>&6
1465 # One or both of the vars are not set, and there is no cached value.
1466 ac_x_includes
=NO ac_x_libraries
=NO
1468 if mkdir conftestdir
; then
1470 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1471 cat > Imakefile
<<'EOF'
1473 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1475 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1476 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1477 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1478 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1479 for ac_extension
in a so sl
; do
1480 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1481 test -f $ac_im_libdir/libX11.
$ac_extension; then
1482 ac_im_usrlibdir
=$ac_im_libdir; break
1485 # Screen out bogus values from the imake configuration. They are
1486 # bogus both because they are the default anyway, and because
1487 # using them would break gcc on systems where it needs fixed includes.
1488 case "$ac_im_incroot" in
1490 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1492 case "$ac_im_usrlibdir" in
1494 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1501 if test "$ac_x_includes" = NO
; then
1502 # Guess where to find include files, by looking for this one X11 .h file.
1503 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1505 # First, try using that file with no special directory specified.
1506 cat > conftest.
$ac_ext <<EOF
1507 #line 1508 "configure"
1508 #include "confdefs.h"
1509 #include <$x_direct_test_include>
1511 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1512 { (eval echo configure
:1513: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1513 ac_err
=`grep -v '^ *+' conftest.out`
1514 if test -z "$ac_err"; then
1516 # We can compile using X headers with no special include directory.
1520 echo "configure: failed program was:" >&5
1521 cat conftest.
$ac_ext >&5
1523 # Look for the header file in a standard set of common directories.
1524 # Check X11 before X11Rn because it is often a symlink to the current release.
1527 /usr
/X
11R
6/include \
1528 /usr
/X
11R
5/include \
1529 /usr
/X
11R
4/include \
1532 /usr
/include
/X11R6 \
1533 /usr
/include
/X11R5 \
1534 /usr
/include
/X11R4 \
1536 /usr
/local
/X
11/include \
1537 /usr
/local
/X
11R
6/include \
1538 /usr
/local
/X
11R
5/include \
1539 /usr
/local
/X
11R
4/include \
1541 /usr
/local
/include
/X11 \
1542 /usr
/local
/include
/X11R6 \
1543 /usr
/local
/include
/X11R5 \
1544 /usr
/local
/include
/X11R4 \
1548 /usr
/XFree
86/include
/X11 \
1551 /usr
/local
/include \
1552 /usr
/unsupported
/include \
1553 /usr
/athena
/include \
1554 /usr
/local
/x
11r
5/include \
1555 /usr
/lpp
/Xamples
/include \
1557 /usr
/openwin
/include \
1558 /usr
/openwin
/share
/include \
1561 if test -r "$ac_dir/$x_direct_test_include"; then
1562 ac_x_includes
=$ac_dir
1568 fi # $ac_x_includes = NO
1570 if test "$ac_x_libraries" = NO
; then
1571 # Check for the libraries.
1573 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1574 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1576 # See if we find them without any special options.
1577 # Don't add to $LIBS permanently.
1578 ac_save_LIBS
="$LIBS"
1579 LIBS
="-l$x_direct_test_library $LIBS"
1580 cat > conftest.
$ac_ext <<EOF
1581 #line 1582 "configure"
1582 #include "confdefs.h"
1585 ${x_direct_test_function}()
1588 if { (eval echo configure
:1589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1590 LIBS
="$ac_save_LIBS"
1591 # We can link X programs with no special library path.
1594 echo "configure: failed program was:" >&5
1595 cat conftest.
$ac_ext >&5
1597 LIBS
="$ac_save_LIBS"
1598 # First see if replacing the include by lib works.
1599 # Check X11 before X11Rn because it is often a symlink to the current release.
1600 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1611 /usr
/local
/X
11/lib \
1612 /usr
/local
/X
11R
6/lib \
1613 /usr
/local
/X
11R
5/lib \
1614 /usr
/local
/X
11R
4/lib \
1616 /usr
/local
/lib
/X11 \
1617 /usr
/local
/lib
/X11R6 \
1618 /usr
/local
/lib
/X11R5 \
1619 /usr
/local
/lib
/X11R4 \
1623 /usr
/XFree
86/lib
/X11 \
1627 /usr
/unsupported
/lib \
1629 /usr
/local
/x
11r
5/lib \
1630 /usr
/lpp
/Xamples
/lib \
1634 /usr
/openwin
/share
/lib \
1637 for ac_extension
in a so sl
; do
1638 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1639 ac_x_libraries
=$ac_dir
1646 fi # $ac_x_libraries = NO
1648 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1649 # Didn't find X anywhere. Cache the known absence of X.
1650 ac_cv_have_x
="have_x=no"
1652 # Record where we found X for the cache.
1653 ac_cv_have_x
="have_x=yes \
1654 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1658 eval "$ac_cv_have_x"
1661 if test "$have_x" != yes; then
1662 echo "$ac_t""$have_x" 1>&6
1665 # If each of the values was on the command line, it overrides each guess.
1666 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1667 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1668 # Update the cache value to reflect the command line values.
1669 ac_cv_have_x
="have_x=yes \
1670 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1671 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1674 if test "$no_x" = yes; then
1675 # Not all programs may use this symbol, but it does not hurt to define it.
1676 cat >> confdefs.h
<<\EOF
1677 #define X_DISPLAY_MISSING 1
1680 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1682 if test -n "$x_includes"; then
1683 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1686 # It would also be nice to do this for all -L options, not just this one.
1687 if test -n "$x_libraries"; then
1688 X_LIBS
="$X_LIBS -L$x_libraries"
1689 # For Solaris; some versions of Sun CC require a space after -R and
1690 # others require no space. Words are not sufficient . . . .
1691 case "`(uname -sr) 2>/dev/null`" in
1693 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1694 echo "configure:1695: checking whether -R must be followed by a space" >&5
1695 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1696 cat > conftest.
$ac_ext <<EOF
1697 #line 1698 "configure"
1698 #include "confdefs.h"
1704 if { (eval echo configure
:1705: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1708 echo "configure: failed program was:" >&5
1709 cat conftest.
$ac_ext >&5
1714 if test $ac_R_nospace = yes; then
1715 echo "$ac_t""no" 1>&6
1716 X_LIBS
="$X_LIBS -R$x_libraries"
1718 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1719 cat > conftest.
$ac_ext <<EOF
1720 #line 1721 "configure"
1721 #include "confdefs.h"
1727 if { (eval echo configure
:1728: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1731 echo "configure: failed program was:" >&5
1732 cat conftest.
$ac_ext >&5
1737 if test $ac_R_space = yes; then
1738 echo "$ac_t""yes" 1>&6
1739 X_LIBS
="$X_LIBS -R $x_libraries"
1741 echo "$ac_t""neither works" 1>&6
1744 LIBS
="$ac_xsave_LIBS"
1748 # Check for system-dependent libraries X programs must link with.
1749 # Do this before checking for the system-independent R6 libraries
1750 # (-lICE), since we may need -lsocket or whatever for X linking.
1752 if test "$ISC" = yes; then
1753 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1755 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1756 # libraries were built with DECnet support. And karl@cs.umb.edu says
1757 # the Alpha needs dnet_stub (dnet does not exist).
1758 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1759 echo "configure:1760: checking for dnet_ntoa in -ldnet" >&5
1760 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1761 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1762 echo $ac_n "(cached) $ac_c" 1>&6
1764 ac_save_LIBS
="$LIBS"
1766 cat > conftest.
$ac_ext <<EOF
1767 #line 1768 "configure"
1768 #include "confdefs.h"
1769 /* Override any gcc2 internal prototype to avoid an error. */
1770 /* We use char because int might match the return type of a gcc2
1771 builtin and then its argument prototype would still apply. */
1778 if { (eval echo configure
:1779: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1780 eval "ac_cv_lib_$ac_lib_var=yes"
1782 echo "configure: failed program was:" >&5
1783 cat conftest.
$ac_ext >&5
1785 eval "ac_cv_lib_$ac_lib_var=no"
1788 LIBS
="$ac_save_LIBS"
1791 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1792 echo "$ac_t""yes" 1>&6
1793 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1795 echo "$ac_t""no" 1>&6
1798 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1799 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1800 echo "configure:1801: checking for dnet_ntoa in -ldnet_stub" >&5
1801 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1802 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1803 echo $ac_n "(cached) $ac_c" 1>&6
1805 ac_save_LIBS
="$LIBS"
1806 LIBS
="-ldnet_stub $LIBS"
1807 cat > conftest.
$ac_ext <<EOF
1808 #line 1809 "configure"
1809 #include "confdefs.h"
1810 /* Override any gcc2 internal prototype to avoid an error. */
1811 /* We use char because int might match the return type of a gcc2
1812 builtin and then its argument prototype would still apply. */
1819 if { (eval echo configure
:1820: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1821 eval "ac_cv_lib_$ac_lib_var=yes"
1823 echo "configure: failed program was:" >&5
1824 cat conftest.
$ac_ext >&5
1826 eval "ac_cv_lib_$ac_lib_var=no"
1829 LIBS
="$ac_save_LIBS"
1832 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1833 echo "$ac_t""yes" 1>&6
1834 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1836 echo "$ac_t""no" 1>&6
1841 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1842 # to get the SysV transport functions.
1843 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1845 # The nsl library prevents programs from opening the X display
1846 # on Irix 5.2, according to dickey@clark.net.
1847 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1848 echo "configure:1849: checking for gethostbyname" >&5
1849 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1850 echo $ac_n "(cached) $ac_c" 1>&6
1852 cat > conftest.
$ac_ext <<EOF
1853 #line 1854 "configure"
1854 #include "confdefs.h"
1855 /* System header to define __stub macros and hopefully few prototypes,
1856 which can conflict with char gethostbyname(); below. */
1858 /* Override any gcc2 internal prototype to avoid an error. */
1859 /* We use char because int might match the return type of a gcc2
1860 builtin and then its argument prototype would still apply. */
1861 char gethostbyname();
1865 /* The GNU C library defines this for functions which it implements
1866 to always fail with ENOSYS. Some functions are actually named
1867 something starting with __ and the normal name is an alias. */
1868 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1876 if { (eval echo configure
:1877: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1878 eval "ac_cv_func_gethostbyname=yes"
1880 echo "configure: failed program was:" >&5
1881 cat conftest.
$ac_ext >&5
1883 eval "ac_cv_func_gethostbyname=no"
1888 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1889 echo "$ac_t""yes" 1>&6
1892 echo "$ac_t""no" 1>&6
1895 if test $ac_cv_func_gethostbyname = no
; then
1896 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1897 echo "configure:1898: checking for gethostbyname in -lnsl" >&5
1898 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1899 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1900 echo $ac_n "(cached) $ac_c" 1>&6
1902 ac_save_LIBS
="$LIBS"
1904 cat > conftest.
$ac_ext <<EOF
1905 #line 1906 "configure"
1906 #include "confdefs.h"
1907 /* Override any gcc2 internal prototype to avoid an error. */
1908 /* We use char because int might match the return type of a gcc2
1909 builtin and then its argument prototype would still apply. */
1910 char gethostbyname();
1916 if { (eval echo configure
:1917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1918 eval "ac_cv_lib_$ac_lib_var=yes"
1920 echo "configure: failed program was:" >&5
1921 cat conftest.
$ac_ext >&5
1923 eval "ac_cv_lib_$ac_lib_var=no"
1926 LIBS
="$ac_save_LIBS"
1929 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1930 echo "$ac_t""yes" 1>&6
1931 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
1933 echo "$ac_t""no" 1>&6
1938 # lieder@skyler.mavd.honeywell.com says without -lsocket,
1939 # socket/setsockopt and other routines are undefined under SCO ODT
1940 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
1941 # on later versions), says simon@lia.di.epfl.ch: it contains
1942 # gethostby* variants that don't use the nameserver (or something).
1943 # -lsocket must be given before -lnsl if both are needed.
1944 # We assume that if connect needs -lnsl, so does gethostbyname.
1945 echo $ac_n "checking for connect""... $ac_c" 1>&6
1946 echo "configure:1947: checking for connect" >&5
1947 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1948 echo $ac_n "(cached) $ac_c" 1>&6
1950 cat > conftest.
$ac_ext <<EOF
1951 #line 1952 "configure"
1952 #include "confdefs.h"
1953 /* System header to define __stub macros and hopefully few prototypes,
1954 which can conflict with char connect(); below. */
1956 /* Override any gcc2 internal prototype to avoid an error. */
1957 /* We use char because int might match the return type of a gcc2
1958 builtin and then its argument prototype would still apply. */
1963 /* The GNU C library defines this for functions which it implements
1964 to always fail with ENOSYS. Some functions are actually named
1965 something starting with __ and the normal name is an alias. */
1966 #if defined (__stub_connect) || defined (__stub___connect)
1974 if { (eval echo configure
:1975: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1976 eval "ac_cv_func_connect=yes"
1978 echo "configure: failed program was:" >&5
1979 cat conftest.
$ac_ext >&5
1981 eval "ac_cv_func_connect=no"
1986 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1987 echo "$ac_t""yes" 1>&6
1990 echo "$ac_t""no" 1>&6
1993 if test $ac_cv_func_connect = no
; then
1994 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1995 echo "configure:1996: checking for connect in -lsocket" >&5
1996 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1997 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1998 echo $ac_n "(cached) $ac_c" 1>&6
2000 ac_save_LIBS
="$LIBS"
2001 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
2002 cat > conftest.
$ac_ext <<EOF
2003 #line 2004 "configure"
2004 #include "confdefs.h"
2005 /* Override any gcc2 internal prototype to avoid an error. */
2006 /* We use char because int might match the return type of a gcc2
2007 builtin and then its argument prototype would still apply. */
2014 if { (eval echo configure
:2015: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2016 eval "ac_cv_lib_$ac_lib_var=yes"
2018 echo "configure: failed program was:" >&5
2019 cat conftest.
$ac_ext >&5
2021 eval "ac_cv_lib_$ac_lib_var=no"
2024 LIBS
="$ac_save_LIBS"
2027 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2028 echo "$ac_t""yes" 1>&6
2029 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2031 echo "$ac_t""no" 1>&6
2036 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2037 echo $ac_n "checking for remove""... $ac_c" 1>&6
2038 echo "configure:2039: checking for remove" >&5
2039 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2040 echo $ac_n "(cached) $ac_c" 1>&6
2042 cat > conftest.
$ac_ext <<EOF
2043 #line 2044 "configure"
2044 #include "confdefs.h"
2045 /* System header to define __stub macros and hopefully few prototypes,
2046 which can conflict with char remove(); below. */
2048 /* Override any gcc2 internal prototype to avoid an error. */
2049 /* We use char because int might match the return type of a gcc2
2050 builtin and then its argument prototype would still apply. */
2055 /* The GNU C library defines this for functions which it implements
2056 to always fail with ENOSYS. Some functions are actually named
2057 something starting with __ and the normal name is an alias. */
2058 #if defined (__stub_remove) || defined (__stub___remove)
2066 if { (eval echo configure
:2067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2068 eval "ac_cv_func_remove=yes"
2070 echo "configure: failed program was:" >&5
2071 cat conftest.
$ac_ext >&5
2073 eval "ac_cv_func_remove=no"
2078 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2079 echo "$ac_t""yes" 1>&6
2082 echo "$ac_t""no" 1>&6
2085 if test $ac_cv_func_remove = no
; then
2086 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2087 echo "configure:2088: checking for remove in -lposix" >&5
2088 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2089 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2090 echo $ac_n "(cached) $ac_c" 1>&6
2092 ac_save_LIBS
="$LIBS"
2093 LIBS
="-lposix $LIBS"
2094 cat > conftest.
$ac_ext <<EOF
2095 #line 2096 "configure"
2096 #include "confdefs.h"
2097 /* Override any gcc2 internal prototype to avoid an error. */
2098 /* We use char because int might match the return type of a gcc2
2099 builtin and then its argument prototype would still apply. */
2106 if { (eval echo configure
:2107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2108 eval "ac_cv_lib_$ac_lib_var=yes"
2110 echo "configure: failed program was:" >&5
2111 cat conftest.
$ac_ext >&5
2113 eval "ac_cv_lib_$ac_lib_var=no"
2116 LIBS
="$ac_save_LIBS"
2119 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2120 echo "$ac_t""yes" 1>&6
2121 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2123 echo "$ac_t""no" 1>&6
2128 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2129 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2130 echo "configure:2131: checking for shmat" >&5
2131 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2132 echo $ac_n "(cached) $ac_c" 1>&6
2134 cat > conftest.
$ac_ext <<EOF
2135 #line 2136 "configure"
2136 #include "confdefs.h"
2137 /* System header to define __stub macros and hopefully few prototypes,
2138 which can conflict with char shmat(); below. */
2140 /* Override any gcc2 internal prototype to avoid an error. */
2141 /* We use char because int might match the return type of a gcc2
2142 builtin and then its argument prototype would still apply. */
2147 /* The GNU C library defines this for functions which it implements
2148 to always fail with ENOSYS. Some functions are actually named
2149 something starting with __ and the normal name is an alias. */
2150 #if defined (__stub_shmat) || defined (__stub___shmat)
2158 if { (eval echo configure
:2159: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2160 eval "ac_cv_func_shmat=yes"
2162 echo "configure: failed program was:" >&5
2163 cat conftest.
$ac_ext >&5
2165 eval "ac_cv_func_shmat=no"
2170 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2171 echo "$ac_t""yes" 1>&6
2174 echo "$ac_t""no" 1>&6
2177 if test $ac_cv_func_shmat = no
; then
2178 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2179 echo "configure:2180: checking for shmat in -lipc" >&5
2180 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2181 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2182 echo $ac_n "(cached) $ac_c" 1>&6
2184 ac_save_LIBS
="$LIBS"
2186 cat > conftest.
$ac_ext <<EOF
2187 #line 2188 "configure"
2188 #include "confdefs.h"
2189 /* Override any gcc2 internal prototype to avoid an error. */
2190 /* We use char because int might match the return type of a gcc2
2191 builtin and then its argument prototype would still apply. */
2198 if { (eval echo configure
:2199: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2200 eval "ac_cv_lib_$ac_lib_var=yes"
2202 echo "configure: failed program was:" >&5
2203 cat conftest.
$ac_ext >&5
2205 eval "ac_cv_lib_$ac_lib_var=no"
2208 LIBS
="$ac_save_LIBS"
2211 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2212 echo "$ac_t""yes" 1>&6
2213 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2215 echo "$ac_t""no" 1>&6
2221 # Check for libraries that X11R6 Xt/Xaw programs need.
2222 ac_save_LDFLAGS
="$LDFLAGS"
2223 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2224 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2225 # check for ICE first), but we must link in the order -lSM -lICE or
2226 # we get undefined symbols. So assume we have SM if we have ICE.
2227 # These have to be linked with before -lX11, unlike the other
2228 # libraries we check for below, so use a different variable.
2229 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2230 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2231 echo "configure:2232: checking for IceConnectionNumber in -lICE" >&5
2232 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2233 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2234 echo $ac_n "(cached) $ac_c" 1>&6
2236 ac_save_LIBS
="$LIBS"
2238 cat > conftest.
$ac_ext <<EOF
2239 #line 2240 "configure"
2240 #include "confdefs.h"
2241 /* Override any gcc2 internal prototype to avoid an error. */
2242 /* We use char because int might match the return type of a gcc2
2243 builtin and then its argument prototype would still apply. */
2244 char IceConnectionNumber();
2247 IceConnectionNumber()
2250 if { (eval echo configure
:2251: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2252 eval "ac_cv_lib_$ac_lib_var=yes"
2254 echo "configure: failed program was:" >&5
2255 cat conftest.
$ac_ext >&5
2257 eval "ac_cv_lib_$ac_lib_var=no"
2260 LIBS
="$ac_save_LIBS"
2263 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2264 echo "$ac_t""yes" 1>&6
2265 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2267 echo "$ac_t""no" 1>&6
2270 LDFLAGS
="$ac_save_LDFLAGS"
2276 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2278 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2279 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2280 echo "configure:2281: checking for $ac_hdr that defines DIR" >&5
2281 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2282 echo $ac_n "(cached) $ac_c" 1>&6
2284 cat > conftest.
$ac_ext <<EOF
2285 #line 2286 "configure"
2286 #include "confdefs.h"
2287 #include <sys/types.h>
2293 if { (eval echo configure
:2294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2295 eval "ac_cv_header_dirent_$ac_safe=yes"
2297 echo "configure: failed program was:" >&5
2298 cat conftest.
$ac_ext >&5
2300 eval "ac_cv_header_dirent_$ac_safe=no"
2304 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2305 echo "$ac_t""yes" 1>&6
2306 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2307 cat >> confdefs.h
<<EOF
2308 #define $ac_tr_hdr 1
2310 ac_header_dirent
=$ac_hdr; break
2312 echo "$ac_t""no" 1>&6
2315 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2316 if test $ac_header_dirent = dirent.h
; then
2317 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2318 echo "configure:2319: checking for opendir in -ldir" >&5
2319 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2320 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2321 echo $ac_n "(cached) $ac_c" 1>&6
2323 ac_save_LIBS
="$LIBS"
2325 cat > conftest.
$ac_ext <<EOF
2326 #line 2327 "configure"
2327 #include "confdefs.h"
2328 /* Override any gcc2 internal prototype to avoid an error. */
2329 /* We use char because int might match the return type of a gcc2
2330 builtin and then its argument prototype would still apply. */
2337 if { (eval echo configure
:2338: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2339 eval "ac_cv_lib_$ac_lib_var=yes"
2341 echo "configure: failed program was:" >&5
2342 cat conftest.
$ac_ext >&5
2344 eval "ac_cv_lib_$ac_lib_var=no"
2347 LIBS
="$ac_save_LIBS"
2350 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2351 echo "$ac_t""yes" 1>&6
2354 echo "$ac_t""no" 1>&6
2358 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2359 echo "configure:2360: checking for opendir in -lx" >&5
2360 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2361 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2362 echo $ac_n "(cached) $ac_c" 1>&6
2364 ac_save_LIBS
="$LIBS"
2366 cat > conftest.
$ac_ext <<EOF
2367 #line 2368 "configure"
2368 #include "confdefs.h"
2369 /* Override any gcc2 internal prototype to avoid an error. */
2370 /* We use char because int might match the return type of a gcc2
2371 builtin and then its argument prototype would still apply. */
2378 if { (eval echo configure
:2379: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2380 eval "ac_cv_lib_$ac_lib_var=yes"
2382 echo "configure: failed program was:" >&5
2383 cat conftest.
$ac_ext >&5
2385 eval "ac_cv_lib_$ac_lib_var=no"
2388 LIBS
="$ac_save_LIBS"
2391 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2392 echo "$ac_t""yes" 1>&6
2395 echo "$ac_t""no" 1>&6
2400 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2401 echo "configure:2402: checking for ANSI C header files" >&5
2402 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2403 echo $ac_n "(cached) $ac_c" 1>&6
2405 cat > conftest.
$ac_ext <<EOF
2406 #line 2407 "configure"
2407 #include "confdefs.h"
2413 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2414 { (eval echo configure
:2415: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2415 ac_err
=`grep -v '^ *+' conftest.out`
2416 if test -z "$ac_err"; then
2418 ac_cv_header_stdc
=yes
2421 echo "configure: failed program was:" >&5
2422 cat conftest.
$ac_ext >&5
2424 ac_cv_header_stdc
=no
2428 if test $ac_cv_header_stdc = yes; then
2429 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2430 cat > conftest.
$ac_ext <<EOF
2431 #line 2432 "configure"
2432 #include "confdefs.h"
2435 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2436 egrep "memchr" >/dev
/null
2>&1; then
2440 ac_cv_header_stdc
=no
2446 if test $ac_cv_header_stdc = yes; then
2447 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2448 cat > conftest.
$ac_ext <<EOF
2449 #line 2450 "configure"
2450 #include "confdefs.h"
2453 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2454 egrep "free" >/dev
/null
2>&1; then
2458 ac_cv_header_stdc
=no
2464 if test $ac_cv_header_stdc = yes; then
2465 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2466 if test "$cross_compiling" = yes; then
2469 cat > conftest.
$ac_ext <<EOF
2470 #line 2471 "configure"
2471 #include "confdefs.h"
2473 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2474 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2475 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2476 int main () { int i; for (i = 0; i < 256; i++)
2477 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2481 if { (eval echo configure
:2482: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2485 echo "configure: failed program was:" >&5
2486 cat conftest.
$ac_ext >&5
2488 ac_cv_header_stdc
=no
2496 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2497 if test $ac_cv_header_stdc = yes; then
2498 cat >> confdefs.h
<<\EOF
2499 #define STDC_HEADERS 1
2504 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2505 echo "configure:2506: checking for sys/wait.h that is POSIX.1 compatible" >&5
2506 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2507 echo $ac_n "(cached) $ac_c" 1>&6
2509 cat > conftest.
$ac_ext <<EOF
2510 #line 2511 "configure"
2511 #include "confdefs.h"
2512 #include <sys/types.h>
2513 #include <sys/wait.h>
2515 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2518 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2523 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2526 if { (eval echo configure
:2527: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2528 ac_cv_header_sys_wait_h
=yes
2530 echo "configure: failed program was:" >&5
2531 cat conftest.
$ac_ext >&5
2533 ac_cv_header_sys_wait_h
=no
2538 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2539 if test $ac_cv_header_sys_wait_h = yes; then
2540 cat >> confdefs.h
<<\EOF
2541 #define HAVE_SYS_WAIT_H 1
2546 for ac_hdr
in fcntl.h
2548 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2549 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2550 echo "configure:2551: checking for $ac_hdr" >&5
2551 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2552 echo $ac_n "(cached) $ac_c" 1>&6
2554 cat > conftest.
$ac_ext <<EOF
2555 #line 2556 "configure"
2556 #include "confdefs.h"
2559 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2560 { (eval echo configure
:2561: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2561 ac_err
=`grep -v '^ *+' conftest.out`
2562 if test -z "$ac_err"; then
2564 eval "ac_cv_header_$ac_safe=yes"
2567 echo "configure: failed program was:" >&5
2568 cat conftest.
$ac_ext >&5
2570 eval "ac_cv_header_$ac_safe=no"
2574 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2575 echo "$ac_t""yes" 1>&6
2576 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2577 cat >> confdefs.h
<<EOF
2578 #define $ac_tr_hdr 1
2582 echo "$ac_t""no" 1>&6
2586 for ac_hdr
in limits.h
2588 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2589 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2590 echo "configure:2591: checking for $ac_hdr" >&5
2591 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2592 echo $ac_n "(cached) $ac_c" 1>&6
2594 cat > conftest.
$ac_ext <<EOF
2595 #line 2596 "configure"
2596 #include "confdefs.h"
2599 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2600 { (eval echo configure
:2601: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2601 ac_err
=`grep -v '^ *+' conftest.out`
2602 if test -z "$ac_err"; then
2604 eval "ac_cv_header_$ac_safe=yes"
2607 echo "configure: failed program was:" >&5
2608 cat conftest.
$ac_ext >&5
2610 eval "ac_cv_header_$ac_safe=no"
2614 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2615 echo "$ac_t""yes" 1>&6
2616 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2617 cat >> confdefs.h
<<EOF
2618 #define $ac_tr_hdr 1
2622 echo "$ac_t""no" 1>&6
2626 for ac_hdr
in sys
/file.h
2628 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2629 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2630 echo "configure:2631: checking for $ac_hdr" >&5
2631 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2632 echo $ac_n "(cached) $ac_c" 1>&6
2634 cat > conftest.
$ac_ext <<EOF
2635 #line 2636 "configure"
2636 #include "confdefs.h"
2639 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2640 { (eval echo configure
:2641: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2641 ac_err
=`grep -v '^ *+' conftest.out`
2642 if test -z "$ac_err"; then
2644 eval "ac_cv_header_$ac_safe=yes"
2647 echo "configure: failed program was:" >&5
2648 cat conftest.
$ac_ext >&5
2650 eval "ac_cv_header_$ac_safe=no"
2654 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2655 echo "$ac_t""yes" 1>&6
2656 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2657 cat >> confdefs.h
<<EOF
2658 #define $ac_tr_hdr 1
2662 echo "$ac_t""no" 1>&6
2666 for ac_hdr
in sys
/time.h
2668 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2669 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2670 echo "configure:2671: checking for $ac_hdr" >&5
2671 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2672 echo $ac_n "(cached) $ac_c" 1>&6
2674 cat > conftest.
$ac_ext <<EOF
2675 #line 2676 "configure"
2676 #include "confdefs.h"
2679 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2680 { (eval echo configure
:2681: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2681 ac_err
=`grep -v '^ *+' conftest.out`
2682 if test -z "$ac_err"; then
2684 eval "ac_cv_header_$ac_safe=yes"
2687 echo "configure: failed program was:" >&5
2688 cat conftest.
$ac_ext >&5
2690 eval "ac_cv_header_$ac_safe=no"
2694 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2695 echo "$ac_t""yes" 1>&6
2696 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2697 cat >> confdefs.h
<<EOF
2698 #define $ac_tr_hdr 1
2702 echo "$ac_t""no" 1>&6
2706 for ac_hdr
in unistd.h
2708 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2709 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2710 echo "configure:2711: checking for $ac_hdr" >&5
2711 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2712 echo $ac_n "(cached) $ac_c" 1>&6
2714 cat > conftest.
$ac_ext <<EOF
2715 #line 2716 "configure"
2716 #include "confdefs.h"
2719 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2720 { (eval echo configure
:2721: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2721 ac_err
=`grep -v '^ *+' conftest.out`
2722 if test -z "$ac_err"; then
2724 eval "ac_cv_header_$ac_safe=yes"
2727 echo "configure: failed program was:" >&5
2728 cat conftest.
$ac_ext >&5
2730 eval "ac_cv_header_$ac_safe=no"
2734 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2735 echo "$ac_t""yes" 1>&6
2736 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2737 cat >> confdefs.h
<<EOF
2738 #define $ac_tr_hdr 1
2742 echo "$ac_t""no" 1>&6
2746 for ac_hdr
in fnmatch.h
2748 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2749 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2750 echo "configure:2751: checking for $ac_hdr" >&5
2751 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2752 echo $ac_n "(cached) $ac_c" 1>&6
2754 cat > conftest.
$ac_ext <<EOF
2755 #line 2756 "configure"
2756 #include "confdefs.h"
2759 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2760 { (eval echo configure
:2761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2761 ac_err
=`grep -v '^ *+' conftest.out`
2762 if test -z "$ac_err"; then
2764 eval "ac_cv_header_$ac_safe=yes"
2767 echo "configure: failed program was:" >&5
2768 cat conftest.
$ac_ext >&5
2770 eval "ac_cv_header_$ac_safe=no"
2774 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2775 echo "$ac_t""yes" 1>&6
2776 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2777 cat >> confdefs.h
<<EOF
2778 #define $ac_tr_hdr 1
2782 echo "$ac_t""no" 1>&6
2786 for ac_hdr
in linux
/joystick.h
2788 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2789 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2790 echo "configure:2791: checking for $ac_hdr" >&5
2791 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2792 echo $ac_n "(cached) $ac_c" 1>&6
2794 cat > conftest.
$ac_ext <<EOF
2795 #line 2796 "configure"
2796 #include "confdefs.h"
2799 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2800 { (eval echo configure
:2801: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2801 ac_err
=`grep -v '^ *+' conftest.out`
2802 if test -z "$ac_err"; then
2804 eval "ac_cv_header_$ac_safe=yes"
2807 echo "configure: failed program was:" >&5
2808 cat conftest.
$ac_ext >&5
2810 eval "ac_cv_header_$ac_safe=no"
2814 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2815 echo "$ac_t""yes" 1>&6
2816 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2817 cat >> confdefs.h
<<EOF
2818 #define $ac_tr_hdr 1
2822 echo "$ac_t""no" 1>&6
2827 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
2828 GTK_JOYSTICK
="gtk/joystick.cpp"
2832 echo $ac_n "checking for vprintf""... $ac_c" 1>&6
2833 echo "configure:2834: checking for vprintf" >&5
2834 if eval "test \"`echo '$''{'ac_cv_func_vprintf'+set}'`\" = set"; then
2835 echo $ac_n "(cached) $ac_c" 1>&6
2837 cat > conftest.
$ac_ext <<EOF
2838 #line 2839 "configure"
2839 #include "confdefs.h"
2840 /* System header to define __stub macros and hopefully few prototypes,
2841 which can conflict with char vprintf(); below. */
2843 /* Override any gcc2 internal prototype to avoid an error. */
2844 /* We use char because int might match the return type of a gcc2
2845 builtin and then its argument prototype would still apply. */
2850 /* The GNU C library defines this for functions which it implements
2851 to always fail with ENOSYS. Some functions are actually named
2852 something starting with __ and the normal name is an alias. */
2853 #if defined (__stub_vprintf) || defined (__stub___vprintf)
2861 if { (eval echo configure
:2862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2863 eval "ac_cv_func_vprintf=yes"
2865 echo "configure: failed program was:" >&5
2866 cat conftest.
$ac_ext >&5
2868 eval "ac_cv_func_vprintf=no"
2873 if eval "test \"`echo '$ac_cv_func_'vprintf`\" = yes"; then
2874 echo "$ac_t""yes" 1>&6
2875 cat >> confdefs.h
<<\EOF
2876 #define HAVE_VPRINTF 1
2880 echo "$ac_t""no" 1>&6
2883 if test "$ac_cv_func_vprintf" != yes; then
2884 echo $ac_n "checking for _doprnt""... $ac_c" 1>&6
2885 echo "configure:2886: checking for _doprnt" >&5
2886 if eval "test \"`echo '$''{'ac_cv_func__doprnt'+set}'`\" = set"; then
2887 echo $ac_n "(cached) $ac_c" 1>&6
2889 cat > conftest.
$ac_ext <<EOF
2890 #line 2891 "configure"
2891 #include "confdefs.h"
2892 /* System header to define __stub macros and hopefully few prototypes,
2893 which can conflict with char _doprnt(); below. */
2895 /* Override any gcc2 internal prototype to avoid an error. */
2896 /* We use char because int might match the return type of a gcc2
2897 builtin and then its argument prototype would still apply. */
2902 /* The GNU C library defines this for functions which it implements
2903 to always fail with ENOSYS. Some functions are actually named
2904 something starting with __ and the normal name is an alias. */
2905 #if defined (__stub__doprnt) || defined (__stub____doprnt)
2913 if { (eval echo configure
:2914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2915 eval "ac_cv_func__doprnt=yes"
2917 echo "configure: failed program was:" >&5
2918 cat conftest.
$ac_ext >&5
2920 eval "ac_cv_func__doprnt=no"
2925 if eval "test \"`echo '$ac_cv_func_'_doprnt`\" = yes"; then
2926 echo "$ac_t""yes" 1>&6
2927 cat >> confdefs.h
<<\EOF
2928 #define HAVE_DOPRNT 1
2932 echo "$ac_t""no" 1>&6
2937 echo $ac_n "checking for vsnprintf""... $ac_c" 1>&6
2938 echo "configure:2939: checking for vsnprintf" >&5
2939 if eval "test \"`echo '$''{'ac_cv_func_vsnprintf'+set}'`\" = set"; then
2940 echo $ac_n "(cached) $ac_c" 1>&6
2942 cat > conftest.
$ac_ext <<EOF
2943 #line 2944 "configure"
2944 #include "confdefs.h"
2945 /* System header to define __stub macros and hopefully few prototypes,
2946 which can conflict with char vsnprintf(); below. */
2948 /* Override any gcc2 internal prototype to avoid an error. */
2949 /* We use char because int might match the return type of a gcc2
2950 builtin and then its argument prototype would still apply. */
2955 /* The GNU C library defines this for functions which it implements
2956 to always fail with ENOSYS. Some functions are actually named
2957 something starting with __ and the normal name is an alias. */
2958 #if defined (__stub_vsnprintf) || defined (__stub___vsnprintf)
2966 if { (eval echo configure
:2967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2968 eval "ac_cv_func_vsnprintf=yes"
2970 echo "configure: failed program was:" >&5
2971 cat conftest.
$ac_ext >&5
2973 eval "ac_cv_func_vsnprintf=no"
2978 if eval "test \"`echo '$ac_cv_func_'vsnprintf`\" = yes"; then
2979 echo "$ac_t""yes" 1>&6
2982 echo "$ac_t""no" 1>&6
2988 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2989 ac_cpp
='$CXXCPP $CPPFLAGS'
2990 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2991 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2992 cross_compiling
=$ac_cv_prog_cxx_cross
2994 for ac_hdr
in iostream
2996 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2997 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2998 echo "configure:2999: checking for $ac_hdr" >&5
2999 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3000 echo $ac_n "(cached) $ac_c" 1>&6
3002 cat > conftest.
$ac_ext <<EOF
3003 #line 3004 "configure"
3004 #include "confdefs.h"
3007 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3008 { (eval echo configure
:3009: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3009 ac_err
=`grep -v '^ *+' conftest.out`
3010 if test -z "$ac_err"; then
3012 eval "ac_cv_header_$ac_safe=yes"
3015 echo "configure: failed program was:" >&5
3016 cat conftest.
$ac_ext >&5
3018 eval "ac_cv_header_$ac_safe=no"
3022 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3023 echo "$ac_t""yes" 1>&6
3024 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3025 cat >> confdefs.h
<<EOF
3026 #define $ac_tr_hdr 1
3030 echo "$ac_t""no" 1>&6
3034 if test "x$HAVE_IOSTREAM" = "x" ; then
3035 cat >> confdefs.h
<<\EOF
3036 #define wxUSE_IOSTREAMH 1
3041 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
3042 ac_cpp
='$CPP $CPPFLAGS'
3043 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
3044 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
3045 cross_compiling
=$ac_cv_prog_cc_cross
3048 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3049 echo "configure:3050: checking for uid_t in sys/types.h" >&5
3050 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3051 echo $ac_n "(cached) $ac_c" 1>&6
3053 cat > conftest.
$ac_ext <<EOF
3054 #line 3055 "configure"
3055 #include "confdefs.h"
3056 #include <sys/types.h>
3058 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3059 egrep "uid_t" >/dev
/null
2>&1; then
3061 ac_cv_type_uid_t
=yes
3070 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3071 if test $ac_cv_type_uid_t = no
; then
3072 cat >> confdefs.h
<<\EOF
3076 cat >> confdefs.h
<<\EOF
3082 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
3083 echo "configure:3084: checking type of array argument to getgroups" >&5
3084 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
3085 echo $ac_n "(cached) $ac_c" 1>&6
3087 if test "$cross_compiling" = yes; then
3088 ac_cv_type_getgroups
=cross
3090 cat > conftest.
$ac_ext <<EOF
3091 #line 3092 "configure"
3092 #include "confdefs.h"
3094 /* Thanks to Mike Rendell for this test. */
3095 #include <sys/types.h>
3098 #define MAX(x, y) ((x) > (y) ? (x) : (y))
3103 union { gid_t gval; long lval; } val;
3106 for (i = 0; i < NGID; i++)
3107 gidset[i] = val.gval;
3108 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
3110 /* Exit non-zero if getgroups seems to require an array of ints. This
3111 happens when gid_t is short but getgroups modifies an array of ints. */
3112 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
3116 if { (eval echo configure
:3117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3118 ac_cv_type_getgroups
=gid_t
3120 echo "configure: failed program was:" >&5
3121 cat conftest.
$ac_ext >&5
3123 ac_cv_type_getgroups
=int
3128 if test $ac_cv_type_getgroups = cross
; then
3129 cat > conftest.
$ac_ext <<EOF
3130 #line 3131 "configure"
3131 #include "confdefs.h"
3134 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3135 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
3137 ac_cv_type_getgroups
=gid_t
3140 ac_cv_type_getgroups
=int
3147 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
3148 cat >> confdefs.h
<<EOF
3149 #define GETGROUPS_T $ac_cv_type_getgroups
3153 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
3154 echo "configure:3155: checking for mode_t" >&5
3155 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
3156 echo $ac_n "(cached) $ac_c" 1>&6
3158 cat > conftest.
$ac_ext <<EOF
3159 #line 3160 "configure"
3160 #include "confdefs.h"
3161 #include <sys/types.h>
3167 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3168 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3170 ac_cv_type_mode_t
=yes
3173 ac_cv_type_mode_t
=no
3178 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
3179 if test $ac_cv_type_mode_t = no
; then
3180 cat >> confdefs.h
<<\EOF
3186 echo $ac_n "checking for off_t""... $ac_c" 1>&6
3187 echo "configure:3188: checking for off_t" >&5
3188 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
3189 echo $ac_n "(cached) $ac_c" 1>&6
3191 cat > conftest.
$ac_ext <<EOF
3192 #line 3193 "configure"
3193 #include "confdefs.h"
3194 #include <sys/types.h>
3200 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3201 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3203 ac_cv_type_off_t
=yes
3211 echo "$ac_t""$ac_cv_type_off_t" 1>&6
3212 if test $ac_cv_type_off_t = no
; then
3213 cat >> confdefs.h
<<\EOF
3219 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
3220 echo "configure:3221: checking for pid_t" >&5
3221 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
3222 echo $ac_n "(cached) $ac_c" 1>&6
3224 cat > conftest.
$ac_ext <<EOF
3225 #line 3226 "configure"
3226 #include "confdefs.h"
3227 #include <sys/types.h>
3233 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3234 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3236 ac_cv_type_pid_t
=yes
3244 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
3245 if test $ac_cv_type_pid_t = no
; then
3246 cat >> confdefs.h
<<\EOF
3252 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
3253 echo "configure:3254: checking return type of signal handlers" >&5
3254 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
3255 echo $ac_n "(cached) $ac_c" 1>&6
3257 cat > conftest.
$ac_ext <<EOF
3258 #line 3259 "configure"
3259 #include "confdefs.h"
3260 #include <sys/types.h>
3266 extern "C" void (*signal (int, void (*)(int)))(int);
3268 void (*signal ()) ();
3275 if { (eval echo configure
:3276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3277 ac_cv_type_signal
=void
3279 echo "configure: failed program was:" >&5
3280 cat conftest.
$ac_ext >&5
3282 ac_cv_type_signal
=int
3287 echo "$ac_t""$ac_cv_type_signal" 1>&6
3288 cat >> confdefs.h
<<EOF
3289 #define RETSIGTYPE $ac_cv_type_signal
3293 echo $ac_n "checking for size_t""... $ac_c" 1>&6
3294 echo "configure:3295: checking for size_t" >&5
3295 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
3296 echo $ac_n "(cached) $ac_c" 1>&6
3298 cat > conftest.
$ac_ext <<EOF
3299 #line 3300 "configure"
3300 #include "confdefs.h"
3301 #include <sys/types.h>
3307 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3308 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
3310 ac_cv_type_size_t
=yes
3313 ac_cv_type_size_t
=no
3318 echo "$ac_t""$ac_cv_type_size_t" 1>&6
3319 if test $ac_cv_type_size_t = no
; then
3320 cat >> confdefs.h
<<\EOF
3321 #define size_t unsigned
3326 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3327 echo "configure:3328: checking for uid_t in sys/types.h" >&5
3328 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3329 echo $ac_n "(cached) $ac_c" 1>&6
3331 cat > conftest.
$ac_ext <<EOF
3332 #line 3333 "configure"
3333 #include "confdefs.h"
3334 #include <sys/types.h>
3336 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3337 egrep "uid_t" >/dev
/null
2>&1; then
3339 ac_cv_type_uid_t
=yes
3348 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3349 if test $ac_cv_type_uid_t = no
; then
3350 cat >> confdefs.h
<<\EOF
3354 cat >> confdefs.h
<<\EOF
3362 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3363 echo "configure:3364: checking whether stat file-mode macros are broken" >&5
3364 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3365 echo $ac_n "(cached) $ac_c" 1>&6
3367 cat > conftest.
$ac_ext <<EOF
3368 #line 3369 "configure"
3369 #include "confdefs.h"
3370 #include <sys/types.h>
3371 #include <sys/stat.h>
3373 #if defined(S_ISBLK) && defined(S_IFDIR)
3374 # if S_ISBLK (S_IFDIR)
3379 #if defined(S_ISBLK) && defined(S_IFCHR)
3380 # if S_ISBLK (S_IFCHR)
3385 #if defined(S_ISLNK) && defined(S_IFREG)
3386 # if S_ISLNK (S_IFREG)
3391 #if defined(S_ISSOCK) && defined(S_IFREG)
3392 # if S_ISSOCK (S_IFREG)
3398 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3399 egrep "You lose" >/dev
/null
2>&1; then
3401 ac_cv_header_stat_broken
=yes
3404 ac_cv_header_stat_broken
=no
3410 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3411 if test $ac_cv_header_stat_broken = yes; then
3412 cat >> confdefs.h
<<\EOF
3413 #define STAT_MACROS_BROKEN 1
3418 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3419 echo "configure:3420: checking whether time.h and sys/time.h may both be included" >&5
3420 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3421 echo $ac_n "(cached) $ac_c" 1>&6
3423 cat > conftest.
$ac_ext <<EOF
3424 #line 3425 "configure"
3425 #include "confdefs.h"
3426 #include <sys/types.h>
3427 #include <sys/time.h>
3433 if { (eval echo configure
:3434: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3435 ac_cv_header_time
=yes
3437 echo "configure: failed program was:" >&5
3438 cat conftest.
$ac_ext >&5
3440 ac_cv_header_time
=no
3445 echo "$ac_t""$ac_cv_header_time" 1>&6
3446 if test $ac_cv_header_time = yes; then
3447 cat >> confdefs.h
<<\EOF
3448 #define TIME_WITH_SYS_TIME 1
3453 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3454 echo "configure:3455: checking for st_blksize in struct stat" >&5
3455 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3456 echo $ac_n "(cached) $ac_c" 1>&6
3458 cat > conftest.
$ac_ext <<EOF
3459 #line 3460 "configure"
3460 #include "confdefs.h"
3461 #include <sys/types.h>
3462 #include <sys/stat.h>
3464 struct stat s; s.st_blksize;
3467 if { (eval echo configure
:3468: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3469 ac_cv_struct_st_blksize
=yes
3471 echo "configure: failed program was:" >&5
3472 cat conftest.
$ac_ext >&5
3474 ac_cv_struct_st_blksize
=no
3479 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3480 if test $ac_cv_struct_st_blksize = yes; then
3481 cat >> confdefs.h
<<\EOF
3482 #define HAVE_ST_BLKSIZE 1
3487 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3488 echo "configure:3489: checking for st_blocks in struct stat" >&5
3489 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3490 echo $ac_n "(cached) $ac_c" 1>&6
3492 cat > conftest.
$ac_ext <<EOF
3493 #line 3494 "configure"
3494 #include "confdefs.h"
3495 #include <sys/types.h>
3496 #include <sys/stat.h>
3498 struct stat s; s.st_blocks;
3501 if { (eval echo configure
:3502: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3503 ac_cv_struct_st_blocks
=yes
3505 echo "configure: failed program was:" >&5
3506 cat conftest.
$ac_ext >&5
3508 ac_cv_struct_st_blocks
=no
3513 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3514 if test $ac_cv_struct_st_blocks = yes; then
3515 cat >> confdefs.h
<<\EOF
3516 #define HAVE_ST_BLOCKS 1
3520 LIBOBJS
="$LIBOBJS fileblocks.o"
3523 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3524 echo "configure:3525: checking for st_rdev in struct stat" >&5
3525 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
3526 echo $ac_n "(cached) $ac_c" 1>&6
3528 cat > conftest.
$ac_ext <<EOF
3529 #line 3530 "configure"
3530 #include "confdefs.h"
3531 #include <sys/types.h>
3532 #include <sys/stat.h>
3534 struct stat s; s.st_rdev;
3537 if { (eval echo configure
:3538: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3539 ac_cv_struct_st_rdev
=yes
3541 echo "configure: failed program was:" >&5
3542 cat conftest.
$ac_ext >&5
3544 ac_cv_struct_st_rdev
=no
3549 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
3550 if test $ac_cv_struct_st_rdev = yes; then
3551 cat >> confdefs.h
<<\EOF
3552 #define HAVE_ST_RDEV 1
3557 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3558 echo "configure:3559: checking whether struct tm is in sys/time.h or time.h" >&5
3559 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3560 echo $ac_n "(cached) $ac_c" 1>&6
3562 cat > conftest.
$ac_ext <<EOF
3563 #line 3564 "configure"
3564 #include "confdefs.h"
3565 #include <sys/types.h>
3568 struct tm *tp; tp->tm_sec;
3571 if { (eval echo configure
:3572: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3573 ac_cv_struct_tm
=time.h
3575 echo "configure: failed program was:" >&5
3576 cat conftest.
$ac_ext >&5
3578 ac_cv_struct_tm
=sys
/time.h
3583 echo "$ac_t""$ac_cv_struct_tm" 1>&6
3584 if test $ac_cv_struct_tm = sys
/time.h
; then
3585 cat >> confdefs.h
<<\EOF
3586 #define TM_IN_SYS_TIME 1
3591 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3592 echo "configure:3593: checking for tm_zone in struct tm" >&5
3593 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3594 echo $ac_n "(cached) $ac_c" 1>&6
3596 cat > conftest.
$ac_ext <<EOF
3597 #line 3598 "configure"
3598 #include "confdefs.h"
3599 #include <sys/types.h>
3600 #include <$ac_cv_struct_tm>
3602 struct tm tm; tm.tm_zone;
3605 if { (eval echo configure
:3606: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3607 ac_cv_struct_tm_zone
=yes
3609 echo "configure: failed program was:" >&5
3610 cat conftest.
$ac_ext >&5
3612 ac_cv_struct_tm_zone
=no
3617 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
3618 if test "$ac_cv_struct_tm_zone" = yes; then
3619 cat >> confdefs.h
<<\EOF
3620 #define HAVE_TM_ZONE 1
3624 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3625 echo "configure:3626: checking for tzname" >&5
3626 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
3627 echo $ac_n "(cached) $ac_c" 1>&6
3629 cat > conftest.
$ac_ext <<EOF
3630 #line 3631 "configure"
3631 #include "confdefs.h"
3633 #ifndef tzname /* For SGI. */
3634 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3640 if { (eval echo configure
:3641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3642 ac_cv_var_tzname
=yes
3644 echo "configure: failed program was:" >&5
3645 cat conftest.
$ac_ext >&5
3652 echo "$ac_t""$ac_cv_var_tzname" 1>&6
3653 if test $ac_cv_var_tzname = yes; then
3654 cat >> confdefs.h
<<\EOF
3655 #define HAVE_TZNAME 1
3663 echo $ac_n "checking for working const""... $ac_c" 1>&6
3664 echo "configure:3665: checking for working const" >&5
3665 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3666 echo $ac_n "(cached) $ac_c" 1>&6
3668 cat > conftest.
$ac_ext <<EOF
3669 #line 3670 "configure"
3670 #include "confdefs.h"
3674 /* Ultrix mips cc rejects this. */
3675 typedef int charset[2]; const charset x;
3676 /* SunOS 4.1.1 cc rejects this. */
3677 char const *const *ccp;
3679 /* NEC SVR4.0.2 mips cc rejects this. */
3680 struct point {int x, y;};
3681 static struct point const zero = {0,0};
3682 /* AIX XL C 1.02.0.0 rejects this.
3683 It does not let you subtract one const X* pointer from another in an arm
3684 of an if-expression whose if-part is not a constant expression */
3685 const char *g = "string";
3686 ccp = &g + (g ? g-g : 0);
3687 /* HPUX 7.0 cc rejects these. */
3690 ccp = (char const *const *) p;
3691 { /* SCO 3.2v4 cc rejects this. */
3693 char const *s = 0 ? (char *) 0 : (char const *) 0;
3697 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3699 const int *foo = &x[0];
3702 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3703 typedef const int *iptr;
3707 { /* AIX XL C 1.02.0.0 rejects this saying
3708 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3709 struct s { int j; const int *ap[3]; };
3710 struct s *b; b->j = 5;
3712 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3718 if { (eval echo configure
:3719: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3722 echo "configure: failed program was:" >&5
3723 cat conftest.
$ac_ext >&5
3730 echo "$ac_t""$ac_cv_c_const" 1>&6
3731 if test $ac_cv_c_const = no
; then
3732 cat >> confdefs.h
<<\EOF
3738 echo $ac_n "checking for inline""... $ac_c" 1>&6
3739 echo "configure:3740: checking for inline" >&5
3740 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3741 echo $ac_n "(cached) $ac_c" 1>&6
3744 for ac_kw
in inline __inline__ __inline
; do
3745 cat > conftest.
$ac_ext <<EOF
3746 #line 3747 "configure"
3747 #include "confdefs.h"
3753 if { (eval echo configure
:3754: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3755 ac_cv_c_inline
=$ac_kw; break
3757 echo "configure: failed program was:" >&5
3758 cat conftest.
$ac_ext >&5
3765 echo "$ac_t""$ac_cv_c_inline" 1>&6
3766 case "$ac_cv_c_inline" in
3768 no
) cat >> confdefs.h
<<\EOF
3772 *) cat >> confdefs.h
<<EOF
3773 #define inline $ac_cv_c_inline
3778 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
3779 echo "configure:3780: checking whether char is unsigned" >&5
3780 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
3781 echo $ac_n "(cached) $ac_c" 1>&6
3783 if test "$GCC" = yes; then
3784 # GCC predefines this symbol on systems where it applies.
3785 cat > conftest.
$ac_ext <<EOF
3786 #line 3787 "configure"
3787 #include "confdefs.h"
3788 #ifdef __CHAR_UNSIGNED__
3793 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3794 egrep "yes" >/dev
/null
2>&1; then
3796 ac_cv_c_char_unsigned
=yes
3799 ac_cv_c_char_unsigned
=no
3804 if test "$cross_compiling" = yes; then
3805 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3807 cat > conftest.
$ac_ext <<EOF
3808 #line 3809 "configure"
3809 #include "confdefs.h"
3810 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
3811 #if !defined(__STDC__) || __STDC__ != 1
3815 volatile char c = 255; exit(c < 0);
3818 if { (eval echo configure
:3819: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3820 ac_cv_c_char_unsigned
=yes
3822 echo "configure: failed program was:" >&5
3823 cat conftest.
$ac_ext >&5
3825 ac_cv_c_char_unsigned
=no
3833 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
3834 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3835 cat >> confdefs.h
<<\EOF
3836 #define __CHAR_UNSIGNED__ 1
3841 echo $ac_n "checking for long double""... $ac_c" 1>&6
3842 echo "configure:3843: checking for long double" >&5
3843 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
3844 echo $ac_n "(cached) $ac_c" 1>&6
3846 if test "$GCC" = yes; then
3847 ac_cv_c_long_double
=yes
3849 if test "$cross_compiling" = yes; then
3850 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3852 cat > conftest.
$ac_ext <<EOF
3853 #line 3854 "configure"
3854 #include "confdefs.h"
3856 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
3857 long double foo = 0.0;
3858 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3859 exit(sizeof(long double) < sizeof(double)); }
3861 if { (eval echo configure
:3862: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3863 ac_cv_c_long_double
=yes
3865 echo "configure: failed program was:" >&5
3866 cat conftest.
$ac_ext >&5
3868 ac_cv_c_long_double
=no
3876 echo "$ac_t""$ac_cv_c_long_double" 1>&6
3877 if test $ac_cv_c_long_double = yes; then
3878 cat >> confdefs.h
<<\EOF
3879 #define HAVE_LONG_DOUBLE 1
3885 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3886 echo "configure:3887: checking whether byte ordering is bigendian" >&5
3887 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3888 echo $ac_n "(cached) $ac_c" 1>&6
3890 ac_cv_c_bigendian
=unknown
3891 # See if sys/param.h defines the BYTE_ORDER macro.
3892 cat > conftest.
$ac_ext <<EOF
3893 #line 3894 "configure"
3894 #include "confdefs.h"
3895 #include <sys/types.h>
3896 #include <sys/param.h>
3899 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3904 if { (eval echo configure
:3905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3906 # It does; now see whether it defined to BIG_ENDIAN or not.
3907 cat > conftest.
$ac_ext <<EOF
3908 #line 3909 "configure"
3909 #include "confdefs.h"
3910 #include <sys/types.h>
3911 #include <sys/param.h>
3914 #if BYTE_ORDER != BIG_ENDIAN
3919 if { (eval echo configure
:3920: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3921 ac_cv_c_bigendian
=yes
3923 echo "configure: failed program was:" >&5
3924 cat conftest.
$ac_ext >&5
3926 ac_cv_c_bigendian
=no
3930 echo "configure: failed program was:" >&5
3931 cat conftest.
$ac_ext >&5
3934 if test $ac_cv_c_bigendian = unknown
; then
3935 if test "$cross_compiling" = yes; then
3936 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3938 cat > conftest.
$ac_ext <<EOF
3939 #line 3940 "configure"
3940 #include "confdefs.h"
3942 /* Are we little or big endian? From Harbison&Steele. */
3946 char c[sizeof (long)];
3949 exit (u.c[sizeof (long) - 1] == 1);
3952 if { (eval echo configure
:3953: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3954 ac_cv_c_bigendian
=no
3956 echo "configure: failed program was:" >&5
3957 cat conftest.
$ac_ext >&5
3959 ac_cv_c_bigendian
=yes
3967 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
3968 if test $ac_cv_c_bigendian = yes; then
3969 cat >> confdefs.h
<<\EOF
3970 #define WORDS_BIGENDIAN 1
3976 echo $ac_n "checking size of int *""... $ac_c" 1>&6
3977 echo "configure:3978: checking size of int *" >&5
3978 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
3979 echo $ac_n "(cached) $ac_c" 1>&6
3981 if test "$cross_compiling" = yes; then
3982 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3984 cat > conftest.
$ac_ext <<EOF
3985 #line 3986 "configure"
3986 #include "confdefs.h"
3990 FILE *f=fopen("conftestval", "w");
3992 fprintf(f, "%d\n", sizeof(int *));
3996 if { (eval echo configure
:3997: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3998 ac_cv_sizeof_int_p
=`cat conftestval`
4000 echo "configure: failed program was:" >&5
4001 cat conftest.
$ac_ext >&5
4003 ac_cv_sizeof_int_p
=0
4009 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
4010 cat >> confdefs.h
<<EOF
4011 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
4015 echo $ac_n "checking size of int""... $ac_c" 1>&6
4016 echo "configure:4017: checking size of int" >&5
4017 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
4018 echo $ac_n "(cached) $ac_c" 1>&6
4020 if test "$cross_compiling" = yes; then
4021 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4023 cat > conftest.
$ac_ext <<EOF
4024 #line 4025 "configure"
4025 #include "confdefs.h"
4029 FILE *f=fopen("conftestval", "w");
4031 fprintf(f, "%d\n", sizeof(int));
4035 if { (eval echo configure
:4036: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4037 ac_cv_sizeof_int
=`cat conftestval`
4039 echo "configure: failed program was:" >&5
4040 cat conftest.
$ac_ext >&5
4048 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
4049 cat >> confdefs.h
<<EOF
4050 #define SIZEOF_INT $ac_cv_sizeof_int
4054 echo $ac_n "checking size of long""... $ac_c" 1>&6
4055 echo "configure:4056: checking size of long" >&5
4056 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
4057 echo $ac_n "(cached) $ac_c" 1>&6
4059 if test "$cross_compiling" = yes; then
4060 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4062 cat > conftest.
$ac_ext <<EOF
4063 #line 4064 "configure"
4064 #include "confdefs.h"
4068 FILE *f=fopen("conftestval", "w");
4070 fprintf(f, "%d\n", sizeof(long));
4074 if { (eval echo configure
:4075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
4076 ac_cv_sizeof_long
=`cat conftestval`
4078 echo "configure: failed program was:" >&5
4079 cat conftest.
$ac_ext >&5
4087 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
4088 cat >> confdefs.h
<<EOF
4089 #define SIZEOF_LONG $ac_cv_sizeof_long
4097 echo $ac_n "checking for long file names""... $ac_c" 1>&6
4098 echo "configure:4099: checking for long file names" >&5
4099 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
4100 echo $ac_n "(cached) $ac_c" 1>&6
4102 ac_cv_sys_long_file_names
=yes
4103 # Test for long file names in all the places we know might matter:
4104 # . the current directory, where building will happen
4105 # $prefix/lib where we will be installing things
4106 # $exec_prefix/lib likewise
4107 # eval it to expand exec_prefix.
4108 # $TMPDIR if set, where it might want to write temporary files
4109 # if $TMPDIR is not set:
4110 # /tmp where it might want to write temporary files
4113 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
4114 ac_tmpdirs
="$TMPDIR"
4116 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
4118 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
4119 test -d $ac_dir || continue
4120 test -w $ac_dir || continue # It is less confusing to not echo anything here.
4121 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
4122 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
4123 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
4124 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
4125 ac_cv_sys_long_file_names
=no
4126 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4129 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4133 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
4134 if test $ac_cv_sys_long_file_names = yes; then
4135 cat >> confdefs.h
<<\EOF
4136 #define HAVE_LONG_FILE_NAMES 1
4144 for ac_prog
in 'bison -y' byacc
4146 # Extract the first word of "$ac_prog", so it can be a program name with args.
4147 set dummy
$ac_prog; ac_word
=$2
4148 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4149 echo "configure:4150: checking for $ac_word" >&5
4150 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
4151 echo $ac_n "(cached) $ac_c" 1>&6
4153 if test -n "$YACC"; then
4154 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4156 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4157 for ac_dir
in $PATH; do
4158 test -z "$ac_dir" && ac_dir
=.
4159 if test -f $ac_dir/$ac_word; then
4160 ac_cv_prog_YACC
="$ac_prog"
4167 YACC
="$ac_cv_prog_YACC"
4168 if test -n "$YACC"; then
4169 echo "$ac_t""$YACC" 1>&6
4171 echo "$ac_t""no" 1>&6
4174 test -n "$YACC" && break
4176 test -n "$YACC" || YACC
="yacc"
4179 # Extract the first word of "flex", so it can be a program name with args.
4180 set dummy flex
; ac_word
=$2
4181 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4182 echo "configure:4183: checking for $ac_word" >&5
4183 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
4184 echo $ac_n "(cached) $ac_c" 1>&6
4186 if test -n "$LEX"; then
4187 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4189 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4190 for ac_dir
in $PATH; do
4191 test -z "$ac_dir" && ac_dir
=.
4192 if test -f $ac_dir/$ac_word; then
4193 ac_cv_prog_LEX
="flex"
4198 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
4201 LEX
="$ac_cv_prog_LEX"
4202 if test -n "$LEX"; then
4203 echo "$ac_t""$LEX" 1>&6
4205 echo "$ac_t""no" 1>&6
4208 if test -z "$LEXLIB"
4214 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
4215 echo "configure:4216: checking for yywrap in -l$ac_lib" >&5
4216 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
4217 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4218 echo $ac_n "(cached) $ac_c" 1>&6
4220 ac_save_LIBS
="$LIBS"
4221 LIBS
="-l$ac_lib $LIBS"
4222 cat > conftest.
$ac_ext <<EOF
4223 #line 4224 "configure"
4224 #include "confdefs.h"
4225 /* Override any gcc2 internal prototype to avoid an error. */
4226 /* We use char because int might match the return type of a gcc2
4227 builtin and then its argument prototype would still apply. */
4234 if { (eval echo configure
:4235: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4236 eval "ac_cv_lib_$ac_lib_var=yes"
4238 echo "configure: failed program was:" >&5
4239 cat conftest.
$ac_ext >&5
4241 eval "ac_cv_lib_$ac_lib_var=no"
4244 LIBS
="$ac_save_LIBS"
4247 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4248 echo "$ac_t""yes" 1>&6
4251 echo "$ac_t""no" 1>&6
4256 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
4257 echo "configure:4258: checking lex output file root" >&5
4258 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
4259 echo $ac_n "(cached) $ac_c" 1>&6
4261 # The minimal lex program is just a single line: %%. But some broken lexes
4262 # (Solaris, I think it was) want two %% lines, so accommodate them.
4265 if test -f lex.yy.c
; then
4266 ac_cv_prog_lex_root
=lex.yy
4267 elif test -f lexyy.c
; then
4268 ac_cv_prog_lex_root
=lexyy
4270 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
4274 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
4275 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4277 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
4278 echo "configure:4279: checking whether yytext is a pointer" >&5
4279 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
4280 echo $ac_n "(cached) $ac_c" 1>&6
4282 # POSIX says lex can declare yytext either as a pointer or an array; the
4283 # default is implementation-dependent. Figure out which it is, since
4284 # not all implementations provide the %pointer and %array declarations.
4285 ac_cv_prog_lex_yytext_pointer
=no
4286 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4287 ac_save_LIBS
="$LIBS"
4288 LIBS
="$LIBS $LEXLIB"
4289 cat > conftest.
$ac_ext <<EOF
4290 #line 4291 "configure"
4291 #include "confdefs.h"
4292 `cat $LEX_OUTPUT_ROOT.c`
4297 if { (eval echo configure
:4298: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4299 ac_cv_prog_lex_yytext_pointer
=yes
4301 echo "configure: failed program was:" >&5
4302 cat conftest.
$ac_ext >&5
4305 LIBS
="$ac_save_LIBS"
4306 rm -f "${LEX_OUTPUT_ROOT}.c"
4310 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
4311 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4312 cat >> confdefs.h
<<\EOF
4313 #define YYTEXT_POINTER 1
4320 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
4321 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
4325 # Make sure we can run config.sub.
4326 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
4327 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4330 echo $ac_n "checking host system type""... $ac_c" 1>&6
4331 echo "configure:4332: checking host system type" >&5
4334 case "$host_alias" in
4338 if host_alias
=`$ac_config_guess`; then :
4339 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4341 *) host_alias
=$nonopt ;;
4345 host=`$ac_config_sub $host_alias`
4346 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4347 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4348 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4349 echo "$ac_t""$host" 1>&6
4352 configuration
=$host_alias
4375 cat >> confdefs.h
<<\EOF
4379 case "${canonical}" in
4382 cat >> confdefs.h
<<\EOF
4389 cat >> confdefs.h
<<\EOF
4394 if test "x$TMP" = "xalpha"
4397 cat >> confdefs.h
<<\EOF
4403 *-*-irix5* | *-*-irix6* )
4406 cat >> confdefs.h
<<\EOF
4410 cat >> confdefs.h
<<\EOF
4419 cat >> confdefs.h
<<\EOF
4423 cat >> confdefs.h
<<\EOF
4424 #define __SOLARIS__ 1
4427 cat >> confdefs.h
<<\EOF
4436 cat >> confdefs.h
<<\EOF
4440 cat >> confdefs.h
<<\EOF
4444 cat >> confdefs.h
<<\EOF
4449 *-*-freebsd* | *-*-netbsd*)
4452 cat >> confdefs.h
<<\EOF
4453 #define __FREEBSD__ 1
4456 cat >> confdefs.h
<<\EOF
4464 cat >> confdefs.h
<<\EOF
4468 cat >> confdefs.h
<<\EOF
4476 cat >> confdefs.h
<<\EOF
4480 cat >> confdefs.h
<<\EOF
4488 cat >> confdefs.h
<<\EOF
4492 cat >> confdefs.h
<<\EOF
4501 cat >> confdefs.h
<<\EOF
4505 cat >> confdefs.h
<<\EOF
4509 cat >> confdefs.h
<<\EOF
4515 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
4520 rm -f ${OSTYPE}.system.cache.tmp
4521 touch ${OSTYPE}.system.cache.tmp
4522 touch ${OSTYPE}.system.cache
4527 DEFAULT_wxUSE_MOTIF
=0
4529 DEFAULT_wxUSE_THREADS
=1
4531 DEFAULT_wxUSE_SHARED
=1
4532 DEFAULT_wxUSE_OPTIMISE
=1
4533 DEFAULT_wxUSE_PROFILE
=0
4534 DEFAULT_wxUSE_DEBUG_FLAG
=0
4535 DEFAULT_wxUSE_DEBUG_INFO
=0
4536 DEFAULT_wxUSE_MEM_TRACING
=0
4537 DEFAULT_wxUSE_DMALLOC
=0
4538 DEFAULT_wxUSE_APPLE_IEEE
=1
4539 DEFAULT_wxUSE_IOSTREAMH
=1
4541 DEFAULT_wxUSE_ZLIB
=1
4542 DEFAULT_wxUSE_LIBPNG
=1
4543 DEFAULT_wxUSE_ODBC
=0
4545 DEFAULT_wxUSE_COMBOBOX
=1
4546 DEFAULT_wxUSE_GAUGE
=1
4547 DEFAULT_wxUSE_SCROLLBAR
=1
4548 DEFAULT_wxUSE_LISTCTRL
=1
4549 DEFAULT_wxUSE_TREECTRL
=1
4550 DEFAULT_wxUSE_GRID
=1
4551 DEFAULT_wxUSE_TAB_DIALOG
=1
4552 DEFAULT_wxUSE_NOTEBOOK
=1
4554 DEFAULT_wxUSE_TIMEDATE
=1
4555 DEFAULT_wxUSE_FRACTION
=1
4557 DEFAULT_wxUSE_INTL
=1
4558 DEFAULT_wxUSE_CONFIG
=1
4559 DEFAULT_wxUSE_STREAMS
=1
4560 DEFAULT_wxUSE_SERIAL
=1
4561 DEFAULT_wxUSE_FILE
=1
4562 DEFAULT_wxUSE_TEXTFILE
=1
4564 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
=1
4565 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
4566 DEFAULT_wxUSE_POSTSCRIPT
=1
4569 DEFAULT_wxUSE_RESOURCES
=1
4570 DEFAULT_wxUSE_CONSTRAINTS
=1
4571 DEFAULT_wxUSE_CLIPBOARD
=0
4574 DEFAULT_wxUSE_MDI_ARCHITECTURE
=1
4575 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
=1
4576 DEFAULT_wxUSE_PRINTING_ARCHITECTURE
=1
4578 DEFAULT_wxUSE_PROLOGIO
=1
4579 DEFAULT_wxUSE_WX_RESOURCES
=1
4582 DEFAULT_wxUSE_OPENGL
=0
4583 DEFAULT_wxUSE_METAFILE
=0
4584 DEFAULT_wxUSE_WXGRAPH
=0
4585 DEFAULT_wxUSE_WXTREE
=0
4586 DEFAULT_wxUSE_HELP
=1
4588 DEFAULT_wxUSE_UNICODE
=1
4589 DEFAULT_wxUSE_WCSRTOMBS
=0
4593 echo $ac_n "checking "for gtk
"""... $ac_c" 1>&6
4594 echo "configure:4595: checking "for gtk
"" >&5
4595 # Check whether --with-gtk or --without-gtk was given.
4596 if test "${with_gtk+set}" = set; then
4598 if test "x$with_gtk" = xyes
; then
4599 ac_cv_use_gtk
='wxUSE_GTK="1"'
4601 ac_cv_use_gtk
='wxUSE_GTK="0"'
4605 LINE
=`grep "wxUSE_GTK" ${OSTYPE}.system.cache`
4606 if test "x$LINE" != x
; then
4607 eval "DEFAULT_$LINE"
4609 ac_cv_use_gtk
='wxUSE_GTK='$DEFAULT_wxUSE_GTK
4613 eval "$ac_cv_use_gtk"
4614 echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp
4615 if test "$wxUSE_GTK" = 1; then
4616 echo "$ac_t""yes" 1>&6
4618 echo "$ac_t""no" 1>&6
4623 echo $ac_n "checking "for qt
"""... $ac_c" 1>&6
4624 echo "configure:4625: checking "for qt
"" >&5
4625 # Check whether --with-qt or --without-qt was given.
4626 if test "${with_qt+set}" = set; then
4628 if test "x$with_qt" = xyes
; then
4629 ac_cv_use_qt
='wxUSE_QT="1"'
4631 ac_cv_use_qt
='wxUSE_QT="0"'
4635 LINE
=`grep "wxUSE_QT" ${OSTYPE}.system.cache`
4636 if test "x$LINE" != x
; then
4637 eval "DEFAULT_$LINE"
4639 ac_cv_use_qt
='wxUSE_QT='$DEFAULT_wxUSE_QT
4643 eval "$ac_cv_use_qt"
4644 echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp
4645 if test "$wxUSE_QT" = 1; then
4646 echo "$ac_t""yes" 1>&6
4648 echo "$ac_t""no" 1>&6
4653 echo $ac_n "checking "for motif
"""... $ac_c" 1>&6
4654 echo "configure:4655: checking "for motif
"" >&5
4655 # Check whether --with-motif or --without-motif was given.
4656 if test "${with_motif+set}" = set; then
4657 withval
="$with_motif"
4658 if test "x$with_motif" = xyes
; then
4659 ac_cv_use_motif
='wxUSE_MOTIF="1"'
4661 ac_cv_use_motif
='wxUSE_MOTIF="0"'
4665 LINE
=`grep "wxUSE_MOTIF" ${OSTYPE}.system.cache`
4666 if test "x$LINE" != x
; then
4667 eval "DEFAULT_$LINE"
4669 ac_cv_use_motif
='wxUSE_MOTIF='$DEFAULT_wxUSE_MOTIF
4673 eval "$ac_cv_use_motif"
4674 echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp
4675 if test "$wxUSE_MOTIF" = 1; then
4676 echo "$ac_t""yes" 1>&6
4678 echo "$ac_t""no" 1>&6
4684 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
4685 echo "configure:4686: checking "for shared
"" >&5
4686 # Check whether --with-shared or --without-shared was given.
4687 if test "${with_shared+set}" = set; then
4688 withval
="$with_shared"
4689 if test "x$with_shared" = xyes
; then
4690 ac_cv_use_shared
='wxUSE_SHARED="1"'
4692 ac_cv_use_shared
='wxUSE_SHARED="0"'
4696 LINE
=`grep "wxUSE_SHARED" ${OSTYPE}.system.cache`
4697 if test "x$LINE" != x
; then
4698 eval "DEFAULT_$LINE"
4700 ac_cv_use_shared
='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4704 eval "$ac_cv_use_shared"
4705 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
4706 if test "$wxUSE_SHARED" = 1; then
4707 echo "$ac_t""yes" 1>&6
4709 echo "$ac_t""no" 1>&6
4714 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
4715 echo "configure:4716: checking "for optimise
"" >&5
4716 # Check whether --with-optimise or --without-optimise was given.
4717 if test "${with_optimise+set}" = set; then
4718 withval
="$with_optimise"
4719 if test "x$with_optimise" = xyes
; then
4720 ac_cv_use_optimise
='wxUSE_OPTIMISE="1"'
4722 ac_cv_use_optimise
='wxUSE_OPTIMISE="0"'
4726 LINE
=`grep "wxUSE_OPTIMISE" ${OSTYPE}.system.cache`
4727 if test "x$LINE" != x
; then
4728 eval "DEFAULT_$LINE"
4730 ac_cv_use_optimise
='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4734 eval "$ac_cv_use_optimise"
4735 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
4736 if test "$wxUSE_OPTIMISE" = 1; then
4737 echo "$ac_t""yes" 1>&6
4739 echo "$ac_t""no" 1>&6
4744 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
4745 echo "configure:4746: checking "for debug_flag
"" >&5
4746 # Check whether --with-debug_flag or --without-debug_flag was given.
4747 if test "${with_debug_flag+set}" = set; then
4748 withval
="$with_debug_flag"
4749 if test "x$with_debug_flag" = xyes
; then
4750 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="1"'
4752 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG="0"'
4756 LINE
=`grep "wxUSE_DEBUG_FLAG" ${OSTYPE}.system.cache`
4757 if test "x$LINE" != x
; then
4758 eval "DEFAULT_$LINE"
4760 ac_cv_use_debug_flag
='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4764 eval "$ac_cv_use_debug_flag"
4765 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
4766 if test "$wxUSE_DEBUG_FLAG" = 1; then
4767 echo "$ac_t""yes" 1>&6
4769 echo "$ac_t""no" 1>&6
4774 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
4775 echo "configure:4776: checking "for debug_info
"" >&5
4776 # Check whether --with-debug_info or --without-debug_info was given.
4777 if test "${with_debug_info+set}" = set; then
4778 withval
="$with_debug_info"
4779 if test "x$with_debug_info" = xyes
; then
4780 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="1"'
4782 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO="0"'
4786 LINE
=`grep "wxUSE_DEBUG_INFO" ${OSTYPE}.system.cache`
4787 if test "x$LINE" != x
; then
4788 eval "DEFAULT_$LINE"
4790 ac_cv_use_debug_info
='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4794 eval "$ac_cv_use_debug_info"
4795 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
4796 if test "$wxUSE_DEBUG_INFO" = 1; then
4797 echo "$ac_t""yes" 1>&6
4799 echo "$ac_t""no" 1>&6
4804 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
4805 echo "configure:4806: checking "for mem_tracing
"" >&5
4806 # Check whether --with-mem_tracing or --without-mem_tracing was given.
4807 if test "${with_mem_tracing+set}" = set; then
4808 withval
="$with_mem_tracing"
4809 if test "x$with_mem_tracing" = xyes
; then
4810 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="1"'
4812 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING="0"'
4816 LINE
=`grep "wxUSE_MEM_TRACING" ${OSTYPE}.system.cache`
4817 if test "x$LINE" != x
; then
4818 eval "DEFAULT_$LINE"
4820 ac_cv_use_mem_tracing
='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4824 eval "$ac_cv_use_mem_tracing"
4825 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
4826 if test "$wxUSE_MEM_TRACING" = 1; then
4827 echo "$ac_t""yes" 1>&6
4829 echo "$ac_t""no" 1>&6
4834 echo $ac_n "checking "for dmalloc
"""... $ac_c" 1>&6
4835 echo "configure:4836: checking "for dmalloc
"" >&5
4836 # Check whether --with-dmalloc or --without-dmalloc was given.
4837 if test "${with_dmalloc+set}" = set; then
4838 withval
="$with_dmalloc"
4839 if test "x$with_dmalloc" = xyes
; then
4840 ac_cv_use_dmalloc
='wxUSE_DMALLOC="1"'
4842 ac_cv_use_dmalloc
='wxUSE_DMALLOC="0"'
4846 LINE
=`grep "wxUSE_DMALLOC" ${OSTYPE}.system.cache`
4847 if test "x$LINE" != x
; then
4848 eval "DEFAULT_$LINE"
4850 ac_cv_use_dmalloc
='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4854 eval "$ac_cv_use_dmalloc"
4855 echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp
4856 if test "$wxUSE_DMALLOC" = 1; then
4857 echo "$ac_t""yes" 1>&6
4859 echo "$ac_t""no" 1>&6
4864 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
4865 echo "configure:4866: checking "for profile
"" >&5
4866 # Check whether --with-profile or --without-profile was given.
4867 if test "${with_profile+set}" = set; then
4868 withval
="$with_profile"
4869 if test "x$with_profile" = xyes
; then
4870 ac_cv_use_profile
='wxUSE_PROFILE="1"'
4872 ac_cv_use_profile
='wxUSE_PROFILE="0"'
4876 LINE
=`grep "wxUSE_PROFILE" ${OSTYPE}.system.cache`
4877 if test "x$LINE" != x
; then
4878 eval "DEFAULT_$LINE"
4880 ac_cv_use_profile
='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4884 eval "$ac_cv_use_profile"
4885 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
4886 if test "$wxUSE_PROFILE" = 1; then
4887 echo "$ac_t""yes" 1>&6
4889 echo "$ac_t""no" 1>&6
4894 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6
4895 echo "configure:4896: checking "for apple_ieee
"" >&5
4896 # Check whether --with-apple_ieee or --without-apple_ieee was given.
4897 if test "${with_apple_ieee+set}" = set; then
4898 withval
="$with_apple_ieee"
4899 if test "x$with_apple_ieee" = xyes
; then
4900 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="1"'
4902 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE="0"'
4906 LINE
=`grep "wxUSE_APPLE_IEEE" ${OSTYPE}.system.cache`
4907 if test "x$LINE" != x
; then
4908 eval "DEFAULT_$LINE"
4910 ac_cv_use_apple_ieee
='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
4914 eval "$ac_cv_use_apple_ieee"
4915 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
4916 if test "$wxUSE_APPLE_IEEE" = 1; then
4917 echo "$ac_t""yes" 1>&6
4919 echo "$ac_t""no" 1>&6
4925 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
4926 echo "configure:4927: checking "for zlib
"" >&5
4927 # Check whether --with-zlib or --without-zlib was given.
4928 if test "${with_zlib+set}" = set; then
4929 withval
="$with_zlib"
4930 if test "x$with_zlib" = xyes
; then
4931 ac_cv_use_zlib
='wxUSE_ZLIB="1"'
4933 ac_cv_use_zlib
='wxUSE_ZLIB="0"'
4937 LINE
=`grep "wxUSE_ZLIB" ${OSTYPE}.system.cache`
4938 if test "x$LINE" != x
; then
4939 eval "DEFAULT_$LINE"
4941 ac_cv_use_zlib
='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4945 eval "$ac_cv_use_zlib"
4946 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
4947 if test "$wxUSE_ZLIB" = 1; then
4948 echo "$ac_t""yes" 1>&6
4950 echo "$ac_t""no" 1>&6
4955 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
4956 echo "configure:4957: checking "for libpng
"" >&5
4957 # Check whether --with-libpng or --without-libpng was given.
4958 if test "${with_libpng+set}" = set; then
4959 withval
="$with_libpng"
4960 if test "x$with_libpng" = xyes
; then
4961 ac_cv_use_libpng
='wxUSE_LIBPNG="1"'
4963 ac_cv_use_libpng
='wxUSE_LIBPNG="0"'
4967 LINE
=`grep "wxUSE_LIBPNG" ${OSTYPE}.system.cache`
4968 if test "x$LINE" != x
; then
4969 eval "DEFAULT_$LINE"
4971 ac_cv_use_libpng
='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
4975 eval "$ac_cv_use_libpng"
4976 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
4977 if test "$wxUSE_LIBPNG" = 1; then
4978 echo "$ac_t""yes" 1>&6
4980 echo "$ac_t""no" 1>&6
4985 echo $ac_n "checking "for odbc
"""... $ac_c" 1>&6
4986 echo "configure:4987: checking "for odbc
"" >&5
4987 # Check whether --with-odbc or --without-odbc was given.
4988 if test "${with_odbc+set}" = set; then
4989 withval
="$with_odbc"
4990 if test "x$with_odbc" = xyes
; then
4991 ac_cv_use_odbc
='wxUSE_ODBC="1"'
4993 ac_cv_use_odbc
='wxUSE_ODBC="0"'
4997 LINE
=`grep "wxUSE_ODBC" ${OSTYPE}.system.cache`
4998 if test "x$LINE" != x
; then
4999 eval "DEFAULT_$LINE"
5001 ac_cv_use_odbc
='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
5005 eval "$ac_cv_use_odbc"
5006 echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
5007 if test "$wxUSE_ODBC" = 1; then
5008 echo "$ac_t""yes" 1>&6
5010 echo "$ac_t""no" 1>&6
5015 echo $ac_n "checking "for opengl
"""... $ac_c" 1>&6
5016 echo "configure:5017: checking "for opengl
"" >&5
5017 # Check whether --with-opengl or --without-opengl was given.
5018 if test "${with_opengl+set}" = set; then
5019 withval
="$with_opengl"
5020 if test "x$with_opengl" = xyes
; then
5021 ac_cv_use_opengl
='wxUSE_OPENGL="1"'
5023 ac_cv_use_opengl
='wxUSE_OPENGL="0"'
5027 LINE
=`grep "wxUSE_OPENGL" ${OSTYPE}.system.cache`
5028 if test "x$LINE" != x
; then
5029 eval "DEFAULT_$LINE"
5031 ac_cv_use_opengl
='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
5035 eval "$ac_cv_use_opengl"
5036 echo $ac_cv_use_opengl >> ${OSTYPE}.system.cache.tmp
5037 if test "$wxUSE_OPENGL" = 1; then
5038 echo "$ac_t""yes" 1>&6
5040 echo "$ac_t""no" 1>&6
5046 echo $ac_n "checking "for gauge
"""... $ac_c" 1>&6
5047 echo "configure:5048: checking "for gauge
"" >&5
5048 # Check whether --with-gauge or --without-gauge was given.
5049 if test "${with_gauge+set}" = set; then
5050 withval
="$with_gauge"
5051 if test "x$with_gauge" = xyes
; then
5052 ac_cv_use_gauge
='wxUSE_GAUGE="1"'
5054 ac_cv_use_gauge
='wxUSE_GAUGE="0"'
5058 LINE
=`grep "wxUSE_GAUGE" ${OSTYPE}.system.cache`
5059 if test "x$LINE" != x
; then
5060 eval "DEFAULT_$LINE"
5062 ac_cv_use_gauge
='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
5066 eval "$ac_cv_use_gauge"
5067 echo $ac_cv_use_gauge >> ${OSTYPE}.system.cache.tmp
5068 if test "$wxUSE_GAUGE" = 1; then
5069 echo "$ac_t""yes" 1>&6
5071 echo "$ac_t""no" 1>&6
5076 echo $ac_n "checking "for combobox
"""... $ac_c" 1>&6
5077 echo "configure:5078: checking "for combobox
"" >&5
5078 # Check whether --with-combobox or --without-combobox was given.
5079 if test "${with_combobox+set}" = set; then
5080 withval
="$with_combobox"
5081 if test "x$with_combobox" = xyes
; then
5082 ac_cv_use_combobox
='wxUSE_COMBOBOX="1"'
5084 ac_cv_use_combobox
='wxUSE_COMBOBOX="0"'
5088 LINE
=`grep "wxUSE_COMBOBOX" ${OSTYPE}.system.cache`
5089 if test "x$LINE" != x
; then
5090 eval "DEFAULT_$LINE"
5092 ac_cv_use_combobox
='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
5096 eval "$ac_cv_use_combobox"
5097 echo $ac_cv_use_combobox >> ${OSTYPE}.system.cache.tmp
5098 if test "$wxUSE_COMBOBOX" = 1; then
5099 echo "$ac_t""yes" 1>&6
5101 echo "$ac_t""no" 1>&6
5106 echo $ac_n "checking "for scrollbar
"""... $ac_c" 1>&6
5107 echo "configure:5108: checking "for scrollbar
"" >&5
5108 # Check whether --with-scrollbar or --without-scrollbar was given.
5109 if test "${with_scrollbar+set}" = set; then
5110 withval
="$with_scrollbar"
5111 if test "x$with_scrollbar" = xyes
; then
5112 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="1"'
5114 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR="0"'
5118 LINE
=`grep "wxUSE_SCROLLBAR" ${OSTYPE}.system.cache`
5119 if test "x$LINE" != x
; then
5120 eval "DEFAULT_$LINE"
5122 ac_cv_use_scrollbar
='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
5126 eval "$ac_cv_use_scrollbar"
5127 echo $ac_cv_use_scrollbar >> ${OSTYPE}.system.cache.tmp
5128 if test "$wxUSE_SCROLLBAR" = 1; then
5129 echo "$ac_t""yes" 1>&6
5131 echo "$ac_t""no" 1>&6
5136 echo $ac_n "checking "for listctrl
"""... $ac_c" 1>&6
5137 echo "configure:5138: checking "for listctrl
"" >&5
5138 # Check whether --with-listctrl or --without-listctrl was given.
5139 if test "${with_listctrl+set}" = set; then
5140 withval
="$with_listctrl"
5141 if test "x$with_listctrl" = xyes
; then
5142 ac_cv_use_listctrl
='wxUSE_LISTCTRL="1"'
5144 ac_cv_use_listctrl
='wxUSE_LISTCTRL="0"'
5148 LINE
=`grep "wxUSE_LISTCTRL" ${OSTYPE}.system.cache`
5149 if test "x$LINE" != x
; then
5150 eval "DEFAULT_$LINE"
5152 ac_cv_use_listctrl
='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
5156 eval "$ac_cv_use_listctrl"
5157 echo $ac_cv_use_listctrl >> ${OSTYPE}.system.cache.tmp
5158 if test "$wxUSE_LISTCTRL" = 1; then
5159 echo "$ac_t""yes" 1>&6
5161 echo "$ac_t""no" 1>&6
5166 echo $ac_n "checking "for treectrl
"""... $ac_c" 1>&6
5167 echo "configure:5168: checking "for treectrl
"" >&5
5168 # Check whether --with-treectrl or --without-treectrl was given.
5169 if test "${with_treectrl+set}" = set; then
5170 withval
="$with_treectrl"
5171 if test "x$with_treectrl" = xyes
; then
5172 ac_cv_use_treectrl
='wxUSE_TREECTRL="1"'
5174 ac_cv_use_treectrl
='wxUSE_TREECTRL="0"'
5178 LINE
=`grep "wxUSE_TREECTRL" ${OSTYPE}.system.cache`
5179 if test "x$LINE" != x
; then
5180 eval "DEFAULT_$LINE"
5182 ac_cv_use_treectrl
='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
5186 eval "$ac_cv_use_treectrl"
5187 echo $ac_cv_use_treectrl >> ${OSTYPE}.system.cache.tmp
5188 if test "$wxUSE_TREECTRL" = 1; then
5189 echo "$ac_t""yes" 1>&6
5191 echo "$ac_t""no" 1>&6
5196 echo $ac_n "checking "for grid
"""... $ac_c" 1>&6
5197 echo "configure:5198: checking "for grid
"" >&5
5198 # Check whether --with-grid or --without-grid was given.
5199 if test "${with_grid+set}" = set; then
5200 withval
="$with_grid"
5201 if test "x$with_grid" = xyes
; then
5202 ac_cv_use_grid
='wxUSE_GRID="1"'
5204 ac_cv_use_grid
='wxUSE_GRID="0"'
5208 LINE
=`grep "wxUSE_GRID" ${OSTYPE}.system.cache`
5209 if test "x$LINE" != x
; then
5210 eval "DEFAULT_$LINE"
5212 ac_cv_use_grid
='wxUSE_GRID='$DEFAULT_wxUSE_GRID
5216 eval "$ac_cv_use_grid"
5217 echo $ac_cv_use_grid >> ${OSTYPE}.system.cache.tmp
5218 if test "$wxUSE_GRID" = 1; then
5219 echo "$ac_t""yes" 1>&6
5221 echo "$ac_t""no" 1>&6
5226 echo $ac_n "checking "for tab_dialog
"""... $ac_c" 1>&6
5227 echo "configure:5228: checking "for tab_dialog
"" >&5
5228 # Check whether --with-tab_dialog or --without-tab_dialog was given.
5229 if test "${with_tab_dialog+set}" = set; then
5230 withval
="$with_tab_dialog"
5231 if test "x$with_tab_dialog" = xyes
; then
5232 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="1"'
5234 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG="0"'
5238 LINE
=`grep "wxUSE_TAB_DIALOG" ${OSTYPE}.system.cache`
5239 if test "x$LINE" != x
; then
5240 eval "DEFAULT_$LINE"
5242 ac_cv_use_tab_dialog
='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
5246 eval "$ac_cv_use_tab_dialog"
5247 echo $ac_cv_use_tab_dialog >> ${OSTYPE}.system.cache.tmp
5248 if test "$wxUSE_TAB_DIALOG" = 1; then
5249 echo "$ac_t""yes" 1>&6
5251 echo "$ac_t""no" 1>&6
5256 echo $ac_n "checking "for notebook
"""... $ac_c" 1>&6
5257 echo "configure:5258: checking "for notebook
"" >&5
5258 # Check whether --with-notebook or --without-notebook was given.
5259 if test "${with_notebook+set}" = set; then
5260 withval
="$with_notebook"
5261 if test "x$with_notebook" = xyes
; then
5262 ac_cv_use_notebook
='wxUSE_NOTEBOOK="1"'
5264 ac_cv_use_notebook
='wxUSE_NOTEBOOK="0"'
5268 LINE
=`grep "wxUSE_NOTEBOOK" ${OSTYPE}.system.cache`
5269 if test "x$LINE" != x
; then
5270 eval "DEFAULT_$LINE"
5272 ac_cv_use_notebook
='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
5276 eval "$ac_cv_use_notebook"
5277 echo $ac_cv_use_notebook >> ${OSTYPE}.system.cache.tmp
5278 if test "$wxUSE_NOTEBOOK" = 1; then
5279 echo "$ac_t""yes" 1>&6
5281 echo "$ac_t""no" 1>&6
5287 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
5288 echo "configure:5289: checking "for timedate
"" >&5
5289 # Check whether --with-timedate or --without-timedate was given.
5290 if test "${with_timedate+set}" = set; then
5291 withval
="$with_timedate"
5292 if test "x$with_timedate" = xyes
; then
5293 ac_cv_use_timedate
='wxUSE_TIMEDATE="1"'
5295 ac_cv_use_timedate
='wxUSE_TIMEDATE="0"'
5299 LINE
=`grep "wxUSE_TIMEDATE" ${OSTYPE}.system.cache`
5300 if test "x$LINE" != x
; then
5301 eval "DEFAULT_$LINE"
5303 ac_cv_use_timedate
='wxUSE_TIMEDATE='$DEFAULT_wxUSE_TIMEDATE
5307 eval "$ac_cv_use_timedate"
5308 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
5309 if test "$wxUSE_TIMEDATE" = 1; then
5310 echo "$ac_t""yes" 1>&6
5312 echo "$ac_t""no" 1>&6
5317 echo $ac_n "checking "for fraction
"""... $ac_c" 1>&6
5318 echo "configure:5319: checking "for fraction
"" >&5
5319 # Check whether --with-fraction or --without-fraction was given.
5320 if test "${with_fraction+set}" = set; then
5321 withval
="$with_fraction"
5322 if test "x$with_fraction" = xyes
; then
5323 ac_cv_use_fraction
='wxUSE_FRACTION="1"'
5325 ac_cv_use_fraction
='wxUSE_FRACTION="0"'
5329 LINE
=`grep "wxUSE_FRACTION" ${OSTYPE}.system.cache`
5330 if test "x$LINE" != x
; then
5331 eval "DEFAULT_$LINE"
5333 ac_cv_use_fraction
='wxUSE_FRACTION='$DEFAULT_wxUSE_FRACTION
5337 eval "$ac_cv_use_fraction"
5338 echo $ac_cv_use_fraction >> ${OSTYPE}.system.cache.tmp
5339 if test "$wxUSE_FRACTION" = 1; then
5340 echo "$ac_t""yes" 1>&6
5342 echo "$ac_t""no" 1>&6
5347 echo $ac_n "checking "for log
"""... $ac_c" 1>&6
5348 echo "configure:5349: checking "for log
"" >&5
5349 # Check whether --with-log or --without-log was given.
5350 if test "${with_log+set}" = set; then
5352 if test "x$with_log" = xyes
; then
5353 ac_cv_use_log
='wxUSE_LOG="1"'
5355 ac_cv_use_log
='wxUSE_LOG="0"'
5359 LINE
=`grep "wxUSE_LOG" ${OSTYPE}.system.cache`
5360 if test "x$LINE" != x
; then
5361 eval "DEFAULT_$LINE"
5363 ac_cv_use_log
='wxUSE_LOG='$DEFAULT_wxUSE_LOG
5367 eval "$ac_cv_use_log"
5368 echo $ac_cv_use_log >> ${OSTYPE}.system.cache.tmp
5369 if test "$wxUSE_LOG" = 1; then
5370 echo "$ac_t""yes" 1>&6
5372 echo "$ac_t""no" 1>&6
5377 echo $ac_n "checking "for intl
"""... $ac_c" 1>&6
5378 echo "configure:5379: checking "for intl
"" >&5
5379 # Check whether --with-intl or --without-intl was given.
5380 if test "${with_intl+set}" = set; then
5381 withval
="$with_intl"
5382 if test "x$with_intl" = xyes
; then
5383 ac_cv_use_intl
='wxUSE_INTL="1"'
5385 ac_cv_use_intl
='wxUSE_INTL="0"'
5389 LINE
=`grep "wxUSE_INTL" ${OSTYPE}.system.cache`
5390 if test "x$LINE" != x
; then
5391 eval "DEFAULT_$LINE"
5393 ac_cv_use_intl
='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5397 eval "$ac_cv_use_intl"
5398 echo $ac_cv_use_intl >> ${OSTYPE}.system.cache.tmp
5399 if test "$wxUSE_INTL" = 1; then
5400 echo "$ac_t""yes" 1>&6
5402 echo "$ac_t""no" 1>&6
5407 echo $ac_n "checking "for config
"""... $ac_c" 1>&6
5408 echo "configure:5409: checking "for config
"" >&5
5409 # Check whether --with-config or --without-config was given.
5410 if test "${with_config+set}" = set; then
5411 withval
="$with_config"
5412 if test "x$with_config" = xyes
; then
5413 ac_cv_use_config
='wxUSE_CONFIG="1"'
5415 ac_cv_use_config
='wxUSE_CONFIG="0"'
5419 LINE
=`grep "wxUSE_CONFIG" ${OSTYPE}.system.cache`
5420 if test "x$LINE" != x
; then
5421 eval "DEFAULT_$LINE"
5423 ac_cv_use_config
='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5427 eval "$ac_cv_use_config"
5428 echo $ac_cv_use_config >> ${OSTYPE}.system.cache.tmp
5429 if test "$wxUSE_CONFIG" = 1; then
5430 echo "$ac_t""yes" 1>&6
5432 echo "$ac_t""no" 1>&6
5437 echo $ac_n "checking "for streams
"""... $ac_c" 1>&6
5438 echo "configure:5439: checking "for streams
"" >&5
5439 # Check whether --with-streams or --without-streams was given.
5440 if test "${with_streams+set}" = set; then
5441 withval
="$with_streams"
5442 if test "x$with_streams" = xyes
; then
5443 ac_cv_use_streams
='wxUSE_STREAMS="1"'
5445 ac_cv_use_streams
='wxUSE_STREAMS="0"'
5449 LINE
=`grep "wxUSE_STREAMS" ${OSTYPE}.system.cache`
5450 if test "x$LINE" != x
; then
5451 eval "DEFAULT_$LINE"
5453 ac_cv_use_streams
='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
5457 eval "$ac_cv_use_streams"
5458 echo $ac_cv_use_streams >> ${OSTYPE}.system.cache.tmp
5459 if test "$wxUSE_STREAMS" = 1; then
5460 echo "$ac_t""yes" 1>&6
5462 echo "$ac_t""no" 1>&6
5467 echo $ac_n "checking "for serial
"""... $ac_c" 1>&6
5468 echo "configure:5469: checking "for serial
"" >&5
5469 # Check whether --with-serial or --without-serial was given.
5470 if test "${with_serial+set}" = set; then
5471 withval
="$with_serial"
5472 if test "x$with_serial" = xyes
; then
5473 ac_cv_use_serial
='wxUSE_SERIAL="1"'
5475 ac_cv_use_serial
='wxUSE_SERIAL="0"'
5479 LINE
=`grep "wxUSE_SERIAL" ${OSTYPE}.system.cache`
5480 if test "x$LINE" != x
; then
5481 eval "DEFAULT_$LINE"
5483 ac_cv_use_serial
='wxUSE_SERIAL='$DEFAULT_wxUSE_SERIAL
5487 eval "$ac_cv_use_serial"
5488 echo $ac_cv_use_serial >> ${OSTYPE}.system.cache.tmp
5489 if test "$wxUSE_SERIAL" = 1; then
5490 echo "$ac_t""yes" 1>&6
5492 echo "$ac_t""no" 1>&6
5497 echo $ac_n "checking "for file"""... $ac_c" 1>&6
5498 echo "configure:5499: checking "for file"" >&5
5499 # Check whether --with-file or --without-file was given.
5500 if test "${with_file+set}" = set; then
5501 withval
="$with_file"
5502 if test "x$with_file" = xyes
; then
5503 ac_cv_use_file
='wxUSE_FILE="1"'
5505 ac_cv_use_file
='wxUSE_FILE="0"'
5509 LINE
=`grep "wxUSE_FILE" ${OSTYPE}.system.cache`
5510 if test "x$LINE" != x
; then
5511 eval "DEFAULT_$LINE"
5513 ac_cv_use_file
='wxUSE_FILE='$DEFAULT_wxUSE_FILE
5517 eval "$ac_cv_use_file"
5518 echo $ac_cv_use_file >> ${OSTYPE}.system.cache.tmp
5519 if test "$wxUSE_FILE" = 1; then
5520 echo "$ac_t""yes" 1>&6
5522 echo "$ac_t""no" 1>&6
5527 echo $ac_n "checking "for textfile
"""... $ac_c" 1>&6
5528 echo "configure:5529: checking "for textfile
"" >&5
5529 # Check whether --with-textfile or --without-textfile was given.
5530 if test "${with_textfile+set}" = set; then
5531 withval
="$with_textfile"
5532 if test "x$with_textfile" = xyes
; then
5533 ac_cv_use_textfile
='wxUSE_TEXTFILE="1"'
5535 ac_cv_use_textfile
='wxUSE_TEXTFILE="0"'
5539 LINE
=`grep "wxUSE_TEXTFILE" ${OSTYPE}.system.cache`
5540 if test "x$LINE" != x
; then
5541 eval "DEFAULT_$LINE"
5543 ac_cv_use_textfile
='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
5547 eval "$ac_cv_use_textfile"
5548 echo $ac_cv_use_textfile >> ${OSTYPE}.system.cache.tmp
5549 if test "$wxUSE_TEXTFILE" = 1; then
5550 echo "$ac_t""yes" 1>&6
5552 echo "$ac_t""no" 1>&6
5558 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
5559 echo "configure:5560: checking "for afmfonts
"" >&5
5560 # Check whether --with-afmfonts or --without-afmfonts was given.
5561 if test "${with_afmfonts+set}" = set; then
5562 withval
="$with_afmfonts"
5563 if test "x$with_afmfonts" = xyes
; then
5564 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="1"'
5566 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT="0"'
5570 LINE
=`grep "wxUSE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
5571 if test "x$LINE" != x
; then
5572 eval "DEFAULT_$LINE"
5574 ac_cv_use_afmfonts
='wxUSE_AFM_FOR_POSTSCRIPT='$DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT
5578 eval "$ac_cv_use_afmfonts"
5579 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
5580 if test "$wxUSE_AFM_FOR_POSTSCRIPT" = 1; then
5581 echo "$ac_t""yes" 1>&6
5583 echo "$ac_t""no" 1>&6
5588 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
5589 echo "configure:5590: checking "for normalized
"" >&5
5590 # Check whether --with-normalized or --without-normalized was given.
5591 if test "${with_normalized+set}" = set; then
5592 withval
="$with_normalized"
5593 if test "x$with_normalized" = xyes
; then
5594 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
5596 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
5600 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
5601 if test "x$LINE" != x
; then
5602 eval "DEFAULT_$LINE"
5604 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
5608 eval "$ac_cv_use_normalized"
5609 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
5610 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
5611 echo "$ac_t""yes" 1>&6
5613 echo "$ac_t""no" 1>&6
5618 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
5619 echo "configure:5620: checking "for postscript
"" >&5
5620 # Check whether --with-postscript or --without-postscript was given.
5621 if test "${with_postscript+set}" = set; then
5622 withval
="$with_postscript"
5623 if test "x$with_postscript" = xyes
; then
5624 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="1"'
5626 ac_cv_use_postscript
='wxUSE_POSTSCRIPT="0"'
5630 LINE
=`grep "wxUSE_POSTSCRIPT" ${OSTYPE}.system.cache`
5631 if test "x$LINE" != x
; then
5632 eval "DEFAULT_$LINE"
5634 ac_cv_use_postscript
='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
5638 eval "$ac_cv_use_postscript"
5639 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
5640 if test "$wxUSE_POSTSCRIPT" = 1; then
5641 echo "$ac_t""yes" 1>&6
5643 echo "$ac_t""no" 1>&6
5649 echo $ac_n "checking "for unicode
"""... $ac_c" 1>&6
5650 echo "configure:5651: checking "for unicode
"" >&5
5651 # Check whether --with-unicode or --without-unicode was given.
5652 if test "${with_unicode+set}" = set; then
5653 withval
="$with_unicode"
5654 if test "x$with_unicode" = xyes
; then
5655 ac_cv_use_unicode
='wxUSE_UNICODE="1"'
5657 ac_cv_use_unicode
='wxUSE_UNICODE="0"'
5661 LINE
=`grep "wxUSE_UNICODE" ${OSTYPE}.system.cache`
5662 if test "x$LINE" != x
; then
5663 eval "DEFAULT_$LINE"
5665 ac_cv_use_unicode
='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
5669 eval "$ac_cv_use_unicode"
5670 echo $ac_cv_use_unicode >> ${OSTYPE}.system.cache.tmp
5671 if test "$wxUSE_UNICODE" = 1; then
5672 echo "$ac_t""yes" 1>&6
5674 echo "$ac_t""no" 1>&6
5679 echo $ac_n "checking "for wcsrtombs
"""... $ac_c" 1>&6
5680 echo "configure:5681: checking "for wcsrtombs
"" >&5
5681 # Check whether --with-wcsrtombs or --without-wcsrtombs was given.
5682 if test "${with_wcsrtombs+set}" = set; then
5683 withval
="$with_wcsrtombs"
5684 if test "x$with_wcsrtombs" = xyes
; then
5685 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="1"'
5687 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS="0"'
5691 LINE
=`grep "wxUSE_WCSRTOMBS" ${OSTYPE}.system.cache`
5692 if test "x$LINE" != x
; then
5693 eval "DEFAULT_$LINE"
5695 ac_cv_use_wcsrtombs
='wxUSE_WCSRTOMBS='$DEFAULT_wxUSE_WCSRTOMBS
5699 eval "$ac_cv_use_wcsrtombs"
5700 echo $ac_cv_use_wcsrtombs >> ${OSTYPE}.system.cache.tmp
5701 if test "$wxUSE_WCSRTOMBS" = 1; then
5702 echo "$ac_t""yes" 1>&6
5704 echo "$ac_t""no" 1>&6
5710 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
5711 echo "configure:5712: checking "for wxresources
"" >&5
5712 # Check whether --with-wxresources or --without-wxresources was given.
5713 if test "${with_wxresources+set}" = set; then
5714 withval
="$with_wxresources"
5715 if test "x$with_wxresources" = xyes
; then
5716 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="1"'
5718 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES="0"'
5722 LINE
=`grep "wxUSE_WX_RESOURCES" ${OSTYPE}.system.cache`
5723 if test "x$LINE" != x
; then
5724 eval "DEFAULT_$LINE"
5726 ac_cv_use_wxresources
='wxUSE_WX_RESOURCES='$DEFAULT_wxUSE_WX_RESOURCES
5730 eval "$ac_cv_use_wxresources"
5731 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
5732 if test "$wxUSE_WX_RESOURCES" = 1; then
5733 echo "$ac_t""yes" 1>&6
5735 echo "$ac_t""no" 1>&6
5740 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
5741 echo "configure:5742: checking "for prologio
"" >&5
5742 # Check whether --with-prologio or --without-prologio was given.
5743 if test "${with_prologio+set}" = set; then
5744 withval
="$with_prologio"
5745 if test "x$with_prologio" = xyes
; then
5746 ac_cv_use_prologio
='wxUSE_PROLOGIO="1"'
5748 ac_cv_use_prologio
='wxUSE_PROLOGIO="0"'
5752 LINE
=`grep "wxUSE_PROLOGIO" ${OSTYPE}.system.cache`
5753 if test "x$LINE" != x
; then
5754 eval "DEFAULT_$LINE"
5756 ac_cv_use_prologio
='wxUSE_PROLOGIO='$DEFAULT_wxUSE_PROLOGIO
5760 eval "$ac_cv_use_prologio"
5761 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
5762 if test "$wxUSE_PROLOGIO" = 1; then
5763 echo "$ac_t""yes" 1>&6
5765 echo "$ac_t""no" 1>&6
5770 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
5771 echo "configure:5772: checking "for RPC
"" >&5
5772 # Check whether --with-rpc or --without-rpc was given.
5773 if test "${with_rpc+set}" = set; then
5775 if test "x$with_rpc" = xyes
; then
5776 ac_cv_use_rpc
='wxUSE_RPC="1"'
5778 ac_cv_use_rpc
='wxUSE_RPC="0"'
5782 LINE
=`grep "wxUSE_RPC" ${OSTYPE}.system.cache`
5783 if test "x$LINE" != x
; then
5784 eval "DEFAULT_$LINE"
5786 ac_cv_use_rpc
='wxUSE_RPC='$DEFAULT_wxUSE_RPC
5790 eval "$ac_cv_use_rpc"
5791 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
5792 if test "$wxUSE_RPC" = 1; then
5793 echo "$ac_t""yes" 1>&6
5795 echo "$ac_t""no" 1>&6
5801 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
5802 echo "configure:5803: checking "for IPC
"" >&5
5803 # Check whether --with-ipc or --without-ipc was given.
5804 if test "${with_ipc+set}" = set; then
5806 if test "x$with_ipc" = xyes
; then
5807 ac_cv_use_ipc
='wxUSE_IPC="1"'
5809 ac_cv_use_ipc
='wxUSE_IPC="0"'
5813 LINE
=`grep "wxUSE_IPC" ${OSTYPE}.system.cache`
5814 if test "x$LINE" != x
; then
5815 eval "DEFAULT_$LINE"
5817 ac_cv_use_ipc
='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5821 eval "$ac_cv_use_ipc"
5822 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
5823 if test "$wxUSE_IPC" = 1; then
5824 echo "$ac_t""yes" 1>&6
5826 echo "$ac_t""no" 1>&6
5831 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
5832 echo "configure:5833: checking "for resources
"" >&5
5833 # Check whether --with-resources or --without-resources was given.
5834 if test "${with_resources+set}" = set; then
5835 withval
="$with_resources"
5836 if test "x$with_resources" = xyes
; then
5837 ac_cv_use_resources
='wxUSE_RESOURCES="1"'
5839 ac_cv_use_resources
='wxUSE_RESOURCES="0"'
5843 LINE
=`grep "wxUSE_RESOURCES" ${OSTYPE}.system.cache`
5844 if test "x$LINE" != x
; then
5845 eval "DEFAULT_$LINE"
5847 ac_cv_use_resources
='wxUSE_RESOURCES='$DEFAULT_wxUSE_RESOURCES
5851 eval "$ac_cv_use_resources"
5852 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
5853 if test "$wxUSE_RESOURCES" = 1; then
5854 echo "$ac_t""yes" 1>&6
5856 echo "$ac_t""no" 1>&6
5861 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
5862 echo "configure:5863: checking "for clipboard
"" >&5
5863 # Check whether --with-clipboard or --without-clipboard was given.
5864 if test "${with_clipboard+set}" = set; then
5865 withval
="$with_clipboard"
5866 if test "x$with_clipboard" = xyes
; then
5867 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="1"'
5869 ac_cv_use_clipboard
='wxUSE_CLIPBOARD="0"'
5873 LINE
=`grep "wxUSE_CLIPBOARD" ${OSTYPE}.system.cache`
5874 if test "x$LINE" != x
; then
5875 eval "DEFAULT_$LINE"
5877 ac_cv_use_clipboard
='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
5881 eval "$ac_cv_use_clipboard"
5882 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
5883 if test "$wxUSE_CLIPBOARD" = 1; then
5884 echo "$ac_t""yes" 1>&6
5886 echo "$ac_t""no" 1>&6
5891 echo $ac_n "checking "for dnd
"""... $ac_c" 1>&6
5892 echo "configure:5893: checking "for dnd
"" >&5
5893 # Check whether --with-dnd or --without-dnd was given.
5894 if test "${with_dnd+set}" = set; then
5896 if test "x$with_dnd" = xyes
; then
5897 ac_cv_use_dnd
='wxUSE_DND="1"'
5899 ac_cv_use_dnd
='wxUSE_DND="0"'
5903 LINE
=`grep "wxUSE_DND" ${OSTYPE}.system.cache`
5904 if test "x$LINE" != x
; then
5905 eval "DEFAULT_$LINE"
5907 ac_cv_use_dnd
='wxUSE_DND='$DEFAULT_wxUSE_DND
5911 eval "$ac_cv_use_dnd"
5912 echo $ac_cv_use_dnd >> ${OSTYPE}.system.cache.tmp
5913 if test "$wxUSE_DND" = 1; then
5914 echo "$ac_t""yes" 1>&6
5916 echo "$ac_t""no" 1>&6
5921 echo $ac_n "checking "for constrains
"""... $ac_c" 1>&6
5922 echo "configure:5923: checking "for constrains
"" >&5
5923 # Check whether --with-constraints or --without-constraints was given.
5924 if test "${with_constraints+set}" = set; then
5925 withval
="$with_constraints"
5926 if test "x$with_constraints" = xyes
; then
5927 ac_cv_use_constraints
='wxUSE_CONSTRAINTS="1"'
5929 ac_cv_use_constraints
='wxUSE_CONSTRAINTS="0"'
5933 LINE
=`grep "wxUSE_CONSTRAINTS" ${OSTYPE}.system.cache`
5934 if test "x$LINE" != x
; then
5935 eval "DEFAULT_$LINE"
5937 ac_cv_use_constraints
='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
5941 eval "$ac_cv_use_constraints"
5942 echo $ac_cv_use_constraints >> ${OSTYPE}.system.cache.tmp
5943 if test "$wxUSE_CONSTRAINTS" = 1; then
5944 echo "$ac_t""yes" 1>&6
5946 echo "$ac_t""no" 1>&6
5952 echo $ac_n "checking "for mdi
"""... $ac_c" 1>&6
5953 echo "configure:5954: checking "for mdi
"" >&5
5954 # Check whether --with-mdi or --without-mdi was given.
5955 if test "${with_mdi+set}" = set; then
5957 if test "x$with_mdi" = xyes
; then
5958 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="1"'
5960 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE="0"'
5964 LINE
=`grep "wxUSE_MDI_ARCHITECTURE" ${OSTYPE}.system.cache`
5965 if test "x$LINE" != x
; then
5966 eval "DEFAULT_$LINE"
5968 ac_cv_use_mdi
='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
5972 eval "$ac_cv_use_mdi"
5973 echo $ac_cv_use_mdi >> ${OSTYPE}.system.cache.tmp
5974 if test "$wxUSE_MDI_ARCHITECTURE" = 1; then
5975 echo "$ac_t""yes" 1>&6
5977 echo "$ac_t""no" 1>&6
5982 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
5983 echo "configure:5984: checking "for docview
"" >&5
5984 # Check whether --with-docview or --without-docview was given.
5985 if test "${with_docview+set}" = set; then
5986 withval
="$with_docview"
5987 if test "x$with_docview" = xyes
; then
5988 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="1"'
5990 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE="0"'
5994 LINE
=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
5995 if test "x$LINE" != x
; then
5996 eval "DEFAULT_$LINE"
5998 ac_cv_use_docview
='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
6002 eval "$ac_cv_use_docview"
6003 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
6004 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1; then
6005 echo "$ac_t""yes" 1>&6
6007 echo "$ac_t""no" 1>&6
6012 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
6013 echo "configure:6014: checking "for printarch
"" >&5
6014 # Check whether --with-printarch or --without-printarch was given.
6015 if test "${with_printarch+set}" = set; then
6016 withval
="$with_printarch"
6017 if test "x$with_printarch" = xyes
; then
6018 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="1"'
6020 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE="0"'
6024 LINE
=`grep "wxUSE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
6025 if test "x$LINE" != x
; then
6026 eval "DEFAULT_$LINE"
6028 ac_cv_use_printarch
='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
6032 eval "$ac_cv_use_printarch"
6033 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
6034 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1; then
6035 echo "$ac_t""yes" 1>&6
6037 echo "$ac_t""no" 1>&6
6042 echo $ac_n "checking "for help"""... $ac_c" 1>&6
6043 echo "configure:6044: checking "for help"" >&5
6044 # Check whether --with-help or --without-help was given.
6045 if test "${with_help+set}" = set; then
6046 withval
="$with_help"
6047 if test "x$with_help" = xyes
; then
6048 ac_cv_use_help
='wxUSE_HELP="1"'
6050 ac_cv_use_help
='wxUSE_HELP="0"'
6054 LINE
=`grep "wxUSE_HELP" ${OSTYPE}.system.cache`
6055 if test "x$LINE" != x
; then
6056 eval "DEFAULT_$LINE"
6058 ac_cv_use_help
='wxUSE_HELP='$DEFAULT_wxUSE_HELP
6062 eval "$ac_cv_use_help"
6063 echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
6064 if test "$wxUSE_HELP" = 1; then
6065 echo "$ac_t""yes" 1>&6
6067 echo "$ac_t""no" 1>&6
6072 if test "$wxUSE_UNIX" = 1 ; then
6073 cat >> confdefs.h
<<\EOF
6091 if test "$wxUSE_GTK" = 1; then
6092 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
6093 if test "${with_gtk_prefix+set}" = set; then
6094 withval
="$with_gtk_prefix"
6095 gtk_config_prefix
="$withval"
6097 gtk_config_prefix
=""
6100 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
6101 if test "${with_gtk_exec_prefix+set}" = set; then
6102 withval
="$with_gtk_exec_prefix"
6103 gtk_config_exec_prefix
="$withval"
6105 gtk_config_exec_prefix
=""
6109 if test x
$gtk_config_exec_prefix != x
; then
6110 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6111 if test x
${GTK_CONFIG+set} != xset
; then
6112 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6115 if test x
$gtk_config_prefix != x
; then
6116 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6117 if test x
${GTK_CONFIG+set} != xset
; then
6118 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6122 # Extract the first word of "gtk-config", so it can be a program name with args.
6123 set dummy gtk
-config; ac_word
=$2
6124 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6125 echo "configure:6126: checking for $ac_word" >&5
6126 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6127 echo $ac_n "(cached) $ac_c" 1>&6
6129 case "$GTK_CONFIG" in
6131 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6134 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6135 for ac_dir
in $PATH; do
6136 test -z "$ac_dir" && ac_dir
=.
6137 if test -f $ac_dir/$ac_word; then
6138 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6143 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6147 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6148 if test -n "$GTK_CONFIG"; then
6149 echo "$ac_t""$GTK_CONFIG" 1>&6
6151 echo "$ac_t""no" 1>&6
6154 min_gtk_version
=1.0.4
6155 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6156 echo "configure:6157: checking for GTK - version >= $min_gtk_version" >&5
6158 if test "$GTK_CONFIG" != "no" ; then
6159 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6160 GTK_LIBS
=`$GTK_CONFIG --libs`
6161 ac_save_CFLAGS
="$CFLAGS"
6162 ac_save_LIBS
="$LIBS"
6163 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6164 LIBS
="$LIBS $GTK_LIBS"
6165 if test "$cross_compiling" = yes; then
6166 echo $ac_n "cross compiling; assumed OK... $ac_c"
6168 cat > conftest.
$ac_ext <<EOF
6169 #line 6170 "configure"
6170 #include "confdefs.h"
6172 #include <gtk/gtk.h>
6178 int major, minor, micro;
6180 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6181 printf("%s, bad version string\n", "$min_gtk_version");
6185 return !((gtk_major_version > major) ||
6186 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6187 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6191 if { (eval echo configure
:6192: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6195 echo "configure: failed program was:" >&5
6196 cat conftest.
$ac_ext >&5
6203 CFLAGS
="$ac_save_CFLAGS"
6204 LIBS
="$ac_save_LIBS"
6208 if test "x$no_gtk" = x
; then
6209 echo "$ac_t""yes" 1>&6
6211 GUI_TK_INCLUDE
="$GTK_CFLAGS"
6212 GUI_TK_LIBRARY
="$GTK_LIBS"
6215 echo "$ac_t""no" 1>&6
6218 { echo "configure: error: Is gtk-config in path and GTK+ is version 1.0.4?" 1>&2; exit 1; }
6224 TOOLKIT_DEF
=__WXGTK__
6226 MAKEINCLUDE
=..
/gtk.inc
6229 if test "$wxUSE_QT" = 1; then
6230 echo $ac_n "checking for Qt includes""... $ac_c" 1>&6
6231 echo "configure:6232: checking for Qt includes" >&5
6234 for ac_dir
in $SEARCH_INCLUDE;
6236 if test -f "$ac_dir/qapp.h"; then
6237 ac_find_includes
=$ac_dir
6242 if test "$ac_find_includes" != "" ; then
6243 echo "$ac_t""found $ac_find_includes" 1>&6
6244 echo $ac_n "checking for Qt library""... $ac_c" 1>&6
6245 echo "configure:6246: checking for Qt library" >&5
6248 for ac_dir
in $SEARCH_LIB;
6250 for ac_extension
in a so sl
; do
6251 if test -f "$ac_dir/libqt.$ac_extension"; then
6252 ac_find_libraries
=$ac_dir
6258 if test "$ac_find_libraries" != "" ; then
6260 ac_path_to_include
=$ac_find_includes
6261 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6263 if test $result = 0; then
6264 ac_path_to_include
=""
6266 ac_path_to_include
="-I$ac_find_includes"
6270 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6272 if test $result = 0; then
6275 ac_path_to_link
="-L$ac_find_libraries"
6278 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6279 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6280 echo "$ac_t""found Qt at $ac_find_libraries" 1>&6
6282 { echo "configure: error: no" 1>&2; exit 1; }
6285 { echo "configure: error: no" 1>&2; exit 1; }
6287 GUI_TK_LINK
="-lX11 -lqt -lm"
6289 TOOLKIT_DEF
=__WXQT__
6291 MAKEINCLUDE
=..
/qt.inc
6294 if test "$wxUSE_MOTIF" = 1; then
6295 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
6296 echo "configure:6297: checking for Motif/Lesstif includes" >&5
6299 for ac_dir
in $SEARCH_INCLUDE;
6301 if test -f "$ac_dir/Xm.h"; then
6302 ac_find_includes
=$ac_dir
6307 if test "$ac_find_includes" != "" ; then
6308 echo "$ac_t""found $ac_find_includes" 1>&6
6309 echo $ac_n "checking for Motif/Lesstif library""... $ac_c" 1>&6
6310 echo "configure:6311: checking for Motif/Lesstif library" >&5
6313 for ac_dir
in $SEARCH_LIB;
6315 for ac_extension
in a so sl
; do
6316 if test -f "$ac_dir/libXm.$ac_extension"; then
6317 ac_find_libraries
=$ac_dir
6323 if test "$ac_find_libraries" != "" ; then
6325 ac_path_to_include
=$ac_find_includes
6326 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6328 if test $result = 0; then
6329 ac_path_to_include
=""
6331 ac_path_to_include
="-I$ac_find_includes"
6335 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6337 if test $result = 0; then
6340 ac_path_to_link
="-L$ac_find_libraries"
6343 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6344 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6345 echo "$ac_t""found at $ac_find_libraries" 1>&6
6346 echo $ac_n "checking for Xt library""... $ac_c" 1>&6
6347 echo "configure:6348: checking for Xt library" >&5
6350 for ac_dir
in $SEARCH_LIB;
6352 for ac_extension
in a so sl
; do
6353 if test -f "$ac_dir/libXt.$ac_extension"; then
6354 ac_find_libraries
=$ac_dir
6360 if test "$ac_find_libraries" != "" ; then
6362 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6364 if test $result = 0; then
6367 ac_path_to_link
="-L$ac_find_libraries"
6370 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6371 echo "$ac_t""found at $ac_find_libraries" 1>&6
6372 echo $ac_n "checking for Xpm library""... $ac_c" 1>&6
6373 echo "configure:6374: checking for Xpm library" >&5
6376 for ac_dir
in $SEARCH_LIB;
6378 for ac_extension
in a so sl
; do
6379 if test -f "$ac_dir/libXpm.$ac_extension"; then
6380 ac_find_libraries
=$ac_dir
6386 if test "$ac_find_libraries" != "" ; then
6388 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6390 if test $result = 0; then
6393 ac_path_to_link
="-L$ac_find_libraries"
6396 CHECK_LINK
="$CHECK_LIB $ac_path_to_link"
6397 echo "$ac_t""found at $ac_find_libraries" 1>&6
6399 { echo "configure: error: no" 1>&2; exit 1; }
6402 { echo "configure: error: no" 1>&2; exit 1; }
6405 { echo "configure: error: no" 1>&2; exit 1; }
6408 { echo "configure: error: no" 1>&2; exit 1; }
6410 GUI_TK_LINK
="-lXt -lXmu -lXpm -lX11 -lXm -lm"
6411 GUI_TK_LINK
="$CHECK_LINK $GUI_TK_LINK"
6413 TOOLKIT_DEF
=__WXMOTIF__
6415 MAKEINCLUDE
=..
/motif.inc
6418 if test "$TOOLKIT" = ""; then
6419 { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; }
6435 if test "$wxUSE_DEBUG_INFO" = 1 ; then
6440 if test "$wxUSE_DEBUG_FLAG" = 1 ; then
6441 cat >> confdefs.h
<<EOF
6442 #define WXDEBUG $wxUSE_DEBUG_FLAG
6445 WXDEBUG_DEFINE
="-D__WXDEBUG__"
6448 WXDEBUG_DEFINE
="-DGTK_NO_CHECK_CASTS"
6452 if test "$wxUSE_MEM_TRACING" = 1 ; then
6453 cat >> confdefs.h
<<EOF
6454 #define wxUSE_MEMORY_TRACING $wxUSE_MEM_TRACING
6457 cat >> confdefs.h
<<EOF
6458 #define wxUSE_GLOBAL_MEMORY_OPERATORS $wxUSE_MEM_TRACING
6464 if test "$wxUSE_DMALLOC" = 1 ; then
6465 EXTRA_LINK
="$EXTRA_LINK -ldmalloc"
6470 if test "$wxUSE_PROFILE" = 1 ; then
6475 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
6476 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
6477 if test "$wxUSE_OPTIMISE" = 0 ; then
6480 if test "$GCC" = yes ; then
6482 case "${canonical}" in
6484 OPTIMISE
="${OPTIMISE} "
6494 if test "$wxUSE_APPLE_IEEE" = 1 ; then
6495 APPLE_IEEE
="APPLE_IEEE"
6496 cat >> confdefs.h
<<EOF
6497 #define wxUSE_APPLE_IEEE $wxUSE_APPLE_IEEE
6502 wxUSE_IOSTREAMH
=$DEFAULT_wxUSE_IOSTREAMH
6503 cat >> confdefs.h
<<EOF
6504 #define wxUSE_IOSTREAMH $wxUSE_IOSTREAMH
6509 if test "$wxUSE_ZLIB" = 1 ; then
6510 cat >> confdefs.h
<<EOF
6511 #define wxUSE_ZLIB $wxUSE_ZLIB
6516 if test "$wxUSE_LIBPNG" = 1 ; then
6517 cat >> confdefs.h
<<EOF
6518 #define wxUSE_LIBPNG $wxUSE_LIBPNG
6524 if test "$wxUSE_ODBC" = 1 ; then
6525 cat >> confdefs.h
<<EOF
6526 #define wxUSE_ODBC $wxUSE_ODBC
6529 IODBC_C_SRC
="\$(IODBC_C_SRC)"
6534 if test "$wxUSE_GAUGE" = 1 ; then
6535 cat >> confdefs.h
<<EOF
6536 #define wxUSE_GAUGE $wxUSE_GAUGE
6541 if test "$wxUSE_COMBOBOX" = 1 ; then
6542 cat >> confdefs.h
<<EOF
6543 #define wxUSE_COMBOBOX $wxUSE_COMBOBOX
6548 if test "$wxUSE_SCROLLBAR" = 1 ; then
6549 cat >> confdefs.h
<<EOF
6550 #define wxUSE_SCROLLBAR $wxUSE_SCROLLBAR
6555 if test "$wxUSE_LISTCTRL" = 1 ; then
6556 cat >> confdefs.h
<<EOF
6557 #define wxUSE_LISTCTRL $wxUSE_LISTCTRL
6562 if test "$wxUSE_TREECTRL" = 1 ; then
6563 cat >> confdefs.h
<<EOF
6564 #define wxUSE_TREECTRL $wxUSE_TREECTRL
6569 if test "$wxUSE_GRID" = 1 ; then
6570 cat >> confdefs.h
<<EOF
6571 #define wxUSE_GRID $wxUSE_GRID
6576 if test "$wxUSE_TAB_DIALOG" = 1 ; then
6577 cat >> confdefs.h
<<EOF
6578 #define wxUSE_TAB_DIALOG $wxUSE_TAB_DIALOG
6583 if test "$wxUSE_NOTEBOOK" = 1 ; then
6584 cat >> confdefs.h
<<EOF
6585 #define wxUSE_NOTEBOOK $wxUSE_NOTEBOOK
6591 if test "$wxUSE_CONFIG" = 1 ; then
6592 cat >> confdefs.h
<<EOF
6593 #define wxUSE_CONFIG $wxUSE_CONFIG
6598 if test "$wxUSE_TIMEDATE" = 1 ; then
6599 cat >> confdefs.h
<<EOF
6600 #define wxUSE_TIMEDATE $wxUSE_TIMEDATE
6605 if test "$wxUSE_FRACTION" = 1 ; then
6606 cat >> confdefs.h
<<EOF
6607 #define wxUSE_FRACTION $wxUSE_FRACTION
6612 if test "$wxUSE_LOG" = 1 ; then
6613 cat >> confdefs.h
<<EOF
6614 #define wxUSE_LOG $wxUSE_LOG
6619 if test "$wxUSE_INTL" = 1 ; then
6620 cat >> confdefs.h
<<EOF
6621 #define wxUSE_INTL $wxUSE_INTL
6626 if test "$wxUSE_STREAMS" = 1 ; then
6627 cat >> confdefs.h
<<EOF
6628 #define wxUSE_STREAMS $wxUSE_STREAMS
6633 if test "$wxUSE_SERIAL" = 1 ; then
6634 cat >> confdefs.h
<<EOF
6635 #define wxUSE_SERIAL $wxUSE_SERIAL
6640 if test "$wxUSE_FILE" = 1 ; then
6641 cat >> confdefs.h
<<EOF
6642 #define wxUSE_FILE $wxUSE_FILE
6647 if test "$wxUSE_TEXTFILE" = 1 ; then
6648 cat >> confdefs.h
<<EOF
6649 #define wxUSE_TEXTFILE $wxUSE_TEXTFILE
6655 if test "$wxUSE_RPC" = 1 ; then
6656 cat >> confdefs.h
<<EOF
6657 #define wxUSE_RPC $wxUSE_RPC
6662 if test "$wxUSE_WX_RESOURCES" = 1 ; then
6663 cat >> confdefs.h
<<EOF
6664 #define wxUSE_WX_RESOURCES $wxUSE_WX_RESOURCES
6669 if test "$wxUSE_PROLOGIO" = 1 ; then
6670 cat >> confdefs.h
<<EOF
6671 #define wxUSE_PROLOGIO 1
6677 if test "$wxUSE_POSTSCRIPT" = 1 ; then
6678 cat >> confdefs.h
<<EOF
6679 #define wxUSE_POSTSCRIPT 1
6684 cat >> confdefs.h
<<EOF
6685 #define wxUSE_AFM_FOR_POSTSCRIPT $wxUSE_AFM_FOR_POSTSCRIPT
6689 cat >> confdefs.h
<<EOF
6690 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
6695 if test "$wxUSE_MDI_ARCHITECTURE" = 1 ; then
6696 cat >> confdefs.h
<<EOF
6697 #define wxUSE_MDI_ARCHITECTURE $wxUSE_MDI_ARCHITECTURE
6702 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = 1 ; then
6703 cat >> confdefs.h
<<EOF
6704 #define wxUSE_DOC_VIEW_ARCHITECTURE $wxUSE_DOC_VIEW_ARCHITECTURE
6709 if test "$wxUSE_PRINTING_ARCHITECTURE" = 1 ; then
6710 cat >> confdefs.h
<<EOF
6711 #define wxUSE_PRINTING_ARCHITECTURE $wxUSE_PRINTING_ARCHITECTURE
6717 if test "$wxUSE_UNICODE" = 1 ; then
6718 cat >> confdefs.h
<<EOF
6719 #define wxUSE_UNICODE 1
6724 if test "$wxUSE_WCSRTOMBS" = 1 ; then
6725 cat >> confdefs.h
<<EOF
6726 #define wxUSE_WCSRTOMBS 1
6732 if test "$wxUSE_IPC" = 1 ; then
6733 cat >> confdefs.h
<<EOF
6739 if test "$wxUSE_RESOURCES" = 1 ; then
6740 cat >> confdefs.h
<<EOF
6741 #define wxUSE_RESOURCES $wxUSE_RESOURCES
6746 if test "$wxUSE_CLIPBOARD" = 1 ; then
6747 cat >> confdefs.h
<<EOF
6748 #define wxUSE_CLIPBOARD $wxUSE_CLIPBOARD
6753 if test "$wxUSE_DND" = 1 ; then
6754 cat >> confdefs.h
<<EOF
6755 #define wxUSE_DND $wxUSE_DND
6760 if test "$wxUSE_CONSTRAINTS" = 1 ; then
6761 cat >> confdefs.h
<<EOF
6762 #define wxUSE_CONSTRAINTS $wxUSE_CONSTRAINTS
6769 if test "$wxUSE_METAFILE" = 1 ; then
6771 cat >> confdefs.h
<<EOF
6772 #define wxUSE_METAFILE $wxUSE_METAFILE
6779 if test "$wxUSE_HELP" = 1 ; then
6781 cat >> confdefs.h
<<EOF
6782 #define wxUSE_HELP $wxUSE_HELP
6789 if test "$wxUSE_WXGRAPH" = 1 ; then
6791 cat >> confdefs.h
<<EOF
6792 #define wxUSE_WXGRAPH $wxUSE_WXGRAPH
6799 if test "$wxUSE_WXTREE" = 1 ; then
6801 cat >> confdefs.h
<<EOF
6802 #define wxUSE_WXTREE $wxUSE_WXTREE
6809 if test "$wxUSE_OPENGL" = 1 ; then
6814 echo $ac_n "checking for main in -ldl""... $ac_c" 1>&6
6815 echo "configure:6816: checking for main in -ldl" >&5
6816 ac_lib_var
=`echo dl'_'main | sed 'y%./+-%__p_%'`
6817 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6818 echo $ac_n "(cached) $ac_c" 1>&6
6820 ac_save_LIBS
="$LIBS"
6822 cat > conftest.
$ac_ext <<EOF
6823 #line 6824 "configure"
6824 #include "confdefs.h"
6830 if { (eval echo configure
:6831: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6832 eval "ac_cv_lib_$ac_lib_var=yes"
6834 echo "configure: failed program was:" >&5
6835 cat conftest.
$ac_ext >&5
6837 eval "ac_cv_lib_$ac_lib_var=no"
6840 LIBS
="$ac_save_LIBS"
6843 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6844 echo "$ac_t""yes" 1>&6
6847 echo "$ac_t""no" 1>&6
6856 UNIX_THREAD
="gtk/threadno.cpp"
6859 echo $ac_n "checking "for threads
"""... $ac_c" 1>&6
6860 echo "configure:6861: checking "for threads
"" >&5
6861 # Check whether --with-threads or --without-threads was given.
6862 if test "${with_threads+set}" = set; then
6863 withval
="$with_threads"
6864 if test "x$with_threads" = xyes
; then
6865 ac_cv_use_threads
='wxUSE_THREADS="1"'
6867 ac_cv_use_threads
='wxUSE_THREADS="0"'
6871 LINE
=`grep "wxUSE_THREADS" ${OSTYPE}.system.cache`
6872 if test "x$LINE" != x
; then
6873 eval "DEFAULT_$LINE"
6875 ac_cv_use_threads
='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
6879 eval "$ac_cv_use_threads"
6880 echo $ac_cv_use_threads >> ${OSTYPE}.system.cache.tmp
6881 if test "$wxUSE_THREADS" = 1; then
6882 echo "$ac_t""yes" 1>&6
6884 echo "$ac_t""no" 1>&6
6889 if test "$wxUSE_THREADS" = "1"; then
6890 UNIX_THREAD
="gtk/threadno.cpp"
6893 echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
6894 echo "configure:6895: checking for pthread_create in -lpthread-0.7" >&5
6895 ac_lib_var
=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
6896 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6897 echo $ac_n "(cached) $ac_c" 1>&6
6899 ac_save_LIBS
="$LIBS"
6900 LIBS
="-lpthread-0.7 $LIBS"
6901 cat > conftest.
$ac_ext <<EOF
6902 #line 6903 "configure"
6903 #include "confdefs.h"
6904 /* Override any gcc2 internal prototype to avoid an error. */
6905 /* We use char because int might match the return type of a gcc2
6906 builtin and then its argument prototype would still apply. */
6907 char pthread_create();
6913 if { (eval echo configure
:6914: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6915 eval "ac_cv_lib_$ac_lib_var=yes"
6917 echo "configure: failed program was:" >&5
6918 cat conftest.
$ac_ext >&5
6920 eval "ac_cv_lib_$ac_lib_var=no"
6923 LIBS
="$ac_save_LIBS"
6926 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6927 echo "$ac_t""yes" 1>&6
6929 UNIX_THREAD
="gtk/threadpsx.cpp"
6930 THREADS_LINK
="-lpthread-0.7"
6933 echo "$ac_t""no" 1>&6
6935 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
6936 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
6937 echo "configure:6938: checking for sys/prctl.h" >&5
6938 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6939 echo $ac_n "(cached) $ac_c" 1>&6
6941 cat > conftest.
$ac_ext <<EOF
6942 #line 6943 "configure"
6943 #include "confdefs.h"
6944 #include <sys/prctl.h>
6946 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6947 { (eval echo configure
:6948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6948 ac_err
=`grep -v '^ *+' conftest.out`
6949 if test -z "$ac_err"; then
6951 eval "ac_cv_header_$ac_safe=yes"
6954 echo "configure: failed program was:" >&5
6955 cat conftest.
$ac_ext >&5
6957 eval "ac_cv_header_$ac_safe=no"
6961 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6962 echo "$ac_t""yes" 1>&6
6964 UNIX_THREAD
="gtk/threadsgi.cpp"
6967 echo "$ac_t""no" 1>&6
6972 echo $ac_n "checking for pthread_setcanceltype in -lpthread""... $ac_c" 1>&6
6973 echo "configure:6974: checking for pthread_setcanceltype in -lpthread" >&5
6974 ac_lib_var
=`echo pthread'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
6975 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6976 echo $ac_n "(cached) $ac_c" 1>&6
6978 ac_save_LIBS
="$LIBS"
6979 LIBS
="-lpthread $LIBS"
6980 cat > conftest.
$ac_ext <<EOF
6981 #line 6982 "configure"
6982 #include "confdefs.h"
6983 /* Override any gcc2 internal prototype to avoid an error. */
6984 /* We use char because int might match the return type of a gcc2
6985 builtin and then its argument prototype would still apply. */
6986 char pthread_setcanceltype();
6989 pthread_setcanceltype()
6992 if { (eval echo configure
:6993: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6994 eval "ac_cv_lib_$ac_lib_var=yes"
6996 echo "configure: failed program was:" >&5
6997 cat conftest.
$ac_ext >&5
6999 eval "ac_cv_lib_$ac_lib_var=no"
7002 LIBS
="$ac_save_LIBS"
7005 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7006 echo "$ac_t""yes" 1>&6
7008 UNIX_THREAD
="gtk/threadpsx.cpp"
7009 THREADS_LINK
="-lpthread"
7012 echo "$ac_t""no" 1>&6
7018 echo $ac_n "checking for pthread_setcanceltype in -lpthreads""... $ac_c" 1>&6
7019 echo "configure:7020: checking for pthread_setcanceltype in -lpthreads" >&5
7020 ac_lib_var
=`echo pthreads'_'pthread_setcanceltype | sed 'y%./+-%__p_%'`
7021 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
7022 echo $ac_n "(cached) $ac_c" 1>&6
7024 ac_save_LIBS
="$LIBS"
7025 LIBS
="-lpthreads $LIBS"
7026 cat > conftest.
$ac_ext <<EOF
7027 #line 7028 "configure"
7028 #include "confdefs.h"
7029 /* Override any gcc2 internal prototype to avoid an error. */
7030 /* We use char because int might match the return type of a gcc2
7031 builtin and then its argument prototype would still apply. */
7032 char pthread_setcanceltype();
7035 pthread_setcanceltype()
7038 if { (eval echo configure
:7039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
7040 eval "ac_cv_lib_$ac_lib_var=yes"
7042 echo "configure: failed program was:" >&5
7043 cat conftest.
$ac_ext >&5
7045 eval "ac_cv_lib_$ac_lib_var=no"
7048 LIBS
="$ac_save_LIBS"
7051 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
7052 echo "$ac_t""yes" 1>&6
7054 UNIX_THREAD
="gtk/threadpsx.cpp"
7055 THREADS_LINK
="-lpthreads"
7058 echo "$ac_t""no" 1>&6
7063 if test "$wxUSE_MOTIF" = "1"; then
7064 UNIX_THREAD
="motif/thread.cpp"
7067 if test -z "$UNIX_THREAD"; then
7073 cat >> confdefs.h
<<\EOF
7074 #define wxUSE_THREADS 1
7084 if test "$wxUSE_OPENGL" = 1; then
7085 echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
7086 echo "configure:7087: checking for OpenGL includes" >&5
7089 for ac_dir
in $SEARCH_INCLUDE;
7091 if test -f "$ac_dir/GL/gl.h"; then
7092 ac_find_includes
=$ac_dir
7097 if test "$ac_find_includes" != "" ; then
7098 OPENGL_INCLUDE
="-I$ac_find_includes"
7099 echo "$ac_t""found $ac_find_includes" 1>&6
7100 echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
7101 echo "configure:7102: checking for OpenGL library" >&5
7104 for ac_dir
in $SEARCH_LIB;
7106 for ac_extension
in a so sl
; do
7107 if test -f "$ac_dir/libGL.$ac_extension"; then
7108 ac_find_libraries
=$ac_dir
7114 if test "$ac_find_libraries" != "" ; then
7116 ac_path_to_include
=$ac_find_includes
7117 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7119 if test $result = 0; then
7120 ac_path_to_include
=""
7122 ac_path_to_include
="-I$ac_find_includes"
7126 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7128 if test $result = 0; then
7131 ac_path_to_link
="-L$ac_find_libraries"
7134 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
7135 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
7136 OPENGL_LIBRARY
="$ac_path_to_link"
7137 OPENGL_INCLUDE
="$ac_path_to_include"
7139 echo "$ac_t""found OpenGL at $ac_find_libraries" 1>&6
7143 for ac_dir
in $SEARCH_LIB;
7145 for ac_extension
in a so sl
; do
7146 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
7147 ac_find_libraries
=$ac_dir
7153 if test "$ac_find_libraries" != "" ; then
7155 ac_path_to_include
=$ac_find_includes
7156 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
7158 if test $result = 0; then
7159 ac_path_to_include
=""
7161 ac_path_to_include
="-I$ac_find_includes"
7165 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
7167 if test $result = 0; then
7170 ac_path_to_link
="-L$ac_find_libraries"
7173 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
7174 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
7175 OPENGL_LIBRARY
="$ac_path_to_link"
7176 OPENGL_INCLUDE
="$ac_path_to_include"
7177 OPENGL_LINK
="-lMesaGL"
7178 echo "$ac_t""found MESA at $ac_find_libraries" 1>&6
7180 { echo "configure: error: no" 1>&2; exit 1; }
7184 { echo "configure: error: no" 1>&2; exit 1; }
7189 wxUSE_GLX
=$wxUSE_OPENGL
7190 if test "$wxUSE_OPENGL" != 1; then
7197 cat >> confdefs.h
<<EOF
7198 #define wxUSE_GLX $wxUSE_GLX
7209 case "${canonical}" in
7212 if test "$GCC" != "yes" ; then
7213 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
7214 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
7220 CREATE_SHARED
=sharedHpux
7225 CREATE_SHARED
=sharedLinux
7228 *-*-irix5* | *-*-irix6* )
7229 # PICFLAGS can remain empty, as pic is the default
7231 CREATE_SHARED
=sharedIrix
7232 cat >> confdefs.h
<<\EOF
7239 if test "$GCC" != "yes" ; then
7244 CREATE_SHARED
=sharedSolaris2
7245 cat >> confdefs.h
<<\EOF
7252 if test "$GCC" != "yes" ; then
7258 CREATE_SHARED
=sharedSunos4
7259 cat >> confdefs.h
<<\EOF
7265 *-*-freebsd* | *-*-netbsd*)
7267 CREATE_SHARED
=sharedBsd
7268 cat >> confdefs.h
<<\EOF
7276 CREATE_SHARED
=sharedOSF
7280 if test "$GCC" != "yes" ; then
7285 CREATE_SHARED
=sharedDgux
7286 cat >> confdefs.h
<<\EOF
7293 if test "$GCC" != "yes" ; then
7298 CREATE_SHARED
=sharedSysV
7299 cat >> confdefs.h
<<\EOF
7306 if test "$GCC" != "yes" ; then
7311 CREATE_SHARED
=sharedAIX
7312 cat >> confdefs.h
<<\EOF
7323 if test "x$GCC" = xyes
; then
7324 CFLAGS
="${CFLAGS} -Wall"
7327 if test "x$GXX" = xyes
; then
7328 CXXFLAGS
="${CXXFLAGS} -Wall"
7331 if test "$wxUSE_SHARED" != 1; then
7341 echo $OS >> system.list
7345 cat > confcache
<<\EOF
7346 # This file is a shell script that caches the results of configure
7347 # tests run on this system so they can be shared between configure
7348 # scripts and configure runs. It is not useful on other systems.
7349 # If it contains results you don't want to keep, you may remove or edit it.
7351 # By default, configure uses ./config.cache as the cache file,
7352 # creating it if it does not exist already. You can give configure
7353 # the --cache-file=FILE option to use a different cache file; that is
7354 # what configure does when it calls configure scripts in
7355 # subdirectories, so they share the cache.
7356 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7357 # config.status only pays attention to the cache file if you give it the
7358 # --recheck option to rerun configure.
7361 # The following way of writing the cache mishandles newlines in values,
7362 # but we know of no workaround that is simple, portable, and efficient.
7363 # So, don't put newlines in cache variables' values.
7364 # Ultrix sh set writes to stderr and can't be redirected directly,
7365 # and sets the high bit in the cache file unless we assign to the vars.
7367 case `(ac_space=' '; set) 2>&1` in
7369 # `set' does not quote correctly, so add quotes (double-quote substitution
7370 # turns \\\\ into \\, and sed turns \\ into \).
7372 -e "s/'/'\\\\''/g" \
7373 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7376 # `set' quotes correctly as required by POSIX, so do not add quotes.
7377 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7380 if cmp -s $cache_file confcache
; then
7383 if test -w $cache_file; then
7384 echo "updating cache $cache_file"
7385 cat confcache
> $cache_file
7387 echo "not updating unwritable cache $cache_file"
7392 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
7394 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7395 # Let make expand exec_prefix.
7396 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7398 # Any assignment to VPATH causes Sun make to only execute
7399 # the first set of double-colon rules, so remove it if not needed.
7400 # If there is a colon in the path, we need to keep it.
7401 if test "x$srcdir" = x.
; then
7402 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
7405 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
7407 DEFS
=-DHAVE_CONFIG_H
7409 # Without the "./", some shells look in PATH for config.status.
7410 : ${CONFIG_STATUS=./config.status}
7412 echo creating
$CONFIG_STATUS
7413 rm -f $CONFIG_STATUS
7414 cat > $CONFIG_STATUS <<EOF
7416 # Generated automatically by configure.
7417 # Run this file to recreate the current configuration.
7418 # This directory was configured as follows,
7419 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7421 # $0 $ac_configure_args
7423 # Compiler output produced by configure, useful for debugging
7424 # configure, is in ./config.log if it exists.
7426 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
7429 case "\$ac_option" in
7430 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7431 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
7432 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
7433 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
7434 echo "$CONFIG_STATUS generated by autoconf version 2.12"
7436 -help | --help | --hel | --he | --h)
7437 echo "\$ac_cs_usage"; exit 0 ;;
7438 *) echo "\$ac_cs_usage"; exit 1 ;;
7442 ac_given_srcdir=$srcdir
7443 ac_given_INSTALL="$INSTALL"
7445 trap 'rm -fr `echo "./setup/substit ./wx-config:./wx-config.in ./include/wx/gtk/setup.h:./setup/setup.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
7447 cat >> $CONFIG_STATUS <<EOF
7449 # Protect against being on the right side of a sed subst in config.status.
7450 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
7451 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
7454 s%@CFLAGS@%$CFLAGS%g
7455 s%@CPPFLAGS@%$CPPFLAGS%g
7456 s%@CXXFLAGS@%$CXXFLAGS%g
7458 s%@LDFLAGS@%$LDFLAGS%g
7460 s%@exec_prefix@%$exec_prefix%g
7461 s%@prefix@%$prefix%g
7462 s%@program_transform_name@%$program_transform_name%g
7463 s%@bindir@%$bindir%g
7464 s%@sbindir@%$sbindir%g
7465 s%@libexecdir@%$libexecdir%g
7466 s%@datadir@%$datadir%g
7467 s%@sysconfdir@%$sysconfdir%g
7468 s%@sharedstatedir@%$sharedstatedir%g
7469 s%@localstatedir@%$localstatedir%g
7470 s%@libdir@%$libdir%g
7471 s%@includedir@%$includedir%g
7472 s%@oldincludedir@%$oldincludedir%g
7473 s%@infodir@%$infodir%g
7474 s%@mandir@%$mandir%g
7475 s%@WXBASEDIR@%$WXBASEDIR%g
7479 s%@CXXCPP@%$CXXCPP%g
7480 s%@RANLIB@%$RANLIB%g
7482 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
7483 s%@INSTALL_DATA@%$INSTALL_DATA%g
7486 s%@X_CFLAGS@%$X_CFLAGS%g
7487 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
7488 s%@X_LIBS@%$X_LIBS%g
7489 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
7490 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
7491 s%@LIBOBJS@%$LIBOBJS%g
7494 s%@LEXLIB@%$LEXLIB%g
7495 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
7497 s%@host_alias@%$host_alias%g
7498 s%@host_cpu@%$host_cpu%g
7499 s%@host_vendor@%$host_vendor%g
7500 s%@host_os@%$host_os%g
7501 s%@GTK_CONFIG@%$GTK_CONFIG%g
7502 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
7503 s%@GTK_LIBS@%$GTK_LIBS%g
7504 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
7505 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
7506 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
7507 s%@WX_LINK@%$WX_LINK%g
7508 s%@TOOLKIT@%$TOOLKIT%g
7509 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
7510 s%@MAKEINCLUDE@%$MAKEINCLUDE%g
7511 s%@WXDEBUG@%$WXDEBUG%g
7512 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
7513 s%@EXTRA_LINK@%$EXTRA_LINK%g
7514 s%@PROFILE@%$PROFILE%g
7515 s%@OPTIMISE@%$OPTIMISE%g
7516 s%@IODBC_C_SRC@%$IODBC_C_SRC%g
7517 s%@METAFILE@%$METAFILE%g
7519 s%@WXGRAPH@%$WXGRAPH%g
7520 s%@WXTREE@%$WXTREE%g
7521 s%@DL_LIBRARY@%$DL_LIBRARY%g
7522 s%@UNIX_THREAD@%$UNIX_THREAD%g
7523 s%@THREADS_LINK@%$THREADS_LINK%g
7524 s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g
7525 s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g
7526 s%@OPENGL_LINK@%$OPENGL_LINK%g
7527 s%@GLCANVAS@%$GLCANVAS%g
7529 s%@PICFLAGS@%$PICFLAGS%g
7530 s%@CREATE_SHARED@%$CREATE_SHARED%g
7535 cat >> $CONFIG_STATUS <<\EOF
7537 # Split the substitutions into bite-sized pieces for seds with
7538 # small command number limits, like on Digital OSF/1 and HP-UX.
7539 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
7540 ac_file
=1 # Number of current file.
7541 ac_beg
=1 # First line for current file.
7542 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
7545 while $ac_more_lines; do
7546 if test $ac_beg -gt 1; then
7547 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
7549 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
7551 if test ! -s conftest.s
$ac_file; then
7553 rm -f conftest.s
$ac_file
7555 if test -z "$ac_sed_cmds"; then
7556 ac_sed_cmds
="sed -f conftest.s$ac_file"
7558 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
7560 ac_file
=`expr $ac_file + 1`
7562 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
7565 if test -z "$ac_sed_cmds"; then
7570 cat >> $CONFIG_STATUS <<EOF
7572 CONFIG_FILES=\${CONFIG_FILES-"./setup/substit ./wx-config:./wx-config.in"}
7574 cat >> $CONFIG_STATUS <<\EOF
7575 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
7576 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7578 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7579 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7580 *) ac_file_in
="${ac_file}.in" ;;
7583 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
7585 # Remove last slash and all that follows it. Not all systems have dirname.
7586 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7587 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7588 # The file is in a subdirectory.
7589 test ! -d "$ac_dir" && mkdir "$ac_dir"
7590 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
7591 # A "../" for each directory in $ac_dir_suffix.
7592 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
7594 ac_dir_suffix
= ac_dots
=
7597 case "$ac_given_srcdir" in
7599 if test -z "$ac_dots"; then top_srcdir
=.
7600 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
7601 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
7603 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
7604 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
7607 case "$ac_given_INSTALL" in
7608 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
7609 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
7612 echo creating
"$ac_file"
7614 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
7616 *Makefile
*) ac_comsub
="1i\\
7617 # $configure_input" ;;
7621 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7623 s%@configure_input@%$configure_input%g
7624 s%@srcdir@%$srcdir%g
7625 s%@top_srcdir@%$top_srcdir%g
7626 s%@INSTALL@%$INSTALL%g
7627 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
7631 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7632 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7634 # ac_d sets the value in "#define NAME VALUE" lines.
7635 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7636 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
7639 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
7640 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7641 ac_uB
='\([ ]\)%\1#\2define\3'
7644 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7645 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7646 ac_eB
='$%\1#\2define\3'
7650 if test "${CONFIG_HEADERS+set}" != set; then
7652 cat >> $CONFIG_STATUS <<EOF
7653 CONFIG_HEADERS="./include/wx/gtk/setup.h:./setup/setup.hin"
7655 cat >> $CONFIG_STATUS <<\EOF
7657 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
7658 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7660 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7661 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7662 *) ac_file_in
="${ac_file}.in" ;;
7665 echo creating
$ac_file
7667 rm -f conftest.frag conftest.
in conftest.out
7668 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7669 cat $ac_file_inputs > conftest.
in
7673 # Transform confdefs.h into a sed script conftest.vals that substitutes
7674 # the proper values into config.h.in to produce config.h. And first:
7675 # Protect against being on the right side of a sed subst in config.status.
7676 # Protect against being in an unquoted here document in config.status.
7678 cat > conftest.hdr
<<\EOF
7681 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
7685 sed -n -f conftest.hdr confdefs.h > conftest.vals
7688 # This sed command replaces #undef with comments. This is necessary, for
7689 # example, in the case of _POSIX_SOURCE, which is predefined and required
7690 # on some systems where configure will not decide to define it.
7691 cat >> conftest.vals <<\EOF
7692 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
7695 # Break up conftest.vals because some shells have a limit on
7696 # the size of here documents, and old seds have small limits too.
7701 ac_lines=`grep -c . conftest.vals
`
7702 # grep -c gives empty output for an empty file on some AIX systems.
7703 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
7704 # Write a limited-size here document to conftest.frag.
7705 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
7706 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
7708 sed -f conftest.frag conftest.in > conftest.out
7710 mv conftest.out conftest.in
7712 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
7714 mv conftest.tail conftest.vals
7718 cat >> $CONFIG_STATUS <<\EOF
7719 rm -f conftest.frag conftest.h
7720 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
7721 cat conftest.in >> conftest.h
7723 if cmp -s $ac_file conftest.h 2>/dev/null; then
7724 echo "$ac_file is unchanged"
7727 # Remove last slash and all that follows it. Not all systems have dirname.
7728 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7729 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7730 # The file is in a subdirectory.
7731 test ! -d "$ac_dir" && mkdir "$ac_dir"
7734 mv conftest.h $ac_file
7739 cat >> $CONFIG_STATUS <<EOF
7742 cat >> $CONFIG_STATUS <<\EOF
7743 ./setup/general/createall
7746 chmod +x $CONFIG_STATUS
7747 rm -fr confdefs* $ac_clean_files
7748 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
7752 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache