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 included"
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 included"
37 **--with-zlib use zlib (LZW comression)"
39 **--with-gdk_imlib use Raster's gdk_imlib (Image library)"
41 **--with-libpng use libpng (PNG image format)"
43 **--with-odbc use iODBC"
45 **--with-opengl use opengl (OpenGL or Mesa)"
47 **--with_apple_ieee use the Apple IEEE codec"
49 **--with-storable use storable classes"
51 **--with-autotrans use gettext automatic translation"
53 **--with-afmfonts use Adobe Font Metric Font table"
55 **--with-PS-normalized use normalized PS fonts"
59 **--with-wxresources use wxresources"
61 **--with-prologio use prologio"
63 **--with-postscript use postscript-device-context"
65 **--with-wxconfig use wxconfig"
67 **--with-metafile use metafile"
69 **--with-form use form"
71 **--with-help use help"
75 **--with-enhanceddialog use enhanced dialog"
77 **--with-resources use resources"
79 **--with-clipboard use clipboard"
81 **--with-timedate use timedate"
83 **--with-fraction use fraction"
85 **--with-constraints use constraints"
87 **--with-toolbar use toolbar"
89 **--with-gauge use gauge"
91 **--with-vlbox use virtual list box"
93 **--with-scrollbar use scrollbar"
95 **--with-docview use document view architecture"
97 **--with-printarch use printing architecture"
99 **--with-typetree use typetree"
101 **--with-wxgraph use wxgraph"
103 **--with-wxtree use wxtree"
105 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
107 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
109 --without-threads Force disabling threads "
111 # Initialize some variables set by options.
112 # The variables have the same names as the options, with
113 # dashes changed to underlines.
115 cache_file
=.
/config.cache
124 program_transform_name
=s
,x
,x
,
132 bindir
='${exec_prefix}/bin'
133 sbindir
='${exec_prefix}/sbin'
134 libexecdir
='${exec_prefix}/libexec'
135 datadir
='${prefix}/share'
136 sysconfdir
='${prefix}/etc'
137 sharedstatedir
='${prefix}/com'
138 localstatedir
='${prefix}/var'
139 libdir
='${exec_prefix}/lib'
140 includedir
='${prefix}/include'
141 oldincludedir
='/usr/include'
142 infodir
='${prefix}/info'
143 mandir
='${prefix}/man'
145 # Initialize some other variables.
148 # Maximum number of lines to put in a shell here document.
155 # If the previous option needs an argument, assign it.
156 if test -n "$ac_prev"; then
157 eval "$ac_prev=\$ac_option"
163 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
167 # Accept the important Cygnus configure options, so we can diagnose typos.
171 -bindir | --bindir | --bindi | --bind | --bin | --bi)
173 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
174 bindir
="$ac_optarg" ;;
176 -build | --build | --buil | --bui | --bu)
178 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
179 build
="$ac_optarg" ;;
181 -cache-file | --cache-file | --cache-fil | --cache-fi \
182 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
183 ac_prev
=cache_file
;;
184 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
185 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
186 cache_file
="$ac_optarg" ;;
188 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
190 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
192 datadir
="$ac_optarg" ;;
194 -disable-* | --disable-*)
195 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
196 # Reject names that are not valid shell variable names.
197 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
198 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
200 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
201 eval "enable_${ac_feature}=no" ;;
203 -enable-* | --enable-*)
204 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
205 # Reject names that are not valid shell variable names.
206 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
207 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
209 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
214 eval "enable_${ac_feature}='$ac_optarg'" ;;
216 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
217 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
218 | --exec | --exe | --ex)
219 ac_prev
=exec_prefix
;;
220 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
221 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
222 | --exec=* | --exe=* | --ex=*)
223 exec_prefix
="$ac_optarg" ;;
225 -gas | --gas | --ga | --g)
226 # Obsolete; use --with-gas.
229 -help | --help | --hel | --he)
230 # Omit some internal or obsolete options to make the list less imposing.
231 # This message is too long to be a string in the A/UX 3.1 sh.
233 Usage: configure [options] [host]
234 Options: [defaults in brackets after descriptions]
236 --cache-file=FILE cache test results in FILE
237 --help print this message
238 --no-create do not create output files
239 --quiet, --silent do not print \`checking...' messages
240 --version print the version of autoconf that created configure
241 Directory and file names:
242 --prefix=PREFIX install architecture-independent files in PREFIX
244 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
246 --bindir=DIR user executables in DIR [EPREFIX/bin]
247 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
248 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
249 --datadir=DIR read-only architecture-independent data in DIR
251 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
252 --sharedstatedir=DIR modifiable architecture-independent data in DIR
254 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
255 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
256 --includedir=DIR C header files in DIR [PREFIX/include]
257 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
258 --infodir=DIR info documentation in DIR [PREFIX/info]
259 --mandir=DIR man documentation in DIR [PREFIX/man]
260 --srcdir=DIR find the sources in DIR [configure dir or ..]
261 --program-prefix=PREFIX prepend PREFIX to installed program names
262 --program-suffix=SUFFIX append SUFFIX to installed program names
263 --program-transform-name=PROGRAM
264 run sed PROGRAM on installed program names
268 --build=BUILD configure for building on BUILD [BUILD=HOST]
269 --host=HOST configure for HOST [guessed]
270 --target=TARGET configure for TARGET [TARGET=HOST]
271 Features and packages:
272 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
273 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
274 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
275 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
276 --x-includes=DIR X include files are in DIR
277 --x-libraries=DIR X library files are in DIR
279 if test -n "$ac_help"; then
280 echo "--enable and --with options recognized:$ac_help"
284 -host | --host | --hos | --ho)
286 -host=* | --host=* | --hos=* | --ho=*)
289 -includedir | --includedir | --includedi | --included | --include \
290 | --includ | --inclu | --incl | --inc)
291 ac_prev
=includedir
;;
292 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
293 | --includ=* | --inclu=* | --incl=* | --inc=*)
294 includedir
="$ac_optarg" ;;
296 -infodir | --infodir | --infodi | --infod | --info | --inf)
298 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
299 infodir
="$ac_optarg" ;;
301 -libdir | --libdir | --libdi | --libd)
303 -libdir=* | --libdir=* | --libdi=* | --libd=*)
304 libdir
="$ac_optarg" ;;
306 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
307 | --libexe | --libex | --libe)
308 ac_prev
=libexecdir
;;
309 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
310 | --libexe=* | --libex=* | --libe=*)
311 libexecdir
="$ac_optarg" ;;
313 -localstatedir | --localstatedir | --localstatedi | --localstated \
314 | --localstate | --localstat | --localsta | --localst \
315 | --locals | --local | --loca | --loc | --lo)
316 ac_prev
=localstatedir
;;
317 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
318 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
319 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
320 localstatedir
="$ac_optarg" ;;
322 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
324 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
325 mandir
="$ac_optarg" ;;
328 # Obsolete; use --without-fp.
331 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
335 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
336 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
339 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
340 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
341 | --oldin | --oldi | --old | --ol | --o)
342 ac_prev
=oldincludedir
;;
343 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
344 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
345 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
346 oldincludedir
="$ac_optarg" ;;
348 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
350 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
351 prefix
="$ac_optarg" ;;
353 -program-prefix | --program-prefix | --program-prefi | --program-pref \
354 | --program-pre | --program-pr | --program-p)
355 ac_prev
=program_prefix
;;
356 -program-prefix=* | --program-prefix=* | --program-prefi=* \
357 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
358 program_prefix
="$ac_optarg" ;;
360 -program-suffix | --program-suffix | --program-suffi | --program-suff \
361 | --program-suf | --program-su | --program-s)
362 ac_prev
=program_suffix
;;
363 -program-suffix=* | --program-suffix=* | --program-suffi=* \
364 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
365 program_suffix
="$ac_optarg" ;;
367 -program-transform-name | --program-transform-name \
368 | --program-transform-nam | --program-transform-na \
369 | --program-transform-n | --program-transform- \
370 | --program-transform | --program-transfor \
371 | --program-transfo | --program-transf \
372 | --program-trans | --program-tran \
373 | --progr-tra | --program-tr | --program-t)
374 ac_prev
=program_transform_name
;;
375 -program-transform-name=* | --program-transform-name=* \
376 | --program-transform-nam=* | --program-transform-na=* \
377 | --program-transform-n=* | --program-transform-=* \
378 | --program-transform=* | --program-transfor=* \
379 | --program-transfo=* | --program-transf=* \
380 | --program-trans=* | --program-tran=* \
381 | --progr-tra=* | --program-tr=* | --program-t=*)
382 program_transform_name
="$ac_optarg" ;;
384 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
385 | -silent | --silent | --silen | --sile | --sil)
388 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
390 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
392 sbindir
="$ac_optarg" ;;
394 -sharedstatedir | --sharedstatedir | --sharedstatedi \
395 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
396 | --sharedst | --shareds | --shared | --share | --shar \
398 ac_prev
=sharedstatedir
;;
399 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
400 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
401 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
403 sharedstatedir
="$ac_optarg" ;;
405 -site | --site | --sit)
407 -site=* | --site=* | --sit=*)
410 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
412 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
413 srcdir
="$ac_optarg" ;;
415 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
416 | --syscon | --sysco | --sysc | --sys | --sy)
417 ac_prev
=sysconfdir
;;
418 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
419 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
420 sysconfdir
="$ac_optarg" ;;
422 -target | --target | --targe | --targ | --tar | --ta | --t)
424 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
425 target
="$ac_optarg" ;;
427 -v | -verbose | --verbose | --verbos | --verbo | --verb)
430 -version | --version | --versio | --versi | --vers)
431 echo "configure generated by autoconf version 2.12"
435 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
436 # Reject names that are not valid shell variable names.
437 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
438 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
440 ac_package
=`echo $ac_package| sed 's/-/_/g'`
445 eval "with_${ac_package}='$ac_optarg'" ;;
447 -without-* | --without-*)
448 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
449 # Reject names that are not valid shell variable names.
450 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
451 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
453 ac_package
=`echo $ac_package| sed 's/-/_/g'`
454 eval "with_${ac_package}=no" ;;
457 # Obsolete; use --with-x.
460 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
461 | --x-incl | --x-inc | --x-in | --x-i)
462 ac_prev
=x_includes
;;
463 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
464 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
465 x_includes
="$ac_optarg" ;;
467 -x-libraries | --x-libraries | --x-librarie | --x-librari \
468 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
469 ac_prev
=x_libraries
;;
470 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
471 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
472 x_libraries
="$ac_optarg" ;;
474 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
478 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
479 echo "configure: warning: $ac_option: invalid host type" 1>&2
481 if test "x$nonopt" != xNONE
; then
482 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
490 if test -n "$ac_prev"; then
491 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
494 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
496 # File descriptor usage:
499 # 2 errors and warnings
500 # 3 some systems may open it to /dev/tty
501 # 4 used on the Kubota Titan
502 # 6 checking for... messages and results
503 # 5 compiler messages saved in config.log
504 if test "$silent" = yes; then
512 This file contains any messages produced by compilers while
513 running configure, to aid debugging if configure makes a mistake.
516 # Strip out --no-create and --no-recursion so they do not pile up.
517 # Also quote any args containing shell metacharacters.
522 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
523 | --no-cr | --no-c) ;;
524 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
525 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
526 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
527 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
528 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
533 # Only set these to C if already set. These must not be set unconditionally
534 # because not all systems understand e.g. LANG=C (notably SCO).
535 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
536 # Non-C LC_CTYPE values break the ctype check.
537 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
538 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
539 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
540 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
542 # confdefs.h avoids OS command line length limits that DEFS can exceed.
543 rm -rf conftest
* confdefs.h
544 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
547 # A filename unique to this package, relative to the directory that
548 # configure is in, which we can look for to find out if srcdir is correct.
549 ac_unique_file
=configure.
in
551 # Find the source files, if location was not specified.
552 if test -z "$srcdir"; then
553 ac_srcdir_defaulted
=yes
554 # Try the directory containing this script, then its parent.
556 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
557 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
559 if test ! -r $srcdir/$ac_unique_file; then
563 ac_srcdir_defaulted
=no
565 if test ! -r $srcdir/$ac_unique_file; then
566 if test "$ac_srcdir_defaulted" = yes; then
567 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
569 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
572 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
574 # Prefer explicitly selected file to automatically selected ones.
575 if test -z "$CONFIG_SITE"; then
576 if test "x$prefix" != xNONE
; then
577 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
579 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
582 for ac_site_file
in $CONFIG_SITE; do
583 if test -r "$ac_site_file"; then
584 echo "loading site script $ac_site_file"
589 if test -r "$cache_file"; then
590 echo "loading cache $cache_file"
593 echo "creating cache $cache_file"
598 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
599 ac_cpp
='$CPP $CPPFLAGS'
600 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
601 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
602 cross_compiling
=$ac_cv_prog_cc_cross
604 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
605 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
606 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
613 ac_n
= ac_c
='\c' ac_t
=
621 if test "x$OS" = "x"; then
623 { echo "configure: error: "The system variable OS has not been
set"
624 "please
set is everytime befor compiling on this system
"
625 "A good example
for this system would be
:"
626 "setenv OSTYPE
$UNAME for csh as a SHELL
"
627 "EXPORT OSTYPE
=$UNAME for sh as SHELL
"
628 "please
set this and restart again.
"
640 /usr/Motif1.2/include \
650 /usr/local/X11R6/include \
651 /usr/local/X11R5/include \
652 /usr/local/X11R4/include \
654 /usr/local/include/X11R6 \
655 /usr/local/include/X11R5 \
656 /usr/local/include/X11R4 \
660 /usr/local/X11/include \
661 /usr/local/include/X11 \
665 /usr/XFree86/include/X11 \
669 /usr/unsupported/include \
670 /usr/athena/include \
671 /usr/local/x11r5/include \
672 /usr/lpp/Xamples/include \
674 /usr/local/include/gtk \
675 /usr/X11R6/include/Xm \
676 /usr/X11/include/Xm \
679 /usr/openwin/include \
680 /usr/openwin/share/include \
683 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \
688 # Extract the first word of "gcc", so it can be a program name with args.
689 set dummy gcc
; ac_word
=$2
690 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
691 echo "configure:692: checking for $ac_word" >&5
692 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
693 echo $ac_n "(cached) $ac_c" 1>&6
695 if test -n "$CC"; then
696 ac_cv_prog_CC
="$CC" # Let the user override the test.
698 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
699 for ac_dir
in $PATH; do
700 test -z "$ac_dir" && ac_dir
=.
701 if test -f $ac_dir/$ac_word; then
710 if test -n "$CC"; then
711 echo "$ac_t""$CC" 1>&6
713 echo "$ac_t""no" 1>&6
716 if test -z "$CC"; then
717 # Extract the first word of "cc", so it can be a program name with args.
718 set dummy cc
; ac_word
=$2
719 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
720 echo "configure:721: checking for $ac_word" >&5
721 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
722 echo $ac_n "(cached) $ac_c" 1>&6
724 if test -n "$CC"; then
725 ac_cv_prog_CC
="$CC" # Let the user override the test.
727 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
729 for ac_dir
in $PATH; do
730 test -z "$ac_dir" && ac_dir
=.
731 if test -f $ac_dir/$ac_word; then
732 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
741 if test $ac_prog_rejected = yes; then
742 # We found a bogon in the path, so make sure we never use it.
743 set dummy
$ac_cv_prog_CC
745 if test $# -gt 0; then
746 # We chose a different compiler from the bogus one.
747 # However, it has the same basename, so the bogon will be chosen
748 # first if we set CC to just the basename; use the full file name.
750 set dummy
"$ac_dir/$ac_word" "$@"
758 if test -n "$CC"; then
759 echo "$ac_t""$CC" 1>&6
761 echo "$ac_t""no" 1>&6
764 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
767 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
768 echo "configure:769: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
771 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
772 ac_cpp
='$CPP $CPPFLAGS'
773 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
774 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
775 cross_compiling
=$ac_cv_prog_cc_cross
777 cat > conftest.
$ac_ext <<EOF
778 #line 779 "configure"
779 #include "confdefs.h"
782 if { (eval echo configure
:783: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
783 ac_cv_prog_cc_works
=yes
784 # If we can't run a trivial program, we are probably using a cross compiler.
785 if (.
/conftest
; exit) 2>/dev
/null
; then
786 ac_cv_prog_cc_cross
=no
788 ac_cv_prog_cc_cross
=yes
791 echo "configure: failed program was:" >&5
792 cat conftest.
$ac_ext >&5
793 ac_cv_prog_cc_works
=no
797 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
798 if test $ac_cv_prog_cc_works = no
; then
799 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
801 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
802 echo "configure:803: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
803 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
804 cross_compiling
=$ac_cv_prog_cc_cross
806 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
807 echo "configure:808: checking whether we are using GNU C" >&5
808 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
809 echo $ac_n "(cached) $ac_c" 1>&6
811 cat > conftest.c
<<EOF
816 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:817: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
823 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
825 if test $ac_cv_prog_gcc = yes; then
827 ac_test_CFLAGS
="${CFLAGS+set}"
828 ac_save_CFLAGS
="$CFLAGS"
830 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
831 echo "configure:832: checking whether ${CC-cc} accepts -g" >&5
832 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
833 echo $ac_n "(cached) $ac_c" 1>&6
835 echo 'void f(){}' > conftest.c
836 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
845 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
846 if test "$ac_test_CFLAGS" = set; then
847 CFLAGS
="$ac_save_CFLAGS"
848 elif test $ac_cv_prog_cc_g = yes; then
855 test "${CFLAGS+set}" = set || CFLAGS
="-g"
859 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
861 if test "x$CC" != xcc
; then
862 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
863 echo "configure:864: checking whether $CC and cc understand -c and -o together" >&5
865 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
866 echo "configure:867: checking whether cc understands -c and -o together" >&5
868 set dummy
$CC; ac_cc
="`echo $2 |
869 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
870 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
871 echo $ac_n "(cached) $ac_c" 1>&6
873 echo 'foo(){}' > conftest.c
874 # Make sure it works both with $CC and with simple cc.
875 # We do the test twice because some compilers refuse to overwrite an
876 # existing .o file with -o, though they will create one.
877 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
878 if { (eval echo configure
:879: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
879 test -f conftest.o
&& { (eval echo configure
:880: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
881 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
882 if test "x$CC" != xcc
; then
883 # Test first that cc exists at all.
884 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:885: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
885 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
886 if { (eval echo configure
:887: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
887 test -f conftest.o
&& { (eval echo configure
:888: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
892 # cc exists but doesn't like -o.
893 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
898 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
903 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
904 echo "$ac_t""yes" 1>&6
906 echo "$ac_t""no" 1>&6
907 cat >> confdefs.h
<<\EOF
908 #define NO_MINUS_C_MINUS_O 1
913 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
914 echo "configure:915: checking how to run the C preprocessor" >&5
915 # On Suns, sometimes $CPP names a directory.
916 if test -n "$CPP" && test -d "$CPP"; then
919 if test -z "$CPP"; then
920 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
921 echo $ac_n "(cached) $ac_c" 1>&6
923 # This must be in double quotes, not single quotes, because CPP may get
924 # substituted into the Makefile and "${CC-cc}" will confuse make.
926 # On the NeXT, cc -E runs the code through the compiler's parser,
927 # not just through cpp.
928 cat > conftest.
$ac_ext <<EOF
929 #line 930 "configure"
930 #include "confdefs.h"
934 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
935 { (eval echo configure
:936: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
936 ac_err
=`grep -v '^ *+' conftest.out`
937 if test -z "$ac_err"; then
941 echo "configure: failed program was:" >&5
942 cat conftest.
$ac_ext >&5
944 CPP
="${CC-cc} -E -traditional-cpp"
945 cat > conftest.
$ac_ext <<EOF
946 #line 947 "configure"
947 #include "confdefs.h"
951 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
952 { (eval echo configure
:953: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
953 ac_err
=`grep -v '^ *+' conftest.out`
954 if test -z "$ac_err"; then
958 echo "configure: failed program was:" >&5
959 cat conftest.
$ac_ext >&5
966 ac_cv_prog_CPP
="$CPP"
968 CPP
="$ac_cv_prog_CPP"
970 ac_cv_prog_CPP
="$CPP"
972 echo "$ac_t""$CPP" 1>&6
974 if test $ac_cv_prog_gcc = yes; then
975 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
976 echo "configure:977: checking whether ${CC-cc} needs -traditional" >&5
977 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
978 echo $ac_n "(cached) $ac_c" 1>&6
980 ac_pattern
="Autoconf.*'x'"
981 cat > conftest.
$ac_ext <<EOF
982 #line 983 "configure"
983 #include "confdefs.h"
987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
988 egrep "$ac_pattern" >/dev
/null
2>&1; then
990 ac_cv_prog_gcc_traditional
=yes
993 ac_cv_prog_gcc_traditional
=no
998 if test $ac_cv_prog_gcc_traditional = no
; then
999 cat > conftest.
$ac_ext <<EOF
1000 #line 1001 "configure"
1001 #include "confdefs.h"
1005 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1006 egrep "$ac_pattern" >/dev
/null
2>&1; then
1008 ac_cv_prog_gcc_traditional
=yes
1015 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1016 if test $ac_cv_prog_gcc_traditional = yes; then
1017 CC
="$CC -traditional"
1024 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1026 # Extract the first word of "$ac_prog", so it can be a program name with args.
1027 set dummy
$ac_prog; ac_word
=$2
1028 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1029 echo "configure:1030: checking for $ac_word" >&5
1030 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1031 echo $ac_n "(cached) $ac_c" 1>&6
1033 if test -n "$CXX"; then
1034 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1036 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1037 for ac_dir
in $PATH; do
1038 test -z "$ac_dir" && ac_dir
=.
1039 if test -f $ac_dir/$ac_word; then
1040 ac_cv_prog_CXX
="$ac_prog"
1047 CXX
="$ac_cv_prog_CXX"
1048 if test -n "$CXX"; then
1049 echo "$ac_t""$CXX" 1>&6
1051 echo "$ac_t""no" 1>&6
1054 test -n "$CXX" && break
1056 test -n "$CXX" || CXX
="gcc"
1059 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1060 echo "configure:1061: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1063 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1064 ac_cpp
='$CXXCPP $CPPFLAGS'
1065 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1066 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1067 cross_compiling
=$ac_cv_prog_cxx_cross
1069 cat > conftest.
$ac_ext <<EOF
1070 #line 1071 "configure"
1071 #include "confdefs.h"
1074 if { (eval echo configure
:1075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1075 ac_cv_prog_cxx_works
=yes
1076 # If we can't run a trivial program, we are probably using a cross compiler.
1077 if (.
/conftest
; exit) 2>/dev
/null
; then
1078 ac_cv_prog_cxx_cross
=no
1080 ac_cv_prog_cxx_cross
=yes
1083 echo "configure: failed program was:" >&5
1084 cat conftest.
$ac_ext >&5
1085 ac_cv_prog_cxx_works
=no
1089 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1090 ac_cpp
='$CPP $CPPFLAGS'
1091 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1092 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1093 cross_compiling
=$ac_cv_prog_cc_cross
1095 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1096 if test $ac_cv_prog_cxx_works = no
; then
1097 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1099 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1100 echo "configure:1101: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1101 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1102 cross_compiling
=$ac_cv_prog_cxx_cross
1104 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1105 echo "configure:1106: checking whether we are using GNU C++" >&5
1106 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1107 echo $ac_n "(cached) $ac_c" 1>&6
1109 cat > conftest.C
<<EOF
1114 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1115: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1121 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1123 if test $ac_cv_prog_gxx = yes; then
1125 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1126 ac_save_CXXFLAGS
="$CXXFLAGS"
1128 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1129 echo "configure:1130: checking whether ${CXX-g++} accepts -g" >&5
1130 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1131 echo $ac_n "(cached) $ac_c" 1>&6
1133 echo 'void f(){}' > conftest.cc
1134 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1135 ac_cv_prog_cxx_g
=yes
1143 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1144 if test "$ac_test_CXXFLAGS" = set; then
1145 CXXFLAGS
="$ac_save_CXXFLAGS"
1146 elif test $ac_cv_prog_cxx_g = yes; then
1153 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1156 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1157 echo "configure:1158: checking how to run the C++ preprocessor" >&5
1158 if test -z "$CXXCPP"; then
1159 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1160 echo $ac_n "(cached) $ac_c" 1>&6
1163 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1164 ac_cpp
='$CXXCPP $CPPFLAGS'
1165 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1166 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1167 cross_compiling
=$ac_cv_prog_cxx_cross
1168 CXXCPP
="${CXX-g++} -E"
1169 cat > conftest.
$ac_ext <<EOF
1170 #line 1171 "configure"
1171 #include "confdefs.h"
1174 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1175 { (eval echo configure
:1176: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1176 ac_err
=`grep -v '^ *+' conftest.out`
1177 if test -z "$ac_err"; then
1181 echo "configure: failed program was:" >&5
1182 cat conftest.
$ac_ext >&5
1187 ac_cv_prog_CXXCPP
="$CXXCPP"
1189 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1190 ac_cpp
='$CPP $CPPFLAGS'
1191 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1192 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1193 cross_compiling
=$ac_cv_prog_cc_cross
1196 CXXCPP
="$ac_cv_prog_CXXCPP"
1197 echo "$ac_t""$CXXCPP" 1>&6
1200 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1204 # Extract the first word of "ranlib", so it can be a program name with args.
1205 set dummy ranlib
; ac_word
=$2
1206 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1207 echo "configure:1208: checking for $ac_word" >&5
1208 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1209 echo $ac_n "(cached) $ac_c" 1>&6
1211 if test -n "$RANLIB"; then
1212 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1214 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1215 for ac_dir
in $PATH; do
1216 test -z "$ac_dir" && ac_dir
=.
1217 if test -f $ac_dir/$ac_word; then
1218 ac_cv_prog_RANLIB
="ranlib"
1223 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1226 RANLIB
="$ac_cv_prog_RANLIB"
1227 if test -n "$RANLIB"; then
1228 echo "$ac_t""$RANLIB" 1>&6
1230 echo "$ac_t""no" 1>&6
1234 # Extract the first word of "ar", so it can be a program name with args.
1235 set dummy
ar; ac_word
=$2
1236 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1237 echo "configure:1238: checking for $ac_word" >&5
1238 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1239 echo $ac_n "(cached) $ac_c" 1>&6
1241 if test -n "$AR"; then
1242 ac_cv_prog_AR
="$AR" # Let the user override the test.
1244 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1245 for ac_dir
in $PATH; do
1246 test -z "$ac_dir" && ac_dir
=.
1247 if test -f $ac_dir/$ac_word; then
1253 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1257 if test -n "$AR"; then
1258 echo "$ac_t""$AR" 1>&6
1260 echo "$ac_t""no" 1>&6
1265 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1266 if test -f $ac_dir/install-sh; then
1268 ac_install_sh
="$ac_aux_dir/install-sh -c"
1270 elif test -f $ac_dir/install.sh
; then
1272 ac_install_sh
="$ac_aux_dir/install.sh -c"
1276 if test -z "$ac_aux_dir"; then
1277 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1279 ac_config_guess
=$ac_aux_dir/config.guess
1280 ac_config_sub
=$ac_aux_dir/config.sub
1281 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1283 # Find a good install program. We prefer a C program (faster),
1284 # so one script is as good as another. But avoid the broken or
1285 # incompatible versions:
1286 # SysV /etc/install, /usr/sbin/install
1287 # SunOS /usr/etc/install
1288 # IRIX /sbin/install
1290 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1291 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1292 # ./install, which can be erroneously created by make from ./install.sh.
1293 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1294 echo "configure:1295: checking for a BSD compatible install" >&5
1295 if test -z "$INSTALL"; then
1296 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1297 echo $ac_n "(cached) $ac_c" 1>&6
1299 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1300 for ac_dir
in $PATH; do
1301 # Account for people who put trailing slashes in PATH elements.
1303 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1305 # OSF1 and SCO ODT 3.0 have their own names for install.
1306 for ac_prog
in ginstall installbsd scoinst
install; do
1307 if test -f $ac_dir/$ac_prog; then
1308 if test $ac_prog = install &&
1309 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1310 # AIX install. It has an incompatible calling convention.
1311 # OSF/1 installbsd also uses dspmsg, but is usable.
1314 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1325 if test "${ac_cv_path_install+set}" = set; then
1326 INSTALL
="$ac_cv_path_install"
1328 # As a last resort, use the slow shell script. We don't cache a
1329 # path for INSTALL within a source directory, because that will
1330 # break other packages using the cache if that directory is
1331 # removed, or if the path is relative.
1332 INSTALL
="$ac_install_sh"
1335 echo "$ac_t""$INSTALL" 1>&6
1337 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1338 # It thinks the first close brace ends the variable substitution.
1339 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1341 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1344 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1345 echo "configure:1346: checking whether ln -s works" >&5
1346 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1347 echo $ac_n "(cached) $ac_c" 1>&6
1350 if ln -s X conftestdata
2>/dev
/null
1353 ac_cv_prog_LN_S
="ln -s"
1358 LN_S
="$ac_cv_prog_LN_S"
1359 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1360 echo "$ac_t""yes" 1>&6
1362 echo "$ac_t""no" 1>&6
1366 for ac_prog
in mawk gawk nawk
awk
1368 # Extract the first word of "$ac_prog", so it can be a program name with args.
1369 set dummy
$ac_prog; ac_word
=$2
1370 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1371 echo "configure:1372: checking for $ac_word" >&5
1372 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1373 echo $ac_n "(cached) $ac_c" 1>&6
1375 if test -n "$AWK"; then
1376 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1378 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1379 for ac_dir
in $PATH; do
1380 test -z "$ac_dir" && ac_dir
=.
1381 if test -f $ac_dir/$ac_word; then
1382 ac_cv_prog_AWK
="$ac_prog"
1389 AWK
="$ac_cv_prog_AWK"
1390 if test -n "$AWK"; then
1391 echo "$ac_t""$AWK" 1>&6
1393 echo "$ac_t""no" 1>&6
1396 test -n "$AWK" && break
1400 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1401 echo "configure:1402: checking "make for VPATH support
"" >&5
1402 cat - << EOF > confMake
1408 if test ! -d sub
; then
1411 echo dummy
> sub
/file
1412 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1414 rm -f sub
/file check final_file config.log confMake
1416 if test "$RESULT" = 0; then
1417 echo "$ac_t""yes" 1>&6
1419 echo "$ac_t""no" 1>&6
1420 { echo "configure: error: You need a make-utility that is able to use the variable
1422 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1426 # If we find X, set shell vars x_includes and x_libraries to the
1427 # paths, otherwise set no_x=yes.
1428 # Uses ac_ vars as temps to allow command line to override cache and checks.
1429 # --without-x overrides everything else, but does not touch the cache.
1430 echo $ac_n "checking for X""... $ac_c" 1>&6
1431 echo "configure:1432: checking for X" >&5
1433 # Check whether --with-x or --without-x was given.
1434 if test "${with_x+set}" = set; then
1439 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1440 if test "x$with_x" = xno
; then
1441 # The user explicitly disabled X.
1444 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1445 # Both variables are already set.
1448 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1449 echo $ac_n "(cached) $ac_c" 1>&6
1451 # One or both of the vars are not set, and there is no cached value.
1452 ac_x_includes
=NO ac_x_libraries
=NO
1454 if mkdir conftestdir
; then
1456 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1457 cat > Imakefile
<<'EOF'
1459 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1461 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1462 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1463 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1464 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1465 for ac_extension
in a so sl
; do
1466 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1467 test -f $ac_im_libdir/libX11.
$ac_extension; then
1468 ac_im_usrlibdir
=$ac_im_libdir; break
1471 # Screen out bogus values from the imake configuration. They are
1472 # bogus both because they are the default anyway, and because
1473 # using them would break gcc on systems where it needs fixed includes.
1474 case "$ac_im_incroot" in
1476 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1478 case "$ac_im_usrlibdir" in
1480 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1487 if test "$ac_x_includes" = NO
; then
1488 # Guess where to find include files, by looking for this one X11 .h file.
1489 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1491 # First, try using that file with no special directory specified.
1492 cat > conftest.
$ac_ext <<EOF
1493 #line 1494 "configure"
1494 #include "confdefs.h"
1495 #include <$x_direct_test_include>
1497 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1498 { (eval echo configure
:1499: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1499 ac_err
=`grep -v '^ *+' conftest.out`
1500 if test -z "$ac_err"; then
1502 # We can compile using X headers with no special include directory.
1506 echo "configure: failed program was:" >&5
1507 cat conftest.
$ac_ext >&5
1509 # Look for the header file in a standard set of common directories.
1510 # Check X11 before X11Rn because it is often a symlink to the current release.
1513 /usr
/X
11R
6/include \
1514 /usr
/X
11R
5/include \
1515 /usr
/X
11R
4/include \
1518 /usr
/include
/X11R6 \
1519 /usr
/include
/X11R5 \
1520 /usr
/include
/X11R4 \
1522 /usr
/local
/X
11/include \
1523 /usr
/local
/X
11R
6/include \
1524 /usr
/local
/X
11R
5/include \
1525 /usr
/local
/X
11R
4/include \
1527 /usr
/local
/include
/X11 \
1528 /usr
/local
/include
/X11R6 \
1529 /usr
/local
/include
/X11R5 \
1530 /usr
/local
/include
/X11R4 \
1534 /usr
/XFree
86/include
/X11 \
1537 /usr
/local
/include \
1538 /usr
/unsupported
/include \
1539 /usr
/athena
/include \
1540 /usr
/local
/x
11r
5/include \
1541 /usr
/lpp
/Xamples
/include \
1543 /usr
/openwin
/include \
1544 /usr
/openwin
/share
/include \
1547 if test -r "$ac_dir/$x_direct_test_include"; then
1548 ac_x_includes
=$ac_dir
1554 fi # $ac_x_includes = NO
1556 if test "$ac_x_libraries" = NO
; then
1557 # Check for the libraries.
1559 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1560 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1562 # See if we find them without any special options.
1563 # Don't add to $LIBS permanently.
1564 ac_save_LIBS
="$LIBS"
1565 LIBS
="-l$x_direct_test_library $LIBS"
1566 cat > conftest.
$ac_ext <<EOF
1567 #line 1568 "configure"
1568 #include "confdefs.h"
1571 ${x_direct_test_function}()
1574 if { (eval echo configure
:1575: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1576 LIBS
="$ac_save_LIBS"
1577 # We can link X programs with no special library path.
1580 echo "configure: failed program was:" >&5
1581 cat conftest.
$ac_ext >&5
1583 LIBS
="$ac_save_LIBS"
1584 # First see if replacing the include by lib works.
1585 # Check X11 before X11Rn because it is often a symlink to the current release.
1586 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1597 /usr
/local
/X
11/lib \
1598 /usr
/local
/X
11R
6/lib \
1599 /usr
/local
/X
11R
5/lib \
1600 /usr
/local
/X
11R
4/lib \
1602 /usr
/local
/lib
/X11 \
1603 /usr
/local
/lib
/X11R6 \
1604 /usr
/local
/lib
/X11R5 \
1605 /usr
/local
/lib
/X11R4 \
1609 /usr
/XFree
86/lib
/X11 \
1613 /usr
/unsupported
/lib \
1615 /usr
/local
/x
11r
5/lib \
1616 /usr
/lpp
/Xamples
/lib \
1620 /usr
/openwin
/share
/lib \
1623 for ac_extension
in a so sl
; do
1624 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1625 ac_x_libraries
=$ac_dir
1632 fi # $ac_x_libraries = NO
1634 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1635 # Didn't find X anywhere. Cache the known absence of X.
1636 ac_cv_have_x
="have_x=no"
1638 # Record where we found X for the cache.
1639 ac_cv_have_x
="have_x=yes \
1640 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1644 eval "$ac_cv_have_x"
1647 if test "$have_x" != yes; then
1648 echo "$ac_t""$have_x" 1>&6
1651 # If each of the values was on the command line, it overrides each guess.
1652 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1653 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1654 # Update the cache value to reflect the command line values.
1655 ac_cv_have_x
="have_x=yes \
1656 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1657 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1660 if test "$no_x" = yes; then
1661 # Not all programs may use this symbol, but it does not hurt to define it.
1662 cat >> confdefs.h
<<\EOF
1663 #define X_DISPLAY_MISSING 1
1666 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1668 if test -n "$x_includes"; then
1669 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1672 # It would also be nice to do this for all -L options, not just this one.
1673 if test -n "$x_libraries"; then
1674 X_LIBS
="$X_LIBS -L$x_libraries"
1675 # For Solaris; some versions of Sun CC require a space after -R and
1676 # others require no space. Words are not sufficient . . . .
1677 case "`(uname -sr) 2>/dev/null`" in
1679 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1680 echo "configure:1681: checking whether -R must be followed by a space" >&5
1681 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1682 cat > conftest.
$ac_ext <<EOF
1683 #line 1684 "configure"
1684 #include "confdefs.h"
1690 if { (eval echo configure
:1691: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1694 echo "configure: failed program was:" >&5
1695 cat conftest.
$ac_ext >&5
1700 if test $ac_R_nospace = yes; then
1701 echo "$ac_t""no" 1>&6
1702 X_LIBS
="$X_LIBS -R$x_libraries"
1704 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1705 cat > conftest.
$ac_ext <<EOF
1706 #line 1707 "configure"
1707 #include "confdefs.h"
1713 if { (eval echo configure
:1714: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1717 echo "configure: failed program was:" >&5
1718 cat conftest.
$ac_ext >&5
1723 if test $ac_R_space = yes; then
1724 echo "$ac_t""yes" 1>&6
1725 X_LIBS
="$X_LIBS -R $x_libraries"
1727 echo "$ac_t""neither works" 1>&6
1730 LIBS
="$ac_xsave_LIBS"
1734 # Check for system-dependent libraries X programs must link with.
1735 # Do this before checking for the system-independent R6 libraries
1736 # (-lICE), since we may need -lsocket or whatever for X linking.
1738 if test "$ISC" = yes; then
1739 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1741 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1742 # libraries were built with DECnet support. And karl@cs.umb.edu says
1743 # the Alpha needs dnet_stub (dnet does not exist).
1744 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1745 echo "configure:1746: checking for dnet_ntoa in -ldnet" >&5
1746 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1747 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1748 echo $ac_n "(cached) $ac_c" 1>&6
1750 ac_save_LIBS
="$LIBS"
1752 cat > conftest.
$ac_ext <<EOF
1753 #line 1754 "configure"
1754 #include "confdefs.h"
1755 /* Override any gcc2 internal prototype to avoid an error. */
1756 /* We use char because int might match the return type of a gcc2
1757 builtin and then its argument prototype would still apply. */
1764 if { (eval echo configure
:1765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1766 eval "ac_cv_lib_$ac_lib_var=yes"
1768 echo "configure: failed program was:" >&5
1769 cat conftest.
$ac_ext >&5
1771 eval "ac_cv_lib_$ac_lib_var=no"
1774 LIBS
="$ac_save_LIBS"
1777 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1778 echo "$ac_t""yes" 1>&6
1779 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1781 echo "$ac_t""no" 1>&6
1784 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1785 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1786 echo "configure:1787: checking for dnet_ntoa in -ldnet_stub" >&5
1787 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1788 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1789 echo $ac_n "(cached) $ac_c" 1>&6
1791 ac_save_LIBS
="$LIBS"
1792 LIBS
="-ldnet_stub $LIBS"
1793 cat > conftest.
$ac_ext <<EOF
1794 #line 1795 "configure"
1795 #include "confdefs.h"
1796 /* Override any gcc2 internal prototype to avoid an error. */
1797 /* We use char because int might match the return type of a gcc2
1798 builtin and then its argument prototype would still apply. */
1805 if { (eval echo configure
:1806: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1807 eval "ac_cv_lib_$ac_lib_var=yes"
1809 echo "configure: failed program was:" >&5
1810 cat conftest.
$ac_ext >&5
1812 eval "ac_cv_lib_$ac_lib_var=no"
1815 LIBS
="$ac_save_LIBS"
1818 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1819 echo "$ac_t""yes" 1>&6
1820 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1822 echo "$ac_t""no" 1>&6
1827 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1828 # to get the SysV transport functions.
1829 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1831 # The nsl library prevents programs from opening the X display
1832 # on Irix 5.2, according to dickey@clark.net.
1833 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1834 echo "configure:1835: checking for gethostbyname" >&5
1835 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1836 echo $ac_n "(cached) $ac_c" 1>&6
1838 cat > conftest.
$ac_ext <<EOF
1839 #line 1840 "configure"
1840 #include "confdefs.h"
1841 /* System header to define __stub macros and hopefully few prototypes,
1842 which can conflict with char gethostbyname(); below. */
1844 /* Override any gcc2 internal prototype to avoid an error. */
1845 /* We use char because int might match the return type of a gcc2
1846 builtin and then its argument prototype would still apply. */
1847 char gethostbyname();
1851 /* The GNU C library defines this for functions which it implements
1852 to always fail with ENOSYS. Some functions are actually named
1853 something starting with __ and the normal name is an alias. */
1854 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1862 if { (eval echo configure
:1863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1864 eval "ac_cv_func_gethostbyname=yes"
1866 echo "configure: failed program was:" >&5
1867 cat conftest.
$ac_ext >&5
1869 eval "ac_cv_func_gethostbyname=no"
1874 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1875 echo "$ac_t""yes" 1>&6
1878 echo "$ac_t""no" 1>&6
1881 if test $ac_cv_func_gethostbyname = no
; then
1882 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1883 echo "configure:1884: checking for gethostbyname in -lnsl" >&5
1884 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1885 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1886 echo $ac_n "(cached) $ac_c" 1>&6
1888 ac_save_LIBS
="$LIBS"
1890 cat > conftest.
$ac_ext <<EOF
1891 #line 1892 "configure"
1892 #include "confdefs.h"
1893 /* Override any gcc2 internal prototype to avoid an error. */
1894 /* We use char because int might match the return type of a gcc2
1895 builtin and then its argument prototype would still apply. */
1896 char gethostbyname();
1902 if { (eval echo configure
:1903: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1904 eval "ac_cv_lib_$ac_lib_var=yes"
1906 echo "configure: failed program was:" >&5
1907 cat conftest.
$ac_ext >&5
1909 eval "ac_cv_lib_$ac_lib_var=no"
1912 LIBS
="$ac_save_LIBS"
1915 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1916 echo "$ac_t""yes" 1>&6
1917 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
1919 echo "$ac_t""no" 1>&6
1924 # lieder@skyler.mavd.honeywell.com says without -lsocket,
1925 # socket/setsockopt and other routines are undefined under SCO ODT
1926 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
1927 # on later versions), says simon@lia.di.epfl.ch: it contains
1928 # gethostby* variants that don't use the nameserver (or something).
1929 # -lsocket must be given before -lnsl if both are needed.
1930 # We assume that if connect needs -lnsl, so does gethostbyname.
1931 echo $ac_n "checking for connect""... $ac_c" 1>&6
1932 echo "configure:1933: checking for connect" >&5
1933 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1934 echo $ac_n "(cached) $ac_c" 1>&6
1936 cat > conftest.
$ac_ext <<EOF
1937 #line 1938 "configure"
1938 #include "confdefs.h"
1939 /* System header to define __stub macros and hopefully few prototypes,
1940 which can conflict with char connect(); below. */
1942 /* Override any gcc2 internal prototype to avoid an error. */
1943 /* We use char because int might match the return type of a gcc2
1944 builtin and then its argument prototype would still apply. */
1949 /* The GNU C library defines this for functions which it implements
1950 to always fail with ENOSYS. Some functions are actually named
1951 something starting with __ and the normal name is an alias. */
1952 #if defined (__stub_connect) || defined (__stub___connect)
1960 if { (eval echo configure
:1961: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1962 eval "ac_cv_func_connect=yes"
1964 echo "configure: failed program was:" >&5
1965 cat conftest.
$ac_ext >&5
1967 eval "ac_cv_func_connect=no"
1972 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1973 echo "$ac_t""yes" 1>&6
1976 echo "$ac_t""no" 1>&6
1979 if test $ac_cv_func_connect = no
; then
1980 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1981 echo "configure:1982: checking for connect in -lsocket" >&5
1982 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1983 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1984 echo $ac_n "(cached) $ac_c" 1>&6
1986 ac_save_LIBS
="$LIBS"
1987 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
1988 cat > conftest.
$ac_ext <<EOF
1989 #line 1990 "configure"
1990 #include "confdefs.h"
1991 /* Override any gcc2 internal prototype to avoid an error. */
1992 /* We use char because int might match the return type of a gcc2
1993 builtin and then its argument prototype would still apply. */
2000 if { (eval echo configure
:2001: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2002 eval "ac_cv_lib_$ac_lib_var=yes"
2004 echo "configure: failed program was:" >&5
2005 cat conftest.
$ac_ext >&5
2007 eval "ac_cv_lib_$ac_lib_var=no"
2010 LIBS
="$ac_save_LIBS"
2013 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2014 echo "$ac_t""yes" 1>&6
2015 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2017 echo "$ac_t""no" 1>&6
2022 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2023 echo $ac_n "checking for remove""... $ac_c" 1>&6
2024 echo "configure:2025: checking for remove" >&5
2025 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2026 echo $ac_n "(cached) $ac_c" 1>&6
2028 cat > conftest.
$ac_ext <<EOF
2029 #line 2030 "configure"
2030 #include "confdefs.h"
2031 /* System header to define __stub macros and hopefully few prototypes,
2032 which can conflict with char remove(); below. */
2034 /* Override any gcc2 internal prototype to avoid an error. */
2035 /* We use char because int might match the return type of a gcc2
2036 builtin and then its argument prototype would still apply. */
2041 /* The GNU C library defines this for functions which it implements
2042 to always fail with ENOSYS. Some functions are actually named
2043 something starting with __ and the normal name is an alias. */
2044 #if defined (__stub_remove) || defined (__stub___remove)
2052 if { (eval echo configure
:2053: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2054 eval "ac_cv_func_remove=yes"
2056 echo "configure: failed program was:" >&5
2057 cat conftest.
$ac_ext >&5
2059 eval "ac_cv_func_remove=no"
2064 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2065 echo "$ac_t""yes" 1>&6
2068 echo "$ac_t""no" 1>&6
2071 if test $ac_cv_func_remove = no
; then
2072 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2073 echo "configure:2074: checking for remove in -lposix" >&5
2074 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2075 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2076 echo $ac_n "(cached) $ac_c" 1>&6
2078 ac_save_LIBS
="$LIBS"
2079 LIBS
="-lposix $LIBS"
2080 cat > conftest.
$ac_ext <<EOF
2081 #line 2082 "configure"
2082 #include "confdefs.h"
2083 /* Override any gcc2 internal prototype to avoid an error. */
2084 /* We use char because int might match the return type of a gcc2
2085 builtin and then its argument prototype would still apply. */
2092 if { (eval echo configure
:2093: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2094 eval "ac_cv_lib_$ac_lib_var=yes"
2096 echo "configure: failed program was:" >&5
2097 cat conftest.
$ac_ext >&5
2099 eval "ac_cv_lib_$ac_lib_var=no"
2102 LIBS
="$ac_save_LIBS"
2105 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2106 echo "$ac_t""yes" 1>&6
2107 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2109 echo "$ac_t""no" 1>&6
2114 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2115 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2116 echo "configure:2117: checking for shmat" >&5
2117 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2118 echo $ac_n "(cached) $ac_c" 1>&6
2120 cat > conftest.
$ac_ext <<EOF
2121 #line 2122 "configure"
2122 #include "confdefs.h"
2123 /* System header to define __stub macros and hopefully few prototypes,
2124 which can conflict with char shmat(); below. */
2126 /* Override any gcc2 internal prototype to avoid an error. */
2127 /* We use char because int might match the return type of a gcc2
2128 builtin and then its argument prototype would still apply. */
2133 /* The GNU C library defines this for functions which it implements
2134 to always fail with ENOSYS. Some functions are actually named
2135 something starting with __ and the normal name is an alias. */
2136 #if defined (__stub_shmat) || defined (__stub___shmat)
2144 if { (eval echo configure
:2145: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2146 eval "ac_cv_func_shmat=yes"
2148 echo "configure: failed program was:" >&5
2149 cat conftest.
$ac_ext >&5
2151 eval "ac_cv_func_shmat=no"
2156 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2157 echo "$ac_t""yes" 1>&6
2160 echo "$ac_t""no" 1>&6
2163 if test $ac_cv_func_shmat = no
; then
2164 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2165 echo "configure:2166: checking for shmat in -lipc" >&5
2166 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2167 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2168 echo $ac_n "(cached) $ac_c" 1>&6
2170 ac_save_LIBS
="$LIBS"
2172 cat > conftest.
$ac_ext <<EOF
2173 #line 2174 "configure"
2174 #include "confdefs.h"
2175 /* Override any gcc2 internal prototype to avoid an error. */
2176 /* We use char because int might match the return type of a gcc2
2177 builtin and then its argument prototype would still apply. */
2184 if { (eval echo configure
:2185: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2186 eval "ac_cv_lib_$ac_lib_var=yes"
2188 echo "configure: failed program was:" >&5
2189 cat conftest.
$ac_ext >&5
2191 eval "ac_cv_lib_$ac_lib_var=no"
2194 LIBS
="$ac_save_LIBS"
2197 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2198 echo "$ac_t""yes" 1>&6
2199 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2201 echo "$ac_t""no" 1>&6
2207 # Check for libraries that X11R6 Xt/Xaw programs need.
2208 ac_save_LDFLAGS
="$LDFLAGS"
2209 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2210 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2211 # check for ICE first), but we must link in the order -lSM -lICE or
2212 # we get undefined symbols. So assume we have SM if we have ICE.
2213 # These have to be linked with before -lX11, unlike the other
2214 # libraries we check for below, so use a different variable.
2215 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2216 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2217 echo "configure:2218: checking for IceConnectionNumber in -lICE" >&5
2218 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2219 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2220 echo $ac_n "(cached) $ac_c" 1>&6
2222 ac_save_LIBS
="$LIBS"
2224 cat > conftest.
$ac_ext <<EOF
2225 #line 2226 "configure"
2226 #include "confdefs.h"
2227 /* Override any gcc2 internal prototype to avoid an error. */
2228 /* We use char because int might match the return type of a gcc2
2229 builtin and then its argument prototype would still apply. */
2230 char IceConnectionNumber();
2233 IceConnectionNumber()
2236 if { (eval echo configure
:2237: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2238 eval "ac_cv_lib_$ac_lib_var=yes"
2240 echo "configure: failed program was:" >&5
2241 cat conftest.
$ac_ext >&5
2243 eval "ac_cv_lib_$ac_lib_var=no"
2246 LIBS
="$ac_save_LIBS"
2249 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2250 echo "$ac_t""yes" 1>&6
2251 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2253 echo "$ac_t""no" 1>&6
2256 LDFLAGS
="$ac_save_LDFLAGS"
2262 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2264 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2265 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2266 echo "configure:2267: checking for $ac_hdr that defines DIR" >&5
2267 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2268 echo $ac_n "(cached) $ac_c" 1>&6
2270 cat > conftest.
$ac_ext <<EOF
2271 #line 2272 "configure"
2272 #include "confdefs.h"
2273 #include <sys/types.h>
2279 if { (eval echo configure
:2280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2281 eval "ac_cv_header_dirent_$ac_safe=yes"
2283 echo "configure: failed program was:" >&5
2284 cat conftest.
$ac_ext >&5
2286 eval "ac_cv_header_dirent_$ac_safe=no"
2290 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2291 echo "$ac_t""yes" 1>&6
2292 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2293 cat >> confdefs.h
<<EOF
2294 #define $ac_tr_hdr 1
2296 ac_header_dirent
=$ac_hdr; break
2298 echo "$ac_t""no" 1>&6
2301 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2302 if test $ac_header_dirent = dirent.h
; then
2303 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2304 echo "configure:2305: checking for opendir in -ldir" >&5
2305 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2306 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2307 echo $ac_n "(cached) $ac_c" 1>&6
2309 ac_save_LIBS
="$LIBS"
2311 cat > conftest.
$ac_ext <<EOF
2312 #line 2313 "configure"
2313 #include "confdefs.h"
2314 /* Override any gcc2 internal prototype to avoid an error. */
2315 /* We use char because int might match the return type of a gcc2
2316 builtin and then its argument prototype would still apply. */
2323 if { (eval echo configure
:2324: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2325 eval "ac_cv_lib_$ac_lib_var=yes"
2327 echo "configure: failed program was:" >&5
2328 cat conftest.
$ac_ext >&5
2330 eval "ac_cv_lib_$ac_lib_var=no"
2333 LIBS
="$ac_save_LIBS"
2336 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2337 echo "$ac_t""yes" 1>&6
2340 echo "$ac_t""no" 1>&6
2344 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2345 echo "configure:2346: checking for opendir in -lx" >&5
2346 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2347 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2348 echo $ac_n "(cached) $ac_c" 1>&6
2350 ac_save_LIBS
="$LIBS"
2352 cat > conftest.
$ac_ext <<EOF
2353 #line 2354 "configure"
2354 #include "confdefs.h"
2355 /* Override any gcc2 internal prototype to avoid an error. */
2356 /* We use char because int might match the return type of a gcc2
2357 builtin and then its argument prototype would still apply. */
2364 if { (eval echo configure
:2365: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2366 eval "ac_cv_lib_$ac_lib_var=yes"
2368 echo "configure: failed program was:" >&5
2369 cat conftest.
$ac_ext >&5
2371 eval "ac_cv_lib_$ac_lib_var=no"
2374 LIBS
="$ac_save_LIBS"
2377 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2378 echo "$ac_t""yes" 1>&6
2381 echo "$ac_t""no" 1>&6
2386 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2387 echo "configure:2388: checking for ANSI C header files" >&5
2388 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2389 echo $ac_n "(cached) $ac_c" 1>&6
2391 cat > conftest.
$ac_ext <<EOF
2392 #line 2393 "configure"
2393 #include "confdefs.h"
2399 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2400 { (eval echo configure
:2401: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2401 ac_err
=`grep -v '^ *+' conftest.out`
2402 if test -z "$ac_err"; then
2404 ac_cv_header_stdc
=yes
2407 echo "configure: failed program was:" >&5
2408 cat conftest.
$ac_ext >&5
2410 ac_cv_header_stdc
=no
2414 if test $ac_cv_header_stdc = yes; then
2415 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2416 cat > conftest.
$ac_ext <<EOF
2417 #line 2418 "configure"
2418 #include "confdefs.h"
2421 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2422 egrep "memchr" >/dev
/null
2>&1; then
2426 ac_cv_header_stdc
=no
2432 if test $ac_cv_header_stdc = yes; then
2433 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2434 cat > conftest.
$ac_ext <<EOF
2435 #line 2436 "configure"
2436 #include "confdefs.h"
2439 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2440 egrep "free" >/dev
/null
2>&1; then
2444 ac_cv_header_stdc
=no
2450 if test $ac_cv_header_stdc = yes; then
2451 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2452 if test "$cross_compiling" = yes; then
2455 cat > conftest.
$ac_ext <<EOF
2456 #line 2457 "configure"
2457 #include "confdefs.h"
2459 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2460 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2461 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2462 int main () { int i; for (i = 0; i < 256; i++)
2463 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2467 if { (eval echo configure
:2468: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2471 echo "configure: failed program was:" >&5
2472 cat conftest.
$ac_ext >&5
2474 ac_cv_header_stdc
=no
2482 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2483 if test $ac_cv_header_stdc = yes; then
2484 cat >> confdefs.h
<<\EOF
2485 #define STDC_HEADERS 1
2490 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2491 echo "configure:2492: checking for sys/wait.h that is POSIX.1 compatible" >&5
2492 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2493 echo $ac_n "(cached) $ac_c" 1>&6
2495 cat > conftest.
$ac_ext <<EOF
2496 #line 2497 "configure"
2497 #include "confdefs.h"
2498 #include <sys/types.h>
2499 #include <sys/wait.h>
2501 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2504 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2509 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2512 if { (eval echo configure
:2513: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2514 ac_cv_header_sys_wait_h
=yes
2516 echo "configure: failed program was:" >&5
2517 cat conftest.
$ac_ext >&5
2519 ac_cv_header_sys_wait_h
=no
2524 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2525 if test $ac_cv_header_sys_wait_h = yes; then
2526 cat >> confdefs.h
<<\EOF
2527 #define HAVE_SYS_WAIT_H 1
2532 ac_safe
=`echo "fcntl.h" | sed 'y%./+-%__p_%'`
2533 echo $ac_n "checking for fcntl.h""... $ac_c" 1>&6
2534 echo "configure:2535: checking for fcntl.h" >&5
2535 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2536 echo $ac_n "(cached) $ac_c" 1>&6
2538 cat > conftest.
$ac_ext <<EOF
2539 #line 2540 "configure"
2540 #include "confdefs.h"
2543 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2544 { (eval echo configure
:2545: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2545 ac_err
=`grep -v '^ *+' conftest.out`
2546 if test -z "$ac_err"; then
2548 eval "ac_cv_header_$ac_safe=yes"
2551 echo "configure: failed program was:" >&5
2552 cat conftest.
$ac_ext >&5
2554 eval "ac_cv_header_$ac_safe=no"
2558 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2559 echo "$ac_t""yes" 1>&6
2562 echo "$ac_t""no" 1>&6
2565 ac_safe
=`echo "limits.h" | sed 'y%./+-%__p_%'`
2566 echo $ac_n "checking for limits.h""... $ac_c" 1>&6
2567 echo "configure:2568: checking for limits.h" >&5
2568 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2569 echo $ac_n "(cached) $ac_c" 1>&6
2571 cat > conftest.
$ac_ext <<EOF
2572 #line 2573 "configure"
2573 #include "confdefs.h"
2576 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2577 { (eval echo configure
:2578: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2578 ac_err
=`grep -v '^ *+' conftest.out`
2579 if test -z "$ac_err"; then
2581 eval "ac_cv_header_$ac_safe=yes"
2584 echo "configure: failed program was:" >&5
2585 cat conftest.
$ac_ext >&5
2587 eval "ac_cv_header_$ac_safe=no"
2591 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2592 echo "$ac_t""yes" 1>&6
2595 echo "$ac_t""no" 1>&6
2598 ac_safe
=`echo "sys/file.h" | sed 'y%./+-%__p_%'`
2599 echo $ac_n "checking for sys/file.h""... $ac_c" 1>&6
2600 echo "configure:2601: checking for sys/file.h" >&5
2601 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2602 echo $ac_n "(cached) $ac_c" 1>&6
2604 cat > conftest.
$ac_ext <<EOF
2605 #line 2606 "configure"
2606 #include "confdefs.h"
2607 #include <sys/file.h>
2609 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2610 { (eval echo configure
:2611: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2611 ac_err
=`grep -v '^ *+' conftest.out`
2612 if test -z "$ac_err"; then
2614 eval "ac_cv_header_$ac_safe=yes"
2617 echo "configure: failed program was:" >&5
2618 cat conftest.
$ac_ext >&5
2620 eval "ac_cv_header_$ac_safe=no"
2624 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2625 echo "$ac_t""yes" 1>&6
2628 echo "$ac_t""no" 1>&6
2631 ac_safe
=`echo "sys/time.h" | sed 'y%./+-%__p_%'`
2632 echo $ac_n "checking for sys/time.h""... $ac_c" 1>&6
2633 echo "configure:2634: checking for sys/time.h" >&5
2634 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2635 echo $ac_n "(cached) $ac_c" 1>&6
2637 cat > conftest.
$ac_ext <<EOF
2638 #line 2639 "configure"
2639 #include "confdefs.h"
2640 #include <sys/time.h>
2642 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2643 { (eval echo configure
:2644: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2644 ac_err
=`grep -v '^ *+' conftest.out`
2645 if test -z "$ac_err"; then
2647 eval "ac_cv_header_$ac_safe=yes"
2650 echo "configure: failed program was:" >&5
2651 cat conftest.
$ac_ext >&5
2653 eval "ac_cv_header_$ac_safe=no"
2657 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2658 echo "$ac_t""yes" 1>&6
2661 echo "$ac_t""no" 1>&6
2664 ac_safe
=`echo "unistd.h" | sed 'y%./+-%__p_%'`
2665 echo $ac_n "checking for unistd.h""... $ac_c" 1>&6
2666 echo "configure:2667: checking for unistd.h" >&5
2667 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2668 echo $ac_n "(cached) $ac_c" 1>&6
2670 cat > conftest.
$ac_ext <<EOF
2671 #line 2672 "configure"
2672 #include "confdefs.h"
2675 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2676 { (eval echo configure
:2677: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2677 ac_err
=`grep -v '^ *+' conftest.out`
2678 if test -z "$ac_err"; then
2680 eval "ac_cv_header_$ac_safe=yes"
2683 echo "configure: failed program was:" >&5
2684 cat conftest.
$ac_ext >&5
2686 eval "ac_cv_header_$ac_safe=no"
2690 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2691 echo "$ac_t""yes" 1>&6
2694 echo "$ac_t""no" 1>&6
2697 ac_safe
=`echo "linux/joystick.h" | sed 'y%./+-%__p_%'`
2698 echo $ac_n "checking for linux/joystick.h""... $ac_c" 1>&6
2699 echo "configure:2700: checking for linux/joystick.h" >&5
2700 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2701 echo $ac_n "(cached) $ac_c" 1>&6
2703 cat > conftest.
$ac_ext <<EOF
2704 #line 2705 "configure"
2705 #include "confdefs.h"
2706 #include <linux/joystick.h>
2708 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2709 { (eval echo configure
:2710: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2710 ac_err
=`grep -v '^ *+' conftest.out`
2711 if test -z "$ac_err"; then
2713 eval "ac_cv_header_$ac_safe=yes"
2716 echo "configure: failed program was:" >&5
2717 cat conftest.
$ac_ext >&5
2719 eval "ac_cv_header_$ac_safe=no"
2723 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2724 echo "$ac_t""yes" 1>&6
2727 echo "$ac_t""no" 1>&6
2731 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
2732 GTK_JOYSTICK
="gtk/joystick.cpp"
2736 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
2737 echo "configure:2738: checking for uid_t in sys/types.h" >&5
2738 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
2739 echo $ac_n "(cached) $ac_c" 1>&6
2741 cat > conftest.
$ac_ext <<EOF
2742 #line 2743 "configure"
2743 #include "confdefs.h"
2744 #include <sys/types.h>
2746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2747 egrep "uid_t" >/dev
/null
2>&1; then
2749 ac_cv_type_uid_t
=yes
2758 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
2759 if test $ac_cv_type_uid_t = no
; then
2760 cat >> confdefs.h
<<\EOF
2764 cat >> confdefs.h
<<\EOF
2770 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
2771 echo "configure:2772: checking type of array argument to getgroups" >&5
2772 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
2773 echo $ac_n "(cached) $ac_c" 1>&6
2775 if test "$cross_compiling" = yes; then
2776 ac_cv_type_getgroups
=cross
2778 cat > conftest.
$ac_ext <<EOF
2779 #line 2780 "configure"
2780 #include "confdefs.h"
2782 /* Thanks to Mike Rendell for this test. */
2783 #include <sys/types.h>
2786 #define MAX(x, y) ((x) > (y) ? (x) : (y))
2791 union { gid_t gval; long lval; } val;
2794 for (i = 0; i < NGID; i++)
2795 gidset[i] = val.gval;
2796 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
2798 /* Exit non-zero if getgroups seems to require an array of ints. This
2799 happens when gid_t is short but getgroups modifies an array of ints. */
2800 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
2804 if { (eval echo configure
:2805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2806 ac_cv_type_getgroups
=gid_t
2808 echo "configure: failed program was:" >&5
2809 cat conftest.
$ac_ext >&5
2811 ac_cv_type_getgroups
=int
2816 if test $ac_cv_type_getgroups = cross
; then
2817 cat > conftest.
$ac_ext <<EOF
2818 #line 2819 "configure"
2819 #include "confdefs.h"
2822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2823 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
2825 ac_cv_type_getgroups
=gid_t
2828 ac_cv_type_getgroups
=int
2835 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
2836 cat >> confdefs.h
<<EOF
2837 #define GETGROUPS_T $ac_cv_type_getgroups
2841 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
2842 echo "configure:2843: checking for mode_t" >&5
2843 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
2844 echo $ac_n "(cached) $ac_c" 1>&6
2846 cat > conftest.
$ac_ext <<EOF
2847 #line 2848 "configure"
2848 #include "confdefs.h"
2849 #include <sys/types.h>
2855 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2856 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2858 ac_cv_type_mode_t
=yes
2861 ac_cv_type_mode_t
=no
2866 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
2867 if test $ac_cv_type_mode_t = no
; then
2868 cat >> confdefs.h
<<\EOF
2874 echo $ac_n "checking for off_t""... $ac_c" 1>&6
2875 echo "configure:2876: checking for off_t" >&5
2876 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
2877 echo $ac_n "(cached) $ac_c" 1>&6
2879 cat > conftest.
$ac_ext <<EOF
2880 #line 2881 "configure"
2881 #include "confdefs.h"
2882 #include <sys/types.h>
2888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2889 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2891 ac_cv_type_off_t
=yes
2899 echo "$ac_t""$ac_cv_type_off_t" 1>&6
2900 if test $ac_cv_type_off_t = no
; then
2901 cat >> confdefs.h
<<\EOF
2907 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
2908 echo "configure:2909: checking for pid_t" >&5
2909 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
2910 echo $ac_n "(cached) $ac_c" 1>&6
2912 cat > conftest.
$ac_ext <<EOF
2913 #line 2914 "configure"
2914 #include "confdefs.h"
2915 #include <sys/types.h>
2921 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2922 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2924 ac_cv_type_pid_t
=yes
2932 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
2933 if test $ac_cv_type_pid_t = no
; then
2934 cat >> confdefs.h
<<\EOF
2940 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2941 echo "configure:2942: checking return type of signal handlers" >&5
2942 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2943 echo $ac_n "(cached) $ac_c" 1>&6
2945 cat > conftest.
$ac_ext <<EOF
2946 #line 2947 "configure"
2947 #include "confdefs.h"
2948 #include <sys/types.h>
2954 extern "C" void (*signal (int, void (*)(int)))(int);
2956 void (*signal ()) ();
2963 if { (eval echo configure
:2964: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2965 ac_cv_type_signal
=void
2967 echo "configure: failed program was:" >&5
2968 cat conftest.
$ac_ext >&5
2970 ac_cv_type_signal
=int
2975 echo "$ac_t""$ac_cv_type_signal" 1>&6
2976 cat >> confdefs.h
<<EOF
2977 #define RETSIGTYPE $ac_cv_type_signal
2981 echo $ac_n "checking for size_t""... $ac_c" 1>&6
2982 echo "configure:2983: checking for size_t" >&5
2983 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
2984 echo $ac_n "(cached) $ac_c" 1>&6
2986 cat > conftest.
$ac_ext <<EOF
2987 #line 2988 "configure"
2988 #include "confdefs.h"
2989 #include <sys/types.h>
2995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2996 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2998 ac_cv_type_size_t
=yes
3001 ac_cv_type_size_t
=no
3006 echo "$ac_t""$ac_cv_type_size_t" 1>&6
3007 if test $ac_cv_type_size_t = no
; then
3008 cat >> confdefs.h
<<\EOF
3009 #define size_t unsigned
3014 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3015 echo "configure:3016: checking for uid_t in sys/types.h" >&5
3016 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3017 echo $ac_n "(cached) $ac_c" 1>&6
3019 cat > conftest.
$ac_ext <<EOF
3020 #line 3021 "configure"
3021 #include "confdefs.h"
3022 #include <sys/types.h>
3024 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3025 egrep "uid_t" >/dev
/null
2>&1; then
3027 ac_cv_type_uid_t
=yes
3036 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3037 if test $ac_cv_type_uid_t = no
; then
3038 cat >> confdefs.h
<<\EOF
3042 cat >> confdefs.h
<<\EOF
3050 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3051 echo "configure:3052: checking whether stat file-mode macros are broken" >&5
3052 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3053 echo $ac_n "(cached) $ac_c" 1>&6
3055 cat > conftest.
$ac_ext <<EOF
3056 #line 3057 "configure"
3057 #include "confdefs.h"
3058 #include <sys/types.h>
3059 #include <sys/stat.h>
3061 #if defined(S_ISBLK) && defined(S_IFDIR)
3062 # if S_ISBLK (S_IFDIR)
3067 #if defined(S_ISBLK) && defined(S_IFCHR)
3068 # if S_ISBLK (S_IFCHR)
3073 #if defined(S_ISLNK) && defined(S_IFREG)
3074 # if S_ISLNK (S_IFREG)
3079 #if defined(S_ISSOCK) && defined(S_IFREG)
3080 # if S_ISSOCK (S_IFREG)
3086 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3087 egrep "You lose" >/dev
/null
2>&1; then
3089 ac_cv_header_stat_broken
=yes
3092 ac_cv_header_stat_broken
=no
3098 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3099 if test $ac_cv_header_stat_broken = yes; then
3100 cat >> confdefs.h
<<\EOF
3101 #define STAT_MACROS_BROKEN 1
3106 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3107 echo "configure:3108: checking whether time.h and sys/time.h may both be included" >&5
3108 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3109 echo $ac_n "(cached) $ac_c" 1>&6
3111 cat > conftest.
$ac_ext <<EOF
3112 #line 3113 "configure"
3113 #include "confdefs.h"
3114 #include <sys/types.h>
3115 #include <sys/time.h>
3121 if { (eval echo configure
:3122: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3123 ac_cv_header_time
=yes
3125 echo "configure: failed program was:" >&5
3126 cat conftest.
$ac_ext >&5
3128 ac_cv_header_time
=no
3133 echo "$ac_t""$ac_cv_header_time" 1>&6
3134 if test $ac_cv_header_time = yes; then
3135 cat >> confdefs.h
<<\EOF
3136 #define TIME_WITH_SYS_TIME 1
3141 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3142 echo "configure:3143: checking for st_blksize in struct stat" >&5
3143 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3144 echo $ac_n "(cached) $ac_c" 1>&6
3146 cat > conftest.
$ac_ext <<EOF
3147 #line 3148 "configure"
3148 #include "confdefs.h"
3149 #include <sys/types.h>
3150 #include <sys/stat.h>
3152 struct stat s; s.st_blksize;
3155 if { (eval echo configure
:3156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3157 ac_cv_struct_st_blksize
=yes
3159 echo "configure: failed program was:" >&5
3160 cat conftest.
$ac_ext >&5
3162 ac_cv_struct_st_blksize
=no
3167 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3168 if test $ac_cv_struct_st_blksize = yes; then
3169 cat >> confdefs.h
<<\EOF
3170 #define HAVE_ST_BLKSIZE 1
3175 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3176 echo "configure:3177: checking for st_blocks in struct stat" >&5
3177 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3178 echo $ac_n "(cached) $ac_c" 1>&6
3180 cat > conftest.
$ac_ext <<EOF
3181 #line 3182 "configure"
3182 #include "confdefs.h"
3183 #include <sys/types.h>
3184 #include <sys/stat.h>
3186 struct stat s; s.st_blocks;
3189 if { (eval echo configure
:3190: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3191 ac_cv_struct_st_blocks
=yes
3193 echo "configure: failed program was:" >&5
3194 cat conftest.
$ac_ext >&5
3196 ac_cv_struct_st_blocks
=no
3201 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3202 if test $ac_cv_struct_st_blocks = yes; then
3203 cat >> confdefs.h
<<\EOF
3204 #define HAVE_ST_BLOCKS 1
3208 LIBOBJS
="$LIBOBJS fileblocks.o"
3211 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3212 echo "configure:3213: checking for st_rdev in struct stat" >&5
3213 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
3214 echo $ac_n "(cached) $ac_c" 1>&6
3216 cat > conftest.
$ac_ext <<EOF
3217 #line 3218 "configure"
3218 #include "confdefs.h"
3219 #include <sys/types.h>
3220 #include <sys/stat.h>
3222 struct stat s; s.st_rdev;
3225 if { (eval echo configure
:3226: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3227 ac_cv_struct_st_rdev
=yes
3229 echo "configure: failed program was:" >&5
3230 cat conftest.
$ac_ext >&5
3232 ac_cv_struct_st_rdev
=no
3237 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
3238 if test $ac_cv_struct_st_rdev = yes; then
3239 cat >> confdefs.h
<<\EOF
3240 #define HAVE_ST_RDEV 1
3245 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3246 echo "configure:3247: checking whether struct tm is in sys/time.h or time.h" >&5
3247 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3248 echo $ac_n "(cached) $ac_c" 1>&6
3250 cat > conftest.
$ac_ext <<EOF
3251 #line 3252 "configure"
3252 #include "confdefs.h"
3253 #include <sys/types.h>
3256 struct tm *tp; tp->tm_sec;
3259 if { (eval echo configure
:3260: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3261 ac_cv_struct_tm
=time.h
3263 echo "configure: failed program was:" >&5
3264 cat conftest.
$ac_ext >&5
3266 ac_cv_struct_tm
=sys
/time.h
3271 echo "$ac_t""$ac_cv_struct_tm" 1>&6
3272 if test $ac_cv_struct_tm = sys
/time.h
; then
3273 cat >> confdefs.h
<<\EOF
3274 #define TM_IN_SYS_TIME 1
3279 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3280 echo "configure:3281: checking for tm_zone in struct tm" >&5
3281 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3282 echo $ac_n "(cached) $ac_c" 1>&6
3284 cat > conftest.
$ac_ext <<EOF
3285 #line 3286 "configure"
3286 #include "confdefs.h"
3287 #include <sys/types.h>
3288 #include <$ac_cv_struct_tm>
3290 struct tm tm; tm.tm_zone;
3293 if { (eval echo configure
:3294: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3295 ac_cv_struct_tm_zone
=yes
3297 echo "configure: failed program was:" >&5
3298 cat conftest.
$ac_ext >&5
3300 ac_cv_struct_tm_zone
=no
3305 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
3306 if test "$ac_cv_struct_tm_zone" = yes; then
3307 cat >> confdefs.h
<<\EOF
3308 #define HAVE_TM_ZONE 1
3312 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3313 echo "configure:3314: checking for tzname" >&5
3314 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
3315 echo $ac_n "(cached) $ac_c" 1>&6
3317 cat > conftest.
$ac_ext <<EOF
3318 #line 3319 "configure"
3319 #include "confdefs.h"
3321 #ifndef tzname /* For SGI. */
3322 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3328 if { (eval echo configure
:3329: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3330 ac_cv_var_tzname
=yes
3332 echo "configure: failed program was:" >&5
3333 cat conftest.
$ac_ext >&5
3340 echo "$ac_t""$ac_cv_var_tzname" 1>&6
3341 if test $ac_cv_var_tzname = yes; then
3342 cat >> confdefs.h
<<\EOF
3343 #define HAVE_TZNAME 1
3351 echo $ac_n "checking for working const""... $ac_c" 1>&6
3352 echo "configure:3353: checking for working const" >&5
3353 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3354 echo $ac_n "(cached) $ac_c" 1>&6
3356 cat > conftest.
$ac_ext <<EOF
3357 #line 3358 "configure"
3358 #include "confdefs.h"
3362 /* Ultrix mips cc rejects this. */
3363 typedef int charset[2]; const charset x;
3364 /* SunOS 4.1.1 cc rejects this. */
3365 char const *const *ccp;
3367 /* NEC SVR4.0.2 mips cc rejects this. */
3368 struct point {int x, y;};
3369 static struct point const zero = {0,0};
3370 /* AIX XL C 1.02.0.0 rejects this.
3371 It does not let you subtract one const X* pointer from another in an arm
3372 of an if-expression whose if-part is not a constant expression */
3373 const char *g = "string";
3374 ccp = &g + (g ? g-g : 0);
3375 /* HPUX 7.0 cc rejects these. */
3378 ccp = (char const *const *) p;
3379 { /* SCO 3.2v4 cc rejects this. */
3381 char const *s = 0 ? (char *) 0 : (char const *) 0;
3385 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3387 const int *foo = &x[0];
3390 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3391 typedef const int *iptr;
3395 { /* AIX XL C 1.02.0.0 rejects this saying
3396 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3397 struct s { int j; const int *ap[3]; };
3398 struct s *b; b->j = 5;
3400 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3406 if { (eval echo configure
:3407: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3410 echo "configure: failed program was:" >&5
3411 cat conftest.
$ac_ext >&5
3418 echo "$ac_t""$ac_cv_c_const" 1>&6
3419 if test $ac_cv_c_const = no
; then
3420 cat >> confdefs.h
<<\EOF
3426 echo $ac_n "checking for inline""... $ac_c" 1>&6
3427 echo "configure:3428: checking for inline" >&5
3428 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3429 echo $ac_n "(cached) $ac_c" 1>&6
3432 for ac_kw
in inline __inline__ __inline
; do
3433 cat > conftest.
$ac_ext <<EOF
3434 #line 3435 "configure"
3435 #include "confdefs.h"
3441 if { (eval echo configure
:3442: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3443 ac_cv_c_inline
=$ac_kw; break
3445 echo "configure: failed program was:" >&5
3446 cat conftest.
$ac_ext >&5
3453 echo "$ac_t""$ac_cv_c_inline" 1>&6
3454 case "$ac_cv_c_inline" in
3456 no
) cat >> confdefs.h
<<\EOF
3460 *) cat >> confdefs.h
<<EOF
3461 #define inline $ac_cv_c_inline
3466 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
3467 echo "configure:3468: checking whether char is unsigned" >&5
3468 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
3469 echo $ac_n "(cached) $ac_c" 1>&6
3471 if test "$GCC" = yes; then
3472 # GCC predefines this symbol on systems where it applies.
3473 cat > conftest.
$ac_ext <<EOF
3474 #line 3475 "configure"
3475 #include "confdefs.h"
3476 #ifdef __CHAR_UNSIGNED__
3481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3482 egrep "yes" >/dev
/null
2>&1; then
3484 ac_cv_c_char_unsigned
=yes
3487 ac_cv_c_char_unsigned
=no
3492 if test "$cross_compiling" = yes; then
3493 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3495 cat > conftest.
$ac_ext <<EOF
3496 #line 3497 "configure"
3497 #include "confdefs.h"
3498 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
3499 #if !defined(__STDC__) || __STDC__ != 1
3503 volatile char c = 255; exit(c < 0);
3506 if { (eval echo configure
:3507: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3508 ac_cv_c_char_unsigned
=yes
3510 echo "configure: failed program was:" >&5
3511 cat conftest.
$ac_ext >&5
3513 ac_cv_c_char_unsigned
=no
3521 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
3522 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3523 cat >> confdefs.h
<<\EOF
3524 #define __CHAR_UNSIGNED__ 1
3529 echo $ac_n "checking for long double""... $ac_c" 1>&6
3530 echo "configure:3531: checking for long double" >&5
3531 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
3532 echo $ac_n "(cached) $ac_c" 1>&6
3534 if test "$GCC" = yes; then
3535 ac_cv_c_long_double
=yes
3537 if test "$cross_compiling" = yes; then
3538 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3540 cat > conftest.
$ac_ext <<EOF
3541 #line 3542 "configure"
3542 #include "confdefs.h"
3544 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
3545 long double foo = 0.0;
3546 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3547 exit(sizeof(long double) < sizeof(double)); }
3549 if { (eval echo configure
:3550: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3551 ac_cv_c_long_double
=yes
3553 echo "configure: failed program was:" >&5
3554 cat conftest.
$ac_ext >&5
3556 ac_cv_c_long_double
=no
3564 echo "$ac_t""$ac_cv_c_long_double" 1>&6
3565 if test $ac_cv_c_long_double = yes; then
3566 cat >> confdefs.h
<<\EOF
3567 #define HAVE_LONG_DOUBLE 1
3573 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3574 echo "configure:3575: checking whether byte ordering is bigendian" >&5
3575 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3576 echo $ac_n "(cached) $ac_c" 1>&6
3578 ac_cv_c_bigendian
=unknown
3579 # See if sys/param.h defines the BYTE_ORDER macro.
3580 cat > conftest.
$ac_ext <<EOF
3581 #line 3582 "configure"
3582 #include "confdefs.h"
3583 #include <sys/types.h>
3584 #include <sys/param.h>
3587 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3592 if { (eval echo configure
:3593: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3594 # It does; now see whether it defined to BIG_ENDIAN or not.
3595 cat > conftest.
$ac_ext <<EOF
3596 #line 3597 "configure"
3597 #include "confdefs.h"
3598 #include <sys/types.h>
3599 #include <sys/param.h>
3602 #if BYTE_ORDER != BIG_ENDIAN
3607 if { (eval echo configure
:3608: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3609 ac_cv_c_bigendian
=yes
3611 echo "configure: failed program was:" >&5
3612 cat conftest.
$ac_ext >&5
3614 ac_cv_c_bigendian
=no
3618 echo "configure: failed program was:" >&5
3619 cat conftest.
$ac_ext >&5
3622 if test $ac_cv_c_bigendian = unknown
; then
3623 if test "$cross_compiling" = yes; then
3624 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3626 cat > conftest.
$ac_ext <<EOF
3627 #line 3628 "configure"
3628 #include "confdefs.h"
3630 /* Are we little or big endian? From Harbison&Steele. */
3634 char c[sizeof (long)];
3637 exit (u.c[sizeof (long) - 1] == 1);
3640 if { (eval echo configure
:3641: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3642 ac_cv_c_bigendian
=no
3644 echo "configure: failed program was:" >&5
3645 cat conftest.
$ac_ext >&5
3647 ac_cv_c_bigendian
=yes
3655 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
3656 if test $ac_cv_c_bigendian = yes; then
3657 cat >> confdefs.h
<<\EOF
3658 #define WORDS_BIGENDIAN 1
3664 echo $ac_n "checking size of int *""... $ac_c" 1>&6
3665 echo "configure:3666: checking size of int *" >&5
3666 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
3667 echo $ac_n "(cached) $ac_c" 1>&6
3669 if test "$cross_compiling" = yes; then
3670 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3672 cat > conftest.
$ac_ext <<EOF
3673 #line 3674 "configure"
3674 #include "confdefs.h"
3678 FILE *f=fopen("conftestval", "w");
3680 fprintf(f, "%d\n", sizeof(int *));
3684 if { (eval echo configure
:3685: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3686 ac_cv_sizeof_int_p
=`cat conftestval`
3688 echo "configure: failed program was:" >&5
3689 cat conftest.
$ac_ext >&5
3691 ac_cv_sizeof_int_p
=0
3697 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
3698 cat >> confdefs.h
<<EOF
3699 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
3703 echo $ac_n "checking size of int""... $ac_c" 1>&6
3704 echo "configure:3705: checking size of int" >&5
3705 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
3706 echo $ac_n "(cached) $ac_c" 1>&6
3708 if test "$cross_compiling" = yes; then
3709 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3711 cat > conftest.
$ac_ext <<EOF
3712 #line 3713 "configure"
3713 #include "confdefs.h"
3717 FILE *f=fopen("conftestval", "w");
3719 fprintf(f, "%d\n", sizeof(int));
3723 if { (eval echo configure
:3724: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3725 ac_cv_sizeof_int
=`cat conftestval`
3727 echo "configure: failed program was:" >&5
3728 cat conftest.
$ac_ext >&5
3736 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
3737 cat >> confdefs.h
<<EOF
3738 #define SIZEOF_INT $ac_cv_sizeof_int
3742 echo $ac_n "checking size of long""... $ac_c" 1>&6
3743 echo "configure:3744: checking size of long" >&5
3744 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
3745 echo $ac_n "(cached) $ac_c" 1>&6
3747 if test "$cross_compiling" = yes; then
3748 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3750 cat > conftest.
$ac_ext <<EOF
3751 #line 3752 "configure"
3752 #include "confdefs.h"
3756 FILE *f=fopen("conftestval", "w");
3758 fprintf(f, "%d\n", sizeof(long));
3762 if { (eval echo configure
:3763: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3764 ac_cv_sizeof_long
=`cat conftestval`
3766 echo "configure: failed program was:" >&5
3767 cat conftest.
$ac_ext >&5
3775 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
3776 cat >> confdefs.h
<<EOF
3777 #define SIZEOF_LONG $ac_cv_sizeof_long
3785 echo $ac_n "checking for long file names""... $ac_c" 1>&6
3786 echo "configure:3787: checking for long file names" >&5
3787 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3788 echo $ac_n "(cached) $ac_c" 1>&6
3790 ac_cv_sys_long_file_names
=yes
3791 # Test for long file names in all the places we know might matter:
3792 # . the current directory, where building will happen
3793 # $prefix/lib where we will be installing things
3794 # $exec_prefix/lib likewise
3795 # eval it to expand exec_prefix.
3796 # $TMPDIR if set, where it might want to write temporary files
3797 # if $TMPDIR is not set:
3798 # /tmp where it might want to write temporary files
3801 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
3802 ac_tmpdirs
="$TMPDIR"
3804 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
3806 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
3807 test -d $ac_dir || continue
3808 test -w $ac_dir || continue # It is less confusing to not echo anything here.
3809 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
3810 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
3811 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
3812 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
3813 ac_cv_sys_long_file_names
=no
3814 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
3817 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
3821 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
3822 if test $ac_cv_sys_long_file_names = yes; then
3823 cat >> confdefs.h
<<\EOF
3824 #define HAVE_LONG_FILE_NAMES 1
3832 for ac_prog
in 'bison -y' byacc
3834 # Extract the first word of "$ac_prog", so it can be a program name with args.
3835 set dummy
$ac_prog; ac_word
=$2
3836 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3837 echo "configure:3838: checking for $ac_word" >&5
3838 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
3839 echo $ac_n "(cached) $ac_c" 1>&6
3841 if test -n "$YACC"; then
3842 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3844 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3845 for ac_dir
in $PATH; do
3846 test -z "$ac_dir" && ac_dir
=.
3847 if test -f $ac_dir/$ac_word; then
3848 ac_cv_prog_YACC
="$ac_prog"
3855 YACC
="$ac_cv_prog_YACC"
3856 if test -n "$YACC"; then
3857 echo "$ac_t""$YACC" 1>&6
3859 echo "$ac_t""no" 1>&6
3862 test -n "$YACC" && break
3864 test -n "$YACC" || YACC
="yacc"
3867 # Extract the first word of "flex", so it can be a program name with args.
3868 set dummy flex
; ac_word
=$2
3869 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3870 echo "configure:3871: checking for $ac_word" >&5
3871 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
3872 echo $ac_n "(cached) $ac_c" 1>&6
3874 if test -n "$LEX"; then
3875 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
3877 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3878 for ac_dir
in $PATH; do
3879 test -z "$ac_dir" && ac_dir
=.
3880 if test -f $ac_dir/$ac_word; then
3881 ac_cv_prog_LEX
="flex"
3886 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
3889 LEX
="$ac_cv_prog_LEX"
3890 if test -n "$LEX"; then
3891 echo "$ac_t""$LEX" 1>&6
3893 echo "$ac_t""no" 1>&6
3896 if test -z "$LEXLIB"
3902 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
3903 echo "configure:3904: checking for yywrap in -l$ac_lib" >&5
3904 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
3905 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3906 echo $ac_n "(cached) $ac_c" 1>&6
3908 ac_save_LIBS
="$LIBS"
3909 LIBS
="-l$ac_lib $LIBS"
3910 cat > conftest.
$ac_ext <<EOF
3911 #line 3912 "configure"
3912 #include "confdefs.h"
3913 /* Override any gcc2 internal prototype to avoid an error. */
3914 /* We use char because int might match the return type of a gcc2
3915 builtin and then its argument prototype would still apply. */
3922 if { (eval echo configure
:3923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3924 eval "ac_cv_lib_$ac_lib_var=yes"
3926 echo "configure: failed program was:" >&5
3927 cat conftest.
$ac_ext >&5
3929 eval "ac_cv_lib_$ac_lib_var=no"
3932 LIBS
="$ac_save_LIBS"
3935 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3936 echo "$ac_t""yes" 1>&6
3939 echo "$ac_t""no" 1>&6
3944 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
3945 echo "configure:3946: checking lex output file root" >&5
3946 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
3947 echo $ac_n "(cached) $ac_c" 1>&6
3949 # The minimal lex program is just a single line: %%. But some broken lexes
3950 # (Solaris, I think it was) want two %% lines, so accommodate them.
3953 if test -f lex.yy.c
; then
3954 ac_cv_prog_lex_root
=lex.yy
3955 elif test -f lexyy.c
; then
3956 ac_cv_prog_lex_root
=lexyy
3958 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
3962 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
3963 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
3965 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
3966 echo "configure:3967: checking whether yytext is a pointer" >&5
3967 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
3968 echo $ac_n "(cached) $ac_c" 1>&6
3970 # POSIX says lex can declare yytext either as a pointer or an array; the
3971 # default is implementation-dependent. Figure out which it is, since
3972 # not all implementations provide the %pointer and %array declarations.
3973 ac_cv_prog_lex_yytext_pointer
=no
3974 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
3975 ac_save_LIBS
="$LIBS"
3976 LIBS
="$LIBS $LEXLIB"
3977 cat > conftest.
$ac_ext <<EOF
3978 #line 3979 "configure"
3979 #include "confdefs.h"
3980 `cat $LEX_OUTPUT_ROOT.c`
3985 if { (eval echo configure
:3986: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3987 ac_cv_prog_lex_yytext_pointer
=yes
3989 echo "configure: failed program was:" >&5
3990 cat conftest.
$ac_ext >&5
3993 LIBS
="$ac_save_LIBS"
3994 rm -f "${LEX_OUTPUT_ROOT}.c"
3998 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
3999 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4000 cat >> confdefs.h
<<\EOF
4001 #define YYTEXT_POINTER 1
4008 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
4009 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
4013 # Make sure we can run config.sub.
4014 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
4015 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4018 echo $ac_n "checking host system type""... $ac_c" 1>&6
4019 echo "configure:4020: checking host system type" >&5
4022 case "$host_alias" in
4026 if host_alias
=`$ac_config_guess`; then :
4027 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4029 *) host_alias
=$nonopt ;;
4033 host=`$ac_config_sub $host_alias`
4034 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4035 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4036 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4037 echo "$ac_t""$host" 1>&6
4040 configuration
=$host_alias
4063 case "${canonical}" in
4066 cat >> confdefs.h
<<\EOF
4073 cat >> confdefs.h
<<\EOF
4078 *-*-irix5* | *-*-irix6* )
4081 cat >> confdefs.h
<<\EOF
4085 cat >> confdefs.h
<<\EOF
4094 cat >> confdefs.h
<<\EOF
4098 cat >> confdefs.h
<<\EOF
4099 #define __SOLARIS__ 1
4102 cat >> confdefs.h
<<\EOF
4111 cat >> confdefs.h
<<\EOF
4115 cat >> confdefs.h
<<\EOF
4119 cat >> confdefs.h
<<\EOF
4124 *-*-freebsd* | *-*-netbsd*)
4127 cat >> confdefs.h
<<\EOF
4128 #define __FREEBSD__ 1
4131 cat >> confdefs.h
<<\EOF
4139 cat >> confdefs.h
<<\EOF
4143 cat >> confdefs.h
<<\EOF
4151 cat >> confdefs.h
<<\EOF
4155 cat >> confdefs.h
<<\EOF
4163 cat >> confdefs.h
<<\EOF
4167 cat >> confdefs.h
<<\EOF
4176 cat >> confdefs.h
<<\EOF
4180 cat >> confdefs.h
<<\EOF
4184 cat >> confdefs.h
<<\EOF
4190 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
4195 rm -f ${OSTYPE}.system.cache.tmp
4196 touch ${OSTYPE}.system.cache.tmp
4197 touch ${OSTYPE}.system.cache
4204 DEFAULT_USE_SHARED
=0
4205 DEFAULT_USE_OPTIMISE
=1
4206 DEFAULT_USE_PROFILE
=0
4207 DEFAULT_USE_DEBUG_FLAG
=0
4208 DEFAULT_USE_DEBUG_INFO
=0
4209 DEFAULT_USE_MEM_TRACING
=0
4210 DEFAULT_USE_DMALLOC
=0
4213 DEFAULT_USE_GDK_IMLIB
=1
4214 DEFAULT_USE_LIBPNG
=1
4217 DEFAULT_USE_APPLE_IEEE
=1
4218 DEFAULT_USE_STORABLE_CLASSES
=1
4219 DEFAULT_USE_AUTOTRANS
=1
4220 DEFAULT_USE_AFM_FOR_POSTSCRIPT
=1
4221 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
4223 DEFAULT_USE_IOSTREAMH
=1
4225 DEFAULT_USE_OPENGL
=0
4227 DEFAULT_USE_WXCONFIG
=1
4228 DEFAULT_USE_POSTSCRIPT
=1
4230 DEFAULT_USE_RESOURCES
=1
4231 DEFAULT_USE_TIMEDATE
=1
4232 DEFAULT_USE_FRACTION
=1
4233 DEFAULT_USE_CONSTRAINTS
=1
4234 DEFAULT_USE_TOOLBAR
=1
4236 DEFAULT_USE_SCROLLBAR
=1
4237 DEFAULT_USE_DOC_VIEW_ARCHITECTURE
=1
4238 DEFAULT_USE_PRINTING_ARCHITECTURE
=1
4240 DEFAULT_USE_METAFILE
=0
4242 DEFAULT_USE_CLIPBOARD
=0
4244 DEFAULT_USE_WXGRAPH
=0
4245 DEFAULT_USE_WXTREE
=0
4246 DEFAULT_USE_ENHANCED_DIALOG
=0
4249 DEFAULT_USE_PROLOGIO
=1
4251 DEFAULT_USE_WX_RESOURCES
=1
4255 echo $ac_n "checking "for gtk
"""... $ac_c" 1>&6
4256 echo "configure:4257: checking "for gtk
"" >&5
4257 # Check whether --with-gtk or --without-gtk was given.
4258 if test "${with_gtk+set}" = set; then
4260 if test "x$with_gtk" = xyes
; then
4261 ac_cv_use_gtk
='USE_GTK="1"'
4263 ac_cv_use_gtk
='USE_GTK="0"'
4267 LINE
=`grep "USE_GTK" ${OSTYPE}.system.cache`
4268 if test "x$LINE" != x
; then
4269 eval "DEFAULT_$LINE"
4271 ac_cv_use_gtk
='USE_GTK='$DEFAULT_USE_GTK
4275 eval "$ac_cv_use_gtk"
4276 echo $ac_cv_use_gtk >> ${OSTYPE}.system.cache.tmp
4277 if test "$USE_GTK" = 1; then
4278 echo "$ac_t""yes" 1>&6
4280 echo "$ac_t""no" 1>&6
4285 echo $ac_n "checking "for qt
"""... $ac_c" 1>&6
4286 echo "configure:4287: checking "for qt
"" >&5
4287 # Check whether --with-qt or --without-qt was given.
4288 if test "${with_qt+set}" = set; then
4290 if test "x$with_qt" = xyes
; then
4291 ac_cv_use_qt
='USE_QT="1"'
4293 ac_cv_use_qt
='USE_QT="0"'
4297 LINE
=`grep "USE_QT" ${OSTYPE}.system.cache`
4298 if test "x$LINE" != x
; then
4299 eval "DEFAULT_$LINE"
4301 ac_cv_use_qt
='USE_QT='$DEFAULT_USE_QT
4305 eval "$ac_cv_use_qt"
4306 echo $ac_cv_use_qt >> ${OSTYPE}.system.cache.tmp
4307 if test "$USE_QT" = 1; then
4308 echo "$ac_t""yes" 1>&6
4310 echo "$ac_t""no" 1>&6
4315 echo $ac_n "checking "for motif
"""... $ac_c" 1>&6
4316 echo "configure:4317: checking "for motif
"" >&5
4317 # Check whether --with-motif or --without-motif was given.
4318 if test "${with_motif+set}" = set; then
4319 withval
="$with_motif"
4320 if test "x$with_motif" = xyes
; then
4321 ac_cv_use_motif
='USE_MOTIF="1"'
4323 ac_cv_use_motif
='USE_MOTIF="0"'
4327 LINE
=`grep "USE_MOTIF" ${OSTYPE}.system.cache`
4328 if test "x$LINE" != x
; then
4329 eval "DEFAULT_$LINE"
4331 ac_cv_use_motif
='USE_MOTIF='$DEFAULT_USE_MOTIF
4335 eval "$ac_cv_use_motif"
4336 echo $ac_cv_use_motif >> ${OSTYPE}.system.cache.tmp
4337 if test "$USE_MOTIF" = 1; then
4338 echo "$ac_t""yes" 1>&6
4340 echo "$ac_t""no" 1>&6
4346 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
4347 echo "configure:4348: checking "for shared
"" >&5
4348 # Check whether --with-shared or --without-shared was given.
4349 if test "${with_shared+set}" = set; then
4350 withval
="$with_shared"
4351 if test "x$with_shared" = xyes
; then
4352 ac_cv_use_shared
='USE_SHARED="1"'
4354 ac_cv_use_shared
='USE_SHARED="0"'
4358 LINE
=`grep "USE_SHARED" ${OSTYPE}.system.cache`
4359 if test "x$LINE" != x
; then
4360 eval "DEFAULT_$LINE"
4362 ac_cv_use_shared
='USE_SHARED='$DEFAULT_USE_SHARED
4366 eval "$ac_cv_use_shared"
4367 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
4368 if test "$USE_SHARED" = 1; then
4369 echo "$ac_t""yes" 1>&6
4371 echo "$ac_t""no" 1>&6
4376 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
4377 echo "configure:4378: checking "for optimise
"" >&5
4378 # Check whether --with-optimise or --without-optimise was given.
4379 if test "${with_optimise+set}" = set; then
4380 withval
="$with_optimise"
4381 if test "x$with_optimise" = xyes
; then
4382 ac_cv_use_optimise
='USE_OPTIMISE="1"'
4384 ac_cv_use_optimise
='USE_OPTIMISE="0"'
4388 LINE
=`grep "USE_OPTIMISE" ${OSTYPE}.system.cache`
4389 if test "x$LINE" != x
; then
4390 eval "DEFAULT_$LINE"
4392 ac_cv_use_optimise
='USE_OPTIMISE='$DEFAULT_USE_OPTIMISE
4396 eval "$ac_cv_use_optimise"
4397 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
4398 if test "$USE_OPTIMISE" = 1; then
4399 echo "$ac_t""yes" 1>&6
4401 echo "$ac_t""no" 1>&6
4406 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
4407 echo "configure:4408: checking "for debug_flag
"" >&5
4408 # Check whether --with-debug_flag or --without-debug_flag was given.
4409 if test "${with_debug_flag+set}" = set; then
4410 withval
="$with_debug_flag"
4411 if test "x$with_debug_flag" = xyes
; then
4412 ac_cv_use_debug_flag
='USE_DEBUG_FLAG="1"'
4414 ac_cv_use_debug_flag
='USE_DEBUG_FLAG="0"'
4418 LINE
=`grep "USE_DEBUG_FLAG" ${OSTYPE}.system.cache`
4419 if test "x$LINE" != x
; then
4420 eval "DEFAULT_$LINE"
4422 ac_cv_use_debug_flag
='USE_DEBUG_FLAG='$DEFAULT_USE_DEBUG_FLAG
4426 eval "$ac_cv_use_debug_flag"
4427 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
4428 if test "$USE_DEBUG_FLAG" = 1; then
4429 echo "$ac_t""yes" 1>&6
4431 echo "$ac_t""no" 1>&6
4436 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
4437 echo "configure:4438: checking "for debug_info
"" >&5
4438 # Check whether --with-debug_info or --without-debug_info was given.
4439 if test "${with_debug_info+set}" = set; then
4440 withval
="$with_debug_info"
4441 if test "x$with_debug_info" = xyes
; then
4442 ac_cv_use_debug_info
='USE_DEBUG_INFO="1"'
4444 ac_cv_use_debug_info
='USE_DEBUG_INFO="0"'
4448 LINE
=`grep "USE_DEBUG_INFO" ${OSTYPE}.system.cache`
4449 if test "x$LINE" != x
; then
4450 eval "DEFAULT_$LINE"
4452 ac_cv_use_debug_info
='USE_DEBUG_INFO='$DEFAULT_USE_DEBUG_INFO
4456 eval "$ac_cv_use_debug_info"
4457 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
4458 if test "$USE_DEBUG_INFO" = 1; then
4459 echo "$ac_t""yes" 1>&6
4461 echo "$ac_t""no" 1>&6
4466 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
4467 echo "configure:4468: checking "for mem_tracing
"" >&5
4468 # Check whether --with-mem_tracing or --without-mem_tracing was given.
4469 if test "${with_mem_tracing+set}" = set; then
4470 withval
="$with_mem_tracing"
4471 if test "x$with_mem_tracing" = xyes
; then
4472 ac_cv_use_mem_tracing
='USE_MEM_TRACING="1"'
4474 ac_cv_use_mem_tracing
='USE_MEM_TRACING="0"'
4478 LINE
=`grep "USE_MEM_TRACING" ${OSTYPE}.system.cache`
4479 if test "x$LINE" != x
; then
4480 eval "DEFAULT_$LINE"
4482 ac_cv_use_mem_tracing
='USE_MEM_TRACING='$DEFAULT_USE_MEM_TRACING
4486 eval "$ac_cv_use_mem_tracing"
4487 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
4488 if test "$USE_MEM_TRACING" = 1; then
4489 echo "$ac_t""yes" 1>&6
4491 echo "$ac_t""no" 1>&6
4496 echo $ac_n "checking "for dmalloc
"""... $ac_c" 1>&6
4497 echo "configure:4498: checking "for dmalloc
"" >&5
4498 # Check whether --with-dmalloc or --without-dmalloc was given.
4499 if test "${with_dmalloc+set}" = set; then
4500 withval
="$with_dmalloc"
4501 if test "x$with_dmalloc" = xyes
; then
4502 ac_cv_use_dmalloc
='USE_DMALLOC="1"'
4504 ac_cv_use_dmalloc
='USE_DMALLOC="0"'
4508 LINE
=`grep "USE_DMALLOC" ${OSTYPE}.system.cache`
4509 if test "x$LINE" != x
; then
4510 eval "DEFAULT_$LINE"
4512 ac_cv_use_dmalloc
='USE_DMALLOC='$DEFAULT_USE_DMALLOC
4516 eval "$ac_cv_use_dmalloc"
4517 echo $ac_cv_use_dmalloc >> ${OSTYPE}.system.cache.tmp
4518 if test "$USE_DMALLOC" = 1; then
4519 echo "$ac_t""yes" 1>&6
4521 echo "$ac_t""no" 1>&6
4526 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
4527 echo "configure:4528: checking "for profile
"" >&5
4528 # Check whether --with-profile or --without-profile was given.
4529 if test "${with_profile+set}" = set; then
4530 withval
="$with_profile"
4531 if test "x$with_profile" = xyes
; then
4532 ac_cv_use_profile
='USE_PROFILE="1"'
4534 ac_cv_use_profile
='USE_PROFILE="0"'
4538 LINE
=`grep "USE_PROFILE" ${OSTYPE}.system.cache`
4539 if test "x$LINE" != x
; then
4540 eval "DEFAULT_$LINE"
4542 ac_cv_use_profile
='USE_PROFILE='$DEFAULT_USE_PROFILE
4546 eval "$ac_cv_use_profile"
4547 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
4548 if test "$USE_PROFILE" = 1; then
4549 echo "$ac_t""yes" 1>&6
4551 echo "$ac_t""no" 1>&6
4557 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
4558 echo "configure:4559: checking "for zlib
"" >&5
4559 # Check whether --with-zlib or --without-zlib was given.
4560 if test "${with_zlib+set}" = set; then
4561 withval
="$with_zlib"
4562 if test "x$with_zlib" = xyes
; then
4563 ac_cv_use_zlib
='USE_ZLIB="1"'
4565 ac_cv_use_zlib
='USE_ZLIB="0"'
4569 LINE
=`grep "USE_ZLIB" ${OSTYPE}.system.cache`
4570 if test "x$LINE" != x
; then
4571 eval "DEFAULT_$LINE"
4573 ac_cv_use_zlib
='USE_ZLIB='$DEFAULT_USE_ZLIB
4577 eval "$ac_cv_use_zlib"
4578 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
4579 if test "$USE_ZLIB" = 1; then
4580 echo "$ac_t""yes" 1>&6
4582 echo "$ac_t""no" 1>&6
4587 echo $ac_n "checking "for gdk_imlib
"""... $ac_c" 1>&6
4588 echo "configure:4589: checking "for gdk_imlib
"" >&5
4589 # Check whether --with-gdk_imlib or --without-gdk_imlib was given.
4590 if test "${with_gdk_imlib+set}" = set; then
4591 withval
="$with_gdk_imlib"
4592 if test "x$with_gdk_imlib" = xyes
; then
4593 ac_cv_use_gdk_imlib
='USE_GDK_IMLIB="1"'
4595 ac_cv_use_gdk_imlib
='USE_GDK_IMLIB="0"'
4599 LINE
=`grep "USE_GDK_IMLIB" ${OSTYPE}.system.cache`
4600 if test "x$LINE" != x
; then
4601 eval "DEFAULT_$LINE"
4603 ac_cv_use_gdk_imlib
='USE_GDK_IMLIB='$DEFAULT_USE_GDK_IMLIB
4607 eval "$ac_cv_use_gdk_imlib"
4608 echo $ac_cv_use_gdk_imlib >> ${OSTYPE}.system.cache.tmp
4609 if test "$USE_GDK_IMLIB" = 1; then
4610 echo "$ac_t""yes" 1>&6
4612 echo "$ac_t""no" 1>&6
4617 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
4618 echo "configure:4619: checking "for libpng
"" >&5
4619 # Check whether --with-libpng or --without-libpng was given.
4620 if test "${with_libpng+set}" = set; then
4621 withval
="$with_libpng"
4622 if test "x$with_libpng" = xyes
; then
4623 ac_cv_use_libpng
='USE_LIBPNG="1"'
4625 ac_cv_use_libpng
='USE_LIBPNG="0"'
4629 LINE
=`grep "USE_LIBPNG" ${OSTYPE}.system.cache`
4630 if test "x$LINE" != x
; then
4631 eval "DEFAULT_$LINE"
4633 ac_cv_use_libpng
='USE_LIBPNG='$DEFAULT_USE_LIBPNG
4637 eval "$ac_cv_use_libpng"
4638 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
4639 if test "$USE_LIBPNG" = 1; then
4640 echo "$ac_t""yes" 1>&6
4642 echo "$ac_t""no" 1>&6
4647 echo $ac_n "checking "for odbc
"""... $ac_c" 1>&6
4648 echo "configure:4649: checking "for odbc
"" >&5
4649 # Check whether --with-odbc or --without-odbc was given.
4650 if test "${with_odbc+set}" = set; then
4651 withval
="$with_odbc"
4652 if test "x$with_odbc" = xyes
; then
4653 ac_cv_use_odbc
='USE_ODBC="1"'
4655 ac_cv_use_odbc
='USE_ODBC="0"'
4659 LINE
=`grep "USE_ODBC" ${OSTYPE}.system.cache`
4660 if test "x$LINE" != x
; then
4661 eval "DEFAULT_$LINE"
4663 ac_cv_use_odbc
='USE_ODBC='$DEFAULT_USE_ODBC
4667 eval "$ac_cv_use_odbc"
4668 echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
4669 if test "$USE_ODBC" = 1; then
4670 echo "$ac_t""yes" 1>&6
4672 echo "$ac_t""no" 1>&6
4677 echo $ac_n "checking "for opengl
"""... $ac_c" 1>&6
4678 echo "configure:4679: checking "for opengl
"" >&5
4679 # Check whether --with-opengl or --without-opengl was given.
4680 if test "${with_opengl+set}" = set; then
4681 withval
="$with_opengl"
4682 if test "x$with_opengl" = xyes
; then
4683 ac_cv_use_opengl
='USE_OPENGL="1"'
4685 ac_cv_use_opengl
='USE_OPENGL="0"'
4689 LINE
=`grep "USE_OPENGL" ${OSTYPE}.system.cache`
4690 if test "x$LINE" != x
; then
4691 eval "DEFAULT_$LINE"
4693 ac_cv_use_opengl
='USE_OPENGL='$DEFAULT_USE_OPENGL
4697 eval "$ac_cv_use_opengl"
4698 echo $ac_cv_use_opengl >> ${OSTYPE}.system.cache.tmp
4699 if test "$USE_OPENGL" = 1; then
4700 echo "$ac_t""yes" 1>&6
4702 echo "$ac_t""no" 1>&6
4708 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6
4709 echo "configure:4710: checking "for apple_ieee
"" >&5
4710 # Check whether --with-apple_ieee or --without-apple_ieee was given.
4711 if test "${with_apple_ieee+set}" = set; then
4712 withval
="$with_apple_ieee"
4713 if test "x$with_apple_ieee" = xyes
; then
4714 ac_cv_use_apple_ieee
='USE_APPLE_IEEE="1"'
4716 ac_cv_use_apple_ieee
='USE_APPLE_IEEE="0"'
4720 LINE
=`grep "USE_APPLE_IEEE" ${OSTYPE}.system.cache`
4721 if test "x$LINE" != x
; then
4722 eval "DEFAULT_$LINE"
4724 ac_cv_use_apple_ieee
='USE_APPLE_IEEE='$DEFAULT_USE_APPLE_IEEE
4728 eval "$ac_cv_use_apple_ieee"
4729 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
4730 if test "$USE_APPLE_IEEE" = 1; then
4731 echo "$ac_t""yes" 1>&6
4733 echo "$ac_t""no" 1>&6
4738 echo $ac_n "checking "for storable
"""... $ac_c" 1>&6
4739 echo "configure:4740: checking "for storable
"" >&5
4740 # Check whether --with-storable or --without-storable was given.
4741 if test "${with_storable+set}" = set; then
4742 withval
="$with_storable"
4743 if test "x$with_storable" = xyes
; then
4744 ac_cv_use_storable
='USE_STORABLE_CLASSES="1"'
4746 ac_cv_use_storable
='USE_STORABLE_CLASSES="0"'
4750 LINE
=`grep "USE_STORABLE_CLASSES" ${OSTYPE}.system.cache`
4751 if test "x$LINE" != x
; then
4752 eval "DEFAULT_$LINE"
4754 ac_cv_use_storable
='USE_STORABLE_CLASSES='$DEFAULT_USE_STORABLE_CLASSES
4758 eval "$ac_cv_use_storable"
4759 echo $ac_cv_use_storable >> ${OSTYPE}.system.cache.tmp
4760 if test "$USE_STORABLE_CLASSES" = 1; then
4761 echo "$ac_t""yes" 1>&6
4763 echo "$ac_t""no" 1>&6
4768 echo $ac_n "checking "for autotrans
"""... $ac_c" 1>&6
4769 echo "configure:4770: checking "for autotrans
"" >&5
4770 # Check whether --with-autotrans or --without-autotrans was given.
4771 if test "${with_autotrans+set}" = set; then
4772 withval
="$with_autotrans"
4773 if test "x$with_autotrans" = xyes
; then
4774 ac_cv_use_autotrans
='USE_AUTOTRANS="1"'
4776 ac_cv_use_autotrans
='USE_AUTOTRANS="0"'
4780 LINE
=`grep "USE_AUTOTRANS" ${OSTYPE}.system.cache`
4781 if test "x$LINE" != x
; then
4782 eval "DEFAULT_$LINE"
4784 ac_cv_use_autotrans
='USE_AUTOTRANS='$DEFAULT_USE_AUTOTRANS
4788 eval "$ac_cv_use_autotrans"
4789 echo $ac_cv_use_autotrans >> ${OSTYPE}.system.cache.tmp
4790 if test "$USE_AUTOTRANS" = 1; then
4791 echo "$ac_t""yes" 1>&6
4793 echo "$ac_t""no" 1>&6
4798 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
4799 echo "configure:4800: checking "for afmfonts
"" >&5
4800 # Check whether --with-afmfonts or --without-afmfonts was given.
4801 if test "${with_afmfonts+set}" = set; then
4802 withval
="$with_afmfonts"
4803 if test "x$with_afmfonts" = xyes
; then
4804 ac_cv_use_afmfonts
='USE_AFM_FOR_POSTSCRIPT="1"'
4806 ac_cv_use_afmfonts
='USE_AFM_FOR_POSTSCRIPT="0"'
4810 LINE
=`grep "USE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
4811 if test "x$LINE" != x
; then
4812 eval "DEFAULT_$LINE"
4814 ac_cv_use_afmfonts
='USE_AFM_FOR_POSTSCRIPT='$DEFAULT_USE_AFM_FOR_POSTSCRIPT
4818 eval "$ac_cv_use_afmfonts"
4819 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
4820 if test "$USE_AFM_FOR_POSTSCRIPT" = 1; then
4821 echo "$ac_t""yes" 1>&6
4823 echo "$ac_t""no" 1>&6
4828 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
4829 echo "configure:4830: checking "for normalized
"" >&5
4830 # Check whether --with-normalized or --without-normalized was given.
4831 if test "${with_normalized+set}" = set; then
4832 withval
="$with_normalized"
4833 if test "x$with_normalized" = xyes
; then
4834 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
4836 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
4840 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
4841 if test "x$LINE" != x
; then
4842 eval "DEFAULT_$LINE"
4844 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
4848 eval "$ac_cv_use_normalized"
4849 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
4850 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
4851 echo "$ac_t""yes" 1>&6
4853 echo "$ac_t""no" 1>&6
4858 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
4859 echo "configure:4860: checking "for RPC
"" >&5
4860 # Check whether --with-rpc or --without-rpc was given.
4861 if test "${with_rpc+set}" = set; then
4863 if test "x$with_rpc" = xyes
; then
4864 ac_cv_use_rpc
='USE_RPC="1"'
4866 ac_cv_use_rpc
='USE_RPC="0"'
4870 LINE
=`grep "USE_RPC" ${OSTYPE}.system.cache`
4871 if test "x$LINE" != x
; then
4872 eval "DEFAULT_$LINE"
4874 ac_cv_use_rpc
='USE_RPC='$DEFAULT_USE_RPC
4878 eval "$ac_cv_use_rpc"
4879 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
4880 if test "$USE_RPC" = 1; then
4881 echo "$ac_t""yes" 1>&6
4883 echo "$ac_t""no" 1>&6
4888 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
4889 echo "configure:4890: checking "for wxresources
"" >&5
4890 # Check whether --with-wxresources or --without-wxresources was given.
4891 if test "${with_wxresources+set}" = set; then
4892 withval
="$with_wxresources"
4893 if test "x$with_wxresources" = xyes
; then
4894 ac_cv_use_wxresources
='USE_WX_RESOURCES="1"'
4896 ac_cv_use_wxresources
='USE_WX_RESOURCES="0"'
4900 LINE
=`grep "USE_WX_RESOURCES" ${OSTYPE}.system.cache`
4901 if test "x$LINE" != x
; then
4902 eval "DEFAULT_$LINE"
4904 ac_cv_use_wxresources
='USE_WX_RESOURCES='$DEFAULT_USE_WX_RESOURCES
4908 eval "$ac_cv_use_wxresources"
4909 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
4910 if test "$USE_WX_RESOURCES" = 1; then
4911 echo "$ac_t""yes" 1>&6
4913 echo "$ac_t""no" 1>&6
4918 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
4919 echo "configure:4920: checking "for prologio
"" >&5
4920 # Check whether --with-prologio or --without-prologio was given.
4921 if test "${with_prologio+set}" = set; then
4922 withval
="$with_prologio"
4923 if test "x$with_prologio" = xyes
; then
4924 ac_cv_use_prologio
='USE_PROLOGIO="1"'
4926 ac_cv_use_prologio
='USE_PROLOGIO="0"'
4930 LINE
=`grep "USE_PROLOGIO" ${OSTYPE}.system.cache`
4931 if test "x$LINE" != x
; then
4932 eval "DEFAULT_$LINE"
4934 ac_cv_use_prologio
='USE_PROLOGIO='$DEFAULT_USE_PROLOGIO
4938 eval "$ac_cv_use_prologio"
4939 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
4940 if test "$USE_PROLOGIO" = 1; then
4941 echo "$ac_t""yes" 1>&6
4943 echo "$ac_t""no" 1>&6
4948 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
4949 echo "configure:4950: checking "for postscript
"" >&5
4950 # Check whether --with-postscript or --without-postscript was given.
4951 if test "${with_postscript+set}" = set; then
4952 withval
="$with_postscript"
4953 if test "x$with_postscript" = xyes
; then
4954 ac_cv_use_postscript
='USE_POSTSCRIPT="1"'
4956 ac_cv_use_postscript
='USE_POSTSCRIPT="0"'
4960 LINE
=`grep "USE_POSTSCRIPT" ${OSTYPE}.system.cache`
4961 if test "x$LINE" != x
; then
4962 eval "DEFAULT_$LINE"
4964 ac_cv_use_postscript
='USE_POSTSCRIPT='$DEFAULT_USE_POSTSCRIPT
4968 eval "$ac_cv_use_postscript"
4969 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
4970 if test "$USE_POSTSCRIPT" = 1; then
4971 echo "$ac_t""yes" 1>&6
4973 echo "$ac_t""no" 1>&6
4978 echo $ac_n "checking "for wxconfig
"""... $ac_c" 1>&6
4979 echo "configure:4980: checking "for wxconfig
"" >&5
4980 # Check whether --with-wxconfig or --without-wxconfig was given.
4981 if test "${with_wxconfig+set}" = set; then
4982 withval
="$with_wxconfig"
4983 if test "x$with_wxconfig" = xyes
; then
4984 ac_cv_use_wxconfig
='USE_WXCONFIG="1"'
4986 ac_cv_use_wxconfig
='USE_WXCONFIG="0"'
4990 LINE
=`grep "USE_WXCONFIG" ${OSTYPE}.system.cache`
4991 if test "x$LINE" != x
; then
4992 eval "DEFAULT_$LINE"
4994 ac_cv_use_wxconfig
='USE_WXCONFIG='$DEFAULT_USE_WXCONFIG
4998 eval "$ac_cv_use_wxconfig"
4999 echo $ac_cv_use_wxconfig >> ${OSTYPE}.system.cache.tmp
5000 if test "$USE_WXCONFIG" = 1; then
5001 echo "$ac_t""yes" 1>&6
5003 echo "$ac_t""no" 1>&6
5008 echo $ac_n "checking "for metafile
"""... $ac_c" 1>&6
5009 echo "configure:5010: checking "for metafile
"" >&5
5010 # Check whether --with-metafile or --without-metafile was given.
5011 if test "${with_metafile+set}" = set; then
5012 withval
="$with_metafile"
5013 if test "x$with_metafile" = xyes
; then
5014 ac_cv_use_metafile
='USE_METAFILE="1"'
5016 ac_cv_use_metafile
='USE_METAFILE="0"'
5020 LINE
=`grep "USE_METAFILE" ${OSTYPE}.system.cache`
5021 if test "x$LINE" != x
; then
5022 eval "DEFAULT_$LINE"
5024 ac_cv_use_metafile
='USE_METAFILE='$DEFAULT_USE_METAFILE
5028 eval "$ac_cv_use_metafile"
5029 echo $ac_cv_use_metafile >> ${OSTYPE}.system.cache.tmp
5030 if test "$USE_METAFILE" = 1; then
5031 echo "$ac_t""yes" 1>&6
5033 echo "$ac_t""no" 1>&6
5038 echo $ac_n "checking "for form
"""... $ac_c" 1>&6
5039 echo "configure:5040: checking "for form
"" >&5
5040 # Check whether --with-form or --without-form was given.
5041 if test "${with_form+set}" = set; then
5042 withval
="$with_form"
5043 if test "x$with_form" = xyes
; then
5044 ac_cv_use_form
='USE_FORM="1"'
5046 ac_cv_use_form
='USE_FORM="0"'
5050 LINE
=`grep "USE_FORM" ${OSTYPE}.system.cache`
5051 if test "x$LINE" != x
; then
5052 eval "DEFAULT_$LINE"
5054 ac_cv_use_form
='USE_FORM='$DEFAULT_USE_FORM
5058 eval "$ac_cv_use_form"
5059 echo $ac_cv_use_form >> ${OSTYPE}.system.cache.tmp
5060 if test "$USE_FORM" = 1; then
5061 echo "$ac_t""yes" 1>&6
5063 echo "$ac_t""no" 1>&6
5068 echo $ac_n "checking "for help"""... $ac_c" 1>&6
5069 echo "configure:5070: checking "for help"" >&5
5070 # Check whether --with-help or --without-help was given.
5071 if test "${with_help+set}" = set; then
5072 withval
="$with_help"
5073 if test "x$with_help" = xyes
; then
5074 ac_cv_use_help
='USE_HELP="1"'
5076 ac_cv_use_help
='USE_HELP="0"'
5080 LINE
=`grep "USE_HELP" ${OSTYPE}.system.cache`
5081 if test "x$LINE" != x
; then
5082 eval "DEFAULT_$LINE"
5084 ac_cv_use_help
='USE_HELP='$DEFAULT_USE_HELP
5088 eval "$ac_cv_use_help"
5089 echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
5090 if test "$USE_HELP" = 1; then
5091 echo "$ac_t""yes" 1>&6
5093 echo "$ac_t""no" 1>&6
5098 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
5099 echo "configure:5100: checking "for IPC
"" >&5
5100 # Check whether --with-ipc or --without-ipc was given.
5101 if test "${with_ipc+set}" = set; then
5103 if test "x$with_ipc" = xyes
; then
5104 ac_cv_use_ipc
='USE_IPC="1"'
5106 ac_cv_use_ipc
='USE_IPC="0"'
5110 LINE
=`grep "USE_IPC" ${OSTYPE}.system.cache`
5111 if test "x$LINE" != x
; then
5112 eval "DEFAULT_$LINE"
5114 ac_cv_use_ipc
='USE_IPC='$DEFAULT_USE_IPC
5118 eval "$ac_cv_use_ipc"
5119 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
5120 if test "$USE_IPC" = 1; then
5121 echo "$ac_t""yes" 1>&6
5123 echo "$ac_t""no" 1>&6
5128 echo $ac_n "checking "for enhanced dialog
"""... $ac_c" 1>&6
5129 echo "configure:5130: checking "for enhanced dialog
"" >&5
5130 # Check whether --with-enhanceddialog or --without-enhanceddialog was given.
5131 if test "${with_enhanceddialog+set}" = set; then
5132 withval
="$with_enhanceddialog"
5133 if test "x$with_enhanceddialog" = xyes
; then
5134 ac_cv_use_enhanceddialog
='USE_ENHANCED_DIALOG="1"'
5136 ac_cv_use_enhanceddialog
='USE_ENHANCED_DIALOG="0"'
5140 LINE
=`grep "USE_ENHANCED_DIALOG" ${OSTYPE}.system.cache`
5141 if test "x$LINE" != x
; then
5142 eval "DEFAULT_$LINE"
5144 ac_cv_use_enhanceddialog
='USE_ENHANCED_DIALOG='$DEFAULT_USE_ENHANCED_DIALOG
5148 eval "$ac_cv_use_enhanceddialog"
5149 echo $ac_cv_use_enhanceddialog >> ${OSTYPE}.system.cache.tmp
5150 if test "$USE_ENHANCED_DIALOG" = 1; then
5151 echo "$ac_t""yes" 1>&6
5153 echo "$ac_t""no" 1>&6
5158 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
5159 echo "configure:5160: checking "for resources
"" >&5
5160 # Check whether --with-resources or --without-resources was given.
5161 if test "${with_resources+set}" = set; then
5162 withval
="$with_resources"
5163 if test "x$with_resources" = xyes
; then
5164 ac_cv_use_resources
='USE_RESOURCES="1"'
5166 ac_cv_use_resources
='USE_RESOURCES="0"'
5170 LINE
=`grep "USE_RESOURCES" ${OSTYPE}.system.cache`
5171 if test "x$LINE" != x
; then
5172 eval "DEFAULT_$LINE"
5174 ac_cv_use_resources
='USE_RESOURCES='$DEFAULT_USE_RESOURCES
5178 eval "$ac_cv_use_resources"
5179 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
5180 if test "$USE_RESOURCES" = 1; then
5181 echo "$ac_t""yes" 1>&6
5183 echo "$ac_t""no" 1>&6
5188 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
5189 echo "configure:5190: checking "for clipboard
"" >&5
5190 # Check whether --with-clipboard or --without-clipboard was given.
5191 if test "${with_clipboard+set}" = set; then
5192 withval
="$with_clipboard"
5193 if test "x$with_clipboard" = xyes
; then
5194 ac_cv_use_clipboard
='USE_CLIPBOARD="1"'
5196 ac_cv_use_clipboard
='USE_CLIPBOARD="0"'
5200 LINE
=`grep "USE_CLIPBOARD" ${OSTYPE}.system.cache`
5201 if test "x$LINE" != x
; then
5202 eval "DEFAULT_$LINE"
5204 ac_cv_use_clipboard
='USE_CLIPBOARD='$DEFAULT_USE_CLIPBOARD
5208 eval "$ac_cv_use_clipboard"
5209 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
5210 if test "$USE_CLIPBOARD" = 1; then
5211 echo "$ac_t""yes" 1>&6
5213 echo "$ac_t""no" 1>&6
5218 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
5219 echo "configure:5220: checking "for timedate
"" >&5
5220 # Check whether --with-timedate or --without-timedate was given.
5221 if test "${with_timedate+set}" = set; then
5222 withval
="$with_timedate"
5223 if test "x$with_timedate" = xyes
; then
5224 ac_cv_use_timedate
='USE_TIMEDATE="1"'
5226 ac_cv_use_timedate
='USE_TIMEDATE="0"'
5230 LINE
=`grep "USE_TIMEDATE" ${OSTYPE}.system.cache`
5231 if test "x$LINE" != x
; then
5232 eval "DEFAULT_$LINE"
5234 ac_cv_use_timedate
='USE_TIMEDATE='$DEFAULT_USE_TIMEDATE
5238 eval "$ac_cv_use_timedate"
5239 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
5240 if test "$USE_TIMEDATE" = 1; then
5241 echo "$ac_t""yes" 1>&6
5243 echo "$ac_t""no" 1>&6
5248 echo $ac_n "checking "for fraction
"""... $ac_c" 1>&6
5249 echo "configure:5250: checking "for fraction
"" >&5
5250 # Check whether --with-fraction or --without-fraction was given.
5251 if test "${with_fraction+set}" = set; then
5252 withval
="$with_fraction"
5253 if test "x$with_fraction" = xyes
; then
5254 ac_cv_use_fraction
='USE_FRACTION="1"'
5256 ac_cv_use_fraction
='USE_FRACTION="0"'
5260 LINE
=`grep "USE_FRACTION" ${OSTYPE}.system.cache`
5261 if test "x$LINE" != x
; then
5262 eval "DEFAULT_$LINE"
5264 ac_cv_use_fraction
='USE_FRACTION='$DEFAULT_USE_FRACTION
5268 eval "$ac_cv_use_fraction"
5269 echo $ac_cv_use_fraction >> ${OSTYPE}.system.cache.tmp
5270 if test "$USE_FRACTION" = 1; then
5271 echo "$ac_t""yes" 1>&6
5273 echo "$ac_t""no" 1>&6
5278 echo $ac_n "checking "for constrains
"""... $ac_c" 1>&6
5279 echo "configure:5280: checking "for constrains
"" >&5
5280 # Check whether --with-constraints or --without-constraints was given.
5281 if test "${with_constraints+set}" = set; then
5282 withval
="$with_constraints"
5283 if test "x$with_constraints" = xyes
; then
5284 ac_cv_use_constraints
='USE_CONSTRAINTS="1"'
5286 ac_cv_use_constraints
='USE_CONSTRAINTS="0"'
5290 LINE
=`grep "USE_CONSTRAINTS" ${OSTYPE}.system.cache`
5291 if test "x$LINE" != x
; then
5292 eval "DEFAULT_$LINE"
5294 ac_cv_use_constraints
='USE_CONSTRAINTS='$DEFAULT_USE_CONSTRAINTS
5298 eval "$ac_cv_use_constraints"
5299 echo $ac_cv_use_constraints >> ${OSTYPE}.system.cache.tmp
5300 if test "$USE_CONSTRAINTS" = 1; then
5301 echo "$ac_t""yes" 1>&6
5303 echo "$ac_t""no" 1>&6
5308 echo $ac_n "checking "for toolbar
"""... $ac_c" 1>&6
5309 echo "configure:5310: checking "for toolbar
"" >&5
5310 # Check whether --with-toolbar or --without-toolbar was given.
5311 if test "${with_toolbar+set}" = set; then
5312 withval
="$with_toolbar"
5313 if test "x$with_toolbar" = xyes
; then
5314 ac_cv_use_toolbar
='USE_TOOLBAR="1"'
5316 ac_cv_use_toolbar
='USE_TOOLBAR="0"'
5320 LINE
=`grep "USE_TOOLBAR" ${OSTYPE}.system.cache`
5321 if test "x$LINE" != x
; then
5322 eval "DEFAULT_$LINE"
5324 ac_cv_use_toolbar
='USE_TOOLBAR='$DEFAULT_USE_TOOLBAR
5328 eval "$ac_cv_use_toolbar"
5329 echo $ac_cv_use_toolbar >> ${OSTYPE}.system.cache.tmp
5330 if test "$USE_TOOLBAR" = 1; then
5331 echo "$ac_t""yes" 1>&6
5333 echo "$ac_t""no" 1>&6
5338 echo $ac_n "checking "for gauge
"""... $ac_c" 1>&6
5339 echo "configure:5340: checking "for gauge
"" >&5
5340 # Check whether --with-gauge or --without-gauge was given.
5341 if test "${with_gauge+set}" = set; then
5342 withval
="$with_gauge"
5343 if test "x$with_gauge" = xyes
; then
5344 ac_cv_use_gauge
='USE_GAUGE="1"'
5346 ac_cv_use_gauge
='USE_GAUGE="0"'
5350 LINE
=`grep "USE_GAUGE" ${OSTYPE}.system.cache`
5351 if test "x$LINE" != x
; then
5352 eval "DEFAULT_$LINE"
5354 ac_cv_use_gauge
='USE_GAUGE='$DEFAULT_USE_GAUGE
5358 eval "$ac_cv_use_gauge"
5359 echo $ac_cv_use_gauge >> ${OSTYPE}.system.cache.tmp
5360 if test "$USE_GAUGE" = 1; then
5361 echo "$ac_t""yes" 1>&6
5363 echo "$ac_t""no" 1>&6
5368 echo $ac_n "checking "for vllist
"""... $ac_c" 1>&6
5369 echo "configure:5370: checking "for vllist
"" >&5
5370 # Check whether --with-vllist or --without-vllist was given.
5371 if test "${with_vllist+set}" = set; then
5372 withval
="$with_vllist"
5373 if test "x$with_vllist" = xyes
; then
5374 ac_cv_use_vllist
='USE_VLBOX="1"'
5376 ac_cv_use_vllist
='USE_VLBOX="0"'
5380 LINE
=`grep "USE_VLBOX" ${OSTYPE}.system.cache`
5381 if test "x$LINE" != x
; then
5382 eval "DEFAULT_$LINE"
5384 ac_cv_use_vllist
='USE_VLBOX='$DEFAULT_USE_VLBOX
5388 eval "$ac_cv_use_vllist"
5389 echo $ac_cv_use_vllist >> ${OSTYPE}.system.cache.tmp
5390 if test "$USE_VLBOX" = 1; then
5391 echo "$ac_t""yes" 1>&6
5393 echo "$ac_t""no" 1>&6
5398 echo $ac_n "checking "for scrollbar
"""... $ac_c" 1>&6
5399 echo "configure:5400: checking "for scrollbar
"" >&5
5400 # Check whether --with-scrollbar or --without-scrollbar was given.
5401 if test "${with_scrollbar+set}" = set; then
5402 withval
="$with_scrollbar"
5403 if test "x$with_scrollbar" = xyes
; then
5404 ac_cv_use_scrollbar
='USE_SCROLLBAR="1"'
5406 ac_cv_use_scrollbar
='USE_SCROLLBAR="0"'
5410 LINE
=`grep "USE_SCROLLBAR" ${OSTYPE}.system.cache`
5411 if test "x$LINE" != x
; then
5412 eval "DEFAULT_$LINE"
5414 ac_cv_use_scrollbar
='USE_SCROLLBAR='$DEFAULT_USE_SCROLLBAR
5418 eval "$ac_cv_use_scrollbar"
5419 echo $ac_cv_use_scrollbar >> ${OSTYPE}.system.cache.tmp
5420 if test "$USE_SCROLLBAR" = 1; then
5421 echo "$ac_t""yes" 1>&6
5423 echo "$ac_t""no" 1>&6
5428 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
5429 echo "configure:5430: checking "for docview
"" >&5
5430 # Check whether --with-docview or --without-docview was given.
5431 if test "${with_docview+set}" = set; then
5432 withval
="$with_docview"
5433 if test "x$with_docview" = xyes
; then
5434 ac_cv_use_docview
='USE_DOC_VIEW_ARCHITECTURE="1"'
5436 ac_cv_use_docview
='USE_DOC_VIEW_ARCHITECTURE="0"'
5440 LINE
=`grep "USE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
5441 if test "x$LINE" != x
; then
5442 eval "DEFAULT_$LINE"
5444 ac_cv_use_docview
='USE_DOC_VIEW_ARCHITECTURE='$DEFAULT_USE_DOC_VIEW_ARCHITECTURE
5448 eval "$ac_cv_use_docview"
5449 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
5450 if test "$USE_DOC_VIEW_ARCHITECTURE" = 1; then
5451 echo "$ac_t""yes" 1>&6
5453 echo "$ac_t""no" 1>&6
5458 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
5459 echo "configure:5460: checking "for printarch
"" >&5
5460 # Check whether --with-printarch or --without-printarch was given.
5461 if test "${with_printarch+set}" = set; then
5462 withval
="$with_printarch"
5463 if test "x$with_printarch" = xyes
; then
5464 ac_cv_use_printarch
='USE_PRINTING_ARCHITECTURE="1"'
5466 ac_cv_use_printarch
='USE_PRINTING_ARCHITECTURE="0"'
5470 LINE
=`grep "USE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
5471 if test "x$LINE" != x
; then
5472 eval "DEFAULT_$LINE"
5474 ac_cv_use_printarch
='USE_PRINTING_ARCHITECTURE='$DEFAULT_USE_PRINTING_ARCHITECTURE
5478 eval "$ac_cv_use_printarch"
5479 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
5480 if test "$USE_PRINTING_ARCHITECTURE" = 1; then
5481 echo "$ac_t""yes" 1>&6
5483 echo "$ac_t""no" 1>&6
5488 echo $ac_n "checking "for typetree
"""... $ac_c" 1>&6
5489 echo "configure:5490: checking "for typetree
"" >&5
5490 # Check whether --with-typetree or --without-typetree was given.
5491 if test "${with_typetree+set}" = set; then
5492 withval
="$with_typetree"
5493 if test "x$with_typetree" = xyes
; then
5494 ac_cv_use_typetree
='USE_TYPETREE="1"'
5496 ac_cv_use_typetree
='USE_TYPETREE="0"'
5500 LINE
=`grep "USE_TYPETREE" ${OSTYPE}.system.cache`
5501 if test "x$LINE" != x
; then
5502 eval "DEFAULT_$LINE"
5504 ac_cv_use_typetree
='USE_TYPETREE='$DEFAULT_USE_TYPETREE
5508 eval "$ac_cv_use_typetree"
5509 echo $ac_cv_use_typetree >> ${OSTYPE}.system.cache.tmp
5510 if test "$USE_TYPETREE" = 1; then
5511 echo "$ac_t""yes" 1>&6
5513 echo "$ac_t""no" 1>&6
5518 echo $ac_n "checking "for wxgraph
"""... $ac_c" 1>&6
5519 echo "configure:5520: checking "for wxgraph
"" >&5
5520 # Check whether --with-wxgraph or --without-wxgraph was given.
5521 if test "${with_wxgraph+set}" = set; then
5522 withval
="$with_wxgraph"
5523 if test "x$with_wxgraph" = xyes
; then
5524 ac_cv_use_wxgraph
='USE_WXGRAPH="1"'
5526 ac_cv_use_wxgraph
='USE_WXGRAPH="0"'
5530 LINE
=`grep "USE_WXGRAPH" ${OSTYPE}.system.cache`
5531 if test "x$LINE" != x
; then
5532 eval "DEFAULT_$LINE"
5534 ac_cv_use_wxgraph
='USE_WXGRAPH='$DEFAULT_USE_WXGRAPH
5538 eval "$ac_cv_use_wxgraph"
5539 echo $ac_cv_use_wxgraph >> ${OSTYPE}.system.cache.tmp
5540 if test "$USE_WXGRAPH" = 1; then
5541 echo "$ac_t""yes" 1>&6
5543 echo "$ac_t""no" 1>&6
5548 echo $ac_n "checking "for wxtree
"""... $ac_c" 1>&6
5549 echo "configure:5550: checking "for wxtree
"" >&5
5550 # Check whether --with-wxtree or --without-wxtree was given.
5551 if test "${with_wxtree+set}" = set; then
5552 withval
="$with_wxtree"
5553 if test "x$with_wxtree" = xyes
; then
5554 ac_cv_use_wxtree
='USE_WXTREE="1"'
5556 ac_cv_use_wxtree
='USE_WXTREE="0"'
5560 LINE
=`grep "USE_WXTREE" ${OSTYPE}.system.cache`
5561 if test "x$LINE" != x
; then
5562 eval "DEFAULT_$LINE"
5564 ac_cv_use_wxtree
='USE_WXTREE='$DEFAULT_USE_WXTREE
5568 eval "$ac_cv_use_wxtree"
5569 echo $ac_cv_use_wxtree >> ${OSTYPE}.system.cache.tmp
5570 if test "$USE_WXTREE" = 1; then
5571 echo "$ac_t""yes" 1>&6
5573 echo "$ac_t""no" 1>&6
5579 if test "$USE_UNIX" = 1 ; then
5580 cat >> confdefs.h
<<\EOF
5596 if test "$USE_GTK" = 1; then
5597 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
5598 if test "${with_gtk_prefix+set}" = set; then
5599 withval
="$with_gtk_prefix"
5600 gtk_config_prefix
="$withval"
5602 gtk_config_prefix
=""
5605 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
5606 if test "${with_gtk_exec_prefix+set}" = set; then
5607 withval
="$with_gtk_exec_prefix"
5608 gtk_config_exec_prefix
="$withval"
5610 gtk_config_exec_prefix
=""
5614 if test x
$gtk_config_exec_prefix != x
; then
5615 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
5616 if test x
${GTK_CONFIG+set} != xset
; then
5617 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
5620 if test x
$gtk_config_prefix != x
; then
5621 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
5622 if test x
${GTK_CONFIG+set} != xset
; then
5623 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
5627 # Extract the first word of "gtk-config", so it can be a program name with args.
5628 set dummy gtk
-config; ac_word
=$2
5629 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5630 echo "configure:5631: checking for $ac_word" >&5
5631 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
5632 echo $ac_n "(cached) $ac_c" 1>&6
5634 case "$GTK_CONFIG" in
5636 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
5639 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5640 for ac_dir
in $PATH; do
5641 test -z "$ac_dir" && ac_dir
=.
5642 if test -f $ac_dir/$ac_word; then
5643 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
5648 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
5652 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
5653 if test -n "$GTK_CONFIG"; then
5654 echo "$ac_t""$GTK_CONFIG" 1>&6
5656 echo "$ac_t""no" 1>&6
5659 min_gtk_version
=0.99.7
5660 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
5661 echo "configure:5662: checking for GTK - version >= $min_gtk_version" >&5
5663 if test "$GTK_CONFIG" != "no" ; then
5664 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
5665 GTK_LIBS
=`$GTK_CONFIG --libs`
5666 ac_save_CFLAGS
="$CFLAGS"
5667 ac_save_LIBS
="$LIBS"
5668 CFLAGS
="$CFLAGS $GTK_CFLAGS"
5669 LIBS
="$LIBS $GTK_LIBS"
5670 if test "$cross_compiling" = yes; then
5671 echo $ac_n "cross compiling; assumed OK... $ac_c"
5673 cat > conftest.
$ac_ext <<EOF
5674 #line 5675 "configure"
5675 #include "confdefs.h"
5677 #include <gtk/gtk.h>
5683 int major, minor, micro;
5685 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
5686 printf("%s, bad version string\n", "$min_gtk_version");
5690 return !((gtk_major_version > major) ||
5691 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
5692 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
5696 if { (eval echo configure
:5697: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
5700 echo "configure: failed program was:" >&5
5701 cat conftest.
$ac_ext >&5
5708 CFLAGS
="$ac_save_CFLAGS"
5709 LIBS
="$ac_save_LIBS"
5713 if test "x$no_gtk" = x
; then
5714 echo "$ac_t""yes" 1>&6
5716 GUI_TK_INCLUDE
="$GTK_CFLAGS"
5717 GUI_TK_LIBRARY
="$GTK_LIBS"
5720 echo "$ac_t""no" 1>&6
5723 { echo "configure: error: Are gtk-config and the GTK in path and up-to-date?" 1>&2; exit 1; }
5728 cat >> confdefs.h
<<\EOF
5733 TOOLKIT_DEF
=__WXGTK__
5734 MAKEINCLUDE
=..
/gtk.inc
5737 if test "$USE_QT" = 1; then
5738 echo $ac_n "checking for Qt includes""... $ac_c" 1>&6
5739 echo "configure:5740: checking for Qt includes" >&5
5742 for ac_dir
in $SEARCH_INCLUDE;
5744 if test -f "$ac_dir/qapp.h"; then
5745 ac_find_includes
=$ac_dir
5750 if test "$ac_find_includes" != "" ; then
5751 echo "$ac_t""found $ac_find_includes" 1>&6
5752 echo $ac_n "checking for Qt library""... $ac_c" 1>&6
5753 echo "configure:5754: checking for Qt library" >&5
5756 for ac_dir
in $SEARCH_LIB;
5758 for ac_extension
in a so sl
; do
5759 if test -f "$ac_dir/libqt.$ac_extension"; then
5760 ac_find_libraries
=$ac_dir
5766 if test "$ac_find_libraries" != "" ; then
5768 ac_path_to_include
=$ac_find_includes
5769 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
5771 if test $result = 0; then
5772 ac_path_to_include
=""
5774 ac_path_to_include
="-I$ac_find_includes"
5778 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
5780 if test $result = 0; then
5783 ac_path_to_link
="-L$ac_find_libraries"
5786 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
5787 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
5788 echo "$ac_t""found Qt at $ac_find_libraries" 1>&6
5790 { echo "configure: error: no" 1>&2; exit 1; }
5793 { echo "configure: error: no" 1>&2; exit 1; }
5795 GUI_TK_LINK
="-lXext -lX11 -lqt -lm"
5796 cat >> confdefs.h
<<\EOF
5801 TOOLKIT_DEF
=__WXQT__
5802 MAKEINCLUDE
=..
/qt.inc
5805 if test "$USE_MOTIF" = 1; then
5806 echo $ac_n "checking for Motif/Lesstif includes""... $ac_c" 1>&6
5807 echo "configure:5808: checking for Motif/Lesstif includes" >&5
5810 for ac_dir
in $SEARCH_INCLUDE;
5812 if test -f "$ac_dir/Xm.h"; then
5813 ac_find_includes
=$ac_dir
5818 if test "$ac_find_includes" != "" ; then
5819 echo "$ac_t""found $ac_find_includes" 1>&6
5820 echo $ac_n "checking for Motif or Lesstif library""... $ac_c" 1>&6
5821 echo "configure:5822: checking for Motif or Lesstif library" >&5
5824 for ac_dir
in $SEARCH_LIB;
5826 for ac_extension
in a so sl
; do
5827 if test -f "$ac_dir/libXm.$ac_extension"; then
5828 ac_find_libraries
=$ac_dir
5834 if test "$ac_find_libraries" != "" ; then
5836 ac_path_to_include
=$ac_find_includes
5837 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
5839 if test $result = 0; then
5840 ac_path_to_include
=""
5842 ac_path_to_include
="-I$ac_find_includes"
5846 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
5848 if test $result = 0; then
5851 ac_path_to_link
="-L$ac_find_libraries"
5854 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
5855 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
5856 echo "$ac_t""found at $ac_find_libraries" 1>&6
5858 { echo "configure: error: no" 1>&2; exit 1; }
5861 { echo "configure: error: no" 1>&2; exit 1; }
5863 GUI_TK_LINK
="-lXext -lXt -lX11 -lXm -lm"
5864 cat >> confdefs.h
<<\EOF
5865 #define __WXMOTIF__ 1
5869 TOOLKIT_DEF
=__WXMOTIF__
5870 MAKEINCLUDE
=..
/motif.inc
5873 if test "$TOOLKIT" = ""; then
5874 { echo "configure: error: You must specify a toolkit: --with-gtk --with-qt --with-motif" 1>&2; exit 1; }
5888 if test "$USE_ZLIB" = 1 ; then
5893 if test "$USE_GDK_IMLIB" = 1 ; then
5894 GDK_IMLIB
="GDK_IMLIB"
5898 if test "$USE_LIBPNG" = 1 ; then
5903 if test "$USE_ODBC" = 1 ; then
5908 if test "$USE_APPLE_IEEE" = 1 ; then
5909 APPLE_IEEE
="APPLE_IEEE"
5910 cat >> confdefs.h
<<EOF
5911 #define USE_APPLE_IEEE $USE_APPLE_IEEE
5917 if test "$USE_STORABLE_CLASSES" = 1 ; then
5919 cat >> confdefs.h
<<EOF
5920 #define USE_STORABLE_CLASSES $USE_STORABLE_CLASSES
5926 if test "$USE_AUTOTRANS" = 1 ; then
5927 AUTOTRANS
="AUTOTRANS"
5928 cat >> confdefs.h
<<EOF
5929 #define USE_AUTOTRANS $USE_AUTOTRANS
5935 if test "$USE_DEBUG_INFO" = 1 ; then
5940 if test "$USE_DEBUG_FLAG" = 1 ; then
5941 cat >> confdefs.h
<<EOF
5942 #define WXDEBUG $USE_DEBUG_FLAG
5945 WXDEBUG_DEFINE
="-D__WXDEBUG__"
5949 if test "$USE_MEM_TRACING" = 1 ; then
5950 cat >> confdefs.h
<<EOF
5951 #define USE_MEMORY_TRACING $USE_MEM_TRACING
5957 if test "$USE_DMALLOC" = 1 ; then
5958 EXTRA_LINK
="$EXTRA_LINK -ldmalloc"
5963 if test "$USE_PROFILE" = 1 ; then
5968 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
5969 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
5970 if test "$USE_OPTIMISE" = 0 ; then
5973 if test "$GCC" = yes ; then
5975 case "${canonical}" in
5977 OPTIMISE
="${OPTIMISE} "
5986 USE_IOSTREAMH
=$DEFAULT_USE_IOSTREAMH
5987 cat >> confdefs.h
<<EOF
5988 #define USE_IOSTREAMH $USE_IOSTREAMH
5993 if test "$USE_RPC" = 1 ; then
5995 cat >> confdefs.h
<<EOF
5996 #define USE_RPC $USE_RPC
6003 if test "$USE_WX_RESOURCES" = 1 ; then
6004 WXRESOURCES
="WXRESOURCES"
6005 cat >> confdefs.h
<<EOF
6006 #define USE_WX_RESOURCES $USE_WX_RESOURCES
6014 if test "$USE_PROLOGIO" = 1 ; then
6016 PROLOGIOSRC
="PROLOGIOSRC"
6017 cat >> confdefs.h
<<EOF
6018 #define USE_PROLOGIO 1
6026 if test "$USE_POSTSCRIPT" = 1 ; then
6027 POSTSCRIPTDC
="POSTSCRIPTDC"
6028 cat >> confdefs.h
<<EOF
6029 #define USE_POSTSCRIPT 1
6035 if test "$USE_WXCONFIG" = 1 ; then
6036 cat >> confdefs.h
<<EOF
6037 #define USE_WXCONFIG $USE_WXCONFIG
6043 if test "$USE_METAFILE" = 1 ; then
6045 cat >> confdefs.h
<<EOF
6046 #define USE_METAFILE $USE_METAFILE
6053 if test "$USE_FORM" = 1 ; then
6055 cat >> confdefs.h
<<EOF
6056 #define USE_FORM $USE_FORM
6063 if test "$USE_HELP" = 1 ; then
6065 cat >> confdefs.h
<<EOF
6066 #define USE_HELP $USE_HELP
6073 if test "$USE_IPC" = 1 ; then
6075 cat >> confdefs.h
<<EOF
6083 if test "$USE_ENHANCED_DIALOG" = 1 ; then
6084 ENHDIALOGBOX
="ENHDIALOGBOX"
6085 cat >> confdefs.h
<<EOF
6086 #define USE_ENHANCED_DIALOG $USE_ENHANCED_DIALOG
6093 if test "$USE_RESOURCES" = 1 ; then
6094 XRESOURCES
="XRESOURCES"
6095 cat >> confdefs.h
<<EOF
6096 #define USE_RESOURCES $USE_RESOURCES
6103 if test "$USE_CLIPBOARD" = 1 ; then
6104 CLIPBOARD
="CLIPBOARD"
6105 cat >> confdefs.h
<<EOF
6106 #define USE_CLIPBOARD $USE_CLIPBOARD
6113 if test "$USE_CONSTRAINTS" = 1 ; then
6114 CONSTRAINTS
="CONSTRAINTS"
6115 cat >> confdefs.h
<<EOF
6116 #define USE_CONSTRAINTS $USE_CONSTRAINTS
6123 if test "$USE_TIMEDATE" = 1 ; then
6125 cat >> confdefs.h
<<EOF
6126 #define USE_TIMEDATE $USE_TIMEDATE
6133 if test "$USE_FRACTION" = 1 ; then
6135 cat >> confdefs.h
<<EOF
6136 #define USE_FRACTION $USE_FRACTION
6143 if test "$USE_TOOLBAR" = 1 ; then
6145 cat >> confdefs.h
<<EOF
6146 #define USE_TOOLBAR $USE_TOOLBAR
6149 cat >> confdefs.h
<<EOF
6150 #define USE_XT_TOOLBAR $USE_XT_TOOLBAR
6157 if test "$USE_GAUGE" = 1 ; then
6160 cat >> confdefs.h
<<EOF
6161 #define USE_GAUGE $USE_GAUGE
6167 if test "$USE_VLBOX" = 1 ; then
6168 VIRTLISTBOX
="VIRLISTBOX"
6169 cat >> confdefs.h
<<EOF
6170 #define USE_VIRLISTBOX $USE_VIRLISTBOX
6177 if test "$USE_SCROLLBAR" = 1 ; then
6178 SCROLLBAR
="SCROLLBAR"
6179 cat >> confdefs.h
<<EOF
6180 #define USE_SCROLLBAR $USE_SCROLLBAR
6187 if test "$USE_DOC_VIEW_ARCHITECTURE" = 1 ; then
6189 cat >> confdefs.h
<<EOF
6190 #define USE_DOC_VIEW_ARCHITECTURE $USE_DOC_VIEW_ARCHITECTURE
6197 if test "$USE_PRINTING_ARCHITECTURE" = 1 ; then
6198 PRINTPREVIEW
="PRINTPREVIEW"
6199 cat >> confdefs.h
<<EOF
6200 #define USE_PRINTING_ARCHITECTURE $USE_PRINTING_ARCHITECTURE
6207 if test "$USE_TYPETREE" = 1 ; then
6209 cat >> confdefs.h
<<EOF
6210 #define USE_TYPETREE $USE_TYPETREE
6217 if test "$USE_WXGRAPH" = 1 ; then
6219 cat >> confdefs.h
<<EOF
6220 #define USE_WXGRAPH $USE_WXGRAPH
6227 if test "$USE_WXTREE" = 1 ; then
6229 cat >> confdefs.h
<<EOF
6230 #define USE_WXTREE $USE_WXTREE
6237 if test "$USE_OPENGL" = 1 ; then
6241 cat >> confdefs.h
<<EOF
6242 #define USE_AFM_FOR_POSTSCRIPT $USE_AFM_FOR_POSTSCRIPT
6246 cat >> confdefs.h
<<EOF
6247 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
6261 # Check whether --with-threads or --without-threads was given.
6262 if test "${with_threads+set}" = set; then
6263 withval
="$with_threads"
6264 USE_THREADS
="$withval"
6268 if test "$USE_THREADS" = "1"; then
6269 UNIX_THREAD
="gtk/threadno.cpp"
6272 echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
6273 echo "configure:6274: checking for pthread_create in -lpthread-0.7" >&5
6274 ac_lib_var
=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
6275 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6276 echo $ac_n "(cached) $ac_c" 1>&6
6278 ac_save_LIBS
="$LIBS"
6279 LIBS
="-lpthread-0.7 $LIBS"
6280 cat > conftest.
$ac_ext <<EOF
6281 #line 6282 "configure"
6282 #include "confdefs.h"
6283 /* Override any gcc2 internal prototype to avoid an error. */
6284 /* We use char because int might match the return type of a gcc2
6285 builtin and then its argument prototype would still apply. */
6286 char pthread_create();
6292 if { (eval echo configure
:6293: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6294 eval "ac_cv_lib_$ac_lib_var=yes"
6296 echo "configure: failed program was:" >&5
6297 cat conftest.
$ac_ext >&5
6299 eval "ac_cv_lib_$ac_lib_var=no"
6302 LIBS
="$ac_save_LIBS"
6305 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6306 echo "$ac_t""yes" 1>&6
6308 UNIX_THREAD
="gtk/threadpsx.cpp"
6309 THREADS_LINK
="-lpthread-0.7"
6310 cat >> confdefs.h
<<\EOF
6311 #define USE_THREADS 1
6316 echo "$ac_t""no" 1>&6
6318 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
6319 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
6320 echo "configure:6321: checking for sys/prctl.h" >&5
6321 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
6322 echo $ac_n "(cached) $ac_c" 1>&6
6324 cat > conftest.
$ac_ext <<EOF
6325 #line 6326 "configure"
6326 #include "confdefs.h"
6327 #include <sys/prctl.h>
6329 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
6330 { (eval echo configure
:6331: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
6331 ac_err
=`grep -v '^ *+' conftest.out`
6332 if test -z "$ac_err"; then
6334 eval "ac_cv_header_$ac_safe=yes"
6337 echo "configure: failed program was:" >&5
6338 cat conftest.
$ac_ext >&5
6340 eval "ac_cv_header_$ac_safe=no"
6344 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
6345 echo "$ac_t""yes" 1>&6
6347 UNIX_THREAD
="gtk/threadsgi.cpp"
6348 cat >> confdefs.h
<<\EOF
6349 #define USE_THREADS 1
6354 echo "$ac_t""no" 1>&6
6357 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
6358 echo "configure:6359: checking for pthread_create in -lpthread" >&5
6359 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
6360 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6361 echo $ac_n "(cached) $ac_c" 1>&6
6363 ac_save_LIBS
="$LIBS"
6364 LIBS
="-lpthread $LIBS"
6365 cat > conftest.
$ac_ext <<EOF
6366 #line 6367 "configure"
6367 #include "confdefs.h"
6368 /* Override any gcc2 internal prototype to avoid an error. */
6369 /* We use char because int might match the return type of a gcc2
6370 builtin and then its argument prototype would still apply. */
6371 char pthread_create();
6377 if { (eval echo configure
:6378: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6379 eval "ac_cv_lib_$ac_lib_var=yes"
6381 echo "configure: failed program was:" >&5
6382 cat conftest.
$ac_ext >&5
6384 eval "ac_cv_lib_$ac_lib_var=no"
6387 LIBS
="$ac_save_LIBS"
6390 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6391 echo "$ac_t""yes" 1>&6
6393 UNIX_THREAD
="gtk/threadpsx.cpp"
6394 THREADS_LINK
="-lpthread"
6395 cat >> confdefs.h
<<\EOF
6396 #define USE_THREADS 1
6401 echo "$ac_t""no" 1>&6
6407 echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
6408 echo "configure:6409: checking for pthread_create in -lpthreads" >&5
6409 ac_lib_var
=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'`
6410 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6411 echo $ac_n "(cached) $ac_c" 1>&6
6413 ac_save_LIBS
="$LIBS"
6414 LIBS
="-lpthreads $LIBS"
6415 cat > conftest.
$ac_ext <<EOF
6416 #line 6417 "configure"
6417 #include "confdefs.h"
6418 /* Override any gcc2 internal prototype to avoid an error. */
6419 /* We use char because int might match the return type of a gcc2
6420 builtin and then its argument prototype would still apply. */
6421 char pthread_create();
6427 if { (eval echo configure
:6428: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
6429 eval "ac_cv_lib_$ac_lib_var=yes"
6431 echo "configure: failed program was:" >&5
6432 cat conftest.
$ac_ext >&5
6434 eval "ac_cv_lib_$ac_lib_var=no"
6437 LIBS
="$ac_save_LIBS"
6440 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6441 echo "$ac_t""yes" 1>&6
6443 UNIX_THREAD
="gtk/threadpsx.cpp"
6444 THREADS_LINK
="-lpthreads"
6445 cat >> confdefs.h
<<\EOF
6446 #define USE_THREADS 1
6451 echo "$ac_t""no" 1>&6
6465 if test "$USE_OPENGL" = 1; then
6466 echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
6467 echo "configure:6468: checking for OpenGL includes" >&5
6470 for ac_dir
in $SEARCH_INCLUDE;
6472 if test -f "$ac_dir/GL/gl.h"; then
6473 ac_find_includes
=$ac_dir
6478 if test "$ac_find_includes" != "" ; then
6479 OPENGL_INCLUDE
="-I$ac_find_includes"
6480 echo "$ac_t""found $ac_find_includes" 1>&6
6481 echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
6482 echo "configure:6483: checking for OpenGL library" >&5
6485 for ac_dir
in $SEARCH_LIB;
6487 for ac_extension
in a so sl
; do
6488 if test -f "$ac_dir/libGL.$ac_extension"; then
6489 ac_find_libraries
=$ac_dir
6495 if test "$ac_find_libraries" != "" ; then
6497 ac_path_to_include
=$ac_find_includes
6498 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6500 if test $result = 0; then
6501 ac_path_to_include
=""
6503 ac_path_to_include
="-I$ac_find_includes"
6507 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6509 if test $result = 0; then
6512 ac_path_to_link
="-L$ac_find_libraries"
6515 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6516 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6517 OPENGL_LIBRARY
="$ac_path_to_link"
6518 OPENGL_INCLUDE
="$ac_path_to_include"
6520 echo "$ac_t""found OpenGL at $ac_find_libraries" 1>&6
6524 for ac_dir
in $SEARCH_LIB;
6526 for ac_extension
in a so sl
; do
6527 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6528 ac_find_libraries
=$ac_dir
6534 if test "$ac_find_libraries" != "" ; then
6536 ac_path_to_include
=$ac_find_includes
6537 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6539 if test $result = 0; then
6540 ac_path_to_include
=""
6542 ac_path_to_include
="-I$ac_find_includes"
6546 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6548 if test $result = 0; then
6551 ac_path_to_link
="-L$ac_find_libraries"
6554 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6555 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6556 OPENGL_LIBRARY
="$ac_path_to_link"
6557 OPENGL_INCLUDE
="$ac_path_to_include"
6558 OPENGL_LINK
="-lMesaGL"
6559 echo "$ac_t""found MESA at $ac_find_libraries" 1>&6
6561 { echo "configure: error: no" 1>&2; exit 1; }
6565 { echo "configure: error: no" 1>&2; exit 1; }
6569 if test "$USE_GDK_IMLIB" = 1; then
6570 cat >> confdefs.h
<<EOF
6571 #define USE_GDK_IMLIB $USE_GDK_IMLIB
6576 if test "$USE_ZLIB" = 1; then
6577 cat >> confdefs.h
<<EOF
6578 #define USE_ZLIB $USE_ZLIB
6583 if test "$USE_LIBPNG" = 1; then
6584 cat >> confdefs.h
<<EOF
6585 #define USE_LIBPNG $USE_LIBPNG
6590 if test "$USE_ODBC" = 1; then
6591 cat >> confdefs.h
<<EOF
6592 #define USE_ODBC $USE_ODBC
6600 if test "$USE_OPENGL" != 1; then
6607 cat >> confdefs.h
<<EOF
6608 #define USE_GLX $USE_GLX
6619 case "${canonical}" in
6622 if test "${CC}" != "gcc" ; then
6623 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
6624 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
6630 CREATE_SHARED
=sharedHpux
6635 CREATE_SHARED
=sharedLinux
6638 *-*-irix5* | *-*-irix6* )
6639 # PICFLAGS can remain empty, as pic is the default
6641 CREATE_SHARED
=sharedIrix
6642 cat >> confdefs.h
<<\EOF
6649 if test "${CC}" != "gcc" ; then
6654 CREATE_SHARED
=sharedSolaris2
6655 cat >> confdefs.h
<<\EOF
6662 if test "${CC}" != "gcc" ; then
6668 CREATE_SHARED
=sharedSunos4
6669 cat >> confdefs.h
<<\EOF
6675 *-*-freebsd* | *-*-netbsd*)
6677 CREATE_SHARED
=sharedBsd
6678 cat >> confdefs.h
<<\EOF
6686 CREATE_SHARED
=sharedOSF
6690 if test "${CC}" != "gcc" ; then
6695 CREATE_SHARED
=sharedDgux
6696 cat >> confdefs.h
<<\EOF
6703 if test "${CC}" != "gcc" ; then
6708 CREATE_SHARED
=sharedSysV
6709 cat >> confdefs.h
<<\EOF
6716 if test "${CC}" != "gcc" ; then
6721 CREATE_SHARED
=sharedAIX
6722 cat >> confdefs.h
<<\EOF
6733 if test "x$GCC" = xyes
; then
6734 CFLAGS
="${CFLAGS} -Wall"
6737 if test "x$GXX" = xyes
; then
6738 CXXFLAGS
="${CXXFLAGS} -Wall"
6741 if test "$USE_SHARED" != 1; then
6751 echo $OS >> system.list
6752 echo $OS >> ..
/..
/system.list
6756 cat > confcache
<<\EOF
6757 # This file is a shell script that caches the results of configure
6758 # tests run on this system so they can be shared between configure
6759 # scripts and configure runs. It is not useful on other systems.
6760 # If it contains results you don't want to keep, you may remove or edit it.
6762 # By default, configure uses ./config.cache as the cache file,
6763 # creating it if it does not exist already. You can give configure
6764 # the --cache-file=FILE option to use a different cache file; that is
6765 # what configure does when it calls configure scripts in
6766 # subdirectories, so they share the cache.
6767 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6768 # config.status only pays attention to the cache file if you give it the
6769 # --recheck option to rerun configure.
6772 # The following way of writing the cache mishandles newlines in values,
6773 # but we know of no workaround that is simple, portable, and efficient.
6774 # So, don't put newlines in cache variables' values.
6775 # Ultrix sh set writes to stderr and can't be redirected directly,
6776 # and sets the high bit in the cache file unless we assign to the vars.
6778 case `(ac_space=' '; set) 2>&1` in
6780 # `set' does not quote correctly, so add quotes (double-quote substitution
6781 # turns \\\\ into \\, and sed turns \\ into \).
6783 -e "s/'/'\\\\''/g" \
6784 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6787 # `set' quotes correctly as required by POSIX, so do not add quotes.
6788 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6791 if cmp -s $cache_file confcache
; then
6794 if test -w $cache_file; then
6795 echo "updating cache $cache_file"
6796 cat confcache
> $cache_file
6798 echo "not updating unwritable cache $cache_file"
6803 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
6805 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6806 # Let make expand exec_prefix.
6807 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6809 # Any assignment to VPATH causes Sun make to only execute
6810 # the first set of double-colon rules, so remove it if not needed.
6811 # If there is a colon in the path, we need to keep it.
6812 if test "x$srcdir" = x.
; then
6813 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
6816 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
6818 DEFS
=-DHAVE_CONFIG_H
6820 # Without the "./", some shells look in PATH for config.status.
6821 : ${CONFIG_STATUS=./config.status}
6823 echo creating
$CONFIG_STATUS
6824 rm -f $CONFIG_STATUS
6825 cat > $CONFIG_STATUS <<EOF
6827 # Generated automatically by configure.
6828 # Run this file to recreate the current configuration.
6829 # This directory was configured as follows,
6830 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6832 # $0 $ac_configure_args
6834 # Compiler output produced by configure, useful for debugging
6835 # configure, is in ./config.log if it exists.
6837 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
6840 case "\$ac_option" in
6841 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6842 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
6843 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
6844 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
6845 echo "$CONFIG_STATUS generated by autoconf version 2.12"
6847 -help | --help | --hel | --he | --h)
6848 echo "\$ac_cs_usage"; exit 0 ;;
6849 *) echo "\$ac_cs_usage"; exit 1 ;;
6853 ac_given_srcdir=$srcdir
6854 ac_given_INSTALL="$INSTALL"
6856 trap 'rm -fr `echo "./setup/substit ./setup/setup.h:./setup/setup.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
6858 cat >> $CONFIG_STATUS <<EOF
6860 # Protect against being on the right side of a sed subst in config.status.
6861 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
6862 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
6865 s%@CFLAGS@%$CFLAGS%g
6866 s%@CPPFLAGS@%$CPPFLAGS%g
6867 s%@CXXFLAGS@%$CXXFLAGS%g
6869 s%@LDFLAGS@%$LDFLAGS%g
6871 s%@exec_prefix@%$exec_prefix%g
6872 s%@prefix@%$prefix%g
6873 s%@program_transform_name@%$program_transform_name%g
6874 s%@bindir@%$bindir%g
6875 s%@sbindir@%$sbindir%g
6876 s%@libexecdir@%$libexecdir%g
6877 s%@datadir@%$datadir%g
6878 s%@sysconfdir@%$sysconfdir%g
6879 s%@sharedstatedir@%$sharedstatedir%g
6880 s%@localstatedir@%$localstatedir%g
6881 s%@libdir@%$libdir%g
6882 s%@includedir@%$includedir%g
6883 s%@oldincludedir@%$oldincludedir%g
6884 s%@infodir@%$infodir%g
6885 s%@mandir@%$mandir%g
6886 s%@WXBASEDIR@%$WXBASEDIR%g
6890 s%@CXXCPP@%$CXXCPP%g
6891 s%@RANLIB@%$RANLIB%g
6893 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
6894 s%@INSTALL_DATA@%$INSTALL_DATA%g
6897 s%@X_CFLAGS@%$X_CFLAGS%g
6898 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
6899 s%@X_LIBS@%$X_LIBS%g
6900 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
6901 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
6902 s%@LIBOBJS@%$LIBOBJS%g
6905 s%@LEXLIB@%$LEXLIB%g
6906 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
6908 s%@host_alias@%$host_alias%g
6909 s%@host_cpu@%$host_cpu%g
6910 s%@host_vendor@%$host_vendor%g
6911 s%@host_os@%$host_os%g
6912 s%@GTK_CONFIG@%$GTK_CONFIG%g
6913 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
6914 s%@GTK_LIBS@%$GTK_LIBS%g
6915 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
6916 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
6917 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
6918 s%@TOOLKIT@%$TOOLKIT%g
6919 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
6920 s%@MAKEINCLUDE@%$MAKEINCLUDE%g
6921 s%@WXDEBUG@%$WXDEBUG%g
6922 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
6923 s%@EXTRA_LINK@%$EXTRA_LINK%g
6924 s%@PROFILE@%$PROFILE%g
6925 s%@OPTIMISE@%$OPTIMISE%g
6927 s%@WXRESOURCES@%$WXRESOURCES%g
6928 s%@PROLOGIO@%$PROLOGIO%g
6929 s%@PROLOGIOSRC@%$PROLOGIOSRC%g
6930 s%@POSTSCRIPTDC@%$POSTSCRIPTDC%g
6931 s%@METAFILE@%$METAFILE%g
6935 s%@ENHDIALOGBOX@%$ENHDIALOGBOX%g
6936 s%@XRESOURCES@%$XRESOURCES%g
6937 s%@CLIPBOARD@%$CLIPBOARD%g
6938 s%@CONSTRAINTS@%$CONSTRAINTS%g
6939 s%@TIMEDATE@%$TIMEDATE%g
6940 s%@FRACTION@%$FRACTION%g
6941 s%@TOOLBAR@%$TOOLBAR%g
6943 s%@VIRLISTBOX@%$VIRLISTBOX%g
6944 s%@SCROLLBAR@%$SCROLLBAR%g
6945 s%@DOCVIEW@%$DOCVIEW%g
6946 s%@PRINTPREVIEW@%$PRINTPREVIEW%g
6947 s%@TYPETREE@%$TYPETREE%g
6948 s%@WXGRAPH@%$WXGRAPH%g
6949 s%@WXTREE@%$WXTREE%g
6950 s%@DL_LIBRARY@%$DL_LIBRARY%g
6951 s%@UNIX_THREAD@%$UNIX_THREAD%g
6952 s%@THREADS_LINK@%$THREADS_LINK%g
6953 s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g
6954 s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g
6955 s%@OPENGL_LINK@%$OPENGL_LINK%g
6956 s%@GLCANVAS@%$GLCANVAS%g
6958 s%@PICFLAGS@%$PICFLAGS%g
6959 s%@CREATE_SHARED@%$CREATE_SHARED%g
6964 cat >> $CONFIG_STATUS <<\EOF
6966 # Split the substitutions into bite-sized pieces for seds with
6967 # small command number limits, like on Digital OSF/1 and HP-UX.
6968 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
6969 ac_file
=1 # Number of current file.
6970 ac_beg
=1 # First line for current file.
6971 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
6974 while $ac_more_lines; do
6975 if test $ac_beg -gt 1; then
6976 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
6978 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
6980 if test ! -s conftest.s
$ac_file; then
6982 rm -f conftest.s
$ac_file
6984 if test -z "$ac_sed_cmds"; then
6985 ac_sed_cmds
="sed -f conftest.s$ac_file"
6987 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
6989 ac_file
=`expr $ac_file + 1`
6991 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
6994 if test -z "$ac_sed_cmds"; then
6999 cat >> $CONFIG_STATUS <<EOF
7001 CONFIG_FILES=\${CONFIG_FILES-"./setup/substit"}
7003 cat >> $CONFIG_STATUS <<\EOF
7004 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
7005 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7007 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7008 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7009 *) ac_file_in
="${ac_file}.in" ;;
7012 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
7014 # Remove last slash and all that follows it. Not all systems have dirname.
7015 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7016 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
7017 # The file is in a subdirectory.
7018 test ! -d "$ac_dir" && mkdir "$ac_dir"
7019 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
7020 # A "../" for each directory in $ac_dir_suffix.
7021 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
7023 ac_dir_suffix
= ac_dots
=
7026 case "$ac_given_srcdir" in
7028 if test -z "$ac_dots"; then top_srcdir
=.
7029 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
7030 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
7032 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
7033 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
7036 case "$ac_given_INSTALL" in
7037 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
7038 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
7041 echo creating
"$ac_file"
7043 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
7045 *Makefile
*) ac_comsub
="1i\\
7046 # $configure_input" ;;
7050 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7052 s%@configure_input@%$configure_input%g
7053 s%@srcdir@%$srcdir%g
7054 s%@top_srcdir@%$top_srcdir%g
7055 s%@INSTALL@%$INSTALL%g
7056 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
7060 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7061 # NAME is the cpp macro being defined and VALUE is the value it is being given.
7063 # ac_d sets the value in "#define NAME VALUE" lines.
7064 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7065 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
7068 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
7069 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7070 ac_uB
='\([ ]\)%\1#\2define\3'
7073 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7074 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7075 ac_eB
='$%\1#\2define\3'
7079 if test "${CONFIG_HEADERS+set}" != set; then
7081 cat >> $CONFIG_STATUS <<EOF
7082 CONFIG_HEADERS="./setup/setup.h:./setup/setup.hin"
7084 cat >> $CONFIG_STATUS <<\EOF
7086 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
7087 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7089 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
7090 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
7091 *) ac_file_in
="${ac_file}.in" ;;
7094 echo creating
$ac_file
7096 rm -f conftest.frag conftest.
in conftest.out
7097 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
7098 cat $ac_file_inputs > conftest.
in
7102 # Transform confdefs.h into a sed script conftest.vals that substitutes
7103 # the proper values into config.h.in to produce config.h. And first:
7104 # Protect against being on the right side of a sed subst in config.status.
7105 # Protect against being in an unquoted here document in config.status.
7107 cat > conftest.hdr
<<\EOF
7110 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
7114 sed -n -f conftest.hdr confdefs.h > conftest.vals
7117 # This sed command replaces #undef with comments. This is necessary, for
7118 # example, in the case of _POSIX_SOURCE, which is predefined and required
7119 # on some systems where configure will not decide to define it.
7120 cat >> conftest.vals <<\EOF
7121 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
7124 # Break up conftest.vals because some shells have a limit on
7125 # the size of here documents, and old seds have small limits too.
7130 ac_lines=`grep -c . conftest.vals
`
7131 # grep -c gives empty output for an empty file on some AIX systems.
7132 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
7133 # Write a limited-size here document to conftest.frag.
7134 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
7135 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
7137 sed -f conftest.frag conftest.in > conftest.out
7139 mv conftest.out conftest.in
7141 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
7143 mv conftest.tail conftest.vals
7147 cat >> $CONFIG_STATUS <<\EOF
7148 rm -f conftest.frag conftest.h
7149 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
7150 cat conftest.in >> conftest.h
7152 if cmp -s $ac_file conftest.h 2>/dev/null; then
7153 echo "$ac_file is unchanged"
7156 # Remove last slash and all that follows it. Not all systems have dirname.
7157 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
7158 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
7159 # The file is in a subdirectory.
7160 test ! -d "$ac_dir" && mkdir "$ac_dir"
7163 mv conftest.h $ac_file
7168 cat >> $CONFIG_STATUS <<EOF
7171 cat >> $CONFIG_STATUS <<\EOF
7175 chmod +x $CONFIG_STATUS
7176 rm -fr confdefs* $ac_clean_files
7177 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
7181 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache