3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
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 --enable-html-doc build HTML documentation [default=yes]"
17 --enable-ps-doc build PostScript documentation [default=yes]"
19 --with-cint build GiNaC-cint C++ interpreter [default=no]"
21 --enable-maintainer-mode enable make rules and dependencies not useful
22 (and sometimes confusing) to the casual installer"
24 --enable-shared[=PKGS] build shared libraries [default=yes]"
26 --enable-static[=PKGS] build static libraries [default=yes]"
28 --enable-fast-install[=PKGS] optimize for fast installation [default=yes]"
30 --with-gnu-ld assume the C compiler uses GNU ld [default=no]"
32 --disable-libtool-lock avoid locking (might break parallel builds)"
34 # Initialize some variables set by options.
35 # The variables have the same names as the options, with
36 # dashes changed to underlines.
38 cache_file=./config.cache
47 program_transform_name=s,x,x,
55 bindir='${exec_prefix}/bin'
56 sbindir='${exec_prefix}/sbin'
57 libexecdir='${exec_prefix}/libexec'
58 datadir='${prefix}/share'
59 sysconfdir='${prefix}/etc'
60 sharedstatedir='${prefix}/com'
61 localstatedir='${prefix}/var'
62 libdir='${exec_prefix}/lib'
63 includedir='${prefix}/include'
64 oldincludedir='/usr/include'
65 infodir='${prefix}/info'
66 mandir='${prefix}/man'
68 # Initialize some other variables.
71 SHELL=${CONFIG_SHELL-/bin/sh}
72 # Maximum number of lines to put in a shell here document.
79 # If the previous option needs an argument, assign it.
80 if test -n "$ac_prev"; then
81 eval "$ac_prev=\$ac_option"
87 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
91 # Accept the important Cygnus configure options, so we can diagnose typos.
95 -bindir | --bindir | --bindi | --bind | --bin | --bi)
97 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
98 bindir="$ac_optarg" ;;
100 -build | --build | --buil | --bui | --bu)
102 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
103 build="$ac_optarg" ;;
105 -cache-file | --cache-file | --cache-fil | --cache-fi \
106 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
107 ac_prev=cache_file ;;
108 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
109 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
110 cache_file="$ac_optarg" ;;
112 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
114 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
116 datadir="$ac_optarg" ;;
118 -disable-* | --disable-*)
119 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
120 # Reject names that are not valid shell variable names.
121 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
122 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
124 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
125 eval "enable_${ac_feature}=no" ;;
127 -enable-* | --enable-*)
128 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
129 # Reject names that are not valid shell variable names.
130 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
131 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
133 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
138 eval "enable_${ac_feature}='$ac_optarg'" ;;
140 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
141 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
142 | --exec | --exe | --ex)
143 ac_prev=exec_prefix ;;
144 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
145 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
146 | --exec=* | --exe=* | --ex=*)
147 exec_prefix="$ac_optarg" ;;
149 -gas | --gas | --ga | --g)
150 # Obsolete; use --with-gas.
153 -help | --help | --hel | --he)
154 # Omit some internal or obsolete options to make the list less imposing.
155 # This message is too long to be a string in the A/UX 3.1 sh.
157 Usage: configure [options] [host]
158 Options: [defaults in brackets after descriptions]
160 --cache-file=FILE cache test results in FILE
161 --help print this message
162 --no-create do not create output files
163 --quiet, --silent do not print \`checking...' messages
164 --version print the version of autoconf that created configure
165 Directory and file names:
166 --prefix=PREFIX install architecture-independent files in PREFIX
168 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
170 --bindir=DIR user executables in DIR [EPREFIX/bin]
171 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
172 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
173 --datadir=DIR read-only architecture-independent data in DIR
175 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
176 --sharedstatedir=DIR modifiable architecture-independent data in DIR
178 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
179 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
180 --includedir=DIR C header files in DIR [PREFIX/include]
181 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
182 --infodir=DIR info documentation in DIR [PREFIX/info]
183 --mandir=DIR man documentation in DIR [PREFIX/man]
184 --srcdir=DIR find the sources in DIR [configure dir or ..]
185 --program-prefix=PREFIX prepend PREFIX to installed program names
186 --program-suffix=SUFFIX append SUFFIX to installed program names
187 --program-transform-name=PROGRAM
188 run sed PROGRAM on installed program names
192 --build=BUILD configure for building on BUILD [BUILD=HOST]
193 --host=HOST configure for HOST [guessed]
194 --target=TARGET configure for TARGET [TARGET=HOST]
195 Features and packages:
196 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
197 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
198 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
199 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
200 --x-includes=DIR X include files are in DIR
201 --x-libraries=DIR X library files are in DIR
203 if test -n "$ac_help"; then
204 echo "--enable and --with options recognized:$ac_help"
208 -host | --host | --hos | --ho)
210 -host=* | --host=* | --hos=* | --ho=*)
213 -includedir | --includedir | --includedi | --included | --include \
214 | --includ | --inclu | --incl | --inc)
215 ac_prev=includedir ;;
216 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
217 | --includ=* | --inclu=* | --incl=* | --inc=*)
218 includedir="$ac_optarg" ;;
220 -infodir | --infodir | --infodi | --infod | --info | --inf)
222 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
223 infodir="$ac_optarg" ;;
225 -libdir | --libdir | --libdi | --libd)
227 -libdir=* | --libdir=* | --libdi=* | --libd=*)
228 libdir="$ac_optarg" ;;
230 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
231 | --libexe | --libex | --libe)
232 ac_prev=libexecdir ;;
233 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
234 | --libexe=* | --libex=* | --libe=*)
235 libexecdir="$ac_optarg" ;;
237 -localstatedir | --localstatedir | --localstatedi | --localstated \
238 | --localstate | --localstat | --localsta | --localst \
239 | --locals | --local | --loca | --loc | --lo)
240 ac_prev=localstatedir ;;
241 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
242 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
243 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
244 localstatedir="$ac_optarg" ;;
246 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
248 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
249 mandir="$ac_optarg" ;;
252 # Obsolete; use --without-fp.
255 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
259 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
260 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
263 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
264 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
265 | --oldin | --oldi | --old | --ol | --o)
266 ac_prev=oldincludedir ;;
267 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
268 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
269 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
270 oldincludedir="$ac_optarg" ;;
272 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
274 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
275 prefix="$ac_optarg" ;;
277 -program-prefix | --program-prefix | --program-prefi | --program-pref \
278 | --program-pre | --program-pr | --program-p)
279 ac_prev=program_prefix ;;
280 -program-prefix=* | --program-prefix=* | --program-prefi=* \
281 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
282 program_prefix="$ac_optarg" ;;
284 -program-suffix | --program-suffix | --program-suffi | --program-suff \
285 | --program-suf | --program-su | --program-s)
286 ac_prev=program_suffix ;;
287 -program-suffix=* | --program-suffix=* | --program-suffi=* \
288 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
289 program_suffix="$ac_optarg" ;;
291 -program-transform-name | --program-transform-name \
292 | --program-transform-nam | --program-transform-na \
293 | --program-transform-n | --program-transform- \
294 | --program-transform | --program-transfor \
295 | --program-transfo | --program-transf \
296 | --program-trans | --program-tran \
297 | --progr-tra | --program-tr | --program-t)
298 ac_prev=program_transform_name ;;
299 -program-transform-name=* | --program-transform-name=* \
300 | --program-transform-nam=* | --program-transform-na=* \
301 | --program-transform-n=* | --program-transform-=* \
302 | --program-transform=* | --program-transfor=* \
303 | --program-transfo=* | --program-transf=* \
304 | --program-trans=* | --program-tran=* \
305 | --progr-tra=* | --program-tr=* | --program-t=*)
306 program_transform_name="$ac_optarg" ;;
308 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
309 | -silent | --silent | --silen | --sile | --sil)
312 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
314 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
316 sbindir="$ac_optarg" ;;
318 -sharedstatedir | --sharedstatedir | --sharedstatedi \
319 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
320 | --sharedst | --shareds | --shared | --share | --shar \
322 ac_prev=sharedstatedir ;;
323 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
324 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
325 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
327 sharedstatedir="$ac_optarg" ;;
329 -site | --site | --sit)
331 -site=* | --site=* | --sit=*)
334 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
336 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
337 srcdir="$ac_optarg" ;;
339 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
340 | --syscon | --sysco | --sysc | --sys | --sy)
341 ac_prev=sysconfdir ;;
342 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
343 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
344 sysconfdir="$ac_optarg" ;;
346 -target | --target | --targe | --targ | --tar | --ta | --t)
348 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
349 target="$ac_optarg" ;;
351 -v | -verbose | --verbose | --verbos | --verbo | --verb)
354 -version | --version | --versio | --versi | --vers)
355 echo "configure generated by autoconf version 2.13"
359 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
360 # Reject names that are not valid shell variable names.
361 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
362 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
364 ac_package=`echo $ac_package| sed 's/-/_/g'`
369 eval "with_${ac_package}='$ac_optarg'" ;;
371 -without-* | --without-*)
372 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
373 # Reject names that are not valid shell variable names.
374 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
375 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
377 ac_package=`echo $ac_package| sed 's/-/_/g'`
378 eval "with_${ac_package}=no" ;;
381 # Obsolete; use --with-x.
384 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
385 | --x-incl | --x-inc | --x-in | --x-i)
386 ac_prev=x_includes ;;
387 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
388 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
389 x_includes="$ac_optarg" ;;
391 -x-libraries | --x-libraries | --x-librarie | --x-librari \
392 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
393 ac_prev=x_libraries ;;
394 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
395 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
396 x_libraries="$ac_optarg" ;;
398 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
402 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
403 echo "configure: warning: $ac_option: invalid host type" 1>&2
405 if test "x$nonopt" != xNONE; then
406 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
414 if test -n "$ac_prev"; then
415 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
418 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
420 # File descriptor usage:
423 # 2 errors and warnings
424 # 3 some systems may open it to /dev/tty
425 # 4 used on the Kubota Titan
426 # 6 checking for... messages and results
427 # 5 compiler messages saved in config.log
428 if test "$silent" = yes; then
436 This file contains any messages produced by compilers while
437 running configure, to aid debugging if configure makes a mistake.
440 # Strip out --no-create and --no-recursion so they do not pile up.
441 # Also quote any args containing shell metacharacters.
446 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
447 | --no-cr | --no-c) ;;
448 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
449 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
450 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
451 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
452 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
457 # Only set these to C if already set. These must not be set unconditionally
458 # because not all systems understand e.g. LANG=C (notably SCO).
459 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
460 # Non-C LC_CTYPE values break the ctype check.
461 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
462 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
463 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
464 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
466 # confdefs.h avoids OS command line length limits that DEFS can exceed.
467 rm -rf conftest* confdefs.h
468 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
471 # A filename unique to this package, relative to the directory that
472 # configure is in, which we can look for to find out if srcdir is correct.
473 ac_unique_file=ginac/basic.cpp
475 # Find the source files, if location was not specified.
476 if test -z "$srcdir"; then
477 ac_srcdir_defaulted=yes
478 # Try the directory containing this script, then its parent.
480 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
481 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
483 if test ! -r $srcdir/$ac_unique_file; then
487 ac_srcdir_defaulted=no
489 if test ! -r $srcdir/$ac_unique_file; then
490 if test "$ac_srcdir_defaulted" = yes; then
491 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
493 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
496 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
498 # Prefer explicitly selected file to automatically selected ones.
499 if test -z "$CONFIG_SITE"; then
500 if test "x$prefix" != xNONE; then
501 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
503 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
506 for ac_site_file in $CONFIG_SITE; do
507 if test -r "$ac_site_file"; then
508 echo "loading site script $ac_site_file"
513 if test -r "$cache_file"; then
514 echo "loading cache $cache_file"
517 echo "creating cache $cache_file"
522 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
523 ac_cpp='$CPP $CPPFLAGS'
524 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
525 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
526 cross_compiling=$ac_cv_prog_cc_cross
530 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
531 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
532 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
539 ac_n= ac_c='\c' ac_t=
545 # Check whether --enable-html-doc or --disable-html-doc was given.
546 if test "${enable_html_doc+set}" = set; then
547 enableval="$enable_html_doc"
553 # Check whether --enable-ps-doc or --disable-ps-doc was given.
554 if test "${enable_ps_doc+set}" = set; then
555 enableval="$enable_ps_doc"
561 # Check whether --with-cint or --without-cint was given.
562 if test "${with_cint+set}" = set; then
569 GINACLIB_MAJOR_VERSION=0
570 GINACLIB_MINOR_VERSION=4
571 GINACLIB_MICRO_VERSION=1
572 GINACLIB_INTERFACE_AGE=0
573 GINACLIB_BINARY_AGE=1
574 GINACLIB_VERSION=$GINACLIB_MAJOR_VERSION.$GINACLIB_MINOR_VERSION.$GINACLIB_MICRO_VERSION
589 cat >> confdefs.h <<EOF
590 #define ARCHIVE_VERSION $ARCHIVE_VERSION
593 cat >> confdefs.h <<EOF
594 #define ARCHIVE_AGE $ARCHIVE_AGE
598 LT_RELEASE=$GINACLIB_MAJOR_VERSION.$GINACLIB_MINOR_VERSION
599 LT_CURRENT=`expr $GINACLIB_MICRO_VERSION - $GINACLIB_INTERFACE_AGE`
600 LT_REVISION=$GINACLIB_INTERFACE_AGE
601 LT_AGE=`expr $GINACLIB_BINARY_AGE - $GINACLIB_INTERFACE_AGE`
612 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
613 if test -f $ac_dir/install-sh; then
615 ac_install_sh="$ac_aux_dir/install-sh -c"
617 elif test -f $ac_dir/install.sh; then
619 ac_install_sh="$ac_aux_dir/install.sh -c"
623 if test -z "$ac_aux_dir"; then
624 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; }
626 ac_config_guess=$ac_aux_dir/config.guess
627 ac_config_sub=$ac_aux_dir/config.sub
628 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
630 # Find a good install program. We prefer a C program (faster),
631 # so one script is as good as another. But avoid the broken or
632 # incompatible versions:
633 # SysV /etc/install, /usr/sbin/install
634 # SunOS /usr/etc/install
637 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
638 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
639 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
640 # ./install, which can be erroneously created by make from ./install.sh.
641 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
642 echo "configure:643: checking for a BSD compatible install" >&5
643 if test -z "$INSTALL"; then
644 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
645 echo $ac_n "(cached) $ac_c" 1>&6
647 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
648 for ac_dir in $PATH; do
649 # Account for people who put trailing slashes in PATH elements.
651 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
653 # OSF1 and SCO ODT 3.0 have their own names for install.
654 # Don't use installbsd from OSF since it installs stuff as root
656 for ac_prog in ginstall scoinst install; do
657 if test -f $ac_dir/$ac_prog; then
658 if test $ac_prog = install &&
659 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
660 # AIX install. It has an incompatible calling convention.
663 ac_cv_path_install="$ac_dir/$ac_prog -c"
674 if test "${ac_cv_path_install+set}" = set; then
675 INSTALL="$ac_cv_path_install"
677 # As a last resort, use the slow shell script. We don't cache a
678 # path for INSTALL within a source directory, because that will
679 # break other packages using the cache if that directory is
680 # removed, or if the path is relative.
681 INSTALL="$ac_install_sh"
684 echo "$ac_t""$INSTALL" 1>&6
686 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
687 # It thinks the first close brace ends the variable substitution.
688 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
690 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
692 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
694 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
695 echo "configure:696: checking whether build environment is sane" >&5
698 echo timestamp > conftestfile
699 # Do `set' in a subshell so we don't clobber the current shell's
700 # arguments. Must try -L first in case configure is actually a
701 # symlink; some systems play weird games with the mod time of symlinks
702 # (eg FreeBSD returns the mod time of the symlink's containing
705 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
706 if test "$*" = "X"; then
708 set X `ls -t $srcdir/configure conftestfile`
710 if test "$*" != "X $srcdir/configure conftestfile" \
711 && test "$*" != "X conftestfile $srcdir/configure"; then
713 # If neither matched, then we have a broken ls. This can happen
714 # if, for instance, CONFIG_SHELL is bash and it inherits a
715 # broken ls alias from the environment. This has actually
716 # happened. Such a system could not be considered "sane".
717 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
718 alias in your environment" 1>&2; exit 1; }
721 test "$2" = conftestfile
727 { echo "configure: error: newly created file is older than distributed files!
728 Check your system clock" 1>&2; exit 1; }
731 echo "$ac_t""yes" 1>&6
732 if test "$program_transform_name" = s,x,x,; then
733 program_transform_name=
735 # Double any \ or $. echo might interpret backslashes.
736 cat <<\EOF_SED > conftestsed
737 s,\\,\\\\,g; s,\$,$$,g
739 program_transform_name="`echo $program_transform_name|sed -f conftestsed`"
742 test "$program_prefix" != NONE &&
743 program_transform_name="s,^,${program_prefix},; $program_transform_name"
744 # Use a double $ so make ignores it.
745 test "$program_suffix" != NONE &&
746 program_transform_name="s,\$\$,${program_suffix},; $program_transform_name"
748 # sed with no file args requires a program.
749 test "$program_transform_name" = "" && program_transform_name="s,x,x,"
751 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
752 echo "configure:753: checking whether ${MAKE-make} sets \${MAKE}" >&5
753 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'`
754 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
755 echo $ac_n "(cached) $ac_c" 1>&6
757 cat > conftestmake <<\EOF
759 @echo 'ac_maketemp="${MAKE}"'
761 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
762 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
763 if test -n "$ac_maketemp"; then
764 eval ac_cv_prog_make_${ac_make}_set=yes
766 eval ac_cv_prog_make_${ac_make}_set=no
770 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
771 echo "$ac_t""yes" 1>&6
774 echo "$ac_t""no" 1>&6
775 SET_MAKE="MAKE=${MAKE-make}"
781 VERSION=$GINACLIB_VERSION
783 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
784 { echo "configure: error: source directory already configured; run "make distclean" there first" 1>&2; exit 1; }
786 cat >> confdefs.h <<EOF
787 #define PACKAGE "$PACKAGE"
790 cat >> confdefs.h <<EOF
791 #define VERSION "$VERSION"
796 missing_dir=`cd $ac_aux_dir && pwd`
797 echo $ac_n "checking for working aclocal""... $ac_c" 1>&6
798 echo "configure:799: checking for working aclocal" >&5
799 # Run test in a subshell; some versions of sh will print an error if
800 # an executable is not found, even if stderr is redirected.
801 # Redirect stdin to placate older versions of autoconf. Sigh.
802 if (aclocal --version) < /dev/null > /dev/null 2>&1; then
804 echo "$ac_t""found" 1>&6
806 ACLOCAL="$missing_dir/missing aclocal"
807 echo "$ac_t""missing" 1>&6
810 echo $ac_n "checking for working autoconf""... $ac_c" 1>&6
811 echo "configure:812: checking for working autoconf" >&5
812 # Run test in a subshell; some versions of sh will print an error if
813 # an executable is not found, even if stderr is redirected.
814 # Redirect stdin to placate older versions of autoconf. Sigh.
815 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
817 echo "$ac_t""found" 1>&6
819 AUTOCONF="$missing_dir/missing autoconf"
820 echo "$ac_t""missing" 1>&6
823 echo $ac_n "checking for working automake""... $ac_c" 1>&6
824 echo "configure:825: checking for working automake" >&5
825 # Run test in a subshell; some versions of sh will print an error if
826 # an executable is not found, even if stderr is redirected.
827 # Redirect stdin to placate older versions of autoconf. Sigh.
828 if (automake --version) < /dev/null > /dev/null 2>&1; then
830 echo "$ac_t""found" 1>&6
832 AUTOMAKE="$missing_dir/missing automake"
833 echo "$ac_t""missing" 1>&6
836 echo $ac_n "checking for working autoheader""... $ac_c" 1>&6
837 echo "configure:838: checking for working autoheader" >&5
838 # Run test in a subshell; some versions of sh will print an error if
839 # an executable is not found, even if stderr is redirected.
840 # Redirect stdin to placate older versions of autoconf. Sigh.
841 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
842 AUTOHEADER=autoheader
843 echo "$ac_t""found" 1>&6
845 AUTOHEADER="$missing_dir/missing autoheader"
846 echo "$ac_t""missing" 1>&6
849 echo $ac_n "checking for working makeinfo""... $ac_c" 1>&6
850 echo "configure:851: checking for working makeinfo" >&5
851 # Run test in a subshell; some versions of sh will print an error if
852 # an executable is not found, even if stderr is redirected.
853 # Redirect stdin to placate older versions of autoconf. Sigh.
854 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
856 echo "$ac_t""found" 1>&6
858 MAKEINFO="$missing_dir/missing makeinfo"
859 echo "$ac_t""missing" 1>&6
863 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
864 echo "configure:865: checking whether to enable maintainer-specific portions of Makefiles" >&5
865 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
866 if test "${enable_maintainer_mode+set}" = set; then
867 enableval="$enable_maintainer_mode"
868 USE_MAINTAINER_MODE=$enableval
870 USE_MAINTAINER_MODE=no
873 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
876 if test $USE_MAINTAINER_MODE = yes; then
877 MAINTAINER_MODE_TRUE=
878 MAINTAINER_MODE_FALSE='#'
880 MAINTAINER_MODE_TRUE='#'
881 MAINTAINER_MODE_FALSE=
883 MAINT=$MAINTAINER_MODE_TRUE
887 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl
889 # Extract the first word of "$ac_prog", so it can be a program name with args.
890 set dummy $ac_prog; ac_word=$2
891 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
892 echo "configure:893: checking for $ac_word" >&5
893 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
894 echo $ac_n "(cached) $ac_c" 1>&6
896 if test -n "$CXX"; then
897 ac_cv_prog_CXX="$CXX" # Let the user override the test.
899 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
901 for ac_dir in $ac_dummy; do
902 test -z "$ac_dir" && ac_dir=.
903 if test -f $ac_dir/$ac_word; then
904 ac_cv_prog_CXX="$ac_prog"
911 CXX="$ac_cv_prog_CXX"
912 if test -n "$CXX"; then
913 echo "$ac_t""$CXX" 1>&6
915 echo "$ac_t""no" 1>&6
918 test -n "$CXX" && break
920 test -n "$CXX" || CXX="gcc"
923 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6
924 echo "configure:925: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5
927 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
928 ac_cpp='$CXXCPP $CPPFLAGS'
929 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
930 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
931 cross_compiling=$ac_cv_prog_cxx_cross
933 cat > conftest.$ac_ext << EOF
935 #line 936 "configure"
936 #include "confdefs.h"
938 int main(){return(0);}
940 if { (eval echo configure:941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
941 ac_cv_prog_cxx_works=yes
942 # If we can't run a trivial program, we are probably using a cross compiler.
943 if (./conftest; exit) 2>/dev/null; then
944 ac_cv_prog_cxx_cross=no
946 ac_cv_prog_cxx_cross=yes
949 echo "configure: failed program was:" >&5
950 cat conftest.$ac_ext >&5
951 ac_cv_prog_cxx_works=no
955 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
956 ac_cpp='$CPP $CPPFLAGS'
957 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
958 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
959 cross_compiling=$ac_cv_prog_cc_cross
961 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6
962 if test $ac_cv_prog_cxx_works = no; then
963 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; }
965 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
966 echo "configure:967: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5
967 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6
968 cross_compiling=$ac_cv_prog_cxx_cross
970 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
971 echo "configure:972: checking whether we are using GNU C++" >&5
972 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
973 echo $ac_n "(cached) $ac_c" 1>&6
975 cat > conftest.C <<EOF
980 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:981: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
987 echo "$ac_t""$ac_cv_prog_gxx" 1>&6
989 if test $ac_cv_prog_gxx = yes; then
995 ac_test_CXXFLAGS="${CXXFLAGS+set}"
996 ac_save_CXXFLAGS="$CXXFLAGS"
998 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
999 echo "configure:1000: checking whether ${CXX-g++} accepts -g" >&5
1000 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then
1001 echo $ac_n "(cached) $ac_c" 1>&6
1003 echo 'void f(){}' > conftest.cc
1004 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
1005 ac_cv_prog_cxx_g=yes
1013 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6
1014 if test "$ac_test_CXXFLAGS" = set; then
1015 CXXFLAGS="$ac_save_CXXFLAGS"
1016 elif test $ac_cv_prog_cxx_g = yes; then
1017 if test "$GXX" = yes; then
1023 if test "$GXX" = yes; then
1030 echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
1031 echo "configure:1032: checking how to run the C++ preprocessor" >&5
1032 if test -z "$CXXCPP"; then
1033 if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
1034 echo $ac_n "(cached) $ac_c" 1>&6
1037 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1038 ac_cpp='$CXXCPP $CPPFLAGS'
1039 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1040 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1041 cross_compiling=$ac_cv_prog_cxx_cross
1042 CXXCPP="${CXX-g++} -E"
1043 cat > conftest.$ac_ext <<EOF
1044 #line 1045 "configure"
1045 #include "confdefs.h"
1048 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1049 { (eval echo configure:1050: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1050 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1051 if test -z "$ac_err"; then
1055 echo "configure: failed program was:" >&5
1056 cat conftest.$ac_ext >&5
1061 ac_cv_prog_CXXCPP="$CXXCPP"
1063 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1064 ac_cpp='$CPP $CPPFLAGS'
1065 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1066 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1067 cross_compiling=$ac_cv_prog_cc_cross
1070 CXXCPP="$ac_cv_prog_CXXCPP"
1071 echo "$ac_t""$CXXCPP" 1>&6
1073 # Find a good install program. We prefer a C program (faster),
1074 # so one script is as good as another. But avoid the broken or
1075 # incompatible versions:
1076 # SysV /etc/install, /usr/sbin/install
1077 # SunOS /usr/etc/install
1078 # IRIX /sbin/install
1080 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1081 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1082 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1083 # ./install, which can be erroneously created by make from ./install.sh.
1084 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1085 echo "configure:1086: checking for a BSD compatible install" >&5
1086 if test -z "$INSTALL"; then
1087 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1088 echo $ac_n "(cached) $ac_c" 1>&6
1090 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":"
1091 for ac_dir in $PATH; do
1092 # Account for people who put trailing slashes in PATH elements.
1094 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1096 # OSF1 and SCO ODT 3.0 have their own names for install.
1097 # Don't use installbsd from OSF since it installs stuff as root
1099 for ac_prog in ginstall scoinst install; do
1100 if test -f $ac_dir/$ac_prog; then
1101 if test $ac_prog = install &&
1102 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1103 # AIX install. It has an incompatible calling convention.
1106 ac_cv_path_install="$ac_dir/$ac_prog -c"
1117 if test "${ac_cv_path_install+set}" = set; then
1118 INSTALL="$ac_cv_path_install"
1120 # As a last resort, use the slow shell script. We don't cache a
1121 # path for INSTALL within a source directory, because that will
1122 # break other packages using the cache if that directory is
1123 # removed, or if the path is relative.
1124 INSTALL="$ac_install_sh"
1127 echo "$ac_t""$INSTALL" 1>&6
1129 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1130 # It thinks the first close brace ends the variable substitution.
1131 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1133 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}'
1135 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1137 # Check whether --enable-shared or --disable-shared was given.
1138 if test "${enable_shared+set}" = set; then
1139 enableval="$enable_shared"
1140 p=${PACKAGE-default}
1141 case "$enableval" in
1142 yes) enable_shared=yes ;;
1143 no) enable_shared=no ;;
1146 # Look at the argument we got. We use all the common list separators.
1147 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1148 for pkg in $enableval; do
1149 if test "X$pkg" = "X$p"; then
1160 # Check whether --enable-static or --disable-static was given.
1161 if test "${enable_static+set}" = set; then
1162 enableval="$enable_static"
1163 p=${PACKAGE-default}
1164 case "$enableval" in
1165 yes) enable_static=yes ;;
1166 no) enable_static=no ;;
1169 # Look at the argument we got. We use all the common list separators.
1170 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1171 for pkg in $enableval; do
1172 if test "X$pkg" = "X$p"; then
1183 # Check whether --enable-fast-install or --disable-fast-install was given.
1184 if test "${enable_fast_install+set}" = set; then
1185 enableval="$enable_fast_install"
1186 p=${PACKAGE-default}
1187 case "$enableval" in
1188 yes) enable_fast_install=yes ;;
1189 no) enable_fast_install=no ;;
1191 enable_fast_install=no
1192 # Look at the argument we got. We use all the common list separators.
1193 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
1194 for pkg in $enableval; do
1195 if test "X$pkg" = "X$p"; then
1196 enable_fast_install=yes
1203 enable_fast_install=yes
1207 # Make sure we can run config.sub.
1208 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4 >/dev/null 2>&1; then :
1209 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1212 echo $ac_n "checking host system type""... $ac_c" 1>&6
1213 echo "configure:1214: checking host system type" >&5
1216 case "$host_alias" in
1220 if host_alias=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1221 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1223 *) host_alias=$nonopt ;;
1227 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1228 host_cpu=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1229 host_vendor=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1230 host_os=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1231 echo "$ac_t""$host" 1>&6
1233 echo $ac_n "checking build system type""... $ac_c" 1>&6
1234 echo "configure:1235: checking build system type" >&5
1237 case "$build_alias" in
1240 NONE) build_alias=$host_alias ;;
1241 *) build_alias=$nonopt ;;
1245 build=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $build_alias`
1246 build_cpu=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1247 build_vendor=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1248 build_os=`echo $build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1249 echo "$ac_t""$build" 1>&6
1251 # Extract the first word of "ranlib", so it can be a program name with args.
1252 set dummy ranlib; ac_word=$2
1253 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1254 echo "configure:1255: checking for $ac_word" >&5
1255 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1256 echo $ac_n "(cached) $ac_c" 1>&6
1258 if test -n "$RANLIB"; then
1259 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1261 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1263 for ac_dir in $ac_dummy; do
1264 test -z "$ac_dir" && ac_dir=.
1265 if test -f $ac_dir/$ac_word; then
1266 ac_cv_prog_RANLIB="ranlib"
1271 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1274 RANLIB="$ac_cv_prog_RANLIB"
1275 if test -n "$RANLIB"; then
1276 echo "$ac_t""$RANLIB" 1>&6
1278 echo "$ac_t""no" 1>&6
1281 # Extract the first word of "gcc", so it can be a program name with args.
1282 set dummy gcc; ac_word=$2
1283 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1284 echo "configure:1285: checking for $ac_word" >&5
1285 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1286 echo $ac_n "(cached) $ac_c" 1>&6
1288 if test -n "$CC"; then
1289 ac_cv_prog_CC="$CC" # Let the user override the test.
1291 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1293 for ac_dir in $ac_dummy; do
1294 test -z "$ac_dir" && ac_dir=.
1295 if test -f $ac_dir/$ac_word; then
1304 if test -n "$CC"; then
1305 echo "$ac_t""$CC" 1>&6
1307 echo "$ac_t""no" 1>&6
1310 if test -z "$CC"; then
1311 # Extract the first word of "cc", so it can be a program name with args.
1312 set dummy cc; ac_word=$2
1313 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1314 echo "configure:1315: checking for $ac_word" >&5
1315 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1316 echo $ac_n "(cached) $ac_c" 1>&6
1318 if test -n "$CC"; then
1319 ac_cv_prog_CC="$CC" # Let the user override the test.
1321 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1324 for ac_dir in $ac_dummy; do
1325 test -z "$ac_dir" && ac_dir=.
1326 if test -f $ac_dir/$ac_word; then
1327 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1328 ac_prog_rejected=yes
1336 if test $ac_prog_rejected = yes; then
1337 # We found a bogon in the path, so make sure we never use it.
1338 set dummy $ac_cv_prog_CC
1340 if test $# -gt 0; then
1341 # We chose a different compiler from the bogus one.
1342 # However, it has the same basename, so the bogon will be chosen
1343 # first if we set CC to just the basename; use the full file name.
1345 set dummy "$ac_dir/$ac_word" "$@"
1353 if test -n "$CC"; then
1354 echo "$ac_t""$CC" 1>&6
1356 echo "$ac_t""no" 1>&6
1359 if test -z "$CC"; then
1360 case "`uname -s`" in
1362 # Extract the first word of "cl", so it can be a program name with args.
1363 set dummy cl; ac_word=$2
1364 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1365 echo "configure:1366: checking for $ac_word" >&5
1366 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1367 echo $ac_n "(cached) $ac_c" 1>&6
1369 if test -n "$CC"; then
1370 ac_cv_prog_CC="$CC" # Let the user override the test.
1372 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1374 for ac_dir in $ac_dummy; do
1375 test -z "$ac_dir" && ac_dir=.
1376 if test -f $ac_dir/$ac_word; then
1385 if test -n "$CC"; then
1386 echo "$ac_t""$CC" 1>&6
1388 echo "$ac_t""no" 1>&6
1393 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1396 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1397 echo "configure:1398: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1400 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1401 ac_cpp='$CPP $CPPFLAGS'
1402 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1403 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1404 cross_compiling=$ac_cv_prog_cc_cross
1406 cat > conftest.$ac_ext << EOF
1408 #line 1409 "configure"
1409 #include "confdefs.h"
1413 if { (eval echo configure:1414: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1414 ac_cv_prog_cc_works=yes
1415 # If we can't run a trivial program, we are probably using a cross compiler.
1416 if (./conftest; exit) 2>/dev/null; then
1417 ac_cv_prog_cc_cross=no
1419 ac_cv_prog_cc_cross=yes
1422 echo "configure: failed program was:" >&5
1423 cat conftest.$ac_ext >&5
1424 ac_cv_prog_cc_works=no
1428 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1429 ac_cpp='$CPP $CPPFLAGS'
1430 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1431 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1432 cross_compiling=$ac_cv_prog_cc_cross
1434 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1435 if test $ac_cv_prog_cc_works = no; then
1436 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1438 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1439 echo "configure:1440: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1440 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1441 cross_compiling=$ac_cv_prog_cc_cross
1443 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1444 echo "configure:1445: checking whether we are using GNU C" >&5
1445 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1446 echo $ac_n "(cached) $ac_c" 1>&6
1448 cat > conftest.c <<EOF
1453 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:1454: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
1460 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1462 if test $ac_cv_prog_gcc = yes; then
1468 ac_test_CFLAGS="${CFLAGS+set}"
1469 ac_save_CFLAGS="$CFLAGS"
1471 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1472 echo "configure:1473: checking whether ${CC-cc} accepts -g" >&5
1473 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1474 echo $ac_n "(cached) $ac_c" 1>&6
1476 echo 'void f(){}' > conftest.c
1477 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1486 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1487 if test "$ac_test_CFLAGS" = set; then
1488 CFLAGS="$ac_save_CFLAGS"
1489 elif test $ac_cv_prog_cc_g = yes; then
1490 if test "$GCC" = yes; then
1496 if test "$GCC" = yes; then
1503 # Check whether --with-gnu-ld or --without-gnu-ld was given.
1504 if test "${with_gnu_ld+set}" = set; then
1505 withval="$with_gnu_ld"
1506 test "$withval" = no || with_gnu_ld=yes
1512 if test "$ac_cv_prog_gcc" = yes; then
1513 # Check if gcc -print-prog-name=ld gives a path.
1514 echo $ac_n "checking for ld used by GCC""... $ac_c" 1>&6
1515 echo "configure:1516: checking for ld used by GCC" >&5
1516 ac_prog=`($CC -print-prog-name=ld) 2>&5`
1518 # Accept absolute paths.
1519 [\\/]* | [A-Za-z]:[\\/]*)
1520 re_direlt='/[^/][^/]*/\.\./'
1521 # Canonicalize the path of ld
1522 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
1523 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
1524 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
1526 test -z "$LD" && LD="$ac_prog"
1529 # If it fails, then pretend we aren't using GCC.
1533 # If it is relative, then search for the first ld in PATH.
1537 elif test "$with_gnu_ld" = yes; then
1538 echo $ac_n "checking for GNU ld""... $ac_c" 1>&6
1539 echo "configure:1540: checking for GNU ld" >&5
1541 echo $ac_n "checking for non-GNU ld""... $ac_c" 1>&6
1542 echo "configure:1543: checking for non-GNU ld" >&5
1544 if eval "test \"`echo '$''{'ac_cv_path_LD'+set}'`\" = set"; then
1545 echo $ac_n "(cached) $ac_c" 1>&6
1547 if test -z "$LD"; then
1548 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1549 for ac_dir in $PATH; do
1550 test -z "$ac_dir" && ac_dir=.
1551 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
1552 ac_cv_path_LD="$ac_dir/$ac_prog"
1553 # Check to see if the program is GNU ld. I'd rather use --version,
1554 # but apparently some GNU ld's only accept -v.
1555 # Break only if it was the GNU/non-GNU ld that we prefer.
1556 if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
1557 test "$with_gnu_ld" != no && break
1559 test "$with_gnu_ld" != yes && break
1565 ac_cv_path_LD="$LD" # Let the user override the test with a path.
1570 if test -n "$LD"; then
1571 echo "$ac_t""$LD" 1>&6
1573 echo "$ac_t""no" 1>&6
1575 test -z "$LD" && { echo "configure: error: no acceptable ld found in \$PATH" 1>&2; exit 1; }
1577 echo $ac_n "checking if the linker ($LD) is GNU ld""... $ac_c" 1>&6
1578 echo "configure:1579: checking if the linker ($LD) is GNU ld" >&5
1579 if eval "test \"`echo '$''{'ac_cv_prog_gnu_ld'+set}'`\" = set"; then
1580 echo $ac_n "(cached) $ac_c" 1>&6
1582 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
1583 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
1584 ac_cv_prog_gnu_ld=yes
1586 ac_cv_prog_gnu_ld=no
1590 echo "$ac_t""$ac_cv_prog_gnu_ld" 1>&6
1593 echo $ac_n "checking for BSD-compatible nm""... $ac_c" 1>&6
1594 echo "configure:1595: checking for BSD-compatible nm" >&5
1595 if eval "test \"`echo '$''{'ac_cv_path_NM'+set}'`\" = set"; then
1596 echo $ac_n "(cached) $ac_c" 1>&6
1598 if test -n "$NM"; then
1599 # Let the user override the test.
1602 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
1603 for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
1604 test -z "$ac_dir" && ac_dir=.
1605 if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
1606 # Check to see if the nm accepts a BSD-compat flag.
1607 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
1608 # nm: unknown option "B" ignored
1609 if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1610 ac_cv_path_NM="$ac_dir/nm -B"
1612 elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
1613 ac_cv_path_NM="$ac_dir/nm -p"
1616 ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
1617 continue # so that we can try to find one that supports BSD flags
1622 test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1627 echo "$ac_t""$NM" 1>&6
1630 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
1631 echo "configure:1632: checking whether ln -s works" >&5
1632 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1633 echo $ac_n "(cached) $ac_c" 1>&6
1636 if ln -s X conftestdata 2>/dev/null
1639 ac_cv_prog_LN_S="ln -s"
1644 LN_S="$ac_cv_prog_LN_S"
1645 if test "$ac_cv_prog_LN_S" = "ln -s"; then
1646 echo "$ac_t""yes" 1>&6
1648 echo "$ac_t""no" 1>&6
1652 # Check for any special flags to pass to ltconfig.
1653 libtool_flags="--cache-file=$cache_file"
1654 test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
1655 test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
1656 test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
1657 test "$ac_cv_prog_gcc" = yes && libtool_flags="$libtool_flags --with-gcc"
1658 test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
1661 # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
1662 if test "${enable_libtool_lock+set}" = set; then
1663 enableval="$enable_libtool_lock"
1667 test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
1668 test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
1670 # Some flags need to be propagated to the compiler or linker for good
1674 # Find out which ABI we are using.
1675 echo '#line 1676 "configure"' > conftest.$ac_ext
1676 if { (eval echo configure:1677: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1677 case "`/usr/bin/file conftest.o`" in
1693 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
1694 SAVE_CFLAGS="$CFLAGS"
1695 CFLAGS="$CFLAGS -belf"
1696 echo $ac_n "checking whether the C compiler needs -belf""... $ac_c" 1>&6
1697 echo "configure:1698: checking whether the C compiler needs -belf" >&5
1698 if eval "test \"`echo '$''{'lt_cv_cc_needs_belf'+set}'`\" = set"; then
1699 echo $ac_n "(cached) $ac_c" 1>&6
1701 cat > conftest.$ac_ext <<EOF
1702 #line 1703 "configure"
1703 #include "confdefs.h"
1709 if { (eval echo configure:1710: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1711 lt_cv_cc_needs_belf=yes
1713 echo "configure: failed program was:" >&5
1714 cat conftest.$ac_ext >&5
1716 lt_cv_cc_needs_belf=no
1721 echo "$ac_t""$lt_cv_cc_needs_belf" 1>&6
1722 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
1723 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
1724 CFLAGS="$SAVE_CFLAGS"
1732 # Save cache, so that ltconfig can load it
1733 cat > confcache <<\EOF
1734 # This file is a shell script that caches the results of configure
1735 # tests run on this system so they can be shared between configure
1736 # scripts and configure runs. It is not useful on other systems.
1737 # If it contains results you don't want to keep, you may remove or edit it.
1739 # By default, configure uses ./config.cache as the cache file,
1740 # creating it if it does not exist already. You can give configure
1741 # the --cache-file=FILE option to use a different cache file; that is
1742 # what configure does when it calls configure scripts in
1743 # subdirectories, so they share the cache.
1744 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1745 # config.status only pays attention to the cache file if you give it the
1746 # --recheck option to rerun configure.
1749 # The following way of writing the cache mishandles newlines in values,
1750 # but we know of no workaround that is simple, portable, and efficient.
1751 # So, don't put newlines in cache variables' values.
1752 # Ultrix sh set writes to stderr and can't be redirected directly,
1753 # and sets the high bit in the cache file unless we assign to the vars.
1755 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1757 # `set' does not quote correctly, so add quotes (double-quote substitution
1758 # turns \\\\ into \\, and sed turns \\ into \).
1760 -e "s/'/'\\\\''/g" \
1761 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1764 # `set' quotes correctly as required by POSIX, so do not add quotes.
1765 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1768 if cmp -s $cache_file confcache; then
1771 if test -w $cache_file; then
1772 echo "updating cache $cache_file"
1773 cat confcache > $cache_file
1775 echo "not updating unwritable cache $cache_file"
1781 # Actually configure libtool. ac_aux_dir is where install-sh is found.
1782 CC="$CC" CFLAGS="$CFLAGS" CPPFLAGS="$CPPFLAGS" \
1783 LD="$LD" LDFLAGS="$LDFLAGS" LIBS="$LIBS" \
1784 LN_S="$LN_S" NM="$NM" RANLIB="$RANLIB" \
1785 DLLTOOL="$DLLTOOL" AS="$AS" OBJDUMP="$OBJDUMP" \
1786 ${CONFIG_SHELL-/bin/sh} $ac_aux_dir/ltconfig --no-reexec \
1787 $libtool_flags --no-verify $ac_aux_dir/ltmain.sh $host \
1788 || { echo "configure: error: libtool configure failed" 1>&2; exit 1; }
1790 # Reload cache, that may have been modified by ltconfig
1791 if test -r "$cache_file"; then
1792 echo "loading cache $cache_file"
1795 echo "creating cache $cache_file"
1800 # This can be used to rebuild libtool when needed
1801 LIBTOOL_DEPS="$ac_aux_dir/ltconfig $ac_aux_dir/ltmain.sh"
1803 # Always use our own libtool.
1804 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
1806 # Redirect the config.log output again, so that the ltconfig log is not
1807 # clobbered by the next message.
1808 exec 5>>./config.log
1810 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
1811 echo "configure:1812: checking how to run the C preprocessor" >&5
1812 # On Suns, sometimes $CPP names a directory.
1813 if test -n "$CPP" && test -d "$CPP"; then
1816 if test -z "$CPP"; then
1817 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
1818 echo $ac_n "(cached) $ac_c" 1>&6
1820 # This must be in double quotes, not single quotes, because CPP may get
1821 # substituted into the Makefile and "${CC-cc}" will confuse make.
1823 # On the NeXT, cc -E runs the code through the compiler's parser,
1824 # not just through cpp.
1825 cat > conftest.$ac_ext <<EOF
1826 #line 1827 "configure"
1827 #include "confdefs.h"
1831 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1832 { (eval echo configure:1833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1833 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1834 if test -z "$ac_err"; then
1838 echo "configure: failed program was:" >&5
1839 cat conftest.$ac_ext >&5
1841 CPP="${CC-cc} -E -traditional-cpp"
1842 cat > conftest.$ac_ext <<EOF
1843 #line 1844 "configure"
1844 #include "confdefs.h"
1848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1849 { (eval echo configure:1850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1850 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1851 if test -z "$ac_err"; then
1855 echo "configure: failed program was:" >&5
1856 cat conftest.$ac_ext >&5
1858 CPP="${CC-cc} -nologo -E"
1859 cat > conftest.$ac_ext <<EOF
1860 #line 1861 "configure"
1861 #include "confdefs.h"
1865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1866 { (eval echo configure:1867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1867 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1868 if test -z "$ac_err"; then
1872 echo "configure: failed program was:" >&5
1873 cat conftest.$ac_ext >&5
1882 ac_cv_prog_CPP="$CPP"
1884 CPP="$ac_cv_prog_CPP"
1886 ac_cv_prog_CPP="$CPP"
1888 echo "$ac_t""$CPP" 1>&6
1890 missing_dir=`cd $ac_aux_dir && pwd`
1891 for ac_prog in flex lex
1893 # Extract the first word of "$ac_prog", so it can be a program name with args.
1894 set dummy $ac_prog; ac_word=$2
1895 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1896 echo "configure:1897: checking for $ac_word" >&5
1897 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
1898 echo $ac_n "(cached) $ac_c" 1>&6
1900 if test -n "$LEX"; then
1901 ac_cv_prog_LEX="$LEX" # Let the user override the test.
1903 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1905 for ac_dir in $ac_dummy; do
1906 test -z "$ac_dir" && ac_dir=.
1907 if test -f $ac_dir/$ac_word; then
1908 ac_cv_prog_LEX="$ac_prog"
1915 LEX="$ac_cv_prog_LEX"
1916 if test -n "$LEX"; then
1917 echo "$ac_t""$LEX" 1>&6
1919 echo "$ac_t""no" 1>&6
1922 test -n "$LEX" && break
1924 test -n "$LEX" || LEX=""$missing_dir/missing flex""
1926 # Extract the first word of "flex", so it can be a program name with args.
1927 set dummy flex; ac_word=$2
1928 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1929 echo "configure:1930: checking for $ac_word" >&5
1930 if eval "test \"`echo '$''{'ac_cv_prog_LEX'+set}'`\" = set"; then
1931 echo $ac_n "(cached) $ac_c" 1>&6
1933 if test -n "$LEX"; then
1934 ac_cv_prog_LEX="$LEX" # Let the user override the test.
1936 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
1938 for ac_dir in $ac_dummy; do
1939 test -z "$ac_dir" && ac_dir=.
1940 if test -f $ac_dir/$ac_word; then
1941 ac_cv_prog_LEX="flex"
1946 test -z "$ac_cv_prog_LEX" && ac_cv_prog_LEX="lex"
1949 LEX="$ac_cv_prog_LEX"
1950 if test -n "$LEX"; then
1951 echo "$ac_t""$LEX" 1>&6
1953 echo "$ac_t""no" 1>&6
1956 if test -z "$LEXLIB"
1962 echo $ac_n "checking for yywrap in -l$ac_lib""... $ac_c" 1>&6
1963 echo "configure:1964: checking for yywrap in -l$ac_lib" >&5
1964 ac_lib_var=`echo $ac_lib'_'yywrap | sed 'y%./+-%__p_%'`
1965 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1966 echo $ac_n "(cached) $ac_c" 1>&6
1968 ac_save_LIBS="$LIBS"
1969 LIBS="-l$ac_lib $LIBS"
1970 cat > conftest.$ac_ext <<EOF
1971 #line 1972 "configure"
1972 #include "confdefs.h"
1973 /* Override any gcc2 internal prototype to avoid an error. */
1974 /* We use char because int might match the return type of a gcc2
1975 builtin and then its argument prototype would still apply. */
1982 if { (eval echo configure:1983: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1984 eval "ac_cv_lib_$ac_lib_var=yes"
1986 echo "configure: failed program was:" >&5
1987 cat conftest.$ac_ext >&5
1989 eval "ac_cv_lib_$ac_lib_var=no"
1992 LIBS="$ac_save_LIBS"
1995 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1996 echo "$ac_t""yes" 1>&6
1999 echo "$ac_t""no" 1>&6
2004 echo $ac_n "checking lex output file root""... $ac_c" 1>&6
2005 echo "configure:2006: checking lex output file root" >&5
2006 if eval "test \"`echo '$''{'ac_cv_prog_lex_root'+set}'`\" = set"; then
2007 echo $ac_n "(cached) $ac_c" 1>&6
2009 # The minimal lex program is just a single line: %%. But some broken lexes
2010 # (Solaris, I think it was) want two %% lines, so accommodate them.
2013 if test -f lex.yy.c; then
2014 ac_cv_prog_lex_root=lex.yy
2015 elif test -f lexyy.c; then
2016 ac_cv_prog_lex_root=lexyy
2018 { echo "configure: error: cannot find output from $LEX; giving up" 1>&2; exit 1; }
2022 echo "$ac_t""$ac_cv_prog_lex_root" 1>&6
2023 LEX_OUTPUT_ROOT=$ac_cv_prog_lex_root
2025 echo $ac_n "checking whether yytext is a pointer""... $ac_c" 1>&6
2026 echo "configure:2027: checking whether yytext is a pointer" >&5
2027 if eval "test \"`echo '$''{'ac_cv_prog_lex_yytext_pointer'+set}'`\" = set"; then
2028 echo $ac_n "(cached) $ac_c" 1>&6
2030 # POSIX says lex can declare yytext either as a pointer or an array; the
2031 # default is implementation-dependent. Figure out which it is, since
2032 # not all implementations provide the %pointer and %array declarations.
2033 ac_cv_prog_lex_yytext_pointer=no
2034 echo 'extern char *yytext;' >>$LEX_OUTPUT_ROOT.c
2035 ac_save_LIBS="$LIBS"
2036 LIBS="$LIBS $LEXLIB"
2037 cat > conftest.$ac_ext <<EOF
2038 #line 2039 "configure"
2039 #include "confdefs.h"
2040 `cat $LEX_OUTPUT_ROOT.c`
2045 if { (eval echo configure:2046: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2047 ac_cv_prog_lex_yytext_pointer=yes
2049 echo "configure: failed program was:" >&5
2050 cat conftest.$ac_ext >&5
2053 LIBS="$ac_save_LIBS"
2054 rm -f "${LEX_OUTPUT_ROOT}.c"
2058 echo "$ac_t""$ac_cv_prog_lex_yytext_pointer" 1>&6
2059 if test $ac_cv_prog_lex_yytext_pointer = yes; then
2060 cat >> confdefs.h <<\EOF
2061 #define YYTEXT_POINTER 1
2066 for ac_prog in 'bison -y' byacc
2068 # Extract the first word of "$ac_prog", so it can be a program name with args.
2069 set dummy $ac_prog; ac_word=$2
2070 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2071 echo "configure:2072: checking for $ac_word" >&5
2072 if eval "test \"`echo '$''{'ac_cv_prog_YACC'+set}'`\" = set"; then
2073 echo $ac_n "(cached) $ac_c" 1>&6
2075 if test -n "$YACC"; then
2076 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2078 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2080 for ac_dir in $ac_dummy; do
2081 test -z "$ac_dir" && ac_dir=.
2082 if test -f $ac_dir/$ac_word; then
2083 ac_cv_prog_YACC="$ac_prog"
2090 YACC="$ac_cv_prog_YACC"
2091 if test -n "$YACC"; then
2092 echo "$ac_t""$YACC" 1>&6
2094 echo "$ac_t""no" 1>&6
2097 test -n "$YACC" && break
2099 test -n "$YACC" || YACC="yacc"
2102 echo $ac_n "checking size of long""... $ac_c" 1>&6
2103 echo "configure:2104: checking size of long" >&5
2104 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
2105 echo $ac_n "(cached) $ac_c" 1>&6
2107 if test "$cross_compiling" = yes; then
2110 cat > conftest.$ac_ext <<EOF
2111 #line 2112 "configure"
2112 #include "confdefs.h"
2116 FILE *f=fopen("conftestval", "w");
2118 fprintf(f, "%d\n", sizeof(long));
2122 if { (eval echo configure:2123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2124 ac_cv_sizeof_long=`cat conftestval`
2126 echo "configure: failed program was:" >&5
2127 cat conftest.$ac_ext >&5
2135 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
2136 cat >> confdefs.h <<EOF
2137 #define SIZEOF_LONG $ac_cv_sizeof_long
2141 echo $ac_n "checking size of long long""... $ac_c" 1>&6
2142 echo "configure:2143: checking size of long long" >&5
2143 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
2144 echo $ac_n "(cached) $ac_c" 1>&6
2146 if test "$cross_compiling" = yes; then
2147 ac_cv_sizeof_long_long=8
2149 cat > conftest.$ac_ext <<EOF
2150 #line 2151 "configure"
2151 #include "confdefs.h"
2155 FILE *f=fopen("conftestval", "w");
2157 fprintf(f, "%d\n", sizeof(long long));
2161 if { (eval echo configure:2162: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2163 ac_cv_sizeof_long_long=`cat conftestval`
2165 echo "configure: failed program was:" >&5
2166 cat conftest.$ac_ext >&5
2168 ac_cv_sizeof_long_long=0
2174 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
2175 cat >> confdefs.h <<EOF
2176 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
2180 echo $ac_n "checking size of long double""... $ac_c" 1>&6
2181 echo "configure:2182: checking size of long double" >&5
2182 if eval "test \"`echo '$''{'ac_cv_sizeof_long_double'+set}'`\" = set"; then
2183 echo $ac_n "(cached) $ac_c" 1>&6
2185 if test "$cross_compiling" = yes; then
2186 ac_cv_sizeof_long_double=12
2188 cat > conftest.$ac_ext <<EOF
2189 #line 2190 "configure"
2190 #include "confdefs.h"
2194 FILE *f=fopen("conftestval", "w");
2196 fprintf(f, "%d\n", sizeof(long double));
2200 if { (eval echo configure:2201: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
2202 ac_cv_sizeof_long_double=`cat conftestval`
2204 echo "configure: failed program was:" >&5
2205 cat conftest.$ac_ext >&5
2207 ac_cv_sizeof_long_double=0
2213 echo "$ac_t""$ac_cv_sizeof_long_double" 1>&6
2214 cat >> confdefs.h <<EOF
2215 #define SIZEOF_LONG_DOUBLE $ac_cv_sizeof_long_double
2221 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
2222 ac_cpp='$CXXCPP $CPPFLAGS'
2223 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
2224 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
2225 cross_compiling=$ac_cv_prog_cxx_cross
2228 for ac_hdr in unistd.h
2230 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2231 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2232 echo "configure:2233: checking for $ac_hdr" >&5
2233 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2234 echo $ac_n "(cached) $ac_c" 1>&6
2236 cat > conftest.$ac_ext <<EOF
2237 #line 2238 "configure"
2238 #include "confdefs.h"
2241 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2242 { (eval echo configure:2243: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2243 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2244 if test -z "$ac_err"; then
2246 eval "ac_cv_header_$ac_safe=yes"
2249 echo "configure: failed program was:" >&5
2250 cat conftest.$ac_ext >&5
2252 eval "ac_cv_header_$ac_safe=no"
2256 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2257 echo "$ac_t""yes" 1>&6
2258 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2259 cat >> confdefs.h <<EOF
2260 #define $ac_tr_hdr 1
2264 echo "$ac_t""no" 1>&6
2268 for ac_hdr in readline/readline.h readline/history.h
2270 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2271 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2272 echo "configure:2273: checking for $ac_hdr" >&5
2273 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2274 echo $ac_n "(cached) $ac_c" 1>&6
2276 cat > conftest.$ac_ext <<EOF
2277 #line 2278 "configure"
2278 #include "confdefs.h"
2281 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2282 { (eval echo configure:2283: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2283 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2284 if test -z "$ac_err"; then
2286 eval "ac_cv_header_$ac_safe=yes"
2289 echo "configure: failed program was:" >&5
2290 cat conftest.$ac_ext >&5
2292 eval "ac_cv_header_$ac_safe=no"
2296 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2297 echo "$ac_t""yes" 1>&6
2298 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2299 cat >> confdefs.h <<EOF
2300 #define $ac_tr_hdr 1
2304 echo "$ac_t""no" 1>&6
2309 echo $ac_n "checking for readline in -lreadline""... $ac_c" 1>&6
2310 echo "configure:2311: checking for readline in -lreadline" >&5
2311 ac_lib_var=`echo readline'_'readline | sed 'y%./+-%__p_%'`
2312 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2313 echo $ac_n "(cached) $ac_c" 1>&6
2315 ac_save_LIBS="$LIBS"
2316 LIBS="-lreadline $LIBS"
2317 cat > conftest.$ac_ext <<EOF
2318 #line 2319 "configure"
2319 #include "confdefs.h"
2320 /* Override any gcc2 internal prototype to avoid an error. */
2324 /* We use char because int might match the return type of a gcc2
2325 builtin and then its argument prototype would still apply. */
2332 if { (eval echo configure:2333: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2334 eval "ac_cv_lib_$ac_lib_var=yes"
2336 echo "configure: failed program was:" >&5
2337 cat conftest.$ac_ext >&5
2339 eval "ac_cv_lib_$ac_lib_var=no"
2342 LIBS="$ac_save_LIBS"
2345 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2346 echo "$ac_t""yes" 1>&6
2347 ac_tr_lib=HAVE_LIB`echo readline | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2348 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2349 cat >> confdefs.h <<EOF
2350 #define $ac_tr_lib 1
2353 LIBS="-lreadline $LIBS"
2356 echo "$ac_t""no" 1>&6
2363 echo $ac_n "checking for cout in -lstdc++""... $ac_c" 1>&6
2364 echo "configure:2365: checking for cout in -lstdc++" >&5
2365 ac_lib_var=`echo stdc++'_'cout | sed 'y%./+-%__p_%'`
2366 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
2367 echo $ac_n "(cached) $ac_c" 1>&6
2369 ac_save_LIBS="$LIBS"
2370 LIBS="-lstdc++ $LIBS"
2371 cat > conftest.$ac_ext <<EOF
2372 #line 2373 "configure"
2373 #include "confdefs.h"
2374 /* Override any gcc2 internal prototype to avoid an error. */
2378 /* We use char because int might match the return type of a gcc2
2379 builtin and then its argument prototype would still apply. */
2386 if { (eval echo configure:2387: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2388 eval "ac_cv_lib_$ac_lib_var=yes"
2390 echo "configure: failed program was:" >&5
2391 cat conftest.$ac_ext >&5
2393 eval "ac_cv_lib_$ac_lib_var=no"
2396 LIBS="$ac_save_LIBS"
2399 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
2400 echo "$ac_t""yes" 1>&6
2401 ac_tr_lib=HAVE_LIB`echo stdc++ | sed -e 's/[^a-zA-Z0-9_]/_/g' \
2402 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
2403 cat >> confdefs.h <<EOF
2404 #define $ac_tr_lib 1
2407 LIBS="-lstdc++ $LIBS"
2410 echo "$ac_t""no" 1>&6
2414 for ac_hdr in iostream vector map string list typeinfo iterator stdexcept algorithm
2416 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2417 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2418 echo "configure:2419: checking for $ac_hdr" >&5
2419 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2420 echo $ac_n "(cached) $ac_c" 1>&6
2422 cat > conftest.$ac_ext <<EOF
2423 #line 2424 "configure"
2424 #include "confdefs.h"
2427 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2428 { (eval echo configure:2429: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2429 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2430 if test -z "$ac_err"; then
2432 eval "ac_cv_header_$ac_safe=yes"
2435 echo "configure: failed program was:" >&5
2436 cat conftest.$ac_ext >&5
2438 eval "ac_cv_header_$ac_safe=no"
2442 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2443 echo "$ac_t""yes" 1>&6
2444 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2445 cat >> confdefs.h <<EOF
2446 #define $ac_tr_hdr 1
2450 echo "$ac_t""no" 1>&6
2451 { echo "configure: error: need to have ANSI compliant headers" 1>&2; exit 1; }
2455 for ac_hdr in sstream strstream
2457 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2458 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2459 echo "configure:2460: checking for $ac_hdr" >&5
2460 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2461 echo $ac_n "(cached) $ac_c" 1>&6
2463 cat > conftest.$ac_ext <<EOF
2464 #line 2465 "configure"
2465 #include "confdefs.h"
2468 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2469 { (eval echo configure:2470: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2470 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2471 if test -z "$ac_err"; then
2473 eval "ac_cv_header_$ac_safe=yes"
2476 echo "configure: failed program was:" >&5
2477 cat conftest.$ac_ext >&5
2479 eval "ac_cv_header_$ac_safe=no"
2483 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2484 echo "$ac_t""yes" 1>&6
2485 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2486 cat >> confdefs.h <<EOF
2487 #define $ac_tr_hdr 1
2491 echo "$ac_t""no" 1>&6
2497 for ac_hdr in cln/cln.h
2499 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2500 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2501 echo "configure:2502: checking for $ac_hdr" >&5
2502 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2503 echo $ac_n "(cached) $ac_c" 1>&6
2505 cat > conftest.$ac_ext <<EOF
2506 #line 2507 "configure"
2507 #include "confdefs.h"
2510 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2511 { (eval echo configure:2512: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2512 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2513 if test -z "$ac_err"; then
2515 eval "ac_cv_header_$ac_safe=yes"
2518 echo "configure: failed program was:" >&5
2519 cat conftest.$ac_ext >&5
2521 eval "ac_cv_header_$ac_safe=no"
2525 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2526 echo "$ac_t""yes" 1>&6
2527 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2528 cat >> confdefs.h <<EOF
2529 #define $ac_tr_hdr 1
2533 echo "$ac_t""no" 1>&6
2536 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
2537 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
2538 echo "configure:2539: checking for $ac_hdr" >&5
2539 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
2540 echo $ac_n "(cached) $ac_c" 1>&6
2542 cat > conftest.$ac_ext <<EOF
2543 #line 2544 "configure"
2544 #include "confdefs.h"
2547 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2548 { (eval echo configure:2549: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2549 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2550 if test -z "$ac_err"; then
2552 eval "ac_cv_header_$ac_safe=yes"
2555 echo "configure: failed program was:" >&5
2556 cat conftest.$ac_ext >&5
2558 eval "ac_cv_header_$ac_safe=no"
2562 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
2563 echo "$ac_t""yes" 1>&6
2564 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
2565 cat >> confdefs.h <<EOF
2566 #define $ac_tr_hdr 1
2570 echo "$ac_t""no" 1>&6
2571 { echo "configure: error: cannot find header for Bruno Haible's CLN" 1>&2; exit 1; };
2582 echo $ac_n "checking for doublefactorial in -lcln""... $ac_c" 1>&6
2583 echo "configure:2584: checking for doublefactorial in -lcln" >&5
2584 saved_LIBS="${LIBS}"
2585 if eval "test \"`echo '$''{'ginac_cv_lib_cln_link'+set}'`\" = set"; then
2586 echo $ac_n "(cached) $ac_c" 1>&6
2589 case "${ac_cv_header_CLN_cln_h}" in
2591 cat > conftest.$ac_ext <<EOF
2592 #line 2593 "configure"
2593 #include "confdefs.h"
2594 #include <cln/cln.h>
2599 if { (eval echo configure:2600: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2601 ginac_cv_lib_cln_link="-lcln"
2603 echo "configure: failed program was:" >&5
2604 cat conftest.$ac_ext >&5
2606 ginac_cv_lib_cln_link="fail"
2611 cat > conftest.$ac_ext <<EOF
2612 #line 2613 "configure"
2613 #include "confdefs.h"
2619 if { (eval echo configure:2620: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
2621 ginac_cv_lib_cln_link="-lcln"
2623 echo "configure: failed program was:" >&5
2624 cat conftest.$ac_ext >&5
2626 ginac_cv_lib_cln_link="fail"
2634 case "${ginac_cv_lib_cln_link}" in
2636 LIBS="${ginac_cv_lib_cln_link} ${saved_LIBS}"
2637 echo "$ac_t"""yes"" 1>&6
2640 LIBS="${saved_LIBS}"
2641 echo "$ac_t""no" 1>&6
2642 { echo "configure: error: You either need to set \$LDFLAGS or update CLN" 1>&2; exit 1; }
2645 LIBS="${saved_LIBS}"
2646 echo "configure: warning: you found a bug in the configure script!" 1>&2
2651 GINACLIB_CPPFLAGS=$CPPFLAGS
2656 # Extract the first word of "doxygen", so it can be a program name with args.
2657 set dummy doxygen; ac_word=$2
2658 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2659 echo "configure:2660: checking for $ac_word" >&5
2660 if eval "test \"`echo '$''{'ac_cv_path_DOXYGEN'+set}'`\" = set"; then
2661 echo $ac_n "(cached) $ac_c" 1>&6
2665 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
2668 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a dos path.
2671 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2673 for ac_dir in $ac_dummy; do
2674 test -z "$ac_dir" && ac_dir=.
2675 if test -f $ac_dir/$ac_word; then
2676 ac_cv_path_DOXYGEN="$ac_dir/$ac_word"
2681 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN=""""
2685 DOXYGEN="$ac_cv_path_DOXYGEN"
2686 if test -n "$DOXYGEN"; then
2687 echo "$ac_t""$DOXYGEN" 1>&6
2689 echo "$ac_t""no" 1>&6
2692 # Extract the first word of "latex", so it can be a program name with args.
2693 set dummy latex; ac_word=$2
2694 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2695 echo "configure:2696: checking for $ac_word" >&5
2696 if eval "test \"`echo '$''{'ac_cv_path_LATEX'+set}'`\" = set"; then
2697 echo $ac_n "(cached) $ac_c" 1>&6
2701 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a path.
2704 ac_cv_path_LATEX="$LATEX" # Let the user override the test with a dos path.
2707 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2709 for ac_dir in $ac_dummy; do
2710 test -z "$ac_dir" && ac_dir=.
2711 if test -f $ac_dir/$ac_word; then
2712 ac_cv_path_LATEX="$ac_dir/$ac_word"
2717 test -z "$ac_cv_path_LATEX" && ac_cv_path_LATEX=""""
2721 LATEX="$ac_cv_path_LATEX"
2722 if test -n "$LATEX"; then
2723 echo "$ac_t""$LATEX" 1>&6
2725 echo "$ac_t""no" 1>&6
2728 # Extract the first word of "makeindex", so it can be a program name with args.
2729 set dummy makeindex; ac_word=$2
2730 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2731 echo "configure:2732: checking for $ac_word" >&5
2732 if eval "test \"`echo '$''{'ac_cv_path_MAKEINDEX'+set}'`\" = set"; then
2733 echo $ac_n "(cached) $ac_c" 1>&6
2735 case "$MAKEINDEX" in
2737 ac_cv_path_MAKEINDEX="$MAKEINDEX" # Let the user override the test with a path.
2740 ac_cv_path_MAKEINDEX="$MAKEINDEX" # Let the user override the test with a dos path.
2743 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2745 for ac_dir in $ac_dummy; do
2746 test -z "$ac_dir" && ac_dir=.
2747 if test -f $ac_dir/$ac_word; then
2748 ac_cv_path_MAKEINDEX="$ac_dir/$ac_word"
2753 test -z "$ac_cv_path_MAKEINDEX" && ac_cv_path_MAKEINDEX=""""
2757 MAKEINDEX="$ac_cv_path_MAKEINDEX"
2758 if test -n "$MAKEINDEX"; then
2759 echo "$ac_t""$MAKEINDEX" 1>&6
2761 echo "$ac_t""no" 1>&6
2764 # Extract the first word of "dvips", so it can be a program name with args.
2765 set dummy dvips; ac_word=$2
2766 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2767 echo "configure:2768: checking for $ac_word" >&5
2768 if eval "test \"`echo '$''{'ac_cv_path_DVIPS'+set}'`\" = set"; then
2769 echo $ac_n "(cached) $ac_c" 1>&6
2773 ac_cv_path_DVIPS="$DVIPS" # Let the user override the test with a path.
2776 ac_cv_path_DVIPS="$DVIPS" # Let the user override the test with a dos path.
2779 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2781 for ac_dir in $ac_dummy; do
2782 test -z "$ac_dir" && ac_dir=.
2783 if test -f $ac_dir/$ac_word; then
2784 ac_cv_path_DVIPS="$ac_dir/$ac_word"
2789 test -z "$ac_cv_path_DVIPS" && ac_cv_path_DVIPS=""""
2793 DVIPS="$ac_cv_path_DVIPS"
2794 if test -n "$DVIPS"; then
2795 echo "$ac_t""$DVIPS" 1>&6
2797 echo "$ac_t""no" 1>&6
2800 # Extract the first word of "fig2dev", so it can be a program name with args.
2801 set dummy fig2dev; ac_word=$2
2802 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
2803 echo "configure:2804: checking for $ac_word" >&5
2804 if eval "test \"`echo '$''{'ac_cv_path_FIG2DEV'+set}'`\" = set"; then
2805 echo $ac_n "(cached) $ac_c" 1>&6
2809 ac_cv_path_FIG2DEV="$FIG2DEV" # Let the user override the test with a path.
2812 ac_cv_path_FIG2DEV="$FIG2DEV" # Let the user override the test with a dos path.
2815 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
2817 for ac_dir in $ac_dummy; do
2818 test -z "$ac_dir" && ac_dir=.
2819 if test -f $ac_dir/$ac_word; then
2820 ac_cv_path_FIG2DEV="$ac_dir/$ac_word"
2825 test -z "$ac_cv_path_FIG2DEV" && ac_cv_path_FIG2DEV=""""
2829 FIG2DEV="$ac_cv_path_FIG2DEV"
2830 if test -n "$FIG2DEV"; then
2831 echo "$ac_t""$FIG2DEV" 1>&6
2833 echo "$ac_t""no" 1>&6
2839 if [ "x$enable_html_doc" = "xyes" ]; then
2840 TUTORIAL_TARGETS="$TUTORIAL_TARGETS ginac.html"
2841 if [ "$DOXYGEN" ]; then
2842 REFERENCE_TARGETS="$REFERENCE_TARGETS index.html"
2845 if [ "x$enable_ps_doc" = "xyes" ]; then
2846 TUTORIAL_TARGETS="$TUTORIAL_TARGETS ginac.ps"
2847 if [ "$DOXYGEN" ]; then
2848 REFERENCE_TARGETS="$REFERENCE_TARGETS reference.ps"
2855 cat > confcache <<\EOF
2856 # This file is a shell script that caches the results of configure
2857 # tests run on this system so they can be shared between configure
2858 # scripts and configure runs. It is not useful on other systems.
2859 # If it contains results you don't want to keep, you may remove or edit it.
2861 # By default, configure uses ./config.cache as the cache file,
2862 # creating it if it does not exist already. You can give configure
2863 # the --cache-file=FILE option to use a different cache file; that is
2864 # what configure does when it calls configure scripts in
2865 # subdirectories, so they share the cache.
2866 # Giving --cache-file=/dev/null disables caching, for debugging configure.
2867 # config.status only pays attention to the cache file if you give it the
2868 # --recheck option to rerun configure.
2871 # The following way of writing the cache mishandles newlines in values,
2872 # but we know of no workaround that is simple, portable, and efficient.
2873 # So, don't put newlines in cache variables' values.
2874 # Ultrix sh set writes to stderr and can't be redirected directly,
2875 # and sets the high bit in the cache file unless we assign to the vars.
2877 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2879 # `set' does not quote correctly, so add quotes (double-quote substitution
2880 # turns \\\\ into \\, and sed turns \\ into \).
2882 -e "s/'/'\\\\''/g" \
2883 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
2886 # `set' quotes correctly as required by POSIX, so do not add quotes.
2887 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
2890 if cmp -s $cache_file confcache; then
2893 if test -w $cache_file; then
2894 echo "updating cache $cache_file"
2895 cat confcache > $cache_file
2897 echo "not updating unwritable cache $cache_file"
2902 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2904 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2905 # Let make expand exec_prefix.
2906 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2908 # Any assignment to VPATH causes Sun make to only execute
2909 # the first set of double-colon rules, so remove it if not needed.
2910 # If there is a colon in the path, we need to keep it.
2911 if test "x$srcdir" = x.; then
2912 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
2915 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2917 DEFS=-DHAVE_CONFIG_H
2919 # Without the "./", some shells look in PATH for config.status.
2920 : ${CONFIG_STATUS=./config.status}
2922 echo creating $CONFIG_STATUS
2923 rm -f $CONFIG_STATUS
2924 cat > $CONFIG_STATUS <<EOF
2926 # Generated automatically by configure.
2927 # Run this file to recreate the current configuration.
2928 # This directory was configured as follows,
2929 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2931 # $0 $ac_configure_args
2933 # Compiler output produced by configure, useful for debugging
2934 # configure, is in ./config.log if it exists.
2936 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2939 case "\$ac_option" in
2940 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2941 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2942 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2943 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2944 echo "$CONFIG_STATUS generated by autoconf version 2.13"
2946 -help | --help | --hel | --he | --h)
2947 echo "\$ac_cs_usage"; exit 0 ;;
2948 *) echo "\$ac_cs_usage"; exit 1 ;;
2952 ac_given_srcdir=$srcdir
2953 ac_given_INSTALL="$INSTALL"
2955 trap 'rm -fr `echo "
2964 doc/tutorial/Makefile
2965 doc/reference/Makefile
2966 config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2968 cat >> $CONFIG_STATUS <<EOF
2970 # Protect against being on the right side of a sed subst in config.status.
2971 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2972 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2976 s%@CFLAGS@%$CFLAGS%g
2977 s%@CPPFLAGS@%$CPPFLAGS%g
2978 s%@CXXFLAGS@%$CXXFLAGS%g
2979 s%@FFLAGS@%$FFLAGS%g
2981 s%@LDFLAGS@%$LDFLAGS%g
2983 s%@exec_prefix@%$exec_prefix%g
2984 s%@prefix@%$prefix%g
2985 s%@program_transform_name@%$program_transform_name%g
2986 s%@bindir@%$bindir%g
2987 s%@sbindir@%$sbindir%g
2988 s%@libexecdir@%$libexecdir%g
2989 s%@datadir@%$datadir%g
2990 s%@sysconfdir@%$sysconfdir%g
2991 s%@sharedstatedir@%$sharedstatedir%g
2992 s%@localstatedir@%$localstatedir%g
2993 s%@libdir@%$libdir%g
2994 s%@includedir@%$includedir%g
2995 s%@oldincludedir@%$oldincludedir%g
2996 s%@infodir@%$infodir%g
2997 s%@mandir@%$mandir%g
2998 s%@GINACLIB_MAJOR_VERSION@%$GINACLIB_MAJOR_VERSION%g
2999 s%@GINACLIB_MINOR_VERSION@%$GINACLIB_MINOR_VERSION%g
3000 s%@GINACLIB_MICRO_VERSION@%$GINACLIB_MICRO_VERSION%g
3001 s%@GINACLIB_INTERFACE_AGE@%$GINACLIB_INTERFACE_AGE%g
3002 s%@GINACLIB_BINARY_AGE@%$GINACLIB_BINARY_AGE%g
3003 s%@GINACLIB_VERSION@%$GINACLIB_VERSION%g
3004 s%@ARCHIVE_VERSION@%$ARCHIVE_VERSION%g
3005 s%@ARCHIVE_AGE@%$ARCHIVE_AGE%g
3006 s%@LT_RELEASE@%$LT_RELEASE%g
3007 s%@LT_CURRENT@%$LT_CURRENT%g
3008 s%@LT_REVISION@%$LT_REVISION%g
3009 s%@LT_AGE@%$LT_AGE%g
3010 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
3011 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
3012 s%@INSTALL_DATA@%$INSTALL_DATA%g
3013 s%@PACKAGE@%$PACKAGE%g
3014 s%@VERSION@%$VERSION%g
3015 s%@ACLOCAL@%$ACLOCAL%g
3016 s%@AUTOCONF@%$AUTOCONF%g
3017 s%@AUTOMAKE@%$AUTOMAKE%g
3018 s%@AUTOHEADER@%$AUTOHEADER%g
3019 s%@MAKEINFO@%$MAKEINFO%g
3020 s%@SET_MAKE@%$SET_MAKE%g
3021 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
3022 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
3025 s%@CXXCPP@%$CXXCPP%g
3027 s%@host_alias@%$host_alias%g
3028 s%@host_cpu@%$host_cpu%g
3029 s%@host_vendor@%$host_vendor%g
3030 s%@host_os@%$host_os%g
3032 s%@build_alias@%$build_alias%g
3033 s%@build_cpu@%$build_cpu%g
3034 s%@build_vendor@%$build_vendor%g
3035 s%@build_os@%$build_os%g
3036 s%@RANLIB@%$RANLIB%g
3041 s%@LIBTOOL@%$LIBTOOL%g
3043 s%@LEXLIB@%$LEXLIB%g
3045 s%@LEX_OUTPUT_ROOT@%$LEX_OUTPUT_ROOT%g
3047 s%@GINSH_LIBS@%$GINSH_LIBS%g
3048 s%@GINACLIB_CPPFLAGS@%$GINACLIB_CPPFLAGS%g
3049 s%@GINACLIB_LIBS@%$GINACLIB_LIBS%g
3050 s%@DOXYGEN@%$DOXYGEN%g
3052 s%@MAKEINDEX@%$MAKEINDEX%g
3054 s%@FIG2DEV@%$FIG2DEV%g
3055 s%@TUTORIAL_TARGETS@%$TUTORIAL_TARGETS%g
3056 s%@REFERENCE_TARGETS@%$REFERENCE_TARGETS%g
3061 cat >> $CONFIG_STATUS <<\EOF
3063 # Split the substitutions into bite-sized pieces for seds with
3064 # small command number limits, like on Digital OSF/1 and HP-UX.
3065 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
3066 ac_file=1 # Number of current file.
3067 ac_beg=1 # First line for current file.
3068 ac_end=$ac_max_sed_cmds # Line after last line for current file.
3071 while $ac_more_lines; do
3072 if test $ac_beg -gt 1; then
3073 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
3075 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
3077 if test ! -s conftest.s$ac_file; then
3079 rm -f conftest.s$ac_file
3081 if test -z "$ac_sed_cmds"; then
3082 ac_sed_cmds="sed -f conftest.s$ac_file"
3084 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
3086 ac_file=`expr $ac_file + 1`
3088 ac_end=`expr $ac_end + $ac_max_sed_cmds`
3091 if test -z "$ac_sed_cmds"; then
3096 cat >> $CONFIG_STATUS <<EOF
3098 CONFIG_FILES=\${CONFIG_FILES-"Makefile
3106 doc/tutorial/Makefile
3107 doc/reference/Makefile
3110 cat >> $CONFIG_STATUS <<\EOF
3111 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
3112 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3114 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3115 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3116 *) ac_file_in="${ac_file}.in" ;;
3119 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
3121 # Remove last slash and all that follows it. Not all systems have dirname.
3122 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3123 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3124 # The file is in a subdirectory.
3125 test ! -d "$ac_dir" && mkdir "$ac_dir"
3126 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
3127 # A "../" for each directory in $ac_dir_suffix.
3128 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
3130 ac_dir_suffix= ac_dots=
3133 case "$ac_given_srcdir" in
3135 if test -z "$ac_dots"; then top_srcdir=.
3136 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
3137 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
3139 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
3140 top_srcdir="$ac_dots$ac_given_srcdir" ;;
3143 case "$ac_given_INSTALL" in
3144 [/$]*) INSTALL="$ac_given_INSTALL" ;;
3145 *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
3148 echo creating "$ac_file"
3150 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
3152 *Makefile*) ac_comsub="1i\\
3153 # $configure_input" ;;
3157 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3159 s%@configure_input@%$configure_input%g
3160 s%@srcdir@%$srcdir%g
3161 s%@top_srcdir@%$top_srcdir%g
3162 s%@INSTALL@%$INSTALL%g
3163 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
3167 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3168 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3170 # ac_d sets the value in "#define NAME VALUE" lines.
3171 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3172 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
3175 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
3176 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3177 ac_uB='\([ ]\)%\1#\2define\3'
3180 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3181 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3182 ac_eB='$%\1#\2define\3'
3186 if test "${CONFIG_HEADERS+set}" != set; then
3188 cat >> $CONFIG_STATUS <<EOF
3189 CONFIG_HEADERS="config.h"
3191 cat >> $CONFIG_STATUS <<\EOF
3193 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
3194 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3196 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
3197 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
3198 *) ac_file_in="${ac_file}.in" ;;
3201 echo creating $ac_file
3203 rm -f conftest.frag conftest.in conftest.out
3204 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
3205 cat $ac_file_inputs > conftest.in
3209 # Transform confdefs.h into a sed script conftest.vals that substitutes
3210 # the proper values into config.h.in to produce config.h. And first:
3211 # Protect against being on the right side of a sed subst in config.status.
3212 # Protect against being in an unquoted here document in config.status.
3214 cat > conftest.hdr <<\EOF
3217 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
3221 sed -n -f conftest.hdr confdefs.h > conftest.vals
3224 # This sed command replaces #undef with comments. This is necessary, for
3225 # example, in the case of _POSIX_SOURCE, which is predefined and required
3226 # on some systems where configure will not decide to define it.
3227 cat >> conftest.vals <<\EOF
3228 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
3231 # Break up conftest.vals because some shells have a limit on
3232 # the size of here documents, and old seds have small limits too.
3237 ac_lines=`grep -c . conftest.vals`
3238 # grep -c gives empty output for an empty file on some AIX systems.
3239 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
3240 # Write a limited-size here document to conftest.frag.
3241 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
3242 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
3244 sed -f conftest.frag conftest.in > conftest.out
3246 mv conftest.out conftest.in
3248 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
3250 mv conftest.tail conftest.vals
3254 cat >> $CONFIG_STATUS <<\EOF
3255 rm -f conftest.frag conftest.h
3256 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
3257 cat conftest.in >> conftest.h
3259 if cmp -s $ac_file conftest.h 2>/dev/null; then
3260 echo "$ac_file is unchanged"
3263 # Remove last slash and all that follows it. Not all systems have dirname.
3264 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
3265 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3266 # The file is in a subdirectory.
3267 test ! -d "$ac_dir" && mkdir "$ac_dir"
3270 mv conftest.h $ac_file
3275 cat >> $CONFIG_STATUS <<EOF
3279 cat >> $CONFIG_STATUS <<\EOF
3280 test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h
3281 chmod +x ginac-config
3284 chmod +x $CONFIG_STATUS
3285 rm -fr confdefs* $ac_clean_files
3286 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
3288 echo "Configuration done. Now type \"make\"."