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"
17 **--with-shared create shared libraries"
19 **--without-optimise create unoptimised code"
21 **--with-debug_flag create code with DEBUG define set to 1"
23 **--with-debug_info create code with debuging information included"
25 **--with-mem_traing create code with memory tracing"
27 **--with-profile create code with profiling information included"
29 **--with-zlib use zlib (LZW comression)"
31 **--with-gdk_imlib use Raster's gdk_imlib (Image library)"
33 **--with-libpng use libpng (PNG image format)"
35 **--with-opengl use opengl (OpenGL or Mesa)"
37 **--with-storable use storable classes"
39 **--with-autotrans use gettext automatic translation"
41 **--with-afmfonts use Adobe Font Metric Font table"
43 **--with-PS-normalized use normalized PS fonts"
47 **--with-wxresources use wxresources"
49 **--with-prologio use prologio"
51 **--with-postscript use postscript-device-context"
53 **--with-wxconfig use wxconfig"
55 **--with-metafile use metafile"
57 **--with-form use form"
59 **--with-help use help"
63 **--with-enhanceddialog use enhanced dialog"
65 **--with-resources use resources"
67 **--with-clipboard use clipboard"
69 **--with-timedate use timedate"
71 **--with-fraction use fraction"
73 **--with-constraints use constraints"
75 **--with-toolbar use toolbar"
77 **--with-gauge use gauge"
79 **--with-vlbox use virtual list box"
81 **--with-scrollbar use scrollbar"
83 **--with-docview use document view architecture"
85 **--with-printarch use printing architecture"
87 **--with-typetree use typetree"
89 **--with-wxgraph use wxgraph"
91 **--with-wxtree use wxtree"
93 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
95 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
97 # Initialize some variables set by options.
98 # The variables have the same names as the options, with
99 # dashes changed to underlines.
101 cache_file
=.
/config.cache
110 program_transform_name
=s
,x
,x
,
118 bindir
='${exec_prefix}/bin'
119 sbindir
='${exec_prefix}/sbin'
120 libexecdir
='${exec_prefix}/libexec'
121 datadir
='${prefix}/share'
122 sysconfdir
='${prefix}/etc'
123 sharedstatedir
='${prefix}/com'
124 localstatedir
='${prefix}/var'
125 libdir
='${exec_prefix}/lib'
126 includedir
='${prefix}/include'
127 oldincludedir
='/usr/include'
128 infodir
='${prefix}/info'
129 mandir
='${prefix}/man'
131 # Initialize some other variables.
134 # Maximum number of lines to put in a shell here document.
141 # If the previous option needs an argument, assign it.
142 if test -n "$ac_prev"; then
143 eval "$ac_prev=\$ac_option"
149 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
153 # Accept the important Cygnus configure options, so we can diagnose typos.
157 -bindir | --bindir | --bindi | --bind | --bin | --bi)
159 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
160 bindir
="$ac_optarg" ;;
162 -build | --build | --buil | --bui | --bu)
164 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
165 build
="$ac_optarg" ;;
167 -cache-file | --cache-file | --cache-fil | --cache-fi \
168 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
169 ac_prev
=cache_file
;;
170 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
171 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
172 cache_file
="$ac_optarg" ;;
174 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
176 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
178 datadir
="$ac_optarg" ;;
180 -disable-* | --disable-*)
181 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
182 # Reject names that are not valid shell variable names.
183 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
184 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
186 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
187 eval "enable_${ac_feature}=no" ;;
189 -enable-* | --enable-*)
190 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
191 # Reject names that are not valid shell variable names.
192 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
193 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
195 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
200 eval "enable_${ac_feature}='$ac_optarg'" ;;
202 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
203 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
204 | --exec | --exe | --ex)
205 ac_prev
=exec_prefix
;;
206 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
207 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
208 | --exec=* | --exe=* | --ex=*)
209 exec_prefix
="$ac_optarg" ;;
211 -gas | --gas | --ga | --g)
212 # Obsolete; use --with-gas.
215 -help | --help | --hel | --he)
216 # Omit some internal or obsolete options to make the list less imposing.
217 # This message is too long to be a string in the A/UX 3.1 sh.
219 Usage: configure [options] [host]
220 Options: [defaults in brackets after descriptions]
222 --cache-file=FILE cache test results in FILE
223 --help print this message
224 --no-create do not create output files
225 --quiet, --silent do not print \`checking...' messages
226 --version print the version of autoconf that created configure
227 Directory and file names:
228 --prefix=PREFIX install architecture-independent files in PREFIX
230 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
232 --bindir=DIR user executables in DIR [EPREFIX/bin]
233 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
234 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
235 --datadir=DIR read-only architecture-independent data in DIR
237 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
238 --sharedstatedir=DIR modifiable architecture-independent data in DIR
240 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
241 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
242 --includedir=DIR C header files in DIR [PREFIX/include]
243 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
244 --infodir=DIR info documentation in DIR [PREFIX/info]
245 --mandir=DIR man documentation in DIR [PREFIX/man]
246 --srcdir=DIR find the sources in DIR [configure dir or ..]
247 --program-prefix=PREFIX prepend PREFIX to installed program names
248 --program-suffix=SUFFIX append SUFFIX to installed program names
249 --program-transform-name=PROGRAM
250 run sed PROGRAM on installed program names
254 --build=BUILD configure for building on BUILD [BUILD=HOST]
255 --host=HOST configure for HOST [guessed]
256 --target=TARGET configure for TARGET [TARGET=HOST]
257 Features and packages:
258 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
259 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
260 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
261 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
262 --x-includes=DIR X include files are in DIR
263 --x-libraries=DIR X library files are in DIR
265 if test -n "$ac_help"; then
266 echo "--enable and --with options recognized:$ac_help"
270 -host | --host | --hos | --ho)
272 -host=* | --host=* | --hos=* | --ho=*)
275 -includedir | --includedir | --includedi | --included | --include \
276 | --includ | --inclu | --incl | --inc)
277 ac_prev
=includedir
;;
278 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
279 | --includ=* | --inclu=* | --incl=* | --inc=*)
280 includedir
="$ac_optarg" ;;
282 -infodir | --infodir | --infodi | --infod | --info | --inf)
284 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
285 infodir
="$ac_optarg" ;;
287 -libdir | --libdir | --libdi | --libd)
289 -libdir=* | --libdir=* | --libdi=* | --libd=*)
290 libdir
="$ac_optarg" ;;
292 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
293 | --libexe | --libex | --libe)
294 ac_prev
=libexecdir
;;
295 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
296 | --libexe=* | --libex=* | --libe=*)
297 libexecdir
="$ac_optarg" ;;
299 -localstatedir | --localstatedir | --localstatedi | --localstated \
300 | --localstate | --localstat | --localsta | --localst \
301 | --locals | --local | --loca | --loc | --lo)
302 ac_prev
=localstatedir
;;
303 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
304 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
305 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
306 localstatedir
="$ac_optarg" ;;
308 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
310 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
311 mandir
="$ac_optarg" ;;
314 # Obsolete; use --without-fp.
317 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
321 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
322 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
325 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
326 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
327 | --oldin | --oldi | --old | --ol | --o)
328 ac_prev
=oldincludedir
;;
329 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
330 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
331 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
332 oldincludedir
="$ac_optarg" ;;
334 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
336 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
337 prefix
="$ac_optarg" ;;
339 -program-prefix | --program-prefix | --program-prefi | --program-pref \
340 | --program-pre | --program-pr | --program-p)
341 ac_prev
=program_prefix
;;
342 -program-prefix=* | --program-prefix=* | --program-prefi=* \
343 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
344 program_prefix
="$ac_optarg" ;;
346 -program-suffix | --program-suffix | --program-suffi | --program-suff \
347 | --program-suf | --program-su | --program-s)
348 ac_prev
=program_suffix
;;
349 -program-suffix=* | --program-suffix=* | --program-suffi=* \
350 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
351 program_suffix
="$ac_optarg" ;;
353 -program-transform-name | --program-transform-name \
354 | --program-transform-nam | --program-transform-na \
355 | --program-transform-n | --program-transform- \
356 | --program-transform | --program-transfor \
357 | --program-transfo | --program-transf \
358 | --program-trans | --program-tran \
359 | --progr-tra | --program-tr | --program-t)
360 ac_prev
=program_transform_name
;;
361 -program-transform-name=* | --program-transform-name=* \
362 | --program-transform-nam=* | --program-transform-na=* \
363 | --program-transform-n=* | --program-transform-=* \
364 | --program-transform=* | --program-transfor=* \
365 | --program-transfo=* | --program-transf=* \
366 | --program-trans=* | --program-tran=* \
367 | --progr-tra=* | --program-tr=* | --program-t=*)
368 program_transform_name
="$ac_optarg" ;;
370 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
371 | -silent | --silent | --silen | --sile | --sil)
374 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
376 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
378 sbindir
="$ac_optarg" ;;
380 -sharedstatedir | --sharedstatedir | --sharedstatedi \
381 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
382 | --sharedst | --shareds | --shared | --share | --shar \
384 ac_prev
=sharedstatedir
;;
385 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
386 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
387 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
389 sharedstatedir
="$ac_optarg" ;;
391 -site | --site | --sit)
393 -site=* | --site=* | --sit=*)
396 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
398 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
399 srcdir
="$ac_optarg" ;;
401 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
402 | --syscon | --sysco | --sysc | --sys | --sy)
403 ac_prev
=sysconfdir
;;
404 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
405 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
406 sysconfdir
="$ac_optarg" ;;
408 -target | --target | --targe | --targ | --tar | --ta | --t)
410 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
411 target
="$ac_optarg" ;;
413 -v | -verbose | --verbose | --verbos | --verbo | --verb)
416 -version | --version | --versio | --versi | --vers)
417 echo "configure generated by autoconf version 2.12"
421 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
422 # Reject names that are not valid shell variable names.
423 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
424 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
426 ac_package
=`echo $ac_package| sed 's/-/_/g'`
431 eval "with_${ac_package}='$ac_optarg'" ;;
433 -without-* | --without-*)
434 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
435 # Reject names that are not valid shell variable names.
436 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
437 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
439 ac_package
=`echo $ac_package| sed 's/-/_/g'`
440 eval "with_${ac_package}=no" ;;
443 # Obsolete; use --with-x.
446 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
447 | --x-incl | --x-inc | --x-in | --x-i)
448 ac_prev
=x_includes
;;
449 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
450 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
451 x_includes
="$ac_optarg" ;;
453 -x-libraries | --x-libraries | --x-librarie | --x-librari \
454 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
455 ac_prev
=x_libraries
;;
456 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
457 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
458 x_libraries
="$ac_optarg" ;;
460 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
464 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
465 echo "configure: warning: $ac_option: invalid host type" 1>&2
467 if test "x$nonopt" != xNONE
; then
468 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
476 if test -n "$ac_prev"; then
477 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
480 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
482 # File descriptor usage:
485 # 2 errors and warnings
486 # 3 some systems may open it to /dev/tty
487 # 4 used on the Kubota Titan
488 # 6 checking for... messages and results
489 # 5 compiler messages saved in config.log
490 if test "$silent" = yes; then
498 This file contains any messages produced by compilers while
499 running configure, to aid debugging if configure makes a mistake.
502 # Strip out --no-create and --no-recursion so they do not pile up.
503 # Also quote any args containing shell metacharacters.
508 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
509 | --no-cr | --no-c) ;;
510 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
511 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
512 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
513 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
514 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
519 # Only set these to C if already set. These must not be set unconditionally
520 # because not all systems understand e.g. LANG=C (notably SCO).
521 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
522 # Non-C LC_CTYPE values break the ctype check.
523 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
524 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
525 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
526 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
528 # confdefs.h avoids OS command line length limits that DEFS can exceed.
529 rm -rf conftest
* confdefs.h
530 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
533 # A filename unique to this package, relative to the directory that
534 # configure is in, which we can look for to find out if srcdir is correct.
535 ac_unique_file
=configure.
in
537 # Find the source files, if location was not specified.
538 if test -z "$srcdir"; then
539 ac_srcdir_defaulted
=yes
540 # Try the directory containing this script, then its parent.
542 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
543 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
545 if test ! -r $srcdir/$ac_unique_file; then
549 ac_srcdir_defaulted
=no
551 if test ! -r $srcdir/$ac_unique_file; then
552 if test "$ac_srcdir_defaulted" = yes; then
553 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
555 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
558 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
560 # Prefer explicitly selected file to automatically selected ones.
561 if test -z "$CONFIG_SITE"; then
562 if test "x$prefix" != xNONE
; then
563 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
565 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
568 for ac_site_file
in $CONFIG_SITE; do
569 if test -r "$ac_site_file"; then
570 echo "loading site script $ac_site_file"
575 if test -r "$cache_file"; then
576 echo "loading cache $cache_file"
579 echo "creating cache $cache_file"
584 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
585 ac_cpp
='$CPP $CPPFLAGS'
586 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
587 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
588 cross_compiling
=$ac_cv_prog_cc_cross
590 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
591 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
592 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
599 ac_n
= ac_c
='\c' ac_t
=
607 if test "x$OS" = "x"; then
609 { echo "configure: error: "The system variable OS has not been
set"
610 "please
set is everytime befor compiling on this system
"
611 "A good example
for this system would be
:"
612 "setenv OSTYPE
$UNAME for csh as a SHELL
"
613 "EXPORT OSTYPE
=$UNAME for sh as SHELL
"
614 "please
set this and restart again.
"
626 /usr/Motif1.2/include \
636 /usr/local/X11R6/include \
637 /usr/local/X11R5/include \
638 /usr/local/X11R4/include \
640 /usr/local/include/X11R6 \
641 /usr/local/include/X11R5 \
642 /usr/local/include/X11R4 \
646 /usr/local/X11/include \
647 /usr/local/include/X11 \
651 /usr/XFree86/include/X11 \
655 /usr/local/include/gtk \
656 /usr/unsupported/include \
657 /usr/athena/include \
658 /usr/local/x11r5/include \
659 /usr/lpp/Xamples/include \
661 /usr/openwin/include \
662 /usr/openwin/share/include \
665 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \
670 # Extract the first word of "gcc", so it can be a program name with args.
671 set dummy gcc
; ac_word
=$2
672 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
673 echo "configure:674: checking for $ac_word" >&5
674 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
675 echo $ac_n "(cached) $ac_c" 1>&6
677 if test -n "$CC"; then
678 ac_cv_prog_CC
="$CC" # Let the user override the test.
680 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
681 for ac_dir
in $PATH; do
682 test -z "$ac_dir" && ac_dir
=.
683 if test -f $ac_dir/$ac_word; then
692 if test -n "$CC"; then
693 echo "$ac_t""$CC" 1>&6
695 echo "$ac_t""no" 1>&6
698 if test -z "$CC"; then
699 # Extract the first word of "cc", so it can be a program name with args.
700 set dummy cc
; ac_word
=$2
701 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
702 echo "configure:703: checking for $ac_word" >&5
703 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
704 echo $ac_n "(cached) $ac_c" 1>&6
706 if test -n "$CC"; then
707 ac_cv_prog_CC
="$CC" # Let the user override the test.
709 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
711 for ac_dir
in $PATH; do
712 test -z "$ac_dir" && ac_dir
=.
713 if test -f $ac_dir/$ac_word; then
714 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
723 if test $ac_prog_rejected = yes; then
724 # We found a bogon in the path, so make sure we never use it.
725 set dummy
$ac_cv_prog_CC
727 if test $# -gt 0; then
728 # We chose a different compiler from the bogus one.
729 # However, it has the same basename, so the bogon will be chosen
730 # first if we set CC to just the basename; use the full file name.
732 set dummy
"$ac_dir/$ac_word" "$@"
740 if test -n "$CC"; then
741 echo "$ac_t""$CC" 1>&6
743 echo "$ac_t""no" 1>&6
746 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
749 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
750 echo "configure:751: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
753 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
754 ac_cpp
='$CPP $CPPFLAGS'
755 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
756 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
757 cross_compiling
=$ac_cv_prog_cc_cross
759 cat > conftest.
$ac_ext <<EOF
760 #line 761 "configure"
761 #include "confdefs.h"
764 if { (eval echo configure
:765: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
765 ac_cv_prog_cc_works
=yes
766 # If we can't run a trivial program, we are probably using a cross compiler.
767 if (.
/conftest
; exit) 2>/dev
/null
; then
768 ac_cv_prog_cc_cross
=no
770 ac_cv_prog_cc_cross
=yes
773 echo "configure: failed program was:" >&5
774 cat conftest.
$ac_ext >&5
775 ac_cv_prog_cc_works
=no
779 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
780 if test $ac_cv_prog_cc_works = no
; then
781 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
783 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
784 echo "configure:785: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
785 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
786 cross_compiling
=$ac_cv_prog_cc_cross
788 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
789 echo "configure:790: checking whether we are using GNU C" >&5
790 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
791 echo $ac_n "(cached) $ac_c" 1>&6
793 cat > conftest.c
<<EOF
798 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:799: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
805 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
807 if test $ac_cv_prog_gcc = yes; then
809 ac_test_CFLAGS
="${CFLAGS+set}"
810 ac_save_CFLAGS
="$CFLAGS"
812 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
813 echo "configure:814: checking whether ${CC-cc} accepts -g" >&5
814 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
815 echo $ac_n "(cached) $ac_c" 1>&6
817 echo 'void f(){}' > conftest.c
818 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
827 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
828 if test "$ac_test_CFLAGS" = set; then
829 CFLAGS
="$ac_save_CFLAGS"
830 elif test $ac_cv_prog_cc_g = yes; then
837 test "${CFLAGS+set}" = set || CFLAGS
="-g"
841 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
843 if test "x$CC" != xcc
; then
844 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
845 echo "configure:846: checking whether $CC and cc understand -c and -o together" >&5
847 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
848 echo "configure:849: checking whether cc understands -c and -o together" >&5
850 set dummy
$CC; ac_cc
="`echo $2 |
851 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
852 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
853 echo $ac_n "(cached) $ac_c" 1>&6
855 echo 'foo(){}' > conftest.c
856 # Make sure it works both with $CC and with simple cc.
857 # We do the test twice because some compilers refuse to overwrite an
858 # existing .o file with -o, though they will create one.
859 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
860 if { (eval echo configure
:861: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
861 test -f conftest.o
&& { (eval echo configure
:862: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
863 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
864 if test "x$CC" != xcc
; then
865 # Test first that cc exists at all.
866 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
867 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
868 if { (eval echo configure
:869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
869 test -f conftest.o
&& { (eval echo configure
:870: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
874 # cc exists but doesn't like -o.
875 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
880 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
885 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
886 echo "$ac_t""yes" 1>&6
888 echo "$ac_t""no" 1>&6
889 cat >> confdefs.h
<<\EOF
890 #define NO_MINUS_C_MINUS_O 1
895 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
896 echo "configure:897: checking how to run the C preprocessor" >&5
897 # On Suns, sometimes $CPP names a directory.
898 if test -n "$CPP" && test -d "$CPP"; then
901 if test -z "$CPP"; then
902 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
903 echo $ac_n "(cached) $ac_c" 1>&6
905 # This must be in double quotes, not single quotes, because CPP may get
906 # substituted into the Makefile and "${CC-cc}" will confuse make.
908 # On the NeXT, cc -E runs the code through the compiler's parser,
909 # not just through cpp.
910 cat > conftest.
$ac_ext <<EOF
911 #line 912 "configure"
912 #include "confdefs.h"
916 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
917 { (eval echo configure
:918: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
918 ac_err
=`grep -v '^ *+' conftest.out`
919 if test -z "$ac_err"; then
923 echo "configure: failed program was:" >&5
924 cat conftest.
$ac_ext >&5
926 CPP
="${CC-cc} -E -traditional-cpp"
927 cat > conftest.
$ac_ext <<EOF
928 #line 929 "configure"
929 #include "confdefs.h"
933 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
934 { (eval echo configure
:935: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
935 ac_err
=`grep -v '^ *+' conftest.out`
936 if test -z "$ac_err"; then
940 echo "configure: failed program was:" >&5
941 cat conftest.
$ac_ext >&5
948 ac_cv_prog_CPP
="$CPP"
950 CPP
="$ac_cv_prog_CPP"
952 ac_cv_prog_CPP
="$CPP"
954 echo "$ac_t""$CPP" 1>&6
956 if test $ac_cv_prog_gcc = yes; then
957 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
958 echo "configure:959: checking whether ${CC-cc} needs -traditional" >&5
959 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
960 echo $ac_n "(cached) $ac_c" 1>&6
962 ac_pattern
="Autoconf.*'x'"
963 cat > conftest.
$ac_ext <<EOF
964 #line 965 "configure"
965 #include "confdefs.h"
969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
970 egrep "$ac_pattern" >/dev
/null
2>&1; then
972 ac_cv_prog_gcc_traditional
=yes
975 ac_cv_prog_gcc_traditional
=no
980 if test $ac_cv_prog_gcc_traditional = no
; then
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
997 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
998 if test $ac_cv_prog_gcc_traditional = yes; then
999 CC
="$CC -traditional"
1006 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1008 # Extract the first word of "$ac_prog", so it can be a program name with args.
1009 set dummy
$ac_prog; ac_word
=$2
1010 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1011 echo "configure:1012: checking for $ac_word" >&5
1012 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1013 echo $ac_n "(cached) $ac_c" 1>&6
1015 if test -n "$CXX"; then
1016 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1018 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1019 for ac_dir
in $PATH; do
1020 test -z "$ac_dir" && ac_dir
=.
1021 if test -f $ac_dir/$ac_word; then
1022 ac_cv_prog_CXX
="$ac_prog"
1029 CXX
="$ac_cv_prog_CXX"
1030 if test -n "$CXX"; then
1031 echo "$ac_t""$CXX" 1>&6
1033 echo "$ac_t""no" 1>&6
1036 test -n "$CXX" && break
1038 test -n "$CXX" || CXX
="gcc"
1041 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1042 echo "configure:1043: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1045 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1046 ac_cpp
='$CXXCPP $CPPFLAGS'
1047 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1048 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1049 cross_compiling
=$ac_cv_prog_cxx_cross
1051 cat > conftest.
$ac_ext <<EOF
1052 #line 1053 "configure"
1053 #include "confdefs.h"
1056 if { (eval echo configure
:1057: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1057 ac_cv_prog_cxx_works
=yes
1058 # If we can't run a trivial program, we are probably using a cross compiler.
1059 if (.
/conftest
; exit) 2>/dev
/null
; then
1060 ac_cv_prog_cxx_cross
=no
1062 ac_cv_prog_cxx_cross
=yes
1065 echo "configure: failed program was:" >&5
1066 cat conftest.
$ac_ext >&5
1067 ac_cv_prog_cxx_works
=no
1071 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1072 ac_cpp
='$CPP $CPPFLAGS'
1073 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1074 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1075 cross_compiling
=$ac_cv_prog_cc_cross
1077 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1078 if test $ac_cv_prog_cxx_works = no
; then
1079 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1081 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1082 echo "configure:1083: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1083 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1084 cross_compiling
=$ac_cv_prog_cxx_cross
1086 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1087 echo "configure:1088: checking whether we are using GNU C++" >&5
1088 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1089 echo $ac_n "(cached) $ac_c" 1>&6
1091 cat > conftest.C
<<EOF
1096 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1097: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1103 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1105 if test $ac_cv_prog_gxx = yes; then
1107 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1108 ac_save_CXXFLAGS
="$CXXFLAGS"
1110 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1111 echo "configure:1112: checking whether ${CXX-g++} accepts -g" >&5
1112 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1113 echo $ac_n "(cached) $ac_c" 1>&6
1115 echo 'void f(){}' > conftest.cc
1116 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1117 ac_cv_prog_cxx_g
=yes
1125 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1126 if test "$ac_test_CXXFLAGS" = set; then
1127 CXXFLAGS
="$ac_save_CXXFLAGS"
1128 elif test $ac_cv_prog_cxx_g = yes; then
1135 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1138 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1139 echo "configure:1140: checking how to run the C++ preprocessor" >&5
1140 if test -z "$CXXCPP"; then
1141 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1142 echo $ac_n "(cached) $ac_c" 1>&6
1145 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1146 ac_cpp
='$CXXCPP $CPPFLAGS'
1147 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1148 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1149 cross_compiling
=$ac_cv_prog_cxx_cross
1150 CXXCPP
="${CXX-g++} -E"
1151 cat > conftest.
$ac_ext <<EOF
1152 #line 1153 "configure"
1153 #include "confdefs.h"
1156 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1157 { (eval echo configure
:1158: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1158 ac_err
=`grep -v '^ *+' conftest.out`
1159 if test -z "$ac_err"; then
1163 echo "configure: failed program was:" >&5
1164 cat conftest.
$ac_ext >&5
1169 ac_cv_prog_CXXCPP
="$CXXCPP"
1171 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1172 ac_cpp
='$CPP $CPPFLAGS'
1173 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1174 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1175 cross_compiling
=$ac_cv_prog_cc_cross
1178 CXXCPP
="$ac_cv_prog_CXXCPP"
1179 echo "$ac_t""$CXXCPP" 1>&6
1182 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1186 # Extract the first word of "ranlib", so it can be a program name with args.
1187 set dummy ranlib
; ac_word
=$2
1188 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1189 echo "configure:1190: checking for $ac_word" >&5
1190 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1191 echo $ac_n "(cached) $ac_c" 1>&6
1193 if test -n "$RANLIB"; then
1194 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1196 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1197 for ac_dir
in $PATH; do
1198 test -z "$ac_dir" && ac_dir
=.
1199 if test -f $ac_dir/$ac_word; then
1200 ac_cv_prog_RANLIB
="ranlib"
1205 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1208 RANLIB
="$ac_cv_prog_RANLIB"
1209 if test -n "$RANLIB"; then
1210 echo "$ac_t""$RANLIB" 1>&6
1212 echo "$ac_t""no" 1>&6
1216 # Extract the first word of "ar", so it can be a program name with args.
1217 set dummy
ar; ac_word
=$2
1218 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1219 echo "configure:1220: checking for $ac_word" >&5
1220 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1221 echo $ac_n "(cached) $ac_c" 1>&6
1223 if test -n "$AR"; then
1224 ac_cv_prog_AR
="$AR" # Let the user override the test.
1226 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1227 for ac_dir
in $PATH; do
1228 test -z "$ac_dir" && ac_dir
=.
1229 if test -f $ac_dir/$ac_word; then
1235 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1239 if test -n "$AR"; then
1240 echo "$ac_t""$AR" 1>&6
1242 echo "$ac_t""no" 1>&6
1247 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1248 if test -f $ac_dir/install-sh; then
1250 ac_install_sh
="$ac_aux_dir/install-sh -c"
1252 elif test -f $ac_dir/install.sh
; then
1254 ac_install_sh
="$ac_aux_dir/install.sh -c"
1258 if test -z "$ac_aux_dir"; then
1259 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1261 ac_config_guess
=$ac_aux_dir/config.guess
1262 ac_config_sub
=$ac_aux_dir/config.sub
1263 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1265 # Find a good install program. We prefer a C program (faster),
1266 # so one script is as good as another. But avoid the broken or
1267 # incompatible versions:
1268 # SysV /etc/install, /usr/sbin/install
1269 # SunOS /usr/etc/install
1270 # IRIX /sbin/install
1272 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1273 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1274 # ./install, which can be erroneously created by make from ./install.sh.
1275 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1276 echo "configure:1277: checking for a BSD compatible install" >&5
1277 if test -z "$INSTALL"; then
1278 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1279 echo $ac_n "(cached) $ac_c" 1>&6
1281 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1282 for ac_dir
in $PATH; do
1283 # Account for people who put trailing slashes in PATH elements.
1285 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1287 # OSF1 and SCO ODT 3.0 have their own names for install.
1288 for ac_prog
in ginstall installbsd scoinst
install; do
1289 if test -f $ac_dir/$ac_prog; then
1290 if test $ac_prog = install &&
1291 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1292 # AIX install. It has an incompatible calling convention.
1293 # OSF/1 installbsd also uses dspmsg, but is usable.
1296 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1307 if test "${ac_cv_path_install+set}" = set; then
1308 INSTALL
="$ac_cv_path_install"
1310 # As a last resort, use the slow shell script. We don't cache a
1311 # path for INSTALL within a source directory, because that will
1312 # break other packages using the cache if that directory is
1313 # removed, or if the path is relative.
1314 INSTALL
="$ac_install_sh"
1317 echo "$ac_t""$INSTALL" 1>&6
1319 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1320 # It thinks the first close brace ends the variable substitution.
1321 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1323 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1326 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1327 echo "configure:1328: checking whether ln -s works" >&5
1328 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1329 echo $ac_n "(cached) $ac_c" 1>&6
1332 if ln -s X conftestdata
2>/dev
/null
1335 ac_cv_prog_LN_S
="ln -s"
1340 LN_S
="$ac_cv_prog_LN_S"
1341 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1342 echo "$ac_t""yes" 1>&6
1344 echo "$ac_t""no" 1>&6
1348 for ac_prog
in mawk gawk nawk
awk
1350 # Extract the first word of "$ac_prog", so it can be a program name with args.
1351 set dummy
$ac_prog; ac_word
=$2
1352 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1353 echo "configure:1354: checking for $ac_word" >&5
1354 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1355 echo $ac_n "(cached) $ac_c" 1>&6
1357 if test -n "$AWK"; then
1358 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1360 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1361 for ac_dir
in $PATH; do
1362 test -z "$ac_dir" && ac_dir
=.
1363 if test -f $ac_dir/$ac_word; then
1364 ac_cv_prog_AWK
="$ac_prog"
1371 AWK
="$ac_cv_prog_AWK"
1372 if test -n "$AWK"; then
1373 echo "$ac_t""$AWK" 1>&6
1375 echo "$ac_t""no" 1>&6
1378 test -n "$AWK" && break
1382 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1383 echo "configure:1384: checking "make for VPATH support
"" >&5
1384 cat - << EOF > confMake
1390 if test ! -d sub
; then
1393 echo dummy
> sub
/file
1394 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1396 rm -f sub
/file check final_file config.log confMake
1398 if test "$RESULT" = 0; then
1399 echo "$ac_t""yes" 1>&6
1401 echo "$ac_t""no" 1>&6
1402 { echo "configure: error: You need a make-utility that is able to use the variable
1404 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1408 # If we find X, set shell vars x_includes and x_libraries to the
1409 # paths, otherwise set no_x=yes.
1410 # Uses ac_ vars as temps to allow command line to override cache and checks.
1411 # --without-x overrides everything else, but does not touch the cache.
1412 echo $ac_n "checking for X""... $ac_c" 1>&6
1413 echo "configure:1414: checking for X" >&5
1415 # Check whether --with-x or --without-x was given.
1416 if test "${with_x+set}" = set; then
1421 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1422 if test "x$with_x" = xno
; then
1423 # The user explicitly disabled X.
1426 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1427 # Both variables are already set.
1430 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1431 echo $ac_n "(cached) $ac_c" 1>&6
1433 # One or both of the vars are not set, and there is no cached value.
1434 ac_x_includes
=NO ac_x_libraries
=NO
1436 if mkdir conftestdir
; then
1438 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1439 cat > Imakefile
<<'EOF'
1441 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1443 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1444 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1445 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1446 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1447 for ac_extension
in a so sl
; do
1448 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1449 test -f $ac_im_libdir/libX11.
$ac_extension; then
1450 ac_im_usrlibdir
=$ac_im_libdir; break
1453 # Screen out bogus values from the imake configuration. They are
1454 # bogus both because they are the default anyway, and because
1455 # using them would break gcc on systems where it needs fixed includes.
1456 case "$ac_im_incroot" in
1458 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1460 case "$ac_im_usrlibdir" in
1462 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1469 if test "$ac_x_includes" = NO
; then
1470 # Guess where to find include files, by looking for this one X11 .h file.
1471 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1473 # First, try using that file with no special directory specified.
1474 cat > conftest.
$ac_ext <<EOF
1475 #line 1476 "configure"
1476 #include "confdefs.h"
1477 #include <$x_direct_test_include>
1479 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1480 { (eval echo configure
:1481: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1481 ac_err
=`grep -v '^ *+' conftest.out`
1482 if test -z "$ac_err"; then
1484 # We can compile using X headers with no special include directory.
1488 echo "configure: failed program was:" >&5
1489 cat conftest.
$ac_ext >&5
1491 # Look for the header file in a standard set of common directories.
1492 # Check X11 before X11Rn because it is often a symlink to the current release.
1495 /usr
/X
11R
6/include \
1496 /usr
/X
11R
5/include \
1497 /usr
/X
11R
4/include \
1500 /usr
/include
/X11R6 \
1501 /usr
/include
/X11R5 \
1502 /usr
/include
/X11R4 \
1504 /usr
/local
/X
11/include \
1505 /usr
/local
/X
11R
6/include \
1506 /usr
/local
/X
11R
5/include \
1507 /usr
/local
/X
11R
4/include \
1509 /usr
/local
/include
/X11 \
1510 /usr
/local
/include
/X11R6 \
1511 /usr
/local
/include
/X11R5 \
1512 /usr
/local
/include
/X11R4 \
1516 /usr
/XFree
86/include
/X11 \
1519 /usr
/local
/include \
1520 /usr
/unsupported
/include \
1521 /usr
/athena
/include \
1522 /usr
/local
/x
11r
5/include \
1523 /usr
/lpp
/Xamples
/include \
1525 /usr
/openwin
/include \
1526 /usr
/openwin
/share
/include \
1529 if test -r "$ac_dir/$x_direct_test_include"; then
1530 ac_x_includes
=$ac_dir
1536 fi # $ac_x_includes = NO
1538 if test "$ac_x_libraries" = NO
; then
1539 # Check for the libraries.
1541 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1542 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1544 # See if we find them without any special options.
1545 # Don't add to $LIBS permanently.
1546 ac_save_LIBS
="$LIBS"
1547 LIBS
="-l$x_direct_test_library $LIBS"
1548 cat > conftest.
$ac_ext <<EOF
1549 #line 1550 "configure"
1550 #include "confdefs.h"
1553 ${x_direct_test_function}()
1556 if { (eval echo configure
:1557: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1558 LIBS
="$ac_save_LIBS"
1559 # We can link X programs with no special library path.
1562 echo "configure: failed program was:" >&5
1563 cat conftest.
$ac_ext >&5
1565 LIBS
="$ac_save_LIBS"
1566 # First see if replacing the include by lib works.
1567 # Check X11 before X11Rn because it is often a symlink to the current release.
1568 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1579 /usr
/local
/X
11/lib \
1580 /usr
/local
/X
11R
6/lib \
1581 /usr
/local
/X
11R
5/lib \
1582 /usr
/local
/X
11R
4/lib \
1584 /usr
/local
/lib
/X11 \
1585 /usr
/local
/lib
/X11R6 \
1586 /usr
/local
/lib
/X11R5 \
1587 /usr
/local
/lib
/X11R4 \
1591 /usr
/XFree
86/lib
/X11 \
1595 /usr
/unsupported
/lib \
1597 /usr
/local
/x
11r
5/lib \
1598 /usr
/lpp
/Xamples
/lib \
1602 /usr
/openwin
/share
/lib \
1605 for ac_extension
in a so sl
; do
1606 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1607 ac_x_libraries
=$ac_dir
1614 fi # $ac_x_libraries = NO
1616 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1617 # Didn't find X anywhere. Cache the known absence of X.
1618 ac_cv_have_x
="have_x=no"
1620 # Record where we found X for the cache.
1621 ac_cv_have_x
="have_x=yes \
1622 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1626 eval "$ac_cv_have_x"
1629 if test "$have_x" != yes; then
1630 echo "$ac_t""$have_x" 1>&6
1633 # If each of the values was on the command line, it overrides each guess.
1634 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1635 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1636 # Update the cache value to reflect the command line values.
1637 ac_cv_have_x
="have_x=yes \
1638 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1639 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1642 if test "$no_x" = yes; then
1643 # Not all programs may use this symbol, but it does not hurt to define it.
1644 cat >> confdefs.h
<<\EOF
1645 #define X_DISPLAY_MISSING 1
1648 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1650 if test -n "$x_includes"; then
1651 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1654 # It would also be nice to do this for all -L options, not just this one.
1655 if test -n "$x_libraries"; then
1656 X_LIBS
="$X_LIBS -L$x_libraries"
1657 # For Solaris; some versions of Sun CC require a space after -R and
1658 # others require no space. Words are not sufficient . . . .
1659 case "`(uname -sr) 2>/dev/null`" in
1661 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1662 echo "configure:1663: checking whether -R must be followed by a space" >&5
1663 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1664 cat > conftest.
$ac_ext <<EOF
1665 #line 1666 "configure"
1666 #include "confdefs.h"
1672 if { (eval echo configure
:1673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1676 echo "configure: failed program was:" >&5
1677 cat conftest.
$ac_ext >&5
1682 if test $ac_R_nospace = yes; then
1683 echo "$ac_t""no" 1>&6
1684 X_LIBS
="$X_LIBS -R$x_libraries"
1686 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1687 cat > conftest.
$ac_ext <<EOF
1688 #line 1689 "configure"
1689 #include "confdefs.h"
1695 if { (eval echo configure
:1696: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1699 echo "configure: failed program was:" >&5
1700 cat conftest.
$ac_ext >&5
1705 if test $ac_R_space = yes; then
1706 echo "$ac_t""yes" 1>&6
1707 X_LIBS
="$X_LIBS -R $x_libraries"
1709 echo "$ac_t""neither works" 1>&6
1712 LIBS
="$ac_xsave_LIBS"
1716 # Check for system-dependent libraries X programs must link with.
1717 # Do this before checking for the system-independent R6 libraries
1718 # (-lICE), since we may need -lsocket or whatever for X linking.
1720 if test "$ISC" = yes; then
1721 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1723 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1724 # libraries were built with DECnet support. And karl@cs.umb.edu says
1725 # the Alpha needs dnet_stub (dnet does not exist).
1726 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1727 echo "configure:1728: checking for dnet_ntoa in -ldnet" >&5
1728 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1729 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1730 echo $ac_n "(cached) $ac_c" 1>&6
1732 ac_save_LIBS
="$LIBS"
1734 cat > conftest.
$ac_ext <<EOF
1735 #line 1736 "configure"
1736 #include "confdefs.h"
1737 /* Override any gcc2 internal prototype to avoid an error. */
1738 /* We use char because int might match the return type of a gcc2
1739 builtin and then its argument prototype would still apply. */
1746 if { (eval echo configure
:1747: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1748 eval "ac_cv_lib_$ac_lib_var=yes"
1750 echo "configure: failed program was:" >&5
1751 cat conftest.
$ac_ext >&5
1753 eval "ac_cv_lib_$ac_lib_var=no"
1756 LIBS
="$ac_save_LIBS"
1759 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1760 echo "$ac_t""yes" 1>&6
1761 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1763 echo "$ac_t""no" 1>&6
1766 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1767 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1768 echo "configure:1769: checking for dnet_ntoa in -ldnet_stub" >&5
1769 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1770 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1771 echo $ac_n "(cached) $ac_c" 1>&6
1773 ac_save_LIBS
="$LIBS"
1774 LIBS
="-ldnet_stub $LIBS"
1775 cat > conftest.
$ac_ext <<EOF
1776 #line 1777 "configure"
1777 #include "confdefs.h"
1778 /* Override any gcc2 internal prototype to avoid an error. */
1779 /* We use char because int might match the return type of a gcc2
1780 builtin and then its argument prototype would still apply. */
1787 if { (eval echo configure
:1788: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1789 eval "ac_cv_lib_$ac_lib_var=yes"
1791 echo "configure: failed program was:" >&5
1792 cat conftest.
$ac_ext >&5
1794 eval "ac_cv_lib_$ac_lib_var=no"
1797 LIBS
="$ac_save_LIBS"
1800 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1801 echo "$ac_t""yes" 1>&6
1802 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1804 echo "$ac_t""no" 1>&6
1809 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1810 # to get the SysV transport functions.
1811 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1813 # The nsl library prevents programs from opening the X display
1814 # on Irix 5.2, according to dickey@clark.net.
1815 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1816 echo "configure:1817: checking for gethostbyname" >&5
1817 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1818 echo $ac_n "(cached) $ac_c" 1>&6
1820 cat > conftest.
$ac_ext <<EOF
1821 #line 1822 "configure"
1822 #include "confdefs.h"
1823 /* System header to define __stub macros and hopefully few prototypes,
1824 which can conflict with char gethostbyname(); below. */
1826 /* Override any gcc2 internal prototype to avoid an error. */
1827 /* We use char because int might match the return type of a gcc2
1828 builtin and then its argument prototype would still apply. */
1829 char gethostbyname();
1833 /* The GNU C library defines this for functions which it implements
1834 to always fail with ENOSYS. Some functions are actually named
1835 something starting with __ and the normal name is an alias. */
1836 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1844 if { (eval echo configure
:1845: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1846 eval "ac_cv_func_gethostbyname=yes"
1848 echo "configure: failed program was:" >&5
1849 cat conftest.
$ac_ext >&5
1851 eval "ac_cv_func_gethostbyname=no"
1856 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1857 echo "$ac_t""yes" 1>&6
1860 echo "$ac_t""no" 1>&6
1863 if test $ac_cv_func_gethostbyname = no
; then
1864 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1865 echo "configure:1866: checking for gethostbyname in -lnsl" >&5
1866 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1867 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1868 echo $ac_n "(cached) $ac_c" 1>&6
1870 ac_save_LIBS
="$LIBS"
1872 cat > conftest.
$ac_ext <<EOF
1873 #line 1874 "configure"
1874 #include "confdefs.h"
1875 /* Override any gcc2 internal prototype to avoid an error. */
1876 /* We use char because int might match the return type of a gcc2
1877 builtin and then its argument prototype would still apply. */
1878 char gethostbyname();
1884 if { (eval echo configure
:1885: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1886 eval "ac_cv_lib_$ac_lib_var=yes"
1888 echo "configure: failed program was:" >&5
1889 cat conftest.
$ac_ext >&5
1891 eval "ac_cv_lib_$ac_lib_var=no"
1894 LIBS
="$ac_save_LIBS"
1897 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1898 echo "$ac_t""yes" 1>&6
1899 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
1901 echo "$ac_t""no" 1>&6
1906 # lieder@skyler.mavd.honeywell.com says without -lsocket,
1907 # socket/setsockopt and other routines are undefined under SCO ODT
1908 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
1909 # on later versions), says simon@lia.di.epfl.ch: it contains
1910 # gethostby* variants that don't use the nameserver (or something).
1911 # -lsocket must be given before -lnsl if both are needed.
1912 # We assume that if connect needs -lnsl, so does gethostbyname.
1913 echo $ac_n "checking for connect""... $ac_c" 1>&6
1914 echo "configure:1915: checking for connect" >&5
1915 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1916 echo $ac_n "(cached) $ac_c" 1>&6
1918 cat > conftest.
$ac_ext <<EOF
1919 #line 1920 "configure"
1920 #include "confdefs.h"
1921 /* System header to define __stub macros and hopefully few prototypes,
1922 which can conflict with char connect(); below. */
1924 /* Override any gcc2 internal prototype to avoid an error. */
1925 /* We use char because int might match the return type of a gcc2
1926 builtin and then its argument prototype would still apply. */
1931 /* The GNU C library defines this for functions which it implements
1932 to always fail with ENOSYS. Some functions are actually named
1933 something starting with __ and the normal name is an alias. */
1934 #if defined (__stub_connect) || defined (__stub___connect)
1942 if { (eval echo configure
:1943: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1944 eval "ac_cv_func_connect=yes"
1946 echo "configure: failed program was:" >&5
1947 cat conftest.
$ac_ext >&5
1949 eval "ac_cv_func_connect=no"
1954 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1955 echo "$ac_t""yes" 1>&6
1958 echo "$ac_t""no" 1>&6
1961 if test $ac_cv_func_connect = no
; then
1962 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1963 echo "configure:1964: checking for connect in -lsocket" >&5
1964 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1965 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1966 echo $ac_n "(cached) $ac_c" 1>&6
1968 ac_save_LIBS
="$LIBS"
1969 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
1970 cat > conftest.
$ac_ext <<EOF
1971 #line 1972 "configure"
1972 #include "confdefs.h"
1973 /* Override any gcc2 internal prototype to avoid an error. */
1974 /* We use char because int might match the return type of a gcc2
1975 builtin and then its argument prototype would still apply. */
1982 if { (eval echo configure
:1983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1984 eval "ac_cv_lib_$ac_lib_var=yes"
1986 echo "configure: failed program was:" >&5
1987 cat conftest.
$ac_ext >&5
1989 eval "ac_cv_lib_$ac_lib_var=no"
1992 LIBS
="$ac_save_LIBS"
1995 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1996 echo "$ac_t""yes" 1>&6
1997 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
1999 echo "$ac_t""no" 1>&6
2004 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2005 echo $ac_n "checking for remove""... $ac_c" 1>&6
2006 echo "configure:2007: checking for remove" >&5
2007 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2008 echo $ac_n "(cached) $ac_c" 1>&6
2010 cat > conftest.
$ac_ext <<EOF
2011 #line 2012 "configure"
2012 #include "confdefs.h"
2013 /* System header to define __stub macros and hopefully few prototypes,
2014 which can conflict with char remove(); below. */
2016 /* Override any gcc2 internal prototype to avoid an error. */
2017 /* We use char because int might match the return type of a gcc2
2018 builtin and then its argument prototype would still apply. */
2023 /* The GNU C library defines this for functions which it implements
2024 to always fail with ENOSYS. Some functions are actually named
2025 something starting with __ and the normal name is an alias. */
2026 #if defined (__stub_remove) || defined (__stub___remove)
2034 if { (eval echo configure
:2035: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2036 eval "ac_cv_func_remove=yes"
2038 echo "configure: failed program was:" >&5
2039 cat conftest.
$ac_ext >&5
2041 eval "ac_cv_func_remove=no"
2046 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2047 echo "$ac_t""yes" 1>&6
2050 echo "$ac_t""no" 1>&6
2053 if test $ac_cv_func_remove = no
; then
2054 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2055 echo "configure:2056: checking for remove in -lposix" >&5
2056 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2057 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2058 echo $ac_n "(cached) $ac_c" 1>&6
2060 ac_save_LIBS
="$LIBS"
2061 LIBS
="-lposix $LIBS"
2062 cat > conftest.
$ac_ext <<EOF
2063 #line 2064 "configure"
2064 #include "confdefs.h"
2065 /* Override any gcc2 internal prototype to avoid an error. */
2066 /* We use char because int might match the return type of a gcc2
2067 builtin and then its argument prototype would still apply. */
2074 if { (eval echo configure
:2075: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2076 eval "ac_cv_lib_$ac_lib_var=yes"
2078 echo "configure: failed program was:" >&5
2079 cat conftest.
$ac_ext >&5
2081 eval "ac_cv_lib_$ac_lib_var=no"
2084 LIBS
="$ac_save_LIBS"
2087 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2088 echo "$ac_t""yes" 1>&6
2089 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2091 echo "$ac_t""no" 1>&6
2096 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2097 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2098 echo "configure:2099: checking for shmat" >&5
2099 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2100 echo $ac_n "(cached) $ac_c" 1>&6
2102 cat > conftest.
$ac_ext <<EOF
2103 #line 2104 "configure"
2104 #include "confdefs.h"
2105 /* System header to define __stub macros and hopefully few prototypes,
2106 which can conflict with char shmat(); below. */
2108 /* Override any gcc2 internal prototype to avoid an error. */
2109 /* We use char because int might match the return type of a gcc2
2110 builtin and then its argument prototype would still apply. */
2115 /* The GNU C library defines this for functions which it implements
2116 to always fail with ENOSYS. Some functions are actually named
2117 something starting with __ and the normal name is an alias. */
2118 #if defined (__stub_shmat) || defined (__stub___shmat)
2126 if { (eval echo configure
:2127: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2128 eval "ac_cv_func_shmat=yes"
2130 echo "configure: failed program was:" >&5
2131 cat conftest.
$ac_ext >&5
2133 eval "ac_cv_func_shmat=no"
2138 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2139 echo "$ac_t""yes" 1>&6
2142 echo "$ac_t""no" 1>&6
2145 if test $ac_cv_func_shmat = no
; then
2146 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2147 echo "configure:2148: checking for shmat in -lipc" >&5
2148 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2149 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2150 echo $ac_n "(cached) $ac_c" 1>&6
2152 ac_save_LIBS
="$LIBS"
2154 cat > conftest.
$ac_ext <<EOF
2155 #line 2156 "configure"
2156 #include "confdefs.h"
2157 /* Override any gcc2 internal prototype to avoid an error. */
2158 /* We use char because int might match the return type of a gcc2
2159 builtin and then its argument prototype would still apply. */
2166 if { (eval echo configure
:2167: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2168 eval "ac_cv_lib_$ac_lib_var=yes"
2170 echo "configure: failed program was:" >&5
2171 cat conftest.
$ac_ext >&5
2173 eval "ac_cv_lib_$ac_lib_var=no"
2176 LIBS
="$ac_save_LIBS"
2179 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2180 echo "$ac_t""yes" 1>&6
2181 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2183 echo "$ac_t""no" 1>&6
2189 # Check for libraries that X11R6 Xt/Xaw programs need.
2190 ac_save_LDFLAGS
="$LDFLAGS"
2191 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2192 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2193 # check for ICE first), but we must link in the order -lSM -lICE or
2194 # we get undefined symbols. So assume we have SM if we have ICE.
2195 # These have to be linked with before -lX11, unlike the other
2196 # libraries we check for below, so use a different variable.
2197 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2198 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2199 echo "configure:2200: checking for IceConnectionNumber in -lICE" >&5
2200 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2201 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2202 echo $ac_n "(cached) $ac_c" 1>&6
2204 ac_save_LIBS
="$LIBS"
2206 cat > conftest.
$ac_ext <<EOF
2207 #line 2208 "configure"
2208 #include "confdefs.h"
2209 /* Override any gcc2 internal prototype to avoid an error. */
2210 /* We use char because int might match the return type of a gcc2
2211 builtin and then its argument prototype would still apply. */
2212 char IceConnectionNumber();
2215 IceConnectionNumber()
2218 if { (eval echo configure
:2219: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2220 eval "ac_cv_lib_$ac_lib_var=yes"
2222 echo "configure: failed program was:" >&5
2223 cat conftest.
$ac_ext >&5
2225 eval "ac_cv_lib_$ac_lib_var=no"
2228 LIBS
="$ac_save_LIBS"
2231 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2232 echo "$ac_t""yes" 1>&6
2233 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2235 echo "$ac_t""no" 1>&6
2238 LDFLAGS
="$ac_save_LDFLAGS"
2244 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2246 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2247 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2248 echo "configure:2249: checking for $ac_hdr that defines DIR" >&5
2249 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2250 echo $ac_n "(cached) $ac_c" 1>&6
2252 cat > conftest.
$ac_ext <<EOF
2253 #line 2254 "configure"
2254 #include "confdefs.h"
2255 #include <sys/types.h>
2261 if { (eval echo configure
:2262: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2263 eval "ac_cv_header_dirent_$ac_safe=yes"
2265 echo "configure: failed program was:" >&5
2266 cat conftest.
$ac_ext >&5
2268 eval "ac_cv_header_dirent_$ac_safe=no"
2272 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2273 echo "$ac_t""yes" 1>&6
2274 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2275 cat >> confdefs.h
<<EOF
2276 #define $ac_tr_hdr 1
2278 ac_header_dirent
=$ac_hdr; break
2280 echo "$ac_t""no" 1>&6
2283 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2284 if test $ac_header_dirent = dirent.h
; then
2285 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2286 echo "configure:2287: checking for opendir in -ldir" >&5
2287 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2288 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2289 echo $ac_n "(cached) $ac_c" 1>&6
2291 ac_save_LIBS
="$LIBS"
2293 cat > conftest.
$ac_ext <<EOF
2294 #line 2295 "configure"
2295 #include "confdefs.h"
2296 /* Override any gcc2 internal prototype to avoid an error. */
2297 /* We use char because int might match the return type of a gcc2
2298 builtin and then its argument prototype would still apply. */
2305 if { (eval echo configure
:2306: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2307 eval "ac_cv_lib_$ac_lib_var=yes"
2309 echo "configure: failed program was:" >&5
2310 cat conftest.
$ac_ext >&5
2312 eval "ac_cv_lib_$ac_lib_var=no"
2315 LIBS
="$ac_save_LIBS"
2318 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2319 echo "$ac_t""yes" 1>&6
2322 echo "$ac_t""no" 1>&6
2326 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2327 echo "configure:2328: checking for opendir in -lx" >&5
2328 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2329 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2330 echo $ac_n "(cached) $ac_c" 1>&6
2332 ac_save_LIBS
="$LIBS"
2334 cat > conftest.
$ac_ext <<EOF
2335 #line 2336 "configure"
2336 #include "confdefs.h"
2337 /* Override any gcc2 internal prototype to avoid an error. */
2338 /* We use char because int might match the return type of a gcc2
2339 builtin and then its argument prototype would still apply. */
2346 if { (eval echo configure
:2347: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2348 eval "ac_cv_lib_$ac_lib_var=yes"
2350 echo "configure: failed program was:" >&5
2351 cat conftest.
$ac_ext >&5
2353 eval "ac_cv_lib_$ac_lib_var=no"
2356 LIBS
="$ac_save_LIBS"
2359 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2360 echo "$ac_t""yes" 1>&6
2363 echo "$ac_t""no" 1>&6
2368 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2369 echo "configure:2370: checking for ANSI C header files" >&5
2370 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2371 echo $ac_n "(cached) $ac_c" 1>&6
2373 cat > conftest.
$ac_ext <<EOF
2374 #line 2375 "configure"
2375 #include "confdefs.h"
2381 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2382 { (eval echo configure
:2383: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2383 ac_err
=`grep -v '^ *+' conftest.out`
2384 if test -z "$ac_err"; then
2386 ac_cv_header_stdc
=yes
2389 echo "configure: failed program was:" >&5
2390 cat conftest.
$ac_ext >&5
2392 ac_cv_header_stdc
=no
2396 if test $ac_cv_header_stdc = yes; then
2397 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2398 cat > conftest.
$ac_ext <<EOF
2399 #line 2400 "configure"
2400 #include "confdefs.h"
2403 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2404 egrep "memchr" >/dev
/null
2>&1; then
2408 ac_cv_header_stdc
=no
2414 if test $ac_cv_header_stdc = yes; then
2415 # ISC 2.0.2 stdlib.h does not declare free, 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 "free" >/dev
/null
2>&1; then
2426 ac_cv_header_stdc
=no
2432 if test $ac_cv_header_stdc = yes; then
2433 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2434 if test "$cross_compiling" = yes; then
2437 cat > conftest.
$ac_ext <<EOF
2438 #line 2439 "configure"
2439 #include "confdefs.h"
2441 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2442 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2443 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2444 int main () { int i; for (i = 0; i < 256; i++)
2445 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2449 if { (eval echo configure
:2450: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2453 echo "configure: failed program was:" >&5
2454 cat conftest.
$ac_ext >&5
2456 ac_cv_header_stdc
=no
2464 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2465 if test $ac_cv_header_stdc = yes; then
2466 cat >> confdefs.h
<<\EOF
2467 #define STDC_HEADERS 1
2472 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2473 echo "configure:2474: checking for sys/wait.h that is POSIX.1 compatible" >&5
2474 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2475 echo $ac_n "(cached) $ac_c" 1>&6
2477 cat > conftest.
$ac_ext <<EOF
2478 #line 2479 "configure"
2479 #include "confdefs.h"
2480 #include <sys/types.h>
2481 #include <sys/wait.h>
2483 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2486 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2491 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2494 if { (eval echo configure
:2495: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2496 ac_cv_header_sys_wait_h
=yes
2498 echo "configure: failed program was:" >&5
2499 cat conftest.
$ac_ext >&5
2501 ac_cv_header_sys_wait_h
=no
2506 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2507 if test $ac_cv_header_sys_wait_h = yes; then
2508 cat >> confdefs.h
<<\EOF
2509 #define HAVE_SYS_WAIT_H 1
2514 ac_safe
=`echo "fcntl.h" | sed 'y%./+-%__p_%'`
2515 echo $ac_n "checking for fcntl.h""... $ac_c" 1>&6
2516 echo "configure:2517: checking for fcntl.h" >&5
2517 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2518 echo $ac_n "(cached) $ac_c" 1>&6
2520 cat > conftest.
$ac_ext <<EOF
2521 #line 2522 "configure"
2522 #include "confdefs.h"
2525 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2526 { (eval echo configure
:2527: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2527 ac_err
=`grep -v '^ *+' conftest.out`
2528 if test -z "$ac_err"; then
2530 eval "ac_cv_header_$ac_safe=yes"
2533 echo "configure: failed program was:" >&5
2534 cat conftest.
$ac_ext >&5
2536 eval "ac_cv_header_$ac_safe=no"
2540 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2541 echo "$ac_t""yes" 1>&6
2544 echo "$ac_t""no" 1>&6
2547 ac_safe
=`echo "limits.h" | sed 'y%./+-%__p_%'`
2548 echo $ac_n "checking for limits.h""... $ac_c" 1>&6
2549 echo "configure:2550: checking for limits.h" >&5
2550 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2551 echo $ac_n "(cached) $ac_c" 1>&6
2553 cat > conftest.
$ac_ext <<EOF
2554 #line 2555 "configure"
2555 #include "confdefs.h"
2558 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2559 { (eval echo configure
:2560: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2560 ac_err
=`grep -v '^ *+' conftest.out`
2561 if test -z "$ac_err"; then
2563 eval "ac_cv_header_$ac_safe=yes"
2566 echo "configure: failed program was:" >&5
2567 cat conftest.
$ac_ext >&5
2569 eval "ac_cv_header_$ac_safe=no"
2573 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2574 echo "$ac_t""yes" 1>&6
2577 echo "$ac_t""no" 1>&6
2580 ac_safe
=`echo "sys/file.h" | sed 'y%./+-%__p_%'`
2581 echo $ac_n "checking for sys/file.h""... $ac_c" 1>&6
2582 echo "configure:2583: checking for sys/file.h" >&5
2583 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2584 echo $ac_n "(cached) $ac_c" 1>&6
2586 cat > conftest.
$ac_ext <<EOF
2587 #line 2588 "configure"
2588 #include "confdefs.h"
2589 #include <sys/file.h>
2591 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2592 { (eval echo configure
:2593: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2593 ac_err
=`grep -v '^ *+' conftest.out`
2594 if test -z "$ac_err"; then
2596 eval "ac_cv_header_$ac_safe=yes"
2599 echo "configure: failed program was:" >&5
2600 cat conftest.
$ac_ext >&5
2602 eval "ac_cv_header_$ac_safe=no"
2606 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2607 echo "$ac_t""yes" 1>&6
2610 echo "$ac_t""no" 1>&6
2613 ac_safe
=`echo "sys/time.h" | sed 'y%./+-%__p_%'`
2614 echo $ac_n "checking for sys/time.h""... $ac_c" 1>&6
2615 echo "configure:2616: checking for sys/time.h" >&5
2616 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2617 echo $ac_n "(cached) $ac_c" 1>&6
2619 cat > conftest.
$ac_ext <<EOF
2620 #line 2621 "configure"
2621 #include "confdefs.h"
2622 #include <sys/time.h>
2624 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2625 { (eval echo configure
:2626: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2626 ac_err
=`grep -v '^ *+' conftest.out`
2627 if test -z "$ac_err"; then
2629 eval "ac_cv_header_$ac_safe=yes"
2632 echo "configure: failed program was:" >&5
2633 cat conftest.
$ac_ext >&5
2635 eval "ac_cv_header_$ac_safe=no"
2639 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2640 echo "$ac_t""yes" 1>&6
2643 echo "$ac_t""no" 1>&6
2646 ac_safe
=`echo "unistd.h" | sed 'y%./+-%__p_%'`
2647 echo $ac_n "checking for unistd.h""... $ac_c" 1>&6
2648 echo "configure:2649: checking for unistd.h" >&5
2649 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2650 echo $ac_n "(cached) $ac_c" 1>&6
2652 cat > conftest.
$ac_ext <<EOF
2653 #line 2654 "configure"
2654 #include "confdefs.h"
2657 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2658 { (eval echo configure
:2659: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2659 ac_err
=`grep -v '^ *+' conftest.out`
2660 if test -z "$ac_err"; then
2662 eval "ac_cv_header_$ac_safe=yes"
2665 echo "configure: failed program was:" >&5
2666 cat conftest.
$ac_ext >&5
2668 eval "ac_cv_header_$ac_safe=no"
2672 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2673 echo "$ac_t""yes" 1>&6
2676 echo "$ac_t""no" 1>&6
2679 ac_safe
=`echo "linux/joystick.h" | sed 'y%./+-%__p_%'`
2680 echo $ac_n "checking for linux/joystick.h""... $ac_c" 1>&6
2681 echo "configure:2682: checking for linux/joystick.h" >&5
2682 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2683 echo $ac_n "(cached) $ac_c" 1>&6
2685 cat > conftest.
$ac_ext <<EOF
2686 #line 2687 "configure"
2687 #include "confdefs.h"
2688 #include <linux/joystick.h>
2690 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2691 { (eval echo configure
:2692: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2692 ac_err
=`grep -v '^ *+' conftest.out`
2693 if test -z "$ac_err"; then
2695 eval "ac_cv_header_$ac_safe=yes"
2698 echo "configure: failed program was:" >&5
2699 cat conftest.
$ac_ext >&5
2701 eval "ac_cv_header_$ac_safe=no"
2705 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2706 echo "$ac_t""yes" 1>&6
2709 echo "$ac_t""no" 1>&6
2713 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
2714 GTK_JOYSTICK
="gtk/joystick.cpp"
2718 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
2719 echo "configure:2720: checking for uid_t in sys/types.h" >&5
2720 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
2721 echo $ac_n "(cached) $ac_c" 1>&6
2723 cat > conftest.
$ac_ext <<EOF
2724 #line 2725 "configure"
2725 #include "confdefs.h"
2726 #include <sys/types.h>
2728 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2729 egrep "uid_t" >/dev
/null
2>&1; then
2731 ac_cv_type_uid_t
=yes
2740 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
2741 if test $ac_cv_type_uid_t = no
; then
2742 cat >> confdefs.h
<<\EOF
2746 cat >> confdefs.h
<<\EOF
2752 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
2753 echo "configure:2754: checking type of array argument to getgroups" >&5
2754 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
2755 echo $ac_n "(cached) $ac_c" 1>&6
2757 if test "$cross_compiling" = yes; then
2758 ac_cv_type_getgroups
=cross
2760 cat > conftest.
$ac_ext <<EOF
2761 #line 2762 "configure"
2762 #include "confdefs.h"
2764 /* Thanks to Mike Rendell for this test. */
2765 #include <sys/types.h>
2768 #define MAX(x, y) ((x) > (y) ? (x) : (y))
2773 union { gid_t gval; long lval; } val;
2776 for (i = 0; i < NGID; i++)
2777 gidset[i] = val.gval;
2778 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
2780 /* Exit non-zero if getgroups seems to require an array of ints. This
2781 happens when gid_t is short but getgroups modifies an array of ints. */
2782 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
2786 if { (eval echo configure
:2787: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2788 ac_cv_type_getgroups
=gid_t
2790 echo "configure: failed program was:" >&5
2791 cat conftest.
$ac_ext >&5
2793 ac_cv_type_getgroups
=int
2798 if test $ac_cv_type_getgroups = cross
; then
2799 cat > conftest.
$ac_ext <<EOF
2800 #line 2801 "configure"
2801 #include "confdefs.h"
2804 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2805 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
2807 ac_cv_type_getgroups
=gid_t
2810 ac_cv_type_getgroups
=int
2817 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
2818 cat >> confdefs.h
<<EOF
2819 #define GETGROUPS_T $ac_cv_type_getgroups
2823 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
2824 echo "configure:2825: checking for mode_t" >&5
2825 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
2826 echo $ac_n "(cached) $ac_c" 1>&6
2828 cat > conftest.
$ac_ext <<EOF
2829 #line 2830 "configure"
2830 #include "confdefs.h"
2831 #include <sys/types.h>
2837 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2838 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2840 ac_cv_type_mode_t
=yes
2843 ac_cv_type_mode_t
=no
2848 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
2849 if test $ac_cv_type_mode_t = no
; then
2850 cat >> confdefs.h
<<\EOF
2856 echo $ac_n "checking for off_t""... $ac_c" 1>&6
2857 echo "configure:2858: checking for off_t" >&5
2858 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
2859 echo $ac_n "(cached) $ac_c" 1>&6
2861 cat > conftest.
$ac_ext <<EOF
2862 #line 2863 "configure"
2863 #include "confdefs.h"
2864 #include <sys/types.h>
2870 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2871 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2873 ac_cv_type_off_t
=yes
2881 echo "$ac_t""$ac_cv_type_off_t" 1>&6
2882 if test $ac_cv_type_off_t = no
; then
2883 cat >> confdefs.h
<<\EOF
2889 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
2890 echo "configure:2891: checking for pid_t" >&5
2891 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
2892 echo $ac_n "(cached) $ac_c" 1>&6
2894 cat > conftest.
$ac_ext <<EOF
2895 #line 2896 "configure"
2896 #include "confdefs.h"
2897 #include <sys/types.h>
2903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2904 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2906 ac_cv_type_pid_t
=yes
2914 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
2915 if test $ac_cv_type_pid_t = no
; then
2916 cat >> confdefs.h
<<\EOF
2922 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2923 echo "configure:2924: checking return type of signal handlers" >&5
2924 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2925 echo $ac_n "(cached) $ac_c" 1>&6
2927 cat > conftest.
$ac_ext <<EOF
2928 #line 2929 "configure"
2929 #include "confdefs.h"
2930 #include <sys/types.h>
2936 extern "C" void (*signal (int, void (*)(int)))(int);
2938 void (*signal ()) ();
2945 if { (eval echo configure
:2946: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2947 ac_cv_type_signal
=void
2949 echo "configure: failed program was:" >&5
2950 cat conftest.
$ac_ext >&5
2952 ac_cv_type_signal
=int
2957 echo "$ac_t""$ac_cv_type_signal" 1>&6
2958 cat >> confdefs.h
<<EOF
2959 #define RETSIGTYPE $ac_cv_type_signal
2963 echo $ac_n "checking for size_t""... $ac_c" 1>&6
2964 echo "configure:2965: checking for size_t" >&5
2965 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
2966 echo $ac_n "(cached) $ac_c" 1>&6
2968 cat > conftest.
$ac_ext <<EOF
2969 #line 2970 "configure"
2970 #include "confdefs.h"
2971 #include <sys/types.h>
2977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2978 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2980 ac_cv_type_size_t
=yes
2983 ac_cv_type_size_t
=no
2988 echo "$ac_t""$ac_cv_type_size_t" 1>&6
2989 if test $ac_cv_type_size_t = no
; then
2990 cat >> confdefs.h
<<\EOF
2991 #define size_t unsigned
2996 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
2997 echo "configure:2998: checking for uid_t in sys/types.h" >&5
2998 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
2999 echo $ac_n "(cached) $ac_c" 1>&6
3001 cat > conftest.
$ac_ext <<EOF
3002 #line 3003 "configure"
3003 #include "confdefs.h"
3004 #include <sys/types.h>
3006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3007 egrep "uid_t" >/dev
/null
2>&1; then
3009 ac_cv_type_uid_t
=yes
3018 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3019 if test $ac_cv_type_uid_t = no
; then
3020 cat >> confdefs.h
<<\EOF
3024 cat >> confdefs.h
<<\EOF
3032 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3033 echo "configure:3034: checking whether stat file-mode macros are broken" >&5
3034 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3035 echo $ac_n "(cached) $ac_c" 1>&6
3037 cat > conftest.
$ac_ext <<EOF
3038 #line 3039 "configure"
3039 #include "confdefs.h"
3040 #include <sys/types.h>
3041 #include <sys/stat.h>
3043 #if defined(S_ISBLK) && defined(S_IFDIR)
3044 # if S_ISBLK (S_IFDIR)
3049 #if defined(S_ISBLK) && defined(S_IFCHR)
3050 # if S_ISBLK (S_IFCHR)
3055 #if defined(S_ISLNK) && defined(S_IFREG)
3056 # if S_ISLNK (S_IFREG)
3061 #if defined(S_ISSOCK) && defined(S_IFREG)
3062 # if S_ISSOCK (S_IFREG)
3068 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3069 egrep "You lose" >/dev
/null
2>&1; then
3071 ac_cv_header_stat_broken
=yes
3074 ac_cv_header_stat_broken
=no
3080 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3081 if test $ac_cv_header_stat_broken = yes; then
3082 cat >> confdefs.h
<<\EOF
3083 #define STAT_MACROS_BROKEN 1
3088 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3089 echo "configure:3090: checking whether time.h and sys/time.h may both be included" >&5
3090 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3091 echo $ac_n "(cached) $ac_c" 1>&6
3093 cat > conftest.
$ac_ext <<EOF
3094 #line 3095 "configure"
3095 #include "confdefs.h"
3096 #include <sys/types.h>
3097 #include <sys/time.h>
3103 if { (eval echo configure
:3104: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3105 ac_cv_header_time
=yes
3107 echo "configure: failed program was:" >&5
3108 cat conftest.
$ac_ext >&5
3110 ac_cv_header_time
=no
3115 echo "$ac_t""$ac_cv_header_time" 1>&6
3116 if test $ac_cv_header_time = yes; then
3117 cat >> confdefs.h
<<\EOF
3118 #define TIME_WITH_SYS_TIME 1
3123 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3124 echo "configure:3125: checking for st_blksize in struct stat" >&5
3125 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3126 echo $ac_n "(cached) $ac_c" 1>&6
3128 cat > conftest.
$ac_ext <<EOF
3129 #line 3130 "configure"
3130 #include "confdefs.h"
3131 #include <sys/types.h>
3132 #include <sys/stat.h>
3134 struct stat s; s.st_blksize;
3137 if { (eval echo configure
:3138: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3139 ac_cv_struct_st_blksize
=yes
3141 echo "configure: failed program was:" >&5
3142 cat conftest.
$ac_ext >&5
3144 ac_cv_struct_st_blksize
=no
3149 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3150 if test $ac_cv_struct_st_blksize = yes; then
3151 cat >> confdefs.h
<<\EOF
3152 #define HAVE_ST_BLKSIZE 1
3157 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3158 echo "configure:3159: checking for st_blocks in struct stat" >&5
3159 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3160 echo $ac_n "(cached) $ac_c" 1>&6
3162 cat > conftest.
$ac_ext <<EOF
3163 #line 3164 "configure"
3164 #include "confdefs.h"
3165 #include <sys/types.h>
3166 #include <sys/stat.h>
3168 struct stat s; s.st_blocks;
3171 if { (eval echo configure
:3172: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3173 ac_cv_struct_st_blocks
=yes
3175 echo "configure: failed program was:" >&5
3176 cat conftest.
$ac_ext >&5
3178 ac_cv_struct_st_blocks
=no
3183 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3184 if test $ac_cv_struct_st_blocks = yes; then
3185 cat >> confdefs.h
<<\EOF
3186 #define HAVE_ST_BLOCKS 1
3190 LIBOBJS
="$LIBOBJS fileblocks.o"
3193 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3194 echo "configure:3195: checking for st_rdev in struct stat" >&5
3195 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
3196 echo $ac_n "(cached) $ac_c" 1>&6
3198 cat > conftest.
$ac_ext <<EOF
3199 #line 3200 "configure"
3200 #include "confdefs.h"
3201 #include <sys/types.h>
3202 #include <sys/stat.h>
3204 struct stat s; s.st_rdev;
3207 if { (eval echo configure
:3208: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3209 ac_cv_struct_st_rdev
=yes
3211 echo "configure: failed program was:" >&5
3212 cat conftest.
$ac_ext >&5
3214 ac_cv_struct_st_rdev
=no
3219 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
3220 if test $ac_cv_struct_st_rdev = yes; then
3221 cat >> confdefs.h
<<\EOF
3222 #define HAVE_ST_RDEV 1
3227 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3228 echo "configure:3229: checking whether struct tm is in sys/time.h or time.h" >&5
3229 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3230 echo $ac_n "(cached) $ac_c" 1>&6
3232 cat > conftest.
$ac_ext <<EOF
3233 #line 3234 "configure"
3234 #include "confdefs.h"
3235 #include <sys/types.h>
3238 struct tm *tp; tp->tm_sec;
3241 if { (eval echo configure
:3242: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3243 ac_cv_struct_tm
=time.h
3245 echo "configure: failed program was:" >&5
3246 cat conftest.
$ac_ext >&5
3248 ac_cv_struct_tm
=sys
/time.h
3253 echo "$ac_t""$ac_cv_struct_tm" 1>&6
3254 if test $ac_cv_struct_tm = sys
/time.h
; then
3255 cat >> confdefs.h
<<\EOF
3256 #define TM_IN_SYS_TIME 1
3261 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3262 echo "configure:3263: checking for tm_zone in struct tm" >&5
3263 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3264 echo $ac_n "(cached) $ac_c" 1>&6
3266 cat > conftest.
$ac_ext <<EOF
3267 #line 3268 "configure"
3268 #include "confdefs.h"
3269 #include <sys/types.h>
3270 #include <$ac_cv_struct_tm>
3272 struct tm tm; tm.tm_zone;
3275 if { (eval echo configure
:3276: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3277 ac_cv_struct_tm_zone
=yes
3279 echo "configure: failed program was:" >&5
3280 cat conftest.
$ac_ext >&5
3282 ac_cv_struct_tm_zone
=no
3287 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
3288 if test "$ac_cv_struct_tm_zone" = yes; then
3289 cat >> confdefs.h
<<\EOF
3290 #define HAVE_TM_ZONE 1
3294 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3295 echo "configure:3296: checking for tzname" >&5
3296 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
3297 echo $ac_n "(cached) $ac_c" 1>&6
3299 cat > conftest.
$ac_ext <<EOF
3300 #line 3301 "configure"
3301 #include "confdefs.h"
3303 #ifndef tzname /* For SGI. */
3304 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3310 if { (eval echo configure
:3311: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3312 ac_cv_var_tzname
=yes
3314 echo "configure: failed program was:" >&5
3315 cat conftest.
$ac_ext >&5
3322 echo "$ac_t""$ac_cv_var_tzname" 1>&6
3323 if test $ac_cv_var_tzname = yes; then
3324 cat >> confdefs.h
<<\EOF
3325 #define HAVE_TZNAME 1
3333 echo $ac_n "checking for working const""... $ac_c" 1>&6
3334 echo "configure:3335: checking for working const" >&5
3335 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3336 echo $ac_n "(cached) $ac_c" 1>&6
3338 cat > conftest.
$ac_ext <<EOF
3339 #line 3340 "configure"
3340 #include "confdefs.h"
3344 /* Ultrix mips cc rejects this. */
3345 typedef int charset[2]; const charset x;
3346 /* SunOS 4.1.1 cc rejects this. */
3347 char const *const *ccp;
3349 /* NEC SVR4.0.2 mips cc rejects this. */
3350 struct point {int x, y;};
3351 static struct point const zero = {0,0};
3352 /* AIX XL C 1.02.0.0 rejects this.
3353 It does not let you subtract one const X* pointer from another in an arm
3354 of an if-expression whose if-part is not a constant expression */
3355 const char *g = "string";
3356 ccp = &g + (g ? g-g : 0);
3357 /* HPUX 7.0 cc rejects these. */
3360 ccp = (char const *const *) p;
3361 { /* SCO 3.2v4 cc rejects this. */
3363 char const *s = 0 ? (char *) 0 : (char const *) 0;
3367 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3369 const int *foo = &x[0];
3372 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3373 typedef const int *iptr;
3377 { /* AIX XL C 1.02.0.0 rejects this saying
3378 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3379 struct s { int j; const int *ap[3]; };
3380 struct s *b; b->j = 5;
3382 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3388 if { (eval echo configure
:3389: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3392 echo "configure: failed program was:" >&5
3393 cat conftest.
$ac_ext >&5
3400 echo "$ac_t""$ac_cv_c_const" 1>&6
3401 if test $ac_cv_c_const = no
; then
3402 cat >> confdefs.h
<<\EOF
3408 echo $ac_n "checking for inline""... $ac_c" 1>&6
3409 echo "configure:3410: checking for inline" >&5
3410 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3411 echo $ac_n "(cached) $ac_c" 1>&6
3414 for ac_kw
in inline __inline__ __inline
; do
3415 cat > conftest.
$ac_ext <<EOF
3416 #line 3417 "configure"
3417 #include "confdefs.h"
3423 if { (eval echo configure
:3424: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3425 ac_cv_c_inline
=$ac_kw; break
3427 echo "configure: failed program was:" >&5
3428 cat conftest.
$ac_ext >&5
3435 echo "$ac_t""$ac_cv_c_inline" 1>&6
3436 case "$ac_cv_c_inline" in
3438 no
) cat >> confdefs.h
<<\EOF
3442 *) cat >> confdefs.h
<<EOF
3443 #define inline $ac_cv_c_inline
3448 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
3449 echo "configure:3450: checking whether char is unsigned" >&5
3450 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
3451 echo $ac_n "(cached) $ac_c" 1>&6
3453 if test "$GCC" = yes; then
3454 # GCC predefines this symbol on systems where it applies.
3455 cat > conftest.
$ac_ext <<EOF
3456 #line 3457 "configure"
3457 #include "confdefs.h"
3458 #ifdef __CHAR_UNSIGNED__
3463 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3464 egrep "yes" >/dev
/null
2>&1; then
3466 ac_cv_c_char_unsigned
=yes
3469 ac_cv_c_char_unsigned
=no
3474 if test "$cross_compiling" = yes; then
3475 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3477 cat > conftest.
$ac_ext <<EOF
3478 #line 3479 "configure"
3479 #include "confdefs.h"
3480 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
3481 #if !defined(__STDC__) || __STDC__ != 1
3485 volatile char c = 255; exit(c < 0);
3488 if { (eval echo configure
:3489: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3490 ac_cv_c_char_unsigned
=yes
3492 echo "configure: failed program was:" >&5
3493 cat conftest.
$ac_ext >&5
3495 ac_cv_c_char_unsigned
=no
3503 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
3504 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3505 cat >> confdefs.h
<<\EOF
3506 #define __CHAR_UNSIGNED__ 1
3511 echo $ac_n "checking for long double""... $ac_c" 1>&6
3512 echo "configure:3513: checking for long double" >&5
3513 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
3514 echo $ac_n "(cached) $ac_c" 1>&6
3516 if test "$GCC" = yes; then
3517 ac_cv_c_long_double
=yes
3519 if test "$cross_compiling" = yes; then
3520 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3522 cat > conftest.
$ac_ext <<EOF
3523 #line 3524 "configure"
3524 #include "confdefs.h"
3526 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
3527 long double foo = 0.0;
3528 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3529 exit(sizeof(long double) < sizeof(double)); }
3531 if { (eval echo configure
:3532: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3533 ac_cv_c_long_double
=yes
3535 echo "configure: failed program was:" >&5
3536 cat conftest.
$ac_ext >&5
3538 ac_cv_c_long_double
=no
3546 echo "$ac_t""$ac_cv_c_long_double" 1>&6
3547 if test $ac_cv_c_long_double = yes; then
3548 cat >> confdefs.h
<<\EOF
3549 #define HAVE_LONG_DOUBLE 1
3555 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3556 echo "configure:3557: checking whether byte ordering is bigendian" >&5
3557 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3558 echo $ac_n "(cached) $ac_c" 1>&6
3560 ac_cv_c_bigendian
=unknown
3561 # See if sys/param.h defines the BYTE_ORDER macro.
3562 cat > conftest.
$ac_ext <<EOF
3563 #line 3564 "configure"
3564 #include "confdefs.h"
3565 #include <sys/types.h>
3566 #include <sys/param.h>
3569 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3574 if { (eval echo configure
:3575: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3576 # It does; now see whether it defined to BIG_ENDIAN or not.
3577 cat > conftest.
$ac_ext <<EOF
3578 #line 3579 "configure"
3579 #include "confdefs.h"
3580 #include <sys/types.h>
3581 #include <sys/param.h>
3584 #if BYTE_ORDER != BIG_ENDIAN
3589 if { (eval echo configure
:3590: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3591 ac_cv_c_bigendian
=yes
3593 echo "configure: failed program was:" >&5
3594 cat conftest.
$ac_ext >&5
3596 ac_cv_c_bigendian
=no
3600 echo "configure: failed program was:" >&5
3601 cat conftest.
$ac_ext >&5
3604 if test $ac_cv_c_bigendian = unknown
; then
3605 if test "$cross_compiling" = yes; then
3606 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3608 cat > conftest.
$ac_ext <<EOF
3609 #line 3610 "configure"
3610 #include "confdefs.h"
3612 /* Are we little or big endian? From Harbison&Steele. */
3616 char c[sizeof (long)];
3619 exit (u.c[sizeof (long) - 1] == 1);
3622 if { (eval echo configure
:3623: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3624 ac_cv_c_bigendian
=no
3626 echo "configure: failed program was:" >&5
3627 cat conftest.
$ac_ext >&5
3629 ac_cv_c_bigendian
=yes
3637 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
3638 if test $ac_cv_c_bigendian = yes; then
3639 cat >> confdefs.h
<<\EOF
3640 #define WORDS_BIGENDIAN 1
3646 echo $ac_n "checking size of int *""... $ac_c" 1>&6
3647 echo "configure:3648: checking size of int *" >&5
3648 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
3649 echo $ac_n "(cached) $ac_c" 1>&6
3651 if test "$cross_compiling" = yes; then
3652 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3654 cat > conftest.
$ac_ext <<EOF
3655 #line 3656 "configure"
3656 #include "confdefs.h"
3660 FILE *f=fopen("conftestval", "w");
3662 fprintf(f, "%d\n", sizeof(int *));
3666 if { (eval echo configure
:3667: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3668 ac_cv_sizeof_int_p
=`cat conftestval`
3670 echo "configure: failed program was:" >&5
3671 cat conftest.
$ac_ext >&5
3673 ac_cv_sizeof_int_p
=0
3679 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
3680 cat >> confdefs.h
<<EOF
3681 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
3685 echo $ac_n "checking size of int""... $ac_c" 1>&6
3686 echo "configure:3687: checking size of int" >&5
3687 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
3688 echo $ac_n "(cached) $ac_c" 1>&6
3690 if test "$cross_compiling" = yes; then
3691 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3693 cat > conftest.
$ac_ext <<EOF
3694 #line 3695 "configure"
3695 #include "confdefs.h"
3699 FILE *f=fopen("conftestval", "w");
3701 fprintf(f, "%d\n", sizeof(int));
3705 if { (eval echo configure
:3706: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3707 ac_cv_sizeof_int
=`cat conftestval`
3709 echo "configure: failed program was:" >&5
3710 cat conftest.
$ac_ext >&5
3718 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
3719 cat >> confdefs.h
<<EOF
3720 #define SIZEOF_INT $ac_cv_sizeof_int
3724 echo $ac_n "checking size of long""... $ac_c" 1>&6
3725 echo "configure:3726: checking size of long" >&5
3726 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
3727 echo $ac_n "(cached) $ac_c" 1>&6
3729 if test "$cross_compiling" = yes; then
3730 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3732 cat > conftest.
$ac_ext <<EOF
3733 #line 3734 "configure"
3734 #include "confdefs.h"
3738 FILE *f=fopen("conftestval", "w");
3740 fprintf(f, "%d\n", sizeof(long));
3744 if { (eval echo configure
:3745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3746 ac_cv_sizeof_long
=`cat conftestval`
3748 echo "configure: failed program was:" >&5
3749 cat conftest.
$ac_ext >&5
3757 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
3758 cat >> confdefs.h
<<EOF
3759 #define SIZEOF_LONG $ac_cv_sizeof_long
3767 UNIX_THREAD
="gtk/threadno.cpp"
3768 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
3769 echo "configure:3770: checking for pthread_create in -lpthread" >&5
3770 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
3771 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3772 echo $ac_n "(cached) $ac_c" 1>&6
3774 ac_save_LIBS
="$LIBS"
3775 LIBS
="-lpthread $LIBS"
3776 cat > conftest.
$ac_ext <<EOF
3777 #line 3778 "configure"
3778 #include "confdefs.h"
3779 /* Override any gcc2 internal prototype to avoid an error. */
3780 /* We use char because int might match the return type of a gcc2
3781 builtin and then its argument prototype would still apply. */
3782 char pthread_create();
3788 if { (eval echo configure
:3789: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3790 eval "ac_cv_lib_$ac_lib_var=yes"
3792 echo "configure: failed program was:" >&5
3793 cat conftest.
$ac_ext >&5
3795 eval "ac_cv_lib_$ac_lib_var=no"
3798 LIBS
="$ac_save_LIBS"
3801 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3802 echo "$ac_t""yes" 1>&6
3804 UNIX_THREAD
="gtk/threadpsx.cpp"
3805 THREADS_LINK
="-lpthread"
3806 cat >> confdefs.h
<<\EOF
3807 #define USE_THREADS 1
3812 echo "$ac_t""no" 1>&6
3815 echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
3816 echo "configure:3817: checking for pthread_create in -lpthreads" >&5
3817 ac_lib_var
=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'`
3818 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3819 echo $ac_n "(cached) $ac_c" 1>&6
3821 ac_save_LIBS
="$LIBS"
3822 LIBS
="-lpthreads $LIBS"
3823 cat > conftest.
$ac_ext <<EOF
3824 #line 3825 "configure"
3825 #include "confdefs.h"
3826 /* Override any gcc2 internal prototype to avoid an error. */
3827 /* We use char because int might match the return type of a gcc2
3828 builtin and then its argument prototype would still apply. */
3829 char pthread_create();
3835 if { (eval echo configure
:3836: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3837 eval "ac_cv_lib_$ac_lib_var=yes"
3839 echo "configure: failed program was:" >&5
3840 cat conftest.
$ac_ext >&5
3842 eval "ac_cv_lib_$ac_lib_var=no"
3845 LIBS
="$ac_save_LIBS"
3848 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3849 echo "$ac_t""yes" 1>&6
3851 UNIX_THREAD
="gtk/threadpsx.cpp"
3852 THREADS_LINK
="-lpthreads"
3853 cat >> confdefs.h
<<\EOF
3854 #define USE_THREADS 1
3859 echo "$ac_t""no" 1>&6
3862 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
3863 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
3864 echo "configure:3865: checking for sys/prctl.h" >&5
3865 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3866 echo $ac_n "(cached) $ac_c" 1>&6
3868 cat > conftest.
$ac_ext <<EOF
3869 #line 3870 "configure"
3870 #include "confdefs.h"
3871 #include <sys/prctl.h>
3873 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3874 { (eval echo configure
:3875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3875 ac_err
=`grep -v '^ *+' conftest.out`
3876 if test -z "$ac_err"; then
3878 eval "ac_cv_header_$ac_safe=yes"
3881 echo "configure: failed program was:" >&5
3882 cat conftest.
$ac_ext >&5
3884 eval "ac_cv_header_$ac_safe=no"
3888 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3889 echo "$ac_t""yes" 1>&6
3891 UNIX_THREAD
="gtk/threadsgi.cpp"
3892 cat >> confdefs.h
<<\EOF
3893 #define USE_THREADS 1
3898 echo "$ac_t""no" 1>&6
3904 echo $ac_n "checking for long file names""... $ac_c" 1>&6
3905 echo "configure:3906: checking for long file names" >&5
3906 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3907 echo $ac_n "(cached) $ac_c" 1>&6
3909 ac_cv_sys_long_file_names
=yes
3910 # Test for long file names in all the places we know might matter:
3911 # . the current directory, where building will happen
3912 # $prefix/lib where we will be installing things
3913 # $exec_prefix/lib likewise
3914 # eval it to expand exec_prefix.
3915 # $TMPDIR if set, where it might want to write temporary files
3916 # if $TMPDIR is not set:
3917 # /tmp where it might want to write temporary files
3920 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
3921 ac_tmpdirs
="$TMPDIR"
3923 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
3925 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
3926 test -d $ac_dir || continue
3927 test -w $ac_dir || continue # It is less confusing to not echo anything here.
3928 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
3929 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
3930 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
3931 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
3932 ac_cv_sys_long_file_names
=no
3933 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
3936 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
3940 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
3941 if test $ac_cv_sys_long_file_names = yes; then
3942 cat >> confdefs.h
<<\EOF
3943 #define HAVE_LONG_FILE_NAMES 1
3951 for ac_prog
in 'bison -y' byacc
3953 # Extract the first word of "$ac_prog", so it can be a program name with args.
3954 set dummy
$ac_prog; ac_word
=$2
3955 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3956 echo "configure:3957: checking for $ac_word" >&5
3957 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
3958 echo $ac_n "(cached) $ac_c" 1>&6
3960 if test -n "$YACC"; then
3961 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
3963 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3964 for ac_dir
in $PATH; do
3965 test -z "$ac_dir" && ac_dir
=.
3966 if test -f $ac_dir/$ac_word; then
3967 ac_cv_prog_YACC
="$ac_prog"
3974 YACC
="$ac_cv_prog_YACC"
3975 if test -n "$YACC"; then
3976 echo "$ac_t""$YACC" 1>&6
3978 echo "$ac_t""no" 1>&6
3981 test -n "$YACC" && break
3983 test -n "$YACC" || YACC
="yacc"
3986 # Extract the first word of "flex", so it can be a program name with args.
3987 set dummy flex
; ac_word
=$2
3988 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3989 echo "configure:3990: checking for $ac_word" >&5
3990 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
3991 echo $ac_n "(cached) $ac_c" 1>&6
3993 if test -n "$LEX"; then
3994 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
3996 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
3997 for ac_dir
in $PATH; do
3998 test -z "$ac_dir" && ac_dir
=.
3999 if test -f $ac_dir/$ac_word; then
4000 ac_cv_prog_LEX
="flex"
4005 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
4008 LEX
="$ac_cv_prog_LEX"
4009 if test -n "$LEX"; then
4010 echo "$ac_t""$LEX" 1>&6
4012 echo "$ac_t""no" 1>&6
4015 if test -z "$LEXLIB"
4021 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
4022 echo "configure:4023: checking for yywrap in -l$ac_lib" >&5
4023 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
4024 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4025 echo $ac_n "(cached) $ac_c" 1>&6
4027 ac_save_LIBS
="$LIBS"
4028 LIBS
="-l$ac_lib $LIBS"
4029 cat > conftest.
$ac_ext <<EOF
4030 #line 4031 "configure"
4031 #include "confdefs.h"
4032 /* Override any gcc2 internal prototype to avoid an error. */
4033 /* We use char because int might match the return type of a gcc2
4034 builtin and then its argument prototype would still apply. */
4041 if { (eval echo configure
:4042: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4043 eval "ac_cv_lib_$ac_lib_var=yes"
4045 echo "configure: failed program was:" >&5
4046 cat conftest.
$ac_ext >&5
4048 eval "ac_cv_lib_$ac_lib_var=no"
4051 LIBS
="$ac_save_LIBS"
4054 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4055 echo "$ac_t""yes" 1>&6
4058 echo "$ac_t""no" 1>&6
4063 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
4064 echo "configure:4065: checking lex output file root" >&5
4065 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
4066 echo $ac_n "(cached) $ac_c" 1>&6
4068 # The minimal lex program is just a single line: %%. But some broken lexes
4069 # (Solaris, I think it was) want two %% lines, so accommodate them.
4072 if test -f lex.yy.c
; then
4073 ac_cv_prog_lex_root
=lex.yy
4074 elif test -f lexyy.c
; then
4075 ac_cv_prog_lex_root
=lexyy
4077 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
4081 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
4082 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4084 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
4085 echo "configure:4086: checking whether yytext is a pointer" >&5
4086 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
4087 echo $ac_n "(cached) $ac_c" 1>&6
4089 # POSIX says lex can declare yytext either as a pointer or an array; the
4090 # default is implementation-dependent. Figure out which it is, since
4091 # not all implementations provide the %pointer and %array declarations.
4092 ac_cv_prog_lex_yytext_pointer
=no
4093 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4094 ac_save_LIBS
="$LIBS"
4095 LIBS
="$LIBS $LEXLIB"
4096 cat > conftest.
$ac_ext <<EOF
4097 #line 4098 "configure"
4098 #include "confdefs.h"
4099 `cat $LEX_OUTPUT_ROOT.c`
4104 if { (eval echo configure
:4105: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4106 ac_cv_prog_lex_yytext_pointer
=yes
4108 echo "configure: failed program was:" >&5
4109 cat conftest.
$ac_ext >&5
4112 LIBS
="$ac_save_LIBS"
4113 rm -f "${LEX_OUTPUT_ROOT}.c"
4117 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
4118 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4119 cat >> confdefs.h
<<\EOF
4120 #define YYTEXT_POINTER 1
4127 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
4128 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
4132 # Make sure we can run config.sub.
4133 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
4134 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4137 echo $ac_n "checking host system type""... $ac_c" 1>&6
4138 echo "configure:4139: checking host system type" >&5
4141 case "$host_alias" in
4145 if host_alias
=`$ac_config_guess`; then :
4146 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4148 *) host_alias
=$nonopt ;;
4152 host=`$ac_config_sub $host_alias`
4153 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4154 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4155 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4156 echo "$ac_t""$host" 1>&6
4159 configuration
=$host_alias
4185 case "${canonical}" in
4188 cat >> confdefs.h
<<\EOF
4195 cat >> confdefs.h
<<\EOF
4200 *-*-irix5* | *-*-irix6* )
4203 cat >> confdefs.h
<<\EOF
4207 cat >> confdefs.h
<<\EOF
4216 cat >> confdefs.h
<<\EOF
4220 cat >> confdefs.h
<<\EOF
4221 #define __SOLARIS__ 1
4224 cat >> confdefs.h
<<\EOF
4233 cat >> confdefs.h
<<\EOF
4237 cat >> confdefs.h
<<\EOF
4241 cat >> confdefs.h
<<\EOF
4246 *-*-freebsd* | *-*-netbsd*)
4249 cat >> confdefs.h
<<\EOF
4250 #define __FREEBSD__ 1
4253 cat >> confdefs.h
<<\EOF
4261 cat >> confdefs.h
<<\EOF
4265 cat >> confdefs.h
<<\EOF
4273 cat >> confdefs.h
<<\EOF
4277 cat >> confdefs.h
<<\EOF
4285 cat >> confdefs.h
<<\EOF
4289 cat >> confdefs.h
<<\EOF
4298 cat >> confdefs.h
<<\EOF
4302 cat >> confdefs.h
<<\EOF
4306 cat >> confdefs.h
<<\EOF
4312 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
4317 rm -f ${OSTYPE}.system.cache.tmp
4318 touch ${OSTYPE}.system.cache.tmp
4319 touch ${OSTYPE}.system.cache
4322 DEFAULT_USE_SHARED
=0
4323 DEFAULT_USE_OPTIMISE
=1
4324 DEFAULT_USE_PROFILE
=0
4325 DEFAULT_USE_DEBUG_FLAG
=0
4326 DEFAULT_USE_DEBUG_INFO
=0
4327 DEFAULT_USE_MEM_TRACING
=0
4330 DEFAULT_USE_GDK_IMLIB
=1
4331 DEFAULT_USE_LIBPNG
=1
4333 DEFAULT_USE_STORABLE_CLASSES
=1
4334 DEFAULT_USE_AUTOTRANS
=1
4335 DEFAULT_USE_AFM_FOR_POSTSCRIPT
=1
4336 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
4338 DEFAULT_USE_IOSTREAMH
=1
4340 DEFAULT_USE_OPENGL
=0
4342 DEFAULT_USE_WXCONFIG
=1
4343 DEFAULT_USE_POSTSCRIPT
=1
4345 DEFAULT_USE_RESOURCES
=1
4346 DEFAULT_USE_TIMEDATE
=1
4347 DEFAULT_USE_FRACTION
=1
4348 DEFAULT_USE_CONSTRAINTS
=1
4349 DEFAULT_USE_TOOLBAR
=1
4351 DEFAULT_USE_SCROLLBAR
=1
4352 DEFAULT_USE_DOC_VIEW_ARCHITECTURE
=1
4353 DEFAULT_USE_PRINTING_ARCHITECTURE
=1
4355 DEFAULT_USE_METAFILE
=0
4357 DEFAULT_USE_CLIPBOARD
=0
4359 DEFAULT_USE_WXGRAPH
=0
4360 DEFAULT_USE_WXTREE
=0
4361 DEFAULT_USE_ENHANCED_DIALOG
=0
4364 DEFAULT_USE_PROLOGIO
=1
4366 DEFAULT_USE_WX_RESOURCES
=1
4370 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
4371 echo "configure:4372: checking "for shared
"" >&5
4372 # Check whether --with-shared or --without-shared was given.
4373 if test "${with_shared+set}" = set; then
4374 withval
="$with_shared"
4375 if test "x$with_shared" = xyes
; then
4376 ac_cv_use_shared
='USE_SHARED="1"'
4378 ac_cv_use_shared
='USE_SHARED="0"'
4382 LINE
=`grep "USE_SHARED" ${OSTYPE}.system.cache`
4383 if test "x$LINE" != x
; then
4384 eval "DEFAULT_$LINE"
4386 ac_cv_use_shared
='USE_SHARED='$DEFAULT_USE_SHARED
4390 eval "$ac_cv_use_shared"
4391 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
4392 if test "$USE_SHARED" = 1; then
4393 echo "$ac_t""yes" 1>&6
4395 echo "$ac_t""no" 1>&6
4400 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
4401 echo "configure:4402: checking "for optimise
"" >&5
4402 # Check whether --with-optimise or --without-optimise was given.
4403 if test "${with_optimise+set}" = set; then
4404 withval
="$with_optimise"
4405 if test "x$with_optimise" = xyes
; then
4406 ac_cv_use_optimise
='USE_OPTIMISE="1"'
4408 ac_cv_use_optimise
='USE_OPTIMISE="0"'
4412 LINE
=`grep "USE_OPTIMISE" ${OSTYPE}.system.cache`
4413 if test "x$LINE" != x
; then
4414 eval "DEFAULT_$LINE"
4416 ac_cv_use_optimise
='USE_OPTIMISE='$DEFAULT_USE_OPTIMISE
4420 eval "$ac_cv_use_optimise"
4421 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
4422 if test "$USE_OPTIMISE" = 1; then
4423 echo "$ac_t""yes" 1>&6
4425 echo "$ac_t""no" 1>&6
4430 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
4431 echo "configure:4432: checking "for debug_flag
"" >&5
4432 # Check whether --with-debug_flag or --without-debug_flag was given.
4433 if test "${with_debug_flag+set}" = set; then
4434 withval
="$with_debug_flag"
4435 if test "x$with_debug_flag" = xyes
; then
4436 ac_cv_use_debug_flag
='USE_DEBUG_FLAG="1"'
4438 ac_cv_use_debug_flag
='USE_DEBUG_FLAG="0"'
4442 LINE
=`grep "USE_DEBUG_FLAG" ${OSTYPE}.system.cache`
4443 if test "x$LINE" != x
; then
4444 eval "DEFAULT_$LINE"
4446 ac_cv_use_debug_flag
='USE_DEBUG_FLAG='$DEFAULT_USE_DEBUG_FLAG
4450 eval "$ac_cv_use_debug_flag"
4451 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
4452 if test "$USE_DEBUG_FLAG" = 1; then
4453 echo "$ac_t""yes" 1>&6
4455 echo "$ac_t""no" 1>&6
4460 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
4461 echo "configure:4462: checking "for debug_info
"" >&5
4462 # Check whether --with-debug_info or --without-debug_info was given.
4463 if test "${with_debug_info+set}" = set; then
4464 withval
="$with_debug_info"
4465 if test "x$with_debug_info" = xyes
; then
4466 ac_cv_use_debug_info
='USE_DEBUG_INFO="1"'
4468 ac_cv_use_debug_info
='USE_DEBUG_INFO="0"'
4472 LINE
=`grep "USE_DEBUG_INFO" ${OSTYPE}.system.cache`
4473 if test "x$LINE" != x
; then
4474 eval "DEFAULT_$LINE"
4476 ac_cv_use_debug_info
='USE_DEBUG_INFO='$DEFAULT_USE_DEBUG_INFO
4480 eval "$ac_cv_use_debug_info"
4481 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
4482 if test "$USE_DEBUG_INFO" = 1; then
4483 echo "$ac_t""yes" 1>&6
4485 echo "$ac_t""no" 1>&6
4490 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
4491 echo "configure:4492: checking "for mem_tracing
"" >&5
4492 # Check whether --with-mem_tracing or --without-mem_tracing was given.
4493 if test "${with_mem_tracing+set}" = set; then
4494 withval
="$with_mem_tracing"
4495 if test "x$with_mem_tracing" = xyes
; then
4496 ac_cv_use_mem_tracing
='USE_MEM_TRACING="1"'
4498 ac_cv_use_mem_tracing
='USE_MEM_TRACING="0"'
4502 LINE
=`grep "USE_MEM_TRACING" ${OSTYPE}.system.cache`
4503 if test "x$LINE" != x
; then
4504 eval "DEFAULT_$LINE"
4506 ac_cv_use_mem_tracing
='USE_MEM_TRACING='$DEFAULT_USE_MEM_TRACING
4510 eval "$ac_cv_use_mem_tracing"
4511 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
4512 if test "$USE_MEM_TRACING" = 1; then
4513 echo "$ac_t""yes" 1>&6
4515 echo "$ac_t""no" 1>&6
4520 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
4521 echo "configure:4522: checking "for profile
"" >&5
4522 # Check whether --with-profile or --without-profile was given.
4523 if test "${with_profile+set}" = set; then
4524 withval
="$with_profile"
4525 if test "x$with_profile" = xyes
; then
4526 ac_cv_use_profile
='USE_PROFILE="1"'
4528 ac_cv_use_profile
='USE_PROFILE="0"'
4532 LINE
=`grep "USE_PROFILE" ${OSTYPE}.system.cache`
4533 if test "x$LINE" != x
; then
4534 eval "DEFAULT_$LINE"
4536 ac_cv_use_profile
='USE_PROFILE='$DEFAULT_USE_PROFILE
4540 eval "$ac_cv_use_profile"
4541 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
4542 if test "$USE_PROFILE" = 1; then
4543 echo "$ac_t""yes" 1>&6
4545 echo "$ac_t""no" 1>&6
4551 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
4552 echo "configure:4553: checking "for zlib
"" >&5
4553 # Check whether --with-zlib or --without-zlib was given.
4554 if test "${with_zlib+set}" = set; then
4555 withval
="$with_zlib"
4556 if test "x$with_zlib" = xyes
; then
4557 ac_cv_use_zlib
='USE_ZLIB="1"'
4559 ac_cv_use_zlib
='USE_ZLIB="0"'
4563 LINE
=`grep "USE_ZLIB" ${OSTYPE}.system.cache`
4564 if test "x$LINE" != x
; then
4565 eval "DEFAULT_$LINE"
4567 ac_cv_use_zlib
='USE_ZLIB='$DEFAULT_USE_ZLIB
4571 eval "$ac_cv_use_zlib"
4572 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
4573 if test "$USE_ZLIB" = 1; then
4574 echo "$ac_t""yes" 1>&6
4576 echo "$ac_t""no" 1>&6
4581 echo $ac_n "checking "for gdk_imlib
"""... $ac_c" 1>&6
4582 echo "configure:4583: checking "for gdk_imlib
"" >&5
4583 # Check whether --with-gdk_imlib or --without-gdk_imlib was given.
4584 if test "${with_gdk_imlib+set}" = set; then
4585 withval
="$with_gdk_imlib"
4586 if test "x$with_gdk_imlib" = xyes
; then
4587 ac_cv_use_gdk_imlib
='USE_GDK_IMLIB="1"'
4589 ac_cv_use_gdk_imlib
='USE_GDK_IMLIB="0"'
4593 LINE
=`grep "USE_GDK_IMLIB" ${OSTYPE}.system.cache`
4594 if test "x$LINE" != x
; then
4595 eval "DEFAULT_$LINE"
4597 ac_cv_use_gdk_imlib
='USE_GDK_IMLIB='$DEFAULT_USE_GDK_IMLIB
4601 eval "$ac_cv_use_gdk_imlib"
4602 echo $ac_cv_use_gdk_imlib >> ${OSTYPE}.system.cache.tmp
4603 if test "$USE_GDK_IMLIB" = 1; then
4604 echo "$ac_t""yes" 1>&6
4606 echo "$ac_t""no" 1>&6
4611 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
4612 echo "configure:4613: checking "for libpng
"" >&5
4613 # Check whether --with-libpng or --without-libpng was given.
4614 if test "${with_libpng+set}" = set; then
4615 withval
="$with_libpng"
4616 if test "x$with_libpng" = xyes
; then
4617 ac_cv_use_libpng
='USE_LIBPNG="1"'
4619 ac_cv_use_libpng
='USE_LIBPNG="0"'
4623 LINE
=`grep "USE_LIBPNG" ${OSTYPE}.system.cache`
4624 if test "x$LINE" != x
; then
4625 eval "DEFAULT_$LINE"
4627 ac_cv_use_libpng
='USE_LIBPNG='$DEFAULT_USE_LIBPNG
4631 eval "$ac_cv_use_libpng"
4632 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
4633 if test "$USE_LIBPNG" = 1; then
4634 echo "$ac_t""yes" 1>&6
4636 echo "$ac_t""no" 1>&6
4641 echo $ac_n "checking "for opengl
"""... $ac_c" 1>&6
4642 echo "configure:4643: checking "for opengl
"" >&5
4643 # Check whether --with-opengl or --without-opengl was given.
4644 if test "${with_opengl+set}" = set; then
4645 withval
="$with_opengl"
4646 if test "x$with_opengl" = xyes
; then
4647 ac_cv_use_opengl
='USE_OPENGL="1"'
4649 ac_cv_use_opengl
='USE_OPENGL="0"'
4653 LINE
=`grep "USE_OPENGL" ${OSTYPE}.system.cache`
4654 if test "x$LINE" != x
; then
4655 eval "DEFAULT_$LINE"
4657 ac_cv_use_opengl
='USE_OPENGL='$DEFAULT_USE_OPENGL
4661 eval "$ac_cv_use_opengl"
4662 echo $ac_cv_use_opengl >> ${OSTYPE}.system.cache.tmp
4663 if test "$USE_OPENGL" = 1; then
4664 echo "$ac_t""yes" 1>&6
4666 echo "$ac_t""no" 1>&6
4672 echo $ac_n "checking "for storable
"""... $ac_c" 1>&6
4673 echo "configure:4674: checking "for storable
"" >&5
4674 # Check whether --with-storable or --without-storable was given.
4675 if test "${with_storable+set}" = set; then
4676 withval
="$with_storable"
4677 if test "x$with_storable" = xyes
; then
4678 ac_cv_use_storable
='USE_STORABLE_CLASSES="1"'
4680 ac_cv_use_storable
='USE_STORABLE_CLASSES="0"'
4684 LINE
=`grep "USE_STORABLE_CLASSES" ${OSTYPE}.system.cache`
4685 if test "x$LINE" != x
; then
4686 eval "DEFAULT_$LINE"
4688 ac_cv_use_storable
='USE_STORABLE_CLASSES='$DEFAULT_USE_STORABLE_CLASSES
4692 eval "$ac_cv_use_storable"
4693 echo $ac_cv_use_storable >> ${OSTYPE}.system.cache.tmp
4694 if test "$USE_STORABLE_CLASSES" = 1; then
4695 echo "$ac_t""yes" 1>&6
4697 echo "$ac_t""no" 1>&6
4702 echo $ac_n "checking "for autotrans
"""... $ac_c" 1>&6
4703 echo "configure:4704: checking "for autotrans
"" >&5
4704 # Check whether --with-autotrans or --without-autotrans was given.
4705 if test "${with_autotrans+set}" = set; then
4706 withval
="$with_autotrans"
4707 if test "x$with_autotrans" = xyes
; then
4708 ac_cv_use_autotrans
='USE_AUTOTRANS="1"'
4710 ac_cv_use_autotrans
='USE_AUTOTRANS="0"'
4714 LINE
=`grep "USE_AUTOTRANS" ${OSTYPE}.system.cache`
4715 if test "x$LINE" != x
; then
4716 eval "DEFAULT_$LINE"
4718 ac_cv_use_autotrans
='USE_AUTOTRANS='$DEFAULT_USE_AUTOTRANS
4722 eval "$ac_cv_use_autotrans"
4723 echo $ac_cv_use_autotrans >> ${OSTYPE}.system.cache.tmp
4724 if test "$USE_AUTOTRANS" = 1; then
4725 echo "$ac_t""yes" 1>&6
4727 echo "$ac_t""no" 1>&6
4732 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
4733 echo "configure:4734: checking "for afmfonts
"" >&5
4734 # Check whether --with-afmfonts or --without-afmfonts was given.
4735 if test "${with_afmfonts+set}" = set; then
4736 withval
="$with_afmfonts"
4737 if test "x$with_afmfonts" = xyes
; then
4738 ac_cv_use_afmfonts
='USE_AFM_FOR_POSTSCRIPT="1"'
4740 ac_cv_use_afmfonts
='USE_AFM_FOR_POSTSCRIPT="0"'
4744 LINE
=`grep "USE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
4745 if test "x$LINE" != x
; then
4746 eval "DEFAULT_$LINE"
4748 ac_cv_use_afmfonts
='USE_AFM_FOR_POSTSCRIPT='$DEFAULT_USE_AFM_FOR_POSTSCRIPT
4752 eval "$ac_cv_use_afmfonts"
4753 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
4754 if test "$USE_AFM_FOR_POSTSCRIPT" = 1; then
4755 echo "$ac_t""yes" 1>&6
4757 echo "$ac_t""no" 1>&6
4762 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
4763 echo "configure:4764: checking "for normalized
"" >&5
4764 # Check whether --with-normalized or --without-normalized was given.
4765 if test "${with_normalized+set}" = set; then
4766 withval
="$with_normalized"
4767 if test "x$with_normalized" = xyes
; then
4768 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
4770 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
4774 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
4775 if test "x$LINE" != x
; then
4776 eval "DEFAULT_$LINE"
4778 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
4782 eval "$ac_cv_use_normalized"
4783 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
4784 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
4785 echo "$ac_t""yes" 1>&6
4787 echo "$ac_t""no" 1>&6
4792 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
4793 echo "configure:4794: checking "for RPC
"" >&5
4794 # Check whether --with-rpc or --without-rpc was given.
4795 if test "${with_rpc+set}" = set; then
4797 if test "x$with_rpc" = xyes
; then
4798 ac_cv_use_rpc
='USE_RPC="1"'
4800 ac_cv_use_rpc
='USE_RPC="0"'
4804 LINE
=`grep "USE_RPC" ${OSTYPE}.system.cache`
4805 if test "x$LINE" != x
; then
4806 eval "DEFAULT_$LINE"
4808 ac_cv_use_rpc
='USE_RPC='$DEFAULT_USE_RPC
4812 eval "$ac_cv_use_rpc"
4813 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
4814 if test "$USE_RPC" = 1; then
4815 echo "$ac_t""yes" 1>&6
4817 echo "$ac_t""no" 1>&6
4822 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
4823 echo "configure:4824: checking "for wxresources
"" >&5
4824 # Check whether --with-wxresources or --without-wxresources was given.
4825 if test "${with_wxresources+set}" = set; then
4826 withval
="$with_wxresources"
4827 if test "x$with_wxresources" = xyes
; then
4828 ac_cv_use_wxresources
='USE_WX_RESOURCES="1"'
4830 ac_cv_use_wxresources
='USE_WX_RESOURCES="0"'
4834 LINE
=`grep "USE_WX_RESOURCES" ${OSTYPE}.system.cache`
4835 if test "x$LINE" != x
; then
4836 eval "DEFAULT_$LINE"
4838 ac_cv_use_wxresources
='USE_WX_RESOURCES='$DEFAULT_USE_WX_RESOURCES
4842 eval "$ac_cv_use_wxresources"
4843 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
4844 if test "$USE_WX_RESOURCES" = 1; then
4845 echo "$ac_t""yes" 1>&6
4847 echo "$ac_t""no" 1>&6
4852 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
4853 echo "configure:4854: checking "for prologio
"" >&5
4854 # Check whether --with-prologio or --without-prologio was given.
4855 if test "${with_prologio+set}" = set; then
4856 withval
="$with_prologio"
4857 if test "x$with_prologio" = xyes
; then
4858 ac_cv_use_prologio
='USE_PROLOGIO="1"'
4860 ac_cv_use_prologio
='USE_PROLOGIO="0"'
4864 LINE
=`grep "USE_PROLOGIO" ${OSTYPE}.system.cache`
4865 if test "x$LINE" != x
; then
4866 eval "DEFAULT_$LINE"
4868 ac_cv_use_prologio
='USE_PROLOGIO='$DEFAULT_USE_PROLOGIO
4872 eval "$ac_cv_use_prologio"
4873 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
4874 if test "$USE_PROLOGIO" = 1; then
4875 echo "$ac_t""yes" 1>&6
4877 echo "$ac_t""no" 1>&6
4882 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
4883 echo "configure:4884: checking "for postscript
"" >&5
4884 # Check whether --with-postscript or --without-postscript was given.
4885 if test "${with_postscript+set}" = set; then
4886 withval
="$with_postscript"
4887 if test "x$with_postscript" = xyes
; then
4888 ac_cv_use_postscript
='USE_POSTSCRIPT="1"'
4890 ac_cv_use_postscript
='USE_POSTSCRIPT="0"'
4894 LINE
=`grep "USE_POSTSCRIPT" ${OSTYPE}.system.cache`
4895 if test "x$LINE" != x
; then
4896 eval "DEFAULT_$LINE"
4898 ac_cv_use_postscript
='USE_POSTSCRIPT='$DEFAULT_USE_POSTSCRIPT
4902 eval "$ac_cv_use_postscript"
4903 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
4904 if test "$USE_POSTSCRIPT" = 1; then
4905 echo "$ac_t""yes" 1>&6
4907 echo "$ac_t""no" 1>&6
4912 echo $ac_n "checking "for wxconfig
"""... $ac_c" 1>&6
4913 echo "configure:4914: checking "for wxconfig
"" >&5
4914 # Check whether --with-wxconfig or --without-wxconfig was given.
4915 if test "${with_wxconfig+set}" = set; then
4916 withval
="$with_wxconfig"
4917 if test "x$with_wxconfig" = xyes
; then
4918 ac_cv_use_wxconfig
='USE_WXCONFIG="1"'
4920 ac_cv_use_wxconfig
='USE_WXCONFIG="0"'
4924 LINE
=`grep "USE_WXCONFIG" ${OSTYPE}.system.cache`
4925 if test "x$LINE" != x
; then
4926 eval "DEFAULT_$LINE"
4928 ac_cv_use_wxconfig
='USE_WXCONFIG='$DEFAULT_USE_WXCONFIG
4932 eval "$ac_cv_use_wxconfig"
4933 echo $ac_cv_use_wxconfig >> ${OSTYPE}.system.cache.tmp
4934 if test "$USE_WXCONFIG" = 1; then
4935 echo "$ac_t""yes" 1>&6
4937 echo "$ac_t""no" 1>&6
4942 echo $ac_n "checking "for metafile
"""... $ac_c" 1>&6
4943 echo "configure:4944: checking "for metafile
"" >&5
4944 # Check whether --with-metafile or --without-metafile was given.
4945 if test "${with_metafile+set}" = set; then
4946 withval
="$with_metafile"
4947 if test "x$with_metafile" = xyes
; then
4948 ac_cv_use_metafile
='USE_METAFILE="1"'
4950 ac_cv_use_metafile
='USE_METAFILE="0"'
4954 LINE
=`grep "USE_METAFILE" ${OSTYPE}.system.cache`
4955 if test "x$LINE" != x
; then
4956 eval "DEFAULT_$LINE"
4958 ac_cv_use_metafile
='USE_METAFILE='$DEFAULT_USE_METAFILE
4962 eval "$ac_cv_use_metafile"
4963 echo $ac_cv_use_metafile >> ${OSTYPE}.system.cache.tmp
4964 if test "$USE_METAFILE" = 1; then
4965 echo "$ac_t""yes" 1>&6
4967 echo "$ac_t""no" 1>&6
4972 echo $ac_n "checking "for form
"""... $ac_c" 1>&6
4973 echo "configure:4974: checking "for form
"" >&5
4974 # Check whether --with-form or --without-form was given.
4975 if test "${with_form+set}" = set; then
4976 withval
="$with_form"
4977 if test "x$with_form" = xyes
; then
4978 ac_cv_use_form
='USE_FORM="1"'
4980 ac_cv_use_form
='USE_FORM="0"'
4984 LINE
=`grep "USE_FORM" ${OSTYPE}.system.cache`
4985 if test "x$LINE" != x
; then
4986 eval "DEFAULT_$LINE"
4988 ac_cv_use_form
='USE_FORM='$DEFAULT_USE_FORM
4992 eval "$ac_cv_use_form"
4993 echo $ac_cv_use_form >> ${OSTYPE}.system.cache.tmp
4994 if test "$USE_FORM" = 1; then
4995 echo "$ac_t""yes" 1>&6
4997 echo "$ac_t""no" 1>&6
5002 echo $ac_n "checking "for help"""... $ac_c" 1>&6
5003 echo "configure:5004: checking "for help"" >&5
5004 # Check whether --with-help or --without-help was given.
5005 if test "${with_help+set}" = set; then
5006 withval
="$with_help"
5007 if test "x$with_help" = xyes
; then
5008 ac_cv_use_help
='USE_HELP="1"'
5010 ac_cv_use_help
='USE_HELP="0"'
5014 LINE
=`grep "USE_HELP" ${OSTYPE}.system.cache`
5015 if test "x$LINE" != x
; then
5016 eval "DEFAULT_$LINE"
5018 ac_cv_use_help
='USE_HELP='$DEFAULT_USE_HELP
5022 eval "$ac_cv_use_help"
5023 echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
5024 if test "$USE_HELP" = 1; then
5025 echo "$ac_t""yes" 1>&6
5027 echo "$ac_t""no" 1>&6
5032 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
5033 echo "configure:5034: checking "for IPC
"" >&5
5034 # Check whether --with-ipc or --without-ipc was given.
5035 if test "${with_ipc+set}" = set; then
5037 if test "x$with_ipc" = xyes
; then
5038 ac_cv_use_ipc
='USE_IPC="1"'
5040 ac_cv_use_ipc
='USE_IPC="0"'
5044 LINE
=`grep "USE_IPC" ${OSTYPE}.system.cache`
5045 if test "x$LINE" != x
; then
5046 eval "DEFAULT_$LINE"
5048 ac_cv_use_ipc
='USE_IPC='$DEFAULT_USE_IPC
5052 eval "$ac_cv_use_ipc"
5053 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
5054 if test "$USE_IPC" = 1; then
5055 echo "$ac_t""yes" 1>&6
5057 echo "$ac_t""no" 1>&6
5062 echo $ac_n "checking "for enhanced dialog
"""... $ac_c" 1>&6
5063 echo "configure:5064: checking "for enhanced dialog
"" >&5
5064 # Check whether --with-enhanceddialog or --without-enhanceddialog was given.
5065 if test "${with_enhanceddialog+set}" = set; then
5066 withval
="$with_enhanceddialog"
5067 if test "x$with_enhanceddialog" = xyes
; then
5068 ac_cv_use_enhanceddialog
='USE_ENHANCED_DIALOG="1"'
5070 ac_cv_use_enhanceddialog
='USE_ENHANCED_DIALOG="0"'
5074 LINE
=`grep "USE_ENHANCED_DIALOG" ${OSTYPE}.system.cache`
5075 if test "x$LINE" != x
; then
5076 eval "DEFAULT_$LINE"
5078 ac_cv_use_enhanceddialog
='USE_ENHANCED_DIALOG='$DEFAULT_USE_ENHANCED_DIALOG
5082 eval "$ac_cv_use_enhanceddialog"
5083 echo $ac_cv_use_enhanceddialog >> ${OSTYPE}.system.cache.tmp
5084 if test "$USE_ENHANCED_DIALOG" = 1; then
5085 echo "$ac_t""yes" 1>&6
5087 echo "$ac_t""no" 1>&6
5092 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
5093 echo "configure:5094: checking "for resources
"" >&5
5094 # Check whether --with-resources or --without-resources was given.
5095 if test "${with_resources+set}" = set; then
5096 withval
="$with_resources"
5097 if test "x$with_resources" = xyes
; then
5098 ac_cv_use_resources
='USE_RESOURCES="1"'
5100 ac_cv_use_resources
='USE_RESOURCES="0"'
5104 LINE
=`grep "USE_RESOURCES" ${OSTYPE}.system.cache`
5105 if test "x$LINE" != x
; then
5106 eval "DEFAULT_$LINE"
5108 ac_cv_use_resources
='USE_RESOURCES='$DEFAULT_USE_RESOURCES
5112 eval "$ac_cv_use_resources"
5113 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
5114 if test "$USE_RESOURCES" = 1; then
5115 echo "$ac_t""yes" 1>&6
5117 echo "$ac_t""no" 1>&6
5122 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
5123 echo "configure:5124: checking "for clipboard
"" >&5
5124 # Check whether --with-clipboard or --without-clipboard was given.
5125 if test "${with_clipboard+set}" = set; then
5126 withval
="$with_clipboard"
5127 if test "x$with_clipboard" = xyes
; then
5128 ac_cv_use_clipboard
='USE_CLIPBOARD="1"'
5130 ac_cv_use_clipboard
='USE_CLIPBOARD="0"'
5134 LINE
=`grep "USE_CLIPBOARD" ${OSTYPE}.system.cache`
5135 if test "x$LINE" != x
; then
5136 eval "DEFAULT_$LINE"
5138 ac_cv_use_clipboard
='USE_CLIPBOARD='$DEFAULT_USE_CLIPBOARD
5142 eval "$ac_cv_use_clipboard"
5143 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
5144 if test "$USE_CLIPBOARD" = 1; then
5145 echo "$ac_t""yes" 1>&6
5147 echo "$ac_t""no" 1>&6
5152 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
5153 echo "configure:5154: checking "for timedate
"" >&5
5154 # Check whether --with-timedate or --without-timedate was given.
5155 if test "${with_timedate+set}" = set; then
5156 withval
="$with_timedate"
5157 if test "x$with_timedate" = xyes
; then
5158 ac_cv_use_timedate
='USE_TIMEDATE="1"'
5160 ac_cv_use_timedate
='USE_TIMEDATE="0"'
5164 LINE
=`grep "USE_TIMEDATE" ${OSTYPE}.system.cache`
5165 if test "x$LINE" != x
; then
5166 eval "DEFAULT_$LINE"
5168 ac_cv_use_timedate
='USE_TIMEDATE='$DEFAULT_USE_TIMEDATE
5172 eval "$ac_cv_use_timedate"
5173 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
5174 if test "$USE_TIMEDATE" = 1; then
5175 echo "$ac_t""yes" 1>&6
5177 echo "$ac_t""no" 1>&6
5182 echo $ac_n "checking "for fraction
"""... $ac_c" 1>&6
5183 echo "configure:5184: checking "for fraction
"" >&5
5184 # Check whether --with-fraction or --without-fraction was given.
5185 if test "${with_fraction+set}" = set; then
5186 withval
="$with_fraction"
5187 if test "x$with_fraction" = xyes
; then
5188 ac_cv_use_fraction
='USE_FRACTION="1"'
5190 ac_cv_use_fraction
='USE_FRACTION="0"'
5194 LINE
=`grep "USE_FRACTION" ${OSTYPE}.system.cache`
5195 if test "x$LINE" != x
; then
5196 eval "DEFAULT_$LINE"
5198 ac_cv_use_fraction
='USE_FRACTION='$DEFAULT_USE_FRACTION
5202 eval "$ac_cv_use_fraction"
5203 echo $ac_cv_use_fraction >> ${OSTYPE}.system.cache.tmp
5204 if test "$USE_FRACTION" = 1; then
5205 echo "$ac_t""yes" 1>&6
5207 echo "$ac_t""no" 1>&6
5212 echo $ac_n "checking "for constrains
"""... $ac_c" 1>&6
5213 echo "configure:5214: checking "for constrains
"" >&5
5214 # Check whether --with-constraints or --without-constraints was given.
5215 if test "${with_constraints+set}" = set; then
5216 withval
="$with_constraints"
5217 if test "x$with_constraints" = xyes
; then
5218 ac_cv_use_constraints
='USE_CONSTRAINTS="1"'
5220 ac_cv_use_constraints
='USE_CONSTRAINTS="0"'
5224 LINE
=`grep "USE_CONSTRAINTS" ${OSTYPE}.system.cache`
5225 if test "x$LINE" != x
; then
5226 eval "DEFAULT_$LINE"
5228 ac_cv_use_constraints
='USE_CONSTRAINTS='$DEFAULT_USE_CONSTRAINTS
5232 eval "$ac_cv_use_constraints"
5233 echo $ac_cv_use_constraints >> ${OSTYPE}.system.cache.tmp
5234 if test "$USE_CONSTRAINTS" = 1; then
5235 echo "$ac_t""yes" 1>&6
5237 echo "$ac_t""no" 1>&6
5242 echo $ac_n "checking "for toolbar
"""... $ac_c" 1>&6
5243 echo "configure:5244: checking "for toolbar
"" >&5
5244 # Check whether --with-toolbar or --without-toolbar was given.
5245 if test "${with_toolbar+set}" = set; then
5246 withval
="$with_toolbar"
5247 if test "x$with_toolbar" = xyes
; then
5248 ac_cv_use_toolbar
='USE_TOOLBAR="1"'
5250 ac_cv_use_toolbar
='USE_TOOLBAR="0"'
5254 LINE
=`grep "USE_TOOLBAR" ${OSTYPE}.system.cache`
5255 if test "x$LINE" != x
; then
5256 eval "DEFAULT_$LINE"
5258 ac_cv_use_toolbar
='USE_TOOLBAR='$DEFAULT_USE_TOOLBAR
5262 eval "$ac_cv_use_toolbar"
5263 echo $ac_cv_use_toolbar >> ${OSTYPE}.system.cache.tmp
5264 if test "$USE_TOOLBAR" = 1; then
5265 echo "$ac_t""yes" 1>&6
5267 echo "$ac_t""no" 1>&6
5272 echo $ac_n "checking "for gauge
"""... $ac_c" 1>&6
5273 echo "configure:5274: checking "for gauge
"" >&5
5274 # Check whether --with-gauge or --without-gauge was given.
5275 if test "${with_gauge+set}" = set; then
5276 withval
="$with_gauge"
5277 if test "x$with_gauge" = xyes
; then
5278 ac_cv_use_gauge
='USE_GAUGE="1"'
5280 ac_cv_use_gauge
='USE_GAUGE="0"'
5284 LINE
=`grep "USE_GAUGE" ${OSTYPE}.system.cache`
5285 if test "x$LINE" != x
; then
5286 eval "DEFAULT_$LINE"
5288 ac_cv_use_gauge
='USE_GAUGE='$DEFAULT_USE_GAUGE
5292 eval "$ac_cv_use_gauge"
5293 echo $ac_cv_use_gauge >> ${OSTYPE}.system.cache.tmp
5294 if test "$USE_GAUGE" = 1; then
5295 echo "$ac_t""yes" 1>&6
5297 echo "$ac_t""no" 1>&6
5302 echo $ac_n "checking "for vllist
"""... $ac_c" 1>&6
5303 echo "configure:5304: checking "for vllist
"" >&5
5304 # Check whether --with-vllist or --without-vllist was given.
5305 if test "${with_vllist+set}" = set; then
5306 withval
="$with_vllist"
5307 if test "x$with_vllist" = xyes
; then
5308 ac_cv_use_vllist
='USE_VLBOX="1"'
5310 ac_cv_use_vllist
='USE_VLBOX="0"'
5314 LINE
=`grep "USE_VLBOX" ${OSTYPE}.system.cache`
5315 if test "x$LINE" != x
; then
5316 eval "DEFAULT_$LINE"
5318 ac_cv_use_vllist
='USE_VLBOX='$DEFAULT_USE_VLBOX
5322 eval "$ac_cv_use_vllist"
5323 echo $ac_cv_use_vllist >> ${OSTYPE}.system.cache.tmp
5324 if test "$USE_VLBOX" = 1; then
5325 echo "$ac_t""yes" 1>&6
5327 echo "$ac_t""no" 1>&6
5332 echo $ac_n "checking "for scrollbar
"""... $ac_c" 1>&6
5333 echo "configure:5334: checking "for scrollbar
"" >&5
5334 # Check whether --with-scrollbar or --without-scrollbar was given.
5335 if test "${with_scrollbar+set}" = set; then
5336 withval
="$with_scrollbar"
5337 if test "x$with_scrollbar" = xyes
; then
5338 ac_cv_use_scrollbar
='USE_SCROLLBAR="1"'
5340 ac_cv_use_scrollbar
='USE_SCROLLBAR="0"'
5344 LINE
=`grep "USE_SCROLLBAR" ${OSTYPE}.system.cache`
5345 if test "x$LINE" != x
; then
5346 eval "DEFAULT_$LINE"
5348 ac_cv_use_scrollbar
='USE_SCROLLBAR='$DEFAULT_USE_SCROLLBAR
5352 eval "$ac_cv_use_scrollbar"
5353 echo $ac_cv_use_scrollbar >> ${OSTYPE}.system.cache.tmp
5354 if test "$USE_SCROLLBAR" = 1; then
5355 echo "$ac_t""yes" 1>&6
5357 echo "$ac_t""no" 1>&6
5362 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
5363 echo "configure:5364: checking "for docview
"" >&5
5364 # Check whether --with-docview or --without-docview was given.
5365 if test "${with_docview+set}" = set; then
5366 withval
="$with_docview"
5367 if test "x$with_docview" = xyes
; then
5368 ac_cv_use_docview
='USE_DOC_VIEW_ARCHITECTURE="1"'
5370 ac_cv_use_docview
='USE_DOC_VIEW_ARCHITECTURE="0"'
5374 LINE
=`grep "USE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
5375 if test "x$LINE" != x
; then
5376 eval "DEFAULT_$LINE"
5378 ac_cv_use_docview
='USE_DOC_VIEW_ARCHITECTURE='$DEFAULT_USE_DOC_VIEW_ARCHITECTURE
5382 eval "$ac_cv_use_docview"
5383 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
5384 if test "$USE_DOC_VIEW_ARCHITECTURE" = 1; then
5385 echo "$ac_t""yes" 1>&6
5387 echo "$ac_t""no" 1>&6
5392 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
5393 echo "configure:5394: checking "for printarch
"" >&5
5394 # Check whether --with-printarch or --without-printarch was given.
5395 if test "${with_printarch+set}" = set; then
5396 withval
="$with_printarch"
5397 if test "x$with_printarch" = xyes
; then
5398 ac_cv_use_printarch
='USE_PRINTING_ARCHITECTURE="1"'
5400 ac_cv_use_printarch
='USE_PRINTING_ARCHITECTURE="0"'
5404 LINE
=`grep "USE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
5405 if test "x$LINE" != x
; then
5406 eval "DEFAULT_$LINE"
5408 ac_cv_use_printarch
='USE_PRINTING_ARCHITECTURE='$DEFAULT_USE_PRINTING_ARCHITECTURE
5412 eval "$ac_cv_use_printarch"
5413 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
5414 if test "$USE_PRINTING_ARCHITECTURE" = 1; then
5415 echo "$ac_t""yes" 1>&6
5417 echo "$ac_t""no" 1>&6
5422 echo $ac_n "checking "for typetree
"""... $ac_c" 1>&6
5423 echo "configure:5424: checking "for typetree
"" >&5
5424 # Check whether --with-typetree or --without-typetree was given.
5425 if test "${with_typetree+set}" = set; then
5426 withval
="$with_typetree"
5427 if test "x$with_typetree" = xyes
; then
5428 ac_cv_use_typetree
='USE_TYPETREE="1"'
5430 ac_cv_use_typetree
='USE_TYPETREE="0"'
5434 LINE
=`grep "USE_TYPETREE" ${OSTYPE}.system.cache`
5435 if test "x$LINE" != x
; then
5436 eval "DEFAULT_$LINE"
5438 ac_cv_use_typetree
='USE_TYPETREE='$DEFAULT_USE_TYPETREE
5442 eval "$ac_cv_use_typetree"
5443 echo $ac_cv_use_typetree >> ${OSTYPE}.system.cache.tmp
5444 if test "$USE_TYPETREE" = 1; then
5445 echo "$ac_t""yes" 1>&6
5447 echo "$ac_t""no" 1>&6
5452 echo $ac_n "checking "for wxgraph
"""... $ac_c" 1>&6
5453 echo "configure:5454: checking "for wxgraph
"" >&5
5454 # Check whether --with-wxgraph or --without-wxgraph was given.
5455 if test "${with_wxgraph+set}" = set; then
5456 withval
="$with_wxgraph"
5457 if test "x$with_wxgraph" = xyes
; then
5458 ac_cv_use_wxgraph
='USE_WXGRAPH="1"'
5460 ac_cv_use_wxgraph
='USE_WXGRAPH="0"'
5464 LINE
=`grep "USE_WXGRAPH" ${OSTYPE}.system.cache`
5465 if test "x$LINE" != x
; then
5466 eval "DEFAULT_$LINE"
5468 ac_cv_use_wxgraph
='USE_WXGRAPH='$DEFAULT_USE_WXGRAPH
5472 eval "$ac_cv_use_wxgraph"
5473 echo $ac_cv_use_wxgraph >> ${OSTYPE}.system.cache.tmp
5474 if test "$USE_WXGRAPH" = 1; then
5475 echo "$ac_t""yes" 1>&6
5477 echo "$ac_t""no" 1>&6
5482 echo $ac_n "checking "for wxtree
"""... $ac_c" 1>&6
5483 echo "configure:5484: checking "for wxtree
"" >&5
5484 # Check whether --with-wxtree or --without-wxtree was given.
5485 if test "${with_wxtree+set}" = set; then
5486 withval
="$with_wxtree"
5487 if test "x$with_wxtree" = xyes
; then
5488 ac_cv_use_wxtree
='USE_WXTREE="1"'
5490 ac_cv_use_wxtree
='USE_WXTREE="0"'
5494 LINE
=`grep "USE_WXTREE" ${OSTYPE}.system.cache`
5495 if test "x$LINE" != x
; then
5496 eval "DEFAULT_$LINE"
5498 ac_cv_use_wxtree
='USE_WXTREE='$DEFAULT_USE_WXTREE
5502 eval "$ac_cv_use_wxtree"
5503 echo $ac_cv_use_wxtree >> ${OSTYPE}.system.cache.tmp
5504 if test "$USE_WXTREE" = 1; then
5505 echo "$ac_t""yes" 1>&6
5507 echo "$ac_t""no" 1>&6
5514 if test "$USE_ZLIB" = 1 ; then
5519 if test "$USE_GDK_IMLIB" = 1 ; then
5520 GDK_IMLIB
="GDK_IMLIB"
5524 if test "$USE_LIBPNG" = 1 ; then
5530 if test "$USE_STORABLE_CLASSES" = 1 ; then
5532 cat >> confdefs.h
<<EOF
5533 #define USE_STORABLE_CLASSES $USE_STORABLE_CLASSES
5539 if test "$USE_AUTOTRANS" = 1 ; then
5540 AUTOTRANS
="AUTOTRANS"
5541 cat >> confdefs.h
<<EOF
5542 #define USE_AUTOTRANS $USE_AUTOTRANS
5548 if test "$USE_DEBUG_INFO" = 1 ; then
5553 if test "$USE_DEBUG_FLAG" = 1 ; then
5554 cat >> confdefs.h
<<EOF
5555 #define DEBUG $USE_DEBUG_FLAG
5560 if test "$USE_MEM_TRACING" = 1 ; then
5561 cat >> confdefs.h
<<EOF
5562 #define USE_MEMORY_TRACING $USE_MEM_TRACING
5565 cat >> confdefs.h
<<EOF
5566 #define USE_GLOBAL_MEMORY_OPERATORS $USE_MEM_TRACING
5572 if test "$USE_PROFILE" = 1 ; then
5577 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
5578 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
5579 if test "$USE_OPTIMISE" = 0 ; then
5582 if test "$GCC" = yes ; then
5584 case "${canonical}" in
5586 OPTIMISE
="${OPTIMISE} "
5595 USE_IOSTREAMH
=$DEFAULT_USE_IOSTREAMH
5596 cat >> confdefs.h
<<EOF
5597 #define USE_IOSTREAMH $USE_IOSTREAMH
5602 if test "$USE_RPC" = 1 ; then
5604 cat >> confdefs.h
<<EOF
5605 #define USE_RPC $USE_RPC
5612 if test "$USE_WX_RESOURCES" = 1 ; then
5613 WXRESOURCES
="WXRESOURCES"
5614 cat >> confdefs.h
<<EOF
5615 #define USE_WX_RESOURCES $USE_WX_RESOURCES
5623 if test "$USE_PROLOGIO" = 1 ; then
5625 PROLOGIOSRC
="PROLOGIOSRC"
5626 cat >> confdefs.h
<<EOF
5627 #define USE_PROLOGIO 1
5635 if test "$USE_POSTSCRIPT" = 1 ; then
5636 POSTSCRIPTDC
="POSTSCRIPTDC"
5637 cat >> confdefs.h
<<EOF
5638 #define USE_POSTSCRIPT 1
5644 if test "$USE_WXCONFIG" = 1 ; then
5645 cat >> confdefs.h
<<EOF
5646 #define USE_WXCONFIG $USE_WXCONFIG
5652 if test "$USE_METAFILE" = 1 ; then
5654 cat >> confdefs.h
<<EOF
5655 #define USE_METAFILE $USE_METAFILE
5662 if test "$USE_FORM" = 1 ; then
5664 cat >> confdefs.h
<<EOF
5665 #define USE_FORM $USE_FORM
5672 if test "$USE_HELP" = 1 ; then
5674 cat >> confdefs.h
<<EOF
5675 #define USE_HELP $USE_HELP
5682 if test "$USE_IPC" = 1 ; then
5684 cat >> confdefs.h
<<EOF
5692 if test "$USE_ENHANCED_DIALOG" = 1 ; then
5693 ENHDIALOGBOX
="ENHDIALOGBOX"
5694 cat >> confdefs.h
<<EOF
5695 #define USE_ENHANCED_DIALOG $USE_ENHANCED_DIALOG
5702 if test "$USE_RESOURCES" = 1 ; then
5703 XRESOURCES
="XRESOURCES"
5704 cat >> confdefs.h
<<EOF
5705 #define USE_RESOURCES $USE_RESOURCES
5712 if test "$USE_CLIPBOARD" = 1 ; then
5713 CLIPBOARD
="CLIPBOARD"
5714 cat >> confdefs.h
<<EOF
5715 #define USE_CLIPBOARD $USE_CLIPBOARD
5722 if test "$USE_CONSTRAINTS" = 1 ; then
5723 CONSTRAINTS
="CONSTRAINTS"
5724 cat >> confdefs.h
<<EOF
5725 #define USE_CONSTRAINTS $USE_CONSTRAINTS
5732 if test "$USE_TIMEDATE" = 1 ; then
5734 cat >> confdefs.h
<<EOF
5735 #define USE_TIMEDATE $USE_TIMEDATE
5742 if test "$USE_FRACTION" = 1 ; then
5744 cat >> confdefs.h
<<EOF
5745 #define USE_FRACTION $USE_FRACTION
5752 if test "$USE_TOOLBAR" = 1 ; then
5754 cat >> confdefs.h
<<EOF
5755 #define USE_TOOLBAR $USE_TOOLBAR
5758 cat >> confdefs.h
<<EOF
5759 #define USE_XT_TOOLBAR $USE_XT_TOOLBAR
5766 if test "$USE_GAUGE" = 1 ; then
5769 cat >> confdefs.h
<<EOF
5770 #define USE_GAUGE $USE_GAUGE
5776 if test "$USE_VLBOX" = 1 ; then
5777 VIRTLISTBOX
="VIRLISTBOX"
5778 cat >> confdefs.h
<<EOF
5779 #define USE_VIRLISTBOX $USE_VIRLISTBOX
5786 if test "$USE_SCROLLBAR" = 1 ; then
5787 SCROLLBAR
="SCROLLBAR"
5788 cat >> confdefs.h
<<EOF
5789 #define USE_SCROLLBAR $USE_SCROLLBAR
5796 if test "$USE_DOC_VIEW_ARCHITECTURE" = 1 ; then
5798 cat >> confdefs.h
<<EOF
5799 #define USE_DOC_VIEW_ARCHITECTURE $USE_DOC_VIEW_ARCHITECTURE
5806 if test "$USE_PRINTING_ARCHITECTURE" = 1 ; then
5807 PRINTPREVIEW
="PRINTPREVIEW"
5808 cat >> confdefs.h
<<EOF
5809 #define USE_PRINTING_ARCHITECTURE $USE_PRINTING_ARCHITECTURE
5816 if test "$USE_TYPETREE" = 1 ; then
5818 cat >> confdefs.h
<<EOF
5819 #define USE_TYPETREE $USE_TYPETREE
5826 if test "$USE_WXGRAPH" = 1 ; then
5828 cat >> confdefs.h
<<EOF
5829 #define USE_WXGRAPH $USE_WXGRAPH
5836 if test "$USE_WXTREE" = 1 ; then
5838 cat >> confdefs.h
<<EOF
5839 #define USE_WXTREE $USE_WXTREE
5846 if test "$USE_OPENGL" = 1 ; then
5850 cat >> confdefs.h
<<EOF
5851 #define USE_AFM_FOR_POSTSCRIPT $USE_AFM_FOR_POSTSCRIPT
5855 cat >> confdefs.h
<<EOF
5856 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
5861 if test "$USE_UNIX" = 1 ; then
5862 cat >> confdefs.h
<<\EOF
5873 if test "$USE_GTK" = 1; then
5874 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
5875 if test "${with_gtk_prefix+set}" = set; then
5876 withval
="$with_gtk_prefix"
5877 gtk_config_prefix
="$withval"
5879 gtk_config_prefix
=""
5882 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
5883 if test "${with_gtk_exec_prefix+set}" = set; then
5884 withval
="$with_gtk_exec_prefix"
5885 gtk_config_exec_prefix
="$withval"
5887 gtk_config_exec_prefix
=""
5891 if test x
$gtk_config_exec_prefix != x
; then
5892 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
5893 if test x
${GTK_CONFIG+set} != xset
; then
5894 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
5897 if test x
$gtk_config_prefix != x
; then
5898 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
5899 if test x
${GTK_CONFIG+set} != xset
; then
5900 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
5904 # Extract the first word of "gtk-config", so it can be a program name with args.
5905 set dummy gtk
-config; ac_word
=$2
5906 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
5907 echo "configure:5908: checking for $ac_word" >&5
5908 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
5909 echo $ac_n "(cached) $ac_c" 1>&6
5911 case "$GTK_CONFIG" in
5913 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
5916 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
5917 for ac_dir
in $PATH; do
5918 test -z "$ac_dir" && ac_dir
=.
5919 if test -f $ac_dir/$ac_word; then
5920 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
5925 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
5929 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
5930 if test -n "$GTK_CONFIG"; then
5931 echo "$ac_t""$GTK_CONFIG" 1>&6
5933 echo "$ac_t""no" 1>&6
5936 min_gtk_version
=0.99.7
5937 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
5938 echo "configure:5939: checking for GTK - version >= $min_gtk_version" >&5
5940 if test "$GTK_CONFIG" != "no" ; then
5941 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
5942 GTK_LIBS
=`$GTK_CONFIG --libs`
5943 ac_save_CFLAGS
="$CFLAGS"
5944 ac_save_LIBS
="$LIBS"
5945 CFLAGS
="$CFLAGS $GTK_CFLAGS"
5946 LIBS
="$LIBS $GTK_LIBS"
5947 if test "$cross_compiling" = yes; then
5948 echo $ac_n "cross compiling; assumed OK... $ac_c"
5950 cat > conftest.
$ac_ext <<EOF
5951 #line 5952 "configure"
5952 #include "confdefs.h"
5954 #include <gtk/gtk.h>
5960 int major, minor, micro;
5962 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
5963 printf("%s, bad version string\n", "$min_gtk_version");
5967 return !((gtk_major_version > major) ||
5968 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
5969 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
5973 if { (eval echo configure
:5974: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
5977 echo "configure: failed program was:" >&5
5978 cat conftest.
$ac_ext >&5
5985 CFLAGS
="$ac_save_CFLAGS"
5986 LIBS
="$ac_save_LIBS"
5990 if test "x$no_gtk" = x
; then
5991 echo "$ac_t""yes" 1>&6
5993 GUI_TK_INCLUDE
="$GTK_CFLAGS"
5994 GUI_TK_LIBRARY
="$GTK_LIBS"
5997 echo "$ac_t""no" 1>&6
6000 { echo "configure: error: Are gtk-config and the GTK in path and up-to-date?" 1>&2; exit 1; }
6005 cat >> confdefs.h
<<\EOF
6022 if test "$USE_OPENGL" = 1; then
6023 echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
6024 echo "configure:6025: checking for OpenGL includes" >&5
6027 for ac_dir
in $SEARCH_INCLUDE;
6029 if test -f "$ac_dir/GL/gl.h"; then
6030 ac_find_includes
=$ac_dir
6035 if test "$ac_find_includes" != "" ; then
6036 OPENGL_INCLUDE
="-I$ac_find_includes"
6037 echo "$ac_t""found $ac_find_includes" 1>&6
6038 echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
6039 echo "configure:6040: checking for OpenGL library" >&5
6042 for ac_dir
in $SEARCH_LIB;
6044 for ac_extension
in a so sl
; do
6045 if test -f "$ac_dir/libGL.$ac_extension"; then
6046 ac_find_libraries
=$ac_dir
6052 if test "$ac_find_libraries" != "" ; then
6054 ac_path_to_include
=$ac_find_includes
6055 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6057 if test $result = 0; then
6058 ac_path_to_include
=""
6060 ac_path_to_include
="-I$ac_find_includes"
6064 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6066 if test $result = 0; then
6069 ac_path_to_link
="-L$ac_find_libraries"
6072 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6073 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6074 OPENGL_LIBRARY
="$ac_path_to_link"
6075 OPENGL_INCLUDE
="$ac_path_to_include"
6077 echo "$ac_t""found OpenGL at $ac_find_libraries" 1>&6
6081 for ac_dir
in $SEARCH_LIB;
6083 for ac_extension
in a so sl
; do
6084 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6085 ac_find_libraries
=$ac_dir
6091 if test "$ac_find_libraries" != "" ; then
6093 ac_path_to_include
=$ac_find_includes
6094 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6096 if test $result = 0; then
6097 ac_path_to_include
=""
6099 ac_path_to_include
="-I$ac_find_includes"
6103 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6105 if test $result = 0; then
6108 ac_path_to_link
="-L$ac_find_libraries"
6111 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6112 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6113 OPENGL_LIBRARY
="$ac_path_to_link"
6114 OPENGL_INCLUDE
="$ac_path_to_include"
6115 OPENGL_LINK
="-lMesaGL"
6116 echo "$ac_t""found MESA at $ac_find_libraries" 1>&6
6118 { echo "configure: error: no" 1>&2; exit 1; }
6122 { echo "configure: error: no" 1>&2; exit 1; }
6126 if test "$USE_GDK_IMLIB" = 1; then
6127 cat >> confdefs.h
<<EOF
6128 #define USE_GDK_IMLIB $USE_GDK_IMLIB
6133 if test "$USE_ZLIB" = 1; then
6134 cat >> confdefs.h
<<EOF
6135 #define USE_ZLIB $USE_ZLIB
6140 if test "$USE_LIBPNG" = 1; then
6141 cat >> confdefs.h
<<EOF
6142 #define USE_LIBPNG $USE_LIBPNG
6151 if test "$USE_OPENGL" != 1; then
6158 cat >> confdefs.h
<<EOF
6159 #define USE_GLX $USE_GLX
6170 case "${canonical}" in
6173 if test "${CC}" != "gcc" ; then
6174 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
6175 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
6181 CREATE_SHARED
=sharedHpux
6186 CREATE_SHARED
=sharedLinux
6189 *-*-irix5* | *-*-irix6* )
6190 # PICFLAGS can remain empty, as pic is the default
6192 CREATE_SHARED
=sharedIrix
6193 cat >> confdefs.h
<<\EOF
6200 if test "${CC}" != "gcc" ; then
6205 CREATE_SHARED
=sharedSolaris2
6206 cat >> confdefs.h
<<\EOF
6213 if test "${CC}" != "gcc" ; then
6219 CREATE_SHARED
=sharedSunos4
6220 cat >> confdefs.h
<<\EOF
6226 *-*-freebsd* | *-*-netbsd*)
6228 CREATE_SHARED
=sharedBsd
6229 cat >> confdefs.h
<<\EOF
6237 CREATE_SHARED
=sharedOSF
6241 if test "${CC}" != "gcc" ; then
6246 CREATE_SHARED
=sharedDgux
6247 cat >> confdefs.h
<<\EOF
6254 if test "${CC}" != "gcc" ; then
6259 CREATE_SHARED
=sharedSysV
6260 cat >> confdefs.h
<<\EOF
6267 if test "${CC}" != "gcc" ; then
6272 CREATE_SHARED
=sharedAIX
6273 cat >> confdefs.h
<<\EOF
6284 if test "x$GCC" = xyes
; then
6285 CFLAGS
="${CFLAGS} -Wall"
6288 if test "x$GXX" = xyes
; then
6289 CXXFLAGS
="${CXXFLAGS} -Wall"
6292 if test "$USE_SHARED" != 1; then
6302 echo $OS >> system.list
6303 echo $OS >> ..
/..
/system.list
6307 cat > confcache
<<\EOF
6308 # This file is a shell script that caches the results of configure
6309 # tests run on this system so they can be shared between configure
6310 # scripts and configure runs. It is not useful on other systems.
6311 # If it contains results you don't want to keep, you may remove or edit it.
6313 # By default, configure uses ./config.cache as the cache file,
6314 # creating it if it does not exist already. You can give configure
6315 # the --cache-file=FILE option to use a different cache file; that is
6316 # what configure does when it calls configure scripts in
6317 # subdirectories, so they share the cache.
6318 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6319 # config.status only pays attention to the cache file if you give it the
6320 # --recheck option to rerun configure.
6323 # The following way of writing the cache mishandles newlines in values,
6324 # but we know of no workaround that is simple, portable, and efficient.
6325 # So, don't put newlines in cache variables' values.
6326 # Ultrix sh set writes to stderr and can't be redirected directly,
6327 # and sets the high bit in the cache file unless we assign to the vars.
6329 case `(ac_space=' '; set) 2>&1` in
6331 # `set' does not quote correctly, so add quotes (double-quote substitution
6332 # turns \\\\ into \\, and sed turns \\ into \).
6334 -e "s/'/'\\\\''/g" \
6335 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6338 # `set' quotes correctly as required by POSIX, so do not add quotes.
6339 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6342 if cmp -s $cache_file confcache
; then
6345 if test -w $cache_file; then
6346 echo "updating cache $cache_file"
6347 cat confcache
> $cache_file
6349 echo "not updating unwritable cache $cache_file"
6354 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
6356 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6357 # Let make expand exec_prefix.
6358 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6360 # Any assignment to VPATH causes Sun make to only execute
6361 # the first set of double-colon rules, so remove it if not needed.
6362 # If there is a colon in the path, we need to keep it.
6363 if test "x$srcdir" = x.
; then
6364 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
6367 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
6369 DEFS
=-DHAVE_CONFIG_H
6371 # Without the "./", some shells look in PATH for config.status.
6372 : ${CONFIG_STATUS=./config.status}
6374 echo creating
$CONFIG_STATUS
6375 rm -f $CONFIG_STATUS
6376 cat > $CONFIG_STATUS <<EOF
6378 # Generated automatically by configure.
6379 # Run this file to recreate the current configuration.
6380 # This directory was configured as follows,
6381 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6383 # $0 $ac_configure_args
6385 # Compiler output produced by configure, useful for debugging
6386 # configure, is in ./config.log if it exists.
6388 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
6391 case "\$ac_option" in
6392 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6393 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
6394 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
6395 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
6396 echo "$CONFIG_STATUS generated by autoconf version 2.12"
6398 -help | --help | --hel | --he | --h)
6399 echo "\$ac_cs_usage"; exit 0 ;;
6400 *) echo "\$ac_cs_usage"; exit 1 ;;
6404 ac_given_srcdir=$srcdir
6405 ac_given_INSTALL="$INSTALL"
6407 trap 'rm -fr `echo "../../src/gtk/setup/substit ../../include/wx/gtk/setup.h:../../src/gtk/setup/setup.hin" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
6409 cat >> $CONFIG_STATUS <<EOF
6411 # Protect against being on the right side of a sed subst in config.status.
6412 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
6413 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
6416 s%@CFLAGS@%$CFLAGS%g
6417 s%@CPPFLAGS@%$CPPFLAGS%g
6418 s%@CXXFLAGS@%$CXXFLAGS%g
6420 s%@LDFLAGS@%$LDFLAGS%g
6422 s%@exec_prefix@%$exec_prefix%g
6423 s%@prefix@%$prefix%g
6424 s%@program_transform_name@%$program_transform_name%g
6425 s%@bindir@%$bindir%g
6426 s%@sbindir@%$sbindir%g
6427 s%@libexecdir@%$libexecdir%g
6428 s%@datadir@%$datadir%g
6429 s%@sysconfdir@%$sysconfdir%g
6430 s%@sharedstatedir@%$sharedstatedir%g
6431 s%@localstatedir@%$localstatedir%g
6432 s%@libdir@%$libdir%g
6433 s%@includedir@%$includedir%g
6434 s%@oldincludedir@%$oldincludedir%g
6435 s%@infodir@%$infodir%g
6436 s%@mandir@%$mandir%g
6437 s%@WXBASEDIR@%$WXBASEDIR%g
6441 s%@CXXCPP@%$CXXCPP%g
6442 s%@RANLIB@%$RANLIB%g
6444 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
6445 s%@INSTALL_DATA@%$INSTALL_DATA%g
6448 s%@X_CFLAGS@%$X_CFLAGS%g
6449 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
6450 s%@X_LIBS@%$X_LIBS%g
6451 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
6452 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
6453 s%@LIBOBJS@%$LIBOBJS%g
6454 s%@UNIX_THREAD@%$UNIX_THREAD%g
6455 s%@THREADS_LINK@%$THREADS_LINK%g
6458 s%@LEXLIB@%$LEXLIB%g
6459 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
6461 s%@host_alias@%$host_alias%g
6462 s%@host_cpu@%$host_cpu%g
6463 s%@host_vendor@%$host_vendor%g
6464 s%@host_os@%$host_os%g
6466 s%@PROFILE@%$PROFILE%g
6467 s%@OPTIMISE@%$OPTIMISE%g
6469 s%@WXRESOURCES@%$WXRESOURCES%g
6470 s%@PROLOGIO@%$PROLOGIO%g
6471 s%@PROLOGIOSRC@%$PROLOGIOSRC%g
6472 s%@POSTSCRIPTDC@%$POSTSCRIPTDC%g
6473 s%@METAFILE@%$METAFILE%g
6477 s%@ENHDIALOGBOX@%$ENHDIALOGBOX%g
6478 s%@XRESOURCES@%$XRESOURCES%g
6479 s%@CLIPBOARD@%$CLIPBOARD%g
6480 s%@CONSTRAINTS@%$CONSTRAINTS%g
6481 s%@TIMEDATE@%$TIMEDATE%g
6482 s%@FRACTION@%$FRACTION%g
6483 s%@TOOLBAR@%$TOOLBAR%g
6485 s%@VIRLISTBOX@%$VIRLISTBOX%g
6486 s%@SCROLLBAR@%$SCROLLBAR%g
6487 s%@DOCVIEW@%$DOCVIEW%g
6488 s%@PRINTPREVIEW@%$PRINTPREVIEW%g
6489 s%@TYPETREE@%$TYPETREE%g
6490 s%@WXGRAPH@%$WXGRAPH%g
6491 s%@WXTREE@%$WXTREE%g
6492 s%@GTK_CONFIG@%$GTK_CONFIG%g
6493 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
6494 s%@GTK_LIBS@%$GTK_LIBS%g
6495 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
6496 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
6497 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
6498 s%@TOOLKIT@%$TOOLKIT%g
6499 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
6500 s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g
6501 s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g
6502 s%@OPENGL_LINK@%$OPENGL_LINK%g
6503 s%@GLCANVAS@%$GLCANVAS%g
6505 s%@PICFLAGS@%$PICFLAGS%g
6506 s%@CREATE_SHARED@%$CREATE_SHARED%g
6511 cat >> $CONFIG_STATUS <<\EOF
6513 # Split the substitutions into bite-sized pieces for seds with
6514 # small command number limits, like on Digital OSF/1 and HP-UX.
6515 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
6516 ac_file
=1 # Number of current file.
6517 ac_beg
=1 # First line for current file.
6518 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
6521 while $ac_more_lines; do
6522 if test $ac_beg -gt 1; then
6523 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
6525 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
6527 if test ! -s conftest.s
$ac_file; then
6529 rm -f conftest.s
$ac_file
6531 if test -z "$ac_sed_cmds"; then
6532 ac_sed_cmds
="sed -f conftest.s$ac_file"
6534 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
6536 ac_file
=`expr $ac_file + 1`
6538 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
6541 if test -z "$ac_sed_cmds"; then
6546 cat >> $CONFIG_STATUS <<EOF
6548 CONFIG_FILES=\${CONFIG_FILES-"../../src/gtk/setup/substit"}
6550 cat >> $CONFIG_STATUS <<\EOF
6551 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
6552 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6554 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
6555 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
6556 *) ac_file_in
="${ac_file}.in" ;;
6559 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
6561 # Remove last slash and all that follows it. Not all systems have dirname.
6562 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
6563 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
6564 # The file is in a subdirectory.
6565 test ! -d "$ac_dir" && mkdir "$ac_dir"
6566 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
6567 # A "../" for each directory in $ac_dir_suffix.
6568 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
6570 ac_dir_suffix
= ac_dots
=
6573 case "$ac_given_srcdir" in
6575 if test -z "$ac_dots"; then top_srcdir
=.
6576 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
6577 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
6579 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
6580 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
6583 case "$ac_given_INSTALL" in
6584 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
6585 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
6588 echo creating
"$ac_file"
6590 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
6592 *Makefile
*) ac_comsub
="1i\\
6593 # $configure_input" ;;
6597 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
6599 s%@configure_input@%$configure_input%g
6600 s%@srcdir@%$srcdir%g
6601 s%@top_srcdir@%$top_srcdir%g
6602 s%@INSTALL@%$INSTALL%g
6603 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
6607 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6608 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6610 # ac_d sets the value in "#define NAME VALUE" lines.
6611 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6612 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
6615 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
6616 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6617 ac_uB
='\([ ]\)%\1#\2define\3'
6620 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6621 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6622 ac_eB
='$%\1#\2define\3'
6626 if test "${CONFIG_HEADERS+set}" != set; then
6628 cat >> $CONFIG_STATUS <<EOF
6629 CONFIG_HEADERS="../../include/wx/gtk/setup.h:../../src/gtk/setup/setup.hin"
6631 cat >> $CONFIG_STATUS <<\EOF
6633 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
6634 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6636 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
6637 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
6638 *) ac_file_in
="${ac_file}.in" ;;
6641 echo creating
$ac_file
6643 rm -f conftest.frag conftest.
in conftest.out
6644 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
6645 cat $ac_file_inputs > conftest.
in
6649 # Transform confdefs.h into a sed script conftest.vals that substitutes
6650 # the proper values into config.h.in to produce config.h. And first:
6651 # Protect against being on the right side of a sed subst in config.status.
6652 # Protect against being in an unquoted here document in config.status.
6654 cat > conftest.hdr
<<\EOF
6657 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
6661 sed -n -f conftest.hdr confdefs.h > conftest.vals
6664 # This sed command replaces #undef with comments. This is necessary, for
6665 # example, in the case of _POSIX_SOURCE, which is predefined and required
6666 # on some systems where configure will not decide to define it.
6667 cat >> conftest.vals <<\EOF
6668 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
6671 # Break up conftest.vals because some shells have a limit on
6672 # the size of here documents, and old seds have small limits too.
6677 ac_lines=`grep -c . conftest.vals
`
6678 # grep -c gives empty output for an empty file on some AIX systems.
6679 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
6680 # Write a limited-size here document to conftest.frag.
6681 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
6682 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
6684 sed -f conftest.frag conftest.in > conftest.out
6686 mv conftest.out conftest.in
6688 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
6690 mv conftest.tail conftest.vals
6694 cat >> $CONFIG_STATUS <<\EOF
6695 rm -f conftest.frag conftest.h
6696 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
6697 cat conftest.in >> conftest.h
6699 if cmp -s $ac_file conftest.h 2>/dev/null; then
6700 echo "$ac_file is unchanged"
6703 # Remove last slash and all that follows it. Not all systems have dirname.
6704 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
6705 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
6706 # The file is in a subdirectory.
6707 test ! -d "$ac_dir" && mkdir "$ac_dir"
6710 mv conftest.h $ac_file
6715 cat >> $CONFIG_STATUS <<EOF
6718 cat >> $CONFIG_STATUS <<\EOF
6722 chmod +x $CONFIG_STATUS
6723 rm -fr confdefs* $ac_clean_files
6724 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
6727 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache