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-odbc use iODBC"
39 **--with-opengl use opengl (OpenGL or Mesa)"
41 **--with_apple_ieee use the Apple IEEE codec"
43 **--with-storable use storable classes"
45 **--with-autotrans use gettext automatic translation"
47 **--with-afmfonts use Adobe Font Metric Font table"
49 **--with-PS-normalized use normalized PS fonts"
53 **--with-wxresources use wxresources"
55 **--with-prologio use prologio"
57 **--with-postscript use postscript-device-context"
59 **--with-wxconfig use wxconfig"
61 **--with-metafile use metafile"
63 **--with-form use form"
65 **--with-help use help"
69 **--with-enhanceddialog use enhanced dialog"
71 **--with-resources use resources"
73 **--with-clipboard use clipboard"
75 **--with-timedate use timedate"
77 **--with-fraction use fraction"
79 **--with-constraints use constraints"
81 **--with-toolbar use toolbar"
83 **--with-gauge use gauge"
85 **--with-vlbox use virtual list box"
87 **--with-scrollbar use scrollbar"
89 **--with-docview use document view architecture"
91 **--with-printarch use printing architecture"
93 **--with-typetree use typetree"
95 **--with-wxgraph use wxgraph"
97 **--with-wxtree use wxtree"
99 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)"
101 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)"
103 # Initialize some variables set by options.
104 # The variables have the same names as the options, with
105 # dashes changed to underlines.
107 cache_file
=.
/config.cache
116 program_transform_name
=s
,x
,x
,
124 bindir
='${exec_prefix}/bin'
125 sbindir
='${exec_prefix}/sbin'
126 libexecdir
='${exec_prefix}/libexec'
127 datadir
='${prefix}/share'
128 sysconfdir
='${prefix}/etc'
129 sharedstatedir
='${prefix}/com'
130 localstatedir
='${prefix}/var'
131 libdir
='${exec_prefix}/lib'
132 includedir
='${prefix}/include'
133 oldincludedir
='/usr/include'
134 infodir
='${prefix}/info'
135 mandir
='${prefix}/man'
137 # Initialize some other variables.
140 # Maximum number of lines to put in a shell here document.
147 # If the previous option needs an argument, assign it.
148 if test -n "$ac_prev"; then
149 eval "$ac_prev=\$ac_option"
155 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
159 # Accept the important Cygnus configure options, so we can diagnose typos.
163 -bindir | --bindir | --bindi | --bind | --bin | --bi)
165 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
166 bindir
="$ac_optarg" ;;
168 -build | --build | --buil | --bui | --bu)
170 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
171 build
="$ac_optarg" ;;
173 -cache-file | --cache-file | --cache-fil | --cache-fi \
174 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
175 ac_prev
=cache_file
;;
176 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
177 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
178 cache_file
="$ac_optarg" ;;
180 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
182 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
184 datadir
="$ac_optarg" ;;
186 -disable-* | --disable-*)
187 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
188 # Reject names that are not valid shell variable names.
189 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
190 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
192 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
193 eval "enable_${ac_feature}=no" ;;
195 -enable-* | --enable-*)
196 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
197 # Reject names that are not valid shell variable names.
198 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
199 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
201 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
206 eval "enable_${ac_feature}='$ac_optarg'" ;;
208 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
209 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
210 | --exec | --exe | --ex)
211 ac_prev
=exec_prefix
;;
212 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
213 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
214 | --exec=* | --exe=* | --ex=*)
215 exec_prefix
="$ac_optarg" ;;
217 -gas | --gas | --ga | --g)
218 # Obsolete; use --with-gas.
221 -help | --help | --hel | --he)
222 # Omit some internal or obsolete options to make the list less imposing.
223 # This message is too long to be a string in the A/UX 3.1 sh.
225 Usage: configure [options] [host]
226 Options: [defaults in brackets after descriptions]
228 --cache-file=FILE cache test results in FILE
229 --help print this message
230 --no-create do not create output files
231 --quiet, --silent do not print \`checking...' messages
232 --version print the version of autoconf that created configure
233 Directory and file names:
234 --prefix=PREFIX install architecture-independent files in PREFIX
236 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
238 --bindir=DIR user executables in DIR [EPREFIX/bin]
239 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
240 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
241 --datadir=DIR read-only architecture-independent data in DIR
243 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
244 --sharedstatedir=DIR modifiable architecture-independent data in DIR
246 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
247 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
248 --includedir=DIR C header files in DIR [PREFIX/include]
249 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
250 --infodir=DIR info documentation in DIR [PREFIX/info]
251 --mandir=DIR man documentation in DIR [PREFIX/man]
252 --srcdir=DIR find the sources in DIR [configure dir or ..]
253 --program-prefix=PREFIX prepend PREFIX to installed program names
254 --program-suffix=SUFFIX append SUFFIX to installed program names
255 --program-transform-name=PROGRAM
256 run sed PROGRAM on installed program names
260 --build=BUILD configure for building on BUILD [BUILD=HOST]
261 --host=HOST configure for HOST [guessed]
262 --target=TARGET configure for TARGET [TARGET=HOST]
263 Features and packages:
264 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
265 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
266 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
267 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
268 --x-includes=DIR X include files are in DIR
269 --x-libraries=DIR X library files are in DIR
271 if test -n "$ac_help"; then
272 echo "--enable and --with options recognized:$ac_help"
276 -host | --host | --hos | --ho)
278 -host=* | --host=* | --hos=* | --ho=*)
281 -includedir | --includedir | --includedi | --included | --include \
282 | --includ | --inclu | --incl | --inc)
283 ac_prev
=includedir
;;
284 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
285 | --includ=* | --inclu=* | --incl=* | --inc=*)
286 includedir
="$ac_optarg" ;;
288 -infodir | --infodir | --infodi | --infod | --info | --inf)
290 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
291 infodir
="$ac_optarg" ;;
293 -libdir | --libdir | --libdi | --libd)
295 -libdir=* | --libdir=* | --libdi=* | --libd=*)
296 libdir
="$ac_optarg" ;;
298 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
299 | --libexe | --libex | --libe)
300 ac_prev
=libexecdir
;;
301 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
302 | --libexe=* | --libex=* | --libe=*)
303 libexecdir
="$ac_optarg" ;;
305 -localstatedir | --localstatedir | --localstatedi | --localstated \
306 | --localstate | --localstat | --localsta | --localst \
307 | --locals | --local | --loca | --loc | --lo)
308 ac_prev
=localstatedir
;;
309 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
310 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
311 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
312 localstatedir
="$ac_optarg" ;;
314 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
316 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
317 mandir
="$ac_optarg" ;;
320 # Obsolete; use --without-fp.
323 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
327 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
328 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
331 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
332 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
333 | --oldin | --oldi | --old | --ol | --o)
334 ac_prev
=oldincludedir
;;
335 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
336 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
337 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
338 oldincludedir
="$ac_optarg" ;;
340 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
342 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
343 prefix
="$ac_optarg" ;;
345 -program-prefix | --program-prefix | --program-prefi | --program-pref \
346 | --program-pre | --program-pr | --program-p)
347 ac_prev
=program_prefix
;;
348 -program-prefix=* | --program-prefix=* | --program-prefi=* \
349 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
350 program_prefix
="$ac_optarg" ;;
352 -program-suffix | --program-suffix | --program-suffi | --program-suff \
353 | --program-suf | --program-su | --program-s)
354 ac_prev
=program_suffix
;;
355 -program-suffix=* | --program-suffix=* | --program-suffi=* \
356 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
357 program_suffix
="$ac_optarg" ;;
359 -program-transform-name | --program-transform-name \
360 | --program-transform-nam | --program-transform-na \
361 | --program-transform-n | --program-transform- \
362 | --program-transform | --program-transfor \
363 | --program-transfo | --program-transf \
364 | --program-trans | --program-tran \
365 | --progr-tra | --program-tr | --program-t)
366 ac_prev
=program_transform_name
;;
367 -program-transform-name=* | --program-transform-name=* \
368 | --program-transform-nam=* | --program-transform-na=* \
369 | --program-transform-n=* | --program-transform-=* \
370 | --program-transform=* | --program-transfor=* \
371 | --program-transfo=* | --program-transf=* \
372 | --program-trans=* | --program-tran=* \
373 | --progr-tra=* | --program-tr=* | --program-t=*)
374 program_transform_name
="$ac_optarg" ;;
376 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
377 | -silent | --silent | --silen | --sile | --sil)
380 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
382 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
384 sbindir
="$ac_optarg" ;;
386 -sharedstatedir | --sharedstatedir | --sharedstatedi \
387 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
388 | --sharedst | --shareds | --shared | --share | --shar \
390 ac_prev
=sharedstatedir
;;
391 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
392 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
393 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
395 sharedstatedir
="$ac_optarg" ;;
397 -site | --site | --sit)
399 -site=* | --site=* | --sit=*)
402 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
404 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
405 srcdir
="$ac_optarg" ;;
407 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
408 | --syscon | --sysco | --sysc | --sys | --sy)
409 ac_prev
=sysconfdir
;;
410 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
411 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
412 sysconfdir
="$ac_optarg" ;;
414 -target | --target | --targe | --targ | --tar | --ta | --t)
416 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
417 target
="$ac_optarg" ;;
419 -v | -verbose | --verbose | --verbos | --verbo | --verb)
422 -version | --version | --versio | --versi | --vers)
423 echo "configure generated by autoconf version 2.12"
427 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
428 # Reject names that are not valid shell variable names.
429 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
430 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
432 ac_package
=`echo $ac_package| sed 's/-/_/g'`
437 eval "with_${ac_package}='$ac_optarg'" ;;
439 -without-* | --without-*)
440 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
441 # Reject names that are not valid shell variable names.
442 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
443 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
445 ac_package
=`echo $ac_package| sed 's/-/_/g'`
446 eval "with_${ac_package}=no" ;;
449 # Obsolete; use --with-x.
452 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
453 | --x-incl | --x-inc | --x-in | --x-i)
454 ac_prev
=x_includes
;;
455 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
456 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
457 x_includes
="$ac_optarg" ;;
459 -x-libraries | --x-libraries | --x-librarie | --x-librari \
460 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
461 ac_prev
=x_libraries
;;
462 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
463 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
464 x_libraries
="$ac_optarg" ;;
466 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
470 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
471 echo "configure: warning: $ac_option: invalid host type" 1>&2
473 if test "x$nonopt" != xNONE
; then
474 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
482 if test -n "$ac_prev"; then
483 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
486 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
488 # File descriptor usage:
491 # 2 errors and warnings
492 # 3 some systems may open it to /dev/tty
493 # 4 used on the Kubota Titan
494 # 6 checking for... messages and results
495 # 5 compiler messages saved in config.log
496 if test "$silent" = yes; then
504 This file contains any messages produced by compilers while
505 running configure, to aid debugging if configure makes a mistake.
508 # Strip out --no-create and --no-recursion so they do not pile up.
509 # Also quote any args containing shell metacharacters.
514 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
515 | --no-cr | --no-c) ;;
516 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
517 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
518 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
519 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
520 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
525 # Only set these to C if already set. These must not be set unconditionally
526 # because not all systems understand e.g. LANG=C (notably SCO).
527 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
528 # Non-C LC_CTYPE values break the ctype check.
529 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
530 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
531 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
532 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
534 # confdefs.h avoids OS command line length limits that DEFS can exceed.
535 rm -rf conftest
* confdefs.h
536 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
539 # A filename unique to this package, relative to the directory that
540 # configure is in, which we can look for to find out if srcdir is correct.
541 ac_unique_file
=configure.
in
543 # Find the source files, if location was not specified.
544 if test -z "$srcdir"; then
545 ac_srcdir_defaulted
=yes
546 # Try the directory containing this script, then its parent.
548 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
549 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
551 if test ! -r $srcdir/$ac_unique_file; then
555 ac_srcdir_defaulted
=no
557 if test ! -r $srcdir/$ac_unique_file; then
558 if test "$ac_srcdir_defaulted" = yes; then
559 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
561 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
564 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
566 # Prefer explicitly selected file to automatically selected ones.
567 if test -z "$CONFIG_SITE"; then
568 if test "x$prefix" != xNONE
; then
569 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
571 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
574 for ac_site_file
in $CONFIG_SITE; do
575 if test -r "$ac_site_file"; then
576 echo "loading site script $ac_site_file"
581 if test -r "$cache_file"; then
582 echo "loading cache $cache_file"
585 echo "creating cache $cache_file"
590 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
591 ac_cpp
='$CPP $CPPFLAGS'
592 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
593 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
594 cross_compiling
=$ac_cv_prog_cc_cross
596 if (echo "testing\c"; echo 1,2,3) | grep c
>/dev
/null
; then
597 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
598 if (echo -n testing
; echo 1,2,3) | sed s
/-n/xn
/ | grep xn
>/dev
/null
; then
605 ac_n
= ac_c
='\c' ac_t
=
613 if test "x$OS" = "x"; then
615 { echo "configure: error: "The system variable OS has not been
set"
616 "please
set is everytime befor compiling on this system
"
617 "A good example
for this system would be
:"
618 "setenv OSTYPE
$UNAME for csh as a SHELL
"
619 "EXPORT OSTYPE
=$UNAME for sh as SHELL
"
620 "please
set this and restart again.
"
632 /usr/Motif1.2/include \
642 /usr/local/X11R6/include \
643 /usr/local/X11R5/include \
644 /usr/local/X11R4/include \
646 /usr/local/include/X11R6 \
647 /usr/local/include/X11R5 \
648 /usr/local/include/X11R4 \
652 /usr/local/X11/include \
653 /usr/local/include/X11 \
657 /usr/XFree86/include/X11 \
661 /usr/local/include/gtk \
662 /usr/unsupported/include \
663 /usr/athena/include \
664 /usr/local/x11r5/include \
665 /usr/lpp/Xamples/include \
667 /usr/openwin/include \
668 /usr/openwin/share/include \
671 SEARCH_LIB
="`echo "$SEARCH_INCLUDE" | sed s/include/lib/g` \
676 # Extract the first word of "gcc", so it can be a program name with args.
677 set dummy gcc
; ac_word
=$2
678 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
679 echo "configure:680: checking for $ac_word" >&5
680 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
681 echo $ac_n "(cached) $ac_c" 1>&6
683 if test -n "$CC"; then
684 ac_cv_prog_CC
="$CC" # Let the user override the test.
686 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
687 for ac_dir
in $PATH; do
688 test -z "$ac_dir" && ac_dir
=.
689 if test -f $ac_dir/$ac_word; then
698 if test -n "$CC"; then
699 echo "$ac_t""$CC" 1>&6
701 echo "$ac_t""no" 1>&6
704 if test -z "$CC"; then
705 # Extract the first word of "cc", so it can be a program name with args.
706 set dummy cc
; ac_word
=$2
707 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
708 echo "configure:709: checking for $ac_word" >&5
709 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
710 echo $ac_n "(cached) $ac_c" 1>&6
712 if test -n "$CC"; then
713 ac_cv_prog_CC
="$CC" # Let the user override the test.
715 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
717 for ac_dir
in $PATH; do
718 test -z "$ac_dir" && ac_dir
=.
719 if test -f $ac_dir/$ac_word; then
720 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
729 if test $ac_prog_rejected = yes; then
730 # We found a bogon in the path, so make sure we never use it.
731 set dummy
$ac_cv_prog_CC
733 if test $# -gt 0; then
734 # We chose a different compiler from the bogus one.
735 # However, it has the same basename, so the bogon will be chosen
736 # first if we set CC to just the basename; use the full file name.
738 set dummy
"$ac_dir/$ac_word" "$@"
746 if test -n "$CC"; then
747 echo "$ac_t""$CC" 1>&6
749 echo "$ac_t""no" 1>&6
752 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
755 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
756 echo "configure:757: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
759 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
760 ac_cpp
='$CPP $CPPFLAGS'
761 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
762 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
763 cross_compiling
=$ac_cv_prog_cc_cross
765 cat > conftest.
$ac_ext <<EOF
766 #line 767 "configure"
767 #include "confdefs.h"
770 if { (eval echo configure
:771: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
771 ac_cv_prog_cc_works
=yes
772 # If we can't run a trivial program, we are probably using a cross compiler.
773 if (.
/conftest
; exit) 2>/dev
/null
; then
774 ac_cv_prog_cc_cross
=no
776 ac_cv_prog_cc_cross
=yes
779 echo "configure: failed program was:" >&5
780 cat conftest.
$ac_ext >&5
781 ac_cv_prog_cc_works
=no
785 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
786 if test $ac_cv_prog_cc_works = no
; then
787 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
789 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
790 echo "configure:791: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
791 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
792 cross_compiling
=$ac_cv_prog_cc_cross
794 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
795 echo "configure:796: checking whether we are using GNU C" >&5
796 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
797 echo $ac_n "(cached) $ac_c" 1>&6
799 cat > conftest.c
<<EOF
804 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:805: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
811 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
813 if test $ac_cv_prog_gcc = yes; then
815 ac_test_CFLAGS
="${CFLAGS+set}"
816 ac_save_CFLAGS
="$CFLAGS"
818 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
819 echo "configure:820: checking whether ${CC-cc} accepts -g" >&5
820 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
821 echo $ac_n "(cached) $ac_c" 1>&6
823 echo 'void f(){}' > conftest.c
824 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
833 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
834 if test "$ac_test_CFLAGS" = set; then
835 CFLAGS
="$ac_save_CFLAGS"
836 elif test $ac_cv_prog_cc_g = yes; then
843 test "${CFLAGS+set}" = set || CFLAGS
="-g"
847 CFLAGS
=`echo "$CFLAGS" | sed 's/-g//g'`
849 if test "x$CC" != xcc
; then
850 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
851 echo "configure:852: checking whether $CC and cc understand -c and -o together" >&5
853 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
854 echo "configure:855: checking whether cc understands -c and -o together" >&5
856 set dummy
$CC; ac_cc
="`echo $2 |
857 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
858 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
859 echo $ac_n "(cached) $ac_c" 1>&6
861 echo 'foo(){}' > conftest.c
862 # Make sure it works both with $CC and with simple cc.
863 # We do the test twice because some compilers refuse to overwrite an
864 # existing .o file with -o, though they will create one.
865 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
866 if { (eval echo configure
:867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
867 test -f conftest.o
&& { (eval echo configure
:868: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
869 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
870 if test "x$CC" != xcc
; then
871 # Test first that cc exists at all.
872 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:873: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
873 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
874 if { (eval echo configure
:875: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
875 test -f conftest.o
&& { (eval echo configure
:876: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
880 # cc exists but doesn't like -o.
881 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
886 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
891 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
892 echo "$ac_t""yes" 1>&6
894 echo "$ac_t""no" 1>&6
895 cat >> confdefs.h
<<\EOF
896 #define NO_MINUS_C_MINUS_O 1
901 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
902 echo "configure:903: checking how to run the C preprocessor" >&5
903 # On Suns, sometimes $CPP names a directory.
904 if test -n "$CPP" && test -d "$CPP"; then
907 if test -z "$CPP"; then
908 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
909 echo $ac_n "(cached) $ac_c" 1>&6
911 # This must be in double quotes, not single quotes, because CPP may get
912 # substituted into the Makefile and "${CC-cc}" will confuse make.
914 # On the NeXT, cc -E runs the code through the compiler's parser,
915 # not just through cpp.
916 cat > conftest.
$ac_ext <<EOF
917 #line 918 "configure"
918 #include "confdefs.h"
922 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
923 { (eval echo configure
:924: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
924 ac_err
=`grep -v '^ *+' conftest.out`
925 if test -z "$ac_err"; then
929 echo "configure: failed program was:" >&5
930 cat conftest.
$ac_ext >&5
932 CPP
="${CC-cc} -E -traditional-cpp"
933 cat > conftest.
$ac_ext <<EOF
934 #line 935 "configure"
935 #include "confdefs.h"
939 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
940 { (eval echo configure
:941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
941 ac_err
=`grep -v '^ *+' conftest.out`
942 if test -z "$ac_err"; then
946 echo "configure: failed program was:" >&5
947 cat conftest.
$ac_ext >&5
954 ac_cv_prog_CPP
="$CPP"
956 CPP
="$ac_cv_prog_CPP"
958 ac_cv_prog_CPP
="$CPP"
960 echo "$ac_t""$CPP" 1>&6
962 if test $ac_cv_prog_gcc = yes; then
963 echo $ac_n "checking whether ${CC-cc} needs -traditional""... $ac_c" 1>&6
964 echo "configure:965: checking whether ${CC-cc} needs -traditional" >&5
965 if eval "test \"`echo '$''{'ac_cv_prog_gcc_traditional'+set}'`\" = set"; then
966 echo $ac_n "(cached) $ac_c" 1>&6
968 ac_pattern
="Autoconf.*'x'"
969 cat > conftest.
$ac_ext <<EOF
970 #line 971 "configure"
971 #include "confdefs.h"
975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
976 egrep "$ac_pattern" >/dev
/null
2>&1; then
978 ac_cv_prog_gcc_traditional
=yes
981 ac_cv_prog_gcc_traditional
=no
986 if test $ac_cv_prog_gcc_traditional = no
; then
987 cat > conftest.
$ac_ext <<EOF
988 #line 989 "configure"
989 #include "confdefs.h"
993 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
994 egrep "$ac_pattern" >/dev
/null
2>&1; then
996 ac_cv_prog_gcc_traditional
=yes
1003 echo "$ac_t""$ac_cv_prog_gcc_traditional" 1>&6
1004 if test $ac_cv_prog_gcc_traditional = yes; then
1005 CC
="$CC -traditional"
1012 for ac_prog
in $CCC c
++ g
++ gcc CC cxx cc
++
1014 # Extract the first word of "$ac_prog", so it can be a program name with args.
1015 set dummy
$ac_prog; ac_word
=$2
1016 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1017 echo "configure:1018: checking for $ac_word" >&5
1018 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
1019 echo $ac_n "(cached) $ac_c" 1>&6
1021 if test -n "$CXX"; then
1022 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
1024 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1025 for ac_dir
in $PATH; do
1026 test -z "$ac_dir" && ac_dir
=.
1027 if test -f $ac_dir/$ac_word; then
1028 ac_cv_prog_CXX
="$ac_prog"
1035 CXX
="$ac_cv_prog_CXX"
1036 if test -n "$CXX"; then
1037 echo "$ac_t""$CXX" 1>&6
1039 echo "$ac_t""no" 1>&6
1042 test -n "$CXX" && break
1044 test -n "$CXX" || CXX
="gcc"
1047 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1048 echo "configure:1049: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
1051 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1052 ac_cpp
='$CXXCPP $CPPFLAGS'
1053 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1054 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1055 cross_compiling
=$ac_cv_prog_cxx_cross
1057 cat > conftest.
$ac_ext <<EOF
1058 #line 1059 "configure"
1059 #include "confdefs.h"
1062 if { (eval echo configure
:1063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1063 ac_cv_prog_cxx_works
=yes
1064 # If we can't run a trivial program, we are probably using a cross compiler.
1065 if (.
/conftest
; exit) 2>/dev
/null
; then
1066 ac_cv_prog_cxx_cross
=no
1068 ac_cv_prog_cxx_cross
=yes
1071 echo "configure: failed program was:" >&5
1072 cat conftest.
$ac_ext >&5
1073 ac_cv_prog_cxx_works
=no
1077 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1078 ac_cpp
='$CPP $CPPFLAGS'
1079 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1080 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1081 cross_compiling
=$ac_cv_prog_cc_cross
1083 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
1084 if test $ac_cv_prog_cxx_works = no
; then
1085 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
1087 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1088 echo "configure:1089: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
1089 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
1090 cross_compiling
=$ac_cv_prog_cxx_cross
1092 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
1093 echo "configure:1094: checking whether we are using GNU C++" >&5
1094 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
1095 echo $ac_n "(cached) $ac_c" 1>&6
1097 cat > conftest.C
<<EOF
1102 if { ac_try
='${CXX-g++} -E conftest.C'; { (eval echo configure
:1103: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev
/null
2>&1; then
1109 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
1111 if test $ac_cv_prog_gxx = yes; then
1113 ac_test_CXXFLAGS
="${CXXFLAGS+set}"
1114 ac_save_CXXFLAGS
="$CXXFLAGS"
1116 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
1117 echo "configure:1118: checking whether ${CXX-g++} accepts -g" >&5
1118 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1119 echo $ac_n "(cached) $ac_c" 1>&6
1121 echo 'void f(){}' > conftest.cc
1122 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1123 ac_cv_prog_cxx_g
=yes
1131 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1132 if test "$ac_test_CXXFLAGS" = set; then
1133 CXXFLAGS
="$ac_save_CXXFLAGS"
1134 elif test $ac_cv_prog_cxx_g = yes; then
1141 test "${CXXFLAGS+set}" = set || CXXFLAGS
="-g"
1144 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1145 echo "configure:1146: checking how to run the C++ preprocessor" >&5
1146 if test -z "$CXXCPP"; then
1147 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1148 echo $ac_n "(cached) $ac_c" 1>&6
1151 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1152 ac_cpp
='$CXXCPP $CPPFLAGS'
1153 ac_compile
='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1154 ac_link
='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1155 cross_compiling
=$ac_cv_prog_cxx_cross
1156 CXXCPP
="${CXX-g++} -E"
1157 cat > conftest.
$ac_ext <<EOF
1158 #line 1159 "configure"
1159 #include "confdefs.h"
1162 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1163 { (eval echo configure
:1164: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1164 ac_err
=`grep -v '^ *+' conftest.out`
1165 if test -z "$ac_err"; then
1169 echo "configure: failed program was:" >&5
1170 cat conftest.
$ac_ext >&5
1175 ac_cv_prog_CXXCPP
="$CXXCPP"
1177 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1178 ac_cpp
='$CPP $CPPFLAGS'
1179 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1180 ac_link
='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1181 cross_compiling
=$ac_cv_prog_cc_cross
1184 CXXCPP
="$ac_cv_prog_CXXCPP"
1185 echo "$ac_t""$CXXCPP" 1>&6
1188 CXXFLAGS
=`echo "$CXXFLAGS" | sed 's/-g//g'`
1192 # Extract the first word of "ranlib", so it can be a program name with args.
1193 set dummy ranlib
; ac_word
=$2
1194 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1195 echo "configure:1196: checking for $ac_word" >&5
1196 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1197 echo $ac_n "(cached) $ac_c" 1>&6
1199 if test -n "$RANLIB"; then
1200 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
1202 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1203 for ac_dir
in $PATH; do
1204 test -z "$ac_dir" && ac_dir
=.
1205 if test -f $ac_dir/$ac_word; then
1206 ac_cv_prog_RANLIB
="ranlib"
1211 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
1214 RANLIB
="$ac_cv_prog_RANLIB"
1215 if test -n "$RANLIB"; then
1216 echo "$ac_t""$RANLIB" 1>&6
1218 echo "$ac_t""no" 1>&6
1222 # Extract the first word of "ar", so it can be a program name with args.
1223 set dummy
ar; ac_word
=$2
1224 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1225 echo "configure:1226: checking for $ac_word" >&5
1226 if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1227 echo $ac_n "(cached) $ac_c" 1>&6
1229 if test -n "$AR"; then
1230 ac_cv_prog_AR
="$AR" # Let the user override the test.
1232 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1233 for ac_dir
in $PATH; do
1234 test -z "$ac_dir" && ac_dir
=.
1235 if test -f $ac_dir/$ac_word; then
1241 test -z "$ac_cv_prog_AR" && ac_cv_prog_AR
="ar"
1245 if test -n "$AR"; then
1246 echo "$ac_t""$AR" 1>&6
1248 echo "$ac_t""no" 1>&6
1253 for ac_dir
in $srcdir $srcdir/..
$srcdir/..
/..
; do
1254 if test -f $ac_dir/install-sh; then
1256 ac_install_sh
="$ac_aux_dir/install-sh -c"
1258 elif test -f $ac_dir/install.sh
; then
1260 ac_install_sh
="$ac_aux_dir/install.sh -c"
1264 if test -z "$ac_aux_dir"; then
1265 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
1267 ac_config_guess
=$ac_aux_dir/config.guess
1268 ac_config_sub
=$ac_aux_dir/config.sub
1269 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
1271 # Find a good install program. We prefer a C program (faster),
1272 # so one script is as good as another. But avoid the broken or
1273 # incompatible versions:
1274 # SysV /etc/install, /usr/sbin/install
1275 # SunOS /usr/etc/install
1276 # IRIX /sbin/install
1278 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1279 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1280 # ./install, which can be erroneously created by make from ./install.sh.
1281 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1282 echo "configure:1283: checking for a BSD compatible install" >&5
1283 if test -z "$INSTALL"; then
1284 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1285 echo $ac_n "(cached) $ac_c" 1>&6
1287 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
="${IFS}:"
1288 for ac_dir
in $PATH; do
1289 # Account for people who put trailing slashes in PATH elements.
1291 /|.
/|.
//|/etc
/*|/usr
/sbin
/*|/usr
/etc
/*|/sbin
/*|/usr
/afsws
/bin
/*|/usr
/ucb
/*) ;;
1293 # OSF1 and SCO ODT 3.0 have their own names for install.
1294 for ac_prog
in ginstall installbsd scoinst
install; do
1295 if test -f $ac_dir/$ac_prog; then
1296 if test $ac_prog = install &&
1297 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
1298 # AIX install. It has an incompatible calling convention.
1299 # OSF/1 installbsd also uses dspmsg, but is usable.
1302 ac_cv_path_install
="$ac_dir/$ac_prog -c"
1313 if test "${ac_cv_path_install+set}" = set; then
1314 INSTALL
="$ac_cv_path_install"
1316 # As a last resort, use the slow shell script. We don't cache a
1317 # path for INSTALL within a source directory, because that will
1318 # break other packages using the cache if that directory is
1319 # removed, or if the path is relative.
1320 INSTALL
="$ac_install_sh"
1323 echo "$ac_t""$INSTALL" 1>&6
1325 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1326 # It thinks the first close brace ends the variable substitution.
1327 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
1329 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
1332 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1333 echo "configure:1334: checking whether ln -s works" >&5
1334 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1335 echo $ac_n "(cached) $ac_c" 1>&6
1338 if ln -s X conftestdata
2>/dev
/null
1341 ac_cv_prog_LN_S
="ln -s"
1346 LN_S
="$ac_cv_prog_LN_S"
1347 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1348 echo "$ac_t""yes" 1>&6
1350 echo "$ac_t""no" 1>&6
1354 for ac_prog
in mawk gawk nawk
awk
1356 # Extract the first word of "$ac_prog", so it can be a program name with args.
1357 set dummy
$ac_prog; ac_word
=$2
1358 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1359 echo "configure:1360: checking for $ac_word" >&5
1360 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
1361 echo $ac_n "(cached) $ac_c" 1>&6
1363 if test -n "$AWK"; then
1364 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
1366 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
1367 for ac_dir
in $PATH; do
1368 test -z "$ac_dir" && ac_dir
=.
1369 if test -f $ac_dir/$ac_word; then
1370 ac_cv_prog_AWK
="$ac_prog"
1377 AWK
="$ac_cv_prog_AWK"
1378 if test -n "$AWK"; then
1379 echo "$ac_t""$AWK" 1>&6
1381 echo "$ac_t""no" 1>&6
1384 test -n "$AWK" && break
1388 echo $ac_n "checking "make for VPATH support
"""... $ac_c" 1>&6
1389 echo "configure:1390: checking "make for VPATH support
"" >&5
1390 cat - << EOF > confMake
1396 if test ! -d sub
; then
1399 echo dummy
> sub
/file
1400 ${MAKE-make} -f confMake VPATH
=sub
2> config.log
> /dev
/null
1402 rm -f sub
/file check final_file config.log confMake
1404 if test "$RESULT" = 0; then
1405 echo "$ac_t""yes" 1>&6
1407 echo "$ac_t""no" 1>&6
1408 { echo "configure: error: You need a make-utility that is able to use the variable
1410 If your version of make does not support VPATH correctly" 1>&2; exit 1; }
1414 # If we find X, set shell vars x_includes and x_libraries to the
1415 # paths, otherwise set no_x=yes.
1416 # Uses ac_ vars as temps to allow command line to override cache and checks.
1417 # --without-x overrides everything else, but does not touch the cache.
1418 echo $ac_n "checking for X""... $ac_c" 1>&6
1419 echo "configure:1420: checking for X" >&5
1421 # Check whether --with-x or --without-x was given.
1422 if test "${with_x+set}" = set; then
1427 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
1428 if test "x$with_x" = xno
; then
1429 # The user explicitly disabled X.
1432 if test "x$x_includes" != xNONE
&& test "x$x_libraries" != xNONE
; then
1433 # Both variables are already set.
1436 if eval "test \"`echo '$''{'ac_cv_have_x'+set}'`\" = set"; then
1437 echo $ac_n "(cached) $ac_c" 1>&6
1439 # One or both of the vars are not set, and there is no cached value.
1440 ac_x_includes
=NO ac_x_libraries
=NO
1442 if mkdir conftestdir
; then
1444 # Make sure to not put "make" in the Imakefile rules, since we grep it out.
1445 cat > Imakefile
<<'EOF'
1447 @echo 'ac_im_incroot="${INCROOT}"; ac_im_usrlibdir="${USRLIBDIR}"; ac_im_libdir="${LIBDIR}"'
1449 if (xmkmf
) >/dev
/null
2>/dev
/null
&& test -f Makefile
; then
1450 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1451 eval `${MAKE-make} acfindx 2>/dev/null | grep -v make`
1452 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
1453 for ac_extension
in a so sl
; do
1454 if test ! -f $ac_im_usrlibdir/libX11.
$ac_extension &&
1455 test -f $ac_im_libdir/libX11.
$ac_extension; then
1456 ac_im_usrlibdir
=$ac_im_libdir; break
1459 # Screen out bogus values from the imake configuration. They are
1460 # bogus both because they are the default anyway, and because
1461 # using them would break gcc on systems where it needs fixed includes.
1462 case "$ac_im_incroot" in
1464 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes
="$ac_im_incroot" ;;
1466 case "$ac_im_usrlibdir" in
1468 *) test -d "$ac_im_usrlibdir" && ac_x_libraries
="$ac_im_usrlibdir" ;;
1475 if test "$ac_x_includes" = NO
; then
1476 # Guess where to find include files, by looking for this one X11 .h file.
1477 test -z "$x_direct_test_include" && x_direct_test_include
=X
11/Intrinsic.h
1479 # First, try using that file with no special directory specified.
1480 cat > conftest.
$ac_ext <<EOF
1481 #line 1482 "configure"
1482 #include "confdefs.h"
1483 #include <$x_direct_test_include>
1485 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1486 { (eval echo configure
:1487: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1487 ac_err
=`grep -v '^ *+' conftest.out`
1488 if test -z "$ac_err"; then
1490 # We can compile using X headers with no special include directory.
1494 echo "configure: failed program was:" >&5
1495 cat conftest.
$ac_ext >&5
1497 # Look for the header file in a standard set of common directories.
1498 # Check X11 before X11Rn because it is often a symlink to the current release.
1501 /usr
/X
11R
6/include \
1502 /usr
/X
11R
5/include \
1503 /usr
/X
11R
4/include \
1506 /usr
/include
/X11R6 \
1507 /usr
/include
/X11R5 \
1508 /usr
/include
/X11R4 \
1510 /usr
/local
/X
11/include \
1511 /usr
/local
/X
11R
6/include \
1512 /usr
/local
/X
11R
5/include \
1513 /usr
/local
/X
11R
4/include \
1515 /usr
/local
/include
/X11 \
1516 /usr
/local
/include
/X11R6 \
1517 /usr
/local
/include
/X11R5 \
1518 /usr
/local
/include
/X11R4 \
1522 /usr
/XFree
86/include
/X11 \
1525 /usr
/local
/include \
1526 /usr
/unsupported
/include \
1527 /usr
/athena
/include \
1528 /usr
/local
/x
11r
5/include \
1529 /usr
/lpp
/Xamples
/include \
1531 /usr
/openwin
/include \
1532 /usr
/openwin
/share
/include \
1535 if test -r "$ac_dir/$x_direct_test_include"; then
1536 ac_x_includes
=$ac_dir
1542 fi # $ac_x_includes = NO
1544 if test "$ac_x_libraries" = NO
; then
1545 # Check for the libraries.
1547 test -z "$x_direct_test_library" && x_direct_test_library
=Xt
1548 test -z "$x_direct_test_function" && x_direct_test_function
=XtMalloc
1550 # See if we find them without any special options.
1551 # Don't add to $LIBS permanently.
1552 ac_save_LIBS
="$LIBS"
1553 LIBS
="-l$x_direct_test_library $LIBS"
1554 cat > conftest.
$ac_ext <<EOF
1555 #line 1556 "configure"
1556 #include "confdefs.h"
1559 ${x_direct_test_function}()
1562 if { (eval echo configure
:1563: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1564 LIBS
="$ac_save_LIBS"
1565 # We can link X programs with no special library path.
1568 echo "configure: failed program was:" >&5
1569 cat conftest.
$ac_ext >&5
1571 LIBS
="$ac_save_LIBS"
1572 # First see if replacing the include by lib works.
1573 # Check X11 before X11Rn because it is often a symlink to the current release.
1574 for ac_dir
in `echo "$ac_x_includes" | sed s/include/lib/` \
1585 /usr
/local
/X
11/lib \
1586 /usr
/local
/X
11R
6/lib \
1587 /usr
/local
/X
11R
5/lib \
1588 /usr
/local
/X
11R
4/lib \
1590 /usr
/local
/lib
/X11 \
1591 /usr
/local
/lib
/X11R6 \
1592 /usr
/local
/lib
/X11R5 \
1593 /usr
/local
/lib
/X11R4 \
1597 /usr
/XFree
86/lib
/X11 \
1601 /usr
/unsupported
/lib \
1603 /usr
/local
/x
11r
5/lib \
1604 /usr
/lpp
/Xamples
/lib \
1608 /usr
/openwin
/share
/lib \
1611 for ac_extension
in a so sl
; do
1612 if test -r $ac_dir/lib
${x_direct_test_library}.
$ac_extension; then
1613 ac_x_libraries
=$ac_dir
1620 fi # $ac_x_libraries = NO
1622 if test "$ac_x_includes" = NO
|| test "$ac_x_libraries" = NO
; then
1623 # Didn't find X anywhere. Cache the known absence of X.
1624 ac_cv_have_x
="have_x=no"
1626 # Record where we found X for the cache.
1627 ac_cv_have_x
="have_x=yes \
1628 ac_x_includes=$ac_x_includes ac_x_libraries=$ac_x_libraries"
1632 eval "$ac_cv_have_x"
1635 if test "$have_x" != yes; then
1636 echo "$ac_t""$have_x" 1>&6
1639 # If each of the values was on the command line, it overrides each guess.
1640 test "x$x_includes" = xNONE
&& x_includes
=$ac_x_includes
1641 test "x$x_libraries" = xNONE
&& x_libraries
=$ac_x_libraries
1642 # Update the cache value to reflect the command line values.
1643 ac_cv_have_x
="have_x=yes \
1644 ac_x_includes=$x_includes ac_x_libraries=$x_libraries"
1645 echo "$ac_t""libraries $x_libraries, headers $x_includes" 1>&6
1648 if test "$no_x" = yes; then
1649 # Not all programs may use this symbol, but it does not hurt to define it.
1650 cat >> confdefs.h
<<\EOF
1651 #define X_DISPLAY_MISSING 1
1654 X_CFLAGS
= X_PRE_LIBS
= X_LIBS
= X_EXTRA_LIBS
=
1656 if test -n "$x_includes"; then
1657 X_CFLAGS
="$X_CFLAGS -I$x_includes"
1660 # It would also be nice to do this for all -L options, not just this one.
1661 if test -n "$x_libraries"; then
1662 X_LIBS
="$X_LIBS -L$x_libraries"
1663 # For Solaris; some versions of Sun CC require a space after -R and
1664 # others require no space. Words are not sufficient . . . .
1665 case "`(uname -sr) 2>/dev/null`" in
1667 echo $ac_n "checking whether -R must be followed by a space""... $ac_c" 1>&6
1668 echo "configure:1669: checking whether -R must be followed by a space" >&5
1669 ac_xsave_LIBS
="$LIBS"; LIBS
="$LIBS -R$x_libraries"
1670 cat > conftest.
$ac_ext <<EOF
1671 #line 1672 "configure"
1672 #include "confdefs.h"
1678 if { (eval echo configure
:1679: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1682 echo "configure: failed program was:" >&5
1683 cat conftest.
$ac_ext >&5
1688 if test $ac_R_nospace = yes; then
1689 echo "$ac_t""no" 1>&6
1690 X_LIBS
="$X_LIBS -R$x_libraries"
1692 LIBS
="$ac_xsave_LIBS -R $x_libraries"
1693 cat > conftest.
$ac_ext <<EOF
1694 #line 1695 "configure"
1695 #include "confdefs.h"
1701 if { (eval echo configure
:1702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1705 echo "configure: failed program was:" >&5
1706 cat conftest.
$ac_ext >&5
1711 if test $ac_R_space = yes; then
1712 echo "$ac_t""yes" 1>&6
1713 X_LIBS
="$X_LIBS -R $x_libraries"
1715 echo "$ac_t""neither works" 1>&6
1718 LIBS
="$ac_xsave_LIBS"
1722 # Check for system-dependent libraries X programs must link with.
1723 # Do this before checking for the system-independent R6 libraries
1724 # (-lICE), since we may need -lsocket or whatever for X linking.
1726 if test "$ISC" = yes; then
1727 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl_s -linet"
1729 # Martyn.Johnson@cl.cam.ac.uk says this is needed for Ultrix, if the X
1730 # libraries were built with DECnet support. And karl@cs.umb.edu says
1731 # the Alpha needs dnet_stub (dnet does not exist).
1732 echo $ac_n "checking for dnet_ntoa in -ldnet""... $ac_c" 1>&6
1733 echo "configure:1734: checking for dnet_ntoa in -ldnet" >&5
1734 ac_lib_var
=`echo dnet'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1735 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1736 echo $ac_n "(cached) $ac_c" 1>&6
1738 ac_save_LIBS
="$LIBS"
1740 cat > conftest.
$ac_ext <<EOF
1741 #line 1742 "configure"
1742 #include "confdefs.h"
1743 /* Override any gcc2 internal prototype to avoid an error. */
1744 /* We use char because int might match the return type of a gcc2
1745 builtin and then its argument prototype would still apply. */
1752 if { (eval echo configure
:1753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1754 eval "ac_cv_lib_$ac_lib_var=yes"
1756 echo "configure: failed program was:" >&5
1757 cat conftest.
$ac_ext >&5
1759 eval "ac_cv_lib_$ac_lib_var=no"
1762 LIBS
="$ac_save_LIBS"
1765 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1766 echo "$ac_t""yes" 1>&6
1767 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet"
1769 echo "$ac_t""no" 1>&6
1772 if test $ac_cv_lib_dnet_dnet_ntoa = no
; then
1773 echo $ac_n "checking for dnet_ntoa in -ldnet_stub""... $ac_c" 1>&6
1774 echo "configure:1775: checking for dnet_ntoa in -ldnet_stub" >&5
1775 ac_lib_var
=`echo dnet_stub'_'dnet_ntoa | sed 'y%./+-%__p_%'`
1776 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1777 echo $ac_n "(cached) $ac_c" 1>&6
1779 ac_save_LIBS
="$LIBS"
1780 LIBS
="-ldnet_stub $LIBS"
1781 cat > conftest.
$ac_ext <<EOF
1782 #line 1783 "configure"
1783 #include "confdefs.h"
1784 /* Override any gcc2 internal prototype to avoid an error. */
1785 /* We use char because int might match the return type of a gcc2
1786 builtin and then its argument prototype would still apply. */
1793 if { (eval echo configure
:1794: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1795 eval "ac_cv_lib_$ac_lib_var=yes"
1797 echo "configure: failed program was:" >&5
1798 cat conftest.
$ac_ext >&5
1800 eval "ac_cv_lib_$ac_lib_var=no"
1803 LIBS
="$ac_save_LIBS"
1806 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1807 echo "$ac_t""yes" 1>&6
1808 X_EXTRA_LIBS
="$X_EXTRA_LIBS -ldnet_stub"
1810 echo "$ac_t""no" 1>&6
1815 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
1816 # to get the SysV transport functions.
1817 # chad@anasazi.com says the Pyramis MIS-ES running DC/OSx (SVR4)
1819 # The nsl library prevents programs from opening the X display
1820 # on Irix 5.2, according to dickey@clark.net.
1821 echo $ac_n "checking for gethostbyname""... $ac_c" 1>&6
1822 echo "configure:1823: checking for gethostbyname" >&5
1823 if eval "test \"`echo '$''{'ac_cv_func_gethostbyname'+set}'`\" = set"; then
1824 echo $ac_n "(cached) $ac_c" 1>&6
1826 cat > conftest.
$ac_ext <<EOF
1827 #line 1828 "configure"
1828 #include "confdefs.h"
1829 /* System header to define __stub macros and hopefully few prototypes,
1830 which can conflict with char gethostbyname(); below. */
1832 /* Override any gcc2 internal prototype to avoid an error. */
1833 /* We use char because int might match the return type of a gcc2
1834 builtin and then its argument prototype would still apply. */
1835 char gethostbyname();
1839 /* The GNU C library defines this for functions which it implements
1840 to always fail with ENOSYS. Some functions are actually named
1841 something starting with __ and the normal name is an alias. */
1842 #if defined (__stub_gethostbyname) || defined (__stub___gethostbyname)
1850 if { (eval echo configure
:1851: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1852 eval "ac_cv_func_gethostbyname=yes"
1854 echo "configure: failed program was:" >&5
1855 cat conftest.
$ac_ext >&5
1857 eval "ac_cv_func_gethostbyname=no"
1862 if eval "test \"`echo '$ac_cv_func_'gethostbyname`\" = yes"; then
1863 echo "$ac_t""yes" 1>&6
1866 echo "$ac_t""no" 1>&6
1869 if test $ac_cv_func_gethostbyname = no
; then
1870 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6
1871 echo "configure:1872: checking for gethostbyname in -lnsl" >&5
1872 ac_lib_var
=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'`
1873 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1874 echo $ac_n "(cached) $ac_c" 1>&6
1876 ac_save_LIBS
="$LIBS"
1878 cat > conftest.
$ac_ext <<EOF
1879 #line 1880 "configure"
1880 #include "confdefs.h"
1881 /* Override any gcc2 internal prototype to avoid an error. */
1882 /* We use char because int might match the return type of a gcc2
1883 builtin and then its argument prototype would still apply. */
1884 char gethostbyname();
1890 if { (eval echo configure
:1891: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1892 eval "ac_cv_lib_$ac_lib_var=yes"
1894 echo "configure: failed program was:" >&5
1895 cat conftest.
$ac_ext >&5
1897 eval "ac_cv_lib_$ac_lib_var=no"
1900 LIBS
="$ac_save_LIBS"
1903 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1904 echo "$ac_t""yes" 1>&6
1905 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lnsl"
1907 echo "$ac_t""no" 1>&6
1912 # lieder@skyler.mavd.honeywell.com says without -lsocket,
1913 # socket/setsockopt and other routines are undefined under SCO ODT
1914 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
1915 # on later versions), says simon@lia.di.epfl.ch: it contains
1916 # gethostby* variants that don't use the nameserver (or something).
1917 # -lsocket must be given before -lnsl if both are needed.
1918 # We assume that if connect needs -lnsl, so does gethostbyname.
1919 echo $ac_n "checking for connect""... $ac_c" 1>&6
1920 echo "configure:1921: checking for connect" >&5
1921 if eval "test \"`echo '$''{'ac_cv_func_connect'+set}'`\" = set"; then
1922 echo $ac_n "(cached) $ac_c" 1>&6
1924 cat > conftest.
$ac_ext <<EOF
1925 #line 1926 "configure"
1926 #include "confdefs.h"
1927 /* System header to define __stub macros and hopefully few prototypes,
1928 which can conflict with char connect(); below. */
1930 /* Override any gcc2 internal prototype to avoid an error. */
1931 /* We use char because int might match the return type of a gcc2
1932 builtin and then its argument prototype would still apply. */
1937 /* The GNU C library defines this for functions which it implements
1938 to always fail with ENOSYS. Some functions are actually named
1939 something starting with __ and the normal name is an alias. */
1940 #if defined (__stub_connect) || defined (__stub___connect)
1948 if { (eval echo configure
:1949: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1950 eval "ac_cv_func_connect=yes"
1952 echo "configure: failed program was:" >&5
1953 cat conftest.
$ac_ext >&5
1955 eval "ac_cv_func_connect=no"
1960 if eval "test \"`echo '$ac_cv_func_'connect`\" = yes"; then
1961 echo "$ac_t""yes" 1>&6
1964 echo "$ac_t""no" 1>&6
1967 if test $ac_cv_func_connect = no
; then
1968 echo $ac_n "checking for connect in -lsocket""... $ac_c" 1>&6
1969 echo "configure:1970: checking for connect in -lsocket" >&5
1970 ac_lib_var
=`echo socket'_'connect | sed 'y%./+-%__p_%'`
1971 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1972 echo $ac_n "(cached) $ac_c" 1>&6
1974 ac_save_LIBS
="$LIBS"
1975 LIBS
="-lsocket $X_EXTRA_LIBS $LIBS"
1976 cat > conftest.
$ac_ext <<EOF
1977 #line 1978 "configure"
1978 #include "confdefs.h"
1979 /* Override any gcc2 internal prototype to avoid an error. */
1980 /* We use char because int might match the return type of a gcc2
1981 builtin and then its argument prototype would still apply. */
1988 if { (eval echo configure
:1989: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
1990 eval "ac_cv_lib_$ac_lib_var=yes"
1992 echo "configure: failed program was:" >&5
1993 cat conftest.
$ac_ext >&5
1995 eval "ac_cv_lib_$ac_lib_var=no"
1998 LIBS
="$ac_save_LIBS"
2001 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2002 echo "$ac_t""yes" 1>&6
2003 X_EXTRA_LIBS
="-lsocket $X_EXTRA_LIBS"
2005 echo "$ac_t""no" 1>&6
2010 # gomez@mi.uni-erlangen.de says -lposix is necessary on A/UX.
2011 echo $ac_n "checking for remove""... $ac_c" 1>&6
2012 echo "configure:2013: checking for remove" >&5
2013 if eval "test \"`echo '$''{'ac_cv_func_remove'+set}'`\" = set"; then
2014 echo $ac_n "(cached) $ac_c" 1>&6
2016 cat > conftest.
$ac_ext <<EOF
2017 #line 2018 "configure"
2018 #include "confdefs.h"
2019 /* System header to define __stub macros and hopefully few prototypes,
2020 which can conflict with char remove(); below. */
2022 /* Override any gcc2 internal prototype to avoid an error. */
2023 /* We use char because int might match the return type of a gcc2
2024 builtin and then its argument prototype would still apply. */
2029 /* The GNU C library defines this for functions which it implements
2030 to always fail with ENOSYS. Some functions are actually named
2031 something starting with __ and the normal name is an alias. */
2032 #if defined (__stub_remove) || defined (__stub___remove)
2040 if { (eval echo configure
:2041: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2042 eval "ac_cv_func_remove=yes"
2044 echo "configure: failed program was:" >&5
2045 cat conftest.
$ac_ext >&5
2047 eval "ac_cv_func_remove=no"
2052 if eval "test \"`echo '$ac_cv_func_'remove`\" = yes"; then
2053 echo "$ac_t""yes" 1>&6
2056 echo "$ac_t""no" 1>&6
2059 if test $ac_cv_func_remove = no
; then
2060 echo $ac_n "checking for remove in -lposix""... $ac_c" 1>&6
2061 echo "configure:2062: checking for remove in -lposix" >&5
2062 ac_lib_var
=`echo posix'_'remove | sed 'y%./+-%__p_%'`
2063 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2064 echo $ac_n "(cached) $ac_c" 1>&6
2066 ac_save_LIBS
="$LIBS"
2067 LIBS
="-lposix $LIBS"
2068 cat > conftest.
$ac_ext <<EOF
2069 #line 2070 "configure"
2070 #include "confdefs.h"
2071 /* Override any gcc2 internal prototype to avoid an error. */
2072 /* We use char because int might match the return type of a gcc2
2073 builtin and then its argument prototype would still apply. */
2080 if { (eval echo configure
:2081: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2082 eval "ac_cv_lib_$ac_lib_var=yes"
2084 echo "configure: failed program was:" >&5
2085 cat conftest.
$ac_ext >&5
2087 eval "ac_cv_lib_$ac_lib_var=no"
2090 LIBS
="$ac_save_LIBS"
2093 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2094 echo "$ac_t""yes" 1>&6
2095 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lposix"
2097 echo "$ac_t""no" 1>&6
2102 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
2103 echo $ac_n "checking for shmat""... $ac_c" 1>&6
2104 echo "configure:2105: checking for shmat" >&5
2105 if eval "test \"`echo '$''{'ac_cv_func_shmat'+set}'`\" = set"; then
2106 echo $ac_n "(cached) $ac_c" 1>&6
2108 cat > conftest.
$ac_ext <<EOF
2109 #line 2110 "configure"
2110 #include "confdefs.h"
2111 /* System header to define __stub macros and hopefully few prototypes,
2112 which can conflict with char shmat(); below. */
2114 /* Override any gcc2 internal prototype to avoid an error. */
2115 /* We use char because int might match the return type of a gcc2
2116 builtin and then its argument prototype would still apply. */
2121 /* The GNU C library defines this for functions which it implements
2122 to always fail with ENOSYS. Some functions are actually named
2123 something starting with __ and the normal name is an alias. */
2124 #if defined (__stub_shmat) || defined (__stub___shmat)
2132 if { (eval echo configure
:2133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2134 eval "ac_cv_func_shmat=yes"
2136 echo "configure: failed program was:" >&5
2137 cat conftest.
$ac_ext >&5
2139 eval "ac_cv_func_shmat=no"
2144 if eval "test \"`echo '$ac_cv_func_'shmat`\" = yes"; then
2145 echo "$ac_t""yes" 1>&6
2148 echo "$ac_t""no" 1>&6
2151 if test $ac_cv_func_shmat = no
; then
2152 echo $ac_n "checking for shmat in -lipc""... $ac_c" 1>&6
2153 echo "configure:2154: checking for shmat in -lipc" >&5
2154 ac_lib_var
=`echo ipc'_'shmat | sed 'y%./+-%__p_%'`
2155 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2156 echo $ac_n "(cached) $ac_c" 1>&6
2158 ac_save_LIBS
="$LIBS"
2160 cat > conftest.
$ac_ext <<EOF
2161 #line 2162 "configure"
2162 #include "confdefs.h"
2163 /* Override any gcc2 internal prototype to avoid an error. */
2164 /* We use char because int might match the return type of a gcc2
2165 builtin and then its argument prototype would still apply. */
2172 if { (eval echo configure
:2173: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2174 eval "ac_cv_lib_$ac_lib_var=yes"
2176 echo "configure: failed program was:" >&5
2177 cat conftest.
$ac_ext >&5
2179 eval "ac_cv_lib_$ac_lib_var=no"
2182 LIBS
="$ac_save_LIBS"
2185 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2186 echo "$ac_t""yes" 1>&6
2187 X_EXTRA_LIBS
="$X_EXTRA_LIBS -lipc"
2189 echo "$ac_t""no" 1>&6
2195 # Check for libraries that X11R6 Xt/Xaw programs need.
2196 ac_save_LDFLAGS
="$LDFLAGS"
2197 test -n "$x_libraries" && LDFLAGS
="$LDFLAGS -L$x_libraries"
2198 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
2199 # check for ICE first), but we must link in the order -lSM -lICE or
2200 # we get undefined symbols. So assume we have SM if we have ICE.
2201 # These have to be linked with before -lX11, unlike the other
2202 # libraries we check for below, so use a different variable.
2203 # --interran@uluru.Stanford.EDU, kb@cs.umb.edu.
2204 echo $ac_n "checking for IceConnectionNumber in -lICE""... $ac_c" 1>&6
2205 echo "configure:2206: checking for IceConnectionNumber in -lICE" >&5
2206 ac_lib_var
=`echo ICE'_'IceConnectionNumber | sed 'y%./+-%__p_%'`
2207 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2208 echo $ac_n "(cached) $ac_c" 1>&6
2210 ac_save_LIBS
="$LIBS"
2212 cat > conftest.
$ac_ext <<EOF
2213 #line 2214 "configure"
2214 #include "confdefs.h"
2215 /* Override any gcc2 internal prototype to avoid an error. */
2216 /* We use char because int might match the return type of a gcc2
2217 builtin and then its argument prototype would still apply. */
2218 char IceConnectionNumber();
2221 IceConnectionNumber()
2224 if { (eval echo configure
:2225: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2226 eval "ac_cv_lib_$ac_lib_var=yes"
2228 echo "configure: failed program was:" >&5
2229 cat conftest.
$ac_ext >&5
2231 eval "ac_cv_lib_$ac_lib_var=no"
2234 LIBS
="$ac_save_LIBS"
2237 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2238 echo "$ac_t""yes" 1>&6
2239 X_PRE_LIBS
="$X_PRE_LIBS -lSM -lICE"
2241 echo "$ac_t""no" 1>&6
2244 LDFLAGS
="$ac_save_LDFLAGS"
2250 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
2252 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2253 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
2254 echo "configure:2255: checking for $ac_hdr that defines DIR" >&5
2255 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
2256 echo $ac_n "(cached) $ac_c" 1>&6
2258 cat > conftest.
$ac_ext <<EOF
2259 #line 2260 "configure"
2260 #include "confdefs.h"
2261 #include <sys/types.h>
2267 if { (eval echo configure
:2268: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2269 eval "ac_cv_header_dirent_$ac_safe=yes"
2271 echo "configure: failed program was:" >&5
2272 cat conftest.
$ac_ext >&5
2274 eval "ac_cv_header_dirent_$ac_safe=no"
2278 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
2279 echo "$ac_t""yes" 1>&6
2280 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2281 cat >> confdefs.h
<<EOF
2282 #define $ac_tr_hdr 1
2284 ac_header_dirent
=$ac_hdr; break
2286 echo "$ac_t""no" 1>&6
2289 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
2290 if test $ac_header_dirent = dirent.h
; then
2291 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
2292 echo "configure:2293: checking for opendir in -ldir" >&5
2293 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
2294 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2295 echo $ac_n "(cached) $ac_c" 1>&6
2297 ac_save_LIBS
="$LIBS"
2299 cat > conftest.
$ac_ext <<EOF
2300 #line 2301 "configure"
2301 #include "confdefs.h"
2302 /* Override any gcc2 internal prototype to avoid an error. */
2303 /* We use char because int might match the return type of a gcc2
2304 builtin and then its argument prototype would still apply. */
2311 if { (eval echo configure
:2312: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2313 eval "ac_cv_lib_$ac_lib_var=yes"
2315 echo "configure: failed program was:" >&5
2316 cat conftest.
$ac_ext >&5
2318 eval "ac_cv_lib_$ac_lib_var=no"
2321 LIBS
="$ac_save_LIBS"
2324 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2325 echo "$ac_t""yes" 1>&6
2328 echo "$ac_t""no" 1>&6
2332 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
2333 echo "configure:2334: checking for opendir in -lx" >&5
2334 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
2335 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2336 echo $ac_n "(cached) $ac_c" 1>&6
2338 ac_save_LIBS
="$LIBS"
2340 cat > conftest.
$ac_ext <<EOF
2341 #line 2342 "configure"
2342 #include "confdefs.h"
2343 /* Override any gcc2 internal prototype to avoid an error. */
2344 /* We use char because int might match the return type of a gcc2
2345 builtin and then its argument prototype would still apply. */
2352 if { (eval echo configure
:2353: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
2354 eval "ac_cv_lib_$ac_lib_var=yes"
2356 echo "configure: failed program was:" >&5
2357 cat conftest.
$ac_ext >&5
2359 eval "ac_cv_lib_$ac_lib_var=no"
2362 LIBS
="$ac_save_LIBS"
2365 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2366 echo "$ac_t""yes" 1>&6
2369 echo "$ac_t""no" 1>&6
2374 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
2375 echo "configure:2376: checking for ANSI C header files" >&5
2376 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
2377 echo $ac_n "(cached) $ac_c" 1>&6
2379 cat > conftest.
$ac_ext <<EOF
2380 #line 2381 "configure"
2381 #include "confdefs.h"
2387 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2388 { (eval echo configure
:2389: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2389 ac_err
=`grep -v '^ *+' conftest.out`
2390 if test -z "$ac_err"; then
2392 ac_cv_header_stdc
=yes
2395 echo "configure: failed program was:" >&5
2396 cat conftest.
$ac_ext >&5
2398 ac_cv_header_stdc
=no
2402 if test $ac_cv_header_stdc = yes; then
2403 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
2404 cat > conftest.
$ac_ext <<EOF
2405 #line 2406 "configure"
2406 #include "confdefs.h"
2409 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2410 egrep "memchr" >/dev
/null
2>&1; then
2414 ac_cv_header_stdc
=no
2420 if test $ac_cv_header_stdc = yes; then
2421 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
2422 cat > conftest.
$ac_ext <<EOF
2423 #line 2424 "configure"
2424 #include "confdefs.h"
2427 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2428 egrep "free" >/dev
/null
2>&1; then
2432 ac_cv_header_stdc
=no
2438 if test $ac_cv_header_stdc = yes; then
2439 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
2440 if test "$cross_compiling" = yes; then
2443 cat > conftest.
$ac_ext <<EOF
2444 #line 2445 "configure"
2445 #include "confdefs.h"
2447 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
2448 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
2449 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
2450 int main () { int i; for (i = 0; i < 256; i++)
2451 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
2455 if { (eval echo configure
:2456: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2459 echo "configure: failed program was:" >&5
2460 cat conftest.
$ac_ext >&5
2462 ac_cv_header_stdc
=no
2470 echo "$ac_t""$ac_cv_header_stdc" 1>&6
2471 if test $ac_cv_header_stdc = yes; then
2472 cat >> confdefs.h
<<\EOF
2473 #define STDC_HEADERS 1
2478 echo $ac_n "checking for sys/wait.h that is POSIX.1 compatible""... $ac_c" 1>&6
2479 echo "configure:2480: checking for sys/wait.h that is POSIX.1 compatible" >&5
2480 if eval "test \"`echo '$''{'ac_cv_header_sys_wait_h'+set}'`\" = set"; then
2481 echo $ac_n "(cached) $ac_c" 1>&6
2483 cat > conftest.
$ac_ext <<EOF
2484 #line 2485 "configure"
2485 #include "confdefs.h"
2486 #include <sys/types.h>
2487 #include <sys/wait.h>
2489 #define WEXITSTATUS(stat_val) ((unsigned)(stat_val) >> 8)
2492 #define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
2497 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
2500 if { (eval echo configure
:2501: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2502 ac_cv_header_sys_wait_h
=yes
2504 echo "configure: failed program was:" >&5
2505 cat conftest.
$ac_ext >&5
2507 ac_cv_header_sys_wait_h
=no
2512 echo "$ac_t""$ac_cv_header_sys_wait_h" 1>&6
2513 if test $ac_cv_header_sys_wait_h = yes; then
2514 cat >> confdefs.h
<<\EOF
2515 #define HAVE_SYS_WAIT_H 1
2520 ac_safe
=`echo "fcntl.h" | sed 'y%./+-%__p_%'`
2521 echo $ac_n "checking for fcntl.h""... $ac_c" 1>&6
2522 echo "configure:2523: checking for fcntl.h" >&5
2523 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2524 echo $ac_n "(cached) $ac_c" 1>&6
2526 cat > conftest.
$ac_ext <<EOF
2527 #line 2528 "configure"
2528 #include "confdefs.h"
2531 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2532 { (eval echo configure
:2533: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2533 ac_err
=`grep -v '^ *+' conftest.out`
2534 if test -z "$ac_err"; then
2536 eval "ac_cv_header_$ac_safe=yes"
2539 echo "configure: failed program was:" >&5
2540 cat conftest.
$ac_ext >&5
2542 eval "ac_cv_header_$ac_safe=no"
2546 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2547 echo "$ac_t""yes" 1>&6
2550 echo "$ac_t""no" 1>&6
2553 ac_safe
=`echo "limits.h" | sed 'y%./+-%__p_%'`
2554 echo $ac_n "checking for limits.h""... $ac_c" 1>&6
2555 echo "configure:2556: checking for limits.h" >&5
2556 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2557 echo $ac_n "(cached) $ac_c" 1>&6
2559 cat > conftest.
$ac_ext <<EOF
2560 #line 2561 "configure"
2561 #include "confdefs.h"
2564 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2565 { (eval echo configure
:2566: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2566 ac_err
=`grep -v '^ *+' conftest.out`
2567 if test -z "$ac_err"; then
2569 eval "ac_cv_header_$ac_safe=yes"
2572 echo "configure: failed program was:" >&5
2573 cat conftest.
$ac_ext >&5
2575 eval "ac_cv_header_$ac_safe=no"
2579 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2580 echo "$ac_t""yes" 1>&6
2583 echo "$ac_t""no" 1>&6
2586 ac_safe
=`echo "sys/file.h" | sed 'y%./+-%__p_%'`
2587 echo $ac_n "checking for sys/file.h""... $ac_c" 1>&6
2588 echo "configure:2589: checking for sys/file.h" >&5
2589 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2590 echo $ac_n "(cached) $ac_c" 1>&6
2592 cat > conftest.
$ac_ext <<EOF
2593 #line 2594 "configure"
2594 #include "confdefs.h"
2595 #include <sys/file.h>
2597 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2598 { (eval echo configure
:2599: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2599 ac_err
=`grep -v '^ *+' conftest.out`
2600 if test -z "$ac_err"; then
2602 eval "ac_cv_header_$ac_safe=yes"
2605 echo "configure: failed program was:" >&5
2606 cat conftest.
$ac_ext >&5
2608 eval "ac_cv_header_$ac_safe=no"
2612 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2613 echo "$ac_t""yes" 1>&6
2616 echo "$ac_t""no" 1>&6
2619 ac_safe
=`echo "sys/time.h" | sed 'y%./+-%__p_%'`
2620 echo $ac_n "checking for sys/time.h""... $ac_c" 1>&6
2621 echo "configure:2622: checking for sys/time.h" >&5
2622 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2623 echo $ac_n "(cached) $ac_c" 1>&6
2625 cat > conftest.
$ac_ext <<EOF
2626 #line 2627 "configure"
2627 #include "confdefs.h"
2628 #include <sys/time.h>
2630 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2631 { (eval echo configure
:2632: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2632 ac_err
=`grep -v '^ *+' conftest.out`
2633 if test -z "$ac_err"; then
2635 eval "ac_cv_header_$ac_safe=yes"
2638 echo "configure: failed program was:" >&5
2639 cat conftest.
$ac_ext >&5
2641 eval "ac_cv_header_$ac_safe=no"
2645 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2646 echo "$ac_t""yes" 1>&6
2649 echo "$ac_t""no" 1>&6
2652 ac_safe
=`echo "unistd.h" | sed 'y%./+-%__p_%'`
2653 echo $ac_n "checking for unistd.h""... $ac_c" 1>&6
2654 echo "configure:2655: checking for unistd.h" >&5
2655 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2656 echo $ac_n "(cached) $ac_c" 1>&6
2658 cat > conftest.
$ac_ext <<EOF
2659 #line 2660 "configure"
2660 #include "confdefs.h"
2663 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2664 { (eval echo configure
:2665: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2665 ac_err
=`grep -v '^ *+' conftest.out`
2666 if test -z "$ac_err"; then
2668 eval "ac_cv_header_$ac_safe=yes"
2671 echo "configure: failed program was:" >&5
2672 cat conftest.
$ac_ext >&5
2674 eval "ac_cv_header_$ac_safe=no"
2678 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2679 echo "$ac_t""yes" 1>&6
2682 echo "$ac_t""no" 1>&6
2685 ac_safe
=`echo "linux/joystick.h" | sed 'y%./+-%__p_%'`
2686 echo $ac_n "checking for linux/joystick.h""... $ac_c" 1>&6
2687 echo "configure:2688: checking for linux/joystick.h" >&5
2688 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2689 echo $ac_n "(cached) $ac_c" 1>&6
2691 cat > conftest.
$ac_ext <<EOF
2692 #line 2693 "configure"
2693 #include "confdefs.h"
2694 #include <linux/joystick.h>
2696 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2697 { (eval echo configure
:2698: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2698 ac_err
=`grep -v '^ *+' conftest.out`
2699 if test -z "$ac_err"; then
2701 eval "ac_cv_header_$ac_safe=yes"
2704 echo "configure: failed program was:" >&5
2705 cat conftest.
$ac_ext >&5
2707 eval "ac_cv_header_$ac_safe=no"
2711 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2712 echo "$ac_t""yes" 1>&6
2715 echo "$ac_t""no" 1>&6
2719 if test "$ac_cv_header_linux_joystick_h" = "yes"; then
2720 GTK_JOYSTICK
="gtk/joystick.cpp"
2724 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
2725 echo "configure:2726: checking for uid_t in sys/types.h" >&5
2726 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
2727 echo $ac_n "(cached) $ac_c" 1>&6
2729 cat > conftest.
$ac_ext <<EOF
2730 #line 2731 "configure"
2731 #include "confdefs.h"
2732 #include <sys/types.h>
2734 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2735 egrep "uid_t" >/dev
/null
2>&1; then
2737 ac_cv_type_uid_t
=yes
2746 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
2747 if test $ac_cv_type_uid_t = no
; then
2748 cat >> confdefs.h
<<\EOF
2752 cat >> confdefs.h
<<\EOF
2758 echo $ac_n "checking type of array argument to getgroups""... $ac_c" 1>&6
2759 echo "configure:2760: checking type of array argument to getgroups" >&5
2760 if eval "test \"`echo '$''{'ac_cv_type_getgroups'+set}'`\" = set"; then
2761 echo $ac_n "(cached) $ac_c" 1>&6
2763 if test "$cross_compiling" = yes; then
2764 ac_cv_type_getgroups
=cross
2766 cat > conftest.
$ac_ext <<EOF
2767 #line 2768 "configure"
2768 #include "confdefs.h"
2770 /* Thanks to Mike Rendell for this test. */
2771 #include <sys/types.h>
2774 #define MAX(x, y) ((x) > (y) ? (x) : (y))
2779 union { gid_t gval; long lval; } val;
2782 for (i = 0; i < NGID; i++)
2783 gidset[i] = val.gval;
2784 n = getgroups (sizeof (gidset) / MAX (sizeof (int), sizeof (gid_t)) - 1,
2786 /* Exit non-zero if getgroups seems to require an array of ints. This
2787 happens when gid_t is short but getgroups modifies an array of ints. */
2788 exit ((n > 0 && gidset[n] != val.gval) ? 1 : 0);
2792 if { (eval echo configure
:2793: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
2794 ac_cv_type_getgroups
=gid_t
2796 echo "configure: failed program was:" >&5
2797 cat conftest.
$ac_ext >&5
2799 ac_cv_type_getgroups
=int
2804 if test $ac_cv_type_getgroups = cross
; then
2805 cat > conftest.
$ac_ext <<EOF
2806 #line 2807 "configure"
2807 #include "confdefs.h"
2810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2811 egrep "getgroups.*int.*gid_t" >/dev
/null
2>&1; then
2813 ac_cv_type_getgroups
=gid_t
2816 ac_cv_type_getgroups
=int
2823 echo "$ac_t""$ac_cv_type_getgroups" 1>&6
2824 cat >> confdefs.h
<<EOF
2825 #define GETGROUPS_T $ac_cv_type_getgroups
2829 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
2830 echo "configure:2831: checking for mode_t" >&5
2831 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
2832 echo $ac_n "(cached) $ac_c" 1>&6
2834 cat > conftest.
$ac_ext <<EOF
2835 #line 2836 "configure"
2836 #include "confdefs.h"
2837 #include <sys/types.h>
2843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2844 egrep "mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2846 ac_cv_type_mode_t
=yes
2849 ac_cv_type_mode_t
=no
2854 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
2855 if test $ac_cv_type_mode_t = no
; then
2856 cat >> confdefs.h
<<\EOF
2862 echo $ac_n "checking for off_t""... $ac_c" 1>&6
2863 echo "configure:2864: checking for off_t" >&5
2864 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
2865 echo $ac_n "(cached) $ac_c" 1>&6
2867 cat > conftest.
$ac_ext <<EOF
2868 #line 2869 "configure"
2869 #include "confdefs.h"
2870 #include <sys/types.h>
2876 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2877 egrep "off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2879 ac_cv_type_off_t
=yes
2887 echo "$ac_t""$ac_cv_type_off_t" 1>&6
2888 if test $ac_cv_type_off_t = no
; then
2889 cat >> confdefs.h
<<\EOF
2895 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
2896 echo "configure:2897: checking for pid_t" >&5
2897 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
2898 echo $ac_n "(cached) $ac_c" 1>&6
2900 cat > conftest.
$ac_ext <<EOF
2901 #line 2902 "configure"
2902 #include "confdefs.h"
2903 #include <sys/types.h>
2909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2910 egrep "pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2912 ac_cv_type_pid_t
=yes
2920 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
2921 if test $ac_cv_type_pid_t = no
; then
2922 cat >> confdefs.h
<<\EOF
2928 echo $ac_n "checking return type of signal handlers""... $ac_c" 1>&6
2929 echo "configure:2930: checking return type of signal handlers" >&5
2930 if eval "test \"`echo '$''{'ac_cv_type_signal'+set}'`\" = set"; then
2931 echo $ac_n "(cached) $ac_c" 1>&6
2933 cat > conftest.
$ac_ext <<EOF
2934 #line 2935 "configure"
2935 #include "confdefs.h"
2936 #include <sys/types.h>
2942 extern "C" void (*signal (int, void (*)(int)))(int);
2944 void (*signal ()) ();
2951 if { (eval echo configure
:2952: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
2953 ac_cv_type_signal
=void
2955 echo "configure: failed program was:" >&5
2956 cat conftest.
$ac_ext >&5
2958 ac_cv_type_signal
=int
2963 echo "$ac_t""$ac_cv_type_signal" 1>&6
2964 cat >> confdefs.h
<<EOF
2965 #define RETSIGTYPE $ac_cv_type_signal
2969 echo $ac_n "checking for size_t""... $ac_c" 1>&6
2970 echo "configure:2971: checking for size_t" >&5
2971 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
2972 echo $ac_n "(cached) $ac_c" 1>&6
2974 cat > conftest.
$ac_ext <<EOF
2975 #line 2976 "configure"
2976 #include "confdefs.h"
2977 #include <sys/types.h>
2983 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2984 egrep "size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
2986 ac_cv_type_size_t
=yes
2989 ac_cv_type_size_t
=no
2994 echo "$ac_t""$ac_cv_type_size_t" 1>&6
2995 if test $ac_cv_type_size_t = no
; then
2996 cat >> confdefs.h
<<\EOF
2997 #define size_t unsigned
3002 echo $ac_n "checking for uid_t in sys/types.h""... $ac_c" 1>&6
3003 echo "configure:3004: checking for uid_t in sys/types.h" >&5
3004 if eval "test \"`echo '$''{'ac_cv_type_uid_t'+set}'`\" = set"; then
3005 echo $ac_n "(cached) $ac_c" 1>&6
3007 cat > conftest.
$ac_ext <<EOF
3008 #line 3009 "configure"
3009 #include "confdefs.h"
3010 #include <sys/types.h>
3012 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3013 egrep "uid_t" >/dev
/null
2>&1; then
3015 ac_cv_type_uid_t
=yes
3024 echo "$ac_t""$ac_cv_type_uid_t" 1>&6
3025 if test $ac_cv_type_uid_t = no
; then
3026 cat >> confdefs.h
<<\EOF
3030 cat >> confdefs.h
<<\EOF
3038 echo $ac_n "checking whether stat file-mode macros are broken""... $ac_c" 1>&6
3039 echo "configure:3040: checking whether stat file-mode macros are broken" >&5
3040 if eval "test \"`echo '$''{'ac_cv_header_stat_broken'+set}'`\" = set"; then
3041 echo $ac_n "(cached) $ac_c" 1>&6
3043 cat > conftest.
$ac_ext <<EOF
3044 #line 3045 "configure"
3045 #include "confdefs.h"
3046 #include <sys/types.h>
3047 #include <sys/stat.h>
3049 #if defined(S_ISBLK) && defined(S_IFDIR)
3050 # if S_ISBLK (S_IFDIR)
3055 #if defined(S_ISBLK) && defined(S_IFCHR)
3056 # if S_ISBLK (S_IFCHR)
3061 #if defined(S_ISLNK) && defined(S_IFREG)
3062 # if S_ISLNK (S_IFREG)
3067 #if defined(S_ISSOCK) && defined(S_IFREG)
3068 # if S_ISSOCK (S_IFREG)
3074 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3075 egrep "You lose" >/dev
/null
2>&1; then
3077 ac_cv_header_stat_broken
=yes
3080 ac_cv_header_stat_broken
=no
3086 echo "$ac_t""$ac_cv_header_stat_broken" 1>&6
3087 if test $ac_cv_header_stat_broken = yes; then
3088 cat >> confdefs.h
<<\EOF
3089 #define STAT_MACROS_BROKEN 1
3094 echo $ac_n "checking whether time.h and sys/time.h may both be included""... $ac_c" 1>&6
3095 echo "configure:3096: checking whether time.h and sys/time.h may both be included" >&5
3096 if eval "test \"`echo '$''{'ac_cv_header_time'+set}'`\" = set"; then
3097 echo $ac_n "(cached) $ac_c" 1>&6
3099 cat > conftest.
$ac_ext <<EOF
3100 #line 3101 "configure"
3101 #include "confdefs.h"
3102 #include <sys/types.h>
3103 #include <sys/time.h>
3109 if { (eval echo configure
:3110: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3111 ac_cv_header_time
=yes
3113 echo "configure: failed program was:" >&5
3114 cat conftest.
$ac_ext >&5
3116 ac_cv_header_time
=no
3121 echo "$ac_t""$ac_cv_header_time" 1>&6
3122 if test $ac_cv_header_time = yes; then
3123 cat >> confdefs.h
<<\EOF
3124 #define TIME_WITH_SYS_TIME 1
3129 echo $ac_n "checking for st_blksize in struct stat""... $ac_c" 1>&6
3130 echo "configure:3131: checking for st_blksize in struct stat" >&5
3131 if eval "test \"`echo '$''{'ac_cv_struct_st_blksize'+set}'`\" = set"; then
3132 echo $ac_n "(cached) $ac_c" 1>&6
3134 cat > conftest.
$ac_ext <<EOF
3135 #line 3136 "configure"
3136 #include "confdefs.h"
3137 #include <sys/types.h>
3138 #include <sys/stat.h>
3140 struct stat s; s.st_blksize;
3143 if { (eval echo configure
:3144: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3145 ac_cv_struct_st_blksize
=yes
3147 echo "configure: failed program was:" >&5
3148 cat conftest.
$ac_ext >&5
3150 ac_cv_struct_st_blksize
=no
3155 echo "$ac_t""$ac_cv_struct_st_blksize" 1>&6
3156 if test $ac_cv_struct_st_blksize = yes; then
3157 cat >> confdefs.h
<<\EOF
3158 #define HAVE_ST_BLKSIZE 1
3163 echo $ac_n "checking for st_blocks in struct stat""... $ac_c" 1>&6
3164 echo "configure:3165: checking for st_blocks in struct stat" >&5
3165 if eval "test \"`echo '$''{'ac_cv_struct_st_blocks'+set}'`\" = set"; then
3166 echo $ac_n "(cached) $ac_c" 1>&6
3168 cat > conftest.
$ac_ext <<EOF
3169 #line 3170 "configure"
3170 #include "confdefs.h"
3171 #include <sys/types.h>
3172 #include <sys/stat.h>
3174 struct stat s; s.st_blocks;
3177 if { (eval echo configure
:3178: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3179 ac_cv_struct_st_blocks
=yes
3181 echo "configure: failed program was:" >&5
3182 cat conftest.
$ac_ext >&5
3184 ac_cv_struct_st_blocks
=no
3189 echo "$ac_t""$ac_cv_struct_st_blocks" 1>&6
3190 if test $ac_cv_struct_st_blocks = yes; then
3191 cat >> confdefs.h
<<\EOF
3192 #define HAVE_ST_BLOCKS 1
3196 LIBOBJS
="$LIBOBJS fileblocks.o"
3199 echo $ac_n "checking for st_rdev in struct stat""... $ac_c" 1>&6
3200 echo "configure:3201: checking for st_rdev in struct stat" >&5
3201 if eval "test \"`echo '$''{'ac_cv_struct_st_rdev'+set}'`\" = set"; then
3202 echo $ac_n "(cached) $ac_c" 1>&6
3204 cat > conftest.
$ac_ext <<EOF
3205 #line 3206 "configure"
3206 #include "confdefs.h"
3207 #include <sys/types.h>
3208 #include <sys/stat.h>
3210 struct stat s; s.st_rdev;
3213 if { (eval echo configure
:3214: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3215 ac_cv_struct_st_rdev
=yes
3217 echo "configure: failed program was:" >&5
3218 cat conftest.
$ac_ext >&5
3220 ac_cv_struct_st_rdev
=no
3225 echo "$ac_t""$ac_cv_struct_st_rdev" 1>&6
3226 if test $ac_cv_struct_st_rdev = yes; then
3227 cat >> confdefs.h
<<\EOF
3228 #define HAVE_ST_RDEV 1
3233 echo $ac_n "checking whether struct tm is in sys/time.h or time.h""... $ac_c" 1>&6
3234 echo "configure:3235: checking whether struct tm is in sys/time.h or time.h" >&5
3235 if eval "test \"`echo '$''{'ac_cv_struct_tm'+set}'`\" = set"; then
3236 echo $ac_n "(cached) $ac_c" 1>&6
3238 cat > conftest.
$ac_ext <<EOF
3239 #line 3240 "configure"
3240 #include "confdefs.h"
3241 #include <sys/types.h>
3244 struct tm *tp; tp->tm_sec;
3247 if { (eval echo configure
:3248: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3249 ac_cv_struct_tm
=time.h
3251 echo "configure: failed program was:" >&5
3252 cat conftest.
$ac_ext >&5
3254 ac_cv_struct_tm
=sys
/time.h
3259 echo "$ac_t""$ac_cv_struct_tm" 1>&6
3260 if test $ac_cv_struct_tm = sys
/time.h
; then
3261 cat >> confdefs.h
<<\EOF
3262 #define TM_IN_SYS_TIME 1
3267 echo $ac_n "checking for tm_zone in struct tm""... $ac_c" 1>&6
3268 echo "configure:3269: checking for tm_zone in struct tm" >&5
3269 if eval "test \"`echo '$''{'ac_cv_struct_tm_zone'+set}'`\" = set"; then
3270 echo $ac_n "(cached) $ac_c" 1>&6
3272 cat > conftest.
$ac_ext <<EOF
3273 #line 3274 "configure"
3274 #include "confdefs.h"
3275 #include <sys/types.h>
3276 #include <$ac_cv_struct_tm>
3278 struct tm tm; tm.tm_zone;
3281 if { (eval echo configure
:3282: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3283 ac_cv_struct_tm_zone
=yes
3285 echo "configure: failed program was:" >&5
3286 cat conftest.
$ac_ext >&5
3288 ac_cv_struct_tm_zone
=no
3293 echo "$ac_t""$ac_cv_struct_tm_zone" 1>&6
3294 if test "$ac_cv_struct_tm_zone" = yes; then
3295 cat >> confdefs.h
<<\EOF
3296 #define HAVE_TM_ZONE 1
3300 echo $ac_n "checking for tzname""... $ac_c" 1>&6
3301 echo "configure:3302: checking for tzname" >&5
3302 if eval "test \"`echo '$''{'ac_cv_var_tzname'+set}'`\" = set"; then
3303 echo $ac_n "(cached) $ac_c" 1>&6
3305 cat > conftest.
$ac_ext <<EOF
3306 #line 3307 "configure"
3307 #include "confdefs.h"
3309 #ifndef tzname /* For SGI. */
3310 extern char *tzname[]; /* RS6000 and others reject char **tzname. */
3316 if { (eval echo configure
:3317: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3318 ac_cv_var_tzname
=yes
3320 echo "configure: failed program was:" >&5
3321 cat conftest.
$ac_ext >&5
3328 echo "$ac_t""$ac_cv_var_tzname" 1>&6
3329 if test $ac_cv_var_tzname = yes; then
3330 cat >> confdefs.h
<<\EOF
3331 #define HAVE_TZNAME 1
3339 echo $ac_n "checking for working const""... $ac_c" 1>&6
3340 echo "configure:3341: checking for working const" >&5
3341 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3342 echo $ac_n "(cached) $ac_c" 1>&6
3344 cat > conftest.
$ac_ext <<EOF
3345 #line 3346 "configure"
3346 #include "confdefs.h"
3350 /* Ultrix mips cc rejects this. */
3351 typedef int charset[2]; const charset x;
3352 /* SunOS 4.1.1 cc rejects this. */
3353 char const *const *ccp;
3355 /* NEC SVR4.0.2 mips cc rejects this. */
3356 struct point {int x, y;};
3357 static struct point const zero = {0,0};
3358 /* AIX XL C 1.02.0.0 rejects this.
3359 It does not let you subtract one const X* pointer from another in an arm
3360 of an if-expression whose if-part is not a constant expression */
3361 const char *g = "string";
3362 ccp = &g + (g ? g-g : 0);
3363 /* HPUX 7.0 cc rejects these. */
3366 ccp = (char const *const *) p;
3367 { /* SCO 3.2v4 cc rejects this. */
3369 char const *s = 0 ? (char *) 0 : (char const *) 0;
3373 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3375 const int *foo = &x[0];
3378 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3379 typedef const int *iptr;
3383 { /* AIX XL C 1.02.0.0 rejects this saying
3384 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3385 struct s { int j; const int *ap[3]; };
3386 struct s *b; b->j = 5;
3388 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3394 if { (eval echo configure
:3395: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3398 echo "configure: failed program was:" >&5
3399 cat conftest.
$ac_ext >&5
3406 echo "$ac_t""$ac_cv_c_const" 1>&6
3407 if test $ac_cv_c_const = no
; then
3408 cat >> confdefs.h
<<\EOF
3414 echo $ac_n "checking for inline""... $ac_c" 1>&6
3415 echo "configure:3416: checking for inline" >&5
3416 if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
3417 echo $ac_n "(cached) $ac_c" 1>&6
3420 for ac_kw
in inline __inline__ __inline
; do
3421 cat > conftest.
$ac_ext <<EOF
3422 #line 3423 "configure"
3423 #include "confdefs.h"
3429 if { (eval echo configure
:3430: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3431 ac_cv_c_inline
=$ac_kw; break
3433 echo "configure: failed program was:" >&5
3434 cat conftest.
$ac_ext >&5
3441 echo "$ac_t""$ac_cv_c_inline" 1>&6
3442 case "$ac_cv_c_inline" in
3444 no
) cat >> confdefs.h
<<\EOF
3448 *) cat >> confdefs.h
<<EOF
3449 #define inline $ac_cv_c_inline
3454 echo $ac_n "checking whether char is unsigned""... $ac_c" 1>&6
3455 echo "configure:3456: checking whether char is unsigned" >&5
3456 if eval "test \"`echo '$''{'ac_cv_c_char_unsigned'+set}'`\" = set"; then
3457 echo $ac_n "(cached) $ac_c" 1>&6
3459 if test "$GCC" = yes; then
3460 # GCC predefines this symbol on systems where it applies.
3461 cat > conftest.
$ac_ext <<EOF
3462 #line 3463 "configure"
3463 #include "confdefs.h"
3464 #ifdef __CHAR_UNSIGNED__
3469 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3470 egrep "yes" >/dev
/null
2>&1; then
3472 ac_cv_c_char_unsigned
=yes
3475 ac_cv_c_char_unsigned
=no
3480 if test "$cross_compiling" = yes; then
3481 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3483 cat > conftest.
$ac_ext <<EOF
3484 #line 3485 "configure"
3485 #include "confdefs.h"
3486 /* volatile prevents gcc2 from optimizing the test away on sparcs. */
3487 #if !defined(__STDC__) || __STDC__ != 1
3491 volatile char c = 255; exit(c < 0);
3494 if { (eval echo configure
:3495: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3496 ac_cv_c_char_unsigned
=yes
3498 echo "configure: failed program was:" >&5
3499 cat conftest.
$ac_ext >&5
3501 ac_cv_c_char_unsigned
=no
3509 echo "$ac_t""$ac_cv_c_char_unsigned" 1>&6
3510 if test $ac_cv_c_char_unsigned = yes && test "$GCC" != yes; then
3511 cat >> confdefs.h
<<\EOF
3512 #define __CHAR_UNSIGNED__ 1
3517 echo $ac_n "checking for long double""... $ac_c" 1>&6
3518 echo "configure:3519: checking for long double" >&5
3519 if eval "test \"`echo '$''{'ac_cv_c_long_double'+set}'`\" = set"; then
3520 echo $ac_n "(cached) $ac_c" 1>&6
3522 if test "$GCC" = yes; then
3523 ac_cv_c_long_double
=yes
3525 if test "$cross_compiling" = yes; then
3526 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3528 cat > conftest.
$ac_ext <<EOF
3529 #line 3530 "configure"
3530 #include "confdefs.h"
3532 /* The Stardent Vistra knows sizeof(long double), but does not support it. */
3533 long double foo = 0.0;
3534 /* On Ultrix 4.3 cc, long double is 4 and double is 8. */
3535 exit(sizeof(long double) < sizeof(double)); }
3537 if { (eval echo configure
:3538: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3539 ac_cv_c_long_double
=yes
3541 echo "configure: failed program was:" >&5
3542 cat conftest.
$ac_ext >&5
3544 ac_cv_c_long_double
=no
3552 echo "$ac_t""$ac_cv_c_long_double" 1>&6
3553 if test $ac_cv_c_long_double = yes; then
3554 cat >> confdefs.h
<<\EOF
3555 #define HAVE_LONG_DOUBLE 1
3561 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3562 echo "configure:3563: checking whether byte ordering is bigendian" >&5
3563 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3564 echo $ac_n "(cached) $ac_c" 1>&6
3566 ac_cv_c_bigendian
=unknown
3567 # See if sys/param.h defines the BYTE_ORDER macro.
3568 cat > conftest.
$ac_ext <<EOF
3569 #line 3570 "configure"
3570 #include "confdefs.h"
3571 #include <sys/types.h>
3572 #include <sys/param.h>
3575 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3580 if { (eval echo configure
:3581: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3582 # It does; now see whether it defined to BIG_ENDIAN or not.
3583 cat > conftest.
$ac_ext <<EOF
3584 #line 3585 "configure"
3585 #include "confdefs.h"
3586 #include <sys/types.h>
3587 #include <sys/param.h>
3590 #if BYTE_ORDER != BIG_ENDIAN
3595 if { (eval echo configure
:3596: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3597 ac_cv_c_bigendian
=yes
3599 echo "configure: failed program was:" >&5
3600 cat conftest.
$ac_ext >&5
3602 ac_cv_c_bigendian
=no
3606 echo "configure: failed program was:" >&5
3607 cat conftest.
$ac_ext >&5
3610 if test $ac_cv_c_bigendian = unknown
; then
3611 if test "$cross_compiling" = yes; then
3612 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3614 cat > conftest.
$ac_ext <<EOF
3615 #line 3616 "configure"
3616 #include "confdefs.h"
3618 /* Are we little or big endian? From Harbison&Steele. */
3622 char c[sizeof (long)];
3625 exit (u.c[sizeof (long) - 1] == 1);
3628 if { (eval echo configure
:3629: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3630 ac_cv_c_bigendian
=no
3632 echo "configure: failed program was:" >&5
3633 cat conftest.
$ac_ext >&5
3635 ac_cv_c_bigendian
=yes
3643 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
3644 if test $ac_cv_c_bigendian = yes; then
3645 cat >> confdefs.h
<<\EOF
3646 #define WORDS_BIGENDIAN 1
3652 echo $ac_n "checking size of int *""... $ac_c" 1>&6
3653 echo "configure:3654: checking size of int *" >&5
3654 if eval "test \"`echo '$''{'ac_cv_sizeof_int_p'+set}'`\" = set"; then
3655 echo $ac_n "(cached) $ac_c" 1>&6
3657 if test "$cross_compiling" = yes; then
3658 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3660 cat > conftest.
$ac_ext <<EOF
3661 #line 3662 "configure"
3662 #include "confdefs.h"
3666 FILE *f=fopen("conftestval", "w");
3668 fprintf(f, "%d\n", sizeof(int *));
3672 if { (eval echo configure
:3673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3674 ac_cv_sizeof_int_p
=`cat conftestval`
3676 echo "configure: failed program was:" >&5
3677 cat conftest.
$ac_ext >&5
3679 ac_cv_sizeof_int_p
=0
3685 echo "$ac_t""$ac_cv_sizeof_int_p" 1>&6
3686 cat >> confdefs.h
<<EOF
3687 #define SIZEOF_INT_P $ac_cv_sizeof_int_p
3691 echo $ac_n "checking size of int""... $ac_c" 1>&6
3692 echo "configure:3693: checking size of int" >&5
3693 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
3694 echo $ac_n "(cached) $ac_c" 1>&6
3696 if test "$cross_compiling" = yes; then
3697 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3699 cat > conftest.
$ac_ext <<EOF
3700 #line 3701 "configure"
3701 #include "confdefs.h"
3705 FILE *f=fopen("conftestval", "w");
3707 fprintf(f, "%d\n", sizeof(int));
3711 if { (eval echo configure
:3712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3713 ac_cv_sizeof_int
=`cat conftestval`
3715 echo "configure: failed program was:" >&5
3716 cat conftest.
$ac_ext >&5
3724 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
3725 cat >> confdefs.h
<<EOF
3726 #define SIZEOF_INT $ac_cv_sizeof_int
3730 echo $ac_n "checking size of long""... $ac_c" 1>&6
3731 echo "configure:3732: checking size of long" >&5
3732 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
3733 echo $ac_n "(cached) $ac_c" 1>&6
3735 if test "$cross_compiling" = yes; then
3736 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3738 cat > conftest.
$ac_ext <<EOF
3739 #line 3740 "configure"
3740 #include "confdefs.h"
3744 FILE *f=fopen("conftestval", "w");
3746 fprintf(f, "%d\n", sizeof(long));
3750 if { (eval echo configure
:3751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
3752 ac_cv_sizeof_long
=`cat conftestval`
3754 echo "configure: failed program was:" >&5
3755 cat conftest.
$ac_ext >&5
3763 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
3764 cat >> confdefs.h
<<EOF
3765 #define SIZEOF_LONG $ac_cv_sizeof_long
3777 # Check whether --with-threads or --without-threads was given.
3778 if test "${with_threads+set}" = set; then
3779 withval
="$with_threads"
3780 USE_THREADS
="$withval"
3784 if test "$USE_THREADS" = "1"; then
3785 UNIX_THREAD
="gtk/threadno.cpp"
3788 echo $ac_n "checking for pthread_create in -lpthread-0.7""... $ac_c" 1>&6
3789 echo "configure:3790: checking for pthread_create in -lpthread-0.7" >&5
3790 ac_lib_var
=`echo pthread-0.7'_'pthread_create | sed 'y%./+-%__p_%'`
3791 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3792 echo $ac_n "(cached) $ac_c" 1>&6
3794 ac_save_LIBS
="$LIBS"
3795 LIBS
="-lpthread-0.7 $LIBS"
3796 cat > conftest.
$ac_ext <<EOF
3797 #line 3798 "configure"
3798 #include "confdefs.h"
3799 /* Override any gcc2 internal prototype to avoid an error. */
3800 /* We use char because int might match the return type of a gcc2
3801 builtin and then its argument prototype would still apply. */
3802 char pthread_create();
3808 if { (eval echo configure
:3809: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3810 eval "ac_cv_lib_$ac_lib_var=yes"
3812 echo "configure: failed program was:" >&5
3813 cat conftest.
$ac_ext >&5
3815 eval "ac_cv_lib_$ac_lib_var=no"
3818 LIBS
="$ac_save_LIBS"
3821 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3822 echo "$ac_t""yes" 1>&6
3824 UNIX_THREAD
="gtk/threadpsx.cpp"
3825 THREADS_LINK
="-lpthread-0.7"
3826 cat >> confdefs.h
<<\EOF
3827 #define USE_THREADS 1
3832 echo "$ac_t""no" 1>&6
3834 echo $ac_n "checking for pthread_create in -lpthread""... $ac_c" 1>&6
3835 echo "configure:3836: checking for pthread_create in -lpthread" >&5
3836 ac_lib_var
=`echo pthread'_'pthread_create | sed 'y%./+-%__p_%'`
3837 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3838 echo $ac_n "(cached) $ac_c" 1>&6
3840 ac_save_LIBS
="$LIBS"
3841 LIBS
="-lpthread $LIBS"
3842 cat > conftest.
$ac_ext <<EOF
3843 #line 3844 "configure"
3844 #include "confdefs.h"
3845 /* Override any gcc2 internal prototype to avoid an error. */
3846 /* We use char because int might match the return type of a gcc2
3847 builtin and then its argument prototype would still apply. */
3848 char pthread_create();
3854 if { (eval echo configure
:3855: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3856 eval "ac_cv_lib_$ac_lib_var=yes"
3858 echo "configure: failed program was:" >&5
3859 cat conftest.
$ac_ext >&5
3861 eval "ac_cv_lib_$ac_lib_var=no"
3864 LIBS
="$ac_save_LIBS"
3867 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3868 echo "$ac_t""yes" 1>&6
3870 UNIX_THREAD
="gtk/threadpsx.cpp"
3871 THREADS_LINK
="-lpthread"
3872 cat >> confdefs.h
<<\EOF
3873 #define USE_THREADS 1
3878 echo "$ac_t""no" 1>&6
3884 echo $ac_n "checking for pthread_create in -lpthreads""... $ac_c" 1>&6
3885 echo "configure:3886: checking for pthread_create in -lpthreads" >&5
3886 ac_lib_var
=`echo pthreads'_'pthread_create | sed 'y%./+-%__p_%'`
3887 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3888 echo $ac_n "(cached) $ac_c" 1>&6
3890 ac_save_LIBS
="$LIBS"
3891 LIBS
="-lpthreads $LIBS"
3892 cat > conftest.
$ac_ext <<EOF
3893 #line 3894 "configure"
3894 #include "confdefs.h"
3895 /* Override any gcc2 internal prototype to avoid an error. */
3896 /* We use char because int might match the return type of a gcc2
3897 builtin and then its argument prototype would still apply. */
3898 char pthread_create();
3904 if { (eval echo configure
:3905: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
3906 eval "ac_cv_lib_$ac_lib_var=yes"
3908 echo "configure: failed program was:" >&5
3909 cat conftest.
$ac_ext >&5
3911 eval "ac_cv_lib_$ac_lib_var=no"
3914 LIBS
="$ac_save_LIBS"
3917 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3918 echo "$ac_t""yes" 1>&6
3920 UNIX_THREAD
="gtk/threadpsx.cpp"
3921 THREADS_LINK
="-lpthreads"
3922 cat >> confdefs.h
<<\EOF
3923 #define USE_THREADS 1
3928 echo "$ac_t""no" 1>&6
3931 ac_safe
=`echo "sys/prctl.h" | sed 'y%./+-%__p_%'`
3932 echo $ac_n "checking for sys/prctl.h""... $ac_c" 1>&6
3933 echo "configure:3934: checking for sys/prctl.h" >&5
3934 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3935 echo $ac_n "(cached) $ac_c" 1>&6
3937 cat > conftest.
$ac_ext <<EOF
3938 #line 3939 "configure"
3939 #include "confdefs.h"
3940 #include <sys/prctl.h>
3942 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3943 { (eval echo configure
:3944: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3944 ac_err
=`grep -v '^ *+' conftest.out`
3945 if test -z "$ac_err"; then
3947 eval "ac_cv_header_$ac_safe=yes"
3950 echo "configure: failed program was:" >&5
3951 cat conftest.
$ac_ext >&5
3953 eval "ac_cv_header_$ac_safe=no"
3957 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3958 echo "$ac_t""yes" 1>&6
3960 UNIX_THREAD
="gtk/threadsgi.cpp"
3961 cat >> confdefs.h
<<\EOF
3962 #define USE_THREADS 1
3967 echo "$ac_t""no" 1>&6
3975 echo $ac_n "checking for long file names""... $ac_c" 1>&6
3976 echo "configure:3977: checking for long file names" >&5
3977 if eval "test \"`echo '$''{'ac_cv_sys_long_file_names'+set}'`\" = set"; then
3978 echo $ac_n "(cached) $ac_c" 1>&6
3980 ac_cv_sys_long_file_names
=yes
3981 # Test for long file names in all the places we know might matter:
3982 # . the current directory, where building will happen
3983 # $prefix/lib where we will be installing things
3984 # $exec_prefix/lib likewise
3985 # eval it to expand exec_prefix.
3986 # $TMPDIR if set, where it might want to write temporary files
3987 # if $TMPDIR is not set:
3988 # /tmp where it might want to write temporary files
3991 if test -n "$TMPDIR" && test -d "$TMPDIR" && test -w "$TMPDIR"; then
3992 ac_tmpdirs
="$TMPDIR"
3994 ac_tmpdirs
='/tmp /var/tmp /usr/tmp'
3996 for ac_dir
in .
$ac_tmpdirs `eval echo $prefix/lib $exec_prefix/lib` ; do
3997 test -d $ac_dir || continue
3998 test -w $ac_dir || continue # It is less confusing to not echo anything here.
3999 (echo 1 > $ac_dir/conftest9012345
) 2>/dev
/null
4000 (echo 2 > $ac_dir/conftest9012346
) 2>/dev
/null
4001 val
=`cat $ac_dir/conftest9012345 2>/dev/null`
4002 if test ! -f $ac_dir/conftest9012345
|| test "$val" != 1; then
4003 ac_cv_sys_long_file_names
=no
4004 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4007 rm -f $ac_dir/conftest9012345
$ac_dir/conftest9012346
2>/dev
/null
4011 echo "$ac_t""$ac_cv_sys_long_file_names" 1>&6
4012 if test $ac_cv_sys_long_file_names = yes; then
4013 cat >> confdefs.h
<<\EOF
4014 #define HAVE_LONG_FILE_NAMES 1
4022 for ac_prog
in 'bison -y' byacc
4024 # Extract the first word of "$ac_prog", so it can be a program name with args.
4025 set dummy
$ac_prog; ac_word
=$2
4026 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4027 echo "configure:4028: checking for $ac_word" >&5
4028 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
4029 echo $ac_n "(cached) $ac_c" 1>&6
4031 if test -n "$YACC"; then
4032 ac_cv_prog_YACC
="$YACC" # Let the user override the test.
4034 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4035 for ac_dir
in $PATH; do
4036 test -z "$ac_dir" && ac_dir
=.
4037 if test -f $ac_dir/$ac_word; then
4038 ac_cv_prog_YACC
="$ac_prog"
4045 YACC
="$ac_cv_prog_YACC"
4046 if test -n "$YACC"; then
4047 echo "$ac_t""$YACC" 1>&6
4049 echo "$ac_t""no" 1>&6
4052 test -n "$YACC" && break
4054 test -n "$YACC" || YACC
="yacc"
4057 # Extract the first word of "flex", so it can be a program name with args.
4058 set dummy flex
; ac_word
=$2
4059 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
4060 echo "configure:4061: checking for $ac_word" >&5
4061 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
4062 echo $ac_n "(cached) $ac_c" 1>&6
4064 if test -n "$LEX"; then
4065 ac_cv_prog_LEX
="$LEX" # Let the user override the test.
4067 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
4068 for ac_dir
in $PATH; do
4069 test -z "$ac_dir" && ac_dir
=.
4070 if test -f $ac_dir/$ac_word; then
4071 ac_cv_prog_LEX
="flex"
4076 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX
="lex"
4079 LEX
="$ac_cv_prog_LEX"
4080 if test -n "$LEX"; then
4081 echo "$ac_t""$LEX" 1>&6
4083 echo "$ac_t""no" 1>&6
4086 if test -z "$LEXLIB"
4092 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
4093 echo "configure:4094: checking for yywrap in -l$ac_lib" >&5
4094 ac_lib_var
=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
4095 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
4096 echo $ac_n "(cached) $ac_c" 1>&6
4098 ac_save_LIBS
="$LIBS"
4099 LIBS
="-l$ac_lib $LIBS"
4100 cat > conftest.
$ac_ext <<EOF
4101 #line 4102 "configure"
4102 #include "confdefs.h"
4103 /* Override any gcc2 internal prototype to avoid an error. */
4104 /* We use char because int might match the return type of a gcc2
4105 builtin and then its argument prototype would still apply. */
4112 if { (eval echo configure
:4113: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4114 eval "ac_cv_lib_$ac_lib_var=yes"
4116 echo "configure: failed program was:" >&5
4117 cat conftest.
$ac_ext >&5
4119 eval "ac_cv_lib_$ac_lib_var=no"
4122 LIBS
="$ac_save_LIBS"
4125 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
4126 echo "$ac_t""yes" 1>&6
4129 echo "$ac_t""no" 1>&6
4134 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
4135 echo "configure:4136: checking lex output file root" >&5
4136 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
4137 echo $ac_n "(cached) $ac_c" 1>&6
4139 # The minimal lex program is just a single line: %%. But some broken lexes
4140 # (Solaris, I think it was) want two %% lines, so accommodate them.
4143 if test -f lex.yy.c
; then
4144 ac_cv_prog_lex_root
=lex.yy
4145 elif test -f lexyy.c
; then
4146 ac_cv_prog_lex_root
=lexyy
4148 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
4152 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
4153 LEX_OUTPUT_ROOT
=$ac_cv_prog_lex_root
4155 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
4156 echo "configure:4157: checking whether yytext is a pointer" >&5
4157 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
4158 echo $ac_n "(cached) $ac_c" 1>&6
4160 # POSIX says lex can declare yytext either as a pointer or an array; the
4161 # default is implementation-dependent. Figure out which it is, since
4162 # not all implementations provide the %pointer and %array declarations.
4163 ac_cv_prog_lex_yytext_pointer
=no
4164 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
4165 ac_save_LIBS
="$LIBS"
4166 LIBS
="$LIBS $LEXLIB"
4167 cat > conftest.
$ac_ext <<EOF
4168 #line 4169 "configure"
4169 #include "confdefs.h"
4170 `cat $LEX_OUTPUT_ROOT.c`
4175 if { (eval echo configure
:4176: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
; then
4177 ac_cv_prog_lex_yytext_pointer
=yes
4179 echo "configure: failed program was:" >&5
4180 cat conftest.
$ac_ext >&5
4183 LIBS
="$ac_save_LIBS"
4184 rm -f "${LEX_OUTPUT_ROOT}.c"
4188 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
4189 if test $ac_cv_prog_lex_yytext_pointer = yes; then
4190 cat >> confdefs.h
<<\EOF
4191 #define YYTEXT_POINTER 1
4198 CHECK_INCLUDE
="-I/usr/include $X_CFLAGS"
4199 CHECK_LIB
="-L/lib -L/usr/lib $X_LIBS"
4203 # Make sure we can run config.sub.
4204 if $ac_config_sub sun4
>/dev
/null
2>&1; then :
4205 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
4208 echo $ac_n "checking host system type""... $ac_c" 1>&6
4209 echo "configure:4210: checking host system type" >&5
4212 case "$host_alias" in
4216 if host_alias
=`$ac_config_guess`; then :
4217 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
4219 *) host_alias
=$nonopt ;;
4223 host=`$ac_config_sub $host_alias`
4224 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
4225 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
4226 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
4227 echo "$ac_t""$host" 1>&6
4230 configuration
=$host_alias
4237 TOOLKIT_DEF
=__WXGTK__
4256 case "${canonical}" in
4259 cat >> confdefs.h
<<\EOF
4266 cat >> confdefs.h
<<\EOF
4271 *-*-irix5* | *-*-irix6* )
4274 cat >> confdefs.h
<<\EOF
4278 cat >> confdefs.h
<<\EOF
4287 cat >> confdefs.h
<<\EOF
4291 cat >> confdefs.h
<<\EOF
4292 #define __SOLARIS__ 1
4295 cat >> confdefs.h
<<\EOF
4304 cat >> confdefs.h
<<\EOF
4308 cat >> confdefs.h
<<\EOF
4312 cat >> confdefs.h
<<\EOF
4317 *-*-freebsd* | *-*-netbsd*)
4320 cat >> confdefs.h
<<\EOF
4321 #define __FREEBSD__ 1
4324 cat >> confdefs.h
<<\EOF
4332 cat >> confdefs.h
<<\EOF
4336 cat >> confdefs.h
<<\EOF
4344 cat >> confdefs.h
<<\EOF
4348 cat >> confdefs.h
<<\EOF
4356 cat >> confdefs.h
<<\EOF
4360 cat >> confdefs.h
<<\EOF
4369 cat >> confdefs.h
<<\EOF
4373 cat >> confdefs.h
<<\EOF
4377 cat >> confdefs.h
<<\EOF
4383 { echo "configure: error: I don't know your system type." 1>&2; exit 1; }
4388 rm -f ${OSTYPE}.system.cache.tmp
4389 touch ${OSTYPE}.system.cache.tmp
4390 touch ${OSTYPE}.system.cache
4393 DEFAULT_USE_SHARED
=0
4394 DEFAULT_USE_OPTIMISE
=1
4395 DEFAULT_USE_PROFILE
=0
4396 DEFAULT_USE_DEBUG_FLAG
=0
4397 DEFAULT_USE_DEBUG_INFO
=0
4398 DEFAULT_USE_MEM_TRACING
=0
4401 DEFAULT_USE_GDK_IMLIB
=1
4402 DEFAULT_USE_LIBPNG
=1
4405 DEFAULT_USE_APPLE_IEEE
=1
4406 DEFAULT_USE_STORABLE_CLASSES
=1
4407 DEFAULT_USE_AUTOTRANS
=1
4408 DEFAULT_USE_AFM_FOR_POSTSCRIPT
=1
4409 DEFAULT_WX_NORMALIZED_PS_FONTS
=1
4411 DEFAULT_USE_IOSTREAMH
=1
4413 DEFAULT_USE_OPENGL
=0
4415 DEFAULT_USE_WXCONFIG
=1
4416 DEFAULT_USE_POSTSCRIPT
=1
4418 DEFAULT_USE_RESOURCES
=1
4419 DEFAULT_USE_TIMEDATE
=1
4420 DEFAULT_USE_FRACTION
=1
4421 DEFAULT_USE_CONSTRAINTS
=1
4422 DEFAULT_USE_TOOLBAR
=1
4424 DEFAULT_USE_SCROLLBAR
=1
4425 DEFAULT_USE_DOC_VIEW_ARCHITECTURE
=1
4426 DEFAULT_USE_PRINTING_ARCHITECTURE
=1
4428 DEFAULT_USE_METAFILE
=0
4430 DEFAULT_USE_CLIPBOARD
=0
4432 DEFAULT_USE_WXGRAPH
=0
4433 DEFAULT_USE_WXTREE
=0
4434 DEFAULT_USE_ENHANCED_DIALOG
=0
4437 DEFAULT_USE_PROLOGIO
=1
4439 DEFAULT_USE_WX_RESOURCES
=1
4443 echo $ac_n "checking "for shared
"""... $ac_c" 1>&6
4444 echo "configure:4445: checking "for shared
"" >&5
4445 # Check whether --with-shared or --without-shared was given.
4446 if test "${with_shared+set}" = set; then
4447 withval
="$with_shared"
4448 if test "x$with_shared" = xyes
; then
4449 ac_cv_use_shared
='USE_SHARED="1"'
4451 ac_cv_use_shared
='USE_SHARED="0"'
4455 LINE
=`grep "USE_SHARED" ${OSTYPE}.system.cache`
4456 if test "x$LINE" != x
; then
4457 eval "DEFAULT_$LINE"
4459 ac_cv_use_shared
='USE_SHARED='$DEFAULT_USE_SHARED
4463 eval "$ac_cv_use_shared"
4464 echo $ac_cv_use_shared >> ${OSTYPE}.system.cache.tmp
4465 if test "$USE_SHARED" = 1; then
4466 echo "$ac_t""yes" 1>&6
4468 echo "$ac_t""no" 1>&6
4473 echo $ac_n "checking "for optimise
"""... $ac_c" 1>&6
4474 echo "configure:4475: checking "for optimise
"" >&5
4475 # Check whether --with-optimise or --without-optimise was given.
4476 if test "${with_optimise+set}" = set; then
4477 withval
="$with_optimise"
4478 if test "x$with_optimise" = xyes
; then
4479 ac_cv_use_optimise
='USE_OPTIMISE="1"'
4481 ac_cv_use_optimise
='USE_OPTIMISE="0"'
4485 LINE
=`grep "USE_OPTIMISE" ${OSTYPE}.system.cache`
4486 if test "x$LINE" != x
; then
4487 eval "DEFAULT_$LINE"
4489 ac_cv_use_optimise
='USE_OPTIMISE='$DEFAULT_USE_OPTIMISE
4493 eval "$ac_cv_use_optimise"
4494 echo $ac_cv_use_optimise >> ${OSTYPE}.system.cache.tmp
4495 if test "$USE_OPTIMISE" = 1; then
4496 echo "$ac_t""yes" 1>&6
4498 echo "$ac_t""no" 1>&6
4503 echo $ac_n "checking "for debug_flag
"""... $ac_c" 1>&6
4504 echo "configure:4505: checking "for debug_flag
"" >&5
4505 # Check whether --with-debug_flag or --without-debug_flag was given.
4506 if test "${with_debug_flag+set}" = set; then
4507 withval
="$with_debug_flag"
4508 if test "x$with_debug_flag" = xyes
; then
4509 ac_cv_use_debug_flag
='USE_DEBUG_FLAG="1"'
4511 ac_cv_use_debug_flag
='USE_DEBUG_FLAG="0"'
4515 LINE
=`grep "USE_DEBUG_FLAG" ${OSTYPE}.system.cache`
4516 if test "x$LINE" != x
; then
4517 eval "DEFAULT_$LINE"
4519 ac_cv_use_debug_flag
='USE_DEBUG_FLAG='$DEFAULT_USE_DEBUG_FLAG
4523 eval "$ac_cv_use_debug_flag"
4524 echo $ac_cv_use_debug_flag >> ${OSTYPE}.system.cache.tmp
4525 if test "$USE_DEBUG_FLAG" = 1; then
4526 echo "$ac_t""yes" 1>&6
4528 echo "$ac_t""no" 1>&6
4533 echo $ac_n "checking "for debug_info
"""... $ac_c" 1>&6
4534 echo "configure:4535: checking "for debug_info
"" >&5
4535 # Check whether --with-debug_info or --without-debug_info was given.
4536 if test "${with_debug_info+set}" = set; then
4537 withval
="$with_debug_info"
4538 if test "x$with_debug_info" = xyes
; then
4539 ac_cv_use_debug_info
='USE_DEBUG_INFO="1"'
4541 ac_cv_use_debug_info
='USE_DEBUG_INFO="0"'
4545 LINE
=`grep "USE_DEBUG_INFO" ${OSTYPE}.system.cache`
4546 if test "x$LINE" != x
; then
4547 eval "DEFAULT_$LINE"
4549 ac_cv_use_debug_info
='USE_DEBUG_INFO='$DEFAULT_USE_DEBUG_INFO
4553 eval "$ac_cv_use_debug_info"
4554 echo $ac_cv_use_debug_info >> ${OSTYPE}.system.cache.tmp
4555 if test "$USE_DEBUG_INFO" = 1; then
4556 echo "$ac_t""yes" 1>&6
4558 echo "$ac_t""no" 1>&6
4563 echo $ac_n "checking "for mem_tracing
"""... $ac_c" 1>&6
4564 echo "configure:4565: checking "for mem_tracing
"" >&5
4565 # Check whether --with-mem_tracing or --without-mem_tracing was given.
4566 if test "${with_mem_tracing+set}" = set; then
4567 withval
="$with_mem_tracing"
4568 if test "x$with_mem_tracing" = xyes
; then
4569 ac_cv_use_mem_tracing
='USE_MEM_TRACING="1"'
4571 ac_cv_use_mem_tracing
='USE_MEM_TRACING="0"'
4575 LINE
=`grep "USE_MEM_TRACING" ${OSTYPE}.system.cache`
4576 if test "x$LINE" != x
; then
4577 eval "DEFAULT_$LINE"
4579 ac_cv_use_mem_tracing
='USE_MEM_TRACING='$DEFAULT_USE_MEM_TRACING
4583 eval "$ac_cv_use_mem_tracing"
4584 echo $ac_cv_use_mem_tracing >> ${OSTYPE}.system.cache.tmp
4585 if test "$USE_MEM_TRACING" = 1; then
4586 echo "$ac_t""yes" 1>&6
4588 echo "$ac_t""no" 1>&6
4593 echo $ac_n "checking "for profile
"""... $ac_c" 1>&6
4594 echo "configure:4595: checking "for profile
"" >&5
4595 # Check whether --with-profile or --without-profile was given.
4596 if test "${with_profile+set}" = set; then
4597 withval
="$with_profile"
4598 if test "x$with_profile" = xyes
; then
4599 ac_cv_use_profile
='USE_PROFILE="1"'
4601 ac_cv_use_profile
='USE_PROFILE="0"'
4605 LINE
=`grep "USE_PROFILE" ${OSTYPE}.system.cache`
4606 if test "x$LINE" != x
; then
4607 eval "DEFAULT_$LINE"
4609 ac_cv_use_profile
='USE_PROFILE='$DEFAULT_USE_PROFILE
4613 eval "$ac_cv_use_profile"
4614 echo $ac_cv_use_profile >> ${OSTYPE}.system.cache.tmp
4615 if test "$USE_PROFILE" = 1; then
4616 echo "$ac_t""yes" 1>&6
4618 echo "$ac_t""no" 1>&6
4624 echo $ac_n "checking "for zlib
"""... $ac_c" 1>&6
4625 echo "configure:4626: checking "for zlib
"" >&5
4626 # Check whether --with-zlib or --without-zlib was given.
4627 if test "${with_zlib+set}" = set; then
4628 withval
="$with_zlib"
4629 if test "x$with_zlib" = xyes
; then
4630 ac_cv_use_zlib
='USE_ZLIB="1"'
4632 ac_cv_use_zlib
='USE_ZLIB="0"'
4636 LINE
=`grep "USE_ZLIB" ${OSTYPE}.system.cache`
4637 if test "x$LINE" != x
; then
4638 eval "DEFAULT_$LINE"
4640 ac_cv_use_zlib
='USE_ZLIB='$DEFAULT_USE_ZLIB
4644 eval "$ac_cv_use_zlib"
4645 echo $ac_cv_use_zlib >> ${OSTYPE}.system.cache.tmp
4646 if test "$USE_ZLIB" = 1; then
4647 echo "$ac_t""yes" 1>&6
4649 echo "$ac_t""no" 1>&6
4654 echo $ac_n "checking "for gdk_imlib
"""... $ac_c" 1>&6
4655 echo "configure:4656: checking "for gdk_imlib
"" >&5
4656 # Check whether --with-gdk_imlib or --without-gdk_imlib was given.
4657 if test "${with_gdk_imlib+set}" = set; then
4658 withval
="$with_gdk_imlib"
4659 if test "x$with_gdk_imlib" = xyes
; then
4660 ac_cv_use_gdk_imlib
='USE_GDK_IMLIB="1"'
4662 ac_cv_use_gdk_imlib
='USE_GDK_IMLIB="0"'
4666 LINE
=`grep "USE_GDK_IMLIB" ${OSTYPE}.system.cache`
4667 if test "x$LINE" != x
; then
4668 eval "DEFAULT_$LINE"
4670 ac_cv_use_gdk_imlib
='USE_GDK_IMLIB='$DEFAULT_USE_GDK_IMLIB
4674 eval "$ac_cv_use_gdk_imlib"
4675 echo $ac_cv_use_gdk_imlib >> ${OSTYPE}.system.cache.tmp
4676 if test "$USE_GDK_IMLIB" = 1; then
4677 echo "$ac_t""yes" 1>&6
4679 echo "$ac_t""no" 1>&6
4684 echo $ac_n "checking "for libpng
"""... $ac_c" 1>&6
4685 echo "configure:4686: checking "for libpng
"" >&5
4686 # Check whether --with-libpng or --without-libpng was given.
4687 if test "${with_libpng+set}" = set; then
4688 withval
="$with_libpng"
4689 if test "x$with_libpng" = xyes
; then
4690 ac_cv_use_libpng
='USE_LIBPNG="1"'
4692 ac_cv_use_libpng
='USE_LIBPNG="0"'
4696 LINE
=`grep "USE_LIBPNG" ${OSTYPE}.system.cache`
4697 if test "x$LINE" != x
; then
4698 eval "DEFAULT_$LINE"
4700 ac_cv_use_libpng
='USE_LIBPNG='$DEFAULT_USE_LIBPNG
4704 eval "$ac_cv_use_libpng"
4705 echo $ac_cv_use_libpng >> ${OSTYPE}.system.cache.tmp
4706 if test "$USE_LIBPNG" = 1; then
4707 echo "$ac_t""yes" 1>&6
4709 echo "$ac_t""no" 1>&6
4714 echo $ac_n "checking "for odbc
"""... $ac_c" 1>&6
4715 echo "configure:4716: checking "for odbc
"" >&5
4716 # Check whether --with-odbc or --without-odbc was given.
4717 if test "${with_odbc+set}" = set; then
4718 withval
="$with_odbc"
4719 if test "x$with_odbc" = xyes
; then
4720 ac_cv_use_odbc
='USE_ODBC="1"'
4722 ac_cv_use_odbc
='USE_ODBC="0"'
4726 LINE
=`grep "USE_ODBC" ${OSTYPE}.system.cache`
4727 if test "x$LINE" != x
; then
4728 eval "DEFAULT_$LINE"
4730 ac_cv_use_odbc
='USE_ODBC='$DEFAULT_USE_ODBC
4734 eval "$ac_cv_use_odbc"
4735 echo $ac_cv_use_odbc >> ${OSTYPE}.system.cache.tmp
4736 if test "$USE_ODBC" = 1; then
4737 echo "$ac_t""yes" 1>&6
4739 echo "$ac_t""no" 1>&6
4744 echo $ac_n "checking "for opengl
"""... $ac_c" 1>&6
4745 echo "configure:4746: checking "for opengl
"" >&5
4746 # Check whether --with-opengl or --without-opengl was given.
4747 if test "${with_opengl+set}" = set; then
4748 withval
="$with_opengl"
4749 if test "x$with_opengl" = xyes
; then
4750 ac_cv_use_opengl
='USE_OPENGL="1"'
4752 ac_cv_use_opengl
='USE_OPENGL="0"'
4756 LINE
=`grep "USE_OPENGL" ${OSTYPE}.system.cache`
4757 if test "x$LINE" != x
; then
4758 eval "DEFAULT_$LINE"
4760 ac_cv_use_opengl
='USE_OPENGL='$DEFAULT_USE_OPENGL
4764 eval "$ac_cv_use_opengl"
4765 echo $ac_cv_use_opengl >> ${OSTYPE}.system.cache.tmp
4766 if test "$USE_OPENGL" = 1; then
4767 echo "$ac_t""yes" 1>&6
4769 echo "$ac_t""no" 1>&6
4775 echo $ac_n "checking "for apple_ieee
"""... $ac_c" 1>&6
4776 echo "configure:4777: checking "for apple_ieee
"" >&5
4777 # Check whether --with-apple_ieee or --without-apple_ieee was given.
4778 if test "${with_apple_ieee+set}" = set; then
4779 withval
="$with_apple_ieee"
4780 if test "x$with_apple_ieee" = xyes
; then
4781 ac_cv_use_apple_ieee
='USE_APPLE_IEEE="1"'
4783 ac_cv_use_apple_ieee
='USE_APPLE_IEEE="0"'
4787 LINE
=`grep "USE_APPLE_IEEE" ${OSTYPE}.system.cache`
4788 if test "x$LINE" != x
; then
4789 eval "DEFAULT_$LINE"
4791 ac_cv_use_apple_ieee
='USE_APPLE_IEEE='$DEFAULT_USE_APPLE_IEEE
4795 eval "$ac_cv_use_apple_ieee"
4796 echo $ac_cv_use_apple_ieee >> ${OSTYPE}.system.cache.tmp
4797 if test "$USE_APPLE_IEEE" = 1; then
4798 echo "$ac_t""yes" 1>&6
4800 echo "$ac_t""no" 1>&6
4805 echo $ac_n "checking "for storable
"""... $ac_c" 1>&6
4806 echo "configure:4807: checking "for storable
"" >&5
4807 # Check whether --with-storable or --without-storable was given.
4808 if test "${with_storable+set}" = set; then
4809 withval
="$with_storable"
4810 if test "x$with_storable" = xyes
; then
4811 ac_cv_use_storable
='USE_STORABLE_CLASSES="1"'
4813 ac_cv_use_storable
='USE_STORABLE_CLASSES="0"'
4817 LINE
=`grep "USE_STORABLE_CLASSES" ${OSTYPE}.system.cache`
4818 if test "x$LINE" != x
; then
4819 eval "DEFAULT_$LINE"
4821 ac_cv_use_storable
='USE_STORABLE_CLASSES='$DEFAULT_USE_STORABLE_CLASSES
4825 eval "$ac_cv_use_storable"
4826 echo $ac_cv_use_storable >> ${OSTYPE}.system.cache.tmp
4827 if test "$USE_STORABLE_CLASSES" = 1; then
4828 echo "$ac_t""yes" 1>&6
4830 echo "$ac_t""no" 1>&6
4835 echo $ac_n "checking "for autotrans
"""... $ac_c" 1>&6
4836 echo "configure:4837: checking "for autotrans
"" >&5
4837 # Check whether --with-autotrans or --without-autotrans was given.
4838 if test "${with_autotrans+set}" = set; then
4839 withval
="$with_autotrans"
4840 if test "x$with_autotrans" = xyes
; then
4841 ac_cv_use_autotrans
='USE_AUTOTRANS="1"'
4843 ac_cv_use_autotrans
='USE_AUTOTRANS="0"'
4847 LINE
=`grep "USE_AUTOTRANS" ${OSTYPE}.system.cache`
4848 if test "x$LINE" != x
; then
4849 eval "DEFAULT_$LINE"
4851 ac_cv_use_autotrans
='USE_AUTOTRANS='$DEFAULT_USE_AUTOTRANS
4855 eval "$ac_cv_use_autotrans"
4856 echo $ac_cv_use_autotrans >> ${OSTYPE}.system.cache.tmp
4857 if test "$USE_AUTOTRANS" = 1; then
4858 echo "$ac_t""yes" 1>&6
4860 echo "$ac_t""no" 1>&6
4865 echo $ac_n "checking "for afmfonts
"""... $ac_c" 1>&6
4866 echo "configure:4867: checking "for afmfonts
"" >&5
4867 # Check whether --with-afmfonts or --without-afmfonts was given.
4868 if test "${with_afmfonts+set}" = set; then
4869 withval
="$with_afmfonts"
4870 if test "x$with_afmfonts" = xyes
; then
4871 ac_cv_use_afmfonts
='USE_AFM_FOR_POSTSCRIPT="1"'
4873 ac_cv_use_afmfonts
='USE_AFM_FOR_POSTSCRIPT="0"'
4877 LINE
=`grep "USE_AFM_FOR_POSTSCRIPT" ${OSTYPE}.system.cache`
4878 if test "x$LINE" != x
; then
4879 eval "DEFAULT_$LINE"
4881 ac_cv_use_afmfonts
='USE_AFM_FOR_POSTSCRIPT='$DEFAULT_USE_AFM_FOR_POSTSCRIPT
4885 eval "$ac_cv_use_afmfonts"
4886 echo $ac_cv_use_afmfonts >> ${OSTYPE}.system.cache.tmp
4887 if test "$USE_AFM_FOR_POSTSCRIPT" = 1; then
4888 echo "$ac_t""yes" 1>&6
4890 echo "$ac_t""no" 1>&6
4895 echo $ac_n "checking "for normalized
"""... $ac_c" 1>&6
4896 echo "configure:4897: checking "for normalized
"" >&5
4897 # Check whether --with-normalized or --without-normalized was given.
4898 if test "${with_normalized+set}" = set; then
4899 withval
="$with_normalized"
4900 if test "x$with_normalized" = xyes
; then
4901 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="1"'
4903 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS="0"'
4907 LINE
=`grep "WX_NORMALIZED_PS_FONTS" ${OSTYPE}.system.cache`
4908 if test "x$LINE" != x
; then
4909 eval "DEFAULT_$LINE"
4911 ac_cv_use_normalized
='WX_NORMALIZED_PS_FONTS='$DEFAULT_WX_NORMALIZED_PS_FONTS
4915 eval "$ac_cv_use_normalized"
4916 echo $ac_cv_use_normalized >> ${OSTYPE}.system.cache.tmp
4917 if test "$WX_NORMALIZED_PS_FONTS" = 1; then
4918 echo "$ac_t""yes" 1>&6
4920 echo "$ac_t""no" 1>&6
4925 echo $ac_n "checking "for RPC
"""... $ac_c" 1>&6
4926 echo "configure:4927: checking "for RPC
"" >&5
4927 # Check whether --with-rpc or --without-rpc was given.
4928 if test "${with_rpc+set}" = set; then
4930 if test "x$with_rpc" = xyes
; then
4931 ac_cv_use_rpc
='USE_RPC="1"'
4933 ac_cv_use_rpc
='USE_RPC="0"'
4937 LINE
=`grep "USE_RPC" ${OSTYPE}.system.cache`
4938 if test "x$LINE" != x
; then
4939 eval "DEFAULT_$LINE"
4941 ac_cv_use_rpc
='USE_RPC='$DEFAULT_USE_RPC
4945 eval "$ac_cv_use_rpc"
4946 echo $ac_cv_use_rpc >> ${OSTYPE}.system.cache.tmp
4947 if test "$USE_RPC" = 1; then
4948 echo "$ac_t""yes" 1>&6
4950 echo "$ac_t""no" 1>&6
4955 echo $ac_n "checking "for wxresources
"""... $ac_c" 1>&6
4956 echo "configure:4957: checking "for wxresources
"" >&5
4957 # Check whether --with-wxresources or --without-wxresources was given.
4958 if test "${with_wxresources+set}" = set; then
4959 withval
="$with_wxresources"
4960 if test "x$with_wxresources" = xyes
; then
4961 ac_cv_use_wxresources
='USE_WX_RESOURCES="1"'
4963 ac_cv_use_wxresources
='USE_WX_RESOURCES="0"'
4967 LINE
=`grep "USE_WX_RESOURCES" ${OSTYPE}.system.cache`
4968 if test "x$LINE" != x
; then
4969 eval "DEFAULT_$LINE"
4971 ac_cv_use_wxresources
='USE_WX_RESOURCES='$DEFAULT_USE_WX_RESOURCES
4975 eval "$ac_cv_use_wxresources"
4976 echo $ac_cv_use_wxresources >> ${OSTYPE}.system.cache.tmp
4977 if test "$USE_WX_RESOURCES" = 1; then
4978 echo "$ac_t""yes" 1>&6
4980 echo "$ac_t""no" 1>&6
4985 echo $ac_n "checking "for prologio
"""... $ac_c" 1>&6
4986 echo "configure:4987: checking "for prologio
"" >&5
4987 # Check whether --with-prologio or --without-prologio was given.
4988 if test "${with_prologio+set}" = set; then
4989 withval
="$with_prologio"
4990 if test "x$with_prologio" = xyes
; then
4991 ac_cv_use_prologio
='USE_PROLOGIO="1"'
4993 ac_cv_use_prologio
='USE_PROLOGIO="0"'
4997 LINE
=`grep "USE_PROLOGIO" ${OSTYPE}.system.cache`
4998 if test "x$LINE" != x
; then
4999 eval "DEFAULT_$LINE"
5001 ac_cv_use_prologio
='USE_PROLOGIO='$DEFAULT_USE_PROLOGIO
5005 eval "$ac_cv_use_prologio"
5006 echo $ac_cv_use_prologio >> ${OSTYPE}.system.cache.tmp
5007 if test "$USE_PROLOGIO" = 1; then
5008 echo "$ac_t""yes" 1>&6
5010 echo "$ac_t""no" 1>&6
5015 echo $ac_n "checking "for postscript
"""... $ac_c" 1>&6
5016 echo "configure:5017: checking "for postscript
"" >&5
5017 # Check whether --with-postscript or --without-postscript was given.
5018 if test "${with_postscript+set}" = set; then
5019 withval
="$with_postscript"
5020 if test "x$with_postscript" = xyes
; then
5021 ac_cv_use_postscript
='USE_POSTSCRIPT="1"'
5023 ac_cv_use_postscript
='USE_POSTSCRIPT="0"'
5027 LINE
=`grep "USE_POSTSCRIPT" ${OSTYPE}.system.cache`
5028 if test "x$LINE" != x
; then
5029 eval "DEFAULT_$LINE"
5031 ac_cv_use_postscript
='USE_POSTSCRIPT='$DEFAULT_USE_POSTSCRIPT
5035 eval "$ac_cv_use_postscript"
5036 echo $ac_cv_use_postscript >> ${OSTYPE}.system.cache.tmp
5037 if test "$USE_POSTSCRIPT" = 1; then
5038 echo "$ac_t""yes" 1>&6
5040 echo "$ac_t""no" 1>&6
5045 echo $ac_n "checking "for wxconfig
"""... $ac_c" 1>&6
5046 echo "configure:5047: checking "for wxconfig
"" >&5
5047 # Check whether --with-wxconfig or --without-wxconfig was given.
5048 if test "${with_wxconfig+set}" = set; then
5049 withval
="$with_wxconfig"
5050 if test "x$with_wxconfig" = xyes
; then
5051 ac_cv_use_wxconfig
='USE_WXCONFIG="1"'
5053 ac_cv_use_wxconfig
='USE_WXCONFIG="0"'
5057 LINE
=`grep "USE_WXCONFIG" ${OSTYPE}.system.cache`
5058 if test "x$LINE" != x
; then
5059 eval "DEFAULT_$LINE"
5061 ac_cv_use_wxconfig
='USE_WXCONFIG='$DEFAULT_USE_WXCONFIG
5065 eval "$ac_cv_use_wxconfig"
5066 echo $ac_cv_use_wxconfig >> ${OSTYPE}.system.cache.tmp
5067 if test "$USE_WXCONFIG" = 1; then
5068 echo "$ac_t""yes" 1>&6
5070 echo "$ac_t""no" 1>&6
5075 echo $ac_n "checking "for metafile
"""... $ac_c" 1>&6
5076 echo "configure:5077: checking "for metafile
"" >&5
5077 # Check whether --with-metafile or --without-metafile was given.
5078 if test "${with_metafile+set}" = set; then
5079 withval
="$with_metafile"
5080 if test "x$with_metafile" = xyes
; then
5081 ac_cv_use_metafile
='USE_METAFILE="1"'
5083 ac_cv_use_metafile
='USE_METAFILE="0"'
5087 LINE
=`grep "USE_METAFILE" ${OSTYPE}.system.cache`
5088 if test "x$LINE" != x
; then
5089 eval "DEFAULT_$LINE"
5091 ac_cv_use_metafile
='USE_METAFILE='$DEFAULT_USE_METAFILE
5095 eval "$ac_cv_use_metafile"
5096 echo $ac_cv_use_metafile >> ${OSTYPE}.system.cache.tmp
5097 if test "$USE_METAFILE" = 1; then
5098 echo "$ac_t""yes" 1>&6
5100 echo "$ac_t""no" 1>&6
5105 echo $ac_n "checking "for form
"""... $ac_c" 1>&6
5106 echo "configure:5107: checking "for form
"" >&5
5107 # Check whether --with-form or --without-form was given.
5108 if test "${with_form+set}" = set; then
5109 withval
="$with_form"
5110 if test "x$with_form" = xyes
; then
5111 ac_cv_use_form
='USE_FORM="1"'
5113 ac_cv_use_form
='USE_FORM="0"'
5117 LINE
=`grep "USE_FORM" ${OSTYPE}.system.cache`
5118 if test "x$LINE" != x
; then
5119 eval "DEFAULT_$LINE"
5121 ac_cv_use_form
='USE_FORM='$DEFAULT_USE_FORM
5125 eval "$ac_cv_use_form"
5126 echo $ac_cv_use_form >> ${OSTYPE}.system.cache.tmp
5127 if test "$USE_FORM" = 1; then
5128 echo "$ac_t""yes" 1>&6
5130 echo "$ac_t""no" 1>&6
5135 echo $ac_n "checking "for help"""... $ac_c" 1>&6
5136 echo "configure:5137: checking "for help"" >&5
5137 # Check whether --with-help or --without-help was given.
5138 if test "${with_help+set}" = set; then
5139 withval
="$with_help"
5140 if test "x$with_help" = xyes
; then
5141 ac_cv_use_help
='USE_HELP="1"'
5143 ac_cv_use_help
='USE_HELP="0"'
5147 LINE
=`grep "USE_HELP" ${OSTYPE}.system.cache`
5148 if test "x$LINE" != x
; then
5149 eval "DEFAULT_$LINE"
5151 ac_cv_use_help
='USE_HELP='$DEFAULT_USE_HELP
5155 eval "$ac_cv_use_help"
5156 echo $ac_cv_use_help >> ${OSTYPE}.system.cache.tmp
5157 if test "$USE_HELP" = 1; then
5158 echo "$ac_t""yes" 1>&6
5160 echo "$ac_t""no" 1>&6
5165 echo $ac_n "checking "for IPC
"""... $ac_c" 1>&6
5166 echo "configure:5167: checking "for IPC
"" >&5
5167 # Check whether --with-ipc or --without-ipc was given.
5168 if test "${with_ipc+set}" = set; then
5170 if test "x$with_ipc" = xyes
; then
5171 ac_cv_use_ipc
='USE_IPC="1"'
5173 ac_cv_use_ipc
='USE_IPC="0"'
5177 LINE
=`grep "USE_IPC" ${OSTYPE}.system.cache`
5178 if test "x$LINE" != x
; then
5179 eval "DEFAULT_$LINE"
5181 ac_cv_use_ipc
='USE_IPC='$DEFAULT_USE_IPC
5185 eval "$ac_cv_use_ipc"
5186 echo $ac_cv_use_ipc >> ${OSTYPE}.system.cache.tmp
5187 if test "$USE_IPC" = 1; then
5188 echo "$ac_t""yes" 1>&6
5190 echo "$ac_t""no" 1>&6
5195 echo $ac_n "checking "for enhanced dialog
"""... $ac_c" 1>&6
5196 echo "configure:5197: checking "for enhanced dialog
"" >&5
5197 # Check whether --with-enhanceddialog or --without-enhanceddialog was given.
5198 if test "${with_enhanceddialog+set}" = set; then
5199 withval
="$with_enhanceddialog"
5200 if test "x$with_enhanceddialog" = xyes
; then
5201 ac_cv_use_enhanceddialog
='USE_ENHANCED_DIALOG="1"'
5203 ac_cv_use_enhanceddialog
='USE_ENHANCED_DIALOG="0"'
5207 LINE
=`grep "USE_ENHANCED_DIALOG" ${OSTYPE}.system.cache`
5208 if test "x$LINE" != x
; then
5209 eval "DEFAULT_$LINE"
5211 ac_cv_use_enhanceddialog
='USE_ENHANCED_DIALOG='$DEFAULT_USE_ENHANCED_DIALOG
5215 eval "$ac_cv_use_enhanceddialog"
5216 echo $ac_cv_use_enhanceddialog >> ${OSTYPE}.system.cache.tmp
5217 if test "$USE_ENHANCED_DIALOG" = 1; then
5218 echo "$ac_t""yes" 1>&6
5220 echo "$ac_t""no" 1>&6
5225 echo $ac_n "checking "for resources
"""... $ac_c" 1>&6
5226 echo "configure:5227: checking "for resources
"" >&5
5227 # Check whether --with-resources or --without-resources was given.
5228 if test "${with_resources+set}" = set; then
5229 withval
="$with_resources"
5230 if test "x$with_resources" = xyes
; then
5231 ac_cv_use_resources
='USE_RESOURCES="1"'
5233 ac_cv_use_resources
='USE_RESOURCES="0"'
5237 LINE
=`grep "USE_RESOURCES" ${OSTYPE}.system.cache`
5238 if test "x$LINE" != x
; then
5239 eval "DEFAULT_$LINE"
5241 ac_cv_use_resources
='USE_RESOURCES='$DEFAULT_USE_RESOURCES
5245 eval "$ac_cv_use_resources"
5246 echo $ac_cv_use_resources >> ${OSTYPE}.system.cache.tmp
5247 if test "$USE_RESOURCES" = 1; then
5248 echo "$ac_t""yes" 1>&6
5250 echo "$ac_t""no" 1>&6
5255 echo $ac_n "checking "for clipboard
"""... $ac_c" 1>&6
5256 echo "configure:5257: checking "for clipboard
"" >&5
5257 # Check whether --with-clipboard or --without-clipboard was given.
5258 if test "${with_clipboard+set}" = set; then
5259 withval
="$with_clipboard"
5260 if test "x$with_clipboard" = xyes
; then
5261 ac_cv_use_clipboard
='USE_CLIPBOARD="1"'
5263 ac_cv_use_clipboard
='USE_CLIPBOARD="0"'
5267 LINE
=`grep "USE_CLIPBOARD" ${OSTYPE}.system.cache`
5268 if test "x$LINE" != x
; then
5269 eval "DEFAULT_$LINE"
5271 ac_cv_use_clipboard
='USE_CLIPBOARD='$DEFAULT_USE_CLIPBOARD
5275 eval "$ac_cv_use_clipboard"
5276 echo $ac_cv_use_clipboard >> ${OSTYPE}.system.cache.tmp
5277 if test "$USE_CLIPBOARD" = 1; then
5278 echo "$ac_t""yes" 1>&6
5280 echo "$ac_t""no" 1>&6
5285 echo $ac_n "checking "for timedate
"""... $ac_c" 1>&6
5286 echo "configure:5287: checking "for timedate
"" >&5
5287 # Check whether --with-timedate or --without-timedate was given.
5288 if test "${with_timedate+set}" = set; then
5289 withval
="$with_timedate"
5290 if test "x$with_timedate" = xyes
; then
5291 ac_cv_use_timedate
='USE_TIMEDATE="1"'
5293 ac_cv_use_timedate
='USE_TIMEDATE="0"'
5297 LINE
=`grep "USE_TIMEDATE" ${OSTYPE}.system.cache`
5298 if test "x$LINE" != x
; then
5299 eval "DEFAULT_$LINE"
5301 ac_cv_use_timedate
='USE_TIMEDATE='$DEFAULT_USE_TIMEDATE
5305 eval "$ac_cv_use_timedate"
5306 echo $ac_cv_use_timedate >> ${OSTYPE}.system.cache.tmp
5307 if test "$USE_TIMEDATE" = 1; then
5308 echo "$ac_t""yes" 1>&6
5310 echo "$ac_t""no" 1>&6
5315 echo $ac_n "checking "for fraction
"""... $ac_c" 1>&6
5316 echo "configure:5317: checking "for fraction
"" >&5
5317 # Check whether --with-fraction or --without-fraction was given.
5318 if test "${with_fraction+set}" = set; then
5319 withval
="$with_fraction"
5320 if test "x$with_fraction" = xyes
; then
5321 ac_cv_use_fraction
='USE_FRACTION="1"'
5323 ac_cv_use_fraction
='USE_FRACTION="0"'
5327 LINE
=`grep "USE_FRACTION" ${OSTYPE}.system.cache`
5328 if test "x$LINE" != x
; then
5329 eval "DEFAULT_$LINE"
5331 ac_cv_use_fraction
='USE_FRACTION='$DEFAULT_USE_FRACTION
5335 eval "$ac_cv_use_fraction"
5336 echo $ac_cv_use_fraction >> ${OSTYPE}.system.cache.tmp
5337 if test "$USE_FRACTION" = 1; then
5338 echo "$ac_t""yes" 1>&6
5340 echo "$ac_t""no" 1>&6
5345 echo $ac_n "checking "for constrains
"""... $ac_c" 1>&6
5346 echo "configure:5347: checking "for constrains
"" >&5
5347 # Check whether --with-constraints or --without-constraints was given.
5348 if test "${with_constraints+set}" = set; then
5349 withval
="$with_constraints"
5350 if test "x$with_constraints" = xyes
; then
5351 ac_cv_use_constraints
='USE_CONSTRAINTS="1"'
5353 ac_cv_use_constraints
='USE_CONSTRAINTS="0"'
5357 LINE
=`grep "USE_CONSTRAINTS" ${OSTYPE}.system.cache`
5358 if test "x$LINE" != x
; then
5359 eval "DEFAULT_$LINE"
5361 ac_cv_use_constraints
='USE_CONSTRAINTS='$DEFAULT_USE_CONSTRAINTS
5365 eval "$ac_cv_use_constraints"
5366 echo $ac_cv_use_constraints >> ${OSTYPE}.system.cache.tmp
5367 if test "$USE_CONSTRAINTS" = 1; then
5368 echo "$ac_t""yes" 1>&6
5370 echo "$ac_t""no" 1>&6
5375 echo $ac_n "checking "for toolbar
"""... $ac_c" 1>&6
5376 echo "configure:5377: checking "for toolbar
"" >&5
5377 # Check whether --with-toolbar or --without-toolbar was given.
5378 if test "${with_toolbar+set}" = set; then
5379 withval
="$with_toolbar"
5380 if test "x$with_toolbar" = xyes
; then
5381 ac_cv_use_toolbar
='USE_TOOLBAR="1"'
5383 ac_cv_use_toolbar
='USE_TOOLBAR="0"'
5387 LINE
=`grep "USE_TOOLBAR" ${OSTYPE}.system.cache`
5388 if test "x$LINE" != x
; then
5389 eval "DEFAULT_$LINE"
5391 ac_cv_use_toolbar
='USE_TOOLBAR='$DEFAULT_USE_TOOLBAR
5395 eval "$ac_cv_use_toolbar"
5396 echo $ac_cv_use_toolbar >> ${OSTYPE}.system.cache.tmp
5397 if test "$USE_TOOLBAR" = 1; then
5398 echo "$ac_t""yes" 1>&6
5400 echo "$ac_t""no" 1>&6
5405 echo $ac_n "checking "for gauge
"""... $ac_c" 1>&6
5406 echo "configure:5407: checking "for gauge
"" >&5
5407 # Check whether --with-gauge or --without-gauge was given.
5408 if test "${with_gauge+set}" = set; then
5409 withval
="$with_gauge"
5410 if test "x$with_gauge" = xyes
; then
5411 ac_cv_use_gauge
='USE_GAUGE="1"'
5413 ac_cv_use_gauge
='USE_GAUGE="0"'
5417 LINE
=`grep "USE_GAUGE" ${OSTYPE}.system.cache`
5418 if test "x$LINE" != x
; then
5419 eval "DEFAULT_$LINE"
5421 ac_cv_use_gauge
='USE_GAUGE='$DEFAULT_USE_GAUGE
5425 eval "$ac_cv_use_gauge"
5426 echo $ac_cv_use_gauge >> ${OSTYPE}.system.cache.tmp
5427 if test "$USE_GAUGE" = 1; then
5428 echo "$ac_t""yes" 1>&6
5430 echo "$ac_t""no" 1>&6
5435 echo $ac_n "checking "for vllist
"""... $ac_c" 1>&6
5436 echo "configure:5437: checking "for vllist
"" >&5
5437 # Check whether --with-vllist or --without-vllist was given.
5438 if test "${with_vllist+set}" = set; then
5439 withval
="$with_vllist"
5440 if test "x$with_vllist" = xyes
; then
5441 ac_cv_use_vllist
='USE_VLBOX="1"'
5443 ac_cv_use_vllist
='USE_VLBOX="0"'
5447 LINE
=`grep "USE_VLBOX" ${OSTYPE}.system.cache`
5448 if test "x$LINE" != x
; then
5449 eval "DEFAULT_$LINE"
5451 ac_cv_use_vllist
='USE_VLBOX='$DEFAULT_USE_VLBOX
5455 eval "$ac_cv_use_vllist"
5456 echo $ac_cv_use_vllist >> ${OSTYPE}.system.cache.tmp
5457 if test "$USE_VLBOX" = 1; then
5458 echo "$ac_t""yes" 1>&6
5460 echo "$ac_t""no" 1>&6
5465 echo $ac_n "checking "for scrollbar
"""... $ac_c" 1>&6
5466 echo "configure:5467: checking "for scrollbar
"" >&5
5467 # Check whether --with-scrollbar or --without-scrollbar was given.
5468 if test "${with_scrollbar+set}" = set; then
5469 withval
="$with_scrollbar"
5470 if test "x$with_scrollbar" = xyes
; then
5471 ac_cv_use_scrollbar
='USE_SCROLLBAR="1"'
5473 ac_cv_use_scrollbar
='USE_SCROLLBAR="0"'
5477 LINE
=`grep "USE_SCROLLBAR" ${OSTYPE}.system.cache`
5478 if test "x$LINE" != x
; then
5479 eval "DEFAULT_$LINE"
5481 ac_cv_use_scrollbar
='USE_SCROLLBAR='$DEFAULT_USE_SCROLLBAR
5485 eval "$ac_cv_use_scrollbar"
5486 echo $ac_cv_use_scrollbar >> ${OSTYPE}.system.cache.tmp
5487 if test "$USE_SCROLLBAR" = 1; then
5488 echo "$ac_t""yes" 1>&6
5490 echo "$ac_t""no" 1>&6
5495 echo $ac_n "checking "for docview
"""... $ac_c" 1>&6
5496 echo "configure:5497: checking "for docview
"" >&5
5497 # Check whether --with-docview or --without-docview was given.
5498 if test "${with_docview+set}" = set; then
5499 withval
="$with_docview"
5500 if test "x$with_docview" = xyes
; then
5501 ac_cv_use_docview
='USE_DOC_VIEW_ARCHITECTURE="1"'
5503 ac_cv_use_docview
='USE_DOC_VIEW_ARCHITECTURE="0"'
5507 LINE
=`grep "USE_DOC_VIEW_ARCHITECTURE" ${OSTYPE}.system.cache`
5508 if test "x$LINE" != x
; then
5509 eval "DEFAULT_$LINE"
5511 ac_cv_use_docview
='USE_DOC_VIEW_ARCHITECTURE='$DEFAULT_USE_DOC_VIEW_ARCHITECTURE
5515 eval "$ac_cv_use_docview"
5516 echo $ac_cv_use_docview >> ${OSTYPE}.system.cache.tmp
5517 if test "$USE_DOC_VIEW_ARCHITECTURE" = 1; then
5518 echo "$ac_t""yes" 1>&6
5520 echo "$ac_t""no" 1>&6
5525 echo $ac_n "checking "for printarch
"""... $ac_c" 1>&6
5526 echo "configure:5527: checking "for printarch
"" >&5
5527 # Check whether --with-printarch or --without-printarch was given.
5528 if test "${with_printarch+set}" = set; then
5529 withval
="$with_printarch"
5530 if test "x$with_printarch" = xyes
; then
5531 ac_cv_use_printarch
='USE_PRINTING_ARCHITECTURE="1"'
5533 ac_cv_use_printarch
='USE_PRINTING_ARCHITECTURE="0"'
5537 LINE
=`grep "USE_PRINTING_ARCHITECTURE" ${OSTYPE}.system.cache`
5538 if test "x$LINE" != x
; then
5539 eval "DEFAULT_$LINE"
5541 ac_cv_use_printarch
='USE_PRINTING_ARCHITECTURE='$DEFAULT_USE_PRINTING_ARCHITECTURE
5545 eval "$ac_cv_use_printarch"
5546 echo $ac_cv_use_printarch >> ${OSTYPE}.system.cache.tmp
5547 if test "$USE_PRINTING_ARCHITECTURE" = 1; then
5548 echo "$ac_t""yes" 1>&6
5550 echo "$ac_t""no" 1>&6
5555 echo $ac_n "checking "for typetree
"""... $ac_c" 1>&6
5556 echo "configure:5557: checking "for typetree
"" >&5
5557 # Check whether --with-typetree or --without-typetree was given.
5558 if test "${with_typetree+set}" = set; then
5559 withval
="$with_typetree"
5560 if test "x$with_typetree" = xyes
; then
5561 ac_cv_use_typetree
='USE_TYPETREE="1"'
5563 ac_cv_use_typetree
='USE_TYPETREE="0"'
5567 LINE
=`grep "USE_TYPETREE" ${OSTYPE}.system.cache`
5568 if test "x$LINE" != x
; then
5569 eval "DEFAULT_$LINE"
5571 ac_cv_use_typetree
='USE_TYPETREE='$DEFAULT_USE_TYPETREE
5575 eval "$ac_cv_use_typetree"
5576 echo $ac_cv_use_typetree >> ${OSTYPE}.system.cache.tmp
5577 if test "$USE_TYPETREE" = 1; then
5578 echo "$ac_t""yes" 1>&6
5580 echo "$ac_t""no" 1>&6
5585 echo $ac_n "checking "for wxgraph
"""... $ac_c" 1>&6
5586 echo "configure:5587: checking "for wxgraph
"" >&5
5587 # Check whether --with-wxgraph or --without-wxgraph was given.
5588 if test "${with_wxgraph+set}" = set; then
5589 withval
="$with_wxgraph"
5590 if test "x$with_wxgraph" = xyes
; then
5591 ac_cv_use_wxgraph
='USE_WXGRAPH="1"'
5593 ac_cv_use_wxgraph
='USE_WXGRAPH="0"'
5597 LINE
=`grep "USE_WXGRAPH" ${OSTYPE}.system.cache`
5598 if test "x$LINE" != x
; then
5599 eval "DEFAULT_$LINE"
5601 ac_cv_use_wxgraph
='USE_WXGRAPH='$DEFAULT_USE_WXGRAPH
5605 eval "$ac_cv_use_wxgraph"
5606 echo $ac_cv_use_wxgraph >> ${OSTYPE}.system.cache.tmp
5607 if test "$USE_WXGRAPH" = 1; then
5608 echo "$ac_t""yes" 1>&6
5610 echo "$ac_t""no" 1>&6
5615 echo $ac_n "checking "for wxtree
"""... $ac_c" 1>&6
5616 echo "configure:5617: checking "for wxtree
"" >&5
5617 # Check whether --with-wxtree or --without-wxtree was given.
5618 if test "${with_wxtree+set}" = set; then
5619 withval
="$with_wxtree"
5620 if test "x$with_wxtree" = xyes
; then
5621 ac_cv_use_wxtree
='USE_WXTREE="1"'
5623 ac_cv_use_wxtree
='USE_WXTREE="0"'
5627 LINE
=`grep "USE_WXTREE" ${OSTYPE}.system.cache`
5628 if test "x$LINE" != x
; then
5629 eval "DEFAULT_$LINE"
5631 ac_cv_use_wxtree
='USE_WXTREE='$DEFAULT_USE_WXTREE
5635 eval "$ac_cv_use_wxtree"
5636 echo $ac_cv_use_wxtree >> ${OSTYPE}.system.cache.tmp
5637 if test "$USE_WXTREE" = 1; then
5638 echo "$ac_t""yes" 1>&6
5640 echo "$ac_t""no" 1>&6
5647 if test "$USE_ZLIB" = 1 ; then
5652 if test "$USE_GDK_IMLIB" = 1 ; then
5653 GDK_IMLIB
="GDK_IMLIB"
5657 if test "$USE_LIBPNG" = 1 ; then
5662 if test "$USE_ODBC" = 1 ; then
5667 if test "$USE_APPLE_IEEE" = 1 ; then
5668 APPLE_IEEE
="APPLE_IEEE"
5669 cat >> confdefs.h
<<EOF
5670 #define USE_APPLE_IEEE $USE_APPLE_IEEE
5676 if test "$USE_STORABLE_CLASSES" = 1 ; then
5678 cat >> confdefs.h
<<EOF
5679 #define USE_STORABLE_CLASSES $USE_STORABLE_CLASSES
5685 if test "$USE_AUTOTRANS" = 1 ; then
5686 AUTOTRANS
="AUTOTRANS"
5687 cat >> confdefs.h
<<EOF
5688 #define USE_AUTOTRANS $USE_AUTOTRANS
5694 if test "$USE_DEBUG_INFO" = 1 ; then
5699 if test "$USE_DEBUG_FLAG" = 1 ; then
5700 cat >> confdefs.h
<<EOF
5701 #define WXDEBUG $USE_DEBUG_FLAG
5704 WXDEBUG_DEFINE
="-D__WXDEBUG__"
5708 if test "$USE_MEM_TRACING" = 1 ; then
5709 cat >> confdefs.h
<<EOF
5710 #define USE_MEMORY_TRACING $USE_MEM_TRACING
5713 cat >> confdefs.h
<<EOF
5714 #define USE_GLOBAL_MEMORY_OPERATORS $USE_MEM_TRACING
5720 if test "$USE_PROFILE" = 1 ; then
5725 CXXFLAGS
=`echo "${CXXFLAGS}" | sed "s/\-O.//g" `
5726 CFLAGS
=`echo "${CFLAGS}" | sed "s/\-O.//g" `
5727 if test "$USE_OPTIMISE" = 0 ; then
5730 if test "$GCC" = yes ; then
5732 case "${canonical}" in
5734 OPTIMISE
="${OPTIMISE} "
5743 USE_IOSTREAMH
=$DEFAULT_USE_IOSTREAMH
5744 cat >> confdefs.h
<<EOF
5745 #define USE_IOSTREAMH $USE_IOSTREAMH
5750 if test "$USE_RPC" = 1 ; then
5752 cat >> confdefs.h
<<EOF
5753 #define USE_RPC $USE_RPC
5760 if test "$USE_WX_RESOURCES" = 1 ; then
5761 WXRESOURCES
="WXRESOURCES"
5762 cat >> confdefs.h
<<EOF
5763 #define USE_WX_RESOURCES $USE_WX_RESOURCES
5771 if test "$USE_PROLOGIO" = 1 ; then
5773 PROLOGIOSRC
="PROLOGIOSRC"
5774 cat >> confdefs.h
<<EOF
5775 #define USE_PROLOGIO 1
5783 if test "$USE_POSTSCRIPT" = 1 ; then
5784 POSTSCRIPTDC
="POSTSCRIPTDC"
5785 cat >> confdefs.h
<<EOF
5786 #define USE_POSTSCRIPT 1
5792 if test "$USE_WXCONFIG" = 1 ; then
5793 cat >> confdefs.h
<<EOF
5794 #define USE_WXCONFIG $USE_WXCONFIG
5800 if test "$USE_METAFILE" = 1 ; then
5802 cat >> confdefs.h
<<EOF
5803 #define USE_METAFILE $USE_METAFILE
5810 if test "$USE_FORM" = 1 ; then
5812 cat >> confdefs.h
<<EOF
5813 #define USE_FORM $USE_FORM
5820 if test "$USE_HELP" = 1 ; then
5822 cat >> confdefs.h
<<EOF
5823 #define USE_HELP $USE_HELP
5830 if test "$USE_IPC" = 1 ; then
5832 cat >> confdefs.h
<<EOF
5840 if test "$USE_ENHANCED_DIALOG" = 1 ; then
5841 ENHDIALOGBOX
="ENHDIALOGBOX"
5842 cat >> confdefs.h
<<EOF
5843 #define USE_ENHANCED_DIALOG $USE_ENHANCED_DIALOG
5850 if test "$USE_RESOURCES" = 1 ; then
5851 XRESOURCES
="XRESOURCES"
5852 cat >> confdefs.h
<<EOF
5853 #define USE_RESOURCES $USE_RESOURCES
5860 if test "$USE_CLIPBOARD" = 1 ; then
5861 CLIPBOARD
="CLIPBOARD"
5862 cat >> confdefs.h
<<EOF
5863 #define USE_CLIPBOARD $USE_CLIPBOARD
5870 if test "$USE_CONSTRAINTS" = 1 ; then
5871 CONSTRAINTS
="CONSTRAINTS"
5872 cat >> confdefs.h
<<EOF
5873 #define USE_CONSTRAINTS $USE_CONSTRAINTS
5880 if test "$USE_TIMEDATE" = 1 ; then
5882 cat >> confdefs.h
<<EOF
5883 #define USE_TIMEDATE $USE_TIMEDATE
5890 if test "$USE_FRACTION" = 1 ; then
5892 cat >> confdefs.h
<<EOF
5893 #define USE_FRACTION $USE_FRACTION
5900 if test "$USE_TOOLBAR" = 1 ; then
5902 cat >> confdefs.h
<<EOF
5903 #define USE_TOOLBAR $USE_TOOLBAR
5906 cat >> confdefs.h
<<EOF
5907 #define USE_XT_TOOLBAR $USE_XT_TOOLBAR
5914 if test "$USE_GAUGE" = 1 ; then
5917 cat >> confdefs.h
<<EOF
5918 #define USE_GAUGE $USE_GAUGE
5924 if test "$USE_VLBOX" = 1 ; then
5925 VIRTLISTBOX
="VIRLISTBOX"
5926 cat >> confdefs.h
<<EOF
5927 #define USE_VIRLISTBOX $USE_VIRLISTBOX
5934 if test "$USE_SCROLLBAR" = 1 ; then
5935 SCROLLBAR
="SCROLLBAR"
5936 cat >> confdefs.h
<<EOF
5937 #define USE_SCROLLBAR $USE_SCROLLBAR
5944 if test "$USE_DOC_VIEW_ARCHITECTURE" = 1 ; then
5946 cat >> confdefs.h
<<EOF
5947 #define USE_DOC_VIEW_ARCHITECTURE $USE_DOC_VIEW_ARCHITECTURE
5954 if test "$USE_PRINTING_ARCHITECTURE" = 1 ; then
5955 PRINTPREVIEW
="PRINTPREVIEW"
5956 cat >> confdefs.h
<<EOF
5957 #define USE_PRINTING_ARCHITECTURE $USE_PRINTING_ARCHITECTURE
5964 if test "$USE_TYPETREE" = 1 ; then
5966 cat >> confdefs.h
<<EOF
5967 #define USE_TYPETREE $USE_TYPETREE
5974 if test "$USE_WXGRAPH" = 1 ; then
5976 cat >> confdefs.h
<<EOF
5977 #define USE_WXGRAPH $USE_WXGRAPH
5984 if test "$USE_WXTREE" = 1 ; then
5986 cat >> confdefs.h
<<EOF
5987 #define USE_WXTREE $USE_WXTREE
5994 if test "$USE_OPENGL" = 1 ; then
5998 cat >> confdefs.h
<<EOF
5999 #define USE_AFM_FOR_POSTSCRIPT $USE_AFM_FOR_POSTSCRIPT
6003 cat >> confdefs.h
<<EOF
6004 #define WX_NORMALIZED_PS_FONTS $WX_NORMALIZED_PS_FONTS
6009 if test "$USE_UNIX" = 1 ; then
6010 cat >> confdefs.h
<<\EOF
6021 if test "$USE_GTK" = 1; then
6022 # Check whether --with-gtk-prefix or --without-gtk-prefix was given.
6023 if test "${with_gtk_prefix+set}" = set; then
6024 withval
="$with_gtk_prefix"
6025 gtk_config_prefix
="$withval"
6027 gtk_config_prefix
=""
6030 # Check whether --with-gtk-exec-prefix or --without-gtk-exec-prefix was given.
6031 if test "${with_gtk_exec_prefix+set}" = set; then
6032 withval
="$with_gtk_exec_prefix"
6033 gtk_config_exec_prefix
="$withval"
6035 gtk_config_exec_prefix
=""
6039 if test x
$gtk_config_exec_prefix != x
; then
6040 gtk_config_args
="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
6041 if test x
${GTK_CONFIG+set} != xset
; then
6042 GTK_CONFIG
=$gtk_config_exec_prefix/bin
/gtk
-config
6045 if test x
$gtk_config_prefix != x
; then
6046 gtk_config_args
="$gtk_config_args --prefix=$gtk_config_prefix"
6047 if test x
${GTK_CONFIG+set} != xset
; then
6048 GTK_CONFIG
=$gtk_config_prefix/bin
/gtk
-config
6052 # Extract the first word of "gtk-config", so it can be a program name with args.
6053 set dummy gtk
-config; ac_word
=$2
6054 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
6055 echo "configure:6056: checking for $ac_word" >&5
6056 if eval "test \"`echo '$''{'ac_cv_path_GTK_CONFIG'+set}'`\" = set"; then
6057 echo $ac_n "(cached) $ac_c" 1>&6
6059 case "$GTK_CONFIG" in
6061 ac_cv_path_GTK_CONFIG
="$GTK_CONFIG" # Let the user override the test with a path.
6064 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
="${IFS}:"
6065 for ac_dir
in $PATH; do
6066 test -z "$ac_dir" && ac_dir
=.
6067 if test -f $ac_dir/$ac_word; then
6068 ac_cv_path_GTK_CONFIG
="$ac_dir/$ac_word"
6073 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG
="no"
6077 GTK_CONFIG
="$ac_cv_path_GTK_CONFIG"
6078 if test -n "$GTK_CONFIG"; then
6079 echo "$ac_t""$GTK_CONFIG" 1>&6
6081 echo "$ac_t""no" 1>&6
6084 min_gtk_version
=0.99.7
6085 echo $ac_n "checking for GTK - version >= $min_gtk_version""... $ac_c" 1>&6
6086 echo "configure:6087: checking for GTK - version >= $min_gtk_version" >&5
6088 if test "$GTK_CONFIG" != "no" ; then
6089 GTK_CFLAGS
=`$GTK_CONFIG --cflags`
6090 GTK_LIBS
=`$GTK_CONFIG --libs`
6091 ac_save_CFLAGS
="$CFLAGS"
6092 ac_save_LIBS
="$LIBS"
6093 CFLAGS
="$CFLAGS $GTK_CFLAGS"
6094 LIBS
="$LIBS $GTK_LIBS"
6095 if test "$cross_compiling" = yes; then
6096 echo $ac_n "cross compiling; assumed OK... $ac_c"
6098 cat > conftest.
$ac_ext <<EOF
6099 #line 6100 "configure"
6100 #include "confdefs.h"
6102 #include <gtk/gtk.h>
6108 int major, minor, micro;
6110 if (sscanf("$min_gtk_version", "%d.%d.%d", &major, &minor, µ) != 3) {
6111 printf("%s, bad version string\n", "$min_gtk_version");
6115 return !((gtk_major_version > major) ||
6116 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
6117 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)));
6121 if { (eval echo configure
:6122: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
&& (.
/conftest
; exit) 2>/dev
/null
6125 echo "configure: failed program was:" >&5
6126 cat conftest.
$ac_ext >&5
6133 CFLAGS
="$ac_save_CFLAGS"
6134 LIBS
="$ac_save_LIBS"
6138 if test "x$no_gtk" = x
; then
6139 echo "$ac_t""yes" 1>&6
6141 GUI_TK_INCLUDE
="$GTK_CFLAGS"
6142 GUI_TK_LIBRARY
="$GTK_LIBS"
6145 echo "$ac_t""no" 1>&6
6148 { echo "configure: error: Are gtk-config and the GTK in path and up-to-date?" 1>&2; exit 1; }
6153 cat >> confdefs.h
<<\EOF
6170 if test "$USE_OPENGL" = 1; then
6171 echo $ac_n "checking for OpenGL includes""... $ac_c" 1>&6
6172 echo "configure:6173: checking for OpenGL includes" >&5
6175 for ac_dir
in $SEARCH_INCLUDE;
6177 if test -f "$ac_dir/GL/gl.h"; then
6178 ac_find_includes
=$ac_dir
6183 if test "$ac_find_includes" != "" ; then
6184 OPENGL_INCLUDE
="-I$ac_find_includes"
6185 echo "$ac_t""found $ac_find_includes" 1>&6
6186 echo $ac_n "checking for OpenGL library""... $ac_c" 1>&6
6187 echo "configure:6188: checking for OpenGL library" >&5
6190 for ac_dir
in $SEARCH_LIB;
6192 for ac_extension
in a so sl
; do
6193 if test -f "$ac_dir/libGL.$ac_extension"; then
6194 ac_find_libraries
=$ac_dir
6200 if test "$ac_find_libraries" != "" ; then
6202 ac_path_to_include
=$ac_find_includes
6203 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6205 if test $result = 0; then
6206 ac_path_to_include
=""
6208 ac_path_to_include
="-I$ac_find_includes"
6212 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6214 if test $result = 0; then
6217 ac_path_to_link
="-L$ac_find_libraries"
6220 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6221 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6222 OPENGL_LIBRARY
="$ac_path_to_link"
6223 OPENGL_INCLUDE
="$ac_path_to_include"
6225 echo "$ac_t""found OpenGL at $ac_find_libraries" 1>&6
6229 for ac_dir
in $SEARCH_LIB;
6231 for ac_extension
in a so sl
; do
6232 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
6233 ac_find_libraries
=$ac_dir
6239 if test "$ac_find_libraries" != "" ; then
6241 ac_path_to_include
=$ac_find_includes
6242 echo "$CHECK_INCLUDE" | grep "\-I$ac_find_includes" > /dev
/null
6244 if test $result = 0; then
6245 ac_path_to_include
=""
6247 ac_path_to_include
="-I$ac_find_includes"
6251 echo "$CHECK_LIB" | grep "\-L$ac_find_libraries" > /dev
/null
6253 if test $result = 0; then
6256 ac_path_to_link
="-L$ac_find_libraries"
6259 CHECK_LINK
="$CHECK_INCLUDE $ac_path_to_link"
6260 CHECK_INCLUDE
="$CHECK_INCLUDE $ac_path_to_include"
6261 OPENGL_LIBRARY
="$ac_path_to_link"
6262 OPENGL_INCLUDE
="$ac_path_to_include"
6263 OPENGL_LINK
="-lMesaGL"
6264 echo "$ac_t""found MESA at $ac_find_libraries" 1>&6
6266 { echo "configure: error: no" 1>&2; exit 1; }
6270 { echo "configure: error: no" 1>&2; exit 1; }
6274 if test "$USE_GDK_IMLIB" = 1; then
6275 cat >> confdefs.h
<<EOF
6276 #define USE_GDK_IMLIB $USE_GDK_IMLIB
6281 if test "$USE_ZLIB" = 1; then
6282 cat >> confdefs.h
<<EOF
6283 #define USE_ZLIB $USE_ZLIB
6288 if test "$USE_LIBPNG" = 1; then
6289 cat >> confdefs.h
<<EOF
6290 #define USE_LIBPNG $USE_LIBPNG
6295 if test "$USE_ODBC" = 1; then
6296 cat >> confdefs.h
<<EOF
6297 #define USE_ODBC $USE_ODBC
6305 if test "$USE_OPENGL" != 1; then
6312 cat >> confdefs.h
<<EOF
6313 #define USE_GLX $USE_GLX
6324 case "${canonical}" in
6327 if test "${CC}" != "gcc" ; then
6328 CXXFLAGS
="${CXXFLAGS} +a1 -z -Aa -D_HPUX_SOURCE"
6329 CFLAGS
="${CFLAGS} -z -D_HPUX_SOURCE"
6335 CREATE_SHARED
=sharedHpux
6340 CREATE_SHARED
=sharedLinux
6343 *-*-irix5* | *-*-irix6* )
6344 # PICFLAGS can remain empty, as pic is the default
6346 CREATE_SHARED
=sharedIrix
6347 cat >> confdefs.h
<<\EOF
6354 if test "${CC}" != "gcc" ; then
6359 CREATE_SHARED
=sharedSolaris2
6360 cat >> confdefs.h
<<\EOF
6367 if test "${CC}" != "gcc" ; then
6373 CREATE_SHARED
=sharedSunos4
6374 cat >> confdefs.h
<<\EOF
6380 *-*-freebsd* | *-*-netbsd*)
6382 CREATE_SHARED
=sharedBsd
6383 cat >> confdefs.h
<<\EOF
6391 CREATE_SHARED
=sharedOSF
6395 if test "${CC}" != "gcc" ; then
6400 CREATE_SHARED
=sharedDgux
6401 cat >> confdefs.h
<<\EOF
6408 if test "${CC}" != "gcc" ; then
6413 CREATE_SHARED
=sharedSysV
6414 cat >> confdefs.h
<<\EOF
6421 if test "${CC}" != "gcc" ; then
6426 CREATE_SHARED
=sharedAIX
6427 cat >> confdefs.h
<<\EOF
6438 if test "x$GCC" = xyes
; then
6439 CFLAGS
="${CFLAGS} -Wall"
6442 if test "x$GXX" = xyes
; then
6443 CXXFLAGS
="${CXXFLAGS} -Wall"
6446 if test "$USE_SHARED" != 1; then
6456 echo $OS >> system.list
6457 echo $OS >> ..
/..
/system.list
6461 cat > confcache
<<\EOF
6462 # This file is a shell script that caches the results of configure
6463 # tests run on this system so they can be shared between configure
6464 # scripts and configure runs. It is not useful on other systems.
6465 # If it contains results you don't want to keep, you may remove or edit it.
6467 # By default, configure uses ./config.cache as the cache file,
6468 # creating it if it does not exist already. You can give configure
6469 # the --cache-file=FILE option to use a different cache file; that is
6470 # what configure does when it calls configure scripts in
6471 # subdirectories, so they share the cache.
6472 # Giving --cache-file=/dev/null disables caching, for debugging configure.
6473 # config.status only pays attention to the cache file if you give it the
6474 # --recheck option to rerun configure.
6477 # The following way of writing the cache mishandles newlines in values,
6478 # but we know of no workaround that is simple, portable, and efficient.
6479 # So, don't put newlines in cache variables' values.
6480 # Ultrix sh set writes to stderr and can't be redirected directly,
6481 # and sets the high bit in the cache file unless we assign to the vars.
6483 case `(ac_space=' '; set) 2>&1` in
6485 # `set' does not quote correctly, so add quotes (double-quote substitution
6486 # turns \\\\ into \\, and sed turns \\ into \).
6488 -e "s/'/'\\\\''/g" \
6489 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
6492 # `set' quotes correctly as required by POSIX, so do not add quotes.
6493 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
6496 if cmp -s $cache_file confcache
; then
6499 if test -w $cache_file; then
6500 echo "updating cache $cache_file"
6501 cat confcache
> $cache_file
6503 echo "not updating unwritable cache $cache_file"
6508 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
6510 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
6511 # Let make expand exec_prefix.
6512 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
6514 # Any assignment to VPATH causes Sun make to only execute
6515 # the first set of double-colon rules, so remove it if not needed.
6516 # If there is a colon in the path, we need to keep it.
6517 if test "x$srcdir" = x.
; then
6518 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
6521 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
6523 DEFS
=-DHAVE_CONFIG_H
6525 # Without the "./", some shells look in PATH for config.status.
6526 : ${CONFIG_STATUS=./config.status}
6528 echo creating
$CONFIG_STATUS
6529 rm -f $CONFIG_STATUS
6530 cat > $CONFIG_STATUS <<EOF
6532 # Generated automatically by configure.
6533 # Run this file to recreate the current configuration.
6534 # This directory was configured as follows,
6535 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
6537 # $0 $ac_configure_args
6539 # Compiler output produced by configure, useful for debugging
6540 # configure, is in ./config.log if it exists.
6542 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
6545 case "\$ac_option" in
6546 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6547 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
6548 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
6549 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
6550 echo "$CONFIG_STATUS generated by autoconf version 2.12"
6552 -help | --help | --hel | --he | --h)
6553 echo "\$ac_cs_usage"; exit 0 ;;
6554 *) echo "\$ac_cs_usage"; exit 1 ;;
6558 ac_given_srcdir=$srcdir
6559 ac_given_INSTALL="$INSTALL"
6561 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
6563 cat >> $CONFIG_STATUS <<EOF
6565 # Protect against being on the right side of a sed subst in config.status.
6566 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
6567 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
6570 s%@CFLAGS@%$CFLAGS%g
6571 s%@CPPFLAGS@%$CPPFLAGS%g
6572 s%@CXXFLAGS@%$CXXFLAGS%g
6574 s%@LDFLAGS@%$LDFLAGS%g
6576 s%@exec_prefix@%$exec_prefix%g
6577 s%@prefix@%$prefix%g
6578 s%@program_transform_name@%$program_transform_name%g
6579 s%@bindir@%$bindir%g
6580 s%@sbindir@%$sbindir%g
6581 s%@libexecdir@%$libexecdir%g
6582 s%@datadir@%$datadir%g
6583 s%@sysconfdir@%$sysconfdir%g
6584 s%@sharedstatedir@%$sharedstatedir%g
6585 s%@localstatedir@%$localstatedir%g
6586 s%@libdir@%$libdir%g
6587 s%@includedir@%$includedir%g
6588 s%@oldincludedir@%$oldincludedir%g
6589 s%@infodir@%$infodir%g
6590 s%@mandir@%$mandir%g
6591 s%@WXBASEDIR@%$WXBASEDIR%g
6595 s%@CXXCPP@%$CXXCPP%g
6596 s%@RANLIB@%$RANLIB%g
6598 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
6599 s%@INSTALL_DATA@%$INSTALL_DATA%g
6602 s%@X_CFLAGS@%$X_CFLAGS%g
6603 s%@X_PRE_LIBS@%$X_PRE_LIBS%g
6604 s%@X_LIBS@%$X_LIBS%g
6605 s%@X_EXTRA_LIBS@%$X_EXTRA_LIBS%g
6606 s%@GTK_JOYSTICK@%$GTK_JOYSTICK%g
6607 s%@LIBOBJS@%$LIBOBJS%g
6608 s%@UNIX_THREAD@%$UNIX_THREAD%g
6609 s%@THREADS_LINK@%$THREADS_LINK%g
6612 s%@LEXLIB@%$LEXLIB%g
6613 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
6615 s%@host_alias@%$host_alias%g
6616 s%@host_cpu@%$host_cpu%g
6617 s%@host_vendor@%$host_vendor%g
6618 s%@host_os@%$host_os%g
6619 s%@WXDEBUG@%$WXDEBUG%g
6620 s%@WXDEBUG_DEFINE@%$WXDEBUG_DEFINE%g
6621 s%@PROFILE@%$PROFILE%g
6622 s%@OPTIMISE@%$OPTIMISE%g
6624 s%@WXRESOURCES@%$WXRESOURCES%g
6625 s%@PROLOGIO@%$PROLOGIO%g
6626 s%@PROLOGIOSRC@%$PROLOGIOSRC%g
6627 s%@POSTSCRIPTDC@%$POSTSCRIPTDC%g
6628 s%@METAFILE@%$METAFILE%g
6632 s%@ENHDIALOGBOX@%$ENHDIALOGBOX%g
6633 s%@XRESOURCES@%$XRESOURCES%g
6634 s%@CLIPBOARD@%$CLIPBOARD%g
6635 s%@CONSTRAINTS@%$CONSTRAINTS%g
6636 s%@TIMEDATE@%$TIMEDATE%g
6637 s%@FRACTION@%$FRACTION%g
6638 s%@TOOLBAR@%$TOOLBAR%g
6640 s%@VIRLISTBOX@%$VIRLISTBOX%g
6641 s%@SCROLLBAR@%$SCROLLBAR%g
6642 s%@DOCVIEW@%$DOCVIEW%g
6643 s%@PRINTPREVIEW@%$PRINTPREVIEW%g
6644 s%@TYPETREE@%$TYPETREE%g
6645 s%@WXGRAPH@%$WXGRAPH%g
6646 s%@WXTREE@%$WXTREE%g
6647 s%@GTK_CONFIG@%$GTK_CONFIG%g
6648 s%@GTK_CFLAGS@%$GTK_CFLAGS%g
6649 s%@GTK_LIBS@%$GTK_LIBS%g
6650 s%@GUI_TK_INCLUDE@%$GUI_TK_INCLUDE%g
6651 s%@GUI_TK_LIBRARY@%$GUI_TK_LIBRARY%g
6652 s%@GUI_TK_LINK@%$GUI_TK_LINK%g
6653 s%@TOOLKIT@%$TOOLKIT%g
6654 s%@TOOLKIT_DEF@%$TOOLKIT_DEF%g
6655 s%@OPENGL_INCLUDE@%$OPENGL_INCLUDE%g
6656 s%@OPENGL_LIBRARY@%$OPENGL_LIBRARY%g
6657 s%@OPENGL_LINK@%$OPENGL_LINK%g
6658 s%@GLCANVAS@%$GLCANVAS%g
6660 s%@PICFLAGS@%$PICFLAGS%g
6661 s%@CREATE_SHARED@%$CREATE_SHARED%g
6666 cat >> $CONFIG_STATUS <<\EOF
6668 # Split the substitutions into bite-sized pieces for seds with
6669 # small command number limits, like on Digital OSF/1 and HP-UX.
6670 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
6671 ac_file
=1 # Number of current file.
6672 ac_beg
=1 # First line for current file.
6673 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
6676 while $ac_more_lines; do
6677 if test $ac_beg -gt 1; then
6678 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
6680 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
6682 if test ! -s conftest.s
$ac_file; then
6684 rm -f conftest.s
$ac_file
6686 if test -z "$ac_sed_cmds"; then
6687 ac_sed_cmds
="sed -f conftest.s$ac_file"
6689 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
6691 ac_file
=`expr $ac_file + 1`
6693 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
6696 if test -z "$ac_sed_cmds"; then
6701 cat >> $CONFIG_STATUS <<EOF
6703 CONFIG_FILES=\${CONFIG_FILES-"../../src/gtk/setup/substit"}
6705 cat >> $CONFIG_STATUS <<\EOF
6706 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
6707 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6709 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
6710 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
6711 *) ac_file_in
="${ac_file}.in" ;;
6714 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
6716 # Remove last slash and all that follows it. Not all systems have dirname.
6717 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
6718 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
6719 # The file is in a subdirectory.
6720 test ! -d "$ac_dir" && mkdir "$ac_dir"
6721 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
6722 # A "../" for each directory in $ac_dir_suffix.
6723 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
6725 ac_dir_suffix
= ac_dots
=
6728 case "$ac_given_srcdir" in
6730 if test -z "$ac_dots"; then top_srcdir
=.
6731 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
6732 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
6734 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
6735 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
6738 case "$ac_given_INSTALL" in
6739 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
6740 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
6743 echo creating
"$ac_file"
6745 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
6747 *Makefile
*) ac_comsub
="1i\\
6748 # $configure_input" ;;
6752 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
6754 s%@configure_input@%$configure_input%g
6755 s%@srcdir@%$srcdir%g
6756 s%@top_srcdir@%$top_srcdir%g
6757 s%@INSTALL@%$INSTALL%g
6758 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
6762 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6763 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6765 # ac_d sets the value in "#define NAME VALUE" lines.
6766 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6767 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
6770 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
6771 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6772 ac_uB
='\([ ]\)%\1#\2define\3'
6775 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6776 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6777 ac_eB
='$%\1#\2define\3'
6781 if test "${CONFIG_HEADERS+set}" != set; then
6783 cat >> $CONFIG_STATUS <<EOF
6784 CONFIG_HEADERS="../../include/wx/gtk/setup.h:../../src/gtk/setup/setup.hin"
6786 cat >> $CONFIG_STATUS <<\EOF
6788 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
6789 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6791 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
6792 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
6793 *) ac_file_in
="${ac_file}.in" ;;
6796 echo creating
$ac_file
6798 rm -f conftest.frag conftest.
in conftest.out
6799 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
6800 cat $ac_file_inputs > conftest.
in
6804 # Transform confdefs.h into a sed script conftest.vals that substitutes
6805 # the proper values into config.h.in to produce config.h. And first:
6806 # Protect against being on the right side of a sed subst in config.status.
6807 # Protect against being in an unquoted here document in config.status.
6809 cat > conftest.hdr
<<\EOF
6812 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
6816 sed -n -f conftest.hdr confdefs.h > conftest.vals
6819 # This sed command replaces #undef with comments. This is necessary, for
6820 # example, in the case of _POSIX_SOURCE, which is predefined and required
6821 # on some systems where configure will not decide to define it.
6822 cat >> conftest.vals <<\EOF
6823 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
6826 # Break up conftest.vals because some shells have a limit on
6827 # the size of here documents, and old seds have small limits too.
6832 ac_lines=`grep -c . conftest.vals
`
6833 # grep -c gives empty output for an empty file on some AIX systems.
6834 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
6835 # Write a limited-size here document to conftest.frag.
6836 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
6837 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
6839 sed -f conftest.frag conftest.in > conftest.out
6841 mv conftest.out conftest.in
6843 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
6845 mv conftest.tail conftest.vals
6849 cat >> $CONFIG_STATUS <<\EOF
6850 rm -f conftest.frag conftest.h
6851 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
6852 cat conftest.in >> conftest.h
6854 if cmp -s $ac_file conftest.h 2>/dev/null; then
6855 echo "$ac_file is unchanged"
6858 # Remove last slash and all that follows it. Not all systems have dirname.
6859 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
6860 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
6861 # The file is in a subdirectory.
6862 test ! -d "$ac_dir" && mkdir "$ac_dir"
6865 mv conftest.h $ac_file
6870 cat >> $CONFIG_STATUS <<EOF
6873 cat >> $CONFIG_STATUS <<\EOF
6877 chmod +x $CONFIG_STATUS
6878 rm -fr confdefs* $ac_clean_files
6879 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
6882 mv ${OSTYPE}.system.cache.tmp ${OSTYPE}.system.cache