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 --without-threads Force disabling threads "
19 **--with-shared create shared libraries"
21 **--with-optimise create optimised code"
23 **--with-debug_flag create code with WXDEBUG define set to 1"
25 **--with-debug_info create code with debuging information included"
27 **--with-mem_traing create code with memory tracing"
29 **--with-profile create code with profiling information included"
31 **--with-zlib use zlib (LZW comression)"
33 **--with-gdk_imlib use Raster's gdk_imlib (Image library)"
35 **--with-libpng use libpng (PNG image format)"
37 **--with-opengl use opengl (OpenGL or Mesa)"
39 **--with_apple_ieee use the Apple IEEE codec"
41 **--with-storable use storable classes"
43 **--with-autotrans use gettext automatic translation"
45 **--with-afmfonts use Adobe Font Metric Font table"
47 **--with-PS-normalized use normalized PS fonts"
51 **--with-wxresources use wxresources"
53 **--with-prologio use prologio"
55 **--with-postscript use postscript-device-context"
57 **--with-wxconfig use wxconfig"
59 **--with-metafile use metafile"
61 **--with-form use form"
63 **--with-help use help"
67 **--with-enhanceddialog use enhanced dialog"
69 **--with-resources use resources"
71 **--with-clipboard use clipboard"
73 **--with-timedate use timedate"
75 **--with-fraction use fraction"
77 **--with-constraints use constraints"
79 **--with-toolbar use toolbar"
81 **--with-gauge use gauge"
83 **--with-vlbox use virtual list box"
85 **--with-scrollbar use scrollbar"
87 **--with-docview use document view architecture"
89 **--with-printarch use printing architecture"
91 **--with-typetree use typetree"
93 **--with-wxgraph use wxgraph"
95 **--with-wxtree use wxtree"
97 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
99 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
101 # Initialize some variables set by options.
102 # The variables have the same names as the options, with
103 # dashes changed to underlines.
105 cache_file
=.
/config.cache
114 program_transform_name
=s
,x
,x
,
122 bindir
='${exec_prefix}/bin'
123 sbindir
='${exec_prefix}/sbin'
124 libexecdir
='${exec_prefix}/libexec'
125 datadir
='${prefix}/share'
126 sysconfdir
='${prefix}/etc'
127 sharedstatedir
='${prefix}/com'
128 localstatedir
='${prefix}/var'
129 libdir
='${exec_prefix}/lib'
130 includedir
='${prefix}/include'
131 oldincludedir
='/usr/include'
132 infodir
='${prefix}/info'
133 mandir
='${prefix}/man'
135 # Initialize some other variables.
138 # Maximum number of lines to put in a shell here document.
145 # If the previous option needs an argument, assign it.
146 if test -n "$ac_prev"; then
147 eval "$ac_prev=\$ac_option"
153 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
157 # Accept the important Cygnus configure options, so we can diagnose typos.
161 -bindir | --bindir | --bindi | --bind | --bin | --bi)
163 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
164 bindir
="$ac_optarg" ;;
166 -build | --build | --buil | --bui | --bu)
168 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
169 build
="$ac_optarg" ;;
171 -cache-file | --cache-file | --cache-fil | --cache-fi \
172 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
173 ac_prev
=cache_file
;;
174 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
175 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
176 cache_file
="$ac_optarg" ;;
178 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
180 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
182 datadir
="$ac_optarg" ;;
184 -disable-* | --disable-*)
185 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
186 # Reject names that are not valid shell variable names.
187 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
188 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
190 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
191 eval "enable_${ac_feature}=no" ;;
193 -enable-* | --enable-*)
194 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
195 # Reject names that are not valid shell variable names.
196 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
197 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
199 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
204 eval "enable_${ac_feature}='$ac_optarg'" ;;
206 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
207 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
208 | --exec | --exe | --ex)
209 ac_prev
=exec_prefix
;;
210 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
211 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
212 | --exec=* | --exe=* | --ex=*)
213 exec_prefix
="$ac_optarg" ;;
215 -gas | --gas | --ga | --g)
216 # Obsolete; use --with-gas.
219 -help | --help | --hel | --he)
220 # Omit some internal or obsolete options to make the list less imposing.
221 # This message is too long to be a string in the A/UX 3.1 sh.
223 Usage: configure [options] [host]
224 Options: [defaults in brackets after descriptions]
226 --cache-file=FILE cache test results in FILE
227 --help print this message
228 --no-create do not create output files
229 --quiet, --silent do not print \`checking...' messages
230 --version print the version of autoconf that created configure
231 Directory and file names:
232 --prefix=PREFIX install architecture-independent files in PREFIX
234 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
236 --bindir=DIR user executables in DIR [EPREFIX/bin]
237 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
238 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
239 --datadir=DIR read-only architecture-independent data in DIR
241 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
242 --sharedstatedir=DIR modifiable architecture-independent data in DIR
244 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
245 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
246 --includedir=DIR C header files in DIR [PREFIX/include]
247 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
248 --infodir=DIR info documentation in DIR [PREFIX/info]
249 --mandir=DIR man documentation in DIR [PREFIX/man]
250 --srcdir=DIR find the sources in DIR [configure dir or ..]
251 --program-prefix=PREFIX prepend PREFIX to installed program names
252 --program-suffix=SUFFIX append SUFFIX to installed program names
253 --program-transform-name=PROGRAM
254 run sed PROGRAM on installed program names
258 --build=BUILD configure for building on BUILD [BUILD=HOST]
259 --host=HOST configure for HOST [guessed]
260 --target=TARGET configure for TARGET [TARGET=HOST]
261 Features and packages:
262 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
263 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
264 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
265 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
266 --x-includes=DIR X include files are in DIR
267 --x-libraries=DIR X library files are in DIR
269 if test -n "$ac_help"; then
270 echo "--enable and --with options recognized:$ac_help"
274 -host | --host | --hos | --ho)
276 -host=* | --host=* | --hos=* | --ho=*)
279 -includedir | --includedir | --includedi | --included | --include \
280 | --includ | --inclu | --incl | --inc)
281 ac_prev
=includedir
;;
282 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
283 | --includ=* | --inclu=* | --incl=* | --inc=*)
284 includedir
="$ac_optarg" ;;
286 -infodir | --infodir | --infodi | --infod | --info | --inf)
288 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
289 infodir
="$ac_optarg" ;;
291 -libdir | --libdir | --libdi | --libd)
293 -libdir=* | --libdir=* | --libdi=* | --libd=*)
294 libdir
="$ac_optarg" ;;
296 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
297 | --libexe | --libex | --libe)
298 ac_prev
=libexecdir
;;
299 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
300 | --libexe=* | --libex=* | --libe=*)
301 libexecdir
="$ac_optarg" ;;
303 -localstatedir | --localstatedir | --localstatedi | --localstated \
304 | --localstate | --localstat | --localsta | --localst \
305 | --locals | --local | --loca | --loc | --lo)
306 ac_prev
=localstatedir
;;
307 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
308 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
309 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
310 localstatedir
="$ac_optarg" ;;
312 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
314 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
315 mandir
="$ac_optarg" ;;
318 # Obsolete; use --without-fp.
321 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
325 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
326 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
329 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
330 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
331 | --oldin | --oldi | --old | --ol | --o)
332 ac_prev
=oldincludedir
;;
333 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
334 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
335 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
336 oldincludedir
="$ac_optarg" ;;
338 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
340 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
341 prefix
="$ac_optarg" ;;
343 -program-prefix | --program-prefix | --program-prefi | --program-pref \
344 | --program-pre | --program-pr | --program-p)
345 ac_prev
=program_prefix
;;
346 -program-prefix=* | --program-prefix=* | --program-prefi=* \
347 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
348 program_prefix
="$ac_optarg" ;;
350 -program-suffix | --program-suffix | --program-suffi | --program-suff \
351 | --program-suf | --program-su | --program-s)
352 ac_prev
=program_suffix
;;
353 -program-suffix=* | --program-suffix=* | --program-suffi=* \
354 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
355 program_suffix
="$ac_optarg" ;;
357 -program-transform-name | --program-transform-name \
358 | --program-transform-nam | --program-transform-na \
359 | --program-transform-n | --program-transform- \
360 | --program-transform | --program-transfor \
361 | --program-transfo | --program-transf \
362 | --program-trans | --program-tran \
363 | --progr-tra | --program-tr | --program-t)
364 ac_prev
=program_transform_name
;;
365 -program-transform-name=* | --program-transform-name=* \
366 | --program-transform-nam=* | --program-transform-na=* \
367 | --program-transform-n=* | --program-transform-=* \
368 | --program-transform=* | --program-transfor=* \
369 | --program-transfo=* | --program-transf=* \
370 | --program-trans=* | --program-tran=* \
371 | --progr-tra=* | --program-tr=* | --program-t=*)
372 program_transform_name
="$ac_optarg" ;;
374 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
375 | -silent | --silent | --silen | --sile | --sil)
378 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
380 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
382 sbindir
="$ac_optarg" ;;
384 -sharedstatedir | --sharedstatedir | --sharedstatedi \
385 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
386 | --sharedst | --shareds | --shared | --share | --shar \
388 ac_prev
=sharedstatedir
;;
389 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
390 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
391 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
393 sharedstatedir
="$ac_optarg" ;;
395 -site | --site | --sit)
397 -site=* | --site=* | --sit=*)
400 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
402 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
403 srcdir
="$ac_optarg" ;;
405 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
406 | --syscon | --sysco | --sysc | --sys | --sy)
407 ac_prev
=sysconfdir
;;
408 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
409 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
410 sysconfdir
="$ac_optarg" ;;
412 -target | --target | --targe | --targ | --tar | --ta | --t)
414 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
415 target
="$ac_optarg" ;;
417 -v | -verbose | --verbose | --verbos | --verbo | --verb)
420 -version | --version | --versio | --versi | --vers)
421 echo "configure generated by autoconf version 2.12"
425 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
426 # Reject names that are not valid shell variable names.
427 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
428 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
430 ac_package
=`echo $ac_package| sed 's/-/_/g'`
435 eval "with_${ac_package}='$ac_optarg'" ;;
437 -without-* | --without-*)
438 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
439 # Reject names that are not valid shell variable names.
440 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
441 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
443 ac_package
=`echo $ac_package| sed 's/-/_/g'`
444 eval "with_${ac_package}=no" ;;
447 # Obsolete; use --with-x.
450 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
451 | --x-incl | --x-inc | --x-in | --x-i)
452 ac_prev
=x_includes
;;
453 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
454 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
455 x_includes
="$ac_optarg" ;;
457 -x-libraries | --x-libraries | --x-librarie | --x-librari \
458 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
459 ac_prev
=x_libraries
;;
460 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
461 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
462 x_libraries
="$ac_optarg" ;;
464 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
468 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
469 echo "configure: warning: $ac_option: invalid host type" 1>&2
471 if test "x$nonopt" != xNONE
; then
472 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
480 if test -n "$ac_prev"; then
481 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
484 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
486 # File descriptor usage:
489 # 2 errors and warnings
490 # 3 some systems may open it to /dev/tty
491 # 4 used on the Kubota Titan
492 # 6 checking for... messages and results
493 # 5 compiler messages saved in config.log
494 if test "$silent" = yes; then
502 This file contains any messages produced by compilers while
503 running configure, to aid debugging if configure makes a mistake.
506 # Strip out --no-create and --no-recursion so they do not pile up.
507 # Also quote any args containing shell metacharacters.
512 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
513 | --no-cr | --no-c) ;;
514 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
515 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
516 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
517 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
518 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
523 # Only set these to C if already set. These must not be set unconditionally
524 # because not all systems understand e.g. LANG=C (notably SCO).
525 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
526 # Non-C LC_CTYPE values break the ctype check.
527 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
528 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
529 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
530 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
532 # confdefs.h avoids OS command line length limits that DEFS can exceed.
533 rm -rf conftest
* confdefs.h
534 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
537 # A filename unique to this package, relative to the directory that
538 # configure is in, which we can look for to find out if srcdir is correct.
539 ac_unique_file
=configure.
in
541 # Find the source files, if location was not specified.
542 if test -z "$srcdir"; then
543 ac_srcdir_defaulted
=yes
544 # Try the directory containing this script, then its parent.
546 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
547 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
549 if test ! -r $srcdir/$ac_unique_file; then
553 ac_srcdir_defaulted
=no
555 if test ! -r $srcdir/$ac_unique_file; then
556 if test "$ac_srcdir_defaulted" = yes; then
557 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
559 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
562 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
564 # Prefer explicitly selected file to automatically selected ones.
565 if test -z "$CONFIG_SITE"; then
566 if test "x$prefix" != xNONE
; then
567 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
569 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
572 for ac_site_file
in $CONFIG_SITE; do
573 if test -r "$ac_site_file"; then
574 echo "loading site script $ac_site_file"
579 if test -r "$cache_file"; then
580 echo "loading cache $cache_file"
583 echo "creating cache $cache_file"
588 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
589 ac_cpp
='$CPP $CPPFLAGS'
590 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
591 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
592 cross_compiling
=$ac_cv_prog_cc_cross
594 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
595 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
596 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
603 ac_n
= ac_c
='\c' ac_t
=
611 if test "x$OS" = "x"; then
613 { echo "configure: error: "The system variable OS has not been
set"
614 "please
set is everytime befor compiling on this system
"
615 "A good example
for this system would be
:"
616 "setenv OSTYPE
$UNAME for csh as a SHELL
"
617 "EXPORT OSTYPE
=$UNAME for sh as SHELL
"
618 "please
set this and restart again.
"
630 /usr/Motif1.2/include \
640 /usr/local/X11R6/include \
641 /usr/local/X11R5/include \
642 /usr/local/X11R4/include \
644 /usr/local/include/X11R6 \
645 /usr/local/include/X11R5 \
646 /usr/local/include/X11R4 \
650 /usr/local/X11/include \
651 /usr/local/include/X11 \
655 /usr/XFree86/include/X11 \
659 /usr/local/include/gtk \
660 /usr/unsupported/include \
661 /usr/athena/include \
662 /usr/local/x11r5/include \
663 /usr/lpp/Xamples/include \
665 /usr/openwin/include \
666 /usr/openwin/share/include \
669 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \
674 # Extract the first word of "gcc", so it can be a program name with args.
675 set dummy gcc
; ac_word
=$2
676 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
677 echo "configure:678: checking for $ac_word" >&5
678 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
679 echo $ac_n "(cached) $ac_c" 1>&6
681 if test -n "$CC"; then
682 ac_cv_prog_CC
="$CC" # Let the user override the test.
684 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
685 for ac_dir
in $PATH; do
686 test -z "$ac_dir" && ac_dir
=.
687 if test -f $ac_dir/$ac_word; then
696 if test -n "$CC"; then
697 echo "$ac_t""$CC" 1>&6
699 echo "$ac_t""no" 1>&6
702 if test -z "$CC"; then
703 # Extract the first word of "cc", so it can be a program name with args.
704 set dummy cc
; ac_word
=$2
705 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
706 echo "configure:707: checking for $ac_word" >&5
707 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
708 echo $ac_n "(cached) $ac_c" 1>&6
710 if test -n "$CC"; then
711 ac_cv_prog_CC
="$CC" # Let the user override the test.
713 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
715 for ac_dir
in $PATH; do
716 test -z "$ac_dir" && ac_dir
=.
717 if test -f $ac_dir/$ac_word; then
718 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
727 if test $ac_prog_rejected = yes; then
728 # We found a bogon in the path, so make sure we never use it.
729 set dummy
$ac_cv_prog_CC
731 if test $# -gt 0; then
732 # We chose a different compiler from the bogus one.
733 # However, it has the same basename, so the bogon will be chosen
734 # first if we set CC to just the basename; use the full file name.
736 set dummy
"$ac_dir/$ac_word" "$@"
744 if test -n "$CC"; then
745 echo "$ac_t""$CC" 1>&6
747 echo "$ac_t""no" 1>&6
750 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
753 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
754 echo "configure:755: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
757 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
758 ac_cpp
='$CPP $CPPFLAGS'
759 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
760 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
761 cross_compiling
=$ac_cv_prog_cc_cross
763 cat > conftest.
$ac_ext <<EOF
764 #line 765 "configure"
765 #include "confdefs.h"
768 if { (eval echo configure
:769: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
769 ac_cv_prog_cc_works
=yes
770 # If we can't run a trivial program, we are probably using a cross compiler.
771 if (.
/conftest
; exit) 2>/dev
/null
; then
772 ac_cv_prog_cc_cross
=no
774 ac_cv_prog_cc_cross
=yes
777 echo "configure: failed program was:" >&5
778 cat conftest.
$ac_ext >&5
779 ac_cv_prog_cc_works
=no
783 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
784 if test $ac_cv_prog_cc_works = no
; then
785 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
787 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
788 echo "configure:789: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
789 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
790 cross_compiling
=$ac_cv_prog_cc_cross
792 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
793 echo "configure:794: checking whether we are using GNU C" >&5
794 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
795 echo $ac_n "(cached) $ac_c" 1>&6
797 cat > conftest.c
<<EOF
802 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:803: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
809 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
811 if test $ac_cv_prog_gcc = yes; then
813 ac_test_CFLAGS
="${CFLAGS+set}"
814 ac_save_CFLAGS
="$CFLAGS"
816 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
817 echo "configure:818: checking whether ${CC-cc} accepts -g" >&5
818 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
819 echo $ac_n "(cached) $ac_c" 1>&6
821 echo 'void f(){}' > conftest.c
822 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
831 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
832 if test "$ac_test_CFLAGS" = set; then
833 CFLAGS
="$ac_save_CFLAGS"
834 elif test $ac_cv_prog_cc_g = yes; then
841 test "${CFLAGS+set}" = set || CFLAGS
="-g"
845 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
847 if test "x$CC" != xcc
; then
848 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
849 echo "configure:850: checking whether $CC and cc understand -c and -o together" >&5
851 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
852 echo "configure:853: checking whether cc understands -c and -o together" >&5
854 set dummy
$CC; ac_cc
="`echo $2 |
855 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
856 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
857 echo $ac_n "(cached) $ac_c" 1>&6
859 echo 'foo(){}' > conftest.c
860 # Make sure it works both with $CC and with simple cc.
861 # We do the test twice because some compilers refuse to overwrite an
862 # existing .o file with -o, though they will create one.
863 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
864 if { (eval echo configure
:865: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
865 test -f conftest.o
&& { (eval echo configure
:866: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
867 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
868 if test "x$CC" != xcc
; then
869 # Test first that cc exists at all.
870 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:871: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
871 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
872 if { (eval echo configure
:873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
873 test -f conftest.o
&& { (eval echo configure
:874: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
878 # cc exists but doesn't like -o.
879 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
884 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
889 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
890 echo "$ac_t""yes" 1>&6
892 echo "$ac_t""no" 1>&6
893 cat >> confdefs.h
<<\EOF
894 #define NO_MINUS_C_MINUS_O 1
899 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
900 echo "configure:901: checking how to run the C preprocessor" >&5
901 # On Suns, sometimes $CPP names a directory.
902 if test -n "$CPP" && test -d "$CPP"; then
905 if test -z "$CPP"; then
906 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
907 echo $ac_n "(cached) $ac_c" 1>&6
909 # This must be in double quotes, not single quotes, because CPP may get
910 # substituted into the Makefile and "${CC-cc}" will confuse make.
912 # On the NeXT, cc -E runs the code through the compiler's parser,
913 # not just through cpp.
914 cat > conftest.
$ac_ext <<EOF
915 #line 916 "configure"
916 #include "confdefs.h"
920 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
921 { (eval echo configure
:922: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
922 ac_err
=`grep -v '^ *+' conftest.out`
923 if test -z "$ac_err"; then
927 echo "configure: failed program was:" >&5
928 cat conftest.
$ac_ext >&5
930 CPP
="${CC-cc} -E -traditional-cpp"
931 cat > conftest.
$ac_ext <<EOF
932 #line 933 "configure"
933 #include "confdefs.h"
937 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
938 { (eval echo configure
:939: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
939 ac_err
=`grep -v '^ *+' conftest.out`
940 if test -z "$ac_err"; then
944 echo "configure: failed program was:" >&5
945 cat conftest.
$ac_ext >&5
952 ac_cv_prog_CPP
="$CPP"
954 CPP
="$ac_cv_prog_CPP"
956 ac_cv_prog_CPP
="$CPP"
958 echo "$ac_t""$CPP" 1>&6
960 if test $ac_cv_prog_gcc = yes; then
961 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
962 echo "configure:963: checking whether ${CC-cc} needs -traditional" >&5
963 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
964 echo $ac_n "(cached) $ac_c" 1>&6
966 ac_pattern
="Autoconf.*'x'"
967 cat > conftest.
$ac_ext <<EOF
968 #line 969 "configure"
969 #include "confdefs.h"
973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
974 egrep "$ac_pattern" >/dev
/null
2>&1; then
976 ac_cv_prog_gcc_traditional
=yes
979 ac_cv_prog_gcc_traditional
=no
984 if test $ac_cv_prog_gcc_traditional = no
; then
985 cat > conftest.
$ac_ext <<EOF
986 #line 987 "configure"
987 #include "confdefs.h"
991 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
992 egrep "$ac_pattern" >/dev
/null
2>&1; then
994 ac_cv_prog_gcc_traditional
=yes
1001 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1002 if test $ac_cv_prog_gcc_traditional = yes; then
1003 CC
="$CC -traditional"
1010 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1012 # Extract the first word of "$ac_prog", so it can be a program name with args.
1013 set dummy
$ac_prog; ac_word
=$2
1014 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1015 echo "configure:1016: checking for $ac_word" >&5
1016 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1017 echo $ac_n "(cached) $ac_c" 1>&6
1019 if test -n "$CXX"; then
1020 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1022 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1023 for ac_dir
in $PATH; do
1024 test -z "$ac_dir" && ac_dir
=.
1025 if test -f $ac_dir/$ac_word; then
1026 ac_cv_prog_CXX
="$ac_prog"
1033 CXX
="$ac_cv_prog_CXX"
1034 if test -n "$CXX"; then
1035 echo "$ac_t""$CXX" 1>&6
1037 echo "$ac_t""no" 1>&6
1040 test -n "$CXX" && break
1042 test -n "$CXX" || CXX
="gcc"
1045 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1046 echo "configure:1047: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1049 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1050 ac_cpp
='$CXXCPP $CPPFLAGS'
1051 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1052 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1053 cross_compiling
=$ac_cv_prog_cxx_cross
1055 cat > conftest.
$ac_ext <<EOF
1056 #line 1057 "configure"
1057 #include "confdefs.h"
1060 if { (eval echo configure
:1061: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1061 ac_cv_prog_cxx_works
=yes
1062 # If we can't run a trivial program, we are probably using a cross compiler.
1063 if (.
/conftest
; exit) 2>/dev
/null
; then
1064 ac_cv_prog_cxx_cross
=no
1066 ac_cv_prog_cxx_cross
=yes
1069 echo "configure: failed program was:" >&5
1070 cat conftest.
$ac_ext >&5
1071 ac_cv_prog_cxx_works
=no
1075 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1076 ac_cpp
='$CPP $CPPFLAGS'
1077 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1078 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1079 cross_compiling
=$ac_cv_prog_cc_cross
1081 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1082 if test $ac_cv_prog_cxx_works = no
; then
1083 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1085 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1086 echo "configure:1087: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1087 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1088 cross_compiling
=$ac_cv_prog_cxx_cross
1090 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1091 echo "configure:1092: checking whether we are using GNU C++" >&5
1092 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1093 echo $ac_n "(cached) $ac_c" 1>&6
1095 cat > conftest.C
<<EOF
1100 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1101: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1107 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1109 if test $ac_cv_prog_gxx = yes; then
1111 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1112 ac_save_CXXFLAGS
="$CXXFLAGS"
1114 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1115 echo "configure:1116: checking whether ${CXX-g++} accepts -g" >&5
1116 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1117 echo $ac_n "(cached) $ac_c" 1>&6
1119 echo 'void f(){}' > conftest.cc
1120 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1121 ac_cv_prog_cxx_g
=yes
1129 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1130 if test "$ac_test_CXXFLAGS" = set; then
1131 CXXFLAGS
="$ac_save_CXXFLAGS"
1132 elif test $ac_cv_prog_cxx_g = yes; then
1139 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1142 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1143 echo "configure:1144: checking how to run the C++ preprocessor" >&5
1144 if test -z "$CXXCPP"; then
1145 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1146 echo $ac_n "(cached) $ac_c" 1>&6
1149 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1150 ac_cpp
='$CXXCPP $CPPFLAGS'
1151 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1152 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1153 cross_compiling
=$ac_cv_prog_cxx_cross
1154 CXXCPP
="${CXX-g++} -E"
1155 cat > conftest.
$ac_ext <<EOF
1156 #line 1157 "configure"
1157 #include "confdefs.h"
1160 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1161 { (eval echo configure
:1162: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1162 ac_err
=`grep -v '^ *+' conftest.out`
1163 if test -z "$ac_err"; then
1167 echo "configure: failed program was:" >&5
1168 cat conftest.
$ac_ext >&5
1173 ac_cv_prog_CXXCPP
="$CXXCPP"
1175 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1176 ac_cpp
='$CPP $CPPFLAGS'
1177 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1178 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1179 cross_compiling
=$ac_cv_prog_cc_cross
1182 CXXCPP
="$ac_cv_prog_CXXCPP"
1183 echo "$ac_t""$CXXCPP" 1>&6
1186 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1190 # Extract the first word of "ranlib", so it can be a program name with args.
1191 set dummy ranlib
; ac_word
=$2
1192 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1193 echo "configure:1194: checking for $ac_word" >&5
1194 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1195 echo $ac_n "(cached) $ac_c" 1>&6
1197 if test -n "$RANLIB"; then
1198 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1200 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1201 for ac_dir
in $PATH; do
1202 test -z "$ac_dir" && ac_dir
=.
1203 if test -f $ac_dir/$ac_word; then
1204 ac_cv_prog_RANLIB
="ranlib"
1209 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1212 RANLIB
="$ac_cv_prog_RANLIB"
1213 if test -n "$RANLIB"; then
1214 echo "$ac_t""$RANLIB" 1>&6
1216 echo "$ac_t""no" 1>&6
1220 # Extract the first word of "ar", so it can be a program name with args.
1221 set dummy
ar; ac_word
=$2
1222 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1223 echo "configure:1224: checking for $ac_word" >&5
1224 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1225 echo $ac_n "(cached) $ac_c" 1>&6
1227 if test -n "$AR"; then
1228 ac_cv_prog_AR
="$AR" # Let the user override the test.
1230 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1231 for ac_dir
in $PATH; do
1232 test -z "$ac_dir" && ac_dir
=.
1233 if test -f $ac_dir/$ac_word; then
1239 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1243 if test -n "$AR"; then
1244 echo "$ac_t""$AR" 1>&6
1246 echo "$ac_t""no" 1>&6
1251 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1252 if test -f $ac_dir/install-sh; then
1254 ac_install_sh
="$ac_aux_dir/install-sh -c"
1256 elif test -f $ac_dir/install.sh
; then
1258 ac_install_sh
="$ac_aux_dir/install.sh -c"
1262 if test -z "$ac_aux_dir"; then
1263 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1265 ac_config_guess
=$ac_aux_dir/config.guess
1266 ac_config_sub
=$ac_aux_dir/config.sub
1267 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1269 # Find a good install program. We prefer a C program (faster),
1270 # so one script is as good as another. But avoid the broken or
1271 # incompatible versions:
1272 # SysV /etc/install, /usr/sbin/install
1273 # SunOS /usr/etc/install
1274 # IRIX /sbin/install
1276 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1277 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1278 # ./install, which can be erroneously created by make from ./install.sh.
1279 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1280 echo "configure:1281: checking for a BSD compatible install" >&5
1281 if test -z "$INSTALL"; then
1282 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1283 echo $ac_n "(cached) $ac_c" 1>&6
1285 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1286 for ac_dir
in $PATH; do
1287 # Account for people who put trailing slashes in PATH elements.
1289 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1291 # OSF1 and SCO ODT 3.0 have their own names for install.
1292 for ac_prog
in ginstall installbsd scoinst
install; do
1293 if test -f $ac_dir/$ac_prog; then
1294 if test $ac_prog = install &&
1295 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1296 # AIX install. It has an incompatible calling convention.
1297 # OSF/1 installbsd also uses dspmsg, but is usable.
1300 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1311 if test "${ac_cv_path_install+set}" = set; then
1312 INSTALL
="$ac_cv_path_install"
1314 # As a last resort, use the slow shell script. We don't cache a
1315 # path for INSTALL within a source directory, because that will
1316 # break other packages using the cache if that directory is
1317 # removed, or if the path is relative.
1318 INSTALL
="$ac_install_sh"
1321 echo "$ac_t""$INSTALL" 1>&6
1323 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1324 # It thinks the first close brace ends the variable substitution.
1325 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1327 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1330 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1331 echo "configure:1332: checking whether ln -s works" >&5
1332 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1333 echo $ac_n "(cached) $ac_c" 1>&6
1336 if ln -s X conftestdata
2>/dev
/null
1339 ac_cv_prog_LN_S
="ln -s"
1344 LN_S
="$ac_cv_prog_LN_S"
1345 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1346 echo "$ac_t""yes" 1>&6
1348 echo "$ac_t""no" 1>&6
1352 for ac_prog
in mawk gawk nawk
awk
1354 # Extract the first word of "$ac_prog", so it can be a program name with args.
1355 set dummy
$ac_prog; ac_word
=$2
1356 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1357 echo "configure:1358: checking for $ac_word" >&5
1358 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1359 echo $ac_n "(cached) $ac_c" 1>&6
1361 if test -n "$AWK"; then
1362 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1364 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1365 for ac_dir
in $PATH; do
1366 test -z "$ac_dir" && ac_dir
=.
1367 if test -f $ac_dir/$ac_word; then
1368 ac_cv_prog_AWK
="$ac_prog"
1375 AWK
="$ac_cv_prog_AWK"
1376 if test -n "$AWK"; then
1377 echo "$ac_t""$AWK" 1>&6
1379 echo "$ac_t""no" 1>&6
1382 test -n "$AWK" && break
1386 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1387 echo "configure:1388: checking "make for VPATH support
"" >&5
1388 cat - << EOF > confMake
1394 if test ! -d sub
; then
1397 echo dummy
> sub
/file
1398 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1400 rm -f sub
/file check final_file config.log confMake
1402 if test "$RESULT" = 0; then
1403 echo "$ac_t""yes" 1>&6
1405 echo "$ac_t""no" 1>&6
1406 { echo "configure: error: You need a make-utility that is able to use the variable
1408 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1412 # If we find X, set shell vars x_includes and x_libraries to the
1413 # paths, otherwise set no_x=yes.
1414 # Uses ac_ vars as temps to allow command line to override cache and checks.
1415 # --without-x overrides everything else, but does not touch the cache.
1416 echo $ac_n "checking for X""... $ac_c" 1>&6
1417 echo "configure:1418: checking for X" >&5
1419 # Check whether --with-x or --without-x was given.
1420 if test "${with_x+set}" = set; then
1425 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1426 if test "x$with_x" = xno
; then
1427 # The user explicitly disabled X.
1430 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1431 # Both variables are already set.
1434 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1435 echo $ac_n "(cached) $ac_c" 1>&6
1437 # One or both of the vars are not set, and there is no cached value.
1438 ac_x_includes
=NO ac_x_libraries
=NO
1440 if mkdir conftestdir
; then
1442 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1443 cat > Imakefile
<<'EOF'
1445 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1447 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1448 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1449 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1450 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1451 for ac_extension
in a so sl
; do
1452 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1453 test -f $ac_im_libdir/libX11.
$ac_extension; then
1454 ac_im_usrlibdir
=$ac_im_libdir; break
1457 # Screen out bogus values from the imake configuration. They are
1458 # bogus both because they are the default anyway, and because
1459 # using them would break gcc on systems where it needs fixed includes.
1460 case "$ac_im_incroot" in
1462 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1464 case "$ac_im_usrlibdir" in
1466 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1473 if test "$ac_x_includes" = NO
; then
1474 # Guess where to find include files, by looking for this one X11 .h file.
1475 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1477 # First, try using that file with no special directory specified.
1478 cat > conftest.
$ac_ext <<EOF
1479 #line 1480 "configure"
1480 #include "confdefs.h"
1481 #include <$x_direct_test_include>
1483 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1484 { (eval echo configure
:1485: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1485 ac_err
=`grep -v '^ *+' conftest.out`
1486 if test -z "$ac_err"; then
1488 # We can compile using X headers with no special include directory.
1492 echo "configure: failed program was:" >&5
1493 cat conftest.
$ac_ext >&5
1495 # Look for the header file in a standard set of common directories.
1496 # Check X11 before X11Rn because it is often a symlink to the current release.
1499 /usr
/X
11R
6/include \
1500 /usr
/X
11R
5/include \
1501 /usr
/X
11R
4/include \
1504 /usr
/include
/X11R6 \
1505 /usr
/include
/X11R5 \
1506 /usr
/include
/X11R4 \
1508 /usr
/local
/X
11/include \
1509 /usr
/local
/X
11R
6/include \
1510 /usr
/local
/X
11R
5/include \
1511 /usr
/local
/X
11R
4/include \
1513 /usr
/local
/include
/X11 \
1514 /usr
/local
/include
/X11R6 \
1515 /usr
/local
/include
/X11R5 \
1516 /usr
/local
/include
/X11R4 \
1520 /usr
/XFree
86/include
/X11 \
1523 /usr
/local
/include \
1524 /usr
/unsupported
/include \
1525 /usr
/athena
/include \
1526 /usr
/local
/x
11r
5/include \
1527 /usr
/lpp
/Xamples
/include \
1529 /usr
/openwin
/include \
1530 /usr
/openwin
/share
/include \
1533 if test -r "$ac_dir/$x_direct_test_include"; then
1534 ac_x_includes
=$ac_dir
1540 fi # $ac_x_includes = NO
1542 if test "$ac_x_libraries" = NO
; then
1543 # Check for the libraries.
1545 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1546 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1548 # See if we find them without any special options.
1549 # Don't add to $LIBS permanently.
1550 ac_save_LIBS
="$LIBS"
1551 LIBS
="-l$x_direct_test_library $LIBS"
1552 cat > conftest.
$ac_ext <<EOF
1553 #line 1554 "configure"
1554 #include "confdefs.h"
1557 ${x_direct_test_function}()
1560 if { (eval echo configure
:1561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1562 LIBS
="$ac_save_LIBS"
1563 # We can link X programs with no special library path.
1566 echo "configure: failed program was:" >&5
1567 cat conftest.
$ac_ext >&5
1569 LIBS
="$ac_save_LIBS"
1570 # First see if replacing the include by lib works.
1571 # Check X11 before X11Rn because it is often a symlink to the current release.
1572 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1583 /usr
/local
/X
11/lib \
1584 /usr
/local
/X
11R
6/lib \
1585 /usr
/local
/X
11R
5/lib \
1586 /usr
/local
/X
11R
4/lib \
1588 /usr
/local
/lib
/X11 \
1589 /usr
/local
/lib
/X11R6 \
1590 /usr
/local
/lib
/X11R5 \
1591 /usr
/local
/lib
/X11R4 \
1595 /usr
/XFree
86/lib
/X11 \
1599 /usr
/unsupported
/lib \
1601 /usr
/local
/x
11r
5/lib \
1602 /usr
/lpp
/Xamples
/lib \
1606 /usr
/openwin
/share
/lib \
1609 for ac_extension
in a so sl
; do
1610 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1611 ac_x_libraries
=$ac_dir
1618 fi # $ac_x_libraries = NO
1620 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1621 # Didn't find X anywhere. Cache the known absence of X.
1622 ac_cv_have_x
="have_x=no"
1624 # Record where we found X for the cache.
1625 ac_cv_have_x
="have_x=yes \
1626 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1630 eval "$ac_cv_have_x"
1633 if test "$have_x" != yes; then
1634 echo "$ac_t""$have_x" 1>&6
1637 # If each of the values was on the command line, it overrides each guess.
1638 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1639 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1640 # Update the cache value to reflect the command line values.
1641 ac_cv_have_x
="have_x=yes \
1642 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1643 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1646 if test "$no_x" = yes; then
1647 # Not all programs may use this symbol, but it does not hurt to define it.
1648 cat >> confdefs.h
<<\EOF
1649 #define X_DISPLAY_MISSING 1
1652 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1654 if test -n "$x_includes"; then
1655 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1658 # It would also be nice to do this for all -L options, not just this one.
1659 if test -n "$x_libraries"; then
1660 X_LIBS
="$X_LIBS -L$x_libraries"
1661 # For Solaris; some versions of Sun CC require a space after -R and
1662 # others require no space. Words are not sufficient . . . .
1663 case "`(uname -sr) 2>/dev/null`" in
1665 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1666 echo "configure:1667: checking whether -R must be followed by a space" >&5
1667 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1668 cat > conftest.
$ac_ext <<EOF
1669 #line 1670 "configure"
1670 #include "confdefs.h"
1676 if { (eval echo configure
:1677: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1680 echo "configure: failed program was:" >&5
1681 cat conftest.
$ac_ext >&5
1686 if test $ac_R_nospace = yes; then
1687 echo "$ac_t""no" 1>&6
1688 X_LIBS
="$X_LIBS -R$x_libraries"
1690 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1691 cat > conftest.
$ac_ext <<EOF
1692 #line 1693 "configure"
1693 #include "confdefs.h"
1699 if { (eval echo configure
:1700: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1703 echo "configure: failed program was:" >&5
1704 cat conftest.
$ac_ext >&5
1709 if test $ac_R_space = yes; then
1710 echo "$ac_t""yes" 1>&6
1711 X_LIBS
="$X_LIBS -R $x_libraries"
1713 echo "$ac_t""neither works" 1>&6
1716 LIBS
="$ac_xsave_LIBS"
1720 # Check for system-dependent libraries X programs must link with.
1721 # Do this before checking for the system-independent R6 libraries
1722 # (-lICE), since we may need -lsocket or whatever for X linking.
1724 if test "$ISC" = yes; then
1725 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1727 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1728 # libraries were built with DECnet support. And karl@cs.umb.edu says
1729 # the Alpha needs dnet_stub (dnet does not exist).
1730 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1731 echo "configure:1732: checking for dnet_ntoa in -ldnet" >&5
1732 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1733 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1734 echo $ac_n "(cached) $ac_c" 1>&6
1736 ac_save_LIBS
="$LIBS"
1738 cat > conftest.
$ac_ext <<EOF
1739 #line 1740 "configure"
1740 #include "confdefs.h"
1741 /* Override any gcc2 internal prototype to avoid an error. */
1742 /* We use char because int might match the return type of a gcc2
1743 builtin and then its argument prototype would still apply. */
1750 if { (eval echo configure
:1751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1752 eval "ac_cv_lib_$ac_lib_var=yes"
1754 echo "configure: failed program was:" >&5
1755 cat conftest.
$ac_ext >&5
1757 eval "ac_cv_lib_$ac_lib_var=no"
1760 LIBS
="$ac_save_LIBS"
1763 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1764 echo "$ac_t""yes" 1>&6
1765 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1767 echo "$ac_t""no" 1>&6
1770 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1771 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1772 echo "configure:1773: checking for dnet_ntoa in -ldnet_stub" >&5
1773 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1774 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1775 echo $ac_n "(cached) $ac_c" 1>&6
1777 ac_save_LIBS
="$LIBS"
1778 LIBS
="-ldnet_stub $LIBS"
1779 cat > conftest.
$ac_ext <<EOF
1780 #line 1781 "configure"
1781 #include "confdefs.h"
1782 /* Override any gcc2 internal prototype to avoid an error. */
1783 /* We use char because int might match the return type of a gcc2
1784 builtin and then its argument prototype would still apply. */
1791 if { (eval echo configure
:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1793 eval "ac_cv_lib_$ac_lib_var=yes"
1795 echo "configure: failed program was:" >&5
1796 cat conftest.
$ac_ext >&5
1798 eval "ac_cv_lib_$ac_lib_var=no"
1801 LIBS
="$ac_save_LIBS"
1804 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1805 echo "$ac_t""yes" 1>&6
1806 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1808 echo "$ac_t""no" 1>&6
1813 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1814 # to get the SysV transport functions.
1815 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1817 # The nsl library prevents programs from opening the X display
1818 # on Irix 5.2, according to dickey@clark.net.
1819 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1820 echo "configure:1821: checking for gethostbyname" >&5
1821 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1822 echo $ac_n "(cached) $ac_c" 1>&6
1824 cat > conftest.
$ac_ext <<EOF
1825 #line 1826 "configure"
1826 #include "confdefs.h"
1827 /* System header to define __stub macros and hopefully few prototypes,
1828 which can conflict with char gethostbyname(); below. */
1830 /* Override any gcc2 internal prototype to avoid an error. */
1831 /* We use char because int might match the return type of a gcc2
1832 builtin and then its argument prototype would still apply. */
1833 char gethostbyname();
1837 /* The GNU C library defines this for functions which it implements
1838 to always fail with ENOSYS. Some functions are actually named
1839 something starting with __ and the normal name is an alias. */
1840 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1848 if { (eval echo configure
:1849: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1850 eval "ac_cv_func_gethostbyname=yes"
1852 echo "configure: failed program was:" >&5
1853 cat conftest.
$ac_ext >&5
1855 eval "ac_cv_func_gethostbyname=no"
1860 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1861 echo "$ac_t""yes" 1>&6
1864 echo "$ac_t""no" 1>&6
1867 if test $ac_cv_func_gethostbyname = no
; then
1868 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1869 echo "configure:1870: checking for gethostbyname in -lnsl" >&5
1870 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1871 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1872 echo $ac_n "(cached) $ac_c" 1>&6
1874 ac_save_LIBS
="$LIBS"
1876 cat > conftest.
$ac_ext <<EOF
1877 #line 1878 "configure"
1878 #include "confdefs.h"
1879 /* Override any gcc2 internal prototype to avoid an error. */
1880 /* We use char because int might match the return type of a gcc2
1881 builtin and then its argument prototype would still apply. */
1882 char gethostbyname();
1888 if { (eval echo configure
:1889: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1890 eval "ac_cv_lib_$ac_lib_var=yes"
1892 echo "configure: failed program was:" >&5
1893 cat conftest.
$ac_ext >&5
1895 eval "ac_cv_lib_$ac_lib_var=no"
1898 LIBS
="$ac_save_LIBS"
1901 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1902 echo "$ac_t""yes" 1>&6
1903 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
1905 echo "$ac_t""no" 1>&6
1910 # lieder@skyler.mavd.honeywell.com says without -lsocket,
1911 # socket/setsockopt and other routines are undefined under SCO ODT
1912 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
1913 # on later versions), says simon@lia.di.epfl.ch: it contains
1914 # gethostby* variants that don't use the nameserver (or something).
1915 # -lsocket must be given before -lnsl if both are needed.
1916 # We assume that if connect needs -lnsl, so does gethostbyname.
1917 echo $ac_n "checking for connect""... $ac_c" 1>&6
1918 echo "configure:1919: checking for connect" >&5
1919 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1920 echo $ac_n "(cached) $ac_c" 1>&6
1922 cat > conftest.
$ac_ext <<EOF
1923 #line 1924 "configure"
1924 #include "confdefs.h"
1925 /* System header to define __stub macros and hopefully few prototypes,
1926 which can conflict with char connect(); below. */
1928 /* Override any gcc2 internal prototype to avoid an error. */
1929 /* We use char because int might match the return type of a gcc2
1930 builtin and then its argument prototype would still apply. */
1935 /* The GNU C library defines this for functions which it implements
1936 to always fail with ENOSYS. Some functions are actually named
1937 something starting with __ and the normal name is an alias. */
1938 #if defined (__stub_connect) || defined (__stub___connect)
1946 if { (eval echo configure
:1947: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1948 eval "ac_cv_func_connect=yes"
1950 echo "configure: failed program was:" >&5
1951 cat conftest.
$ac_ext >&5
1953 eval "ac_cv_func_connect=no"
1958 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1959 echo "$ac_t""yes" 1>&6
1962 echo "$ac_t""no" 1>&6
1965 if test $ac_cv_func_connect = no
; then
1966 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1967 echo "configure:1968: checking for connect in -lsocket" >&5
1968 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1969 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1970 echo $ac_n "(cached) $ac_c" 1>&6
1972 ac_save_LIBS
="$LIBS"
1973 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
1974 cat > conftest.
$ac_ext <<EOF
1975 #line 1976 "configure"
1976 #include "confdefs.h"
1977 /* Override any gcc2 internal prototype to avoid an error. */
1978 /* We use char because int might match the return type of a gcc2
1979 builtin and then its argument prototype would still apply. */
1986 if { (eval echo configure
:1987: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1988 eval "ac_cv_lib_$ac_lib_var=yes"
1990 echo "configure: failed program was:" >&5
1991 cat conftest.
$ac_ext >&5
1993 eval "ac_cv_lib_$ac_lib_var=no"
1996 LIBS
="$ac_save_LIBS"
1999 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2000 echo "$ac_t""yes" 1>&6
2001 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2003 echo "$ac_t""no" 1>&6
2008 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2009 echo $ac_n "checking for remove""... $ac_c" 1>&6
2010 echo "configure:2011: checking for remove" >&5
2011 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2012 echo $ac_n "(cached) $ac_c" 1>&6
2014 cat > conftest.
$ac_ext <<EOF
2015 #line 2016 "configure"
2016 #include "confdefs.h"
2017 /* System header to define __stub macros and hopefully few prototypes,
2018 which can conflict with char remove(); below. */
2020 /* Override any gcc2 internal prototype to avoid an error. */
2021 /* We use char because int might match the return type of a gcc2
2022 builtin and then its argument prototype would still apply. */
2027 /* The GNU C library defines this for functions which it implements
2028 to always fail with ENOSYS. Some functions are actually named
2029 something starting with __ and the normal name is an alias. */
2030 #if defined (__stub_remove) || defined (__stub___remove)
2038 if { (eval echo configure
:2039: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2040 eval "ac_cv_func_remove=yes"
2042 echo "configure: failed program was:" >&5
2043 cat conftest.
$ac_ext >&5
2045 eval "ac_cv_func_remove=no"
2050 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2051 echo "$ac_t""yes" 1>&6
2054 echo "$ac_t""no" 1>&6
2057 if test $ac_cv_func_remove = no
; then
2058 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2059 echo "configure:2060: checking for remove in -lposix" >&5
2060 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2061 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2062 echo $ac_n "(cached) $ac_c" 1>&6
2064 ac_save_LIBS
="$LIBS"
2065 LIBS
="-lposix $LIBS"
2066 cat > conftest.
$ac_ext <<EOF
2067 #line 2068 "configure"
2068 #include "confdefs.h"
2069 /* Override any gcc2 internal prototype to avoid an error. */
2070 /* We use char because int might match the return type of a gcc2
2071 builtin and then its argument prototype would still apply. */
2078 if { (eval echo configure
:2079: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2080 eval "ac_cv_lib_$ac_lib_var=yes"
2082 echo "configure: failed program was:" >&5
2083 cat conftest.
$ac_ext >&5
2085 eval "ac_cv_lib_$ac_lib_var=no"
2088 LIBS
="$ac_save_LIBS"
2091 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2092 echo "$ac_t""yes" 1>&6
2093 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2095 echo "$ac_t""no" 1>&6
2100 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2101 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2102 echo "configure:2103: checking for shmat" >&5
2103 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2104 echo $ac_n "(cached) $ac_c" 1>&6
2106 cat > conftest.
$ac_ext <<EOF
2107 #line 2108 "configure"
2108 #include "confdefs.h"
2109 /* System header to define __stub macros and hopefully few prototypes,
2110 which can conflict with char shmat(); below. */
2112 /* Override any gcc2 internal prototype to avoid an error. */
2113 /* We use char because int might match the return type of a gcc2
2114 builtin and then its argument prototype would still apply. */
2119 /* The GNU C library defines this for functions which it implements
2120 to always fail with ENOSYS. Some functions are actually named
2121 something starting with __ and the normal name is an alias. */
2122 #if defined (__stub_shmat) || defined (__stub___shmat)
2130 if { (eval echo configure
:2131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2132 eval "ac_cv_func_shmat=yes"
2134 echo "configure: failed program was:" >&5
2135 cat conftest.
$ac_ext >&5
2137 eval "ac_cv_func_shmat=no"
2142 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2143 echo "$ac_t""yes" 1>&6
2146 echo "$ac_t""no" 1>&6
2149 if test $ac_cv_func_shmat = no
; then
2150 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2151 echo "configure:2152: checking for shmat in -lipc" >&5
2152 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2153 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2154 echo $ac_n "(cached) $ac_c" 1>&6
2156 ac_save_LIBS
="$LIBS"
2158 cat > conftest.
$ac_ext <<EOF
2159 #line 2160 "configure"
2160 #include "confdefs.h"
2161 /* Override any gcc2 internal prototype to avoid an error. */
2162 /* We use char because int might match the return type of a gcc2
2163 builtin and then its argument prototype would still apply. */
2170 if { (eval echo configure
:2171: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2172 eval "ac_cv_lib_$ac_lib_var=yes"
2174 echo "configure: failed program was:" >&5
2175 cat conftest.
$ac_ext >&5
2177 eval "ac_cv_lib_$ac_lib_var=no"
2180 LIBS
="$ac_save_LIBS"
2183 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2184 echo "$ac_t""yes" 1>&6
2185 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2187 echo "$ac_t""no" 1>&6
2193 # Check for libraries that X11R6 Xt/Xaw programs need.
2194 ac_save_LDFLAGS
="$LDFLAGS"
2195 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2196 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2197 # check for ICE first), but we must link in the order -lSM -lICE or
2198 # we get undefined symbols. So assume we have SM if we have ICE.
2199 # These have to be linked with before -lX11, unlike the other
2200 # libraries we check for below, so use a different variable.
2201 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2202 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2203 echo "configure:2204: checking for IceConnectionNumber in -lICE" >&5
2204 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2205 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2206 echo $ac_n "(cached) $ac_c" 1>&6
2208 ac_save_LIBS
="$LIBS"
2210 cat > conftest.
$ac_ext <<EOF
2211 #line 2212 "configure"
2212 #include "confdefs.h"
2213 /* Override any gcc2 internal prototype to avoid an error. */
2214 /* We use char because int might match the return type of a gcc2
2215 builtin and then its argument prototype would still apply. */
2216 char IceConnectionNumber();
2219 IceConnectionNumber()
2222 if { (eval echo configure
:2223: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2224 eval "ac_cv_lib_$ac_lib_var=yes"
2226 echo "configure: failed program was:" >&5
2227 cat conftest.
$ac_ext >&5
2229 eval "ac_cv_lib_$ac_lib_var=no"
2232 LIBS
="$ac_save_LIBS"
2235 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2236 echo "$ac_t""yes" 1>&6
2237 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2239 echo "$ac_t""no" 1>&6
2242 LDFLAGS
="$ac_save_LDFLAGS"
2248 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2250 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2251 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2252 echo "configure:2253: checking for $ac_hdr that defines DIR" >&5
2253 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2254 echo $ac_n "(cached) $ac_c" 1>&6
2256 cat > conftest.
$ac_ext <<EOF
2257 #line 2258 "configure"
2258 #include "confdefs.h"
2259 #include <sys/types.h>
2265 if { (eval echo configure
:2266: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2267 eval "ac_cv_header_dirent_$ac_safe=yes"
2269 echo "configure: failed program was:" >&5
2270 cat conftest.
$ac_ext >&5
2272 eval "ac_cv_header_dirent_$ac_safe=no"
2276 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2277 echo "$ac_t""yes" 1>&6
2278 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2279 cat >> confdefs.h
<<EOF
2280 #define $ac_tr_hdr 1
2282 ac_header_dirent
=$ac_hdr; break
2284 echo "$ac_t""no" 1>&6
2287 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2288 if test $ac_header_dirent = dirent.h
; then
2289 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2290 echo "configure:2291: checking for opendir in -ldir" >&5
2291 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2292 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2293 echo $ac_n "(cached) $ac_c" 1>&6
2295 ac_save_LIBS
="$LIBS"
2297 cat > conftest.
$ac_ext <<EOF
2298 #line 2299 "configure"
2299 #include "confdefs.h"
2300 /* Override any gcc2 internal prototype to avoid an error. */
2301 /* We use char because int might match the return type of a gcc2
2302 builtin and then its argument prototype would still apply. */
2309 if { (eval echo configure
:2310: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2311 eval "ac_cv_lib_$ac_lib_var=yes"
2313 echo "configure: failed program was:" >&5
2314 cat conftest.
$ac_ext >&5
2316 eval "ac_cv_lib_$ac_lib_var=no"
2319 LIBS
="$ac_save_LIBS"
2322 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2323 echo "$ac_t""yes" 1>&6
2326 echo "$ac_t""no" 1>&6
2330 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2331 echo "configure:2332: checking for opendir in -lx" >&5
2332 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2333 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2334 echo $ac_n "(cached) $ac_c" 1>&6
2336 ac_save_LIBS
="$LIBS"
2338 cat > conftest.
$ac_ext <<EOF
2339 #line 2340 "configure"
2340 #include "confdefs.h"
2341 /* Override any gcc2 internal prototype to avoid an error. */
2342 /* We use char because int might match the return type of a gcc2
2343 builtin and then its argument prototype would still apply. */
2350 if { (eval echo configure
:2351: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2352 eval "ac_cv_lib_$ac_lib_var=yes"
2354 echo "configure: failed program was:" >&5
2355 cat conftest.
$ac_ext >&5
2357 eval "ac_cv_lib_$ac_lib_var=no"
2360 LIBS
="$ac_save_LIBS"
2363 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2364 echo "$ac_t""yes" 1>&6
2367 echo "$ac_t""no" 1>&6
2372 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2373 echo "configure:2374: checking for ANSI C header files" >&5
2374 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2375 echo $ac_n "(cached) $ac_c" 1>&6
2377 cat > conftest.
$ac_ext <<EOF
2378 #line 2379 "configure"
2379 #include "confdefs.h"
2385 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2386 { (eval echo configure
:2387: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2387 ac_err
=`grep -v '^ *+' conftest.out`
2388 if test -z "$ac_err"; then
2390 ac_cv_header_stdc
=yes
2393 echo "configure: failed program was:" >&5
2394 cat conftest.
$ac_ext >&5
2396 ac_cv_header_stdc
=no
2400 if test $ac_cv_header_stdc = yes; then
2401 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2402 cat > conftest.
$ac_ext <<EOF
2403 #line 2404 "configure"
2404 #include "confdefs.h"
2407 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2408 egrep "memchr" >/dev
/null
2>&1; then
2412 ac_cv_header_stdc
=no
2418 if test $ac_cv_header_stdc = yes; then
2419 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2420 cat > conftest.
$ac_ext <<EOF
2421 #line 2422 "configure"
2422 #include "confdefs.h"
2425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2426 egrep "free" >/dev
/null
2>&1; then
2430 ac_cv_header_stdc
=no
2436 if test $ac_cv_header_stdc = yes; then
2437 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2438 if test "$cross_compiling" = yes; then
2441 cat > conftest.
$ac_ext <<EOF
2442 #line 2443 "configure"
2443 #include "confdefs.h"
2445 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2446 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2447 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2448 int main () { int i; for (i = 0; i < 256; i++)
2449 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2453 if { (eval echo configure
:2454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2457 echo "configure: failed program was:" >&5
2458 cat conftest.
$ac_ext >&5
2460 ac_cv_header_stdc
=no
2468 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2469 if test $ac_cv_header_stdc = yes; then
2470 cat >> confdefs.h
<<\EOF
2471 #define STDC_HEADERS 1
2476 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2477 echo "configure:2478: checking for sys/wait.h that is POSIX.1 compatible" >&5
2478 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2479 echo $ac_n "(cached) $ac_c" 1>&6
2481 cat > conftest.
$ac_ext <<EOF
2482 #line 2483 "configure"
2483 #include "confdefs.h"
2484 #include <sys/types.h>
2485 #include <sys/wait.h>
2487 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2490 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2495 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2498 if { (eval echo configure
:2499: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2500 ac_cv_header_sys_wait_h
=yes
2502 echo "configure: failed program was:" >&5
2503 cat conftest.
$ac_ext >&5
2505 ac_cv_header_sys_wait_h
=no
2510 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2511 if test $ac_cv_header_sys_wait_h = yes; then
2512 cat >> confdefs.h
<<\EOF
2513 #define HAVE_SYS_WAIT_H 1
2518 ac_safe
=`echo "fcntl.h" | sed 'y%./+-%__p_%'`
2519 echo $ac_n "checking for fcntl.h""... $ac_c" 1>&6
2520 echo "configure:2521: checking for fcntl.h" >&5
2521 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2522 echo $ac_n "(cached) $ac_c" 1>&6
2524 cat > conftest.
$ac_ext <<EOF
2525 #line 2526 "configure"
2526 #include "confdefs.h"
2529 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2530 { (eval echo configure
:2531: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2531 ac_err
=`grep -v '^ *+' conftest.out`
2532 if test -z "$ac_err"; then
2534 eval "ac_cv_header_$ac_safe=yes"
2537 echo "configure: failed program was:" >&5
2538 cat conftest.
$ac_ext >&5
2540 eval "ac_cv_header_$ac_safe=no"
2544 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2545 echo "$ac_t""yes" 1>&6
2548 echo "$ac_t""no" 1>&6
2551 ac_safe
=`echo "limits.h" | sed 'y%./+-%__p_%'`
2552 echo $ac_n "checking for limits.h""... $ac_c" 1>&6
2553 echo "configure:2554: checking for limits.h" >&5
2554 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2555 echo $ac_n "(cached) $ac_c" 1>&6
2557 cat > conftest.
$ac_ext <<EOF
2558 #line 2559 "configure"
2559 #include "confdefs.h"
2562 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2563 { (eval echo configure
:2564: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2564 ac_err
=`grep -v '^ *+' conftest.out`
2565 if test -z "$ac_err"; then
2567 eval "ac_cv_header_$ac_safe=yes"
2570 echo "configure: failed program was:" >&5
2571 cat conftest.
$ac_ext >&5
2573 eval "ac_cv_header_$ac_safe=no"
2577 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2578 echo "$ac_t""yes" 1>&6
2581 echo "$ac_t""no" 1>&6
2584 ac_safe
=`echo "sys/file.h" | sed 'y%./+-%__p_%'`
2585 echo $ac_n "checking for sys/file.h""... $ac_c" 1>&6
2586 echo "configure:2587: checking for sys/file.h" >&5
2587 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2588 echo $ac_n "(cached) $ac_c" 1>&6
2590 cat > conftest.
$ac_ext <<EOF
2591 #line 2592 "configure"
2592 #include "confdefs.h"
2593 #include <sys/file.h>
2595 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2596 { (eval echo configure
:2597: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2597 ac_err
=`grep -v '^ *+' conftest.out`
2598 if test -z "$ac_err"; then
2600 eval "ac_cv_header_$ac_safe=yes"
2603 echo "configure: failed program was:" >&5
2604 cat conftest.
$ac_ext >&5
2606 eval "ac_cv_header_$ac_safe=no"
2610 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2611 echo "$ac_t""yes" 1>&6
2614 echo "$ac_t""no" 1>&6
2617 ac_safe
=`echo "sys/time.h" | sed 'y%./+-%__p_%'`
2618 echo $ac_n "checking for sys/time.h""... $ac_c" 1>&6
2619 echo "configure:2620: checking for sys/time.h" >&5
2620 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2621 echo $ac_n "(cached) $ac_c" 1>&6
2623 cat > conftest.
$ac_ext <<EOF
2624 #line 2625 "configure"
2625 #include "confdefs.h"
2626 #include <sys/time.h>
2628 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2629 { (eval echo configure
:2630: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2630 ac_err
=`grep -v '^ *+' conftest.out`
2631 if test -z "$ac_err"; then
2633 eval "ac_cv_header_$ac_safe=yes"
2636 echo "configure: failed program was:" >&5
2637 cat conftest.
$ac_ext >&5
2639 eval "ac_cv_header_$ac_safe=no"
2643 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2644 echo "$ac_t""yes" 1>&6
2647 echo "$ac_t""no" 1>&6
2650 ac_safe
=`echo "unistd.h" | sed 'y%./+-%__p_%'`
2651 echo $ac_n "checking for unistd.h""... $ac_c" 1>&6
2652 echo "configure:2653: checking for unistd.h" >&5
2653 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2654 echo $ac_n "(cached) $ac_c" 1>&6
2656 cat > conftest.
$ac_ext <<EOF
2657 #line 2658 "configure"
2658 #include "confdefs.h"
2661 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2662 { (eval echo configure
:2663: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2663 ac_err
=`grep -v '^ *+' conftest.out`
2664 if test -z "$ac_err"; then
2666 eval "ac_cv_header_$ac_safe=yes"
2669 echo "configure: failed program was:" >&5
2670 cat conftest.
$ac_ext >&5
2672 eval "ac_cv_header_$ac_safe=no"
2676 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2677 echo "$ac_t""yes" 1>&6
2680 echo "$ac_t""no" 1>&6
2683 ac_safe
=`echo "linux/joystick.h" | sed 'y%./+-%__p_%'`
2684 echo $ac_n "checking for linux/joystick.h""... $ac_c" 1>&6
2685 echo "configure:2686: checking for linux/joystick.h" >&5
2686 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2687 echo $ac_n "(cached) $ac_c" 1>&6
2689 cat > conftest.
$ac_ext <<EOF
2690 #line 2691 "configure"
2691 #include "confdefs.h"
2692 #include <linux/joystick.h>
2694 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2695 { (eval echo configure
:2696: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2696 ac_err
=`grep -v '^ *+' conftest.out`
2697 if test -z "$ac_err"; then
2699 eval "ac_cv_header_$ac_safe=yes"
2702 echo "configure: failed program was:" >&5
2703 cat conftest.
$ac_ext >&5
2705 eval "ac_cv_header_$ac_safe=no"
2709 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2710 echo "$ac_t""yes" 1>&6
2713 echo "$ac_t""no" 1>&6
2717 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
2718 GTK_JOYSTICK
="gtk/joystick.cpp"
2722 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
2723 echo "configure:2724: checking for uid_t in sys/types.h" >&5
2724 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
2725 echo $ac_n "(cached) $ac_c" 1>&6
2727 cat > conftest.
$ac_ext <<EOF
2728 #line 2729 "configure"
2729 #include "confdefs.h"
2730 #include <sys/types.h>
2732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2733 egrep "uid_t" >/dev
/null
2>&1; then
2735 ac_cv_type_uid_t
=yes
2744 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
2745 if test $ac_cv_type_uid_t = no
; then
2746 cat >> confdefs.h
<<\EOF
2750 cat >> confdefs.h
<<\EOF
2756 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
2757 echo "configure:2758: checking type of array argument to getgroups" >&5
2758 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
2759 echo $ac_n "(cached) $ac_c" 1>&6
2761 if test "$cross_compiling" = yes; then
2762 ac_cv_type_getgroups
=cross
2764 cat > conftest.
$ac_ext <<EOF
2765 #line 2766 "configure"
2766 #include "confdefs.h"
2768 /* Thanks to Mike Rendell for this test. */
2769 #include <sys/types.h>
2772 #define MAX(x, y) ((x) > (y) ? (x) : (y))
2777 union { gid_t gval; long lval; } val;
2780 for (i = 0; i < NGID; i++)
2781 gidset[i] = val.gval;
2782 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
2784 /* Exit non-zero if getgroups seems to require an array of ints. This
2785 happens when gid_t is short but getgroups modifies an array of ints. */
2786 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
2790 if { (eval echo configure
:2791: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2792 ac_cv_type_getgroups
=gid_t
2794 echo "configure: failed program was:" >&5
2795 cat conftest.
$ac_ext >&5
2797 ac_cv_type_getgroups
=int
2802 if test $ac_cv_type_getgroups = cross
; then
2803 cat > conftest.
$ac_ext <<EOF
2804 #line 2805 "configure"
2805 #include "confdefs.h"
2808 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2809 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
2811 ac_cv_type_getgroups
=gid_t
2814 ac_cv_type_getgroups
=int
2821 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
2822 cat >> confdefs.h
<<EOF
2823 #define GETGROUPS_T $ac_cv_type_getgroups
2827 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
2828 echo "configure:2829: checking for mode_t" >&5
2829 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
2830 echo $ac_n "(cached) $ac_c" 1>&6
2832 cat > conftest.
$ac_ext <<EOF
2833 #line 2834 "configure"
2834 #include "confdefs.h"
2835 #include <sys/types.h>
2841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2842 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2844 ac_cv_type_mode_t
=yes
2847 ac_cv_type_mode_t
=no
2852 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
2853 if test $ac_cv_type_mode_t = no
; then
2854 cat >> confdefs.h
<<\EOF
2860 echo $ac_n "checking for off_t""... $ac_c" 1>&6
2861 echo "configure:2862: checking for off_t" >&5
2862 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
2863 echo $ac_n "(cached) $ac_c" 1>&6
2865 cat > conftest.
$ac_ext <<EOF
2866 #line 2867 "configure"
2867 #include "confdefs.h"
2868 #include <sys/types.h>
2874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2875 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2877 ac_cv_type_off_t
=yes
2885 echo "$ac_t""$ac_cv_type_off_t" 1>&6
2886 if test $ac_cv_type_off_t = no
; then
2887 cat >> confdefs.h
<<\EOF
2893 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
2894 echo "configure:2895: checking for pid_t" >&5
2895 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
2896 echo $ac_n "(cached) $ac_c" 1>&6
2898 cat > conftest.
$ac_ext <<EOF
2899 #line 2900 "configure"
2900 #include "confdefs.h"
2901 #include <sys/types.h>
2907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2908 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2910 ac_cv_type_pid_t
=yes
2918 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
2919 if test $ac_cv_type_pid_t = no
; then
2920 cat >> confdefs.h
<<\EOF
2926 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2927 echo "configure:2928: checking return type of signal handlers" >&5
2928 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2929 echo $ac_n "(cached) $ac_c" 1>&6
2931 cat > conftest.
$ac_ext <<EOF
2932 #line 2933 "configure"
2933 #include "confdefs.h"
2934 #include <sys/types.h>
2940 extern "C" void (*signal (int, void (*)(int)))(int);
2942 void (*signal ()) ();
2949 if { (eval echo configure
:2950: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2951 ac_cv_type_signal
=void
2953 echo "configure: failed program was:" >&5
2954 cat conftest.
$ac_ext >&5
2956 ac_cv_type_signal
=int
2961 echo "$ac_t""$ac_cv_type_signal" 1>&6
2962 cat >> confdefs.h
<<EOF
2963 #define RETSIGTYPE $ac_cv_type_signal
2967 echo $ac_n "checking for size_t""... $ac_c" 1>&6
2968 echo "configure:2969: checking for size_t" >&5
2969 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
2970 echo $ac_n "(cached) $ac_c" 1>&6
2972 cat > conftest.
$ac_ext <<EOF
2973 #line 2974 "configure"
2974 #include "confdefs.h"
2975 #include <sys/types.h>
2981 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2982 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2984 ac_cv_type_size_t
=yes
2987 ac_cv_type_size_t
=no
2992 echo "$ac_t""$ac_cv_type_size_t" 1>&6
2993 if test $ac_cv_type_size_t = no
; then
2994 cat >> confdefs.h
<<\EOF
2995 #define size_t unsigned
3000 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3001 echo "configure:3002: checking for uid_t in sys/types.h" >&5
3002 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3003 echo $ac_n "(cached) $ac_c" 1>&6
3005 cat > conftest.
$ac_ext <<EOF
3006 #line 3007 "configure"
3007 #include "confdefs.h"
3008 #include <sys/types.h>
3010 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3011 egrep "uid_t" >/dev
/null
2>&1; then
3013 ac_cv_type_uid_t
=yes
3022 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3023 if test $ac_cv_type_uid_t = no
; then
3024 cat >> confdefs.h
<<\EOF
3028 cat >> confdefs.h
<<\EOF
3036 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3037 echo "configure:3038: checking whether stat file-mode macros are broken" >&5
3038 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3039 echo $ac_n "(cached) $ac_c" 1>&6
3041 cat > conftest.
$ac_ext <<EOF
3042 #line 3043 "configure"
3043 #include "confdefs.h"
3044 #include <sys/types.h>
3045 #include <sys/stat.h>
3047 #if defined(S_ISBLK) && defined(S_IFDIR)
3048 # if S_ISBLK (S_IFDIR)
3053 #if defined(S_ISBLK) && defined(S_IFCHR)
3054 # if S_ISBLK (S_IFCHR)
3059 #if defined(S_ISLNK) && defined(S_IFREG)
3060 # if S_ISLNK (S_IFREG)
3065 #if defined(S_ISSOCK) && defined(S_IFREG)
3066 # if S_ISSOCK (S_IFREG)
3072 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3073 egrep "You lose" >/dev
/null
2>&1; then
3075 ac_cv_header_stat_broken
=yes
3078 ac_cv_header_stat_broken
=no
3084 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3085 if test $ac_cv_header_stat_broken = yes; then
3086 cat >> confdefs.h
<<\EOF
3087 #define STAT_MACROS_BROKEN 1
3092 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3093 echo "configure:3094: checking whether time.h and sys/time.h may both be included" >&5
3094 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3095 echo $ac_n "(cached) $ac_c" 1>&6
3097 cat > conftest.
$ac_ext <<EOF
3098 #line 3099 "configure"
3099 #include "confdefs.h"
3100 #include <sys/types.h>
3101 #include <sys/time.h>
3107 if { (eval echo configure
:3108: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3109 ac_cv_header_time
=yes
3111 echo "configure: failed program was:" >&5
3112 cat conftest.
$ac_ext >&5
3114 ac_cv_header_time
=no
3119 echo "$ac_t""$ac_cv_header_time" 1>&6
3120 if test $ac_cv_header_time = yes; then
3121 cat >> confdefs.h
<<\EOF
3122 #define TIME_WITH_SYS_TIME 1
3127 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3128 echo "configure:3129: checking for st_blksize in struct stat" >&5
3129 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3130 echo $ac_n "(cached) $ac_c" 1>&6
3132 cat > conftest.
$ac_ext <<EOF
3133 #line 3134 "configure"
3134 #include "confdefs.h"
3135 #include <sys/types.h>
3136 #include <sys/stat.h>
3138 struct stat s; s.st_blksize;
3141 if { (eval echo configure
:3142: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3143 ac_cv_struct_st_blksize
=yes
3145 echo "configure: failed program was:" >&5
3146 cat conftest.
$ac_ext >&5
3148 ac_cv_struct_st_blksize
=no
3153 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3154 if test $ac_cv_struct_st_blksize = yes; then
3155 cat >> confdefs.h
<<\EOF
3156 #define HAVE_ST_BLKSIZE 1
3161 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3162 echo "configure:3163: checking for st_blocks in struct stat" >&5
3163 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3164 echo $ac_n "(cached) $ac_c" 1>&6
3166 cat > conftest.
$ac_ext <<EOF
3167 #line 3168 "configure"
3168 #include "confdefs.h"
3169 #include <sys/types.h>
3170 #include <sys/stat.h>
3172 struct stat s; s.st_blocks;
3175 if { (eval echo configure
:3176: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3177 ac_cv_struct_st_blocks
=yes
3179 echo "configure: failed program was:" >&5
3180 cat conftest.
$ac_ext >&5
3182 ac_cv_struct_st_blocks
=no
3187 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3188 if test $ac_cv_struct_st_blocks = yes; then
3189 cat >> confdefs.h
<<\EOF
3190 #define HAVE_ST_BLOCKS 1
3194 LIBOBJS
="$LIBOBJS fileblocks.o"
3197 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3198 echo "configure:3199: checking for st_rdev in struct stat" >&5
3199 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
3200 echo $ac_n "(cached) $ac_c" 1>&6
3202 cat > conftest.
$ac_ext <<EOF
3203 #line 3204 "configure"
3204 #include "confdefs.h"
3205 #include <sys/types.h>
3206 #include <sys/stat.h>
3208 struct stat s; s.st_rdev;
3211 if { (eval echo configure
:3212: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3213 ac_cv_struct_st_rdev
=yes
3215 echo "configure: failed program was:" >&5
3216 cat conftest.
$ac_ext >&5
3218 ac_cv_struct_st_rdev
=no
3223 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
3224 if test $ac_cv_struct_st_rdev = yes; then
3225 cat >> confdefs.h
<<\EOF
3226 #define HAVE_ST_RDEV 1
3231 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3232 echo "configure:3233: checking whether struct tm is in sys/time.h or time.h" >&5
3233 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3234 echo $ac_n "(cached) $ac_c" 1>&6
3236 cat > conftest.
$ac_ext <<EOF
3237 #line 3238 "configure"
3238 #include "confdefs.h"
3239 #include <sys/types.h>
3242 struct tm *tp; tp->tm_sec;
3245 if { (eval echo configure
:3246: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3247 ac_cv_struct_tm
=time.h
3249 echo "configure: failed program was:" >&5
3250 cat conftest.
$ac_ext >&5
3252 ac_cv_struct_tm
=sys
/time.h
3257 echo "$ac_t""$ac_cv_struct_tm" 1>&6
3258 if test $ac_cv_struct_tm = sys
/time.h
; then
3259 cat >> confdefs.h
<<\EOF
3260 #define TM_IN_SYS_TIME 1
3265 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3266 echo "configure:3267: checking for tm_zone in struct tm" >&5
3267 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3268 echo $ac_n "(cached) $ac_c" 1>&6
3270 cat > conftest.
$ac_ext <<EOF
3271 #line 3272 "configure"
3272 #include "confdefs.h"
3273 #include <sys/types.h>
3274 #include <$ac_cv_struct_tm>
3276 struct tm tm; tm.tm_zone;
3279 if { (eval echo configure
:3280: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3281 ac_cv_struct_tm_zone
=yes
3283 echo "configure: failed program was:" >&5
3284 cat conftest.
$ac_ext >&5
3286 ac_cv_struct_tm_zone
=no
3291 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
3292 if test "$ac_cv_struct_tm_zone" = yes; then
3293 cat >> confdefs.h
<<\EOF
3294 #define HAVE_TM_ZONE 1
3298 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3299 echo "configure:3300: checking for tzname" >&5
3300 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
3301 echo $ac_n "(cached) $ac_c" 1>&6
3303 cat > conftest.
$ac_ext <<EOF
3304 #line 3305 "configure"
3305 #include "confdefs.h"
3307 #ifndef tzname /* For SGI. */
3308 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3314 if { (eval echo configure
:3315: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3316 ac_cv_var_tzname
=yes
3318 echo "configure: failed program was:" >&5
3319 cat conftest.
$ac_ext >&5
3326 echo "$ac_t""$ac_cv_var_tzname" 1>&6
3327 if test $ac_cv_var_tzname = yes; then
3328 cat >> confdefs.h
<<\EOF
3329 #define HAVE_TZNAME 1
3337 echo $ac_n "checking for working const""... $ac_c" 1>&6
3338 echo "configure:3339: checking for working const" >&5
3339 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3340 echo $ac_n "(cached) $ac_c" 1>&6
3342 cat > conftest.
$ac_ext <<EOF
3343 #line 3344 "configure"
3344 #include "confdefs.h"
3348 /* Ultrix mips cc rejects this. */
3349 typedef int charset[2]; const charset x;
3350 /* SunOS 4.1.1 cc rejects this. */
3351 char const *const *ccp;
3353 /* NEC SVR4.0.2 mips cc rejects this. */
3354 struct point {int x, y;};
3355 static struct point const zero = {0,0};
3356 /* AIX XL C 1.02.0.0 rejects this.
3357 It does not let you subtract one const X* pointer from another in an arm
3358 of an if-expression whose if-part is not a constant expression */
3359 const char *g = "string";
3360 ccp = &g + (g ? g-g : 0);
3361 /* HPUX 7.0 cc rejects these. */
3364 ccp = (char const *const *) p;
3365 { /* SCO 3.2v4 cc rejects this. */
3367 char const *s = 0 ? (char *) 0 : (char const *) 0;
3371 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3373 const int *foo = &x[0];
3376 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3377 typedef const int *iptr;
3381 { /* AIX XL C 1.02.0.0 rejects this saying
3382 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3383 struct s { int j; const int *ap[3]; };
3384 struct s *b; b->j = 5;
3386 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3392 if { (eval echo configure
:3393: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3396 echo "configure: failed program was:" >&5
3397 cat conftest.
$ac_ext >&5
3404 echo "$ac_t""$ac_cv_c_const" 1>&6
3405 if test $ac_cv_c_const = no
; then
3406 cat >> confdefs.h
<<\EOF
3412 echo $ac_n "checking for inline""... $ac_c" 1>&6
3413 echo "configure:3414: checking for inline" >&5
3414 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3415 echo $ac_n "(cached) $ac_c" 1>&6
3418 for ac_kw
in inline __inline__ __inline
; do
3419 cat > conftest.
$ac_ext <<EOF
3420 #line 3421 "configure"
3421 #include "confdefs.h"
3427 if { (eval echo configure
:3428: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3429 ac_cv_c_inline
=$ac_kw; break
3431 echo "configure: failed program was:" >&5
3432 cat conftest.
$ac_ext >&5
3439 echo "$ac_t""$ac_cv_c_inline" 1>&6
3440 case "$ac_cv_c_inline" in
3442 no
) cat >> confdefs.h
<<\EOF
3446 *) cat >> confdefs.h
<<EOF
3447 #define inline $ac_cv_c_inline
3452 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
3453 echo "configure:3454: checking whether char is unsigned" >&5
3454 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
3455 echo $ac_n "(cached) $ac_c" 1>&6
3457 if test "$GCC" = yes; then
3458 # GCC predefines this symbol on systems where it applies.
3459 cat > conftest.
$ac_ext <<EOF
3460 #line 3461 "configure"
3461 #include "confdefs.h"
3462 #ifdef __CHAR_UNSIGNED__
3467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3468 egrep "yes" >/dev
/null
2>&1; then
3470 ac_cv_c_char_unsigned
=yes
3473 ac_cv_c_char_unsigned
=no
3478 if test "$cross_compiling" = yes; then
3479 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3481 cat > conftest.
$ac_ext <<EOF
3482 #line 3483 "configure"
3483 #include "confdefs.h"
3484 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
3485 #if !defined(__STDC__) || __STDC__ != 1
3489 volatile char c = 255; exit(c < 0);
3492 if { (eval echo configure
:3493: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3494 ac_cv_c_char_unsigned
=yes
3496 echo "configure: failed program was:" >&5
3497 cat conftest.
$ac_ext >&5
3499 ac_cv_c_char_unsigned
=no
3507 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
3508 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3509 cat >> confdefs.h
<<\EOF
3510 #define __CHAR_UNSIGNED__ 1
3515 echo $ac_n "checking for long double""... $ac_c" 1>&6
3516 echo "configure:3517: checking for long double" >&5
3517 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
3518 echo $ac_n "(cached) $ac_c" 1>&6
3520 if test "$GCC" = yes; then
3521 ac_cv_c_long_double
=yes
3523 if test "$cross_compiling" = yes; then
3524 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3526 cat > conftest.
$ac_ext <<EOF
3527 #line 3528 "configure"
3528 #include "confdefs.h"
3530 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
3531 long double foo = 0.0;
3532 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3533 exit(sizeof(long double) < sizeof(double)); }
3535 if { (eval echo configure
:3536: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3537 ac_cv_c_long_double
=yes
3539 echo "configure: failed program was:" >&5
3540 cat conftest.
$ac_ext >&5
3542 ac_cv_c_long_double
=no
3550 echo "$ac_t""$ac_cv_c_long_double" 1>&6
3551 if test $ac_cv_c_long_double = yes; then
3552 cat >> confdefs.h
<<\EOF
3553 #define HAVE_LONG_DOUBLE 1
3559 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3560 echo "configure:3561: checking whether byte ordering is bigendian" >&5
3561 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3562 echo $ac_n "(cached) $ac_c" 1>&6
3564 ac_cv_c_bigendian
=unknown
3565 # See if sys/param.h defines the BYTE_ORDER macro.
3566 cat > conftest.
$ac_ext <<EOF
3567 #line 3568 "configure"
3568 #include "confdefs.h"
3569 #include <sys/types.h>
3570 #include <sys/param.h>
3573 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3578 if { (eval echo configure
:3579: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3580 # It does; now see whether it defined to BIG_ENDIAN or not.
3581 cat > conftest.
$ac_ext <<EOF
3582 #line 3583 "configure"
3583 #include "confdefs.h"
3584 #include <sys/types.h>
3585 #include <sys/param.h>
3588 #if BYTE_ORDER != BIG_ENDIAN
3593 if { (eval echo configure
:3594: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3595 ac_cv_c_bigendian
=yes
3597 echo "configure: failed program was:" >&5
3598 cat conftest.
$ac_ext >&5
3600 ac_cv_c_bigendian
=no
3604 echo "configure: failed program was:" >&5
3605 cat conftest.
$ac_ext >&5
3608 if test $ac_cv_c_bigendian = unknown
; then
3609 if test "$cross_compiling" = yes; then
3610 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3612 cat > conftest.
$ac_ext <<EOF
3613 #line 3614 "configure"
3614 #include "confdefs.h"
3616 /* Are we little or big endian? From Harbison&Steele. */
3620 char c[sizeof (long)];
3623 exit (u.c[sizeof (long) - 1] == 1);
3626 if { (eval echo configure
:3627: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3628 ac_cv_c_bigendian
=no
3630 echo "configure: failed program was:" >&5
3631 cat conftest.
$ac_ext >&5
3633 ac_cv_c_bigendian
=yes
3641 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
3642 if test $ac_cv_c_bigendian = yes; then
3643 cat >> confdefs.h
<<\EOF
3644 #define WORDS_BIGENDIAN 1
3650 echo $ac_n "checking size of int *""... $ac_c" 1>&6
3651 echo "configure:3652: checking size of int *" >&5
3652 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
3653 echo $ac_n "(cached) $ac_c" 1>&6
3655 if test "$cross_compiling" = yes; then
3656 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3658 cat > conftest.
$ac_ext <<EOF
3659 #line 3660 "configure"
3660 #include "confdefs.h"
3664 FILE *f=fopen("conftestval", "w");
3666 fprintf(f, "%d\n", sizeof(int *));
3670 if { (eval echo configure
:3671: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3672 ac_cv_sizeof_int_p
=`cat conftestval`
3674 echo "configure: failed program was:" >&5
3675 cat conftest.
$ac_ext >&5
3677 ac_cv_sizeof_int_p
=0
3683 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
3684 cat >> confdefs.h
<<EOF
3685 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
3689 echo $ac_n "checking size of int""... $ac_c" 1>&6
3690 echo "configure:3691: checking size of int" >&5
3691 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
3692 echo $ac_n "(cached) $ac_c" 1>&6
3694 if test "$cross_compiling" = yes; then
3695 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3697 cat > conftest.
$ac_ext <<EOF
3698 #line 3699 "configure"
3699 #include "confdefs.h"
3703 FILE *f=fopen("conftestval", "w");
3705 fprintf(f, "%d\n", sizeof(int));
3709 if { (eval echo configure
:3710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3711 ac_cv_sizeof_int
=`cat conftestval`
3713 echo "configure: failed program was:" >&5
3714 cat conftest.
$ac_ext >&5
3722 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
3723 cat >> confdefs.h
<<EOF
3724 #define SIZEOF_INT $ac_cv_sizeof_int
3728 echo $ac_n "checking size of long""... $ac_c" 1>&6
3729 echo "configure:3730: checking size of long" >&5
3730 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
3731 echo $ac_n "(cached) $ac_c" 1>&6
3733 if test "$cross_compiling" = yes; then
3734 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3736 cat > conftest.
$ac_ext <<EOF
3737 #line 3738 "configure"
3738 #include "confdefs.h"
3742 FILE *f=fopen("conftestval", "w");
3744 fprintf(f, "%d\n", sizeof(long));
3748 if { (eval echo configure
:3749: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3750 ac_cv_sizeof_long
=`cat conftestval`
3752 echo "configure: failed program was:" >&5
3753 cat conftest.
$ac_ext >&5
3761 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
3762 cat >> confdefs.h
<<EOF
3763 #define SIZEOF_LONG $ac_cv_sizeof_long
3773 UNIX_THREAD
="gtk/threadno.cpp"
3775 # Check whether --with-threads or --without-threads was given.
3776 if test "${with_threads+set}" = set; then
3777 withval
="$with_threads"
3778 USE_THREADS
="$withval"
3782 if test "$USE_THREADS" = "1"; then
3784 echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
3785 echo "configure:3786: checking for pthread_create in -lpthread-0.7" >&5
3786 ac_lib_var
=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
3787 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3788 echo $ac_n "(cached) $ac_c" 1>&6
3790 ac_save_LIBS
="$LIBS"
3791 LIBS
="-lpthread-0.7 $LIBS"
3792 cat > conftest.
$ac_ext <<EOF
3793 #line 3794 "configure"
3794 #include "confdefs.h"
3795 /* Override any gcc2 internal prototype to avoid an error. */
3796 /* We use char because int might match the return type of a gcc2
3797 builtin and then its argument prototype would still apply. */
3798 char pthread_create();
3804 if { (eval echo configure
:3805: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3806 eval "ac_cv_lib_$ac_lib_var=yes"
3808 echo "configure: failed program was:" >&5
3809 cat conftest.
$ac_ext >&5
3811 eval "ac_cv_lib_$ac_lib_var=no"
3814 LIBS
="$ac_save_LIBS"
3817 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3818 echo "$ac_t""yes" 1>&6
3820 UNIX_THREAD
="gtk/threadpsx.cpp"
3821 THREADS_LINK
="-lpthread-0.7"
3822 cat >> confdefs.h
<<\EOF
3823 #define USE_THREADS 1
3828 echo "$ac_t""no" 1>&6
3830 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
3831 echo "configure:3832: checking for pthread_create in -lpthread" >&5
3832 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
3833 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3834 echo $ac_n "(cached) $ac_c" 1>&6
3836 ac_save_LIBS
="$LIBS"
3837 LIBS
="-lpthread $LIBS"
3838 cat > conftest.
$ac_ext <<EOF
3839 #line 3840 "configure"
3840 #include "confdefs.h"
3841 /* Override any gcc2 internal prototype to avoid an error. */
3842 /* We use char because int might match the return type of a gcc2
3843 builtin and then its argument prototype would still apply. */
3844 char pthread_create();
3850 if { (eval echo configure
:3851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3852 eval "ac_cv_lib_$ac_lib_var=yes"
3854 echo "configure: failed program was:" >&5
3855 cat conftest.
$ac_ext >&5
3857 eval "ac_cv_lib_$ac_lib_var=no"
3860 LIBS
="$ac_save_LIBS"
3863 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3864 echo "$ac_t""yes" 1>&6
3866 UNIX_THREAD
="gtk/threadpsx.cpp"
3867 THREADS_LINK
="-lpthread"
3868 cat >> confdefs.h
<<\EOF
3869 #define USE_THREADS 1
3874 echo "$ac_t""no" 1>&6
3880 echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
3881 echo "configure:3882: checking for pthread_create in -lpthreads" >&5
3882 ac_lib_var
=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'`
3883 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3884 echo $ac_n "(cached) $ac_c" 1>&6
3886 ac_save_LIBS
="$LIBS"
3887 LIBS
="-lpthreads $LIBS"
3888 cat > conftest.
$ac_ext <<EOF
3889 #line 3890 "configure"
3890 #include "confdefs.h"
3891 /* Override any gcc2 internal prototype to avoid an error. */
3892 /* We use char because int might match the return type of a gcc2
3893 builtin and then its argument prototype would still apply. */
3894 char pthread_create();
3900 if { (eval echo configure
:3901: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3902 eval "ac_cv_lib_$ac_lib_var=yes"
3904 echo "configure: failed program was:" >&5
3905 cat conftest.
$ac_ext >&5
3907 eval "ac_cv_lib_$ac_lib_var=no"
3910 LIBS
="$ac_save_LIBS"
3913 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3914 echo "$ac_t""yes" 1>&6
3916 UNIX_THREAD
="gtk/threadpsx.cpp"
3917 THREADS_LINK
="-lpthreads"
3918 cat >> confdefs.h
<<\EOF
3919 #define USE_THREADS 1
3924 echo "$ac_t""no" 1>&6
3927 echo $ac_n "checking for sproc""... $ac_c" 1>&6
3928 echo "configure:3929: checking for sproc" >&5
3929 if eval "test \"`echo '$''{'ac_cv_func_sproc'+set}'`\" = set"; then
3930 echo $ac_n "(cached) $ac_c" 1>&6
3932 cat > conftest.
$ac_ext <<EOF
3933 #line 3934 "configure"
3934 #include "confdefs.h"
3935 /* System header to define __stub macros and hopefully few prototypes,
3936 which can conflict with char sproc(); below. */
3938 /* Override any gcc2 internal prototype to avoid an error. */
3939 /* We use char because int might match the return type of a gcc2
3940 builtin and then its argument prototype would still apply. */
3945 /* The GNU C library defines this for functions which it implements
3946 to always fail with ENOSYS. Some functions are actually named
3947 something starting with __ and the normal name is an alias. */
3948 #if defined (__stub_sproc) || defined (__stub___sproc)
3956 if { (eval echo configure
:3957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3958 eval "ac_cv_func_sproc=yes"
3960 echo "configure: failed program was:" >&5
3961 cat conftest.
$ac_ext >&5
3963 eval "ac_cv_func_sproc=no"
3968 if eval "test \"`echo '$ac_cv_func_'sproc`\" = yes"; then
3969 echo "$ac_t""yes" 1>&6
3971 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
3972 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
3973 echo "configure:3974: checking for sys/prctl.h" >&5
3974 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3975 echo $ac_n "(cached) $ac_c" 1>&6
3977 cat > conftest.
$ac_ext <<EOF
3978 #line 3979 "configure"
3979 #include "confdefs.h"
3980 #include <sys/prctl.h>
3982 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3983 { (eval echo configure
:3984: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3984 ac_err
=`grep -v '^ *+' conftest.out`
3985 if test -z "$ac_err"; then
3987 eval "ac_cv_header_$ac_safe=yes"
3990 echo "configure: failed program was:" >&5
3991 cat conftest.
$ac_ext >&5
3993 eval "ac_cv_header_$ac_safe=no"
3997 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3998 echo "$ac_t""yes" 1>&6
4000 UNIX_THREAD
="gtk/threadsgi.cpp"
4001 cat >> confdefs.h
<<\EOF
4002 #define USE_THREADS 1
4007 echo "$ac_t""no" 1>&6
4012 echo "$ac_t""no" 1>&6
4020 echo $ac_n "checking for long file names""... $ac_c" 1>&6
4021 echo "configure:4022: checking for long file names" >&5
4022 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
4023 echo $ac_n "(cached) $ac_c" 1>&6
4025 ac_cv_sys_long_file_names
=yes
4026 # Test for long file names in all the places we know might matter:
4027 # . the current directory, where building will happen
4028 # $prefix/lib where we will be installing things
4029 # $exec_prefix/lib likewise
4030 # eval it to expand exec_prefix.
4031 # $TMPDIR if set, where it might want to write temporary files
4032 # if $TMPDIR is not set:
4033 # /tmp where it might want to write temporary files
4036 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
4037 ac_tmpdirs
="$TMPDIR"
4039 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
4041 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
4042 test -d $ac_dir || continue
4043 test -w $ac_dir || continue # It is less confusing to not echo anything here.
4044 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
4045 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
4046 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
4047 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
4048 ac_cv_sys_long_file_names
=no
4049 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4052 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4056 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
4057 if test $ac_cv_sys_long_file_names = yes; then
4058 cat >> confdefs.h
<<\EOF
4059 #define HAVE_LONG_FILE_NAMES 1
4067 for ac_prog
in 'bison -y' byacc
4069 # Extract the first word of "$ac_prog", so it can be a program name with args.
4070 set dummy
$ac_prog; ac_word
=$2
4071 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4072 echo "configure:4073: checking for $ac_word" >&5
4073 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
4074 echo $ac_n "(cached) $ac_c" 1>&6
4076 if test -n "$YACC"; then
4077 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4079 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4080 for ac_dir
in $PATH; do
4081 test -z "$ac_dir" && ac_dir
=.
4082 if test -f $ac_dir/$ac_word; then
4083 ac_cv_prog_YACC
="$ac_prog"
4090 YACC
="$ac_cv_prog_YACC"
4091 if test -n "$YACC"; then
4092 echo "$ac_t""$YACC" 1>&6
4094 echo "$ac_t""no" 1>&6
4097 test -n "$YACC" && break
4099 test -n "$YACC" || YACC
="yacc"
4102 # Extract the first word of "flex", so it can be a program name with args.
4103 set dummy flex
; ac_word
=$2
4104 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4105 echo "configure:4106: checking for $ac_word" >&5
4106 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
4107 echo $ac_n "(cached) $ac_c" 1>&6
4109 if test -n "$LEX"; then
4110 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4112 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4113 for ac_dir
in $PATH; do
4114 test -z "$ac_dir" && ac_dir
=.
4115 if test -f $ac_dir/$ac_word; then
4116 ac_cv_prog_LEX
="flex"
4121 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
4124 LEX
="$ac_cv_prog_LEX"
4125 if test -n "$LEX"; then
4126 echo "$ac_t""$LEX" 1>&6
4128 echo "$ac_t""no" 1>&6
4131 if test -z "$LEXLIB"
4137 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
4138 echo "configure:4139: checking for yywrap in -l$ac_lib" >&5
4139 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
4140 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4141 echo $ac_n "(cached) $ac_c" 1>&6
4143 ac_save_LIBS
="$LIBS"
4144 LIBS
="-l$ac_lib $LIBS"
4145 cat > conftest.
$ac_ext <<EOF
4146 #line 4147 "configure"
4147 #include "confdefs.h"
4148 /* Override any gcc2 internal prototype to avoid an error. */
4149 /* We use char because int might match the return type of a gcc2
4150 builtin and then its argument prototype would still apply. */
4157 if { (eval echo configure
:4158: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4159 eval "ac_cv_lib_$ac_lib_var=yes"
4161 echo "configure: failed program was:" >&5
4162 cat conftest.
$ac_ext >&5
4164 eval "ac_cv_lib_$ac_lib_var=no"
4167 LIBS
="$ac_save_LIBS"
4170 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4171 echo "$ac_t""yes" 1>&6
4174 echo "$ac_t""no" 1>&6
4179 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
4180 echo "configure:4181: checking lex output file root" >&5
4181 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
4182 echo $ac_n "(cached) $ac_c" 1>&6
4184 # The minimal lex program is just a single line: %%. But some broken lexes
4185 # (Solaris, I think it was) want two %% lines, so accommodate them.
4188 if test -f lex.yy.c
; then
4189 ac_cv_prog_lex_root
=lex.yy
4190 elif test -f lexyy.c
; then
4191 ac_cv_prog_lex_root
=lexyy
4193 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
4197 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
4198 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4200 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
4201 echo "configure:4202: checking whether yytext is a pointer" >&5
4202 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
4203 echo $ac_n "(cached) $ac_c" 1>&6
4205 # POSIX says lex can declare yytext either as a pointer or an array; the
4206 # default is implementation-dependent. Figure out which it is, since
4207 # not all implementations provide the %pointer and %array declarations.
4208 ac_cv_prog_lex_yytext_pointer
=no
4209 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4210 ac_save_LIBS
="$LIBS"
4211 LIBS
="$LIBS $LEXLIB"
4212 cat > conftest.
$ac_ext <<EOF
4213 #line 4214 "configure"
4214 #include "confdefs.h"
4215 `cat $LEX_OUTPUT_ROOT.c`
4220 if { (eval echo configure
:4221: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4222 ac_cv_prog_lex_yytext_pointer
=yes
4224 echo "configure: failed program was:" >&5
4225 cat conftest.
$ac_ext >&5
4228 LIBS
="$ac_save_LIBS"
4229 rm -f "${LEX_OUTPUT_ROOT}.c"
4233 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
4234 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4235 cat >> confdefs.h
<<\EOF
4236 #define YYTEXT_POINTER 1
4243 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
4244 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
4248 # Make sure we can run config.sub.
4249 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
4250 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4253 echo $ac_n "checking host system type""... $ac_c" 1>&6
4254 echo "configure:4255: checking host system type" >&5
4257 case "$host_alias" in
4261 if host_alias
=`$ac_config_guess`; then :
4262 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4264 *) host_alias
=$nonopt ;;
4268 host=`$ac_config_sub $host_alias`
4269 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4270 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4271 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4272 echo "$ac_t""$host" 1>&6
4275 configuration
=$host_alias
4282 TOOLKIT_DEF
=__WXGTK__
4301 case "${canonical}" in
4304 cat >> confdefs.h
<<\EOF
4311 cat >> confdefs.h
<<\EOF
4316 *-*-irix5* | *-*-irix6* )
4319 cat >> confdefs.h
<<\EOF
4323 cat >> confdefs.h
<<\EOF
4332 cat >> confdefs.h
<<\EOF
4336 cat >> confdefs.h
<<\EOF
4337 #define __SOLARIS__ 1
4340 cat >> confdefs.h
<<\EOF
4349 cat >> confdefs.h
<<\EOF
4353 cat >> confdefs.h
<<\EOF
4357 cat >> confdefs.h
<<\EOF
4362 *-*-freebsd* | *-*-netbsd*)
4365 cat >> confdefs.h
<<\EOF
4366 #define __FREEBSD__ 1
4369 cat >> confdefs.h
<<\EOF
4377 cat >> confdefs.h
<<\EOF
4381 cat >> confdefs.h
<<\EOF
4389 cat >> confdefs.h
<<\EOF
4393 cat >> confdefs.h
<<\EOF
4401 cat >> confdefs.h
<<\EOF
4405 cat >> confdefs.h
<<\EOF
4414 cat >> confdefs.h
<<\EOF
4418 cat >> confdefs.h
<<\EOF
4422 cat >> confdefs.h
<<\EOF
4428 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
4433 rm -f ${OSTYPE}.system.cache.tmp
4434 touch ${OSTYPE}.system.cache.tmp
4435 touch ${OSTYPE}.system.cache
4438 DEFAULT_USE_SHARED
=0
4439 DEFAULT_USE_OPTIMISE
=1
4440 DEFAULT_USE_PROFILE
=0
4441 DEFAULT_USE_DEBUG_FLAG
=0
4442 DEFAULT_USE_DEBUG_INFO
=0
4443 DEFAULT_USE_MEM_TRACING
=0
4446 DEFAULT_USE_GDK_IMLIB
=1
4447 DEFAULT_USE_LIBPNG
=1
4449 DEFAULT_USE_APPLE_IEEE
=1
4450 DEFAULT_USE_STORABLE_CLASSES
=1
4451 DEFAULT_USE_AUTOTRANS
=1
4452 DEFAULT_USE_AFM_FOR_POSTSCRIPT
=1
4453 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
4455 DEFAULT_USE_IOSTREAMH
=1
4457 DEFAULT_USE_OPENGL
=0
4459 DEFAULT_USE_WXCONFIG
=1
4460 DEFAULT_USE_POSTSCRIPT
=1
4462 DEFAULT_USE_RESOURCES
=1
4463 DEFAULT_USE_TIMEDATE
=1
4464 DEFAULT_USE_FRACTION
=1
4465 DEFAULT_USE_CONSTRAINTS
=1
4466 DEFAULT_USE_TOOLBAR
=1
4468 DEFAULT_USE_SCROLLBAR
=1
4469 DEFAULT_USE_DOC_VIEW_ARCHITECTURE
=1
4470 DEFAULT_USE_PRINTING_ARCHITECTURE
=1
4472 DEFAULT_USE_METAFILE
=0
4474 DEFAULT_USE_CLIPBOARD
=0
4476 DEFAULT_USE_WXGRAPH
=0
4477 DEFAULT_USE_WXTREE
=0
4478 DEFAULT_USE_ENHANCED_DIALOG
=0
4481 DEFAULT_USE_PROLOGIO
=1
4483 DEFAULT_USE_WX_RESOURCES
=1
4487 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
4488 echo "configure:4489: checking "for shared
"" >&5
4489 # Check whether --with-shared or --without-shared was given.
4490 if test "${with_shared+set}" = set; then
4491 withval
="$with_shared"
4492 if test "x$with_shared" = xyes
; then
4493 ac_cv_use_shared
='USE_SHARED="1"'
4495 ac_cv_use_shared
='USE_SHARED="0"'
4499 LINE
=`grep "USE_SHARED" ${OSTYPE}.system.cache`
4500 if test "x$LINE" != x
; then
4501 eval "DEFAULT_$LINE"
4503 ac_cv_use_shared
='USE_SHARED='$DEFAULT_USE_SHARED
4507 eval "$ac_cv_use_shared"
4508 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
4509 if test "$USE_SHARED" = 1; then
4510 echo "$ac_t""yes" 1>&6
4512 echo "$ac_t""no" 1>&6
4517 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
4518 echo "configure:4519: checking "for optimise
"" >&5
4519 # Check whether --with-optimise or --without-optimise was given.
4520 if test "${with_optimise+set}" = set; then
4521 withval
="$with_optimise"
4522 if test "x$with_optimise" = xyes
; then
4523 ac_cv_use_optimise
='USE_OPTIMISE="1"'
4525 ac_cv_use_optimise
='USE_OPTIMISE="0"'
4529 LINE
=`grep "USE_OPTIMISE" ${OSTYPE}.system.cache`
4530 if test "x$LINE" != x
; then
4531 eval "DEFAULT_$LINE"
4533 ac_cv_use_optimise
='USE_OPTIMISE='$DEFAULT_USE_OPTIMISE
4537 eval "$ac_cv_use_optimise"
4538 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
4539 if test "$USE_OPTIMISE" = 1; then
4540 echo "$ac_t""yes" 1>&6
4542 echo "$ac_t""no" 1>&6
4547 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
4548 echo "configure:4549: checking "for debug_flag
"" >&5
4549 # Check whether --with-debug_flag or --without-debug_flag was given.
4550 if test "${with_debug_flag+set}" = set; then
4551 withval
="$with_debug_flag"
4552 if test "x$with_debug_flag" = xyes
; then
4553 ac_cv_use_debug_flag
='USE_DEBUG_FLAG="1"'
4555 ac_cv_use_debug_flag
='USE_DEBUG_FLAG="0"'
4559 LINE
=`grep "USE_DEBUG_FLAG" ${OSTYPE}.system.cache`
4560 if test "x$LINE" != x
; then
4561 eval "DEFAULT_$LINE"
4563 ac_cv_use_debug_flag
='USE_DEBUG_FLAG='$DEFAULT_USE_DEBUG_FLAG
4567 eval "$ac_cv_use_debug_flag"
4568 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
4569 if test "$USE_DEBUG_FLAG" = 1; then
4570 echo "$ac_t""yes" 1>&6
4572 echo "$ac_t""no" 1>&6
4577 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
4578 echo "configure:4579: checking "for debug_info
"" >&5
4579 # Check whether --with-debug_info or --without-debug_info was given.
4580 if test "${with_debug_info+set}" = set; then
4581 withval
="$with_debug_info"
4582 if test "x$with_debug_info" = xyes
; then
4583 ac_cv_use_debug_info
='USE_DEBUG_INFO="1"'
4585 ac_cv_use_debug_info
='USE_DEBUG_INFO="0"'
4589 LINE
=`grep "USE_DEBUG_INFO" ${OSTYPE}.system.cache`
4590 if test "x$LINE" != x
; then
4591 eval "DEFAULT_$LINE"
4593 ac_cv_use_debug_info
='USE_DEBUG_INFO='$DEFAULT_USE_DEBUG_INFO
4597 eval "$ac_cv_use_debug_info"
4598 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
4599 if test "$USE_DEBUG_INFO" = 1; then
4600 echo "$ac_t""yes" 1>&6
4602 echo "$ac_t""no" 1>&6
4607 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
4608 echo "configure:4609: checking "for mem_tracing
"" >&5
4609 # Check whether --with-mem_tracing or --without-mem_tracing was given.
4610 if test "${with_mem_tracing+set}" = set; then
4611 withval
="$with_mem_tracing"
4612 if test "x$with_mem_tracing" = xyes
; then
4613 ac_cv_use_mem_tracing
='USE_MEM_TRACING="1"'
4615 ac_cv_use_mem_tracing
='USE_MEM_TRACING="0"'
4619 LINE
=`grep "USE_MEM_TRACING" ${OSTYPE}.system.cache`
4620 if test "x$LINE" != x
; then
4621 eval "DEFAULT_$LINE"
4623 ac_cv_use_mem_tracing
='USE_MEM_TRACING='$DEFAULT_USE_MEM_TRACING
4627 eval "$ac_cv_use_mem_tracing"
4628 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
4629 if test "$USE_MEM_TRACING" = 1; then
4630 echo "$ac_t""yes" 1>&6
4632 echo "$ac_t""no" 1>&6
4637 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
4638 echo "configure:4639: checking "for profile
"" >&5
4639 # Check whether --with-profile or --without-profile was given.
4640 if test "${with_profile+set}" = set; then
4641 withval
="$with_profile"
4642 if test "x$with_profile" = xyes
; then
4643 ac_cv_use_profile
='USE_PROFILE="1"'
4645 ac_cv_use_profile
='USE_PROFILE="0"'
4649 LINE
=`grep "USE_PROFILE" ${OSTYPE}.system.cache`
4650 if test "x$LINE" != x
; then
4651 eval "DEFAULT_$LINE"
4653 ac_cv_use_profile
='USE_PROFILE='$DEFAULT_USE_PROFILE
4657 eval "$ac_cv_use_profile"
4658 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
4659 if test "$USE_PROFILE" = 1; then
4660 echo "$ac_t""yes" 1>&6
4662 echo "$ac_t""no" 1>&6
4668 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
4669 echo "configure:4670: checking "for zlib
"" >&5
4670 # Check whether --with-zlib or --without-zlib was given.
4671 if test "${with_zlib+set}" = set; then
4672 withval
="$with_zlib"
4673 if test "x$with_zlib" = xyes
; then
4674 ac_cv_use_zlib
='USE_ZLIB="1"'
4676 ac_cv_use_zlib
='USE_ZLIB="0"'
4680 LINE
=`grep "USE_ZLIB" ${OSTYPE}.system.cache`
4681 if test "x$LINE" != x
; then
4682 eval "DEFAULT_$LINE"
4684 ac_cv_use_zlib
='USE_ZLIB='$DEFAULT_USE_ZLIB
4688 eval "$ac_cv_use_zlib"
4689 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
4690 if test "$USE_ZLIB" = 1; then
4691 echo "$ac_t""yes" 1>&6
4693 echo "$ac_t""no" 1>&6
4698 echo $ac_n "checking "for gdk_imlib
"""... $ac_c" 1>&6
4699 echo "configure:4700: checking "for gdk_imlib
"" >&5
4700 # Check whether --with-gdk_imlib or --without-gdk_imlib was given.
4701 if test "${with_gdk_imlib+set}" = set; then
4702 withval
="$with_gdk_imlib"
4703 if test "x$with_gdk_imlib" = xyes
; then
4704 ac_cv_use_gdk_imlib
='USE_GDK_IMLIB="1"'
4706 ac_cv_use_gdk_imlib
='USE_GDK_IMLIB="0"'
4710 LINE
=`grep "USE_GDK_IMLIB" ${OSTYPE}.system.cache`
4711 if test "x$LINE" != x
; then
4712 eval "DEFAULT_$LINE"
4714 ac_cv_use_gdk_imlib
='USE_GDK_IMLIB='$DEFAULT_USE_GDK_IMLIB
4718 eval "$ac_cv_use_gdk_imlib"
4719 echo $ac_cv_use_gdk_imlib >> ${OSTYPE}.system.cache.tmp
4720 if test "$USE_GDK_IMLIB" = 1; then
4721 echo "$ac_t""yes" 1>&6
4723 echo "$ac_t""no" 1>&6
4728 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
4729 echo "configure:4730: checking "for libpng
"" >&5
4730 # Check whether --with-libpng or --without-libpng was given.
4731 if test "${with_libpng+set}" = set; then
4732 withval
="$with_libpng"
4733 if test "x$with_libpng" = xyes
; then
4734 ac_cv_use_libpng
='USE_LIBPNG="1"'
4736 ac_cv_use_libpng
='USE_LIBPNG="0"'
4740 LINE
=`grep "USE_LIBPNG" ${OSTYPE}.system.cache`
4741 if test "x$LINE" != x
; then
4742 eval "DEFAULT_$LINE"
4744 ac_cv_use_libpng
='USE_LIBPNG='$DEFAULT_USE_LIBPNG
4748 eval "$ac_cv_use_libpng"
4749 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
4750 if test "$USE_LIBPNG" = 1; then
4751 echo "$ac_t""yes" 1>&6
4753 echo "$ac_t""no" 1>&6
4758 echo $ac_n "checking "for opengl
"""... $ac_c" 1>&6
4759 echo "configure:4760: checking "for opengl
"" >&5
4760 # Check whether --with-opengl or --without-opengl was given.
4761 if test "${with_opengl+set}" = set; then
4762 withval
="$with_opengl"
4763 if test "x$with_opengl" = xyes
; then
4764 ac_cv_use_opengl
='USE_OPENGL="1"'
4766 ac_cv_use_opengl
='USE_OPENGL="0"'
4770 LINE
=`grep "USE_OPENGL" ${OSTYPE}.system.cache`
4771 if test "x$LINE" != x
; then
4772 eval "DEFAULT_$LINE"
4774 ac_cv_use_opengl
='USE_OPENGL='$DEFAULT_USE_OPENGL
4778 eval "$ac_cv_use_opengl"
4779 echo $ac_cv_use_opengl >> ${OSTYPE}.system.cache.tmp
4780 if test "$USE_OPENGL" = 1; then
4781 echo "$ac_t""yes" 1>&6
4783 echo "$ac_t""no" 1>&6
4789 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6
4790 echo "configure:4791: checking "for apple_ieee
"" >&5
4791 # Check whether --with-apple_ieee or --without-apple_ieee was given.
4792 if test "${with_apple_ieee+set}" = set; then
4793 withval
="$with_apple_ieee"
4794 if test "x$with_apple_ieee" = xyes
; then
4795 ac_cv_use_apple_ieee
='USE_APPLE_IEEE="1"'
4797 ac_cv_use_apple_ieee
='USE_APPLE_IEEE="0"'
4801 LINE
=`grep "USE_APPLE_IEEE" ${OSTYPE}.system.cache`
4802 if test "x$LINE" != x
; then
4803 eval "DEFAULT_$LINE"
4805 ac_cv_use_apple_ieee
='USE_APPLE_IEEE='$DEFAULT_USE_APPLE_IEEE
4809 eval "$ac_cv_use_apple_ieee"
4810 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
4811 if test "$USE_APPLE_IEEE" = 1; then
4812 echo "$ac_t""yes" 1>&6
4814 echo "$ac_t""no" 1>&6
4819 echo $ac_n "checking "for storable
"""... $ac_c" 1>&6
4820 echo "configure:4821: checking "for storable
"" >&5
4821 # Check whether --with-storable or --without-storable was given.
4822 if test "${with_storable+set}" = set; then
4823 withval
="$with_storable"
4824 if test "x$with_storable" = xyes
; then
4825 ac_cv_use_storable
='USE_STORABLE_CLASSES="1"'
4827 ac_cv_use_storable
='USE_STORABLE_CLASSES="0"'
4831 LINE
=`grep "USE_STORABLE_CLASSES" ${OSTYPE}.system.cache`
4832 if test "x$LINE" != x
; then
4833 eval "DEFAULT_$LINE"
4835 ac_cv_use_storable
='USE_STORABLE_CLASSES='$DEFAULT_USE_STORABLE_CLASSES
4839 eval "$ac_cv_use_storable"
4840 echo $ac_cv_use_storable >> ${OSTYPE}.system.cache.tmp
4841 if test "$USE_STORABLE_CLASSES" = 1; then
4842 echo "$ac_t""yes" 1>&6
4844 echo "$ac_t""no" 1>&6
4849 echo $ac_n "checking "for autotrans
"""... $ac_c" 1>&6
4850 echo "configure:4851: checking "for autotrans
"" >&5
4851 # Check whether --with-autotrans or --without-autotrans was given.
4852 if test "${with_autotrans+set}" = set; then
4853 withval
="$with_autotrans"
4854 if test "x$with_autotrans" = xyes
; then
4855 ac_cv_use_autotrans
='USE_AUTOTRANS="1"'
4857 ac_cv_use_autotrans
='USE_AUTOTRANS="0"'
4861 LINE
=`grep "USE_AUTOTRANS" ${OSTYPE}.system.cache`
4862 if test "x$LINE" != x
; then
4863 eval "DEFAULT_$LINE"
4865 ac_cv_use_autotrans
='USE_AUTOTRANS='$DEFAULT_USE_AUTOTRANS
4869 eval "$ac_cv_use_autotrans"
4870 echo $ac_cv_use_autotrans >> ${OSTYPE}.system.cache.tmp
4871 if test "$USE_AUTOTRANS" = 1; then
4872 echo "$ac_t""yes" 1>&6
4874 echo "$ac_t""no" 1>&6
4879 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
4880 echo "configure:4881: checking "for afmfonts
"" >&5
4881 # Check whether --with-afmfonts or --without-afmfonts was given.
4882 if test "${with_afmfonts+set}" = set; then
4883 withval
="$with_afmfonts"
4884 if test "x$with_afmfonts" = xyes
; then
4885 ac_cv_use_afmfonts
='USE_AFM_FOR_POSTSCRIPT="1"'
4887 ac_cv_use_afmfonts
='USE_AFM_FOR_POSTSCRIPT="0"'
4891 LINE
=`grep "USE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
4892 if test "x$LINE" != x
; then
4893 eval "DEFAULT_$LINE"
4895 ac_cv_use_afmfonts
='USE_AFM_FOR_POSTSCRIPT='$DEFAULT_USE_AFM_FOR_POSTSCRIPT
4899 eval "$ac_cv_use_afmfonts"
4900 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
4901 if test "$USE_AFM_FOR_POSTSCRIPT" = 1; then
4902 echo "$ac_t""yes" 1>&6
4904 echo "$ac_t""no" 1>&6
4909 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
4910 echo "configure:4911: checking "for normalized
"" >&5
4911 # Check whether --with-normalized or --without-normalized was given.
4912 if test "${with_normalized+set}" = set; then
4913 withval
="$with_normalized"
4914 if test "x$with_normalized" = xyes
; then
4915 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
4917 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
4921 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
4922 if test "x$LINE" != x
; then
4923 eval "DEFAULT_$LINE"
4925 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
4929 eval "$ac_cv_use_normalized"
4930 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
4931 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
4932 echo "$ac_t""yes" 1>&6
4934 echo "$ac_t""no" 1>&6
4939 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
4940 echo "configure:4941: checking "for RPC
"" >&5
4941 # Check whether --with-rpc or --without-rpc was given.
4942 if test "${with_rpc+set}" = set; then
4944 if test "x$with_rpc" = xyes
; then
4945 ac_cv_use_rpc
='USE_RPC="1"'
4947 ac_cv_use_rpc
='USE_RPC="0"'
4951 LINE
=`grep "USE_RPC" ${OSTYPE}.system.cache`
4952 if test "x$LINE" != x
; then
4953 eval "DEFAULT_$LINE"
4955 ac_cv_use_rpc
='USE_RPC='$DEFAULT_USE_RPC
4959 eval "$ac_cv_use_rpc"
4960 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
4961 if test "$USE_RPC" = 1; then
4962 echo "$ac_t""yes" 1>&6
4964 echo "$ac_t""no" 1>&6
4969 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
4970 echo "configure:4971: checking "for wxresources
"" >&5
4971 # Check whether --with-wxresources or --without-wxresources was given.
4972 if test "${with_wxresources+set}" = set; then
4973 withval
="$with_wxresources"
4974 if test "x$with_wxresources" = xyes
; then
4975 ac_cv_use_wxresources
='USE_WX_RESOURCES="1"'
4977 ac_cv_use_wxresources
='USE_WX_RESOURCES="0"'
4981 LINE
=`grep "USE_WX_RESOURCES" ${OSTYPE}.system.cache`
4982 if test "x$LINE" != x
; then
4983 eval "DEFAULT_$LINE"
4985 ac_cv_use_wxresources
='USE_WX_RESOURCES='$DEFAULT_USE_WX_RESOURCES
4989 eval "$ac_cv_use_wxresources"
4990 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
4991 if test "$USE_WX_RESOURCES" = 1; then
4992 echo "$ac_t""yes" 1>&6
4994 echo "$ac_t""no" 1>&6
4999 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
5000 echo "configure:5001: checking "for prologio
"" >&5
5001 # Check whether --with-prologio or --without-prologio was given.
5002 if test "${with_prologio+set}" = set; then
5003 withval
="$with_prologio"
5004 if test "x$with_prologio" = xyes
; then
5005 ac_cv_use_prologio
='USE_PROLOGIO="1"'
5007 ac_cv_use_prologio
='USE_PROLOGIO="0"'
5011 LINE
=`grep "USE_PROLOGIO" ${OSTYPE}.system.cache`
5012 if test "x$LINE" != x
; then
5013 eval "DEFAULT_$LINE"
5015 ac_cv_use_prologio
='USE_PROLOGIO='$DEFAULT_USE_PROLOGIO
5019 eval "$ac_cv_use_prologio"
5020 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
5021 if test "$USE_PROLOGIO" = 1; then
5022 echo "$ac_t""yes" 1>&6
5024 echo "$ac_t""no" 1>&6
5029 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
5030 echo "configure:5031: checking "for postscript
"" >&5
5031 # Check whether --with-postscript or --without-postscript was given.
5032 if test "${with_postscript+set}" = set; then
5033 withval
="$with_postscript"
5034 if test "x$with_postscript" = xyes
; then
5035 ac_cv_use_postscript
='USE_POSTSCRIPT="1"'
5037 ac_cv_use_postscript
='USE_POSTSCRIPT="0"'
5041 LINE
=`grep "USE_POSTSCRIPT" ${OSTYPE}.system.cache`
5042 if test "x$LINE" != x
; then
5043 eval "DEFAULT_$LINE"
5045 ac_cv_use_postscript
='USE_POSTSCRIPT='$DEFAULT_USE_POSTSCRIPT
5049 eval "$ac_cv_use_postscript"
5050 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
5051 if test "$USE_POSTSCRIPT" = 1; then
5052 echo "$ac_t""yes" 1>&6
5054 echo "$ac_t""no" 1>&6
5059 echo $ac_n "checking "for wxconfig
"""... $ac_c" 1>&6
5060 echo "configure:5061: checking "for wxconfig
"" >&5
5061 # Check whether --with-wxconfig or --without-wxconfig was given.
5062 if test "${with_wxconfig+set}" = set; then
5063 withval
="$with_wxconfig"
5064 if test "x$with_wxconfig" = xyes
; then
5065 ac_cv_use_wxconfig
='USE_WXCONFIG="1"'
5067 ac_cv_use_wxconfig
='USE_WXCONFIG="0"'
5071 LINE
=`grep "USE_WXCONFIG" ${OSTYPE}.system.cache`
5072 if test "x$LINE" != x
; then
5073 eval "DEFAULT_$LINE"
5075 ac_cv_use_wxconfig
='USE_WXCONFIG='$DEFAULT_USE_WXCONFIG
5079 eval "$ac_cv_use_wxconfig"
5080 echo $ac_cv_use_wxconfig >> ${OSTYPE}.system.cache.tmp
5081 if test "$USE_WXCONFIG" = 1; then
5082 echo "$ac_t""yes" 1>&6
5084 echo "$ac_t""no" 1>&6
5089 echo $ac_n "checking "for metafile
"""... $ac_c" 1>&6
5090 echo "configure:5091: checking "for metafile
"" >&5
5091 # Check whether --with-metafile or --without-metafile was given.
5092 if test "${with_metafile+set}" = set; then
5093 withval
="$with_metafile"
5094 if test "x$with_metafile" = xyes
; then
5095 ac_cv_use_metafile
='USE_METAFILE="1"'
5097 ac_cv_use_metafile
='USE_METAFILE="0"'
5101 LINE
=`grep "USE_METAFILE" ${OSTYPE}.system.cache`
5102 if test "x$LINE" != x
; then
5103 eval "DEFAULT_$LINE"
5105 ac_cv_use_metafile
='USE_METAFILE='$DEFAULT_USE_METAFILE
5109 eval "$ac_cv_use_metafile"
5110 echo $ac_cv_use_metafile >> ${OSTYPE}.system.cache.tmp
5111 if test "$USE_METAFILE" = 1; then
5112 echo "$ac_t""yes" 1>&6
5114 echo "$ac_t""no" 1>&6
5119 echo $ac_n "checking "for form
"""... $ac_c" 1>&6
5120 echo "configure:5121: checking "for form
"" >&5
5121 # Check whether --with-form or --without-form was given.
5122 if test "${with_form+set}" = set; then
5123 withval
="$with_form"
5124 if test "x$with_form" = xyes
; then
5125 ac_cv_use_form
='USE_FORM="1"'
5127 ac_cv_use_form
='USE_FORM="0"'
5131 LINE
=`grep "USE_FORM" ${OSTYPE}.system.cache`
5132 if test "x$LINE" != x
; then
5133 eval "DEFAULT_$LINE"
5135 ac_cv_use_form
='USE_FORM='$DEFAULT_USE_FORM
5139 eval "$ac_cv_use_form"
5140 echo $ac_cv_use_form >> ${OSTYPE}.system.cache.tmp
5141 if test "$USE_FORM" = 1; then
5142 echo "$ac_t""yes" 1>&6
5144 echo "$ac_t""no" 1>&6
5149 echo $ac_n "checking "for help"""... $ac_c" 1>&6
5150 echo "configure:5151: checking "for help"" >&5
5151 # Check whether --with-help or --without-help was given.
5152 if test "${with_help+set}" = set; then
5153 withval
="$with_help"
5154 if test "x$with_help" = xyes
; then
5155 ac_cv_use_help
='USE_HELP="1"'
5157 ac_cv_use_help
='USE_HELP="0"'
5161 LINE
=`grep "USE_HELP" ${OSTYPE}.system.cache`
5162 if test "x$LINE" != x
; then
5163 eval "DEFAULT_$LINE"
5165 ac_cv_use_help
='USE_HELP='$DEFAULT_USE_HELP
5169 eval "$ac_cv_use_help"
5170 echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
5171 if test "$USE_HELP" = 1; then
5172 echo "$ac_t""yes" 1>&6
5174 echo "$ac_t""no" 1>&6
5179 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
5180 echo "configure:5181: checking "for IPC
"" >&5
5181 # Check whether --with-ipc or --without-ipc was given.
5182 if test "${with_ipc+set}" = set; then
5184 if test "x$with_ipc" = xyes
; then
5185 ac_cv_use_ipc
='USE_IPC="1"'
5187 ac_cv_use_ipc
='USE_IPC="0"'
5191 LINE
=`grep "USE_IPC" ${OSTYPE}.system.cache`
5192 if test "x$LINE" != x
; then
5193 eval "DEFAULT_$LINE"
5195 ac_cv_use_ipc
='USE_IPC='$DEFAULT_USE_IPC
5199 eval "$ac_cv_use_ipc"
5200 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
5201 if test "$USE_IPC" = 1; then
5202 echo "$ac_t""yes" 1>&6
5204 echo "$ac_t""no" 1>&6
5209 echo $ac_n "checking "for enhanced dialog
"""... $ac_c" 1>&6
5210 echo "configure:5211: checking "for enhanced dialog
"" >&5
5211 # Check whether --with-enhanceddialog or --without-enhanceddialog was given.
5212 if test "${with_enhanceddialog+set}" = set; then
5213 withval
="$with_enhanceddialog"
5214 if test "x$with_enhanceddialog" = xyes
; then
5215 ac_cv_use_enhanceddialog
='USE_ENHANCED_DIALOG="1"'
5217 ac_cv_use_enhanceddialog
='USE_ENHANCED_DIALOG="0"'
5221 LINE
=`grep "USE_ENHANCED_DIALOG" ${OSTYPE}.system.cache`
5222 if test "x$LINE" != x
; then
5223 eval "DEFAULT_$LINE"
5225 ac_cv_use_enhanceddialog
='USE_ENHANCED_DIALOG='$DEFAULT_USE_ENHANCED_DIALOG
5229 eval "$ac_cv_use_enhanceddialog"
5230 echo $ac_cv_use_enhanceddialog >> ${OSTYPE}.system.cache.tmp
5231 if test "$USE_ENHANCED_DIALOG" = 1; then
5232 echo "$ac_t""yes" 1>&6
5234 echo "$ac_t""no" 1>&6
5239 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
5240 echo "configure:5241: checking "for resources
"" >&5
5241 # Check whether --with-resources or --without-resources was given.
5242 if test "${with_resources+set}" = set; then
5243 withval
="$with_resources"
5244 if test "x$with_resources" = xyes
; then
5245 ac_cv_use_resources
='USE_RESOURCES="1"'
5247 ac_cv_use_resources
='USE_RESOURCES="0"'
5251 LINE
=`grep "USE_RESOURCES" ${OSTYPE}.system.cache`
5252 if test "x$LINE" != x
; then
5253 eval "DEFAULT_$LINE"
5255 ac_cv_use_resources
='USE_RESOURCES='$DEFAULT_USE_RESOURCES
5259 eval "$ac_cv_use_resources"
5260 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
5261 if test "$USE_RESOURCES" = 1; then
5262 echo "$ac_t""yes" 1>&6
5264 echo "$ac_t""no" 1>&6
5269 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
5270 echo "configure:5271: checking "for clipboard
"" >&5
5271 # Check whether --with-clipboard or --without-clipboard was given.
5272 if test "${with_clipboard+set}" = set; then
5273 withval
="$with_clipboard"
5274 if test "x$with_clipboard" = xyes
; then
5275 ac_cv_use_clipboard
='USE_CLIPBOARD="1"'
5277 ac_cv_use_clipboard
='USE_CLIPBOARD="0"'
5281 LINE
=`grep "USE_CLIPBOARD" ${OSTYPE}.system.cache`
5282 if test "x$LINE" != x
; then
5283 eval "DEFAULT_$LINE"
5285 ac_cv_use_clipboard
='USE_CLIPBOARD='$DEFAULT_USE_CLIPBOARD
5289 eval "$ac_cv_use_clipboard"
5290 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
5291 if test "$USE_CLIPBOARD" = 1; then
5292 echo "$ac_t""yes" 1>&6
5294 echo "$ac_t""no" 1>&6
5299 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
5300 echo "configure:5301: checking "for timedate
"" >&5
5301 # Check whether --with-timedate or --without-timedate was given.
5302 if test "${with_timedate+set}" = set; then
5303 withval
="$with_timedate"
5304 if test "x$with_timedate" = xyes
; then
5305 ac_cv_use_timedate
='USE_TIMEDATE="1"'
5307 ac_cv_use_timedate
='USE_TIMEDATE="0"'
5311 LINE
=`grep "USE_TIMEDATE" ${OSTYPE}.system.cache`
5312 if test "x$LINE" != x
; then
5313 eval "DEFAULT_$LINE"
5315 ac_cv_use_timedate
='USE_TIMEDATE='$DEFAULT_USE_TIMEDATE
5319 eval "$ac_cv_use_timedate"
5320 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
5321 if test "$USE_TIMEDATE" = 1; then
5322 echo "$ac_t""yes" 1>&6
5324 echo "$ac_t""no" 1>&6
5329 echo $ac_n "checking "for fraction
"""... $ac_c" 1>&6
5330 echo "configure:5331: checking "for fraction
"" >&5
5331 # Check whether --with-fraction or --without-fraction was given.
5332 if test "${with_fraction+set}" = set; then
5333 withval
="$with_fraction"
5334 if test "x$with_fraction" = xyes
; then
5335 ac_cv_use_fraction
='USE_FRACTION="1"'
5337 ac_cv_use_fraction
='USE_FRACTION="0"'
5341 LINE
=`grep "USE_FRACTION" ${OSTYPE}.system.cache`
5342 if test "x$LINE" != x
; then
5343 eval "DEFAULT_$LINE"
5345 ac_cv_use_fraction
='USE_FRACTION='$DEFAULT_USE_FRACTION
5349 eval "$ac_cv_use_fraction"
5350 echo $ac_cv_use_fraction >> ${OSTYPE}.system.cache.tmp
5351 if test "$USE_FRACTION" = 1; then
5352 echo "$ac_t""yes" 1>&6
5354 echo "$ac_t""no" 1>&6
5359 echo $ac_n "checking "for constrains
"""... $ac_c" 1>&6
5360 echo "configure:5361: checking "for constrains
"" >&5
5361 # Check whether --with-constraints or --without-constraints was given.
5362 if test "${with_constraints+set}" = set; then
5363 withval
="$with_constraints"
5364 if test "x$with_constraints" = xyes
; then
5365 ac_cv_use_constraints
='USE_CONSTRAINTS="1"'
5367 ac_cv_use_constraints
='USE_CONSTRAINTS="0"'
5371 LINE
=`grep "USE_CONSTRAINTS" ${OSTYPE}.system.cache`
5372 if test "x$LINE" != x
; then
5373 eval "DEFAULT_$LINE"
5375 ac_cv_use_constraints
='USE_CONSTRAINTS='$DEFAULT_USE_CONSTRAINTS
5379 eval "$ac_cv_use_constraints"
5380 echo $ac_cv_use_constraints >> ${OSTYPE}.system.cache.tmp
5381 if test "$USE_CONSTRAINTS" = 1; then
5382 echo "$ac_t""yes" 1>&6
5384 echo "$ac_t""no" 1>&6
5389 echo $ac_n "checking "for toolbar
"""... $ac_c" 1>&6
5390 echo "configure:5391: checking "for toolbar
"" >&5
5391 # Check whether --with-toolbar or --without-toolbar was given.
5392 if test "${with_toolbar+set}" = set; then
5393 withval
="$with_toolbar"
5394 if test "x$with_toolbar" = xyes
; then
5395 ac_cv_use_toolbar
='USE_TOOLBAR="1"'
5397 ac_cv_use_toolbar
='USE_TOOLBAR="0"'
5401 LINE
=`grep "USE_TOOLBAR" ${OSTYPE}.system.cache`
5402 if test "x$LINE" != x
; then
5403 eval "DEFAULT_$LINE"
5405 ac_cv_use_toolbar
='USE_TOOLBAR='$DEFAULT_USE_TOOLBAR
5409 eval "$ac_cv_use_toolbar"
5410 echo $ac_cv_use_toolbar >> ${OSTYPE}.system.cache.tmp
5411 if test "$USE_TOOLBAR" = 1; then
5412 echo "$ac_t""yes" 1>&6
5414 echo "$ac_t""no" 1>&6
5419 echo $ac_n "checking "for gauge
"""... $ac_c" 1>&6
5420 echo "configure:5421: checking "for gauge
"" >&5
5421 # Check whether --with-gauge or --without-gauge was given.
5422 if test "${with_gauge+set}" = set; then
5423 withval
="$with_gauge"
5424 if test "x$with_gauge" = xyes
; then
5425 ac_cv_use_gauge
='USE_GAUGE="1"'
5427 ac_cv_use_gauge
='USE_GAUGE="0"'
5431 LINE
=`grep "USE_GAUGE" ${OSTYPE}.system.cache`
5432 if test "x$LINE" != x
; then
5433 eval "DEFAULT_$LINE"
5435 ac_cv_use_gauge
='USE_GAUGE='$DEFAULT_USE_GAUGE
5439 eval "$ac_cv_use_gauge"
5440 echo $ac_cv_use_gauge >> ${OSTYPE}.system.cache.tmp
5441 if test "$USE_GAUGE" = 1; then
5442 echo "$ac_t""yes" 1>&6
5444 echo "$ac_t""no" 1>&6
5449 echo $ac_n "checking "for vllist
"""... $ac_c" 1>&6
5450 echo "configure:5451: checking "for vllist
"" >&5
5451 # Check whether --with-vllist or --without-vllist was given.
5452 if test "${with_vllist+set}" = set; then
5453 withval
="$with_vllist"
5454 if test "x$with_vllist" = xyes
; then
5455 ac_cv_use_vllist
='USE_VLBOX="1"'
5457 ac_cv_use_vllist
='USE_VLBOX="0"'
5461 LINE
=`grep "USE_VLBOX" ${OSTYPE}.system.cache`
5462 if test "x$LINE" != x
; then
5463 eval "DEFAULT_$LINE"
5465 ac_cv_use_vllist
='USE_VLBOX='$DEFAULT_USE_VLBOX
5469 eval "$ac_cv_use_vllist"
5470 echo $ac_cv_use_vllist >> ${OSTYPE}.system.cache.tmp
5471 if test "$USE_VLBOX" = 1; then
5472 echo "$ac_t""yes" 1>&6
5474 echo "$ac_t""no" 1>&6
5479 echo $ac_n "checking "for scrollbar
"""... $ac_c" 1>&6
5480 echo "configure:5481: checking "for scrollbar
"" >&5
5481 # Check whether --with-scrollbar or --without-scrollbar was given.
5482 if test "${with_scrollbar+set}" = set; then
5483 withval
="$with_scrollbar"
5484 if test "x$with_scrollbar" = xyes
; then
5485 ac_cv_use_scrollbar
='USE_SCROLLBAR="1"'
5487 ac_cv_use_scrollbar
='USE_SCROLLBAR="0"'
5491 LINE
=`grep "USE_SCROLLBAR" ${OSTYPE}.system.cache`
5492 if test "x$LINE" != x
; then
5493 eval "DEFAULT_$LINE"
5495 ac_cv_use_scrollbar
='USE_SCROLLBAR='$DEFAULT_USE_SCROLLBAR
5499 eval "$ac_cv_use_scrollbar"
5500 echo $ac_cv_use_scrollbar >> ${OSTYPE}.system.cache.tmp
5501 if test "$USE_SCROLLBAR" = 1; then
5502 echo "$ac_t""yes" 1>&6
5504 echo "$ac_t""no" 1>&6
5509 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
5510 echo "configure:5511: checking "for docview
"" >&5
5511 # Check whether --with-docview or --without-docview was given.
5512 if test "${with_docview+set}" = set; then
5513 withval
="$with_docview"
5514 if test "x$with_docview" = xyes
; then
5515 ac_cv_use_docview
='USE_DOC_VIEW_ARCHITECTURE="1"'
5517 ac_cv_use_docview
='USE_DOC_VIEW_ARCHITECTURE="0"'
5521 LINE
=`grep "USE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
5522 if test "x$LINE" != x
; then
5523 eval "DEFAULT_$LINE"
5525 ac_cv_use_docview
='USE_DOC_VIEW_ARCHITECTURE='$DEFAULT_USE_DOC_VIEW_ARCHITECTURE
5529 eval "$ac_cv_use_docview"
5530 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
5531 if test "$USE_DOC_VIEW_ARCHITECTURE" = 1; then
5532 echo "$ac_t""yes" 1>&6
5534 echo "$ac_t""no" 1>&6
5539 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
5540 echo "configure:5541: checking "for printarch
"" >&5
5541 # Check whether --with-printarch or --without-printarch was given.
5542 if test "${with_printarch+set}" = set; then
5543 withval
="$with_printarch"
5544 if test "x$with_printarch" = xyes
; then
5545 ac_cv_use_printarch
='USE_PRINTING_ARCHITECTURE="1"'
5547 ac_cv_use_printarch
='USE_PRINTING_ARCHITECTURE="0"'
5551 LINE
=`grep "USE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
5552 if test "x$LINE" != x
; then
5553 eval "DEFAULT_$LINE"
5555 ac_cv_use_printarch
='USE_PRINTING_ARCHITECTURE='$DEFAULT_USE_PRINTING_ARCHITECTURE
5559 eval "$ac_cv_use_printarch"
5560 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
5561 if test "$USE_PRINTING_ARCHITECTURE" = 1; then
5562 echo "$ac_t""yes" 1>&6
5564 echo "$ac_t""no" 1>&6
5569 echo $ac_n "checking "for typetree
"""... $ac_c" 1>&6
5570 echo "configure:5571: checking "for typetree
"" >&5
5571 # Check whether --with-typetree or --without-typetree was given.
5572 if test "${with_typetree+set}" = set; then
5573 withval
="$with_typetree"
5574 if test "x$with_typetree" = xyes
; then
5575 ac_cv_use_typetree
='USE_TYPETREE="1"'
5577 ac_cv_use_typetree
='USE_TYPETREE="0"'
5581 LINE
=`grep "USE_TYPETREE" ${OSTYPE}.system.cache`
5582 if test "x$LINE" != x
; then
5583 eval "DEFAULT_$LINE"
5585 ac_cv_use_typetree
='USE_TYPETREE='$DEFAULT_USE_TYPETREE
5589 eval "$ac_cv_use_typetree"
5590 echo $ac_cv_use_typetree >> ${OSTYPE}.system.cache.tmp
5591 if test "$USE_TYPETREE" = 1; then
5592 echo "$ac_t""yes" 1>&6
5594 echo "$ac_t""no" 1>&6
5599 echo $ac_n "checking "for wxgraph
"""... $ac_c" 1>&6
5600 echo "configure:5601: checking "for wxgraph
"" >&5
5601 # Check whether --with-wxgraph or --without-wxgraph was given.
5602 if test "${with_wxgraph+set}" = set; then
5603 withval
="$with_wxgraph"
5604 if test "x$with_wxgraph" = xyes
; then
5605 ac_cv_use_wxgraph
='USE_WXGRAPH="1"'
5607 ac_cv_use_wxgraph
='USE_WXGRAPH="0"'
5611 LINE
=`grep "USE_WXGRAPH" ${OSTYPE}.system.cache`
5612 if test "x$LINE" != x
; then
5613 eval "DEFAULT_$LINE"
5615 ac_cv_use_wxgraph
='USE_WXGRAPH='$DEFAULT_USE_WXGRAPH
5619 eval "$ac_cv_use_wxgraph"
5620 echo $ac_cv_use_wxgraph >> ${OSTYPE}.system.cache.tmp
5621 if test "$USE_WXGRAPH" = 1; then
5622 echo "$ac_t""yes" 1>&6
5624 echo "$ac_t""no" 1>&6
5629 echo $ac_n "checking "for wxtree
"""... $ac_c" 1>&6
5630 echo "configure:5631: checking "for wxtree
"" >&5
5631 # Check whether --with-wxtree or --without-wxtree was given.
5632 if test "${with_wxtree+set}" = set; then
5633 withval
="$with_wxtree"
5634 if test "x$with_wxtree" = xyes
; then
5635 ac_cv_use_wxtree
='USE_WXTREE="1"'
5637 ac_cv_use_wxtree
='USE_WXTREE="0"'
5641 LINE
=`grep "USE_WXTREE" ${OSTYPE}.system.cache`
5642 if test "x$LINE" != x
; then
5643 eval "DEFAULT_$LINE"
5645 ac_cv_use_wxtree
='USE_WXTREE='$DEFAULT_USE_WXTREE
5649 eval "$ac_cv_use_wxtree"
5650 echo $ac_cv_use_wxtree >> ${OSTYPE}.system.cache.tmp
5651 if test "$USE_WXTREE" = 1; then
5652 echo "$ac_t""yes" 1>&6
5654 echo "$ac_t""no" 1>&6
5661 if test "$USE_ZLIB" = 1 ; then
5666 if test "$USE_GDK_IMLIB" = 1 ; then
5667 GDK_IMLIB
="GDK_IMLIB"
5671 if test "$USE_LIBPNG" = 1 ; then
5676 if test "$USE_APPLE_IEEE" = 1 ; then
5677 APPLE_IEEE
="APPLE_IEEE"
5678 cat >> confdefs.h
<<EOF
5679 #define USE_APPLE_IEEE $USE_APPLE_IEEE
5685 if test "$USE_STORABLE_CLASSES" = 1 ; then
5687 cat >> confdefs.h
<<EOF
5688 #define USE_STORABLE_CLASSES $USE_STORABLE_CLASSES
5694 if test "$USE_AUTOTRANS" = 1 ; then
5695 AUTOTRANS
="AUTOTRANS"
5696 cat >> confdefs.h
<<EOF
5697 #define USE_AUTOTRANS $USE_AUTOTRANS
5703 if test "$USE_DEBUG_INFO" = 1 ; then
5708 if test "$USE_DEBUG_FLAG" = 1 ; then
5709 cat >> confdefs.h
<<EOF
5710 #define WXDEBUG $USE_DEBUG_FLAG
5713 WXDEBUG_DEFINE
="-D__WXDEBUG__"
5717 if test "$USE_MEM_TRACING" = 1 ; then
5718 cat >> confdefs.h
<<EOF
5719 #define USE_MEMORY_TRACING $USE_MEM_TRACING
5722 cat >> confdefs.h
<<EOF
5723 #define USE_GLOBAL_MEMORY_OPERATORS $USE_MEM_TRACING
5729 if test "$USE_PROFILE" = 1 ; then
5734 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
5735 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
5736 if test "$USE_OPTIMISE" = 0 ; then
5739 if test "$GCC" = yes ; then
5741 case "${canonical}" in
5743 OPTIMISE
="${OPTIMISE} "
5752 USE_IOSTREAMH
=$DEFAULT_USE_IOSTREAMH
5753 cat >> confdefs.h
<<EOF
5754 #define USE_IOSTREAMH $USE_IOSTREAMH
5759 if test "$USE_RPC" = 1 ; then
5761 cat >> confdefs.h
<<EOF
5762 #define USE_RPC $USE_RPC
5769 if test "$USE_WX_RESOURCES" = 1 ; then
5770 WXRESOURCES
="WXRESOURCES"
5771 cat >> confdefs.h
<<EOF
5772 #define USE_WX_RESOURCES $USE_WX_RESOURCES
5780 if test "$USE_PROLOGIO" = 1 ; then
5782 PROLOGIOSRC
="PROLOGIOSRC"
5783 cat >> confdefs.h
<<EOF
5784 #define USE_PROLOGIO 1
5792 if test "$USE_POSTSCRIPT" = 1 ; then
5793 POSTSCRIPTDC
="POSTSCRIPTDC"
5794 cat >> confdefs.h
<<EOF
5795 #define USE_POSTSCRIPT 1
5801 if test "$USE_WXCONFIG" = 1 ; then
5802 cat >> confdefs.h
<<EOF
5803 #define USE_WXCONFIG $USE_WXCONFIG
5809 if test "$USE_METAFILE" = 1 ; then
5811 cat >> confdefs.h
<<EOF
5812 #define USE_METAFILE $USE_METAFILE
5819 if test "$USE_FORM" = 1 ; then
5821 cat >> confdefs.h
<<EOF
5822 #define USE_FORM $USE_FORM
5829 if test "$USE_HELP" = 1 ; then
5831 cat >> confdefs.h
<<EOF
5832 #define USE_HELP $USE_HELP
5839 if test "$USE_IPC" = 1 ; then
5841 cat >> confdefs.h
<<EOF
5849 if test "$USE_ENHANCED_DIALOG" = 1 ; then
5850 ENHDIALOGBOX
="ENHDIALOGBOX"
5851 cat >> confdefs.h
<<EOF
5852 #define USE_ENHANCED_DIALOG $USE_ENHANCED_DIALOG
5859 if test "$USE_RESOURCES" = 1 ; then
5860 XRESOURCES
="XRESOURCES"
5861 cat >> confdefs.h
<<EOF
5862 #define USE_RESOURCES $USE_RESOURCES
5869 if test "$USE_CLIPBOARD" = 1 ; then
5870 CLIPBOARD
="CLIPBOARD"
5871 cat >> confdefs.h
<<EOF
5872 #define USE_CLIPBOARD $USE_CLIPBOARD
5879 if test "$USE_CONSTRAINTS" = 1 ; then
5880 CONSTRAINTS
="CONSTRAINTS"
5881 cat >> confdefs.h
<<EOF
5882 #define USE_CONSTRAINTS $USE_CONSTRAINTS
5889 if test "$USE_TIMEDATE" = 1 ; then
5891 cat >> confdefs.h
<<EOF
5892 #define USE_TIMEDATE $USE_TIMEDATE
5899 if test "$USE_FRACTION" = 1 ; then
5901 cat >> confdefs.h
<<EOF
5902 #define USE_FRACTION $USE_FRACTION
5909 if test "$USE_TOOLBAR" = 1 ; then
5911 cat >> confdefs.h
<<EOF
5912 #define USE_TOOLBAR $USE_TOOLBAR
5915 cat >> confdefs.h
<<EOF
5916 #define USE_XT_TOOLBAR $USE_XT_TOOLBAR
5923 if test "$USE_GAUGE" = 1 ; then
5926 cat >> confdefs.h
<<EOF
5927 #define USE_GAUGE $USE_GAUGE
5933 if test "$USE_VLBOX" = 1 ; then
5934 VIRTLISTBOX
="VIRLISTBOX"
5935 cat >> confdefs.h
<<EOF
5936 #define USE_VIRLISTBOX $USE_VIRLISTBOX
5943 if test "$USE_SCROLLBAR" = 1 ; then
5944 SCROLLBAR
="SCROLLBAR"
5945 cat >> confdefs.h
<<EOF
5946 #define USE_SCROLLBAR $USE_SCROLLBAR
5953 if test "$USE_DOC_VIEW_ARCHITECTURE" = 1 ; then
5955 cat >> confdefs.h
<<EOF
5956 #define USE_DOC_VIEW_ARCHITECTURE $USE_DOC_VIEW_ARCHITECTURE
5963 if test "$USE_PRINTING_ARCHITECTURE" = 1 ; then
5964 PRINTPREVIEW
="PRINTPREVIEW"
5965 cat >> confdefs.h
<<EOF
5966 #define USE_PRINTING_ARCHITECTURE $USE_PRINTING_ARCHITECTURE
5973 if test "$USE_TYPETREE" = 1 ; then
5975 cat >> confdefs.h
<<EOF
5976 #define USE_TYPETREE $USE_TYPETREE
5983 if test "$USE_WXGRAPH" = 1 ; then
5985 cat >> confdefs.h
<<EOF
5986 #define USE_WXGRAPH $USE_WXGRAPH
5993 if test "$USE_WXTREE" = 1 ; then
5995 cat >> confdefs.h
<<EOF
5996 #define USE_WXTREE $USE_WXTREE
6003 if test "$USE_OPENGL" = 1 ; then
6007 cat >> confdefs.h
<<EOF
6008 #define USE_AFM_FOR_POSTSCRIPT $USE_AFM_FOR_POSTSCRIPT
6012 cat >> confdefs.h
<<EOF
6013 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
6018 if test "$USE_UNIX" = 1 ; then
6019 cat >> confdefs.h
<<\EOF
6030 if test "$USE_GTK" = 1; then
6031 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
6032 if test "${with_gtk_prefix+set}" = set; then
6033 withval
="$with_gtk_prefix"
6034 gtk_config_prefix
="$withval"
6036 gtk_config_prefix
=""
6039 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
6040 if test "${with_gtk_exec_prefix+set}" = set; then
6041 withval
="$with_gtk_exec_prefix"
6042 gtk_config_exec_prefix
="$withval"
6044 gtk_config_exec_prefix
=""
6048 if test x
$gtk_config_exec_prefix != x
; then
6049 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6050 if test x
${GTK_CONFIG+set} != xset
; then
6051 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6054 if test x
$gtk_config_prefix != x
; then
6055 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6056 if test x
${GTK_CONFIG+set} != xset
; then
6057 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6061 # Extract the first word of "gtk-config", so it can be a program name with args.
6062 set dummy gtk
-config; ac_word
=$2
6063 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6064 echo "configure:6065: checking for $ac_word" >&5
6065 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6066 echo $ac_n "(cached) $ac_c" 1>&6
6068 case "$GTK_CONFIG" in
6070 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6073 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6074 for ac_dir
in $PATH; do
6075 test -z "$ac_dir" && ac_dir
=.
6076 if test -f $ac_dir/$ac_word; then
6077 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6082 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6086 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6087 if test -n "$GTK_CONFIG"; then
6088 echo "$ac_t""$GTK_CONFIG" 1>&6
6090 echo "$ac_t""no" 1>&6
6093 min_gtk_version
=0.99.7
6094 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6095 echo "configure:6096: checking for GTK - version >= $min_gtk_version" >&5
6097 if test "$GTK_CONFIG" != "no" ; then
6098 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6099 GTK_LIBS
=`$GTK_CONFIG --libs`
6100 ac_save_CFLAGS
="$CFLAGS"
6101 ac_save_LIBS
="$LIBS"
6102 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6103 LIBS
="$LIBS $GTK_LIBS"
6104 if test "$cross_compiling" = yes; then
6105 echo $ac_n "cross compiling; assumed OK... $ac_c"
6107 cat > conftest.
$ac_ext <<EOF
6108 #line 6109 "configure"
6109 #include "confdefs.h"
6111 #include <gtk/gtk.h>
6117 int major, minor, micro;
6119 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6120 printf("%s, bad version string\n", "$min_gtk_version");
6124 return !((gtk_major_version > major) ||
6125 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6126 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6130 if { (eval echo configure
:6131: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6134 echo "configure: failed program was:" >&5
6135 cat conftest.
$ac_ext >&5
6142 CFLAGS
="$ac_save_CFLAGS"
6143 LIBS
="$ac_save_LIBS"
6147 if test "x$no_gtk" = x
; then
6148 echo "$ac_t""yes" 1>&6
6150 GUI_TK_INCLUDE
="$GTK_CFLAGS"
6151 GUI_TK_LIBRARY
="$GTK_LIBS"
6154 echo "$ac_t""no" 1>&6
6157 { echo "configure: error: Are gtk-config and the GTK in path and up-to-date?" 1>&2; exit 1; }
6162 cat >> confdefs.h
<<\EOF
6179 if test "$USE_OPENGL" = 1; then
6180 echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
6181 echo "configure:6182: checking for OpenGL includes" >&5
6184 for ac_dir
in $SEARCH_INCLUDE;
6186 if test -f "$ac_dir/GL/gl.h"; then
6187 ac_find_includes
=$ac_dir
6192 if test "$ac_find_includes" != "" ; then
6193 OPENGL_INCLUDE
="-I$ac_find_includes"
6194 echo "$ac_t""found $ac_find_includes" 1>&6
6195 echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
6196 echo "configure:6197: checking for OpenGL library" >&5
6199 for ac_dir
in $SEARCH_LIB;
6201 for ac_extension
in a so sl
; do
6202 if test -f "$ac_dir/libGL.$ac_extension"; then
6203 ac_find_libraries
=$ac_dir
6209 if test "$ac_find_libraries" != "" ; then
6211 ac_path_to_include
=$ac_find_includes
6212 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6214 if test $result = 0; then
6215 ac_path_to_include
=""
6217 ac_path_to_include
="-I$ac_find_includes"
6221 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6223 if test $result = 0; then
6226 ac_path_to_link
="-L$ac_find_libraries"
6229 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6230 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6231 OPENGL_LIBRARY
="$ac_path_to_link"
6232 OPENGL_INCLUDE
="$ac_path_to_include"
6234 echo "$ac_t""found OpenGL at $ac_find_libraries" 1>&6
6238 for ac_dir
in $SEARCH_LIB;
6240 for ac_extension
in a so sl
; do
6241 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6242 ac_find_libraries
=$ac_dir
6248 if test "$ac_find_libraries" != "" ; then
6250 ac_path_to_include
=$ac_find_includes
6251 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6253 if test $result = 0; then
6254 ac_path_to_include
=""
6256 ac_path_to_include
="-I$ac_find_includes"
6260 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6262 if test $result = 0; then
6265 ac_path_to_link
="-L$ac_find_libraries"
6268 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6269 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6270 OPENGL_LIBRARY
="$ac_path_to_link"
6271 OPENGL_INCLUDE
="$ac_path_to_include"
6272 OPENGL_LINK
="-lMesaGL"
6273 echo "$ac_t""found MESA at $ac_find_libraries" 1>&6
6275 { echo "configure: error: no" 1>&2; exit 1; }
6279 { echo "configure: error: no" 1>&2; exit 1; }
6283 if test "$USE_GDK_IMLIB" = 1; then
6284 cat >> confdefs.h
<<EOF
6285 #define USE_GDK_IMLIB $USE_GDK_IMLIB
6290 if test "$USE_ZLIB" = 1; then
6291 cat >> confdefs.h
<<EOF
6292 #define USE_ZLIB $USE_ZLIB
6297 if test "$USE_LIBPNG" = 1; then
6298 cat >> confdefs.h
<<EOF
6299 #define USE_LIBPNG $USE_LIBPNG
6308 if test "$USE_OPENGL" != 1; then
6315 cat >> confdefs.h
<<EOF
6316 #define USE_GLX $USE_GLX
6327 case "${canonical}" in
6330 if test "${CC}" != "gcc" ; then
6331 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
6332 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
6338 CREATE_SHARED
=sharedHpux
6343 CREATE_SHARED
=sharedLinux
6346 *-*-irix5* | *-*-irix6* )
6347 # PICFLAGS can remain empty, as pic is the default
6349 CREATE_SHARED
=sharedIrix
6350 cat >> confdefs.h
<<\EOF
6357 if test "${CC}" != "gcc" ; then
6362 CREATE_SHARED
=sharedSolaris2
6363 cat >> confdefs.h
<<\EOF
6370 if test "${CC}" != "gcc" ; then
6376 CREATE_SHARED
=sharedSunos4
6377 cat >> confdefs.h
<<\EOF
6383 *-*-freebsd* | *-*-netbsd*)
6385 CREATE_SHARED
=sharedBsd
6386 cat >> confdefs.h
<<\EOF
6394 CREATE_SHARED
=sharedOSF
6398 if test "${CC}" != "gcc" ; then
6403 CREATE_SHARED
=sharedDgux
6404 cat >> confdefs.h
<<\EOF
6411 if test "${CC}" != "gcc" ; then
6416 CREATE_SHARED
=sharedSysV
6417 cat >> confdefs.h
<<\EOF
6424 if test "${CC}" != "gcc" ; then
6429 CREATE_SHARED
=sharedAIX
6430 cat >> confdefs.h
<<\EOF
6441 if test "x$GCC" = xyes
; then
6442 CFLAGS
="${CFLAGS} -Wall"
6445 if test "x$GXX" = xyes
; then
6446 CXXFLAGS
="${CXXFLAGS} -Wall"
6449 if test "$USE_SHARED" != 1; then
6459 echo $OS >> system.list
6460 echo $OS >> ..
/..
/system.list
6464 cat > confcache
<<\EOF
6465 # This file is a shell script that caches the results of configure
6466 # tests run on this system so they can be shared between configure
6467 # scripts and configure runs. It is not useful on other systems.
6468 # If it contains results you don't want to keep, you may remove or edit it.
6470 # By default, configure uses ./config.cache as the cache file,
6471 # creating it if it does not exist already. You can give configure
6472 # the --cache-file=FILE option to use a different cache file; that is
6473 # what configure does when it calls configure scripts in
6474 # subdirectories, so they share the cache.
6475 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6476 # config.status only pays attention to the cache file if you give it the
6477 # --recheck option to rerun configure.
6480 # The following way of writing the cache mishandles newlines in values,
6481 # but we know of no workaround that is simple, portable, and efficient.
6482 # So, don't put newlines in cache variables' values.
6483 # Ultrix sh set writes to stderr and can't be redirected directly,
6484 # and sets the high bit in the cache file unless we assign to the vars.
6486 case `(ac_space=' '; set) 2>&1` in
6488 # `set' does not quote correctly, so add quotes (double-quote substitution
6489 # turns \\\\ into \\, and sed turns \\ into \).
6491 -e "s/'/'\\\\''/g" \
6492 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6495 # `set' quotes correctly as required by POSIX, so do not add quotes.
6496 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6499 if cmp -s $cache_file confcache
; then
6502 if test -w $cache_file; then
6503 echo "updating cache $cache_file"
6504 cat confcache
> $cache_file
6506 echo "not updating unwritable cache $cache_file"
6511 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
6513 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6514 # Let make expand exec_prefix.
6515 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6517 # Any assignment to VPATH causes Sun make to only execute
6518 # the first set of double-colon rules, so remove it if not needed.
6519 # If there is a colon in the path, we need to keep it.
6520 if test "x$srcdir" = x.
; then
6521 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
6524 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
6526 DEFS
=-DHAVE_CONFIG_H
6528 # Without the "./", some shells look in PATH for config.status.
6529 : ${CONFIG_STATUS=./config.status}
6531 echo creating
$CONFIG_STATUS
6532 rm -f $CONFIG_STATUS
6533 cat > $CONFIG_STATUS <<EOF
6535 # Generated automatically by configure.
6536 # Run this file to recreate the current configuration.
6537 # This directory was configured as follows,
6538 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6540 # $0 $ac_configure_args
6542 # Compiler output produced by configure, useful for debugging
6543 # configure, is in ./config.log if it exists.
6545 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
6548 case "\$ac_option" in
6549 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6550 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
6551 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
6552 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
6553 echo "$CONFIG_STATUS generated by autoconf version 2.12"
6555 -help | --help | --hel | --he | --h)
6556 echo "\$ac_cs_usage"; exit 0 ;;
6557 *) echo "\$ac_cs_usage"; exit 1 ;;
6561 ac_given_srcdir=$srcdir
6562 ac_given_INSTALL="$INSTALL"
6564 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
6566 cat >> $CONFIG_STATUS <<EOF
6568 # Protect against being on the right side of a sed subst in config.status.
6569 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
6570 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
6573 s%@CFLAGS@%$CFLAGS%g
6574 s%@CPPFLAGS@%$CPPFLAGS%g
6575 s%@CXXFLAGS@%$CXXFLAGS%g
6577 s%@LDFLAGS@%$LDFLAGS%g
6579 s%@exec_prefix@%$exec_prefix%g
6580 s%@prefix@%$prefix%g
6581 s%@program_transform_name@%$program_transform_name%g
6582 s%@bindir@%$bindir%g
6583 s%@sbindir@%$sbindir%g
6584 s%@libexecdir@%$libexecdir%g
6585 s%@datadir@%$datadir%g
6586 s%@sysconfdir@%$sysconfdir%g
6587 s%@sharedstatedir@%$sharedstatedir%g
6588 s%@localstatedir@%$localstatedir%g
6589 s%@libdir@%$libdir%g
6590 s%@includedir@%$includedir%g
6591 s%@oldincludedir@%$oldincludedir%g
6592 s%@infodir@%$infodir%g
6593 s%@mandir@%$mandir%g
6594 s%@WXBASEDIR@%$WXBASEDIR%g
6598 s%@CXXCPP@%$CXXCPP%g
6599 s%@RANLIB@%$RANLIB%g
6601 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
6602 s%@INSTALL_DATA@%$INSTALL_DATA%g
6605 s%@X_CFLAGS@%$X_CFLAGS%g
6606 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
6607 s%@X_LIBS@%$X_LIBS%g
6608 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
6609 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
6610 s%@LIBOBJS@%$LIBOBJS%g
6611 s%@UNIX_THREAD@%$UNIX_THREAD%g
6612 s%@THREADS_LINK@%$THREADS_LINK%g
6615 s%@LEXLIB@%$LEXLIB%g
6616 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
6618 s%@host_alias@%$host_alias%g
6619 s%@host_cpu@%$host_cpu%g
6620 s%@host_vendor@%$host_vendor%g
6621 s%@host_os@%$host_os%g
6622 s%@WXDEBUG@%$WXDEBUG%g
6623 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
6624 s%@PROFILE@%$PROFILE%g
6625 s%@OPTIMISE@%$OPTIMISE%g
6627 s%@WXRESOURCES@%$WXRESOURCES%g
6628 s%@PROLOGIO@%$PROLOGIO%g
6629 s%@PROLOGIOSRC@%$PROLOGIOSRC%g
6630 s%@POSTSCRIPTDC@%$POSTSCRIPTDC%g
6631 s%@METAFILE@%$METAFILE%g
6635 s%@ENHDIALOGBOX@%$ENHDIALOGBOX%g
6636 s%@XRESOURCES@%$XRESOURCES%g
6637 s%@CLIPBOARD@%$CLIPBOARD%g
6638 s%@CONSTRAINTS@%$CONSTRAINTS%g
6639 s%@TIMEDATE@%$TIMEDATE%g
6640 s%@FRACTION@%$FRACTION%g
6641 s%@TOOLBAR@%$TOOLBAR%g
6643 s%@VIRLISTBOX@%$VIRLISTBOX%g
6644 s%@SCROLLBAR@%$SCROLLBAR%g
6645 s%@DOCVIEW@%$DOCVIEW%g
6646 s%@PRINTPREVIEW@%$PRINTPREVIEW%g
6647 s%@TYPETREE@%$TYPETREE%g
6648 s%@WXGRAPH@%$WXGRAPH%g
6649 s%@WXTREE@%$WXTREE%g
6650 s%@GTK_CONFIG@%$GTK_CONFIG%g
6651 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
6652 s%@GTK_LIBS@%$GTK_LIBS%g
6653 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
6654 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
6655 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
6656 s%@TOOLKIT@%$TOOLKIT%g
6657 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
6658 s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g
6659 s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g
6660 s%@OPENGL_LINK@%$OPENGL_LINK%g
6661 s%@GLCANVAS@%$GLCANVAS%g
6663 s%@PICFLAGS@%$PICFLAGS%g
6664 s%@CREATE_SHARED@%$CREATE_SHARED%g
6669 cat >> $CONFIG_STATUS <<\EOF
6671 # Split the substitutions into bite-sized pieces for seds with
6672 # small command number limits, like on Digital OSF/1 and HP-UX.
6673 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
6674 ac_file
=1 # Number of current file.
6675 ac_beg
=1 # First line for current file.
6676 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
6679 while $ac_more_lines; do
6680 if test $ac_beg -gt 1; then
6681 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
6683 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
6685 if test ! -s conftest.s
$ac_file; then
6687 rm -f conftest.s
$ac_file
6689 if test -z "$ac_sed_cmds"; then
6690 ac_sed_cmds
="sed -f conftest.s$ac_file"
6692 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
6694 ac_file
=`expr $ac_file + 1`
6696 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
6699 if test -z "$ac_sed_cmds"; then
6704 cat >> $CONFIG_STATUS <<EOF
6706 CONFIG_FILES=\${CONFIG_FILES-"../../src/gtk/setup/substit"}
6708 cat >> $CONFIG_STATUS <<\EOF
6709 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
6710 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6712 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
6713 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
6714 *) ac_file_in
="${ac_file}.in" ;;
6717 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
6719 # Remove last slash and all that follows it. Not all systems have dirname.
6720 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
6721 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
6722 # The file is in a subdirectory.
6723 test ! -d "$ac_dir" && mkdir "$ac_dir"
6724 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
6725 # A "../" for each directory in $ac_dir_suffix.
6726 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
6728 ac_dir_suffix
= ac_dots
=
6731 case "$ac_given_srcdir" in
6733 if test -z "$ac_dots"; then top_srcdir
=.
6734 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
6735 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
6737 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
6738 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
6741 case "$ac_given_INSTALL" in
6742 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
6743 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
6746 echo creating
"$ac_file"
6748 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
6750 *Makefile
*) ac_comsub
="1i\\
6751 # $configure_input" ;;
6755 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
6757 s%@configure_input@%$configure_input%g
6758 s%@srcdir@%$srcdir%g
6759 s%@top_srcdir@%$top_srcdir%g
6760 s%@INSTALL@%$INSTALL%g
6761 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
6765 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6766 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6768 # ac_d sets the value in "#define NAME VALUE" lines.
6769 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6770 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
6773 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
6774 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6775 ac_uB
='\([ ]\)%\1#\2define\3'
6778 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6779 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6780 ac_eB
='$%\1#\2define\3'
6784 if test "${CONFIG_HEADERS+set}" != set; then
6786 cat >> $CONFIG_STATUS <<EOF
6787 CONFIG_HEADERS="../../include/wx/gtk/setup.h:../../src/gtk/setup/setup.hin"
6789 cat >> $CONFIG_STATUS <<\EOF
6791 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
6792 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6794 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
6795 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
6796 *) ac_file_in
="${ac_file}.in" ;;
6799 echo creating
$ac_file
6801 rm -f conftest.frag conftest.
in conftest.out
6802 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
6803 cat $ac_file_inputs > conftest.
in
6807 # Transform confdefs.h into a sed script conftest.vals that substitutes
6808 # the proper values into config.h.in to produce config.h. And first:
6809 # Protect against being on the right side of a sed subst in config.status.
6810 # Protect against being in an unquoted here document in config.status.
6812 cat > conftest.hdr
<<\EOF
6815 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
6819 sed -n -f conftest.hdr confdefs.h > conftest.vals
6822 # This sed command replaces #undef with comments. This is necessary, for
6823 # example, in the case of _POSIX_SOURCE, which is predefined and required
6824 # on some systems where configure will not decide to define it.
6825 cat >> conftest.vals <<\EOF
6826 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
6829 # Break up conftest.vals because some shells have a limit on
6830 # the size of here documents, and old seds have small limits too.
6835 ac_lines=`grep -c . conftest.vals
`
6836 # grep -c gives empty output for an empty file on some AIX systems.
6837 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
6838 # Write a limited-size here document to conftest.frag.
6839 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
6840 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
6842 sed -f conftest.frag conftest.in > conftest.out
6844 mv conftest.out conftest.in
6846 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
6848 mv conftest.tail conftest.vals
6852 cat >> $CONFIG_STATUS <<\EOF
6853 rm -f conftest.frag conftest.h
6854 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
6855 cat conftest.in >> conftest.h
6857 if cmp -s $ac_file conftest.h 2>/dev/null; then
6858 echo "$ac_file is unchanged"
6861 # Remove last slash and all that follows it. Not all systems have dirname.
6862 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
6863 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
6864 # The file is in a subdirectory.
6865 test ! -d "$ac_dir" && mkdir "$ac_dir"
6868 mv conftest.h $ac_file
6873 cat >> $CONFIG_STATUS <<EOF
6876 cat >> $CONFIG_STATUS <<\EOF
6880 chmod +x $CONFIG_STATUS
6881 rm -fr confdefs* $ac_clean_files
6882 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
6885 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache