source: git/factory/configure @ 2e9262

spielwiese
Last change on this file since 2e9262 was 2e9262, checked in by Jens Schmidt <schmidt@…>, 26 years ago
* configure: configure.in changed git-svn-id: file:///usr/local/Singular/svn/trunk@1402 2c84dea3-7e68-4137-9b89-c4e89433aadc
  • Property mode set to 100755
File size: 66.3 KB
Line 
1#! /bin/sh
2
3# From configure.in Id: configure.in
4# Guess values for system-dependent variables and create Makefiles.
5# Generated automatically using autoconf version 2.10
6# Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7#
8# This configure script is free software; the Free Software Foundation
9# gives unlimited permission to copy, distribute and modify it.
10
11# Defaults:
12ac_help=
13ac_default_prefix=/usr/local
14# Any additions from configure.in:
15ac_help="$ac_help
16  --with-memman(=<memman>) specify Factory memory manager.
17                          <memman> is either \`old' (default), \`new', or \`no'."
18ac_help="$ac_help
19  --with-gmp(=<gmp_inc_path>(,<gmp_lib_path>))
20                          specify where to find gmp library."
21ac_help="$ac_help
22  --with-Singular         build for use with computer algebra system Singular."
23ac_help="$ac_help
24  --disable-streamio      build Factory without stream IO"
25ac_help="$ac_help
26  --enable-memdebug=<level> switch on memory management debugging.  Meaningful
27                          with \`--with-memman=new' only.  <level> may be either
28                          \`no' (default), \`normal', or \`full'."
29ac_help="$ac_help
30  --enable-assertions     build Factory with assertions activated"
31ac_help="$ac_help
32  --enable-timing         build Factory so it will print timing information"
33ac_help="$ac_help
34  --enable-debugoutput    build Factory so it will print debugging information"
35ac_help="$ac_help
36  --enable-gmp            together with \`--with-Singular' means: installation
37                          in process, be graceful when there is no \`gmp.h'"
38
39# Initialize some variables set by options.
40# The variables have the same names as the options, with
41# dashes changed to underlines.
42build=NONE
43cache_file=./config.cache
44exec_prefix=NONE
45host=NONE
46no_create=
47nonopt=NONE
48no_recursion=
49prefix=NONE
50program_prefix=NONE
51program_suffix=NONE
52program_transform_name=s,x,x,
53silent=
54site=
55srcdir=
56target=NONE
57verbose=
58x_includes=NONE
59x_libraries=NONE
60bindir='${exec_prefix}/bin'
61sbindir='${exec_prefix}/sbin'
62libexecdir='${exec_prefix}/libexec'
63datadir='${prefix}/share'
64sysconfdir='${prefix}/etc'
65sharedstatedir='${prefix}/com'
66localstatedir='${prefix}/var'
67libdir='${exec_prefix}/lib'
68includedir='${prefix}/include'
69oldincludedir='/usr/include'
70infodir='${prefix}/info'
71mandir='${prefix}/man'
72
73# Initialize some other variables.
74subdirs=
75MFLAGS= MAKEFLAGS=
76
77ac_prev=
78for ac_option
79do
80
81  # If the previous option needs an argument, assign it.
82  if test -n "$ac_prev"; then
83    eval "$ac_prev=\$ac_option"
84    ac_prev=
85    continue
86  fi
87
88  case "$ac_option" in
89  -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
90  *) ac_optarg= ;;
91  esac
92
93  # Accept the important Cygnus configure options, so we can diagnose typos.
94
95  case "$ac_option" in
96
97  -bindir | --bindir | --bindi | --bind | --bin | --bi)
98    ac_prev=bindir ;;
99  -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
100    bindir="$ac_optarg" ;;
101
102  -build | --build | --buil | --bui | --bu)
103    ac_prev=build ;;
104  -build=* | --build=* | --buil=* | --bui=* | --bu=*)
105    build="$ac_optarg" ;;
106
107  -cache-file | --cache-file | --cache-fil | --cache-fi \
108  | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
109    ac_prev=cache_file ;;
110  -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
111  | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
112    cache_file="$ac_optarg" ;;
113
114  -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
115    ac_prev=datadir ;;
116  -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
117  | --da=*)
118    datadir="$ac_optarg" ;;
119
120  -disable-* | --disable-*)
121    ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
122    # Reject names that are not valid shell variable names.
123    if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
124      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
125    fi
126    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
127    eval "enable_${ac_feature}=no" ;;
128
129  -enable-* | --enable-*)
130    ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
131    # Reject names that are not valid shell variable names.
132    if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
133      { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
134    fi
135    ac_feature=`echo $ac_feature| sed 's/-/_/g'`
136    case "$ac_option" in
137      *=*) ;;
138      *) ac_optarg=yes ;;
139    esac
140    eval "enable_${ac_feature}='$ac_optarg'" ;;
141
142  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
143  | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
144  | --exec | --exe | --ex)
145    ac_prev=exec_prefix ;;
146  -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
147  | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
148  | --exec=* | --exe=* | --ex=*)
149    exec_prefix="$ac_optarg" ;;
150
151  -gas | --gas | --ga | --g)
152    # Obsolete; use --with-gas.
153    with_gas=yes ;;
154
155  -help | --help | --hel | --he)
156    # Omit some internal or obsolete options to make the list less imposing.
157    # This message is too long to be a string in the A/UX 3.1 sh.
158    cat << EOF
159Usage: configure [options] [host]
160Options: [defaults in brackets after descriptions]
161Configuration:
162  --cache-file=FILE       cache test results in FILE
163  --help                  print this message
164  --no-create             do not create output files
165  --quiet, --silent       do not print \`checking...' messages
166  --version               print the version of autoconf that created configure
167Directory and file names:
168  --prefix=PREFIX         install architecture-independent files in PREFIX
169                          [$ac_default_prefix]
170  --exec-prefix=EPREFIX   install architecture-dependent files in EPREFIX
171                          [same as prefix]
172  --bindir=DIR            user executables in DIR [EPREFIX/bin]
173  --sbindir=DIR           system admin executables in DIR [EPREFIX/sbin]
174  --libexecdir=DIR        program executables in DIR [EPREFIX/libexec]
175  --datadir=DIR           read-only architecture-independent data in DIR
176                          [PREFIX/share]
177  --sysconfdir=DIR        read-only single-machine data in DIR [PREFIX/etc]
178  --sharedstatedir=DIR    modifiable architecture-independent data in DIR
179                          [PREFIX/com]
180  --localstatedir=DIR     modifiable single-machine data in DIR [PREFIX/var]
181  --libdir=DIR            object code libraries in DIR [EPREFIX/lib]
182  --includedir=DIR        C header files in DIR [PREFIX/include]
183  --oldincludedir=DIR     C header files for non-gcc in DIR [/usr/include]
184  --infodir=DIR           info documentation in DIR [PREFIX/info]
185  --mandir=DIR            man documentation in DIR [PREFIX/man]
186  --srcdir=DIR            find the sources in DIR [configure dir or ..]
187  --program-prefix=PREFIX prepend PREFIX to installed program names
188  --program-suffix=SUFFIX append SUFFIX to installed program names
189  --program-transform-name=PROGRAM
190                          run sed PROGRAM on installed program names
191EOF
192    cat << EOF
193Host type:
194  --build=BUILD           configure for building on BUILD [BUILD=HOST]
195  --host=HOST             configure for HOST [guessed]
196  --target=TARGET         configure for TARGET [TARGET=HOST]
197Features and packages:
198  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
199  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
200  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
201  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
202  --x-includes=DIR        X include files are in DIR
203  --x-libraries=DIR       X library files are in DIR
204EOF
205    if test -n "$ac_help"; then
206      echo "--enable and --with options recognized:$ac_help"
207    fi
208    exit 0 ;;
209
210  -host | --host | --hos | --ho)
211    ac_prev=host ;;
212  -host=* | --host=* | --hos=* | --ho=*)
213    host="$ac_optarg" ;;
214
215  -includedir | --includedir | --includedi | --included | --include \
216  | --includ | --inclu | --incl | --inc)
217    ac_prev=includedir ;;
218  -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
219  | --includ=* | --inclu=* | --incl=* | --inc=*)
220    includedir="$ac_optarg" ;;
221
222  -infodir | --infodir | --infodi | --infod | --info | --inf)
223    ac_prev=infodir ;;
224  -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
225    infodir="$ac_optarg" ;;
226
227  -libdir | --libdir | --libdi | --libd)
228    ac_prev=libdir ;;
229  -libdir=* | --libdir=* | --libdi=* | --libd=*)
230    libdir="$ac_optarg" ;;
231
232  -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
233  | --libexe | --libex | --libe)
234    ac_prev=libexecdir ;;
235  -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
236  | --libexe=* | --libex=* | --libe=*)
237    libexecdir="$ac_optarg" ;;
238
239  -localstatedir | --localstatedir | --localstatedi | --localstated \
240  | --localstate | --localstat | --localsta | --localst \
241  | --locals | --local | --loca | --loc | --lo)
242    ac_prev=localstatedir ;;
243  -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
244  | --localstate=* | --localstat=* | --localsta=* | --localst=* \
245  | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
246    localstatedir="$ac_optarg" ;;
247
248  -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
249    ac_prev=mandir ;;
250  -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
251    mandir="$ac_optarg" ;;
252
253  -nfp | --nfp | --nf)
254    # Obsolete; use --without-fp.
255    with_fp=no ;;
256
257  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
258  | --no-cr | --no-c)
259    no_create=yes ;;
260
261  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
262  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
263    no_recursion=yes ;;
264
265  -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
266  | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
267  | --oldin | --oldi | --old | --ol | --o)
268    ac_prev=oldincludedir ;;
269  -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
270  | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
271  | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
272    oldincludedir="$ac_optarg" ;;
273
274  -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
275    ac_prev=prefix ;;
276  -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
277    prefix="$ac_optarg" ;;
278
279  -program-prefix | --program-prefix | --program-prefi | --program-pref \
280  | --program-pre | --program-pr | --program-p)
281    ac_prev=program_prefix ;;
282  -program-prefix=* | --program-prefix=* | --program-prefi=* \
283  | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
284    program_prefix="$ac_optarg" ;;
285
286  -program-suffix | --program-suffix | --program-suffi | --program-suff \
287  | --program-suf | --program-su | --program-s)
288    ac_prev=program_suffix ;;
289  -program-suffix=* | --program-suffix=* | --program-suffi=* \
290  | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
291    program_suffix="$ac_optarg" ;;
292
293  -program-transform-name | --program-transform-name \
294  | --program-transform-nam | --program-transform-na \
295  | --program-transform-n | --program-transform- \
296  | --program-transform | --program-transfor \
297  | --program-transfo | --program-transf \
298  | --program-trans | --program-tran \
299  | --progr-tra | --program-tr | --program-t)
300    ac_prev=program_transform_name ;;
301  -program-transform-name=* | --program-transform-name=* \
302  | --program-transform-nam=* | --program-transform-na=* \
303  | --program-transform-n=* | --program-transform-=* \
304  | --program-transform=* | --program-transfor=* \
305  | --program-transfo=* | --program-transf=* \
306  | --program-trans=* | --program-tran=* \
307  | --progr-tra=* | --program-tr=* | --program-t=*)
308    program_transform_name="$ac_optarg" ;;
309
310  -q | -quiet | --quiet | --quie | --qui | --qu | --q \
311  | -silent | --silent | --silen | --sile | --sil)
312    silent=yes ;;
313
314  -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
315    ac_prev=sbindir ;;
316  -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
317  | --sbi=* | --sb=*)
318    sbindir="$ac_optarg" ;;
319
320  -sharedstatedir | --sharedstatedir | --sharedstatedi \
321  | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
322  | --sharedst | --shareds | --shared | --share | --shar \
323  | --sha | --sh)
324    ac_prev=sharedstatedir ;;
325  -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
326  | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
327  | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
328  | --sha=* | --sh=*)
329    sharedstatedir="$ac_optarg" ;;
330
331  -site | --site | --sit)
332    ac_prev=site ;;
333  -site=* | --site=* | --sit=*)
334    site="$ac_optarg" ;;
335
336  -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
337    ac_prev=srcdir ;;
338  -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
339    srcdir="$ac_optarg" ;;
340
341  -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
342  | --syscon | --sysco | --sysc | --sys | --sy)
343    ac_prev=sysconfdir ;;
344  -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
345  | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
346    sysconfdir="$ac_optarg" ;;
347
348  -target | --target | --targe | --targ | --tar | --ta | --t)
349    ac_prev=target ;;
350  -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
351    target="$ac_optarg" ;;
352
353  -v | -verbose | --verbose | --verbos | --verbo | --verb)
354    verbose=yes ;;
355
356  -version | --version | --versio | --versi | --vers)
357    echo "configure generated by autoconf version 2.10"
358    exit 0 ;;
359
360  -with-* | --with-*)
361    ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
362    # Reject names that are not valid shell variable names.
363    if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
364      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
365    fi
366    ac_package=`echo $ac_package| sed 's/-/_/g'`
367    case "$ac_option" in
368      *=*) ;;
369      *) ac_optarg=yes ;;
370    esac
371    eval "with_${ac_package}='$ac_optarg'" ;;
372
373  -without-* | --without-*)
374    ac_package=`echo $ac_option|sed -e 's/-*without-//'`
375    # Reject names that are not valid shell variable names.
376    if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
377      { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
378    fi
379    ac_package=`echo $ac_package| sed 's/-/_/g'`
380    eval "with_${ac_package}=no" ;;
381
382  --x)
383    # Obsolete; use --with-x.
384    with_x=yes ;;
385
386  -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
387  | --x-incl | --x-inc | --x-in | --x-i)
388    ac_prev=x_includes ;;
389  -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
390  | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
391    x_includes="$ac_optarg" ;;
392
393  -x-libraries | --x-libraries | --x-librarie | --x-librari \
394  | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
395    ac_prev=x_libraries ;;
396  -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
397  | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
398    x_libraries="$ac_optarg" ;;
399
400  -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
401    ;;
402
403  *)
404    if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
405      echo "configure: warning: $ac_option: invalid host type" 1>&2
406    fi
407    if test "x$nonopt" != xNONE; then
408      { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
409    fi
410    nonopt="$ac_option"
411    ;;
412
413  esac
414done
415
416if test -n "$ac_prev"; then
417  { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
418fi
419
420trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
421
422# File descriptor usage:
423# 0 standard input
424# 1 file creation
425# 2 errors and warnings
426# 3 some systems may open it to /dev/tty
427# 4 used on the Kubota Titan
428# 6 checking for... messages and results
429# 5 compiler messages saved in config.log
430if test "$silent" = yes; then
431  exec 6>/dev/null
432else
433  exec 6>&1
434fi
435exec 5>./config.log
436
437echo "\
438This file contains any messages produced by compilers while
439running configure, to aid debugging if configure makes a mistake.
440" 1>&5
441
442# Strip out --no-create and --no-recursion so they do not pile up.
443# Also quote any args containing shell metacharacters.
444ac_configure_args=
445for ac_arg
446do
447  case "$ac_arg" in
448  -no-create | --no-create | --no-creat | --no-crea | --no-cre \
449  | --no-cr | --no-c) ;;
450  -no-recursion | --no-recursion | --no-recursio | --no-recursi \
451  | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
452  *" "*|*"      "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
453  ac_configure_args="$ac_configure_args '$ac_arg'" ;;
454  *) ac_configure_args="$ac_configure_args $ac_arg" ;;
455  esac
456done
457
458# NLS nuisances.
459# Only set LANG and LC_ALL to C if already set.
460# These must not be set unconditionally because not all systems understand
461# e.g. LANG=C (notably SCO).
462if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
463if test "${LANG+set}"   = set; then LANG=C;   export LANG;   fi
464
465# confdefs.h avoids OS command line length limits that DEFS can exceed.
466rm -rf conftest* confdefs.h
467# AIX cpp loses on an empty file, so make sure it contains at least a newline.
468echo > confdefs.h
469
470# A filename unique to this package, relative to the directory that
471# configure is in, which we can look for to find out if srcdir is correct.
472ac_unique_file=canonicalform.cc
473
474# Find the source files, if location was not specified.
475if test -z "$srcdir"; then
476  ac_srcdir_defaulted=yes
477  # Try the directory containing this script, then its parent.
478  ac_prog=$0
479  ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
480  test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
481  srcdir=$ac_confdir
482  if test ! -r $srcdir/$ac_unique_file; then
483    srcdir=..
484  fi
485else
486  ac_srcdir_defaulted=no
487fi
488if test ! -r $srcdir/$ac_unique_file; then
489  if test "$ac_srcdir_defaulted" = yes; then
490    { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
491  else
492    { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
493  fi
494fi
495srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
496
497# Prefer explicitly selected file to automatically selected ones.
498if test -z "$CONFIG_SITE"; then
499  if test "x$prefix" != xNONE; then
500    CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
501  else
502    CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
503  fi
504fi
505for ac_site_file in $CONFIG_SITE; do
506  if test -r "$ac_site_file"; then
507    echo "loading site script $ac_site_file"
508    . "$ac_site_file"
509  fi
510done
511
512if test -r "$cache_file"; then
513  echo "loading cache $cache_file"
514  . $cache_file
515else
516  echo "creating cache $cache_file"
517  > $cache_file
518fi
519
520ac_ext=c
521# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
522ac_cpp='$CPP $CPPFLAGS'
523ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
524ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
525
526if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
527  # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
528  if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
529    ac_n= ac_c='
530' ac_t='        '
531  else
532    ac_n=-n ac_c= ac_t=
533  fi
534else
535  ac_n= ac_c='\c' ac_t=
536fi
537
538
539
540ac_aux_dir=
541for ac_dir in bin $srcdir/bin; do
542  if test -f $ac_dir/install-sh; then
543    ac_aux_dir=$ac_dir
544    ac_install_sh="$ac_aux_dir/install-sh -c"
545    break
546  elif test -f $ac_dir/install.sh; then
547    ac_aux_dir=$ac_dir
548    ac_install_sh="$ac_aux_dir/install.sh -c"
549    break
550  fi
551done
552if test -z "$ac_aux_dir"; then
553  { echo "configure: error: can not find install-sh or install.sh in bin $srcdir/bin" 1>&2; exit 1; }
554fi
555ac_config_guess=$ac_aux_dir/config.guess
556ac_config_sub=$ac_aux_dir/config.sub
557ac_configure=$ac_aux_dir/configure # This should be Cygnus configure.
558
559
560#
561# Do not change version here!!!
562#
563factory_version="1.3b"
564factory_configuration="'$ac_configure_args' in `pwd`"
565
566#
567# - check withs and enables.
568#
569# Check whether --with-memman or --without-memman was given.
570if test "${with_memman+set}" = set; then
571  withval="$with_memman"
572  :
573else
574   if test "x$with_Singular" = xyes; then
575      with_memman=no
576    else
577      with_memman=old
578    fi
579fi
580
581
582# font-lock-trick: '
583
584# Check whether --with-gmp or --without-gmp was given.
585if test "${with_gmp+set}" = set; then
586  withval="$with_gmp"
587  :
588fi
589
590
591# Check whether --with-Singular or --without-Singular was given.
592if test "${with_Singular+set}" = set; then
593  withval="$with_Singular"
594  :
595else
596  with_Singular=no
597fi
598
599
600# Check whether --enable-streamio or --disable-streamio was given.
601if test "${enable_streamio+set}" = set; then
602  enableval="$enable_streamio"
603  :
604else
605   if test "x$with_Singular" = xyes; then
606      enable_streamio=no
607    else
608      enable_streamio=yes
609    fi
610fi
611
612
613# Check whether --enable-memdebug or --disable-memdebug was given.
614if test "${enable_memdebug+set}" = set; then
615  enableval="$enable_memdebug"
616  :
617else
618  enable_memdebug=no
619fi
620
621
622# Check whether --enable-assertions or --disable-assertions was given.
623if test "${enable_assertions+set}" = set; then
624  enableval="$enable_assertions"
625  :
626else
627  enable_assertions=no
628fi
629
630
631# Check whether --enable-timing or --disable-timing was given.
632if test "${enable_timing+set}" = set; then
633  enableval="$enable_timing"
634  :
635else
636  enable_timing=no
637fi
638
639
640# Check whether --enable-debugoutput or --disable-debugoutput was given.
641if test "${enable_debugoutput+set}" = set; then
642  enableval="$enable_debugoutput"
643  :
644else
645  enable_debugoutput=no
646fi
647
648
649# an ugly tribute to Singular
650# Check whether --enable-gmp or --disable-gmp was given.
651if test "${enable_gmp+set}" = set; then
652  enableval="$enable_gmp"
653   if test "x$with_Singular" = xyes && test "x$enable_gmp" != xno; then
654      with_gmp='$(includedir)'
655    fi
656fi
657
658
659#
660# - check the results of --with-gmp.
661#
662case "$with_gmp" in
663  yes|no|"")
664    gmp_in_installation=no ;;
665  '$(includedir)'|'${includedir}')
666    gmp_in_installation=yes ;;
667  *,*)
668    saveIFS="$IFS"; IFS="${IFS},"
669    set dummy $with_gmp
670    IFS="$saveIFS"
671    CPPFLAGS="-I$2 $CPPFLAGS"
672    LDFLAGS="-L$3 $LDFLAGS"
673    gmp_in_installation=no ;;
674  *)
675    CPPFLAGS="-I$with_gmp $CPPFLAGS"
676    LDFLAGS="-L$with_gmp/../lib $LDFLAGS"
677    gmp_in_installation=no ;;
678esac
679
680#
681# - check for CC and CXX but be careful about CFLAGS.
682#
683test "${CFLAGS+set}" = set || cflags_expl_set=no
684# Extract the first word of "gcc", so it can be a program name with args.
685set dummy gcc; ac_word=$2
686echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
687if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
688  echo $ac_n "(cached) $ac_c" 1>&6
689else
690  if test -n "$CC"; then
691  ac_cv_prog_CC="$CC" # Let the user override the test.
692else
693  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
694  for ac_dir in $PATH; do
695    test -z "$ac_dir" && ac_dir=.
696    if test -f $ac_dir/$ac_word; then
697      ac_cv_prog_CC="gcc"
698      break
699    fi
700  done
701  IFS="$ac_save_ifs"
702fi
703fi
704CC="$ac_cv_prog_CC"
705if test -n "$CC"; then
706  echo "$ac_t""$CC" 1>&6
707else
708  echo "$ac_t""no" 1>&6
709fi
710
711if test -z "$CC"; then
712  # Extract the first word of "cc", so it can be a program name with args.
713set dummy cc; ac_word=$2
714echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
715if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
716  echo $ac_n "(cached) $ac_c" 1>&6
717else
718  if test -n "$CC"; then
719  ac_cv_prog_CC="$CC" # Let the user override the test.
720else
721  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
722  ac_prog_rejected=no
723  for ac_dir in $PATH; do
724    test -z "$ac_dir" && ac_dir=.
725    if test -f $ac_dir/$ac_word; then
726      if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
727        ac_prog_rejected=yes
728        continue
729      fi
730      ac_cv_prog_CC="cc"
731      break
732    fi
733  done
734  IFS="$ac_save_ifs"
735if test $ac_prog_rejected = yes; then
736  # We found a bogon in the path, so make sure we never use it.
737  set dummy $ac_cv_prog_CC
738  shift
739  if test $# -gt 0; then
740    # We chose a different compiler from the bogus one.
741    # However, it has the same basename, so the bogon will be chosen
742    # first if we set CC to just the basename; use the full file name.
743    shift
744    set dummy "$ac_dir/$ac_word" "$@"
745    shift
746    ac_cv_prog_CC="$@"
747  fi
748fi
749fi
750fi
751CC="$ac_cv_prog_CC"
752if test -n "$CC"; then
753  echo "$ac_t""$CC" 1>&6
754else
755  echo "$ac_t""no" 1>&6
756fi
757
758  test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
759fi
760
761echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
762if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
763  echo $ac_n "(cached) $ac_c" 1>&6
764else
765  cat > conftest.c <<EOF
766#ifdef __GNUC__
767  yes;
768#endif
769EOF
770if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:771: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
771  ac_cv_prog_gcc=yes
772else
773  ac_cv_prog_gcc=no
774fi
775fi
776
777echo "$ac_t""$ac_cv_prog_gcc" 1>&6
778if test $ac_cv_prog_gcc = yes; then
779  GCC=yes
780  if test "${CFLAGS+set}" != set; then
781    echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
782if eval "test \"`echo '$''{'ac_cv_prog_gcc_g'+set}'`\" = set"; then
783  echo $ac_n "(cached) $ac_c" 1>&6
784else
785  echo 'void f(){}' > conftest.c
786if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
787  ac_cv_prog_gcc_g=yes
788else
789  ac_cv_prog_gcc_g=no
790fi
791rm -f conftest*
792
793fi
794
795echo "$ac_t""$ac_cv_prog_gcc_g" 1>&6
796    if test $ac_cv_prog_gcc_g = yes; then
797      CFLAGS="-g -O"
798    else
799      CFLAGS="-O"
800    fi
801  fi
802else
803  GCC=
804  test "${CFLAGS+set}" = set || CFLAGS="-g"
805fi
806
807test "${CXXFLAGS+set}" = set || cxxflags_expl_set=no
808for ac_prog in $CCC c++ g++ gcc CC cxx
809do
810# Extract the first word of "$ac_prog", so it can be a program name with args.
811set dummy $ac_prog; ac_word=$2
812echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
813if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then
814  echo $ac_n "(cached) $ac_c" 1>&6
815else
816  if test -n "$CXX"; then
817  ac_cv_prog_CXX="$CXX" # Let the user override the test.
818else
819  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
820  for ac_dir in $PATH; do
821    test -z "$ac_dir" && ac_dir=.
822    if test -f $ac_dir/$ac_word; then
823      ac_cv_prog_CXX="$ac_prog"
824      break
825    fi
826  done
827  IFS="$ac_save_ifs"
828fi
829fi
830CXX="$ac_cv_prog_CXX"
831if test -n "$CXX"; then
832  echo "$ac_t""$CXX" 1>&6
833else
834  echo "$ac_t""no" 1>&6
835fi
836
837test -n "$CXX" && break
838done
839test -n "$CXX" || CXX="gcc"
840
841
842echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6
843if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then
844  echo $ac_n "(cached) $ac_c" 1>&6
845else
846  cat > conftest.C <<EOF
847#ifdef __GNUC__
848  yes;
849#endif
850EOF
851if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
852  ac_cv_prog_gxx=yes
853else
854  ac_cv_prog_gxx=no
855fi
856fi
857
858echo "$ac_t""$ac_cv_prog_gxx" 1>&6
859if test $ac_cv_prog_gxx = yes; then
860  GXX=yes
861  if test "${CXXFLAGS+set}" != set; then
862    echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6
863if eval "test \"`echo '$''{'ac_cv_prog_gxx_g'+set}'`\" = set"; then
864  echo $ac_n "(cached) $ac_c" 1>&6
865else
866  echo 'void f(){}' > conftest.cc
867if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then
868  ac_cv_prog_gxx_g=yes
869else
870  ac_cv_prog_gxx_g=no
871fi
872rm -f conftest*
873
874fi
875
876echo "$ac_t""$ac_cv_prog_gxx_g" 1>&6
877    if test $ac_cv_prog_gxx_g = yes; then
878      CXXFLAGS="-g -O"
879    else
880      CXXFLAGS="-O"
881    fi
882  fi
883else
884  GXX=
885  test "${CXXFLAGS+set}" = set || CXXFLAGS="-g"
886fi
887
888if test "x$GCC" != xyes && test "x$GXX" != xyes; then
889  echo "configure: warning: you better use gcc to compile Factory" 1>&2
890else
891  if test "x$GXX" = xyes && test "x$cxxflags_expl_set" = xno; then
892    echo "configure: warning: we will use \`-O2 -fomit-frame-pointer' as default for \`CXXFLAGS'
893                    (instead of the configure default \`-g -O')" 1>&2
894  fi
895  if test "x$GCC" = xyes && test "x$cflags_expl_set" = xno; then
896    echo "configure: warning: we will use \`-O2 -fomit-frame-pointer' as default for \`CFLAGS'
897                    (instead of the configure default \`-g -O')" 1>&2
898  fi
899fi
900
901#
902# - check for some other programs.
903#
904echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
905# On Suns, sometimes $CPP names a directory.
906if test -n "$CPP" && test -d "$CPP"; then
907  CPP=
908fi
909if test -z "$CPP"; then
910if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
911  echo $ac_n "(cached) $ac_c" 1>&6
912else
913    # This must be in double quotes, not single quotes, because CPP may get
914  # substituted into the Makefile and "${CC-cc}" will confuse make.
915  CPP="${CC-cc} -E"
916  # On the NeXT, cc -E runs the code through the compiler's parser,
917  # not just through cpp.
918  cat > conftest.$ac_ext <<EOF
919#line 920 "configure"
920#include "confdefs.h"
921#include <assert.h>
922Syntax Error
923EOF
924ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
925{ (eval echo configure:926: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
926ac_err=`grep -v '^ *+' conftest.out`
927if test -z "$ac_err"; then
928  :
929else
930  echo "$ac_err" >&5
931  rm -rf conftest*
932  CPP="${CC-cc} -E -traditional-cpp"
933  cat > conftest.$ac_ext <<EOF
934#line 935 "configure"
935#include "confdefs.h"
936#include <assert.h>
937Syntax Error
938EOF
939ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
940{ (eval echo configure:941: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
941ac_err=`grep -v '^ *+' conftest.out`
942if test -z "$ac_err"; then
943  :
944else
945  echo "$ac_err" >&5
946  rm -rf conftest*
947  CPP=/lib/cpp
948fi
949rm -f conftest*
950fi
951rm -f conftest*
952  ac_cv_prog_CPP="$CPP"
953fi
954  CPP="$ac_cv_prog_CPP"
955else
956  ac_cv_prog_CPP="$CPP"
957fi
958echo "$ac_t""$CPP" 1>&6
959
960echo $ac_n "checking how to run the C++ preprocessor""... $ac_c" 1>&6
961if test -z "$CXXCPP"; then
962if eval "test \"`echo '$''{'ac_cv_prog_CXXCPP'+set}'`\" = set"; then
963  echo $ac_n "(cached) $ac_c" 1>&6
964else
965  ac_ext=C
966# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
967ac_cpp='$CXXCPP $CPPFLAGS'
968ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
969ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
970  CXXCPP="${CXX-g++} -E"
971  cat > conftest.$ac_ext <<EOF
972#line 973 "configure"
973#include "confdefs.h"
974#include <stdlib.h>
975EOF
976ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
977{ (eval echo configure:978: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
978ac_err=`grep -v '^ *+' conftest.out`
979if test -z "$ac_err"; then
980  :
981else
982  echo "$ac_err" >&5
983  rm -rf conftest*
984  CXXCPP=/lib/cpp
985fi
986rm -f conftest*
987  ac_cv_prog_CXXCPP="$CXXCPP"
988ac_ext=c
989# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
990ac_cpp='$CPP $CPPFLAGS'
991ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
992ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
993fi
994fi
995CXXCPP="$ac_cv_prog_CXXCPP"
996echo "$ac_t""$CXXCPP" 1>&6
997
998echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
999if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
1000  echo $ac_n "(cached) $ac_c" 1>&6
1001else
1002  rm -f conftestdata
1003if ln -s X conftestdata 2>/dev/null
1004then
1005  rm -f conftestdata
1006  ac_cv_prog_LN_S="ln -s"
1007else
1008  ac_cv_prog_LN_S=ln
1009fi
1010fi
1011LN_S="$ac_cv_prog_LN_S"
1012if test "$ac_cv_prog_LN_S" = "ln -s"; then
1013  echo "$ac_t""yes" 1>&6
1014else
1015  echo "$ac_t""no" 1>&6
1016fi
1017
1018# Find a good install program.  We prefer a C program (faster),
1019# so one script is as good as another.  But avoid the broken or
1020# incompatible versions:
1021# SysV /etc/install, /usr/sbin/install
1022# SunOS /usr/etc/install
1023# IRIX /sbin/install
1024# AIX /bin/install
1025# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1026# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1027# ./install, which can be erroneously created by make from ./install.sh.
1028echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
1029if test -z "$INSTALL"; then
1030if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
1031  echo $ac_n "(cached) $ac_c" 1>&6
1032else
1033    IFS="${IFS=         }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1034  for ac_dir in $PATH; do
1035    # Account for people who put trailing slashes in PATH elements.
1036    case "$ac_dir/" in
1037    /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;;
1038    *)
1039      # OSF1 and SCO ODT 3.0 have their own names for install.
1040      for ac_prog in ginstall installbsd scoinst install; do
1041        if test -f $ac_dir/$ac_prog; then
1042          if test $ac_prog = install &&
1043            grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then
1044            # AIX install.  It has an incompatible calling convention.
1045            # OSF/1 installbsd also uses dspmsg, but is usable.
1046            :
1047          else
1048            ac_cv_path_install="$ac_dir/$ac_prog -c"
1049            break 2
1050          fi
1051        fi
1052      done
1053      ;;
1054    esac
1055  done
1056  IFS="$ac_save_ifs"
1057
1058fi
1059  if test "${ac_cv_path_install+set}" = set; then
1060    INSTALL="$ac_cv_path_install"
1061  else
1062    # As a last resort, use the slow shell script.  We don't cache a
1063    # path for INSTALL within a source directory, because that will
1064    # break other packages using the cache if that directory is
1065    # removed, or if the path is relative.
1066    INSTALL="$ac_install_sh"
1067  fi
1068fi
1069echo "$ac_t""$INSTALL" 1>&6
1070
1071# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1072# It thinks the first close brace ends the variable substitution.
1073test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1074
1075test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1076
1077# Extract the first word of "ranlib", so it can be a program name with args.
1078set dummy ranlib; ac_word=$2
1079echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1080if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
1081  echo $ac_n "(cached) $ac_c" 1>&6
1082else
1083  if test -n "$RANLIB"; then
1084  ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
1085else
1086  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1087  for ac_dir in $PATH; do
1088    test -z "$ac_dir" && ac_dir=.
1089    if test -f $ac_dir/$ac_word; then
1090      ac_cv_prog_RANLIB="ranlib"
1091      break
1092    fi
1093  done
1094  IFS="$ac_save_ifs"
1095  test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB=":"
1096fi
1097fi
1098RANLIB="$ac_cv_prog_RANLIB"
1099if test -n "$RANLIB"; then
1100  echo "$ac_t""$RANLIB" 1>&6
1101else
1102  echo "$ac_t""no" 1>&6
1103fi
1104
1105echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
1106set dummy ${MAKE-make}; ac_make=$2
1107if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
1108  echo $ac_n "(cached) $ac_c" 1>&6
1109else
1110  cat > conftestmake <<\EOF
1111all:
1112        @echo 'ac_maketemp="${MAKE}"'
1113EOF
1114# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1115eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
1116if test -n "$ac_maketemp"; then
1117  eval ac_cv_prog_make_${ac_make}_set=yes
1118else
1119  eval ac_cv_prog_make_${ac_make}_set=no
1120fi
1121rm -f conftestmake
1122fi
1123if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1124  echo "$ac_t""yes" 1>&6
1125  SET_MAKE=
1126else
1127  echo "$ac_t""no" 1>&6
1128  SET_MAKE="MAKE=${MAKE-make}"
1129fi
1130
1131# Extract the first word of "ar", so it can be a program name with args.
1132set dummy ar; ac_word=$2
1133echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1134if eval "test \"`echo '$''{'ac_cv_prog_AR'+set}'`\" = set"; then
1135  echo $ac_n "(cached) $ac_c" 1>&6
1136else
1137  if test -n "$AR"; then
1138  ac_cv_prog_AR="$AR" # Let the user override the test.
1139else
1140  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1141  for ac_dir in $PATH; do
1142    test -z "$ac_dir" && ac_dir=.
1143    if test -f $ac_dir/$ac_word; then
1144      ac_cv_prog_AR="ar"
1145      break
1146    fi
1147  done
1148  IFS="$ac_save_ifs"
1149  test -z "$ac_cv_prog_AR" && ac_cv_prog_AR="where-is-your-ar"
1150fi
1151fi
1152AR="$ac_cv_prog_AR"
1153if test -n "$AR"; then
1154  echo "$ac_t""$AR" 1>&6
1155else
1156  echo "$ac_t""no" 1>&6
1157fi
1158
1159# Extract the first word of "m4", so it can be a program name with args.
1160set dummy m4; ac_word=$2
1161echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1162if eval "test \"`echo '$''{'ac_cv_prog_M4'+set}'`\" = set"; then
1163  echo $ac_n "(cached) $ac_c" 1>&6
1164else
1165  if test -n "$M4"; then
1166  ac_cv_prog_M4="$M4" # Let the user override the test.
1167else
1168  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1169  for ac_dir in $PATH; do
1170    test -z "$ac_dir" && ac_dir=.
1171    if test -f $ac_dir/$ac_word; then
1172      ac_cv_prog_M4="m4"
1173      break
1174    fi
1175  done
1176  IFS="$ac_save_ifs"
1177  test -z "$ac_cv_prog_M4" && ac_cv_prog_M4="where-is-your-m4"
1178fi
1179fi
1180M4="$ac_cv_prog_M4"
1181if test -n "$M4"; then
1182  echo "$ac_t""$M4" 1>&6
1183else
1184  echo "$ac_t""no" 1>&6
1185fi
1186
1187# Extract the first word of "bison", so it can be a program name with args.
1188set dummy bison; ac_word=$2
1189echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1190if eval "test \"`echo '$''{'ac_cv_prog_BISON'+set}'`\" = set"; then
1191  echo $ac_n "(cached) $ac_c" 1>&6
1192else
1193  if test -n "$BISON"; then
1194  ac_cv_prog_BISON="$BISON" # Let the user override the test.
1195else
1196  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1197  for ac_dir in $PATH; do
1198    test -z "$ac_dir" && ac_dir=.
1199    if test -f $ac_dir/$ac_word; then
1200      ac_cv_prog_BISON="bison"
1201      break
1202    fi
1203  done
1204  IFS="$ac_save_ifs"
1205  test -z "$ac_cv_prog_BISON" && ac_cv_prog_BISON="where-is-your-bison"
1206fi
1207fi
1208BISON="$ac_cv_prog_BISON"
1209if test -n "$BISON"; then
1210  echo "$ac_t""$BISON" 1>&6
1211else
1212  echo "$ac_t""no" 1>&6
1213fi
1214
1215
1216# do not use `MKINSTALLDIRS' and `MAKEHEADER' since there may be
1217# name clashes with other peoples configure scripts via
1218# `config.cache'.  Furthermore, we do not use cache at all to
1219# avoid some nasty problems with our own development environment.
1220unset ac_cv_path_FACTORY_MKINSTALLDIRS
1221unset ac_cv_path_FACTORY_MAKEHEADER
1222# Extract the first word of "mkinstalldirs", so it can be a program name with args.
1223set dummy mkinstalldirs; ac_word=$2
1224echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1225if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MKINSTALLDIRS'+set}'`\" = set"; then
1226  echo $ac_n "(cached) $ac_c" 1>&6
1227else
1228  case "$FACTORY_MKINSTALLDIRS" in
1229  /*)
1230  ac_cv_path_FACTORY_MKINSTALLDIRS="$FACTORY_MKINSTALLDIRS" # Let the user override the test with a path.
1231  ;;
1232  *)
1233  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1234  for ac_dir in $PATH:$srcdir/bin; do
1235    test -z "$ac_dir" && ac_dir=.
1236    if test -f $ac_dir/$ac_word; then
1237      ac_cv_path_FACTORY_MKINSTALLDIRS="$ac_dir/$ac_word"
1238      break
1239    fi
1240  done
1241  IFS="$ac_save_ifs"
1242  test -z "$ac_cv_path_FACTORY_MKINSTALLDIRS" && ac_cv_path_FACTORY_MKINSTALLDIRS="-mkdir"
1243  ;;
1244esac
1245fi
1246FACTORY_MKINSTALLDIRS="$ac_cv_path_FACTORY_MKINSTALLDIRS"
1247if test -n "$FACTORY_MKINSTALLDIRS"; then
1248  echo "$ac_t""$FACTORY_MKINSTALLDIRS" 1>&6
1249else
1250  echo "$ac_t""no" 1>&6
1251fi
1252
1253# Extract the first word of "makeheader", so it can be a program name with args.
1254set dummy makeheader; ac_word=$2
1255echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1256if eval "test \"`echo '$''{'ac_cv_path_FACTORY_MAKEHEADER'+set}'`\" = set"; then
1257  echo $ac_n "(cached) $ac_c" 1>&6
1258else
1259  case "$FACTORY_MAKEHEADER" in
1260  /*)
1261  ac_cv_path_FACTORY_MAKEHEADER="$FACTORY_MAKEHEADER" # Let the user override the test with a path.
1262  ;;
1263  *)
1264  IFS="${IFS=   }"; ac_save_ifs="$IFS"; IFS="${IFS}:"
1265  for ac_dir in $srcdir/bin:$PATH; do
1266    test -z "$ac_dir" && ac_dir=.
1267    if test -f $ac_dir/$ac_word; then
1268      ac_cv_path_FACTORY_MAKEHEADER="$ac_dir/$ac_word"
1269      break
1270    fi
1271  done
1272  IFS="$ac_save_ifs"
1273  ;;
1274esac
1275fi
1276FACTORY_MAKEHEADER="$ac_cv_path_FACTORY_MAKEHEADER"
1277if test -n "$FACTORY_MAKEHEADER"; then
1278  echo "$ac_t""$FACTORY_MAKEHEADER" 1>&6
1279else
1280  echo "$ac_t""no" 1>&6
1281fi
1282
1283
1284#
1285# - check for libraries.
1286#
1287echo $ac_n "checking for -lm""... $ac_c" 1>&6
1288ac_lib_var=`echo m'_'atof | tr './+\055' '__p_'`
1289if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1290  echo $ac_n "(cached) $ac_c" 1>&6
1291else
1292  ac_save_LIBS="$LIBS"
1293LIBS="-lm  $LIBS"
1294cat > conftest.$ac_ext <<EOF
1295#line 1296 "configure"
1296#include "confdefs.h"
1297/* Override any gcc2 internal prototype to avoid an error.  */
1298/* We use char because int might match the return type of a gcc2
1299    builtin and then its argument prototype would still apply.  */
1300char atof();
1301
1302int main() { return 0; }
1303int t() {
1304atof()
1305; return 0; }
1306EOF
1307if { (eval echo configure:1308: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1308  rm -rf conftest*
1309  eval "ac_cv_lib_$ac_lib_var=yes"
1310else
1311  rm -rf conftest*
1312  eval "ac_cv_lib_$ac_lib_var=no"
1313fi
1314rm -f conftest*
1315LIBS="$ac_save_LIBS"
1316
1317fi
1318if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1319  echo "$ac_t""yes" 1>&6
1320    ac_tr_lib=HAVE_LIB`echo m | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1321  cat >> confdefs.h <<EOF
1322#define $ac_tr_lib 1
1323EOF
1324
1325  LIBS="-lm $LIBS"
1326
1327else
1328  echo "$ac_t""no" 1>&6
1329 { echo "configure: error: libm.a not found" 1>&2; exit 1; }
1330fi
1331
1332
1333if test "x$gmp_in_installation" != xyes; then
1334  echo $ac_n "checking for -lgmp""... $ac_c" 1>&6
1335ac_lib_var=`echo gmp'_'mpz_init | tr './+\055' '__p_'`
1336if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
1337  echo $ac_n "(cached) $ac_c" 1>&6
1338else
1339  ac_save_LIBS="$LIBS"
1340LIBS="-lgmp  $LIBS"
1341cat > conftest.$ac_ext <<EOF
1342#line 1343 "configure"
1343#include "confdefs.h"
1344/* Override any gcc2 internal prototype to avoid an error.  */
1345/* We use char because int might match the return type of a gcc2
1346    builtin and then its argument prototype would still apply.  */
1347char mpz_init();
1348
1349int main() { return 0; }
1350int t() {
1351mpz_init()
1352; return 0; }
1353EOF
1354if { (eval echo configure:1355: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1355  rm -rf conftest*
1356  eval "ac_cv_lib_$ac_lib_var=yes"
1357else
1358  rm -rf conftest*
1359  eval "ac_cv_lib_$ac_lib_var=no"
1360fi
1361rm -f conftest*
1362LIBS="$ac_save_LIBS"
1363
1364fi
1365if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
1366  echo "$ac_t""yes" 1>&6
1367    ac_tr_lib=HAVE_LIB`echo gmp | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1368  cat >> confdefs.h <<EOF
1369#define $ac_tr_lib 1
1370EOF
1371
1372  LIBS="-lgmp $LIBS"
1373
1374else
1375  echo "$ac_t""no" 1>&6
1376 { echo "configure: error: libgmp.a not found.  Use option --with-gmp to specify path" 1>&2; exit 1; }
1377fi
1378
1379fi
1380
1381#
1382# - check for header files.
1383#
1384ac_ext=C
1385# CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1386ac_cpp='$CXXCPP $CPPFLAGS'
1387ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1388ac_link='${CXX-g++} -o conftest $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1389
1390
1391if test "x$gmp_in_installation" != xyes; then
1392  for ac_hdr in gmp.h
1393do
1394ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
1395echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1396if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1397  echo $ac_n "(cached) $ac_c" 1>&6
1398else
1399  cat > conftest.$ac_ext <<EOF
1400#line 1401 "configure"
1401#include "confdefs.h"
1402#include <$ac_hdr>
1403EOF
1404ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1405{ (eval echo configure:1406: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1406ac_err=`grep -v '^ *+' conftest.out`
1407if test -z "$ac_err"; then
1408  rm -rf conftest*
1409  eval "ac_cv_header_$ac_safe=yes"
1410else
1411  echo "$ac_err" >&5
1412  rm -rf conftest*
1413  eval "ac_cv_header_$ac_safe=no"
1414fi
1415rm -f conftest*
1416fi
1417if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1418  echo "$ac_t""yes" 1>&6
1419    ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
1420  cat >> confdefs.h <<EOF
1421#define $ac_tr_hdr 1
1422EOF
1423 
1424else
1425  echo "$ac_t""no" 1>&6
1426{ echo "configure: error: gmp.h not found.  Use option --with-gmp to specify path" 1>&2; exit 1; }
1427fi
1428done
1429
1430fi
1431
1432for ac_hdr in stdio.h stdlib.h string.h time.h math.h
1433do
1434ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
1435echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1436if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1437  echo $ac_n "(cached) $ac_c" 1>&6
1438else
1439  cat > conftest.$ac_ext <<EOF
1440#line 1441 "configure"
1441#include "confdefs.h"
1442#include <$ac_hdr>
1443EOF
1444ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1445{ (eval echo configure:1446: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1446ac_err=`grep -v '^ *+' conftest.out`
1447if test -z "$ac_err"; then
1448  rm -rf conftest*
1449  eval "ac_cv_header_$ac_safe=yes"
1450else
1451  echo "$ac_err" >&5
1452  rm -rf conftest*
1453  eval "ac_cv_header_$ac_safe=no"
1454fi
1455rm -f conftest*
1456fi
1457if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1458  echo "$ac_t""yes" 1>&6
1459    ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
1460  cat >> confdefs.h <<EOF
1461#define $ac_tr_hdr 1
1462EOF
1463 
1464else
1465  echo "$ac_t""no" 1>&6
1466{ echo "configure: error: C header files not found" 1>&2; exit 1; }
1467fi
1468done
1469
1470
1471if test "x$enable_streamio" != xno; then
1472  for ac_hdr in iostream.h strstream.h fstream.h
1473do
1474ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
1475echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1476if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1477  echo $ac_n "(cached) $ac_c" 1>&6
1478else
1479  cat > conftest.$ac_ext <<EOF
1480#line 1481 "configure"
1481#include "confdefs.h"
1482#include <$ac_hdr>
1483EOF
1484ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1485{ (eval echo configure:1486: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1486ac_err=`grep -v '^ *+' conftest.out`
1487if test -z "$ac_err"; then
1488  rm -rf conftest*
1489  eval "ac_cv_header_$ac_safe=yes"
1490else
1491  echo "$ac_err" >&5
1492  rm -rf conftest*
1493  eval "ac_cv_header_$ac_safe=no"
1494fi
1495rm -f conftest*
1496fi
1497if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1498  echo "$ac_t""yes" 1>&6
1499    ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
1500  cat >> confdefs.h <<EOF
1501#define $ac_tr_hdr 1
1502EOF
1503 
1504else
1505  echo "$ac_t""no" 1>&6
1506{ echo "configure: error: C++ header files not found" 1>&2; exit 1; }
1507fi
1508done
1509
1510  for ac_hdr in ctype.h
1511do
1512ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
1513echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1514if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1515  echo $ac_n "(cached) $ac_c" 1>&6
1516else
1517  cat > conftest.$ac_ext <<EOF
1518#line 1519 "configure"
1519#include "confdefs.h"
1520#include <$ac_hdr>
1521EOF
1522ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1523{ (eval echo configure:1524: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1524ac_err=`grep -v '^ *+' conftest.out`
1525if test -z "$ac_err"; then
1526  rm -rf conftest*
1527  eval "ac_cv_header_$ac_safe=yes"
1528else
1529  echo "$ac_err" >&5
1530  rm -rf conftest*
1531  eval "ac_cv_header_$ac_safe=no"
1532fi
1533rm -f conftest*
1534fi
1535if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1536  echo "$ac_t""yes" 1>&6
1537    ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
1538  cat >> confdefs.h <<EOF
1539#define $ac_tr_hdr 1
1540EOF
1541 
1542else
1543  echo "$ac_t""no" 1>&6
1544{ echo "configure: error: standard C header files not found" 1>&2; exit 1; }
1545fi
1546done
1547
1548
1549  # since the FTE will compile only with stream IO enabled we will not
1550  # check for the necessary header files if stream IO is disabled
1551  for ac_hdr in stdarg.h signal.h errno.h unistd.h
1552do
1553ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
1554echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1555if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1556  echo $ac_n "(cached) $ac_c" 1>&6
1557else
1558  cat > conftest.$ac_ext <<EOF
1559#line 1560 "configure"
1560#include "confdefs.h"
1561#include <$ac_hdr>
1562EOF
1563ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1564{ (eval echo configure:1565: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1565ac_err=`grep -v '^ *+' conftest.out`
1566if test -z "$ac_err"; then
1567  rm -rf conftest*
1568  eval "ac_cv_header_$ac_safe=yes"
1569else
1570  echo "$ac_err" >&5
1571  rm -rf conftest*
1572  eval "ac_cv_header_$ac_safe=no"
1573fi
1574rm -f conftest*
1575fi
1576if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1577  echo "$ac_t""yes" 1>&6
1578    ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
1579  cat >> confdefs.h <<EOF
1580#define $ac_tr_hdr 1
1581EOF
1582 
1583else
1584  echo "$ac_t""no" 1>&6
1585echo "configure: warning: C/C++ header files not found.
1586                    You will not be able to build the Factory Test Environment
1587                    (though Factory itself should compile)" 1>&2
1588fi
1589done
1590
1591fi
1592
1593if test "x$enable_timing" != xno; then
1594  for ac_hdr in sys/param.h sys/times.h
1595do
1596ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
1597echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
1598if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
1599  echo $ac_n "(cached) $ac_c" 1>&6
1600else
1601  cat > conftest.$ac_ext <<EOF
1602#line 1603 "configure"
1603#include "confdefs.h"
1604#include <$ac_hdr>
1605EOF
1606ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1607{ (eval echo configure:1608: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1608ac_err=`grep -v '^ *+' conftest.out`
1609if test -z "$ac_err"; then
1610  rm -rf conftest*
1611  eval "ac_cv_header_$ac_safe=yes"
1612else
1613  echo "$ac_err" >&5
1614  rm -rf conftest*
1615  eval "ac_cv_header_$ac_safe=no"
1616fi
1617rm -f conftest*
1618fi
1619if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
1620  echo "$ac_t""yes" 1>&6
1621    ac_tr_hdr=HAVE_`echo $ac_hdr | tr 'abcdefghijklmnopqrstuvwxyz./\055' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ___'`
1622  cat >> confdefs.h <<EOF
1623#define $ac_tr_hdr 1
1624EOF
1625 
1626else
1627  echo "$ac_t""no" 1>&6
1628{ echo "configure: error: \`sys/times.h' or \`sys/param.h' not found.  Try
1629                  \`configure --disable-timing'" 1>&2; exit 1; }
1630fi
1631done
1632
1633fi
1634
1635# font-lock-trick: '
1636
1637#
1638# - check for compiler characteristics.
1639#
1640
1641# use C to check compiler characteristics instead of C++.  On
1642# nextstep, checking with C++ may fail.
1643ac_ext=c
1644# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1645ac_cpp='$CPP $CPPFLAGS'
1646ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1647ac_link='${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1648
1649
1650# cross-compiling ?!
1651# If we cannot run a trivial program, we must be cross compiling.
1652echo $ac_n "checking whether cross-compiling""... $ac_c" 1>&6
1653if eval "test \"`echo '$''{'ac_cv_c_cross'+set}'`\" = set"; then
1654  echo $ac_n "(cached) $ac_c" 1>&6
1655else
1656  if test "$cross_compiling" = yes; then
1657  ac_cv_c_cross=yes
1658else
1659cat > conftest.$ac_ext <<EOF
1660#line 1661 "configure"
1661#include "confdefs.h"
1662main(){return(0);}
1663EOF
1664{ (eval echo configure:1665: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
1665if test -s conftest && (./conftest; exit) 2>/dev/null; then
1666  ac_cv_c_cross=no
1667else
1668  ac_cv_c_cross=yes
1669fi
1670fi
1671rm -fr conftest*
1672fi
1673
1674echo "$ac_t""$ac_cv_c_cross" 1>&6
1675cross_compiling=$ac_cv_c_cross
1676
1677if test "x$cross_compiling" = xyes; then
1678  echo "configure: warning: you better specify a cache file to get the values for
1679                    cross-compiling right (e.g., call \`configure
1680                    --cache-file=yourTarget.cache').  In particular, you
1681                    should make sure that your target machine supports
1682                    arithmetic shift." 1>&2
1683fi
1684
1685# font-lock-trick: '
1686
1687echo $ac_n "checking for working const""... $ac_c" 1>&6
1688if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1689  echo $ac_n "(cached) $ac_c" 1>&6
1690else
1691  cat > conftest.$ac_ext <<EOF
1692#line 1693 "configure"
1693#include "confdefs.h"
1694
1695int main() { return 0; }
1696int t() {
1697
1698/* Ultrix mips cc rejects this.  */
1699typedef int charset[2]; const charset x;
1700/* SunOS 4.1.1 cc rejects this.  */
1701char const *const *ccp;
1702char **p;
1703/* NEC SVR4.0.2 mips cc rejects this.  */
1704struct point {int x, y;};
1705static struct point const zero = {0,0};
1706/* AIX XL C 1.02.0.0 rejects this.
1707   It does not let you subtract one const X* pointer from another in an arm
1708   of an if-expression whose if-part is not a constant expression */
1709const char *g = "string";
1710ccp = &g + (g ? g-g : 0);
1711/* HPUX 7.0 cc rejects these. */
1712++ccp;
1713p = (char**) ccp;
1714ccp = (char const *const *) p;
1715{ /* SCO 3.2v4 cc rejects this.  */
1716  char *t;
1717  char const *s = 0 ? (char *) 0 : (char const *) 0;
1718
1719  *t++ = 0;
1720}
1721{ /* Someone thinks the Sun supposedly-ANSI compiler will reject this.  */
1722  int x[] = {25, 17};
1723  const int *foo = &x[0];
1724  ++foo;
1725}
1726{ /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1727  typedef const int *iptr;
1728  iptr p = 0;
1729  ++p;
1730}
1731{ /* AIX XL C 1.02.0.0 rejects this saying
1732     "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1733  struct s { int j; const int *ap[3]; };
1734  struct s *b; b->j = 5;
1735}
1736{ /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1737  const int foo = 10;
1738}
1739
1740; return 0; }
1741EOF
1742if { (eval echo configure:1743: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1743  rm -rf conftest*
1744  ac_cv_c_const=yes
1745else
1746  rm -rf conftest*
1747  ac_cv_c_const=no
1748fi
1749rm -f conftest*
1750
1751fi
1752
1753echo "$ac_t""$ac_cv_c_const" 1>&6
1754if test $ac_cv_c_const = no; then
1755  cat >> confdefs.h <<\EOF
1756#define const
1757EOF
1758
1759fi
1760
1761echo $ac_n "checking for inline""... $ac_c" 1>&6
1762if eval "test \"`echo '$''{'ac_cv_c_inline'+set}'`\" = set"; then
1763  echo $ac_n "(cached) $ac_c" 1>&6
1764else
1765  ac_cv_c_inline=no
1766for ac_kw in inline __inline__ __inline; do
1767  cat > conftest.$ac_ext <<EOF
1768#line 1769 "configure"
1769#include "confdefs.h"
1770
1771int main() { return 0; }
1772int t() {
1773} $ac_kw foo() {
1774; return 0; }
1775EOF
1776if { (eval echo configure:1777: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1777  rm -rf conftest*
1778  ac_cv_c_inline=$ac_kw; break
1779fi
1780rm -f conftest*
1781
1782done
1783
1784fi
1785
1786echo "$ac_t""$ac_cv_c_inline" 1>&6
1787case "$ac_cv_c_inline" in
1788  inline | yes) ;;
1789  no) cat >> confdefs.h <<\EOF
1790#define inline
1791EOF
1792 ;;
1793  *)  cat >> confdefs.h <<EOF
1794#define inline $ac_cv_c_inline
1795EOF
1796 ;;
1797esac
1798
1799
1800# arithmetic shift
1801echo $ac_n "checking whether your compiler does arithmetic shifts""... $ac_c" 1>&6
1802if eval "test \"`echo '$''{'ac_cv_shift'+set}'`\" = set"; then
1803  echo $ac_n "(cached) $ac_c" 1>&6
1804else
1805   if test "$cross_compiling" = yes; then
1806  ac_cv_shift=yes
1807else
1808cat > conftest.$ac_ext <<EOF
1809#line 1810 "configure"
1810#include "confdefs.h"
1811 int main() { if (-2 >> 1 == -1) exit(0); else exit(1); }
1812EOF
1813{ (eval echo configure:1814: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }
1814if test -s conftest && (./conftest; exit) 2>/dev/null; then
1815  ac_cv_shift=yes
1816else
1817  ac_cv_shift=no
1818fi
1819fi
1820rm -fr conftest*
1821fi
1822
1823if test "x$ac_cv_shift" = xyes; then   
1824  echo "$ac_t""yes" 1>&6
1825else
1826  echo "$ac_t""no" 1>&6
1827fi
1828
1829#
1830# - paths.
1831#
1832
1833# we have to get datadir explicitely for config.h
1834save_prefix="$prefix"
1835test "x$prefix" = xNONE && prefix="$ac_default_prefix"
1836expl_datadir=`eval echo "$datadir"`
1837prefix="$save_prefix"
1838# get absolute path of expl_datadir
1839if echo "$expl_datadir" | grep -v '^/' > /dev/null 2> /dev/null; then
1840  expl_datadir="`pwd`/$expl_datadir"
1841fi
1842
1843if test "x$with_Singular" = xyes; then
1844  gftabledir='${datadir}/Singular/gftables'
1845  expl_gftabledir="$expl_datadir/Singular/gftables"
1846  templatedir='${includedir}/templates'
1847else
1848  gftabledir='${datadir}/factory/gftables'
1849  expl_gftabledir="$expl_datadir/factory/gftables"
1850  templatedir='${includedir}/templates'
1851fi
1852
1853#
1854# - the name of the game and the targets to create.
1855#
1856if test "x$with_Singular" = xyes; then
1857  libfactory=libsingcf.a
1858
1859  factorysrc='$(basefactorysrc) $(singfactorysrc)'
1860  factoryincl='$(basefactoryincl) $(singfactoryincl)'
1861  memmansrc=
1862  memmanincl=
1863
1864  alltargets=cf
1865  installtargets=installcf
1866  uninstalltargets=uninstallcf
1867else
1868  libfactory=libcf.a
1869
1870  factorysrc='$(basefactorysrc)'
1871  factoryincl='$(basefactoryincl)'
1872  memmansrc='$(basememmansrc)'
1873  memmanincl=
1874
1875  alltargets=cf
1876  installtargets=installcf
1877  uninstalltargets=uninstallcf
1878fi
1879
1880#
1881# - set defines and variables according to our tests.
1882#
1883
1884# CFLAGS
1885if test "x$GCC" = xyes && test "x$cflags_expl_set" = xno; then
1886  CFLAGS="-O2 -fomit-frame-pointer"
1887fi
1888
1889# CXXFLAGS
1890if test "x$GXX" = xyes && test "x$cxxflags_expl_set" = xno; then
1891  CXXFLAGS="-O2 -fomit-frame-pointer"
1892fi
1893
1894# ARFLAGS
1895test "${ARFLAGS+set}" = set || ARFLAGS=cr
1896
1897# M4FLAGS
1898test "${M4FLAGS+set}" = set || M4FLAGS=
1899
1900# Singular
1901if test "x$with_Singular" = xyes; then
1902  cat >> confdefs.h <<\EOF
1903#define SINGULAR 1
1904EOF
1905
1906fi
1907
1908# arithmetic shift
1909if test "x$ac_cv_shift" = xyes; then   
1910  cat >> confdefs.h <<\EOF
1911#define HAS_ARITHMETIC_SHIFT 1
1912EOF
1913
1914fi
1915
1916# gmp-stuff.  we must not set these flags before the tests
1917# are finished!
1918if test "x$gmp_in_installation" = xyes; then
1919  CPPFLAGS="-I\$(includedir) $CPPFLAGS"
1920  LDFLAGS="-L\$(libdir) -lgmp $LDFLAGS"
1921fi
1922
1923# memory manager
1924if test "x$with_memman" != xno; then
1925  alltargets="$alltargets mem"
1926  installtargets="$installtargets installmem"
1927  uninstalltargets="$uninstalltargets uninstallmem"
1928  cat >> confdefs.h <<\EOF
1929#define USE_MEMUTIL 1
1930EOF
1931
1932
1933  if test "x$with_memman" != xnew; then
1934    memmansrc="$memmansrc \$(oldmemmansrc)"
1935    memmanincl='$(oldmemmanincl)'
1936    cat >> confdefs.h <<\EOF
1937#define USE_OLD_MEMMAN 1
1938EOF
1939
1940  else
1941    memmansrc="$memmansrc \$(newmemmansrc)"
1942    memmanincl='$(newmemmanincl)'
1943
1944    if test "x$enable_memdebug" = xfull; then
1945      cat >> confdefs.h <<\EOF
1946#define MDEBUG 1
1947EOF
1948
1949    elif test "x$enable_memdebug" != xno; then
1950      cat >> confdefs.h <<\EOF
1951#define MDEBUG 0
1952EOF
1953
1954    fi
1955  fi
1956fi
1957
1958# iostream
1959if test "x$enable_streamio" = xno; then
1960  cat >> confdefs.h <<\EOF
1961#define NOSTREAMIO 1
1962EOF
1963
1964else
1965  factorysrc="$factorysrc \$(useiofactorysrc)"
1966  factoryincl="$factoryincl \$(useiofactoryincl)"
1967fi
1968
1969# assertions
1970if test "x$enable_assertions" = xno; then
1971  cat >> confdefs.h <<\EOF
1972#define NOASSERT 1
1973EOF
1974
1975fi
1976
1977# timing
1978if test "x$enable_timing" != xno; then
1979  cat >> confdefs.h <<\EOF
1980#define TIMING 1
1981EOF
1982
1983fi
1984
1985# debugoutput
1986if test "x$enable_debugoutput" != xno; then
1987  cat >> confdefs.h <<\EOF
1988#define DEBUGOUTPUT 1
1989EOF
1990
1991fi
1992
1993#
1994# - complete and substitute variables, defines.
1995#
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016cat >> confdefs.h <<EOF
2017#define FACTORYVERSION "$factory_version"
2018EOF
2019
2020cat >> confdefs.h <<EOF
2021#define FACTORYCONFIGURATION "$factory_configuration"
2022EOF
2023
2024cat >> confdefs.h <<EOF
2025#define GFTABLEDIR "$expl_gftabledir"
2026EOF
2027
2028
2029trap '' 1 2 15
2030cat > confcache <<\EOF
2031# This file is a shell script that caches the results of configure
2032# tests run on this system so they can be shared between configure
2033# scripts and configure runs.  It is not useful on other systems.
2034# If it contains results you don't want to keep, you may remove or edit it.
2035#
2036# By default, configure uses ./config.cache as the cache file,
2037# creating it if it does not exist already.  You can give configure
2038# the --cache-file=FILE option to use a different cache file; that is
2039# what configure does when it calls configure scripts in
2040# subdirectories, so they share the cache.
2041# Giving --cache-file=/dev/null disables caching, for debugging configure.
2042# config.status only pays attention to the cache file if you give it the
2043# --recheck option to rerun configure.
2044#
2045EOF
2046# Ultrix sh set writes to stderr and can't be redirected directly,
2047# and sets the high bit in the cache file unless we assign to the vars.
2048(set) 2>&1 |
2049  sed -n "s/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=\${\1='\2'}/p" \
2050  >> confcache
2051if cmp -s $cache_file confcache; then
2052  :
2053else
2054  if test -w $cache_file; then
2055    echo "updating cache $cache_file"
2056    cat confcache > $cache_file
2057  else
2058    echo "not updating unwritable cache $cache_file"
2059  fi
2060fi
2061rm -f confcache
2062
2063trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
2064
2065test "x$prefix" = xNONE && prefix=$ac_default_prefix
2066# Let make expand exec_prefix.
2067test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2068
2069# Any assignment to VPATH causes Sun make to only execute
2070# the first set of double-colon rules, so remove it if not needed.
2071# If there is a colon in the path, we need to keep it.
2072if test "x$srcdir" = x.; then
2073  ac_vpsub='/^[         ]*VPATH[        ]*=[^:]*$/d'
2074fi
2075
2076trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
2077
2078DEFS=-DHAVE_CONFIG_H
2079
2080# Without the "./", some shells look in PATH for config.status.
2081: ${CONFIG_STATUS=./config.status}
2082
2083echo creating $CONFIG_STATUS
2084rm -f $CONFIG_STATUS
2085cat > $CONFIG_STATUS <<EOF
2086#! /bin/sh
2087# Generated automatically by configure.
2088# Run this file to recreate the current configuration.
2089# This directory was configured as follows,
2090# on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
2091#
2092# $0 $ac_configure_args
2093#
2094# Compiler output produced by configure, useful for debugging
2095# configure, is in ./config.log if it exists.
2096
2097ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
2098for ac_option
2099do
2100  case "\$ac_option" in
2101  -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2102    echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
2103    exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
2104  -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
2105    echo "$CONFIG_STATUS generated by autoconf version 2.10"
2106    exit 0 ;;
2107  -help | --help | --hel | --he | --h)
2108    echo "\$ac_cs_usage"; exit 0 ;;
2109  *) echo "\$ac_cs_usage"; exit 1 ;;
2110  esac
2111done
2112
2113ac_given_srcdir=$srcdir
2114ac_given_INSTALL="$INSTALL"
2115
2116trap 'rm -fr `echo "GNUmakefile ftest/GNUmakefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
2117EOF
2118cat >> $CONFIG_STATUS <<EOF
2119
2120# Protect against being on the right side of a sed subst in config.status.
2121sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
2122 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
2123$ac_vpsub
2124$extrasub
2125s%@CFLAGS@%$CFLAGS%g
2126s%@CPPFLAGS@%$CPPFLAGS%g
2127s%@CXXFLAGS@%$CXXFLAGS%g
2128s%@DEFS@%$DEFS%g
2129s%@LDFLAGS@%$LDFLAGS%g
2130s%@LIBS@%$LIBS%g
2131s%@exec_prefix@%$exec_prefix%g
2132s%@prefix@%$prefix%g
2133s%@program_transform_name@%$program_transform_name%g
2134s%@bindir@%$bindir%g
2135s%@sbindir@%$sbindir%g
2136s%@libexecdir@%$libexecdir%g
2137s%@datadir@%$datadir%g
2138s%@sysconfdir@%$sysconfdir%g
2139s%@sharedstatedir@%$sharedstatedir%g
2140s%@localstatedir@%$localstatedir%g
2141s%@libdir@%$libdir%g
2142s%@includedir@%$includedir%g
2143s%@oldincludedir@%$oldincludedir%g
2144s%@infodir@%$infodir%g
2145s%@mandir@%$mandir%g
2146s%@CC@%$CC%g
2147s%@CXX@%$CXX%g
2148s%@CPP@%$CPP%g
2149s%@CXXCPP@%$CXXCPP%g
2150s%@LN_S@%$LN_S%g
2151s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
2152s%@INSTALL_DATA@%$INSTALL_DATA%g
2153s%@RANLIB@%$RANLIB%g
2154s%@SET_MAKE@%$SET_MAKE%g
2155s%@AR@%$AR%g
2156s%@M4@%$M4%g
2157s%@BISON@%$BISON%g
2158s%@FACTORY_MKINSTALLDIRS@%$FACTORY_MKINSTALLDIRS%g
2159s%@FACTORY_MAKEHEADER@%$FACTORY_MAKEHEADER%g
2160s%@gftabledir@%$gftabledir%g
2161s%@templatedir@%$templatedir%g
2162s%@factory_version@%$factory_version%g
2163s%@libfactory@%$libfactory%g
2164s%@ARFLAGS@%$ARFLAGS%g
2165s%@M4FLAGS@%$M4FLAGS%g
2166s%@MAKEHEADERFLAGS@%$MAKEHEADERFLAGS%g
2167s%@factorysrc@%$factorysrc%g
2168s%@factoryincl@%$factoryincl%g
2169s%@memmansrc@%$memmansrc%g
2170s%@memmanincl@%$memmanincl%g
2171s%@alltargets@%$alltargets%g
2172s%@installtargets@%$installtargets%g
2173s%@uninstalltargets@%$uninstalltargets%g
2174
2175CEOF
2176EOF
2177cat >> $CONFIG_STATUS <<EOF
2178
2179CONFIG_FILES=\${CONFIG_FILES-"GNUmakefile ftest/GNUmakefile"}
2180EOF
2181cat >> $CONFIG_STATUS <<\EOF
2182for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
2183  # Support "outfile[:infile]", defaulting infile="outfile.in".
2184  case "$ac_file" in
2185  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
2186       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2187  *) ac_file_in="${ac_file}.in" ;;
2188  esac
2189
2190  # Adjust relative srcdir, etc. for subdirectories.
2191
2192  # Remove last slash and all that follows it.  Not all systems have dirname.
2193  ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2194  if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2195    # The file is in a subdirectory.
2196    test ! -d "$ac_dir" && mkdir "$ac_dir"
2197    ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
2198    # A "../" for each directory in $ac_dir_suffix.
2199    ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
2200  else
2201    ac_dir_suffix= ac_dots=
2202  fi
2203
2204  case "$ac_given_srcdir" in
2205  .)  srcdir=.
2206      if test -z "$ac_dots"; then top_srcdir=.
2207      else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
2208  /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
2209  *) # Relative path.
2210    srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
2211    top_srcdir="$ac_dots$ac_given_srcdir" ;;
2212  esac
2213
2214  case "$ac_given_INSTALL" in
2215  [/$]*) INSTALL="$ac_given_INSTALL" ;;
2216  *) INSTALL="$ac_dots$ac_given_INSTALL" ;;
2217  esac
2218  echo creating "$ac_file"
2219  rm -f "$ac_file"
2220  configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
2221  case "$ac_file" in
2222  *Makefile*) ac_comsub="1i\\
2223# $configure_input" ;;
2224  *) ac_comsub= ;;
2225  esac
2226  sed -e "$ac_comsub
2227s%@configure_input@%$configure_input%g
2228s%@srcdir@%$srcdir%g
2229s%@top_srcdir@%$top_srcdir%g
2230s%@INSTALL@%$INSTALL%g
2231" -f conftest.subs $ac_given_srcdir/$ac_file_in > $ac_file
2232fi; done
2233rm -f conftest.subs
2234
2235# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
2236# NAME is the cpp macro being defined and VALUE is the value it is being given.
2237#
2238# ac_d sets the value in "#define NAME VALUE" lines.
2239ac_dA='s%^\([   ]*\)#\([        ]*define[       ][      ]*\)'
2240ac_dB='\([      ][      ]*\)[^  ]*%\1#\2'
2241ac_dC='\3'
2242ac_dD='%g'
2243# ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
2244ac_uA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
2245ac_uB='\([      ]\)%\1#\2define\3'
2246ac_uC=' '
2247ac_uD='\4%g'
2248# ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
2249ac_eA='s%^\([   ]*\)#\([        ]*\)undef\([    ][      ]*\)'
2250ac_eB='$%\1#\2define\3'
2251ac_eC=' '
2252ac_eD='%g'
2253
2254CONFIG_HEADERS=${CONFIG_HEADERS-"config.h"}
2255for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
2256  # Support "outfile[:infile]", defaulting infile="outfile.in".
2257  case "$ac_file" in
2258  *:*) ac_file_in=`echo "$ac_file"|sed 's%.*:%%'`
2259       ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
2260  *) ac_file_in="${ac_file}.in" ;;
2261  esac
2262
2263  echo creating $ac_file
2264
2265  rm -f conftest.frag conftest.in conftest.out
2266  cp $ac_given_srcdir/$ac_file_in conftest.in
2267
2268EOF
2269
2270# Transform confdefs.h into a sed script conftest.vals that substitutes
2271# the proper values into config.h.in to produce config.h.  And first:
2272# Protect against being on the right side of a sed subst in config.status.
2273# Protect against being in an unquoted here document in config.status.
2274rm -f conftest.vals
2275cat > conftest.hdr <<\EOF
2276s/[\\&%]/\\&/g
2277s%[\\$`]%\\&%g
2278s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
2279s%ac_d%ac_u%gp
2280s%ac_u%ac_e%gp
2281EOF
2282sed -n -f conftest.hdr confdefs.h > conftest.vals
2283rm -f conftest.hdr
2284
2285# This sed command replaces #undef with comments.  This is necessary, for
2286# example, in the case of _POSIX_SOURCE, which is predefined and required
2287# on some systems where configure will not decide to define it.
2288cat >> conftest.vals <<\EOF
2289s%^[    ]*#[    ]*undef[        ][      ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
2290EOF
2291
2292# Break up conftest.vals because some shells have a limit on
2293# the size of here documents, and old seds have small limits too.
2294# Maximum number of lines to put in a single here document.
2295ac_max_here_lines=12
2296
2297rm -f conftest.tail
2298while :
2299do
2300  ac_lines=`grep -c . conftest.vals`
2301  # grep -c gives empty output for an empty file on some AIX systems.
2302  if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
2303  # Write a limited-size here document to conftest.frag.
2304  echo '  cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
2305  sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
2306  echo 'CEOF
2307  sed -f conftest.frag conftest.in > conftest.out
2308  rm -f conftest.in
2309  mv conftest.out conftest.in
2310' >> $CONFIG_STATUS
2311  sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
2312  rm -f conftest.vals
2313  mv conftest.tail conftest.vals
2314done
2315rm -f conftest.vals
2316
2317cat >> $CONFIG_STATUS <<\EOF
2318  rm -f conftest.frag conftest.h
2319  echo "/* $ac_file.  Generated automatically by configure.  */" > conftest.h
2320  cat conftest.in >> conftest.h
2321  rm -f conftest.in
2322  if cmp -s $ac_file conftest.h 2>/dev/null; then
2323    echo "$ac_file is unchanged"
2324    rm -f conftest.h
2325  else
2326    # Remove last slash and all that follows it.  Not all systems have dirname.
2327      ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
2328      if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
2329      # The file is in a subdirectory.
2330      test ! -d "$ac_dir" && mkdir "$ac_dir"
2331    fi
2332    rm -f $ac_file
2333    mv conftest.h $ac_file
2334  fi
2335fi; done
2336
2337
2338
2339exit 0
2340EOF
2341chmod +x $CONFIG_STATUS
2342rm -fr confdefs* $ac_clean_files
2343test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1
2344
Note: See TracBrowser for help on using the repository browser.