- Timestamp:
- Dec 9, 2003, 5:36:58 PM (20 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- f911a8dde7eaa277a7f15b8534f6c5e625f41fa2
- Parents:
- cb25d3e3533baad7b0975433b918cf48c89868dd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
rcb25d3e rf84882 1 1 #! /bin/sh 2 2 3 # Guess values for system-dependent variables and create Makefiles. 3 # Generated by GNU Autoconf 2.53. 4 # Generated automatically using autoconf version 2.13 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 4 6 # 5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 20026 # Free Software Foundation, Inc.7 7 # This configure script is free software; the Free Software Foundation 8 8 # gives unlimited permission to copy, distribute and modify it. 9 9 10 if expr a : '\(a\)' >/dev/null 2>&1; then 11 as_expr=expr 12 else 13 as_expr=false 14 fi 15 16 17 ## --------------------- ## 18 ## M4sh Initialization. ## 19 ## --------------------- ## 20 21 # Be Bourne compatible 22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 23 emulate sh 24 NULLCMD=: 25 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 26 set -o posix 27 fi 28 29 # NLS nuisances. 30 # Support unset when possible. 31 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 32 as_unset=unset 33 else 34 as_unset=false 35 fi 36 37 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && 38 { $as_unset LANG || test "${LANG+set}" != set; } || 39 { LANG=C; export LANG; } 40 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && 41 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || 42 { LC_ALL=C; export LC_ALL; } 43 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && 44 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || 45 { LC_TIME=C; export LC_TIME; } 46 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 47 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 48 { LC_CTYPE=C; export LC_CTYPE; } 49 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 50 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 51 { LANGUAGE=C; export LANGUAGE; } 52 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 53 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 54 { LC_COLLATE=C; export LC_COLLATE; } 55 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 56 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 57 { LC_NUMERIC=C; export LC_NUMERIC; } 58 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 59 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 60 { LC_MESSAGES=C; export LC_MESSAGES; } 61 62 63 # Name of the executable. 64 as_me=`(basename "$0") 2>/dev/null || 65 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 66 X"$0" : 'X\(//\)$' \| \ 67 X"$0" : 'X\(/\)$' \| \ 68 . : '\(.\)' 2>/dev/null || 69 echo X/"$0" | 70 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 71 /^X\/\(\/\/\)$/{ s//\1/; q; } 72 /^X\/\(\/\).*/{ s//\1/; q; } 73 s/.*/./; q'` 74 75 # PATH needs CR, and LINENO needs CR and PATH. 76 # Avoid depending upon Character Ranges. 77 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 78 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 79 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 80 as_cr_digits='0123456789' 81 as_cr_alnum=$as_cr_Letters$as_cr_digits 82 83 # The user is always right. 84 if test "${PATH_SEPARATOR+set}" != set; then 85 echo "#! /bin/sh" >conftest.sh 86 echo "exit 0" >>conftest.sh 87 chmod +x conftest.sh 88 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 89 PATH_SEPARATOR=';' 90 else 91 PATH_SEPARATOR=: 92 fi 93 rm -f conftest.sh 94 fi 95 96 97 as_lineno_1=$LINENO 98 as_lineno_2=$LINENO 99 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 100 test "x$as_lineno_1" != "x$as_lineno_2" && 101 test "x$as_lineno_3" = "x$as_lineno_2" || { 102 # Find who we are. Look in the path if we contain no path at all 103 # relative or not. 104 case $0 in 105 *[\\/]* ) as_myself=$0 ;; 106 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 107 for as_dir in $PATH 108 do 109 IFS=$as_save_IFS 110 test -z "$as_dir" && as_dir=. 111 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 112 done 113 114 ;; 115 esac 116 # We did not find ourselves, most probably we were run as `sh COMMAND' 117 # in which case we are not to be found in the path. 118 if test "x$as_myself" = x; then 119 as_myself=$0 120 fi 121 if test ! -f "$as_myself"; then 122 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 123 { (exit 1); exit 1; }; } 124 fi 125 case $CONFIG_SHELL in 126 '') 127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 128 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 129 do 130 IFS=$as_save_IFS 131 test -z "$as_dir" && as_dir=. 132 for as_base in sh bash ksh sh5; do 133 case $as_dir in 134 /*) 135 if ("$as_dir/$as_base" -c ' 136 as_lineno_1=$LINENO 137 as_lineno_2=$LINENO 138 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 139 test "x$as_lineno_1" != "x$as_lineno_2" && 140 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 141 CONFIG_SHELL=$as_dir/$as_base 142 export CONFIG_SHELL 143 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 144 fi;; 145 esac 146 done 147 done 148 ;; 149 esac 150 151 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 152 # uniformly replaced by the line number. The first 'sed' inserts a 153 # line-number line before each line; the second 'sed' does the real 154 # work. The second script uses 'N' to pair each line-number line 155 # with the numbered line, and appends trailing '-' during 156 # substitution so that $LINENO is not a special case at line end. 157 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 158 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 159 sed '=' <$as_myself | 160 sed ' 161 N 162 s,$,-, 163 : loop 164 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 165 t loop 166 s,-$,, 167 s,^['$as_cr_digits']*\n,, 168 ' >$as_me.lineno && 169 chmod +x $as_me.lineno || 170 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 171 { (exit 1); exit 1; }; } 172 173 # Don't try to exec as it changes $[0], causing all sort of problems 174 # (the dirname of $[0] is not the place where we might find the 175 # original and so on. Autoconf is especially sensible to this). 176 . ./$as_me.lineno 177 # Exit status is that of the last command. 178 exit 179 } 180 181 182 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 183 *c*,-n*) ECHO_N= ECHO_C=' 184 ' ECHO_T=' ' ;; 185 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 186 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 187 esac 188 189 if expr a : '\(a\)' >/dev/null 2>&1; then 190 as_expr=expr 191 else 192 as_expr=false 193 fi 194 195 rm -f conf$$ conf$$.exe conf$$.file 196 echo >conf$$.file 197 if ln -s conf$$.file conf$$ 2>/dev/null; then 198 # We could just check for DJGPP; but this test a) works b) is more generic 199 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 200 if test -f conf$$.exe; then 201 # Don't use ln at all; we don't have any links 202 as_ln_s='cp -p' 203 else 204 as_ln_s='ln -s' 205 fi 206 elif ln conf$$.file conf$$ 2>/dev/null; then 207 as_ln_s=ln 208 else 209 as_ln_s='cp -p' 210 fi 211 rm -f conf$$ conf$$.exe conf$$.file 212 213 as_executable_p="test -f" 214 215 # Sed expression to map a string onto a valid CPP name. 216 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 217 218 # Sed expression to map a string onto a valid variable name. 219 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 220 221 222 # IFS 223 # We need space, tab and new line, in precisely that order. 224 as_nl=' 225 ' 226 IFS=" $as_nl" 227 228 # CDPATH. 229 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 230 231 232 # Name of the host. 233 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 234 # so uname gets run too. 235 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 236 237 exec 6>&1 238 239 # 240 # Initializations. 241 # 10 # Defaults: 11 ac_help= 242 12 ac_default_prefix=/usr/local 243 cross_compiling=no 244 subdirs= 245 MFLAGS= 246 MAKEFLAGS= 247 SHELL=${CONFIG_SHELL-/bin/sh} 248 249 # Maximum number of lines to put in a shell here document. 250 # This variable seems obsolete. It should probably be removed, and 251 # only ac_max_sed_lines should be used. 252 : ${ac_max_here_lines=38} 253 254 # Identity of this package. 255 PACKAGE_NAME= 256 PACKAGE_TARNAME= 257 PACKAGE_VERSION= 258 PACKAGE_STRING= 259 PACKAGE_BUGREPORT= 260 261 ac_unique_file="Singular/matpol.h" 13 # Any additions from configure.in: 262 14 ac_default_prefix=`pwd` 263 # Factoring default headers for most tests. 264 ac_includes_default="\ 265 #include <stdio.h> 266 #if HAVE_SYS_TYPES_H 267 # include <sys/types.h> 268 #endif 269 #if HAVE_SYS_STAT_H 270 # include <sys/stat.h> 271 #endif 272 #if STDC_HEADERS 273 # include <stdlib.h> 274 # include <stddef.h> 275 #else 276 # if HAVE_STDLIB_H 277 # include <stdlib.h> 278 # endif 279 #endif 280 #if HAVE_STRING_H 281 # if !STDC_HEADERS && HAVE_MEMORY_H 282 # include <memory.h> 283 # endif 284 # include <string.h> 285 #endif 286 #if HAVE_STRINGS_H 287 # include <strings.h> 288 #endif 289 #if HAVE_INTTYPES_H 290 # include <inttypes.h> 291 #else 292 # if HAVE_STDINT_H 293 # include <stdint.h> 294 # endif 295 #endif 296 #if HAVE_UNISTD_H 297 # include <unistd.h> 298 #endif" 299 300 ac_subdirs_all="$ac_subdirs_all $CONFIG_SUBDIRS" 15 ac_help="$ac_help 16 \ 17 --with-tmpdir=DIR use DIR as temporary directory" 18 ac_help="$ac_help 19 \ 20 --enable-PACKAGE configure and/or build PACKAGE 21 --disable-PACKAGE do not configure and/or build PACKAGE 22 where PACKAGE can be: 23 smallgmp minimal version of gmp written in C only" 24 ac_help="$ac_help 25 \ 26 omalloc omalloc memory managment" 27 ac_help="$ac_help 28 \ 29 gmp Gnu Multiple Precision package" 30 ac_help="$ac_help 31 \ 32 MP Multi Protocol library" 33 ac_help="$ac_help 34 \ 35 factory polynomial factorization library" 36 ac_help="$ac_help 37 \ 38 libfac char set and modp poly factorization library" 39 ac_help="$ac_help 40 \ 41 sgroup numerical semigroup computations" 42 ac_help="$ac_help 43 \ 44 Singular CAS for Polynomial Computations" 45 ac_help="$ac_help 46 \ 47 IntegerProgramming IntegerProgramming" 48 ac_help="$ac_help 49 \ 50 Plural Plural" 51 ac_help="$ac_help 52 \ 53 Texinfo Texinfo for info, texi2dvi, makeinfo" 54 ac_help="$ac_help 55 \ 56 Texi2html Texinfo to HTML converter" 57 ac_help="$ac_help 58 \ 59 doc Singular documentation" 60 ac_help="$ac_help 61 \ 62 emacs emacs completion files" 63 ac_help="$ac_help 64 \ 65 --with-PACKAGE use PACKAGE, provide dependent functionality 66 --without-PACKAGE do not use PACKAGE, disable dependent functionality 67 where PACKAGE can be: 68 MP Multi Protocol library" 69 ac_help="$ac_help 70 \ 71 factory polynomial factorization library" 72 ac_help="$ac_help 73 \ 74 libfac char set and modp poly factorization library" 75 ac_help="$ac_help 76 \ 77 --with-apint=PACKAGE use PACKAGE for arbitary integer arithmetic 78 where PACKAGE can be gmp or smallgmp 79 All additional --enable and --with options are passed to subsequent calls 80 to configure of the packages to be built. See also configure --help in 81 these packages (resp. subdirs). " 301 82 302 83 # Initialize some variables set by options. 303 ac_init_help=304 ac_init_version=false305 84 # The variables have the same names as the options, with 306 85 # dashes changed to underlines. 307 cache_file=/dev/null 86 build=NONE 87 cache_file=./config.cache 308 88 exec_prefix=NONE 89 host=NONE 309 90 no_create= 91 nonopt=NONE 310 92 no_recursion= 311 93 prefix=NONE … … 316 98 site= 317 99 srcdir= 100 target=NONE 318 101 verbose= 319 102 x_includes=NONE 320 103 x_libraries=NONE 321 322 # Installation directory options.323 # These are left unexpanded so users can "make install exec_prefix=/foo"324 # and all the variables that are supposed to be based on exec_prefix325 # by default will actually change.326 # Use braces instead of parens because sh, perl, etc. also accept them.327 104 bindir='${exec_prefix}/bin' 328 105 sbindir='${exec_prefix}/sbin' … … 338 115 mandir='${prefix}/man' 339 116 117 # Initialize some other variables. 118 subdirs= 119 MFLAGS= MAKEFLAGS= 120 SHELL=${CONFIG_SHELL-/bin/sh} 121 # Maximum number of lines to put in a shell here document. 122 ac_max_here_lines=12 123 340 124 ac_prev= 341 125 for ac_option 342 126 do 127 343 128 # If the previous option needs an argument, assign it. 344 129 if test -n "$ac_prev"; then … … 348 133 fi 349 134 350 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 135 case "$ac_option" in 136 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 137 *) ac_optarg= ;; 138 esac 351 139 352 140 # Accept the important Cygnus configure options, so we can diagnose typos. 353 141 354 case $ac_optionin142 case "$ac_option" in 355 143 356 144 -bindir | --bindir | --bindi | --bind | --bin | --bi) 357 145 ac_prev=bindir ;; 358 146 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 359 bindir= $ac_optarg;;147 bindir="$ac_optarg" ;; 360 148 361 149 -build | --build | --buil | --bui | --bu) 362 ac_prev=build _alias;;150 ac_prev=build ;; 363 151 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 364 build _alias=$ac_optarg;;152 build="$ac_optarg" ;; 365 153 366 154 -cache-file | --cache-file | --cache-fil | --cache-fi \ … … 369 157 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 370 158 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 371 cache_file=$ac_optarg ;; 372 373 --config-cache | -C) 374 cache_file=config.cache ;; 159 cache_file="$ac_optarg" ;; 375 160 376 161 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) … … 378 163 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 379 164 | --da=*) 380 datadir= $ac_optarg;;165 datadir="$ac_optarg" ;; 381 166 382 167 -disable-* | --disable-*) 383 ac_feature=`e xpr "x$ac_option" : 'x-*disable-\(.*\)'`168 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` 384 169 # Reject names that are not valid shell variable names. 385 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&386 { echo " $as_me: error: invalid feature name: $ac_feature" >&2387 { (exit 1); exit 1; }; }388 ac_feature=`echo $ac_feature 389 eval "enable_$ ac_feature=no" ;;170 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then 171 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 172 fi 173 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 174 eval "enable_${ac_feature}=no" ;; 390 175 391 176 -enable-* | --enable-*) 392 ac_feature=`e xpr "x$ac_option" : 'x-*enable-\([^=]*\)'`177 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` 393 178 # Reject names that are not valid shell variable names. 394 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&395 { echo " $as_me: error: invalid feature name: $ac_feature" >&2396 { (exit 1); exit 1; }; }397 ac_feature=`echo $ac_feature 398 case $ac_optionin399 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;179 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then 180 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } 181 fi 182 ac_feature=`echo $ac_feature| sed 's/-/_/g'` 183 case "$ac_option" in 184 *=*) ;; 400 185 *) ac_optarg=yes ;; 401 186 esac 402 eval "enable_$ ac_feature='$ac_optarg'" ;;187 eval "enable_${ac_feature}='$ac_optarg'" ;; 403 188 404 189 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 409 194 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 410 195 | --exec=* | --exe=* | --ex=*) 411 exec_prefix= $ac_optarg;;196 exec_prefix="$ac_optarg" ;; 412 197 413 198 -gas | --gas | --ga | --g) … … 415 200 with_gas=yes ;; 416 201 417 -help | --help | --hel | --he | -h) 418 ac_init_help=long ;; 419 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 420 ac_init_help=recursive ;; 421 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 422 ac_init_help=short ;; 202 -help | --help | --hel | --he) 203 # Omit some internal or obsolete options to make the list less imposing. 204 # This message is too long to be a string in the A/UX 3.1 sh. 205 cat << EOF 206 Usage: configure [options] [host] 207 Options: [defaults in brackets after descriptions] 208 Configuration: 209 --cache-file=FILE cache test results in FILE 210 --help print this message 211 --no-create do not create output files 212 --quiet, --silent do not print \`checking...' messages 213 --version print the version of autoconf that created configure 214 Directory and file names: 215 --prefix=PREFIX install architecture-independent files in PREFIX 216 [$ac_default_prefix] 217 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 218 [same as prefix] 219 --bindir=DIR user executables in DIR [EPREFIX/bin] 220 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin] 221 --libexecdir=DIR program executables in DIR [EPREFIX/libexec] 222 --datadir=DIR read-only architecture-independent data in DIR 223 [PREFIX/share] 224 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc] 225 --sharedstatedir=DIR modifiable architecture-independent data in DIR 226 [PREFIX/com] 227 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var] 228 --libdir=DIR object code libraries in DIR [EPREFIX/lib] 229 --includedir=DIR C header files in DIR [PREFIX/include] 230 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include] 231 --infodir=DIR info documentation in DIR [PREFIX/info] 232 --mandir=DIR man documentation in DIR [PREFIX/man] 233 --srcdir=DIR find the sources in DIR [configure dir or ..] 234 --program-prefix=PREFIX prepend PREFIX to installed program names 235 --program-suffix=SUFFIX append SUFFIX to installed program names 236 --program-transform-name=PROGRAM 237 run sed PROGRAM on installed program names 238 EOF 239 cat << EOF 240 Host type: 241 --build=BUILD configure for building on BUILD [BUILD=HOST] 242 --host=HOST configure for HOST [guessed] 243 --target=TARGET configure for TARGET [TARGET=HOST] 244 Features and packages: 245 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 246 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 247 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 248 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 249 --x-includes=DIR X include files are in DIR 250 --x-libraries=DIR X library files are in DIR 251 EOF 252 if test -n "$ac_help"; then 253 echo "--enable and --with options recognized:$ac_help" 254 fi 255 exit 0 ;; 423 256 424 257 -host | --host | --hos | --ho) 425 ac_prev=host _alias;;258 ac_prev=host ;; 426 259 -host=* | --host=* | --hos=* | --ho=*) 427 host _alias=$ac_optarg;;260 host="$ac_optarg" ;; 428 261 429 262 -includedir | --includedir | --includedi | --included | --include \ … … 432 265 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 433 266 | --includ=* | --inclu=* | --incl=* | --inc=*) 434 includedir= $ac_optarg;;267 includedir="$ac_optarg" ;; 435 268 436 269 -infodir | --infodir | --infodi | --infod | --info | --inf) 437 270 ac_prev=infodir ;; 438 271 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 439 infodir= $ac_optarg;;272 infodir="$ac_optarg" ;; 440 273 441 274 -libdir | --libdir | --libdi | --libd) 442 275 ac_prev=libdir ;; 443 276 -libdir=* | --libdir=* | --libdi=* | --libd=*) 444 libdir= $ac_optarg;;277 libdir="$ac_optarg" ;; 445 278 446 279 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ … … 449 282 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 450 283 | --libexe=* | --libex=* | --libe=*) 451 libexecdir= $ac_optarg;;284 libexecdir="$ac_optarg" ;; 452 285 453 286 -localstatedir | --localstatedir | --localstatedi | --localstated \ … … 458 291 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 459 292 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 460 localstatedir= $ac_optarg;;293 localstatedir="$ac_optarg" ;; 461 294 462 295 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 463 296 ac_prev=mandir ;; 464 297 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 465 mandir= $ac_optarg;;298 mandir="$ac_optarg" ;; 466 299 467 300 -nfp | --nfp | --nf) … … 470 303 471 304 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 472 | --no-cr | --no-c | -n)305 | --no-cr | --no-c) 473 306 no_create=yes ;; 474 307 … … 484 317 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 485 318 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 486 oldincludedir= $ac_optarg;;319 oldincludedir="$ac_optarg" ;; 487 320 488 321 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 489 322 ac_prev=prefix ;; 490 323 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 491 prefix= $ac_optarg;;324 prefix="$ac_optarg" ;; 492 325 493 326 -program-prefix | --program-prefix | --program-prefi | --program-pref \ … … 496 329 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 497 330 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 498 program_prefix= $ac_optarg;;331 program_prefix="$ac_optarg" ;; 499 332 500 333 -program-suffix | --program-suffix | --program-suffi | --program-suff \ … … 503 336 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 504 337 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 505 program_suffix= $ac_optarg;;338 program_suffix="$ac_optarg" ;; 506 339 507 340 -program-transform-name | --program-transform-name \ … … 520 353 | --program-trans=* | --program-tran=* \ 521 354 | --progr-tra=* | --program-tr=* | --program-t=*) 522 program_transform_name= $ac_optarg;;355 program_transform_name="$ac_optarg" ;; 523 356 524 357 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ … … 530 363 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 531 364 | --sbi=* | --sb=*) 532 sbindir= $ac_optarg;;365 sbindir="$ac_optarg" ;; 533 366 534 367 -sharedstatedir | --sharedstatedir | --sharedstatedi \ … … 541 374 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 542 375 | --sha=* | --sh=*) 543 sharedstatedir= $ac_optarg;;376 sharedstatedir="$ac_optarg" ;; 544 377 545 378 -site | --site | --sit) 546 379 ac_prev=site ;; 547 380 -site=* | --site=* | --sit=*) 548 site= $ac_optarg;;381 site="$ac_optarg" ;; 549 382 550 383 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 551 384 ac_prev=srcdir ;; 552 385 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 553 srcdir= $ac_optarg;;386 srcdir="$ac_optarg" ;; 554 387 555 388 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ … … 558 391 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 559 392 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 560 sysconfdir= $ac_optarg;;393 sysconfdir="$ac_optarg" ;; 561 394 562 395 -target | --target | --targe | --targ | --tar | --ta | --t) 563 ac_prev=target _alias;;396 ac_prev=target ;; 564 397 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 565 target _alias=$ac_optarg;;398 target="$ac_optarg" ;; 566 399 567 400 -v | -verbose | --verbose | --verbos | --verbo | --verb) 568 401 verbose=yes ;; 569 402 570 -version | --version | --versio | --versi | --vers | -V) 571 ac_init_version=: ;; 403 -version | --version | --versio | --versi | --vers) 404 echo "configure generated by autoconf version 2.13" 405 exit 0 ;; 572 406 573 407 -with-* | --with-*) 574 ac_package=`e xpr "x$ac_option" : 'x-*with-\([^=]*\)'`408 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` 575 409 # Reject names that are not valid shell variable names. 576 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&577 { echo " $as_me: error: invalid package name: $ac_package" >&2578 { (exit 1); exit 1; }; }410 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then 411 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 412 fi 579 413 ac_package=`echo $ac_package| sed 's/-/_/g'` 580 case $ac_optionin581 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;414 case "$ac_option" in 415 *=*) ;; 582 416 *) ac_optarg=yes ;; 583 417 esac 584 eval "with_$ ac_package='$ac_optarg'" ;;418 eval "with_${ac_package}='$ac_optarg'" ;; 585 419 586 420 -without-* | --without-*) 587 ac_package=`e xpr "x$ac_option" : 'x-*without-\(.*\)'`421 ac_package=`echo $ac_option|sed -e 's/-*without-//'` 588 422 # Reject names that are not valid shell variable names. 589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&590 { echo " $as_me: error: invalid package name: $ac_package" >&2591 { (exit 1); exit 1; }; }592 ac_package=`echo $ac_package 593 eval "with_$ ac_package=no" ;;423 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then 424 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } 425 fi 426 ac_package=`echo $ac_package| sed 's/-/_/g'` 427 eval "with_${ac_package}=no" ;; 594 428 595 429 --x) … … 602 436 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 603 437 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 604 x_includes= $ac_optarg;;438 x_includes="$ac_optarg" ;; 605 439 606 440 -x-libraries | --x-libraries | --x-librarie | --x-librari \ … … 609 443 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 610 444 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 611 x_libraries=$ac_optarg ;; 612 613 -*) { echo "$as_me: error: unrecognized option: $ac_option 614 Try \`$0 --help' for more information." >&2 615 { (exit 1); exit 1; }; } 445 x_libraries="$ac_optarg" ;; 446 447 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } 616 448 ;; 617 449 618 *=*)619 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`620 # Reject names that are not valid shell variable names.621 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&622 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2623 { (exit 1); exit 1; }; }624 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`625 eval "$ac_envvar='$ac_optarg'"626 export $ac_envvar ;;627 628 450 *) 629 # FIXME: should be removed in autoconf 3.0. 630 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 631 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 632 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 633 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 451 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then 452 echo "configure: warning: $ac_option: invalid host type" 1>&2 453 fi 454 if test "x$nonopt" != xNONE; then 455 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; } 456 fi 457 nonopt="$ac_option" 634 458 ;; 635 459 … … 638 462 639 463 if test -n "$ac_prev"; then 640 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 641 { echo "$as_me: error: missing argument to $ac_option" >&2 642 { (exit 1); exit 1; }; } 643 fi 644 645 # Be sure to have absolute paths. 646 for ac_var in exec_prefix prefix 464 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; } 465 fi 466 467 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 468 469 # File descriptor usage: 470 # 0 standard input 471 # 1 file creation 472 # 2 errors and warnings 473 # 3 some systems may open it to /dev/tty 474 # 4 used on the Kubota Titan 475 # 6 checking for... messages and results 476 # 5 compiler messages saved in config.log 477 if test "$silent" = yes; then 478 exec 6>/dev/null 479 else 480 exec 6>&1 481 fi 482 exec 5>./config.log 483 484 echo "\ 485 This file contains any messages produced by compilers while 486 running configure, to aid debugging if configure makes a mistake. 487 " 1>&5 488 489 # Strip out --no-create and --no-recursion so they do not pile up. 490 # Also quote any args containing shell metacharacters. 491 ac_configure_args= 492 for ac_arg 647 493 do 648 eval ac_val=$`echo $ac_var` 649 case $ac_val in 650 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 651 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 652 { (exit 1); exit 1; }; };; 494 case "$ac_arg" in 495 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 496 | --no-cr | --no-c) ;; 497 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 498 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;; 499 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*) 500 ac_configure_args="$ac_configure_args '$ac_arg'" ;; 501 *) ac_configure_args="$ac_configure_args $ac_arg" ;; 653 502 esac 654 503 done 655 504 656 # Be sure to have absolute paths. 657 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 658 localstatedir libdir includedir oldincludedir infodir mandir 659 do 660 eval ac_val=$`echo $ac_var` 661 case $ac_val in 662 [\\/$]* | ?:[\\/]* ) ;; 663 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 664 { (exit 1); exit 1; }; };; 665 esac 666 done 667 668 # There might be people who depend on the old broken behavior: `$host' 669 # used to hold the argument of --host etc. 670 # FIXME: To remove some day. 671 build=$build_alias 672 host=$host_alias 673 target=$target_alias 674 675 # FIXME: To remove some day. 676 if test "x$host_alias" != x; then 677 if test "x$build_alias" = x; then 678 cross_compiling=maybe 679 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 680 If a cross compiler is detected then cross compile mode will be used." >&2 681 elif test "x$build_alias" != "x$host_alias"; then 682 cross_compiling=yes 683 fi 684 fi 685 686 ac_tool_prefix= 687 test -n "$host_alias" && ac_tool_prefix=$host_alias- 688 689 test "$silent" = yes && exec 6>/dev/null 690 505 # NLS nuisances. 506 # Only set these to C if already set. These must not be set unconditionally 507 # because not all systems understand e.g. LANG=C (notably SCO). 508 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'! 509 # Non-C LC_CTYPE values break the ctype check. 510 if test "${LANG+set}" = set; then LANG=C; export LANG; fi 511 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi 512 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi 513 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi 514 515 # confdefs.h avoids OS command line length limits that DEFS can exceed. 516 rm -rf conftest* confdefs.h 517 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 518 echo > confdefs.h 519 520 # A filename unique to this package, relative to the directory that 521 # configure is in, which we can look for to find out if srcdir is correct. 522 ac_unique_file=kernel/matpol.h 691 523 692 524 # Find the source files, if location was not specified. … … 694 526 ac_srcdir_defaulted=yes 695 527 # Try the directory containing this script, then its parent. 696 ac_confdir=`(dirname "$0") 2>/dev/null || 697 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 698 X"$0" : 'X\(//\)[^/]' \| \ 699 X"$0" : 'X\(//\)$' \| \ 700 X"$0" : 'X\(/\)' \| \ 701 . : '\(.\)' 2>/dev/null || 702 echo X"$0" | 703 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 704 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 705 /^X\(\/\/\)$/{ s//\1/; q; } 706 /^X\(\/\).*/{ s//\1/; q; } 707 s/.*/./; q'` 528 ac_prog=$0 529 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 530 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 708 531 srcdir=$ac_confdir 709 532 if test ! -r $srcdir/$ac_unique_file; then … … 715 538 if test ! -r $srcdir/$ac_unique_file; then 716 539 if test "$ac_srcdir_defaulted" = yes; then 717 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 718 { (exit 1); exit 1; }; } 719 else 720 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 721 { (exit 1); exit 1; }; } 722 fi 723 fi 724 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 725 ac_env_build_alias_set=${build_alias+set} 726 ac_env_build_alias_value=$build_alias 727 ac_cv_env_build_alias_set=${build_alias+set} 728 ac_cv_env_build_alias_value=$build_alias 729 ac_env_host_alias_set=${host_alias+set} 730 ac_env_host_alias_value=$host_alias 731 ac_cv_env_host_alias_set=${host_alias+set} 732 ac_cv_env_host_alias_value=$host_alias 733 ac_env_target_alias_set=${target_alias+set} 734 ac_env_target_alias_value=$target_alias 735 ac_cv_env_target_alias_set=${target_alias+set} 736 ac_cv_env_target_alias_value=$target_alias 737 ac_env_CC_set=${CC+set} 738 ac_env_CC_value=$CC 739 ac_cv_env_CC_set=${CC+set} 740 ac_cv_env_CC_value=$CC 741 ac_env_CFLAGS_set=${CFLAGS+set} 742 ac_env_CFLAGS_value=$CFLAGS 743 ac_cv_env_CFLAGS_set=${CFLAGS+set} 744 ac_cv_env_CFLAGS_value=$CFLAGS 745 ac_env_LDFLAGS_set=${LDFLAGS+set} 746 ac_env_LDFLAGS_value=$LDFLAGS 747 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 748 ac_cv_env_LDFLAGS_value=$LDFLAGS 749 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 750 ac_env_CPPFLAGS_value=$CPPFLAGS 751 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 752 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 753 ac_env_CPP_set=${CPP+set} 754 ac_env_CPP_value=$CPP 755 ac_cv_env_CPP_set=${CPP+set} 756 ac_cv_env_CPP_value=$CPP 757 ac_env_CXX_set=${CXX+set} 758 ac_env_CXX_value=$CXX 759 ac_cv_env_CXX_set=${CXX+set} 760 ac_cv_env_CXX_value=$CXX 761 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 762 ac_env_CXXFLAGS_value=$CXXFLAGS 763 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 764 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 765 766 # 767 # Report the --help message. 768 # 769 if test "$ac_init_help" = "long"; then 770 # Omit some internal or obsolete options to make the list less imposing. 771 # This message is too long to be a string in the A/UX 3.1 sh. 772 cat <<_ACEOF 773 \`configure' configures this package to adapt to many kinds of systems. 774 775 Usage: $0 [OPTION]... [VAR=VALUE]... 776 777 To assign environment variables (e.g., CC, CFLAGS...), specify them as 778 VAR=VALUE. See below for descriptions of some of the useful variables. 779 780 Defaults for the options are specified in brackets. 781 782 Configuration: 783 -h, --help display this help and exit 784 --help=short display options specific to this package 785 --help=recursive display the short help of all the included packages 786 -V, --version display version information and exit 787 -q, --quiet, --silent do not print \`checking...' messages 788 --cache-file=FILE cache test results in FILE [disabled] 789 -C, --config-cache alias for \`--cache-file=config.cache' 790 -n, --no-create do not create output files 791 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 792 793 _ACEOF 794 795 cat <<_ACEOF 796 Installation directories: 797 --prefix=PREFIX install architecture-independent files in PREFIX 798 [$ac_default_prefix] 799 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 800 [PREFIX] 801 802 By default, \`make install' will install all the files in 803 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 804 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 805 for instance \`--prefix=\$HOME'. 806 807 For better control, use the options below. 808 809 Fine tuning of the installation directories: 810 --bindir=DIR user executables [EPREFIX/bin] 811 --sbindir=DIR system admin executables [EPREFIX/sbin] 812 --libexecdir=DIR program executables [EPREFIX/libexec] 813 --datadir=DIR read-only architecture-independent data [PREFIX/share] 814 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 815 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 816 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 817 --libdir=DIR object code libraries [EPREFIX/lib] 818 --includedir=DIR C header files [PREFIX/include] 819 --oldincludedir=DIR C header files for non-gcc [/usr/include] 820 --infodir=DIR info documentation [PREFIX/info] 821 --mandir=DIR man documentation [PREFIX/man] 822 _ACEOF 823 824 cat <<\_ACEOF 825 _ACEOF 826 fi 827 828 if test -n "$ac_init_help"; then 829 830 cat <<\_ACEOF 831 832 Optional Features: 833 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 834 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 835 \ 836 --enable-PACKAGE configure and/or build PACKAGE 837 --disable-PACKAGE do not configure and/or build PACKAGE 838 where PACKAGE can be: 839 smallgmp minimal version of gmp written in C only 840 \ 841 omalloc omalloc memory managment 842 \ 843 gmp Gnu Multiple Precision package 844 \ 845 MP Multi Protocol library 846 \ 847 factory polynomial factorization library 848 \ 849 libfac char set and modp poly factorization library 850 \ 851 sgroup numerical semigroup computations 852 \ 853 Singular CAS for Polynomial Computations 854 \ 855 IntegerProgramming IntegerProgramming 856 \ 857 Plural Plural 858 \ 859 Texinfo Texinfo for info, texi2dvi, makeinfo 860 \ 861 Texi2html Texinfo to HTML converter 862 \ 863 doc Singular documentation 864 \ 865 emacs emacs completion files 866 867 Optional Packages: 868 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 869 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 870 \ 871 --with-tmpdir=DIR use DIR as temporary directory 872 \ 873 --with-PACKAGE use PACKAGE, provide dependent functionality 874 --without-PACKAGE do not use PACKAGE, disable dependent functionality 875 where PACKAGE can be: 876 MP Multi Protocol library 877 \ 878 factory polynomial factorization library 879 \ 880 libfac char set and modp poly factorization library 881 \ 882 --with-apint=PACKAGE use PACKAGE for arbitary integer arithmetic 883 where PACKAGE can be gmp or smallgmp 884 All additional --enable and --with options are passed to subsequent calls 885 to configure of the packages to be built. See also configure --help in 886 these packages (resp. subdirs). 887 888 Some influential environment variables: 889 CC C compiler command 890 CFLAGS C compiler flags 891 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 892 nonstandard directory <lib dir> 893 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 894 headers in a nonstandard directory <include dir> 895 CPP C preprocessor 896 CXX C++ compiler command 897 CXXFLAGS C++ compiler flags 898 899 Use these variables to override the choices made by `configure' or to help 900 it to find libraries and programs with nonstandard names/locations. 901 902 _ACEOF 903 fi 904 905 if test "$ac_init_help" = "recursive"; then 906 # If there are subdirs, report their specific --help. 907 ac_popdir=`pwd` 908 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 909 test -d $ac_dir || continue 910 ac_builddir=. 911 912 if test "$ac_dir" != .; then 913 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 914 # A "../" for each directory in $ac_dir_suffix. 915 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 916 else 917 ac_dir_suffix= ac_top_builddir= 918 fi 919 920 case $srcdir in 921 .) # No --srcdir option. We are building in place. 922 ac_srcdir=. 923 if test -z "$ac_top_builddir"; then 924 ac_top_srcdir=. 925 else 926 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 927 fi ;; 928 [\\/]* | ?:[\\/]* ) # Absolute path. 929 ac_srcdir=$srcdir$ac_dir_suffix; 930 ac_top_srcdir=$srcdir ;; 931 *) # Relative path. 932 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 933 ac_top_srcdir=$ac_top_builddir$srcdir ;; 934 esac 935 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 936 # absolute. 937 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 938 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 939 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 940 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 941 942 cd $ac_dir 943 # Check for guested configure; otherwise get Cygnus style configure. 944 if test -f $ac_srcdir/configure.gnu; then 945 echo 946 $SHELL $ac_srcdir/configure.gnu --help=recursive 947 elif test -f $ac_srcdir/configure; then 948 echo 949 $SHELL $ac_srcdir/configure --help=recursive 950 elif test -f $ac_srcdir/configure.ac || 951 test -f $ac_srcdir/configure.in; then 952 echo 953 $ac_configure --help 954 else 955 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 956 fi 957 cd $ac_popdir 958 done 959 fi 960 961 test -n "$ac_init_help" && exit 0 962 if $ac_init_version; then 963 cat <<\_ACEOF 964 965 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002 966 Free Software Foundation, Inc. 967 This configure script is free software; the Free Software Foundation 968 gives unlimited permission to copy, distribute and modify it. 969 _ACEOF 970 exit 0 971 fi 972 exec 5>config.log 973 cat >&5 <<_ACEOF 974 This file contains any messages produced by compilers while 975 running configure, to aid debugging if configure makes a mistake. 976 977 It was created by $as_me, which was 978 generated by GNU Autoconf 2.53. Invocation command line was 979 980 $ $0 $@ 981 982 _ACEOF 983 { 984 cat <<_ASUNAME 985 ## --------- ## 986 ## Platform. ## 987 ## --------- ## 988 989 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 990 uname -m = `(uname -m) 2>/dev/null || echo unknown` 991 uname -r = `(uname -r) 2>/dev/null || echo unknown` 992 uname -s = `(uname -s) 2>/dev/null || echo unknown` 993 uname -v = `(uname -v) 2>/dev/null || echo unknown` 994 995 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 996 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 997 998 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 999 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1000 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1001 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1002 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1003 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1004 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1005 1006 _ASUNAME 1007 1008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1009 for as_dir in $PATH 1010 do 1011 IFS=$as_save_IFS 1012 test -z "$as_dir" && as_dir=. 1013 echo "PATH: $as_dir" 1014 done 1015 1016 } >&5 1017 1018 cat >&5 <<_ACEOF 1019 1020 1021 ## ----------- ## 1022 ## Core tests. ## 1023 ## ----------- ## 1024 1025 _ACEOF 1026 1027 1028 # Keep a trace of the command line. 1029 # Strip out --no-create and --no-recursion so they do not pile up. 1030 # Also quote any args containing shell meta-characters. 1031 ac_configure_args= 1032 ac_sep= 1033 for ac_arg 1034 do 1035 case $ac_arg in 1036 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 1037 | --no-cr | --no-c | -n ) continue ;; 1038 -no-recursion | --no-recursion | --no-recursio | --no-recursi \ 1039 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) 1040 continue ;; 1041 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1042 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1043 esac 1044 case " $ac_configure_args " in 1045 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1046 *) ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1047 ac_sep=" " ;; 1048 esac 1049 # Get rid of the leading space. 1050 done 1051 1052 # When interrupted or exit'd, cleanup temporary files, and complete 1053 # config.log. We remove comments because anyway the quotes in there 1054 # would cause problems or look ugly. 1055 # WARNING: Be sure not to use single quotes in there, as some shells, 1056 # such as our DU 5.0 friend, will then `close' the trap. 1057 trap 'exit_status=$? 1058 # Save into config.log some information that might help in debugging. 1059 { 1060 echo 1061 cat <<\_ASBOX 1062 ## ---------------- ## 1063 ## Cache variables. ## 1064 ## ---------------- ## 1065 _ASBOX 1066 echo 1067 # The following way of writing the cache mishandles newlines in values, 1068 { 1069 (set) 2>&1 | 1070 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1071 *ac_space=\ *) 1072 sed -n \ 1073 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1074 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1075 ;; 1076 *) 1077 sed -n \ 1078 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1079 ;; 1080 esac; 1081 } 1082 echo 1083 if test -s confdefs.h; then 1084 cat <<\_ASBOX 1085 ## ----------- ## 1086 ## confdefs.h. ## 1087 ## ----------- ## 1088 _ASBOX 1089 echo 1090 sed "/^$/d" confdefs.h 1091 echo 1092 fi 1093 test "$ac_signal" != 0 && 1094 echo "$as_me: caught signal $ac_signal" 1095 echo "$as_me: exit $exit_status" 1096 } >&5 1097 rm -f core core.* *.core && 1098 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1099 exit $exit_status 1100 ' 0 1101 for ac_signal in 1 2 13 15; do 1102 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1103 done 1104 ac_signal=0 1105 1106 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1107 rm -rf conftest* confdefs.h 1108 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1109 echo >confdefs.h 1110 1111 # Predefined preprocessor variables. 1112 1113 cat >>confdefs.h <<_ACEOF 1114 #define PACKAGE_NAME "$PACKAGE_NAME" 1115 _ACEOF 1116 1117 1118 cat >>confdefs.h <<_ACEOF 1119 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1120 _ACEOF 1121 1122 1123 cat >>confdefs.h <<_ACEOF 1124 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1125 _ACEOF 1126 1127 1128 cat >>confdefs.h <<_ACEOF 1129 #define PACKAGE_STRING "$PACKAGE_STRING" 1130 _ACEOF 1131 1132 1133 cat >>confdefs.h <<_ACEOF 1134 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1135 _ACEOF 1136 1137 1138 # Let the site file select an alternate cache file if it wants to. 540 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } 541 else 542 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } 543 fi 544 fi 545 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` 546 1139 547 # Prefer explicitly selected file to automatically selected ones. 1140 548 if test -z "$CONFIG_SITE"; then … … 1147 555 for ac_site_file in $CONFIG_SITE; do 1148 556 if test -r "$ac_site_file"; then 1149 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1150 echo "$as_me: loading site script $ac_site_file" >&6;} 1151 sed 's/^/| /' "$ac_site_file" >&5 557 echo "loading site script $ac_site_file" 1152 558 . "$ac_site_file" 1153 559 fi … … 1155 561 1156 562 if test -r "$cache_file"; then 1157 # Some versions of bash will fail to source /dev/null (special 1158 # files actually), so we avoid doing that. 1159 if test -f "$cache_file"; then 1160 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1161 echo "$as_me: loading cache $cache_file" >&6;} 1162 case $cache_file in 1163 [\\/]* | ?:[\\/]* ) . $cache_file;; 1164 *) . ./$cache_file;; 1165 esac 1166 fi 1167 else 1168 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1169 echo "$as_me: creating cache $cache_file" >&6;} 1170 >$cache_file 1171 fi 1172 1173 # Check that the precious variables saved in the cache have kept the same 1174 # value. 1175 ac_cache_corrupted=false 1176 for ac_var in `(set) 2>&1 | 1177 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1178 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1179 eval ac_new_set=\$ac_env_${ac_var}_set 1180 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1181 eval ac_new_val="\$ac_env_${ac_var}_value" 1182 case $ac_old_set,$ac_new_set in 1183 set,) 1184 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1185 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1186 ac_cache_corrupted=: ;; 1187 ,set) 1188 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1189 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1190 ac_cache_corrupted=: ;; 1191 ,);; 1192 *) 1193 if test "x$ac_old_val" != "x$ac_new_val"; then 1194 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1195 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1196 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1197 echo "$as_me: former value: $ac_old_val" >&2;} 1198 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1199 echo "$as_me: current value: $ac_new_val" >&2;} 1200 ac_cache_corrupted=: 1201 fi;; 1202 esac 1203 # Pass precious variables to config.status. 1204 if test "$ac_new_set" = set; then 1205 case $ac_new_val in 1206 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1207 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1208 *) ac_arg=$ac_var=$ac_new_val ;; 1209 esac 1210 case " $ac_configure_args " in 1211 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1212 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1213 esac 1214 fi 1215 done 1216 if $ac_cache_corrupted; then 1217 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1218 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1219 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1220 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1221 { (exit 1); exit 1; }; } 563 echo "loading cache $cache_file" 564 . $cache_file 565 else 566 echo "creating cache $cache_file" 567 > $cache_file 1222 568 fi 1223 569 1224 570 ac_ext=c 571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1225 572 ac_cpp='$CPP $CPPFLAGS' 1226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1228 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 573 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 574 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 575 cross_compiling=$ac_cv_prog_cc_cross 576 577 ac_exeext= 578 ac_objext=o 579 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then 580 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu. 581 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then 582 ac_n= ac_c=' 583 ' ac_t=' ' 584 else 585 ac_n=-n ac_c= ac_t= 586 fi 587 else 588 ac_n= ac_c='\c' ac_t= 589 fi 1245 590 1246 591 … … 1248 593 pwd=`pwd` 1249 594 1250 # make them to env variables 595 # make them to env variables 1251 596 # pass them indirectly to subsequent configures 1252 597 SINGULAR_MAJOR_VERSION=2 … … 1257 602 SINGULAR_VERSION="${SINGULAR_SHORT_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}" 1258 603 SINGULAR_RPM_VERSION="${SINGULAR_MAJOR_VERSION}.${SINGULAR_MINOR_VERSION}.${SINGULAR_SUB_VERSION}" 1259 VERSION_DATE=" August 2001"604 VERSION_DATE="July 2003" 1260 605 SINGULAR_ROOT_DIR=$pwd 1261 606 … … 1297 642 1298 643 1299 echo "$as_me:$LINENO: checking uname for singular" >&51300 echo $ECHO_N "checking uname for singular... $ECHO_C" >&61301 if test "${ac_cv_singuname+set}" = set; then1302 echo $ ECHO_N "(cached) $ECHO_C">&6644 echo $ac_n "checking uname for singular""... $ac_c" 1>&6 645 echo "configure:646: checking uname for singular" >&5 646 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then 647 echo $ac_n "(cached) $ac_c" 1>&6 1303 648 else 1304 649 ac_cv_singuname="unknown" … … 1311 656 fi 1312 657 1313 echo "$as_me:$LINENO: result: $ac_cv_singuname" >&5 1314 echo "${ECHO_T}$ac_cv_singuname" >&6 658 echo "$ac_t""$ac_cv_singuname" 1>&6 1315 659 if test "$ac_cv_singuname" = unknown; then 1316 { { echo "$as_me:$LINENO: error: Unknown architecture: Check singuname.sh" >&5 1317 echo "$as_me: error: Unknown architecture: Check singuname.sh" >&2;} 1318 { (exit 1); exit 1; }; } 660 { echo "configure: error: Unknown architecture: Check singuname.sh" 1>&2; exit 1; } 1319 661 else 1320 662 SINGUNAME=$ac_cv_singuname 1321 663 1322 664 fi 1323 665 … … 1326 668 1327 669 1328 ac_ext=c 1329 ac_cpp='$CPP $CPPFLAGS' 1330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1332 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1333 if test -n "$ac_tool_prefix"; then 1334 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1335 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1336 echo "$as_me:$LINENO: checking for $ac_word" >&5 1337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1338 if test "${ac_cv_prog_CC+set}" = set; then 1339 echo $ECHO_N "(cached) $ECHO_C" >&6 670 # Extract the first word of "gcc", so it can be a program name with args. 671 set dummy gcc; ac_word=$2 672 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 673 echo "configure:674: checking for $ac_word" >&5 674 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 675 echo $ac_n "(cached) $ac_c" 1>&6 1340 676 else 1341 677 if test -n "$CC"; then 1342 678 ac_cv_prog_CC="$CC" # Let the user override the test. 1343 679 else 1344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1345 for as_dir in $PATH 1346 do 1347 IFS=$as_save_IFS 1348 test -z "$as_dir" && as_dir=. 1349 for ac_exec_ext in '' $ac_executable_extensions; do 1350 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1351 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1353 break 2 1354 fi 1355 done 1356 done 1357 1358 fi 1359 fi 1360 CC=$ac_cv_prog_CC 680 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 681 ac_dummy="$PATH" 682 for ac_dir in $ac_dummy; do 683 test -z "$ac_dir" && ac_dir=. 684 if test -f $ac_dir/$ac_word; then 685 ac_cv_prog_CC="gcc" 686 break 687 fi 688 done 689 IFS="$ac_save_ifs" 690 fi 691 fi 692 CC="$ac_cv_prog_CC" 1361 693 if test -n "$CC"; then 1362 echo "$as_me:$LINENO: result: $CC" >&5 1363 echo "${ECHO_T}$CC" >&6 1364 else 1365 echo "$as_me:$LINENO: result: no" >&5 1366 echo "${ECHO_T}no" >&6 1367 fi 1368 1369 fi 1370 if test -z "$ac_cv_prog_CC"; then 1371 ac_ct_CC=$CC 1372 # Extract the first word of "gcc", so it can be a program name with args. 1373 set dummy gcc; ac_word=$2 1374 echo "$as_me:$LINENO: checking for $ac_word" >&5 1375 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1376 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1377 echo $ECHO_N "(cached) $ECHO_C" >&6 1378 else 1379 if test -n "$ac_ct_CC"; then 1380 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1381 else 1382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1383 for as_dir in $PATH 1384 do 1385 IFS=$as_save_IFS 1386 test -z "$as_dir" && as_dir=. 1387 for ac_exec_ext in '' $ac_executable_extensions; do 1388 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1389 ac_cv_prog_ac_ct_CC="gcc" 1390 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1391 break 2 1392 fi 1393 done 1394 done 1395 1396 fi 1397 fi 1398 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1399 if test -n "$ac_ct_CC"; then 1400 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1401 echo "${ECHO_T}$ac_ct_CC" >&6 1402 else 1403 echo "$as_me:$LINENO: result: no" >&5 1404 echo "${ECHO_T}no" >&6 1405 fi 1406 1407 CC=$ac_ct_CC 1408 else 1409 CC="$ac_cv_prog_CC" 1410 fi 1411 1412 if test -z "$CC"; then 1413 if test -n "$ac_tool_prefix"; then 1414 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1415 set dummy ${ac_tool_prefix}cc; ac_word=$2 1416 echo "$as_me:$LINENO: checking for $ac_word" >&5 1417 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1418 if test "${ac_cv_prog_CC+set}" = set; then 1419 echo $ECHO_N "(cached) $ECHO_C" >&6 1420 else 1421 if test -n "$CC"; then 1422 ac_cv_prog_CC="$CC" # Let the user override the test. 1423 else 1424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1425 for as_dir in $PATH 1426 do 1427 IFS=$as_save_IFS 1428 test -z "$as_dir" && as_dir=. 1429 for ac_exec_ext in '' $ac_executable_extensions; do 1430 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1431 ac_cv_prog_CC="${ac_tool_prefix}cc" 1432 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1433 break 2 1434 fi 1435 done 1436 done 1437 1438 fi 1439 fi 1440 CC=$ac_cv_prog_CC 1441 if test -n "$CC"; then 1442 echo "$as_me:$LINENO: result: $CC" >&5 1443 echo "${ECHO_T}$CC" >&6 1444 else 1445 echo "$as_me:$LINENO: result: no" >&5 1446 echo "${ECHO_T}no" >&6 1447 fi 1448 1449 fi 1450 if test -z "$ac_cv_prog_CC"; then 1451 ac_ct_CC=$CC 1452 # Extract the first word of "cc", so it can be a program name with args. 1453 set dummy cc; ac_word=$2 1454 echo "$as_me:$LINENO: checking for $ac_word" >&5 1455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1456 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1457 echo $ECHO_N "(cached) $ECHO_C" >&6 1458 else 1459 if test -n "$ac_ct_CC"; then 1460 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1461 else 1462 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1463 for as_dir in $PATH 1464 do 1465 IFS=$as_save_IFS 1466 test -z "$as_dir" && as_dir=. 1467 for ac_exec_ext in '' $ac_executable_extensions; do 1468 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1469 ac_cv_prog_ac_ct_CC="cc" 1470 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1471 break 2 1472 fi 1473 done 1474 done 1475 1476 fi 1477 fi 1478 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1479 if test -n "$ac_ct_CC"; then 1480 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1481 echo "${ECHO_T}$ac_ct_CC" >&6 1482 else 1483 echo "$as_me:$LINENO: result: no" >&5 1484 echo "${ECHO_T}no" >&6 1485 fi 1486 1487 CC=$ac_ct_CC 1488 else 1489 CC="$ac_cv_prog_CC" 1490 fi 1491 1492 fi 694 echo "$ac_t""$CC" 1>&6 695 else 696 echo "$ac_t""no" 1>&6 697 fi 698 1493 699 if test -z "$CC"; then 1494 700 # Extract the first word of "cc", so it can be a program name with args. 1495 701 set dummy cc; ac_word=$2 1496 echo "$as_me:$LINENO: checking for $ac_word" >&51497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&61498 if test "${ac_cv_prog_CC+set}" = set; then1499 echo $ ECHO_N "(cached) $ECHO_C">&6702 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 703 echo "configure:704: checking for $ac_word" >&5 704 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 705 echo $ac_n "(cached) $ac_c" 1>&6 1500 706 else 1501 707 if test -n "$CC"; then 1502 708 ac_cv_prog_CC="$CC" # Let the user override the test. 1503 709 else 710 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1504 711 ac_prog_rejected=no 1505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1506 for as_dir in $PATH 1507 do 1508 IFS=$as_save_IFS 1509 test -z "$as_dir" && as_dir=. 1510 for ac_exec_ext in '' $ac_executable_extensions; do 1511 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1512 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1513 ac_prog_rejected=yes 1514 continue 1515 fi 1516 ac_cv_prog_CC="cc" 1517 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1518 break 2 1519 fi 1520 done 1521 done 1522 712 ac_dummy="$PATH" 713 for ac_dir in $ac_dummy; do 714 test -z "$ac_dir" && ac_dir=. 715 if test -f $ac_dir/$ac_word; then 716 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then 717 ac_prog_rejected=yes 718 continue 719 fi 720 ac_cv_prog_CC="cc" 721 break 722 fi 723 done 724 IFS="$ac_save_ifs" 1523 725 if test $ac_prog_rejected = yes; then 1524 726 # We found a bogon in the path, so make sure we never use it. 1525 727 set dummy $ac_cv_prog_CC 1526 728 shift 1527 if test $# !=0; then729 if test $# -gt 0; then 1528 730 # We chose a different compiler from the bogus one. 1529 731 # However, it has the same basename, so the bogon will be chosen 1530 732 # first if we set CC to just the basename; use the full file name. 1531 733 shift 1532 set dummy "$a s_dir/$ac_word" ${1+"$@"}734 set dummy "$ac_dir/$ac_word" "$@" 1533 735 shift 1534 736 ac_cv_prog_CC="$@" … … 1537 739 fi 1538 740 fi 1539 CC= $ac_cv_prog_CC741 CC="$ac_cv_prog_CC" 1540 742 if test -n "$CC"; then 1541 echo "$as_me:$LINENO: result: $CC" >&5 1542 echo "${ECHO_T}$CC" >&6 1543 else 1544 echo "$as_me:$LINENO: result: no" >&5 1545 echo "${ECHO_T}no" >&6 1546 fi 1547 1548 fi 1549 if test -z "$CC"; then 1550 if test -n "$ac_tool_prefix"; then 1551 for ac_prog in cl 1552 do 1553 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1554 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1555 echo "$as_me:$LINENO: checking for $ac_word" >&5 1556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1557 if test "${ac_cv_prog_CC+set}" = set; then 1558 echo $ECHO_N "(cached) $ECHO_C" >&6 743 echo "$ac_t""$CC" 1>&6 744 else 745 echo "$ac_t""no" 1>&6 746 fi 747 748 if test -z "$CC"; then 749 case "`uname -s`" in 750 *win32* | *WIN32*) 751 # Extract the first word of "cl", so it can be a program name with args. 752 set dummy cl; ac_word=$2 753 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 754 echo "configure:755: checking for $ac_word" >&5 755 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then 756 echo $ac_n "(cached) $ac_c" 1>&6 1559 757 else 1560 758 if test -n "$CC"; then 1561 759 ac_cv_prog_CC="$CC" # Let the user override the test. 1562 760 else 1563 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1564 for as_dir in $PATH 1565 do 1566 IFS=$as_save_IFS 1567 test -z "$as_dir" && as_dir=. 1568 for ac_exec_ext in '' $ac_executable_extensions; do 1569 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1570 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1571 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1572 break 2 1573 fi 1574 done 1575 done 1576 1577 fi 1578 fi 1579 CC=$ac_cv_prog_CC 761 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 762 ac_dummy="$PATH" 763 for ac_dir in $ac_dummy; do 764 test -z "$ac_dir" && ac_dir=. 765 if test -f $ac_dir/$ac_word; then 766 ac_cv_prog_CC="cl" 767 break 768 fi 769 done 770 IFS="$ac_save_ifs" 771 fi 772 fi 773 CC="$ac_cv_prog_CC" 1580 774 if test -n "$CC"; then 1581 echo "$as_me:$LINENO: result: $CC" >&5 1582 echo "${ECHO_T}$CC" >&6 1583 else 1584 echo "$as_me:$LINENO: result: no" >&5 1585 echo "${ECHO_T}no" >&6 1586 fi 1587 1588 test -n "$CC" && break 1589 done 1590 fi 1591 if test -z "$CC"; then 1592 ac_ct_CC=$CC 1593 for ac_prog in cl 1594 do 1595 # Extract the first word of "$ac_prog", so it can be a program name with args. 1596 set dummy $ac_prog; ac_word=$2 1597 echo "$as_me:$LINENO: checking for $ac_word" >&5 1598 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1599 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1600 echo $ECHO_N "(cached) $ECHO_C" >&6 1601 else 1602 if test -n "$ac_ct_CC"; then 1603 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1604 else 1605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1606 for as_dir in $PATH 1607 do 1608 IFS=$as_save_IFS 1609 test -z "$as_dir" && as_dir=. 1610 for ac_exec_ext in '' $ac_executable_extensions; do 1611 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1612 ac_cv_prog_ac_ct_CC="$ac_prog" 1613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1614 break 2 1615 fi 1616 done 1617 done 1618 1619 fi 1620 fi 1621 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1622 if test -n "$ac_ct_CC"; then 1623 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1624 echo "${ECHO_T}$ac_ct_CC" >&6 1625 else 1626 echo "$as_me:$LINENO: result: no" >&5 1627 echo "${ECHO_T}no" >&6 1628 fi 1629 1630 test -n "$ac_ct_CC" && break 1631 done 1632 1633 CC=$ac_ct_CC 1634 fi 1635 1636 fi 1637 1638 1639 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH" >&5 1640 echo "$as_me: error: no acceptable C compiler found in \$PATH" >&2;} 1641 { (exit 1); exit 1; }; } 1642 1643 # Provide some information about the compiler. 1644 echo "$as_me:$LINENO:" \ 1645 "checking for C compiler version" >&5 1646 ac_compiler=`set X $ac_compile; echo $2` 1647 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1648 (eval $ac_compiler --version </dev/null >&5) 2>&5 1649 ac_status=$? 1650 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1651 (exit $ac_status); } 1652 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1653 (eval $ac_compiler -v </dev/null >&5) 2>&5 1654 ac_status=$? 1655 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1656 (exit $ac_status); } 1657 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1658 (eval $ac_compiler -V </dev/null >&5) 2>&5 1659 ac_status=$? 1660 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1661 (exit $ac_status); } 1662 1663 cat >conftest.$ac_ext <<_ACEOF 1664 #line $LINENO "configure" 775 echo "$ac_t""$CC" 1>&6 776 else 777 echo "$ac_t""no" 1>&6 778 fi 779 ;; 780 esac 781 fi 782 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } 783 fi 784 785 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 786 echo "configure:787: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 787 788 ac_ext=c 789 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 790 ac_cpp='$CPP $CPPFLAGS' 791 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 792 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 793 cross_compiling=$ac_cv_prog_cc_cross 794 795 cat > conftest.$ac_ext << EOF 796 797 #line 798 "configure" 1665 798 #include "confdefs.h" 1666 799 1667 #ifdef F77_DUMMY_MAIN 1668 # ifdef __cplusplus 1669 extern "C" 1670 # endif 1671 int F77_DUMMY_MAIN() { return 1; } 800 main(){return(0);} 801 EOF 802 if { (eval echo configure:803: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 803 ac_cv_prog_cc_works=yes 804 # If we can't run a trivial program, we are probably using a cross compiler. 805 if (./conftest; exit) 2>/dev/null; then 806 ac_cv_prog_cc_cross=no 807 else 808 ac_cv_prog_cc_cross=yes 809 fi 810 else 811 echo "configure: failed program was:" >&5 812 cat conftest.$ac_ext >&5 813 ac_cv_prog_cc_works=no 814 fi 815 rm -fr conftest* 816 ac_ext=c 817 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 818 ac_cpp='$CPP $CPPFLAGS' 819 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 820 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 821 cross_compiling=$ac_cv_prog_cc_cross 822 823 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 824 if test $ac_cv_prog_cc_works = no; then 825 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } 826 fi 827 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 828 echo "configure:829: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 829 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 830 cross_compiling=$ac_cv_prog_cc_cross 831 832 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 833 echo "configure:834: checking whether we are using GNU C" >&5 834 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then 835 echo $ac_n "(cached) $ac_c" 1>&6 836 else 837 cat > conftest.c <<EOF 838 #ifdef __GNUC__ 839 yes; 1672 840 #endif 1673 int 1674 main () 1675 { 1676 1677 ; 1678 return 0; 1679 } 1680 _ACEOF 1681 ac_clean_files_save=$ac_clean_files 1682 ac_clean_files="$ac_clean_files a.out a.exe" 1683 # Try to create an executable without -o first, disregard a.out. 1684 # It will help us diagnose broken compilers, and finding out an intuition 1685 # of exeext. 1686 echo "$as_me:$LINENO: checking for C compiler default output" >&5 1687 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6 1688 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1689 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1690 (eval $ac_link_default) 2>&5 1691 ac_status=$? 1692 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1693 (exit $ac_status); }; then 1694 # Find the output, starting from the most likely. This scheme is 1695 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1696 # resort. 1697 1698 # Be careful to initialize this variable, since it used to be cached. 1699 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1700 ac_cv_exeext= 1701 for ac_file in `ls a_out.exe a.exe conftest.exe 2>/dev/null; 1702 ls a.out conftest 2>/dev/null; 1703 ls a.* conftest.* 2>/dev/null`; do 1704 case $ac_file in 1705 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb | *.xSYM ) ;; 1706 a.out ) # We found the default executable, but exeext='' is most 1707 # certainly right. 1708 break;; 1709 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1710 # FIXME: I believe we export ac_cv_exeext for Libtool --akim. 1711 export ac_cv_exeext 1712 break;; 1713 * ) break;; 1714 esac 1715 done 1716 else 1717 echo "$as_me: failed program was:" >&5 1718 cat conftest.$ac_ext >&5 1719 { { echo "$as_me:$LINENO: error: C compiler cannot create executables" >&5 1720 echo "$as_me: error: C compiler cannot create executables" >&2;} 1721 { (exit 77); exit 77; }; } 1722 fi 1723 1724 ac_exeext=$ac_cv_exeext 1725 echo "$as_me:$LINENO: result: $ac_file" >&5 1726 echo "${ECHO_T}$ac_file" >&6 1727 1728 # Check the compiler produces executables we can run. If not, either 1729 # the compiler is broken, or we cross compile. 1730 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1731 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1732 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1733 # If not cross compiling, check that we can run a simple program. 1734 if test "$cross_compiling" != yes; then 1735 if { ac_try='./$ac_file' 1736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1737 (eval $ac_try) 2>&5 1738 ac_status=$? 1739 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1740 (exit $ac_status); }; }; then 1741 cross_compiling=no 1742 else 1743 if test "$cross_compiling" = maybe; then 1744 cross_compiling=yes 1745 else 1746 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1747 If you meant to cross compile, use \`--host'." >&5 1748 echo "$as_me: error: cannot run C compiled programs. 1749 If you meant to cross compile, use \`--host'." >&2;} 1750 { (exit 1); exit 1; }; } 1751 fi 1752 fi 1753 fi 1754 echo "$as_me:$LINENO: result: yes" >&5 1755 echo "${ECHO_T}yes" >&6 1756 1757 rm -f a.out a.exe conftest$ac_cv_exeext 1758 ac_clean_files=$ac_clean_files_save 1759 # Check the compiler produces executables we can run. If not, either 1760 # the compiler is broken, or we cross compile. 1761 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1762 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1763 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1764 echo "${ECHO_T}$cross_compiling" >&6 1765 1766 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1767 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1769 (eval $ac_link) 2>&5 1770 ac_status=$? 1771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1772 (exit $ac_status); }; then 1773 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1774 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1775 # work properly (i.e., refer to `conftest.exe'), while it won't with 1776 # `rm'. 1777 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do 1778 case $ac_file in 1779 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;; 1780 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1781 export ac_cv_exeext 1782 break;; 1783 * ) break;; 1784 esac 1785 done 1786 else 1787 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link" >&5 1788 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link" >&2;} 1789 { (exit 1); exit 1; }; } 1790 fi 1791 1792 rm -f conftest$ac_cv_exeext 1793 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1794 echo "${ECHO_T}$ac_cv_exeext" >&6 1795 1796 rm -f conftest.$ac_ext 1797 EXEEXT=$ac_cv_exeext 1798 ac_exeext=$EXEEXT 1799 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1800 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1801 if test "${ac_cv_objext+set}" = set; then 1802 echo $ECHO_N "(cached) $ECHO_C" >&6 1803 else 1804 cat >conftest.$ac_ext <<_ACEOF 1805 #line $LINENO "configure" 1806 #include "confdefs.h" 1807 1808 #ifdef F77_DUMMY_MAIN 1809 # ifdef __cplusplus 1810 extern "C" 1811 # endif 1812 int F77_DUMMY_MAIN() { return 1; } 1813 #endif 1814 int 1815 main () 1816 { 1817 1818 ; 1819 return 0; 1820 } 1821 _ACEOF 1822 rm -f conftest.o conftest.obj 1823 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1824 (eval $ac_compile) 2>&5 1825 ac_status=$? 1826 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1827 (exit $ac_status); }; then 1828 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1829 case $ac_file in 1830 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;; 1831 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1832 break;; 1833 esac 1834 done 1835 else 1836 echo "$as_me: failed program was:" >&5 1837 cat conftest.$ac_ext >&5 1838 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile" >&5 1839 echo "$as_me: error: cannot compute suffix of object files: cannot compile" >&2;} 1840 { (exit 1); exit 1; }; } 1841 fi 1842 1843 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1844 fi 1845 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1846 echo "${ECHO_T}$ac_cv_objext" >&6 1847 OBJEXT=$ac_cv_objext 1848 ac_objext=$OBJEXT 1849 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1850 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1851 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1852 echo $ECHO_N "(cached) $ECHO_C" >&6 1853 else 1854 cat >conftest.$ac_ext <<_ACEOF 1855 #line $LINENO "configure" 1856 #include "confdefs.h" 1857 1858 #ifdef F77_DUMMY_MAIN 1859 # ifdef __cplusplus 1860 extern "C" 1861 # endif 1862 int F77_DUMMY_MAIN() { return 1; } 1863 #endif 1864 int 1865 main () 1866 { 1867 #ifndef __GNUC__ 1868 choke me 1869 #endif 1870 1871 ; 1872 return 0; 1873 } 1874 _ACEOF 1875 rm -f conftest.$ac_objext 1876 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1877 (eval $ac_compile) 2>&5 1878 ac_status=$? 1879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1880 (exit $ac_status); } && 1881 { ac_try='test -s conftest.$ac_objext' 1882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1883 (eval $ac_try) 2>&5 1884 ac_status=$? 1885 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1886 (exit $ac_status); }; }; then 1887 ac_compiler_gnu=yes 1888 else 1889 echo "$as_me: failed program was:" >&5 1890 cat conftest.$ac_ext >&5 1891 ac_compiler_gnu=no 1892 fi 1893 rm -f conftest.$ac_objext conftest.$ac_ext 1894 ac_cv_c_compiler_gnu=$ac_compiler_gnu 1895 1896 fi 1897 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 1898 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 1899 GCC=`test $ac_compiler_gnu = yes && echo yes` 1900 ac_test_CFLAGS=${CFLAGS+set} 1901 ac_save_CFLAGS=$CFLAGS 1902 CFLAGS="-g" 1903 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 1904 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 1905 if test "${ac_cv_prog_cc_g+set}" = set; then 1906 echo $ECHO_N "(cached) $ECHO_C" >&6 1907 else 1908 cat >conftest.$ac_ext <<_ACEOF 1909 #line $LINENO "configure" 1910 #include "confdefs.h" 1911 1912 #ifdef F77_DUMMY_MAIN 1913 # ifdef __cplusplus 1914 extern "C" 1915 # endif 1916 int F77_DUMMY_MAIN() { return 1; } 1917 #endif 1918 int 1919 main () 1920 { 1921 1922 ; 1923 return 0; 1924 } 1925 _ACEOF 1926 rm -f conftest.$ac_objext 1927 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1928 (eval $ac_compile) 2>&5 1929 ac_status=$? 1930 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1931 (exit $ac_status); } && 1932 { ac_try='test -s conftest.$ac_objext' 1933 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1934 (eval $ac_try) 2>&5 1935 ac_status=$? 1936 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1937 (exit $ac_status); }; }; then 841 EOF 842 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:843: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 843 ac_cv_prog_gcc=yes 844 else 845 ac_cv_prog_gcc=no 846 fi 847 fi 848 849 echo "$ac_t""$ac_cv_prog_gcc" 1>&6 850 851 if test $ac_cv_prog_gcc = yes; then 852 GCC=yes 853 else 854 GCC= 855 fi 856 857 ac_test_CFLAGS="${CFLAGS+set}" 858 ac_save_CFLAGS="$CFLAGS" 859 CFLAGS= 860 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 861 echo "configure:862: checking whether ${CC-cc} accepts -g" >&5 862 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then 863 echo $ac_n "(cached) $ac_c" 1>&6 864 else 865 echo 'void f(){}' > conftest.c 866 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then 1938 867 ac_cv_prog_cc_g=yes 1939 868 else 1940 echo "$as_me: failed program was:" >&5 1941 cat conftest.$ac_ext >&5 1942 ac_cv_prog_cc_g=no 1943 fi 1944 rm -f conftest.$ac_objext conftest.$ac_ext 1945 fi 1946 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 1947 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 869 ac_cv_prog_cc_g=no 870 fi 871 rm -f conftest* 872 873 fi 874 875 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 1948 876 if test "$ac_test_CFLAGS" = set; then 1949 CFLAGS= $ac_save_CFLAGS877 CFLAGS="$ac_save_CFLAGS" 1950 878 elif test $ac_cv_prog_cc_g = yes; then 1951 879 if test "$GCC" = yes; then … … 1961 889 fi 1962 890 fi 1963 # Some people use a C++ compiler to compile C. Since we use `exit', 1964 # in C++ we need to declare it. In case someone uses the same compiler 1965 # for both compiling C and C++ we need to have the C++ compiler decide 1966 # the declaration of exit, since it's the most demanding environment. 1967 cat >conftest.$ac_ext <<_ACEOF 1968 #ifndef __cplusplus 1969 choke me 1970 #endif 1971 _ACEOF 1972 rm -f conftest.$ac_objext 1973 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1974 (eval $ac_compile) 2>&5 1975 ac_status=$? 1976 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1977 (exit $ac_status); } && 1978 { ac_try='test -s conftest.$ac_objext' 1979 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1980 (eval $ac_try) 2>&5 1981 ac_status=$? 1982 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1983 (exit $ac_status); }; }; then 1984 for ac_declaration in \ 1985 ''\ 1986 '#include <stdlib.h>' \ 1987 'extern "C" void std::exit (int) throw (); using std::exit;' \ 1988 'extern "C" void std::exit (int); using std::exit;' \ 1989 'extern "C" void exit (int) throw ();' \ 1990 'extern "C" void exit (int);' \ 1991 'void exit (int);' 1992 do 1993 cat >conftest.$ac_ext <<_ACEOF 1994 #line $LINENO "configure" 1995 #include "confdefs.h" 1996 #include <stdlib.h> 1997 $ac_declaration 1998 #ifdef F77_DUMMY_MAIN 1999 # ifdef __cplusplus 2000 extern "C" 2001 # endif 2002 int F77_DUMMY_MAIN() { return 1; } 2003 #endif 2004 int 2005 main () 2006 { 2007 exit (42); 2008 ; 2009 return 0; 2010 } 2011 _ACEOF 2012 rm -f conftest.$ac_objext 2013 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2014 (eval $ac_compile) 2>&5 2015 ac_status=$? 2016 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2017 (exit $ac_status); } && 2018 { ac_try='test -s conftest.$ac_objext' 2019 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2020 (eval $ac_try) 2>&5 2021 ac_status=$? 2022 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2023 (exit $ac_status); }; }; then 2024 : 2025 else 2026 echo "$as_me: failed program was:" >&5 2027 cat conftest.$ac_ext >&5 2028 continue 2029 fi 2030 rm -f conftest.$ac_objext conftest.$ac_ext 2031 cat >conftest.$ac_ext <<_ACEOF 2032 #line $LINENO "configure" 2033 #include "confdefs.h" 2034 $ac_declaration 2035 #ifdef F77_DUMMY_MAIN 2036 # ifdef __cplusplus 2037 extern "C" 2038 # endif 2039 int F77_DUMMY_MAIN() { return 1; } 2040 #endif 2041 int 2042 main () 2043 { 2044 exit (42); 2045 ; 2046 return 0; 2047 } 2048 _ACEOF 2049 rm -f conftest.$ac_objext 2050 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2051 (eval $ac_compile) 2>&5 2052 ac_status=$? 2053 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2054 (exit $ac_status); } && 2055 { ac_try='test -s conftest.$ac_objext' 2056 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2057 (eval $ac_try) 2>&5 2058 ac_status=$? 2059 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2060 (exit $ac_status); }; }; then 2061 break 2062 else 2063 echo "$as_me: failed program was:" >&5 2064 cat conftest.$ac_ext >&5 2065 fi 2066 rm -f conftest.$ac_objext conftest.$ac_ext 2067 done 2068 rm -f conftest* 2069 if test -n "$ac_declaration"; then 2070 echo '#ifdef __cplusplus' >>confdefs.h 2071 echo $ac_declaration >>confdefs.h 2072 echo '#endif' >>confdefs.h 2073 fi 2074 2075 else 2076 echo "$as_me: failed program was:" >&5 2077 cat conftest.$ac_ext >&5 2078 fi 2079 rm -f conftest.$ac_objext conftest.$ac_ext 2080 ac_ext=c 2081 ac_cpp='$CPP $CPPFLAGS' 2082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2084 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2085 2086 ac_ext=c 2087 ac_cpp='$CPP $CPPFLAGS' 2088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2090 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2091 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2092 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 891 892 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 893 echo "configure:894: checking how to run the C preprocessor" >&5 2093 894 # On Suns, sometimes $CPP names a directory. 2094 895 if test -n "$CPP" && test -d "$CPP"; then … … 2096 897 fi 2097 898 if test -z "$CPP"; then 2098 if test "${ac_cv_prog_CPP+set}" = set; then 2099 echo $ECHO_N "(cached) $ECHO_C" >&6 2100 else 2101 # Double quotes because CPP needs to be expanded 2102 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2103 do 2104 ac_preproc_ok=false 2105 for ac_c_preproc_warn_flag in '' yes 2106 do 2107 # Use a header file that comes with gcc, so configuring glibc 2108 # with a fresh cross-compiler works. 899 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then 900 echo $ac_n "(cached) $ac_c" 1>&6 901 else 902 # This must be in double quotes, not single quotes, because CPP may get 903 # substituted into the Makefile and "${CC-cc}" will confuse make. 904 CPP="${CC-cc} -E" 2109 905 # On the NeXT, cc -E runs the code through the compiler's parser, 2110 # not just through cpp. "Syntax error" is here to catch this case.2111 cat > conftest.$ac_ext <<_ACEOF2112 #line $LINENO"configure"906 # not just through cpp. 907 cat > conftest.$ac_ext <<EOF 908 #line 909 "configure" 2113 909 #include "confdefs.h" 2114 910 #include <assert.h> 2115 Syntax error 2116 _ACEOF 2117 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2118 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2119 ac_status=$? 2120 egrep -v '^ *\+' conftest.er1 >conftest.err 2121 rm -f conftest.er1 2122 cat conftest.err >&5 2123 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2124 (exit $ac_status); } >/dev/null; then 2125 if test -s conftest.err; then 2126 ac_cpp_err=$ac_c_preproc_warn_flag 2127 else 2128 ac_cpp_err= 2129 fi 2130 else 2131 ac_cpp_err=yes 2132 fi 2133 if test -z "$ac_cpp_err"; then 911 Syntax Error 912 EOF 913 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 914 { (eval echo configure:915: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 915 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 916 if test -z "$ac_err"; then 2134 917 : 2135 918 else 2136 echo "$as_me: failed program was:" >&5 919 echo "$ac_err" >&5 920 echo "configure: failed program was:" >&5 2137 921 cat conftest.$ac_ext >&5 2138 # Broken: fails on valid input. 2139 continue 2140 fi 2141 rm -f conftest.err conftest.$ac_ext 2142 2143 # OK, works on sane cases. Now check whether non-existent headers 2144 # can be detected and how. 2145 cat >conftest.$ac_ext <<_ACEOF 2146 #line $LINENO "configure" 2147 #include "confdefs.h" 2148 #include <ac_nonexistent.h> 2149 _ACEOF 2150 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2151 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2152 ac_status=$? 2153 egrep -v '^ *\+' conftest.er1 >conftest.err 2154 rm -f conftest.er1 2155 cat conftest.err >&5 2156 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2157 (exit $ac_status); } >/dev/null; then 2158 if test -s conftest.err; then 2159 ac_cpp_err=$ac_c_preproc_warn_flag 2160 else 2161 ac_cpp_err= 2162 fi 2163 else 2164 ac_cpp_err=yes 2165 fi 2166 if test -z "$ac_cpp_err"; then 2167 # Broken: success on invalid input. 2168 continue 2169 else 2170 echo "$as_me: failed program was:" >&5 2171 cat conftest.$ac_ext >&5 2172 # Passes both tests. 2173 ac_preproc_ok=: 2174 break 2175 fi 2176 rm -f conftest.err conftest.$ac_ext 2177 2178 done 2179 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2180 rm -f conftest.err conftest.$ac_ext 2181 if $ac_preproc_ok; then 2182 break 2183 fi 2184 2185 done 2186 ac_cv_prog_CPP=$CPP 2187 2188 fi 2189 CPP=$ac_cv_prog_CPP 2190 else 2191 ac_cv_prog_CPP=$CPP 2192 fi 2193 echo "$as_me:$LINENO: result: $CPP" >&5 2194 echo "${ECHO_T}$CPP" >&6 2195 ac_preproc_ok=false 2196 for ac_c_preproc_warn_flag in '' yes 2197 do 2198 # Use a header file that comes with gcc, so configuring glibc 2199 # with a fresh cross-compiler works. 2200 # On the NeXT, cc -E runs the code through the compiler's parser, 2201 # not just through cpp. "Syntax error" is here to catch this case. 2202 cat >conftest.$ac_ext <<_ACEOF 2203 #line $LINENO "configure" 922 rm -rf conftest* 923 CPP="${CC-cc} -E -traditional-cpp" 924 cat > conftest.$ac_ext <<EOF 925 #line 926 "configure" 2204 926 #include "confdefs.h" 2205 927 #include <assert.h> 2206 Syntax error 2207 _ACEOF 2208 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2209 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2210 ac_status=$? 2211 egrep -v '^ *\+' conftest.er1 >conftest.err 2212 rm -f conftest.er1 2213 cat conftest.err >&5 2214 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2215 (exit $ac_status); } >/dev/null; then 2216 if test -s conftest.err; then 2217 ac_cpp_err=$ac_c_preproc_warn_flag 2218 else 2219 ac_cpp_err= 2220 fi 2221 else 2222 ac_cpp_err=yes 2223 fi 2224 if test -z "$ac_cpp_err"; then 928 Syntax Error 929 EOF 930 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 931 { (eval echo configure:932: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 932 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 933 if test -z "$ac_err"; then 2225 934 : 2226 935 else 2227 echo "$as_me: failed program was:" >&5 936 echo "$ac_err" >&5 937 echo "configure: failed program was:" >&5 2228 938 cat conftest.$ac_ext >&5 2229 # Broken: fails on valid input. 2230 continue 2231 fi 2232 rm -f conftest.err conftest.$ac_ext 2233 2234 # OK, works on sane cases. Now check whether non-existent headers 2235 # can be detected and how. 2236 cat >conftest.$ac_ext <<_ACEOF 2237 #line $LINENO "configure" 939 rm -rf conftest* 940 CPP="${CC-cc} -nologo -E" 941 cat > conftest.$ac_ext <<EOF 942 #line 943 "configure" 2238 943 #include "confdefs.h" 2239 #include <ac_nonexistent.h> 2240 _ACEOF 2241 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2242 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2243 ac_status=$? 2244 egrep -v '^ *\+' conftest.er1 >conftest.err 2245 rm -f conftest.er1 2246 cat conftest.err >&5 2247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2248 (exit $ac_status); } >/dev/null; then 2249 if test -s conftest.err; then 2250 ac_cpp_err=$ac_c_preproc_warn_flag 2251 else 2252 ac_cpp_err= 2253 fi 2254 else 2255 ac_cpp_err=yes 2256 fi 2257 if test -z "$ac_cpp_err"; then 2258 # Broken: success on invalid input. 2259 continue 2260 else 2261 echo "$as_me: failed program was:" >&5 944 #include <assert.h> 945 Syntax Error 946 EOF 947 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 948 { (eval echo configure:949: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 949 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 950 if test -z "$ac_err"; then 951 : 952 else 953 echo "$ac_err" >&5 954 echo "configure: failed program was:" >&5 2262 955 cat conftest.$ac_ext >&5 2263 # Passes both tests. 2264 ac_preproc_ok=: 2265 break 2266 fi 2267 rm -f conftest.err conftest.$ac_ext 2268 2269 done 2270 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2271 rm -f conftest.err conftest.$ac_ext 2272 if $ac_preproc_ok; then 2273 : 2274 else 2275 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check" >&5 2276 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;} 2277 { (exit 1); exit 1; }; } 2278 fi 2279 2280 ac_ext=c 2281 ac_cpp='$CPP $CPPFLAGS' 2282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2284 ac_compiler_gnu=$ac_cv_c_compiler_gnu 956 rm -rf conftest* 957 CPP=/lib/cpp 958 fi 959 rm -f conftest* 960 fi 961 rm -f conftest* 962 fi 963 rm -f conftest* 964 ac_cv_prog_CPP="$CPP" 965 fi 966 CPP="$ac_cv_prog_CPP" 967 else 968 ac_cv_prog_CPP="$CPP" 969 fi 970 echo "$ac_t""$CPP" 1>&6 2285 971 2286 972 ac_aux_dir= … … 2294 980 ac_install_sh="$ac_aux_dir/install.sh -c" 2295 981 break 2296 elif test -f $ac_dir/shtool; then2297 ac_aux_dir=$ac_dir2298 ac_install_sh="$ac_aux_dir/shtool install -c"2299 break2300 982 fi 2301 983 done 2302 984 if test -z "$ac_aux_dir"; then 2303 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2304 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2305 { (exit 1); exit 1; }; } 2306 fi 2307 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2308 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2309 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 985 { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } 986 fi 987 ac_config_guess=$ac_aux_dir/config.guess 988 ac_config_sub=$ac_aux_dir/config.sub 989 ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. 2310 990 2311 991 # Find a good install program. We prefer a C program (faster), … … 2316 996 # IRIX /sbin/install 2317 997 # AIX /bin/install 2318 # AmigaOS /C/install, which installs bootblocks on floppy discs2319 998 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 2320 999 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 2321 1000 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2322 1001 # ./install, which can be erroneously created by make from ./install.sh. 2323 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&52324 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&61002 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 1003 echo "configure:1004: checking for a BSD compatible install" >&5 2325 1004 if test -z "$INSTALL"; then 2326 if test "${ac_cv_path_install+set}" = set; then 2327 echo $ECHO_N "(cached) $ECHO_C" >&6 2328 else 2329 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2330 for as_dir in $PATH 2331 do 2332 IFS=$as_save_IFS 2333 test -z "$as_dir" && as_dir=. 2334 # Account for people who put trailing slashes in PATH elements. 2335 case $as_dir/ in 2336 ./ | .// | /cC/* | \ 2337 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2338 /usr/ucb/* ) ;; 2339 *) 2340 # OSF1 and SCO ODT 3.0 have their own names for install. 2341 # Don't use installbsd from OSF since it installs stuff as root 2342 # by default. 2343 for ac_prog in ginstall scoinst install; do 2344 for ac_exec_ext in '' $ac_executable_extensions; do 2345 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 2346 if test $ac_prog = install && 2347 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2348 # AIX install. It has an incompatible calling convention. 2349 : 2350 elif test $ac_prog = install && 2351 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2352 # program-specific install script used by HP pwplus--don't use. 2353 : 2354 else 2355 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2356 break 3 2357 fi 2358 fi 1005 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then 1006 echo $ac_n "(cached) $ac_c" 1>&6 1007 else 1008 IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" 1009 for ac_dir in $PATH; do 1010 # Account for people who put trailing slashes in PATH elements. 1011 case "$ac_dir/" in 1012 /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; 1013 *) 1014 # OSF1 and SCO ODT 3.0 have their own names for install. 1015 # Don't use installbsd from OSF since it installs stuff as root 1016 # by default. 1017 for ac_prog in ginstall scoinst install; do 1018 if test -f $ac_dir/$ac_prog; then 1019 if test $ac_prog = install && 1020 grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then 1021 # AIX install. It has an incompatible calling convention. 1022 : 1023 else 1024 ac_cv_path_install="$ac_dir/$ac_prog -c" 1025 break 2 1026 fi 1027 fi 2359 1028 done 2360 done 2361 ;; 2362 esac 2363 done 2364 1029 ;; 1030 esac 1031 done 1032 IFS="$ac_save_IFS" 2365 1033 2366 1034 fi 2367 1035 if test "${ac_cv_path_install+set}" = set; then 2368 INSTALL= $ac_cv_path_install1036 INSTALL="$ac_cv_path_install" 2369 1037 else 2370 1038 # As a last resort, use the slow shell script. We don't cache a … … 2372 1040 # break other packages using the cache if that directory is 2373 1041 # removed, or if the path is relative. 2374 INSTALL=$ac_install_sh 2375 fi 2376 fi 2377 echo "$as_me:$LINENO: result: $INSTALL" >&5 2378 echo "${ECHO_T}$INSTALL" >&6 1042 INSTALL="$ac_install_sh" 1043 fi 1044 fi 1045 echo "$ac_t""$INSTALL" 1>&6 2379 1046 2380 1047 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 2382 1049 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 2383 1050 2384 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL }'1051 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' 2385 1052 2386 1053 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 2387 1054 2388 2389 2390 2391 echo "$as_me:$LINENO: checking for AIX" >&5 2392 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 2393 cat >conftest.$ac_ext <<_ACEOF 2394 #line $LINENO "configure" 1055 echo $ac_n "checking for AIX""... $ac_c" 1>&6 1056 echo "configure:1057: checking for AIX" >&5 1057 cat > conftest.$ac_ext <<EOF 1058 #line 1059 "configure" 2395 1059 #include "confdefs.h" 2396 1060 #ifdef _AIX … … 2398 1062 #endif 2399 1063 2400 _ACEOF1064 EOF 2401 1065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 2402 1066 egrep "yes" >/dev/null 2>&1; then 2403 echo "$as_me:$LINENO: result: yes" >&5 2404 echo "${ECHO_T}yes" >&6 2405 cat >>confdefs.h <<\_ACEOF 1067 rm -rf conftest* 1068 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF 2406 1069 #define _ALL_SOURCE 1 2407 _ACEOF2408 2409 else 2410 echo "$as_me:$LINENO: result: no" >&52411 echo "${ECHO_T}no">&61070 EOF 1071 1072 else 1073 rm -rf conftest* 1074 echo "$ac_t""no" 1>&6 2412 1075 fi 2413 1076 rm -f conftest* 2414 1077 2415 1078 2416 ac_ext=cc 2417 ac_cpp='$CXXCPP $CPPFLAGS' 2418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2421 if test -n "$ac_tool_prefix"; then 2422 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2423 do 2424 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2425 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2426 echo "$as_me:$LINENO: checking for $ac_word" >&5 2427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2428 if test "${ac_cv_prog_CXX+set}" = set; then 2429 echo $ECHO_N "(cached) $ECHO_C" >&6 1079 for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl 1080 do 1081 # Extract the first word of "$ac_prog", so it can be a program name with args. 1082 set dummy $ac_prog; ac_word=$2 1083 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1084 echo "configure:1085: checking for $ac_word" >&5 1085 if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then 1086 echo $ac_n "(cached) $ac_c" 1>&6 2430 1087 else 2431 1088 if test -n "$CXX"; then 2432 1089 ac_cv_prog_CXX="$CXX" # Let the user override the test. 2433 1090 else 2434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2435 for as_dir in $PATH 2436 do 2437 IFS=$as_save_IFS 2438 test -z "$as_dir" && as_dir=. 2439 for ac_exec_ext in '' $ac_executable_extensions; do 2440 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2441 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2443 break 2 2444 fi 1091 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1092 ac_dummy="$PATH" 1093 for ac_dir in $ac_dummy; do 1094 test -z "$ac_dir" && ac_dir=. 1095 if test -f $ac_dir/$ac_word; then 1096 ac_cv_prog_CXX="$ac_prog" 1097 break 1098 fi 1099 done 1100 IFS="$ac_save_ifs" 1101 fi 1102 fi 1103 CXX="$ac_cv_prog_CXX" 1104 if test -n "$CXX"; then 1105 echo "$ac_t""$CXX" 1>&6 1106 else 1107 echo "$ac_t""no" 1>&6 1108 fi 1109 1110 test -n "$CXX" && break 2445 1111 done 2446 done 2447 2448 fi 2449 fi 2450 CXX=$ac_cv_prog_CXX 2451 if test -n "$CXX"; then 2452 echo "$as_me:$LINENO: result: $CXX" >&5 2453 echo "${ECHO_T}$CXX" >&6 2454 else 2455 echo "$as_me:$LINENO: result: no" >&5 2456 echo "${ECHO_T}no" >&6 2457 fi 2458 2459 test -n "$CXX" && break 2460 done 2461 fi 2462 if test -z "$CXX"; then 2463 ac_ct_CXX=$CXX 2464 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2465 do 2466 # Extract the first word of "$ac_prog", so it can be a program name with args. 2467 set dummy $ac_prog; ac_word=$2 2468 echo "$as_me:$LINENO: checking for $ac_word" >&5 2469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2470 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2471 echo $ECHO_N "(cached) $ECHO_C" >&6 2472 else 2473 if test -n "$ac_ct_CXX"; then 2474 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 2475 else 2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2477 for as_dir in $PATH 2478 do 2479 IFS=$as_save_IFS 2480 test -z "$as_dir" && as_dir=. 2481 for ac_exec_ext in '' $ac_executable_extensions; do 2482 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2483 ac_cv_prog_ac_ct_CXX="$ac_prog" 2484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2485 break 2 2486 fi 2487 done 2488 done 2489 2490 fi 2491 fi 2492 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2493 if test -n "$ac_ct_CXX"; then 2494 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2495 echo "${ECHO_T}$ac_ct_CXX" >&6 2496 else 2497 echo "$as_me:$LINENO: result: no" >&5 2498 echo "${ECHO_T}no" >&6 2499 fi 2500 2501 test -n "$ac_ct_CXX" && break 2502 done 2503 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2504 2505 CXX=$ac_ct_CXX 2506 fi 2507 2508 2509 # Provide some information about the compiler. 2510 echo "$as_me:$LINENO:" \ 2511 "checking for C++ compiler version" >&5 2512 ac_compiler=`set X $ac_compile; echo $2` 2513 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2514 (eval $ac_compiler --version </dev/null >&5) 2>&5 2515 ac_status=$? 2516 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2517 (exit $ac_status); } 2518 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2519 (eval $ac_compiler -v </dev/null >&5) 2>&5 2520 ac_status=$? 2521 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2522 (exit $ac_status); } 2523 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2524 (eval $ac_compiler -V </dev/null >&5) 2>&5 2525 ac_status=$? 2526 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2527 (exit $ac_status); } 2528 2529 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2530 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2531 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2532 echo $ECHO_N "(cached) $ECHO_C" >&6 2533 else 2534 cat >conftest.$ac_ext <<_ACEOF 2535 #line $LINENO "configure" 1112 test -n "$CXX" || CXX="gcc" 1113 1114 1115 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 1116 echo "configure:1117: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 1117 1118 ac_ext=C 1119 # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1120 ac_cpp='$CXXCPP $CPPFLAGS' 1121 ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1122 ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1123 cross_compiling=$ac_cv_prog_cxx_cross 1124 1125 cat > conftest.$ac_ext << EOF 1126 1127 #line 1128 "configure" 2536 1128 #include "confdefs.h" 2537 1129 2538 #ifdef F77_DUMMY_MAIN 2539 # ifdef __cplusplus 2540 extern "C" 2541 # endif 2542 int F77_DUMMY_MAIN() { return 1; } 1130 int main(){return(0);} 1131 EOF 1132 if { (eval echo configure:1133: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1133 ac_cv_prog_cxx_works=yes 1134 # If we can't run a trivial program, we are probably using a cross compiler. 1135 if (./conftest; exit) 2>/dev/null; then 1136 ac_cv_prog_cxx_cross=no 1137 else 1138 ac_cv_prog_cxx_cross=yes 1139 fi 1140 else 1141 echo "configure: failed program was:" >&5 1142 cat conftest.$ac_ext >&5 1143 ac_cv_prog_cxx_works=no 1144 fi 1145 rm -fr conftest* 1146 ac_ext=c 1147 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. 1148 ac_cpp='$CPP $CPPFLAGS' 1149 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' 1150 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' 1151 cross_compiling=$ac_cv_prog_cc_cross 1152 1153 echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 1154 if test $ac_cv_prog_cxx_works = no; then 1155 { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } 1156 fi 1157 echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 1158 echo "configure:1159: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 1159 echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 1160 cross_compiling=$ac_cv_prog_cxx_cross 1161 1162 echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 1163 echo "configure:1164: checking whether we are using GNU C++" >&5 1164 if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then 1165 echo $ac_n "(cached) $ac_c" 1>&6 1166 else 1167 cat > conftest.C <<EOF 1168 #ifdef __GNUC__ 1169 yes; 2543 1170 #endif 2544 int 2545 main () 2546 { 2547 #ifndef __GNUC__ 2548 choke me 2549 #endif 2550 2551 ; 2552 return 0; 2553 } 2554 _ACEOF 2555 rm -f conftest.$ac_objext 2556 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2557 (eval $ac_compile) 2>&5 2558 ac_status=$? 2559 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2560 (exit $ac_status); } && 2561 { ac_try='test -s conftest.$ac_objext' 2562 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2563 (eval $ac_try) 2>&5 2564 ac_status=$? 2565 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2566 (exit $ac_status); }; }; then 2567 ac_compiler_gnu=yes 2568 else 2569 echo "$as_me: failed program was:" >&5 2570 cat conftest.$ac_ext >&5 2571 ac_compiler_gnu=no 2572 fi 2573 rm -f conftest.$ac_objext conftest.$ac_ext 2574 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2575 2576 fi 2577 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2578 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2579 GXX=`test $ac_compiler_gnu = yes && echo yes` 2580 ac_test_CXXFLAGS=${CXXFLAGS+set} 2581 ac_save_CXXFLAGS=$CXXFLAGS 2582 CXXFLAGS="-g" 2583 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2584 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2585 if test "${ac_cv_prog_cxx_g+set}" = set; then 2586 echo $ECHO_N "(cached) $ECHO_C" >&6 2587 else 2588 cat >conftest.$ac_ext <<_ACEOF 2589 #line $LINENO "configure" 2590 #include "confdefs.h" 2591 2592 #ifdef F77_DUMMY_MAIN 2593 # ifdef __cplusplus 2594 extern "C" 2595 # endif 2596 int F77_DUMMY_MAIN() { return 1; } 2597 #endif 2598 int 2599 main () 2600 { 2601 2602 ; 2603 return 0; 2604 } 2605 _ACEOF 2606 rm -f conftest.$ac_objext 2607 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2608 (eval $ac_compile) 2>&5 2609 ac_status=$? 2610 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2611 (exit $ac_status); } && 2612 { ac_try='test -s conftest.$ac_objext' 2613 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2614 (eval $ac_try) 2>&5 2615 ac_status=$? 2616 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2617 (exit $ac_status); }; }; then 1171 EOF 1172 if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1173: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then 1173 ac_cv_prog_gxx=yes 1174 else 1175 ac_cv_prog_gxx=no 1176 fi 1177 fi 1178 1179 echo "$ac_t""$ac_cv_prog_gxx" 1>&6 1180 1181 if test $ac_cv_prog_gxx = yes; then 1182 GXX=yes 1183 else 1184 GXX= 1185 fi 1186 1187 ac_test_CXXFLAGS="${CXXFLAGS+set}" 1188 ac_save_CXXFLAGS="$CXXFLAGS" 1189 CXXFLAGS= 1190 echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 1191 echo "configure:1192: checking whether ${CXX-g++} accepts -g" >&5 1192 if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then 1193 echo $ac_n "(cached) $ac_c" 1>&6 1194 else 1195 echo 'void f(){}' > conftest.cc 1196 if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then 2618 1197 ac_cv_prog_cxx_g=yes 2619 1198 else 2620 echo "$as_me: failed program was:" >&5 2621 cat conftest.$ac_ext >&5 2622 ac_cv_prog_cxx_g=no 2623 fi 2624 rm -f conftest.$ac_objext conftest.$ac_ext 2625 fi 2626 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2627 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 1199 ac_cv_prog_cxx_g=no 1200 fi 1201 rm -f conftest* 1202 1203 fi 1204 1205 echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 2628 1206 if test "$ac_test_CXXFLAGS" = set; then 2629 CXXFLAGS= $ac_save_CXXFLAGS1207 CXXFLAGS="$ac_save_CXXFLAGS" 2630 1208 elif test $ac_cv_prog_cxx_g = yes; then 2631 1209 if test "$GXX" = yes; then … … 2641 1219 fi 2642 1220 fi 2643 for ac_declaration in \2644 ''\2645 '#include <stdlib.h>' \2646 'extern "C" void std::exit (int) throw (); using std::exit;' \2647 'extern "C" void std::exit (int); using std::exit;' \2648 'extern "C" void exit (int) throw ();' \2649 'extern "C" void exit (int);' \2650 'void exit (int);'2651 do2652 cat >conftest.$ac_ext <<_ACEOF2653 #line $LINENO "configure"2654 #include "confdefs.h"2655 #include <stdlib.h>2656 $ac_declaration2657 #ifdef F77_DUMMY_MAIN2658 # ifdef __cplusplus2659 extern "C"2660 # endif2661 int F77_DUMMY_MAIN() { return 1; }2662 #endif2663 int2664 main ()2665 {2666 exit (42);2667 ;2668 return 0;2669 }2670 _ACEOF2671 rm -f conftest.$ac_objext2672 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52673 (eval $ac_compile) 2>&52674 ac_status=$?2675 echo "$as_me:$LINENO: \$? = $ac_status" >&52676 (exit $ac_status); } &&2677 { ac_try='test -s conftest.$ac_objext'2678 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52679 (eval $ac_try) 2>&52680 ac_status=$?2681 echo "$as_me:$LINENO: \$? = $ac_status" >&52682 (exit $ac_status); }; }; then2683 :2684 else2685 echo "$as_me: failed program was:" >&52686 cat conftest.$ac_ext >&52687 continue2688 fi2689 rm -f conftest.$ac_objext conftest.$ac_ext2690 cat >conftest.$ac_ext <<_ACEOF2691 #line $LINENO "configure"2692 #include "confdefs.h"2693 $ac_declaration2694 #ifdef F77_DUMMY_MAIN2695 # ifdef __cplusplus2696 extern "C"2697 # endif2698 int F77_DUMMY_MAIN() { return 1; }2699 #endif2700 int2701 main ()2702 {2703 exit (42);2704 ;2705 return 0;2706 }2707 _ACEOF2708 rm -f conftest.$ac_objext2709 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&52710 (eval $ac_compile) 2>&52711 ac_status=$?2712 echo "$as_me:$LINENO: \$? = $ac_status" >&52713 (exit $ac_status); } &&2714 { ac_try='test -s conftest.$ac_objext'2715 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&52716 (eval $ac_try) 2>&52717 ac_status=$?2718 echo "$as_me:$LINENO: \$? = $ac_status" >&52719 (exit $ac_status); }; }; then2720 break2721 else2722 echo "$as_me: failed program was:" >&52723 cat conftest.$ac_ext >&52724 fi2725 rm -f conftest.$ac_objext conftest.$ac_ext2726 done2727 rm -f conftest*2728 if test -n "$ac_declaration"; then2729 echo '#ifdef __cplusplus' >>confdefs.h2730 echo $ac_declaration >>confdefs.h2731 echo '#endif' >>confdefs.h2732 fi2733 2734 ac_ext=c2735 ac_cpp='$CPP $CPPFLAGS'2736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'2737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'2738 ac_compiler_gnu=$ac_cv_c_compiler_gnu2739 1221 2740 1222 2741 1223 # check whether the compiler accepts -pipe 2742 echo "$as_me:$LINENO: checking whether compiler accepts -pipe" >&52743 echo $ECHO_N "checking whether compiler accepts -pipe... $ECHO_C" >&61224 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 1225 echo "configure:1226: checking whether compiler accepts -pipe" >&5 2744 1226 temp_cflags=${CFLAGS} 2745 1227 CFLAGS="${CFLAGS} -pipe" 2746 if test "${ac_cv_cxx_have_pipe+set}" = set; then2747 echo $ ECHO_N "(cached) $ECHO_C">&62748 else 2749 cat > conftest.$ac_ext <<_ACEOF2750 #line $LINENO"configure"1228 if eval "test \"`echo '$''{'ac_cv_cxx_have_pipe'+set}'`\" = set"; then 1229 echo $ac_n "(cached) $ac_c" 1>&6 1230 else 1231 cat > conftest.$ac_ext <<EOF 1232 #line 1233 "configure" 2751 1233 #include "confdefs.h" 2752 1234 2753 #ifdef F77_DUMMY_MAIN 2754 # ifdef __cplusplus 2755 extern "C" 2756 # endif 2757 int F77_DUMMY_MAIN() { return 1; } 2758 #endif 2759 int 2760 main () 2761 { 2762 2763 ; 2764 return 0; 2765 } 2766 _ACEOF 2767 rm -f conftest.$ac_objext 2768 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2769 (eval $ac_compile) 2>&5 2770 ac_status=$? 2771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2772 (exit $ac_status); } && 2773 { ac_try='test -s conftest.$ac_objext' 2774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2775 (eval $ac_try) 2>&5 2776 ac_status=$? 2777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2778 (exit $ac_status); }; }; then 1235 int main() { 1236 1237 ; return 0; } 1238 EOF 1239 if { (eval echo configure:1240: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1240 rm -rf conftest* 2779 1241 ac_cv_cxx_have_pipe=yes 2780 1242 else 2781 echo " $as_me: failed program was:" >&52782 cat conftest.$ac_ext >&52783 ac_cv_cxx_have_pipe=no 2784 fi 2785 rm -f conftest.$ac_objext conftest.$ac_ext 2786 2787 fi 2788 2789 echo "$as_me:$LINENO: result: ${ac_cv_cxx_have_pipe}" >&5 2790 echo "$ {ECHO_T}${ac_cv_cxx_have_pipe}">&61243 echo "configure: failed program was:" >&5 1244 cat conftest.$ac_ext >&5 1245 rm -rf conftest* 1246 ac_cv_cxx_have_pipe=no 1247 fi 1248 rm -f conftest* 1249 1250 fi 1251 1252 echo "$ac_t""${ac_cv_cxx_have_pipe}" 1>&6 2791 1253 CFLAGS=${temp_cflags} 2792 1254 if test "${ac_cv_cxx_have_pipe}" != yes; then … … 2799 1261 for ac_prog in perl5 perl 2800 1262 do 2801 1263 # Extract the first word of "$ac_prog", so it can be a program name with args. 2802 1264 set dummy $ac_prog; ac_word=$2 2803 echo "$as_me:$LINENO: checking for $ac_word" >&52804 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62805 if test "${ac_cv_prog_PERL+set}" = set; then2806 echo $ ECHO_N "(cached) $ECHO_C">&61265 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1266 echo "configure:1267: checking for $ac_word" >&5 1267 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then 1268 echo $ac_n "(cached) $ac_c" 1>&6 2807 1269 else 2808 1270 if test -n "$PERL"; then 2809 1271 ac_cv_prog_PERL="$PERL" # Let the user override the test. 2810 1272 else 2811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2812 for as_dir in $PATH 2813 do 2814 IFS=$as_save_IFS 2815 test -z "$as_dir" && as_dir=. 2816 for ac_exec_ext in '' $ac_executable_extensions; do 2817 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2818 ac_cv_prog_PERL="$ac_prog" 2819 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2820 break 2 2821 fi 2822 done 2823 done 2824 2825 fi 2826 fi 2827 PERL=$ac_cv_prog_PERL 1273 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1274 ac_dummy="$PATH" 1275 for ac_dir in $ac_dummy; do 1276 test -z "$ac_dir" && ac_dir=. 1277 if test -f $ac_dir/$ac_word; then 1278 ac_cv_prog_PERL="$ac_prog" 1279 break 1280 fi 1281 done 1282 IFS="$ac_save_ifs" 1283 fi 1284 fi 1285 PERL="$ac_cv_prog_PERL" 2828 1286 if test -n "$PERL"; then 2829 echo "$as_me:$LINENO: result: $PERL" >&5 2830 echo "${ECHO_T}$PERL" >&6 2831 else 2832 echo "$as_me:$LINENO: result: no" >&5 2833 echo "${ECHO_T}no" >&6 2834 fi 2835 2836 test -n "$PERL" && break 1287 echo "$ac_t""$PERL" 1>&6 1288 else 1289 echo "$ac_t""no" 1>&6 1290 fi 1291 1292 test -n "$PERL" && break 2837 1293 done 2838 1294 2839 1295 for ac_prog in uudecode "uudeview -i" 2840 1296 do 2841 1297 # Extract the first word of "$ac_prog", so it can be a program name with args. 2842 1298 set dummy $ac_prog; ac_word=$2 2843 echo "$as_me:$LINENO: checking for $ac_word" >&52844 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62845 if test "${ac_cv_prog_UUDECODE+set}" = set; then2846 echo $ ECHO_N "(cached) $ECHO_C">&61299 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1300 echo "configure:1301: checking for $ac_word" >&5 1301 if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then 1302 echo $ac_n "(cached) $ac_c" 1>&6 2847 1303 else 2848 1304 if test -n "$UUDECODE"; then 2849 1305 ac_cv_prog_UUDECODE="$UUDECODE" # Let the user override the test. 2850 1306 else 2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2852 for as_dir in $PATH 2853 do 2854 IFS=$as_save_IFS 2855 test -z "$as_dir" && as_dir=. 2856 for ac_exec_ext in '' $ac_executable_extensions; do 2857 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2858 ac_cv_prog_UUDECODE="$ac_prog" 2859 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2860 break 2 2861 fi 2862 done 2863 done 2864 2865 fi 2866 fi 2867 UUDECODE=$ac_cv_prog_UUDECODE 1307 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1308 ac_dummy="$PATH" 1309 for ac_dir in $ac_dummy; do 1310 test -z "$ac_dir" && ac_dir=. 1311 if test -f $ac_dir/$ac_word; then 1312 ac_cv_prog_UUDECODE="$ac_prog" 1313 break 1314 fi 1315 done 1316 IFS="$ac_save_ifs" 1317 fi 1318 fi 1319 UUDECODE="$ac_cv_prog_UUDECODE" 2868 1320 if test -n "$UUDECODE"; then 2869 echo "$as_me:$LINENO: result: $UUDECODE" >&5 2870 echo "${ECHO_T}$UUDECODE" >&6 2871 else 2872 echo "$as_me:$LINENO: result: no" >&5 2873 echo "${ECHO_T}no" >&6 2874 fi 2875 2876 test -n "$UUDECODE" && break 1321 echo "$ac_t""$UUDECODE" 1>&6 1322 else 1323 echo "$ac_t""no" 1>&6 1324 fi 1325 1326 test -n "$UUDECODE" && break 2877 1327 done 2878 1328 2879 1329 for ac_prog in gunzip 2880 1330 do 2881 1331 # Extract the first word of "$ac_prog", so it can be a program name with args. 2882 1332 set dummy $ac_prog; ac_word=$2 2883 echo "$as_me:$LINENO: checking for $ac_word" >&52884 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62885 if test "${ac_cv_prog_GUNZIP+set}" = set; then2886 echo $ ECHO_N "(cached) $ECHO_C">&61333 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1334 echo "configure:1335: checking for $ac_word" >&5 1335 if eval "test \"`echo '$''{'ac_cv_prog_GUNZIP'+set}'`\" = set"; then 1336 echo $ac_n "(cached) $ac_c" 1>&6 2887 1337 else 2888 1338 if test -n "$GUNZIP"; then 2889 1339 ac_cv_prog_GUNZIP="$GUNZIP" # Let the user override the test. 2890 1340 else 2891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2892 for as_dir in $PATH 2893 do 2894 IFS=$as_save_IFS 2895 test -z "$as_dir" && as_dir=. 2896 for ac_exec_ext in '' $ac_executable_extensions; do 2897 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2898 ac_cv_prog_GUNZIP="$ac_prog" 2899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2900 break 2 2901 fi 2902 done 2903 done 2904 2905 fi 2906 fi 2907 GUNZIP=$ac_cv_prog_GUNZIP 1341 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1342 ac_dummy="$PATH" 1343 for ac_dir in $ac_dummy; do 1344 test -z "$ac_dir" && ac_dir=. 1345 if test -f $ac_dir/$ac_word; then 1346 ac_cv_prog_GUNZIP="$ac_prog" 1347 break 1348 fi 1349 done 1350 IFS="$ac_save_ifs" 1351 fi 1352 fi 1353 GUNZIP="$ac_cv_prog_GUNZIP" 2908 1354 if test -n "$GUNZIP"; then 2909 echo "$as_me:$LINENO: result: $GUNZIP" >&5 2910 echo "${ECHO_T}$GUNZIP" >&6 2911 else 2912 echo "$as_me:$LINENO: result: no" >&5 2913 echo "${ECHO_T}no" >&6 2914 fi 2915 2916 test -n "$GUNZIP" && break 1355 echo "$ac_t""$GUNZIP" 1>&6 1356 else 1357 echo "$ac_t""no" 1>&6 1358 fi 1359 1360 test -n "$GUNZIP" && break 2917 1361 done 2918 1362 test -n "$GUNZIP" || GUNZIP="${pwd}/warn_not_found.sh gunzip" … … 2921 1365 for ac_prog in gzip 2922 1366 do 2923 1367 # Extract the first word of "$ac_prog", so it can be a program name with args. 2924 1368 set dummy $ac_prog; ac_word=$2 2925 echo "$as_me:$LINENO: checking for $ac_word" >&52926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62927 if test "${ac_cv_prog_MYGZIP+set}" = set; then2928 echo $ ECHO_N "(cached) $ECHO_C">&61369 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1370 echo "configure:1371: checking for $ac_word" >&5 1371 if eval "test \"`echo '$''{'ac_cv_prog_MYGZIP'+set}'`\" = set"; then 1372 echo $ac_n "(cached) $ac_c" 1>&6 2929 1373 else 2930 1374 if test -n "$MYGZIP"; then 2931 1375 ac_cv_prog_MYGZIP="$MYGZIP" # Let the user override the test. 2932 1376 else 2933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2934 for as_dir in $PATH 2935 do 2936 IFS=$as_save_IFS 2937 test -z "$as_dir" && as_dir=. 2938 for ac_exec_ext in '' $ac_executable_extensions; do 2939 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2940 ac_cv_prog_MYGZIP="$ac_prog" 2941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2942 break 2 2943 fi 2944 done 2945 done 2946 2947 fi 2948 fi 2949 MYGZIP=$ac_cv_prog_MYGZIP 1377 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1378 ac_dummy="$PATH" 1379 for ac_dir in $ac_dummy; do 1380 test -z "$ac_dir" && ac_dir=. 1381 if test -f $ac_dir/$ac_word; then 1382 ac_cv_prog_MYGZIP="$ac_prog" 1383 break 1384 fi 1385 done 1386 IFS="$ac_save_ifs" 1387 fi 1388 fi 1389 MYGZIP="$ac_cv_prog_MYGZIP" 2950 1390 if test -n "$MYGZIP"; then 2951 echo "$as_me:$LINENO: result: $MYGZIP" >&5 2952 echo "${ECHO_T}$MYGZIP" >&6 2953 else 2954 echo "$as_me:$LINENO: result: no" >&5 2955 echo "${ECHO_T}no" >&6 2956 fi 2957 2958 test -n "$MYGZIP" && break 1391 echo "$ac_t""$MYGZIP" 1>&6 1392 else 1393 echo "$ac_t""no" 1>&6 1394 fi 1395 1396 test -n "$MYGZIP" && break 2959 1397 done 2960 1398 test -n "$MYGZIP" || MYGZIP="${pwd}/warn_not_found.sh gzip" … … 2962 1400 # Extract the first word of "latex2html", so it can be a program name with args. 2963 1401 set dummy latex2html; ac_word=$2 2964 echo "$as_me:$LINENO: checking for $ac_word" >&52965 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&62966 if test "${ac_cv_prog_LATEX2HTML+set}" = set; then2967 echo $ ECHO_N "(cached) $ECHO_C">&61402 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 1403 echo "configure:1404: checking for $ac_word" >&5 1404 if eval "test \"`echo '$''{'ac_cv_prog_LATEX2HTML'+set}'`\" = set"; then 1405 echo $ac_n "(cached) $ac_c" 1>&6 2968 1406 else 2969 1407 if test -n "$LATEX2HTML"; then 2970 1408 ac_cv_prog_LATEX2HTML="$LATEX2HTML" # Let the user override the test. 2971 1409 else 2972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2973 for as_dir in $PATH 2974 do 2975 IFS=$as_save_IFS 2976 test -z "$as_dir" && as_dir=. 2977 for ac_exec_ext in '' $ac_executable_extensions; do 2978 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2979 ac_cv_prog_LATEX2HTML="latex2html" 2980 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2981 break 2 2982 fi 2983 done 2984 done 2985 2986 fi 2987 fi 2988 LATEX2HTML=$ac_cv_prog_LATEX2HTML 1410 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1411 ac_dummy="$PATH" 1412 for ac_dir in $ac_dummy; do 1413 test -z "$ac_dir" && ac_dir=. 1414 if test -f $ac_dir/$ac_word; then 1415 ac_cv_prog_LATEX2HTML="latex2html" 1416 break 1417 fi 1418 done 1419 IFS="$ac_save_ifs" 1420 fi 1421 fi 1422 LATEX2HTML="$ac_cv_prog_LATEX2HTML" 2989 1423 if test -n "$LATEX2HTML"; then 2990 echo "$as_me:$LINENO: result: $LATEX2HTML" >&5 2991 echo "${ECHO_T}$LATEX2HTML" >&6 2992 else 2993 echo "$as_me:$LINENO: result: no" >&5 2994 echo "${ECHO_T}no" >&6 2995 fi 2996 2997 echo "$as_me:$LINENO: checking whether ln -s works" >&5 2998 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 2999 LN_S=$as_ln_s 3000 if test "$LN_S" = "ln -s"; then 3001 echo "$as_me:$LINENO: result: yes" >&5 3002 echo "${ECHO_T}yes" >&6 3003 else 3004 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3005 echo "${ECHO_T}no, using $LN_S" >&6 1424 echo "$ac_t""$LATEX2HTML" 1>&6 1425 else 1426 echo "$ac_t""no" 1>&6 1427 fi 1428 1429 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1430 echo "configure:1431: checking whether ln -s works" >&5 1431 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1432 echo $ac_n "(cached) $ac_c" 1>&6 1433 else 1434 rm -f conftestdata 1435 if ln -s X conftestdata 2>/dev/null 1436 then 1437 rm -f conftestdata 1438 ac_cv_prog_LN_S="ln -s" 1439 else 1440 ac_cv_prog_LN_S=ln 1441 fi 1442 fi 1443 LN_S="$ac_cv_prog_LN_S" 1444 if test "$ac_cv_prog_LN_S" = "ln -s"; then 1445 echo "$ac_t""yes" 1>&6 1446 else 1447 echo "$ac_t""no" 1>&6 3006 1448 fi 3007 1449 … … 3009 1451 if test -r "${pwd}/mkinstalldirs"; then 3010 1452 MKINSTALLDIRS=${pwd}/mkinstalldirs 3011 3012 else 3013 { { echo "$as_me:$LINENO: error: mkinstalldirs not foind in ${pwd}" >&5 3014 echo "$as_me: error: mkinstalldirs not foind in ${pwd}" >&2;} 3015 { (exit 1); exit 1; }; } 1453 1454 else 1455 { echo "configure: error: mkinstalldirs not foind in ${pwd}" 1>&2; exit 1; } 3016 1456 fi 3017 1457 … … 3057 1497 3058 1498 # check for AIX 3059 echo "$as_me:$LINENO: checking whether _AIX is defined" >&53060 echo $ECHO_N "checking whether _AIX is defined... $ECHO_C" >&63061 if test "${ac_cv_is_aix+set}" = set; then3062 echo $ ECHO_N "(cached) $ECHO_C">&63063 else 3064 cat > conftest.$ac_ext <<_ACEOF3065 #line $LINENO"configure"1499 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1500 echo "configure:1501: checking whether _AIX is defined" >&5 1501 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1502 echo $ac_n "(cached) $ac_c" 1>&6 1503 else 1504 cat > conftest.$ac_ext <<EOF 1505 #line 1506 "configure" 3066 1506 #include "confdefs.h" 3067 1507 #ifdef _AIX … … 3069 1509 #endif 3070 1510 3071 _ACEOF1511 EOF 3072 1512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3073 1513 egrep "yes" >/dev/null 2>&1; then 1514 rm -rf conftest* 3074 1515 ac_cv_is_aix=yes 3075 1516 else 1517 rm -rf conftest* 3076 1518 ac_cv_is_aix=no 3077 1519 fi … … 3081 1523 3082 1524 if test "$ac_cv_is_aix" = yes; then 3083 echo "$as_me:$LINENO: result: yes" >&5 3084 echo "${ECHO_T}yes" >&6 3085 else 3086 echo "$as_me:$LINENO: result: no" >&5 3087 echo "${ECHO_T}no" >&6 3088 fi 3089 3090 3091 echo "$as_me:$LINENO: checking for atof in -lm" >&5 3092 echo $ECHO_N "checking for atof in -lm... $ECHO_C" >&6 3093 if test "${ac_cv_lib_m_atof+set}" = set; then 3094 echo $ECHO_N "(cached) $ECHO_C" >&6 3095 else 3096 ac_check_lib_save_LIBS=$LIBS 1525 echo "$ac_t""yes" 1>&6 1526 else 1527 echo "$ac_t""no" 1>&6 1528 fi 1529 1530 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1531 echo "configure:1532: checking for atof in -lm" >&5 1532 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1533 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1534 echo $ac_n "(cached) $ac_c" 1>&6 1535 else 1536 ac_save_LIBS="$LIBS" 3097 1537 LIBS="-lm $LIBS" 3098 cat > conftest.$ac_ext <<_ACEOF3099 #line $LINENO"configure"1538 cat > conftest.$ac_ext <<EOF 1539 #line 1540 "configure" 3100 1540 #include "confdefs.h" 3101 3102 1541 /* Override any gcc2 internal prototype to avoid an error. */ 3103 #ifdef __cplusplus3104 extern "C"3105 #endif3106 1542 /* We use char because int might match the return type of a gcc2 3107 builtin and then its argument prototype would still apply. */ 3108 char atof (); 3109 #ifdef F77_DUMMY_MAIN 3110 # ifdef __cplusplus 3111 extern "C" 3112 # endif 3113 int F77_DUMMY_MAIN() { return 1; } 3114 #endif 3115 int 3116 main () 3117 { 3118 atof (); 3119 ; 3120 return 0; 3121 } 3122 _ACEOF 3123 rm -f conftest.$ac_objext conftest$ac_exeext 3124 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3125 (eval $ac_link) 2>&5 3126 ac_status=$? 3127 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3128 (exit $ac_status); } && 3129 { ac_try='test -s conftest$ac_exeext' 3130 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3131 (eval $ac_try) 2>&5 3132 ac_status=$? 3133 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3134 (exit $ac_status); }; }; then 3135 ac_cv_lib_m_atof=yes 3136 else 3137 echo "$as_me: failed program was:" >&5 3138 cat conftest.$ac_ext >&5 3139 ac_cv_lib_m_atof=no 3140 fi 3141 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3142 LIBS=$ac_check_lib_save_LIBS 3143 fi 3144 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atof" >&5 3145 echo "${ECHO_T}$ac_cv_lib_m_atof" >&6 3146 if test $ac_cv_lib_m_atof = yes; then 3147 cat >>confdefs.h <<_ACEOF 3148 #define HAVE_LIBM 1 3149 _ACEOF 1543 builtin and then its argument prototype would still apply. */ 1544 char atof(); 1545 1546 int main() { 1547 atof() 1548 ; return 0; } 1549 EOF 1550 if { (eval echo configure:1551: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1551 rm -rf conftest* 1552 eval "ac_cv_lib_$ac_lib_var=yes" 1553 else 1554 echo "configure: failed program was:" >&5 1555 cat conftest.$ac_ext >&5 1556 rm -rf conftest* 1557 eval "ac_cv_lib_$ac_lib_var=no" 1558 fi 1559 rm -f conftest* 1560 LIBS="$ac_save_LIBS" 1561 1562 fi 1563 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1564 echo "$ac_t""yes" 1>&6 1565 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1566 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1567 cat >> confdefs.h <<EOF 1568 #define $ac_tr_lib 1 1569 EOF 3150 1570 3151 1571 LIBS="-lm $LIBS" 3152 1572 3153 fi 3154 3155 3156 echo "$as_me:$LINENO: checking for socket in -lbsd" >&5 3157 echo $ECHO_N "checking for socket in -lbsd... $ECHO_C" >&6 3158 if test "${ac_cv_lib_bsd_socket+set}" = set; then 3159 echo $ECHO_N "(cached) $ECHO_C" >&6 3160 else 3161 ac_check_lib_save_LIBS=$LIBS 1573 else 1574 echo "$ac_t""no" 1>&6 1575 fi 1576 1577 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1578 echo "configure:1579: checking for socket in -lbsd" >&5 1579 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1580 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1581 echo $ac_n "(cached) $ac_c" 1>&6 1582 else 1583 ac_save_LIBS="$LIBS" 3162 1584 LIBS="-lbsd $LIBS" 3163 cat > conftest.$ac_ext <<_ACEOF3164 #line $LINENO"configure"1585 cat > conftest.$ac_ext <<EOF 1586 #line 1587 "configure" 3165 1587 #include "confdefs.h" 3166 3167 1588 /* Override any gcc2 internal prototype to avoid an error. */ 3168 #ifdef __cplusplus3169 extern "C"3170 #endif3171 1589 /* We use char because int might match the return type of a gcc2 3172 builtin and then its argument prototype would still apply. */ 3173 char socket (); 3174 #ifdef F77_DUMMY_MAIN 3175 # ifdef __cplusplus 3176 extern "C" 3177 # endif 3178 int F77_DUMMY_MAIN() { return 1; } 3179 #endif 3180 int 3181 main () 3182 { 3183 socket (); 3184 ; 3185 return 0; 3186 } 3187 _ACEOF 3188 rm -f conftest.$ac_objext conftest$ac_exeext 3189 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3190 (eval $ac_link) 2>&5 3191 ac_status=$? 3192 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3193 (exit $ac_status); } && 3194 { ac_try='test -s conftest$ac_exeext' 3195 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3196 (eval $ac_try) 2>&5 3197 ac_status=$? 3198 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3199 (exit $ac_status); }; }; then 3200 ac_cv_lib_bsd_socket=yes 3201 else 3202 echo "$as_me: failed program was:" >&5 3203 cat conftest.$ac_ext >&5 3204 ac_cv_lib_bsd_socket=no 3205 fi 3206 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3207 LIBS=$ac_check_lib_save_LIBS 3208 fi 3209 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_socket" >&5 3210 echo "${ECHO_T}$ac_cv_lib_bsd_socket" >&6 3211 if test $ac_cv_lib_bsd_socket = yes; then 3212 cat >>confdefs.h <<_ACEOF 3213 #define HAVE_LIBBSD 1 3214 _ACEOF 1590 builtin and then its argument prototype would still apply. */ 1591 char socket(); 1592 1593 int main() { 1594 socket() 1595 ; return 0; } 1596 EOF 1597 if { (eval echo configure:1598: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1598 rm -rf conftest* 1599 eval "ac_cv_lib_$ac_lib_var=yes" 1600 else 1601 echo "configure: failed program was:" >&5 1602 cat conftest.$ac_ext >&5 1603 rm -rf conftest* 1604 eval "ac_cv_lib_$ac_lib_var=no" 1605 fi 1606 rm -f conftest* 1607 LIBS="$ac_save_LIBS" 1608 1609 fi 1610 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1611 echo "$ac_t""yes" 1>&6 1612 ac_tr_lib=HAVE_LIB`echo bsd | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1613 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1614 cat >> confdefs.h <<EOF 1615 #define $ac_tr_lib 1 1616 EOF 3215 1617 3216 1618 LIBS="-lbsd $LIBS" 3217 1619 3218 fi 3219 3220 3221 echo "$as_me:$LINENO: checking for listen in -lsocket" >&5 3222 echo $ECHO_N "checking for listen in -lsocket... $ECHO_C" >&6 3223 if test "${ac_cv_lib_socket_listen+set}" = set; then 3224 echo $ECHO_N "(cached) $ECHO_C" >&6 3225 else 3226 ac_check_lib_save_LIBS=$LIBS 1620 else 1621 echo "$ac_t""no" 1>&6 1622 fi 1623 1624 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1625 echo "configure:1626: checking for listen in -lsocket" >&5 1626 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1627 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1628 echo $ac_n "(cached) $ac_c" 1>&6 1629 else 1630 ac_save_LIBS="$LIBS" 3227 1631 LIBS="-lsocket $LIBS" 3228 cat > conftest.$ac_ext <<_ACEOF3229 #line $LINENO"configure"1632 cat > conftest.$ac_ext <<EOF 1633 #line 1634 "configure" 3230 1634 #include "confdefs.h" 3231 3232 1635 /* Override any gcc2 internal prototype to avoid an error. */ 3233 #ifdef __cplusplus3234 extern "C"3235 #endif3236 1636 /* We use char because int might match the return type of a gcc2 3237 builtin and then its argument prototype would still apply. */ 3238 char listen (); 3239 #ifdef F77_DUMMY_MAIN 3240 # ifdef __cplusplus 3241 extern "C" 3242 # endif 3243 int F77_DUMMY_MAIN() { return 1; } 3244 #endif 3245 int 3246 main () 3247 { 3248 listen (); 3249 ; 3250 return 0; 3251 } 3252 _ACEOF 3253 rm -f conftest.$ac_objext conftest$ac_exeext 3254 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3255 (eval $ac_link) 2>&5 3256 ac_status=$? 3257 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3258 (exit $ac_status); } && 3259 { ac_try='test -s conftest$ac_exeext' 3260 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3261 (eval $ac_try) 2>&5 3262 ac_status=$? 3263 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3264 (exit $ac_status); }; }; then 3265 ac_cv_lib_socket_listen=yes 3266 else 3267 echo "$as_me: failed program was:" >&5 3268 cat conftest.$ac_ext >&5 3269 ac_cv_lib_socket_listen=no 3270 fi 3271 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3272 LIBS=$ac_check_lib_save_LIBS 3273 fi 3274 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_listen" >&5 3275 echo "${ECHO_T}$ac_cv_lib_socket_listen" >&6 3276 if test $ac_cv_lib_socket_listen = yes; then 3277 cat >>confdefs.h <<_ACEOF 3278 #define HAVE_LIBSOCKET 1 3279 _ACEOF 1637 builtin and then its argument prototype would still apply. */ 1638 char listen(); 1639 1640 int main() { 1641 listen() 1642 ; return 0; } 1643 EOF 1644 if { (eval echo configure:1645: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1645 rm -rf conftest* 1646 eval "ac_cv_lib_$ac_lib_var=yes" 1647 else 1648 echo "configure: failed program was:" >&5 1649 cat conftest.$ac_ext >&5 1650 rm -rf conftest* 1651 eval "ac_cv_lib_$ac_lib_var=no" 1652 fi 1653 rm -f conftest* 1654 LIBS="$ac_save_LIBS" 1655 1656 fi 1657 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1658 echo "$ac_t""yes" 1>&6 1659 ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1660 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1661 cat >> confdefs.h <<EOF 1662 #define $ac_tr_lib 1 1663 EOF 3280 1664 3281 1665 LIBS="-lsocket $LIBS" 3282 1666 3283 fi 3284 3285 3286 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 3287 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 3288 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then 3289 echo $ECHO_N "(cached) $ECHO_C" >&6 3290 else 3291 ac_check_lib_save_LIBS=$LIBS 1667 else 1668 echo "$ac_t""no" 1>&6 1669 fi 1670 1671 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1672 echo "configure:1673: checking for gethostbyname in -lnsl" >&5 1673 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1674 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1675 echo $ac_n "(cached) $ac_c" 1>&6 1676 else 1677 ac_save_LIBS="$LIBS" 3292 1678 LIBS="-lnsl $LIBS" 3293 cat > conftest.$ac_ext <<_ACEOF3294 #line $LINENO"configure"1679 cat > conftest.$ac_ext <<EOF 1680 #line 1681 "configure" 3295 1681 #include "confdefs.h" 3296 3297 1682 /* Override any gcc2 internal prototype to avoid an error. */ 3298 #ifdef __cplusplus3299 extern "C"3300 #endif3301 1683 /* We use char because int might match the return type of a gcc2 3302 builtin and then its argument prototype would still apply. */ 3303 char gethostbyname (); 3304 #ifdef F77_DUMMY_MAIN 3305 # ifdef __cplusplus 3306 extern "C" 3307 # endif 3308 int F77_DUMMY_MAIN() { return 1; } 3309 #endif 3310 int 3311 main () 3312 { 3313 gethostbyname (); 3314 ; 3315 return 0; 3316 } 3317 _ACEOF 3318 rm -f conftest.$ac_objext conftest$ac_exeext 3319 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3320 (eval $ac_link) 2>&5 3321 ac_status=$? 3322 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3323 (exit $ac_status); } && 3324 { ac_try='test -s conftest$ac_exeext' 3325 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3326 (eval $ac_try) 2>&5 3327 ac_status=$? 3328 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3329 (exit $ac_status); }; }; then 3330 ac_cv_lib_nsl_gethostbyname=yes 3331 else 3332 echo "$as_me: failed program was:" >&5 3333 cat conftest.$ac_ext >&5 3334 ac_cv_lib_nsl_gethostbyname=no 3335 fi 3336 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3337 LIBS=$ac_check_lib_save_LIBS 3338 fi 3339 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 3340 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 3341 if test $ac_cv_lib_nsl_gethostbyname = yes; then 3342 cat >>confdefs.h <<_ACEOF 3343 #define HAVE_LIBNSL 1 3344 _ACEOF 1684 builtin and then its argument prototype would still apply. */ 1685 char gethostbyname(); 1686 1687 int main() { 1688 gethostbyname() 1689 ; return 0; } 1690 EOF 1691 if { (eval echo configure:1692: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1692 rm -rf conftest* 1693 eval "ac_cv_lib_$ac_lib_var=yes" 1694 else 1695 echo "configure: failed program was:" >&5 1696 cat conftest.$ac_ext >&5 1697 rm -rf conftest* 1698 eval "ac_cv_lib_$ac_lib_var=no" 1699 fi 1700 rm -f conftest* 1701 LIBS="$ac_save_LIBS" 1702 1703 fi 1704 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1705 echo "$ac_t""yes" 1>&6 1706 ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1707 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1708 cat >> confdefs.h <<EOF 1709 #define $ac_tr_lib 1 1710 EOF 3345 1711 3346 1712 LIBS="-lnsl $LIBS" 3347 1713 3348 fi 3349 3350 3351 echo "$as_me:$LINENO: checking for main in -lgmp" >&5 3352 echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6 3353 if test "${ac_cv_lib_gmp_main+set}" = set; then 3354 echo $ECHO_N "(cached) $ECHO_C" >&6 3355 else 3356 ac_check_lib_save_LIBS=$LIBS 1714 else 1715 echo "$ac_t""no" 1>&6 1716 fi 1717 1718 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 1719 echo "configure:1720: checking for main in -lgmp" >&5 1720 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 1721 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1722 echo $ac_n "(cached) $ac_c" 1>&6 1723 else 1724 ac_save_LIBS="$LIBS" 3357 1725 LIBS="-lgmp $LIBS" 3358 cat > conftest.$ac_ext <<_ACEOF3359 #line $LINENO"configure"1726 cat > conftest.$ac_ext <<EOF 1727 #line 1728 "configure" 3360 1728 #include "confdefs.h" 3361 1729 3362 3363 #ifdef F77_DUMMY_MAIN 3364 # ifdef __cplusplus 3365 extern "C" 3366 # endif 3367 int F77_DUMMY_MAIN() { return 1; } 3368 #endif 3369 int 3370 main () 3371 { 3372 main (); 3373 ; 3374 return 0; 3375 } 3376 _ACEOF 3377 rm -f conftest.$ac_objext conftest$ac_exeext 3378 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3379 (eval $ac_link) 2>&5 3380 ac_status=$? 3381 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3382 (exit $ac_status); } && 3383 { ac_try='test -s conftest$ac_exeext' 3384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3385 (eval $ac_try) 2>&5 3386 ac_status=$? 3387 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3388 (exit $ac_status); }; }; then 3389 ac_cv_lib_gmp_main=yes 3390 else 3391 echo "$as_me: failed program was:" >&5 3392 cat conftest.$ac_ext >&5 3393 ac_cv_lib_gmp_main=no 3394 fi 3395 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3396 LIBS=$ac_check_lib_save_LIBS 3397 fi 3398 echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5 3399 echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6 3400 if test $ac_cv_lib_gmp_main = yes; then 3401 cat >>confdefs.h <<_ACEOF 3402 #define HAVE_LIBGMP 1 3403 _ACEOF 1730 int main() { 1731 main() 1732 ; return 0; } 1733 EOF 1734 if { (eval echo configure:1735: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1735 rm -rf conftest* 1736 eval "ac_cv_lib_$ac_lib_var=yes" 1737 else 1738 echo "configure: failed program was:" >&5 1739 cat conftest.$ac_ext >&5 1740 rm -rf conftest* 1741 eval "ac_cv_lib_$ac_lib_var=no" 1742 fi 1743 rm -f conftest* 1744 LIBS="$ac_save_LIBS" 1745 1746 fi 1747 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1748 echo "$ac_t""yes" 1>&6 1749 ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1750 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1751 cat >> confdefs.h <<EOF 1752 #define $ac_tr_lib 1 1753 EOF 3404 1754 3405 1755 LIBS="-lgmp $LIBS" 3406 1756 3407 fi 3408 3409 3410 echo "$as_me:$LINENO: checking for mpz_init in -lsmallgmp" >&5 3411 echo $ECHO_N "checking for mpz_init in -lsmallgmp... $ECHO_C" >&6 3412 if test "${ac_cv_lib_smallgmp_mpz_init+set}" = set; then 3413 echo $ECHO_N "(cached) $ECHO_C" >&6 3414 else 3415 ac_check_lib_save_LIBS=$LIBS 1757 else 1758 echo "$ac_t""no" 1>&6 1759 fi 1760 1761 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 1762 echo "configure:1763: checking for mpz_init in -lsmallgmp" >&5 1763 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 1764 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1765 echo $ac_n "(cached) $ac_c" 1>&6 1766 else 1767 ac_save_LIBS="$LIBS" 3416 1768 LIBS="-lsmallgmp $LIBS" 3417 cat > conftest.$ac_ext <<_ACEOF3418 #line $LINENO"configure"1769 cat > conftest.$ac_ext <<EOF 1770 #line 1771 "configure" 3419 1771 #include "confdefs.h" 3420 3421 1772 /* Override any gcc2 internal prototype to avoid an error. */ 3422 #ifdef __cplusplus3423 extern "C"3424 #endif3425 1773 /* We use char because int might match the return type of a gcc2 3426 builtin and then its argument prototype would still apply. */ 3427 char mpz_init (); 3428 #ifdef F77_DUMMY_MAIN 3429 # ifdef __cplusplus 3430 extern "C" 3431 # endif 3432 int F77_DUMMY_MAIN() { return 1; } 3433 #endif 3434 int 3435 main () 3436 { 3437 mpz_init (); 3438 ; 3439 return 0; 3440 } 3441 _ACEOF 3442 rm -f conftest.$ac_objext conftest$ac_exeext 3443 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3444 (eval $ac_link) 2>&5 3445 ac_status=$? 3446 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3447 (exit $ac_status); } && 3448 { ac_try='test -s conftest$ac_exeext' 3449 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3450 (eval $ac_try) 2>&5 3451 ac_status=$? 3452 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3453 (exit $ac_status); }; }; then 3454 ac_cv_lib_smallgmp_mpz_init=yes 3455 else 3456 echo "$as_me: failed program was:" >&5 3457 cat conftest.$ac_ext >&5 3458 ac_cv_lib_smallgmp_mpz_init=no 3459 fi 3460 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3461 LIBS=$ac_check_lib_save_LIBS 3462 fi 3463 echo "$as_me:$LINENO: result: $ac_cv_lib_smallgmp_mpz_init" >&5 3464 echo "${ECHO_T}$ac_cv_lib_smallgmp_mpz_init" >&6 3465 if test $ac_cv_lib_smallgmp_mpz_init = yes; then 3466 cat >>confdefs.h <<_ACEOF 3467 #define HAVE_LIBSMALLGMP 1 3468 _ACEOF 1774 builtin and then its argument prototype would still apply. */ 1775 char mpz_init(); 1776 1777 int main() { 1778 mpz_init() 1779 ; return 0; } 1780 EOF 1781 if { (eval echo configure:1782: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1782 rm -rf conftest* 1783 eval "ac_cv_lib_$ac_lib_var=yes" 1784 else 1785 echo "configure: failed program was:" >&5 1786 cat conftest.$ac_ext >&5 1787 rm -rf conftest* 1788 eval "ac_cv_lib_$ac_lib_var=no" 1789 fi 1790 rm -f conftest* 1791 LIBS="$ac_save_LIBS" 1792 1793 fi 1794 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1795 echo "$ac_t""yes" 1>&6 1796 ac_tr_lib=HAVE_LIB`echo smallgmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1797 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1798 cat >> confdefs.h <<EOF 1799 #define $ac_tr_lib 1 1800 EOF 3469 1801 3470 1802 LIBS="-lsmallgmp $LIBS" 3471 1803 3472 fi 3473 3474 3475 echo "$as_me:$LINENO: checking for IMP_PutGmpInt in -lMP" >&5 3476 echo $ECHO_N "checking for IMP_PutGmpInt in -lMP... $ECHO_C" >&6 3477 if test "${ac_cv_lib_MP_IMP_PutGmpInt+set}" = set; then 3478 echo $ECHO_N "(cached) $ECHO_C" >&6 3479 else 3480 ac_check_lib_save_LIBS=$LIBS 1804 else 1805 echo "$ac_t""no" 1>&6 1806 fi 1807 1808 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 1809 echo "configure:1810: checking for IMP_PutGmpInt in -lMP" >&5 1810 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 1811 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1812 echo $ac_n "(cached) $ac_c" 1>&6 1813 else 1814 ac_save_LIBS="$LIBS" 3481 1815 LIBS="-lMP $LIBS" 3482 cat > conftest.$ac_ext <<_ACEOF3483 #line $LINENO"configure"1816 cat > conftest.$ac_ext <<EOF 1817 #line 1818 "configure" 3484 1818 #include "confdefs.h" 3485 3486 1819 /* Override any gcc2 internal prototype to avoid an error. */ 3487 #ifdef __cplusplus3488 extern "C"3489 #endif3490 1820 /* We use char because int might match the return type of a gcc2 3491 builtin and then its argument prototype would still apply. */ 3492 char IMP_PutGmpInt (); 3493 #ifdef F77_DUMMY_MAIN 3494 # ifdef __cplusplus 3495 extern "C" 3496 # endif 3497 int F77_DUMMY_MAIN() { return 1; } 3498 #endif 3499 int 3500 main () 3501 { 3502 IMP_PutGmpInt (); 3503 ; 3504 return 0; 3505 } 3506 _ACEOF 3507 rm -f conftest.$ac_objext conftest$ac_exeext 3508 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3509 (eval $ac_link) 2>&5 3510 ac_status=$? 3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3512 (exit $ac_status); } && 3513 { ac_try='test -s conftest$ac_exeext' 3514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3515 (eval $ac_try) 2>&5 3516 ac_status=$? 3517 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3518 (exit $ac_status); }; }; then 3519 ac_cv_lib_MP_IMP_PutGmpInt=yes 3520 else 3521 echo "$as_me: failed program was:" >&5 3522 cat conftest.$ac_ext >&5 3523 ac_cv_lib_MP_IMP_PutGmpInt=no 3524 fi 3525 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3526 LIBS=$ac_check_lib_save_LIBS 3527 fi 3528 echo "$as_me:$LINENO: result: $ac_cv_lib_MP_IMP_PutGmpInt" >&5 3529 echo "${ECHO_T}$ac_cv_lib_MP_IMP_PutGmpInt" >&6 3530 if test $ac_cv_lib_MP_IMP_PutGmpInt = yes; then 3531 cat >>confdefs.h <<_ACEOF 3532 #define HAVE_LIBMP 1 3533 _ACEOF 1821 builtin and then its argument prototype would still apply. */ 1822 char IMP_PutGmpInt(); 1823 1824 int main() { 1825 IMP_PutGmpInt() 1826 ; return 0; } 1827 EOF 1828 if { (eval echo configure:1829: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1829 rm -rf conftest* 1830 eval "ac_cv_lib_$ac_lib_var=yes" 1831 else 1832 echo "configure: failed program was:" >&5 1833 cat conftest.$ac_ext >&5 1834 rm -rf conftest* 1835 eval "ac_cv_lib_$ac_lib_var=no" 1836 fi 1837 rm -f conftest* 1838 LIBS="$ac_save_LIBS" 1839 1840 fi 1841 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1842 echo "$ac_t""yes" 1>&6 1843 ac_tr_lib=HAVE_LIB`echo MP | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1844 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1845 cat >> confdefs.h <<EOF 1846 #define $ac_tr_lib 1 1847 EOF 3534 1848 3535 1849 LIBS="-lMP $LIBS" 3536 1850 3537 fi 3538 3539 3540 echo "$as_me:$LINENO: checking for MPT_GetTree in -lMPT" >&5 3541 echo $ECHO_N "checking for MPT_GetTree in -lMPT... $ECHO_C" >&6 3542 if test "${ac_cv_lib_MPT_MPT_GetTree+set}" = set; then 3543 echo $ECHO_N "(cached) $ECHO_C" >&6 3544 else 3545 ac_check_lib_save_LIBS=$LIBS 1851 else 1852 echo "$ac_t""no" 1>&6 1853 fi 1854 1855 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 1856 echo "configure:1857: checking for MPT_GetTree in -lMPT" >&5 1857 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 1858 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1859 echo $ac_n "(cached) $ac_c" 1>&6 1860 else 1861 ac_save_LIBS="$LIBS" 3546 1862 LIBS="-lMPT $LIBS" 3547 cat > conftest.$ac_ext <<_ACEOF3548 #line $LINENO"configure"1863 cat > conftest.$ac_ext <<EOF 1864 #line 1865 "configure" 3549 1865 #include "confdefs.h" 3550 3551 1866 /* Override any gcc2 internal prototype to avoid an error. */ 3552 #ifdef __cplusplus3553 extern "C"3554 #endif3555 1867 /* We use char because int might match the return type of a gcc2 3556 builtin and then its argument prototype would still apply. */ 3557 char MPT_GetTree (); 3558 #ifdef F77_DUMMY_MAIN 3559 # ifdef __cplusplus 3560 extern "C" 3561 # endif 3562 int F77_DUMMY_MAIN() { return 1; } 3563 #endif 3564 int 3565 main () 3566 { 3567 MPT_GetTree (); 3568 ; 3569 return 0; 3570 } 3571 _ACEOF 3572 rm -f conftest.$ac_objext conftest$ac_exeext 3573 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3574 (eval $ac_link) 2>&5 3575 ac_status=$? 3576 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3577 (exit $ac_status); } && 3578 { ac_try='test -s conftest$ac_exeext' 3579 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3580 (eval $ac_try) 2>&5 3581 ac_status=$? 3582 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3583 (exit $ac_status); }; }; then 3584 ac_cv_lib_MPT_MPT_GetTree=yes 3585 else 3586 echo "$as_me: failed program was:" >&5 3587 cat conftest.$ac_ext >&5 3588 ac_cv_lib_MPT_MPT_GetTree=no 3589 fi 3590 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3591 LIBS=$ac_check_lib_save_LIBS 3592 fi 3593 echo "$as_me:$LINENO: result: $ac_cv_lib_MPT_MPT_GetTree" >&5 3594 echo "${ECHO_T}$ac_cv_lib_MPT_MPT_GetTree" >&6 3595 if test $ac_cv_lib_MPT_MPT_GetTree = yes; then 3596 cat >>confdefs.h <<_ACEOF 3597 #define HAVE_LIBMPT 1 3598 _ACEOF 1868 builtin and then its argument prototype would still apply. */ 1869 char MPT_GetTree(); 1870 1871 int main() { 1872 MPT_GetTree() 1873 ; return 0; } 1874 EOF 1875 if { (eval echo configure:1876: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1876 rm -rf conftest* 1877 eval "ac_cv_lib_$ac_lib_var=yes" 1878 else 1879 echo "configure: failed program was:" >&5 1880 cat conftest.$ac_ext >&5 1881 rm -rf conftest* 1882 eval "ac_cv_lib_$ac_lib_var=no" 1883 fi 1884 rm -f conftest* 1885 LIBS="$ac_save_LIBS" 1886 1887 fi 1888 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1889 echo "$ac_t""yes" 1>&6 1890 ac_tr_lib=HAVE_LIB`echo MPT | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1891 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1892 cat >> confdefs.h <<EOF 1893 #define $ac_tr_lib 1 1894 EOF 3599 1895 3600 1896 LIBS="-lMPT $LIBS" 3601 1897 3602 fi 3603 3604 3605 echo "$as_me:$LINENO: checking for atof in -lsingcf" >&5 3606 echo $ECHO_N "checking for atof in -lsingcf... $ECHO_C" >&6 3607 if test "${ac_cv_lib_singcf_atof+set}" = set; then 3608 echo $ECHO_N "(cached) $ECHO_C" >&6 3609 else 3610 ac_check_lib_save_LIBS=$LIBS 1898 else 1899 echo "$ac_t""no" 1>&6 1900 fi 1901 1902 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 1903 echo "configure:1904: checking for atof in -lsingcf" >&5 1904 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 1905 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1906 echo $ac_n "(cached) $ac_c" 1>&6 1907 else 1908 ac_save_LIBS="$LIBS" 3611 1909 LIBS="-lsingcf $LIBS" 3612 cat > conftest.$ac_ext <<_ACEOF3613 #line $LINENO"configure"1910 cat > conftest.$ac_ext <<EOF 1911 #line 1912 "configure" 3614 1912 #include "confdefs.h" 3615 3616 1913 /* Override any gcc2 internal prototype to avoid an error. */ 3617 #ifdef __cplusplus3618 extern "C"3619 #endif3620 1914 /* We use char because int might match the return type of a gcc2 3621 builtin and then its argument prototype would still apply. */ 3622 char atof (); 3623 #ifdef F77_DUMMY_MAIN 3624 # ifdef __cplusplus 3625 extern "C" 3626 # endif 3627 int F77_DUMMY_MAIN() { return 1; } 3628 #endif 3629 int 3630 main () 3631 { 3632 atof (); 3633 ; 3634 return 0; 3635 } 3636 _ACEOF 3637 rm -f conftest.$ac_objext conftest$ac_exeext 3638 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3639 (eval $ac_link) 2>&5 3640 ac_status=$? 3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3642 (exit $ac_status); } && 3643 { ac_try='test -s conftest$ac_exeext' 3644 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3645 (eval $ac_try) 2>&5 3646 ac_status=$? 3647 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3648 (exit $ac_status); }; }; then 3649 ac_cv_lib_singcf_atof=yes 3650 else 3651 echo "$as_me: failed program was:" >&5 3652 cat conftest.$ac_ext >&5 3653 ac_cv_lib_singcf_atof=no 3654 fi 3655 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3656 LIBS=$ac_check_lib_save_LIBS 3657 fi 3658 echo "$as_me:$LINENO: result: $ac_cv_lib_singcf_atof" >&5 3659 echo "${ECHO_T}$ac_cv_lib_singcf_atof" >&6 3660 if test $ac_cv_lib_singcf_atof = yes; then 3661 cat >>confdefs.h <<_ACEOF 3662 #define HAVE_LIBSINGCF 1 3663 _ACEOF 1915 builtin and then its argument prototype would still apply. */ 1916 char atof(); 1917 1918 int main() { 1919 atof() 1920 ; return 0; } 1921 EOF 1922 if { (eval echo configure:1923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1923 rm -rf conftest* 1924 eval "ac_cv_lib_$ac_lib_var=yes" 1925 else 1926 echo "configure: failed program was:" >&5 1927 cat conftest.$ac_ext >&5 1928 rm -rf conftest* 1929 eval "ac_cv_lib_$ac_lib_var=no" 1930 fi 1931 rm -f conftest* 1932 LIBS="$ac_save_LIBS" 1933 1934 fi 1935 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1936 echo "$ac_t""yes" 1>&6 1937 ac_tr_lib=HAVE_LIB`echo singcf | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1938 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1939 cat >> confdefs.h <<EOF 1940 #define $ac_tr_lib 1 1941 EOF 3664 1942 3665 1943 LIBS="-lsingcf $LIBS" 3666 1944 3667 fi 3668 3669 3670 echo "$as_me:$LINENO: checking for atof in -lsingfac" >&5 3671 echo $ECHO_N "checking for atof in -lsingfac... $ECHO_C" >&6 3672 if test "${ac_cv_lib_singfac_atof+set}" = set; then 3673 echo $ECHO_N "(cached) $ECHO_C" >&6 3674 else 3675 ac_check_lib_save_LIBS=$LIBS 1945 else 1946 echo "$ac_t""no" 1>&6 1947 fi 1948 1949 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 1950 echo "configure:1951: checking for atof in -lsingfac" >&5 1951 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 1952 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1953 echo $ac_n "(cached) $ac_c" 1>&6 1954 else 1955 ac_save_LIBS="$LIBS" 3676 1956 LIBS="-lsingfac $LIBS" 3677 cat > conftest.$ac_ext <<_ACEOF3678 #line $LINENO"configure"1957 cat > conftest.$ac_ext <<EOF 1958 #line 1959 "configure" 3679 1959 #include "confdefs.h" 3680 3681 1960 /* Override any gcc2 internal prototype to avoid an error. */ 3682 #ifdef __cplusplus3683 extern "C"3684 #endif3685 1961 /* We use char because int might match the return type of a gcc2 3686 builtin and then its argument prototype would still apply. */ 3687 char atof (); 3688 #ifdef F77_DUMMY_MAIN 3689 # ifdef __cplusplus 3690 extern "C" 3691 # endif 3692 int F77_DUMMY_MAIN() { return 1; } 3693 #endif 3694 int 3695 main () 3696 { 3697 atof (); 3698 ; 3699 return 0; 3700 } 3701 _ACEOF 3702 rm -f conftest.$ac_objext conftest$ac_exeext 3703 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3704 (eval $ac_link) 2>&5 3705 ac_status=$? 3706 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3707 (exit $ac_status); } && 3708 { ac_try='test -s conftest$ac_exeext' 3709 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3710 (eval $ac_try) 2>&5 3711 ac_status=$? 3712 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3713 (exit $ac_status); }; }; then 3714 ac_cv_lib_singfac_atof=yes 3715 else 3716 echo "$as_me: failed program was:" >&5 3717 cat conftest.$ac_ext >&5 3718 ac_cv_lib_singfac_atof=no 3719 fi 3720 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3721 LIBS=$ac_check_lib_save_LIBS 3722 fi 3723 echo "$as_me:$LINENO: result: $ac_cv_lib_singfac_atof" >&5 3724 echo "${ECHO_T}$ac_cv_lib_singfac_atof" >&6 3725 if test $ac_cv_lib_singfac_atof = yes; then 3726 cat >>confdefs.h <<_ACEOF 3727 #define HAVE_LIBSINGFAC 1 3728 _ACEOF 1962 builtin and then its argument prototype would still apply. */ 1963 char atof(); 1964 1965 int main() { 1966 atof() 1967 ; return 0; } 1968 EOF 1969 if { (eval echo configure:1970: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1970 rm -rf conftest* 1971 eval "ac_cv_lib_$ac_lib_var=yes" 1972 else 1973 echo "configure: failed program was:" >&5 1974 cat conftest.$ac_ext >&5 1975 rm -rf conftest* 1976 eval "ac_cv_lib_$ac_lib_var=no" 1977 fi 1978 rm -f conftest* 1979 LIBS="$ac_save_LIBS" 1980 1981 fi 1982 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1983 echo "$ac_t""yes" 1>&6 1984 ac_tr_lib=HAVE_LIB`echo singfac | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1985 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1986 cat >> confdefs.h <<EOF 1987 #define $ac_tr_lib 1 1988 EOF 3729 1989 3730 1990 LIBS="-lsingfac $LIBS" 3731 1991 3732 fi 3733 3734 3735 echo "$as_me:$LINENO: checking for omTestAddr in -lomalloc" >&5 3736 echo $ECHO_N "checking for omTestAddr in -lomalloc... $ECHO_C" >&6 3737 if test "${ac_cv_lib_omalloc_omTestAddr+set}" = set; then 3738 echo $ECHO_N "(cached) $ECHO_C" >&6 3739 else 3740 ac_check_lib_save_LIBS=$LIBS 1992 else 1993 echo "$ac_t""no" 1>&6 1994 fi 1995 1996 echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6 1997 echo "configure:1998: checking for omTestAddr in -lomalloc" >&5 1998 ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'` 1999 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 2000 echo $ac_n "(cached) $ac_c" 1>&6 2001 else 2002 ac_save_LIBS="$LIBS" 3741 2003 LIBS="-lomalloc $LIBS" 3742 cat > conftest.$ac_ext <<_ACEOF3743 #line $LINENO"configure"2004 cat > conftest.$ac_ext <<EOF 2005 #line 2006 "configure" 3744 2006 #include "confdefs.h" 3745 3746 2007 /* Override any gcc2 internal prototype to avoid an error. */ 3747 #ifdef __cplusplus3748 extern "C"3749 #endif3750 2008 /* We use char because int might match the return type of a gcc2 3751 builtin and then its argument prototype would still apply. */ 3752 char omTestAddr (); 3753 #ifdef F77_DUMMY_MAIN 3754 # ifdef __cplusplus 3755 extern "C" 3756 # endif 3757 int F77_DUMMY_MAIN() { return 1; } 3758 #endif 3759 int 3760 main () 3761 { 3762 omTestAddr (); 3763 ; 3764 return 0; 3765 } 3766 _ACEOF 3767 rm -f conftest.$ac_objext conftest$ac_exeext 3768 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3769 (eval $ac_link) 2>&5 3770 ac_status=$? 3771 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3772 (exit $ac_status); } && 3773 { ac_try='test -s conftest$ac_exeext' 3774 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3775 (eval $ac_try) 2>&5 3776 ac_status=$? 3777 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3778 (exit $ac_status); }; }; then 3779 ac_cv_lib_omalloc_omTestAddr=yes 3780 else 3781 echo "$as_me: failed program was:" >&5 3782 cat conftest.$ac_ext >&5 3783 ac_cv_lib_omalloc_omTestAddr=no 3784 fi 3785 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3786 LIBS=$ac_check_lib_save_LIBS 3787 fi 3788 echo "$as_me:$LINENO: result: $ac_cv_lib_omalloc_omTestAddr" >&5 3789 echo "${ECHO_T}$ac_cv_lib_omalloc_omTestAddr" >&6 3790 if test $ac_cv_lib_omalloc_omTestAddr = yes; then 3791 cat >>confdefs.h <<_ACEOF 3792 #define HAVE_LIBOMALLOC 1 3793 _ACEOF 2009 builtin and then its argument prototype would still apply. */ 2010 char omTestAddr(); 2011 2012 int main() { 2013 omTestAddr() 2014 ; return 0; } 2015 EOF 2016 if { (eval echo configure:2017: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2017 rm -rf conftest* 2018 eval "ac_cv_lib_$ac_lib_var=yes" 2019 else 2020 echo "configure: failed program was:" >&5 2021 cat conftest.$ac_ext >&5 2022 rm -rf conftest* 2023 eval "ac_cv_lib_$ac_lib_var=no" 2024 fi 2025 rm -f conftest* 2026 LIBS="$ac_save_LIBS" 2027 2028 fi 2029 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 2030 echo "$ac_t""yes" 1>&6 2031 ac_tr_lib=HAVE_LIB`echo omalloc | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 2032 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 2033 cat >> confdefs.h <<EOF 2034 #define $ac_tr_lib 1 2035 EOF 3794 2036 3795 2037 LIBS="-lomalloc $LIBS" 3796 2038 3797 fi 3798 3799 3800 echo "$as_me:$LINENO: checking for main in -lomalloc_ndebug" >&5 3801 echo $ECHO_N "checking for main in -lomalloc_ndebug... $ECHO_C" >&6 3802 if test "${ac_cv_lib_omalloc_ndebug_main+set}" = set; then 3803 echo $ECHO_N "(cached) $ECHO_C" >&6 3804 else 3805 ac_check_lib_save_LIBS=$LIBS 2039 else 2040 echo "$ac_t""no" 1>&6 2041 fi 2042 2043 echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6 2044 echo "configure:2045: checking for main in -lomalloc_ndebug" >&5 2045 ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'` 2046 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 2047 echo $ac_n "(cached) $ac_c" 1>&6 2048 else 2049 ac_save_LIBS="$LIBS" 3806 2050 LIBS="-lomalloc_ndebug $LIBS" 3807 cat > conftest.$ac_ext <<_ACEOF3808 #line $LINENO"configure"2051 cat > conftest.$ac_ext <<EOF 2052 #line 2053 "configure" 3809 2053 #include "confdefs.h" 3810 2054 3811 3812 #ifdef F77_DUMMY_MAIN 3813 # ifdef __cplusplus 3814 extern "C" 3815 # endif 3816 int F77_DUMMY_MAIN() { return 1; } 3817 #endif 3818 int 3819 main () 3820 { 3821 main (); 3822 ; 3823 return 0; 3824 } 3825 _ACEOF 3826 rm -f conftest.$ac_objext conftest$ac_exeext 3827 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3828 (eval $ac_link) 2>&5 3829 ac_status=$? 3830 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3831 (exit $ac_status); } && 3832 { ac_try='test -s conftest$ac_exeext' 3833 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3834 (eval $ac_try) 2>&5 3835 ac_status=$? 3836 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3837 (exit $ac_status); }; }; then 3838 ac_cv_lib_omalloc_ndebug_main=yes 3839 else 3840 echo "$as_me: failed program was:" >&5 3841 cat conftest.$ac_ext >&5 3842 ac_cv_lib_omalloc_ndebug_main=no 3843 fi 3844 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext 3845 LIBS=$ac_check_lib_save_LIBS 3846 fi 3847 echo "$as_me:$LINENO: result: $ac_cv_lib_omalloc_ndebug_main" >&5 3848 echo "${ECHO_T}$ac_cv_lib_omalloc_ndebug_main" >&6 3849 if test $ac_cv_lib_omalloc_ndebug_main = yes; then 3850 cat >>confdefs.h <<_ACEOF 3851 #define HAVE_LIBOMALLOC_NDEBUG 1 3852 _ACEOF 2055 int main() { 2056 main() 2057 ; return 0; } 2058 EOF 2059 if { (eval echo configure:2060: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2060 rm -rf conftest* 2061 eval "ac_cv_lib_$ac_lib_var=yes" 2062 else 2063 echo "configure: failed program was:" >&5 2064 cat conftest.$ac_ext >&5 2065 rm -rf conftest* 2066 eval "ac_cv_lib_$ac_lib_var=no" 2067 fi 2068 rm -f conftest* 2069 LIBS="$ac_save_LIBS" 2070 2071 fi 2072 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 2073 echo "$ac_t""yes" 1>&6 2074 ac_tr_lib=HAVE_LIB`echo omalloc_ndebug | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 2075 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 2076 cat >> confdefs.h <<EOF 2077 #define $ac_tr_lib 1 2078 EOF 3853 2079 3854 2080 LIBS="-lomalloc_ndebug $LIBS" 3855 2081 3856 fi 3857 3858 3859 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 3860 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 3861 if test "${ac_cv_header_stdc+set}" = set; then 3862 echo $ECHO_N "(cached) $ECHO_C" >&6 3863 else 3864 cat >conftest.$ac_ext <<_ACEOF 3865 #line $LINENO "configure" 2082 else 2083 echo "$ac_t""no" 1>&6 2084 fi 2085 2086 2087 for ac_hdr in gmp.h smallgmp.h MP.h MPT.h factory.h factor.h omalloc.h 2088 do 2089 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2090 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2091 echo "configure:2092: checking for $ac_hdr" >&5 2092 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2093 echo $ac_n "(cached) $ac_c" 1>&6 2094 else 2095 cat > conftest.$ac_ext <<EOF 2096 #line 2097 "configure" 3866 2097 #include "confdefs.h" 3867 #include <stdlib.h> 3868 #include <stdarg.h> 3869 #include <string.h> 3870 #include <float.h> 3871 3872 _ACEOF 3873 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 3874 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 3875 ac_status=$? 3876 egrep -v '^ *\+' conftest.er1 >conftest.err 3877 rm -f conftest.er1 3878 cat conftest.err >&5 3879 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3880 (exit $ac_status); } >/dev/null; then 3881 if test -s conftest.err; then 3882 ac_cpp_err=$ac_c_preproc_warn_flag 3883 else 3884 ac_cpp_err= 3885 fi 3886 else 3887 ac_cpp_err=yes 3888 fi 3889 if test -z "$ac_cpp_err"; then 3890 ac_cv_header_stdc=yes 3891 else 3892 echo "$as_me: failed program was:" >&5 2098 #include <$ac_hdr> 2099 EOF 2100 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2101 { (eval echo configure:2102: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2102 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2103 if test -z "$ac_err"; then 2104 rm -rf conftest* 2105 eval "ac_cv_header_$ac_safe=yes" 2106 else 2107 echo "$ac_err" >&5 2108 echo "configure: failed program was:" >&5 3893 2109 cat conftest.$ac_ext >&5 3894 ac_cv_header_stdc=no 3895 fi 3896 rm -f conftest.err conftest.$ac_ext 3897 3898 if test $ac_cv_header_stdc = yes; then 3899 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 3900 cat >conftest.$ac_ext <<_ACEOF 3901 #line $LINENO "configure" 3902 #include "confdefs.h" 3903 #include <string.h> 3904 3905 _ACEOF 3906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3907 egrep "memchr" >/dev/null 2>&1; then 3908 : 3909 else 3910 ac_cv_header_stdc=no 2110 rm -rf conftest* 2111 eval "ac_cv_header_$ac_safe=no" 3911 2112 fi 3912 2113 rm -f conftest* 3913 3914 fi 3915 3916 if test $ac_cv_header_stdc = yes; then 3917 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 3918 cat >conftest.$ac_ext <<_ACEOF 3919 #line $LINENO "configure" 3920 #include "confdefs.h" 3921 #include <stdlib.h> 3922 3923 _ACEOF 3924 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 3925 egrep "free" >/dev/null 2>&1; then 3926 : 3927 else 3928 ac_cv_header_stdc=no 3929 fi 3930 rm -f conftest* 3931 3932 fi 3933 3934 if test $ac_cv_header_stdc = yes; then 3935 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 3936 if test "$cross_compiling" = yes; then 3937 : 3938 else 3939 cat >conftest.$ac_ext <<_ACEOF 3940 #line $LINENO "configure" 3941 #include "confdefs.h" 3942 #include <ctype.h> 3943 #if ((' ' & 0x0FF) == 0x020) 3944 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 3945 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 3946 #else 3947 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \ 3948 || ('j' <= (c) && (c) <= 'r') \ 3949 || ('s' <= (c) && (c) <= 'z')) 3950 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 3951 #endif 3952 3953 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 3954 int 3955 main () 3956 { 3957 int i; 3958 for (i = 0; i < 256; i++) 3959 if (XOR (islower (i), ISLOWER (i)) 3960 || toupper (i) != TOUPPER (i)) 3961 exit(2); 3962 exit (0); 3963 } 3964 _ACEOF 3965 rm -f conftest$ac_exeext 3966 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3967 (eval $ac_link) 2>&5 3968 ac_status=$? 3969 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3970 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 3971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3972 (eval $ac_try) 2>&5 3973 ac_status=$? 3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3975 (exit $ac_status); }; }; then 3976 : 3977 else 3978 echo "$as_me: program exited with status $ac_status" >&5 3979 echo "$as_me: failed program was:" >&5 3980 cat conftest.$ac_ext >&5 3981 ( exit $ac_status ) 3982 ac_cv_header_stdc=no 3983 fi 3984 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 3985 fi 3986 fi 3987 fi 3988 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 3989 echo "${ECHO_T}$ac_cv_header_stdc" >&6 3990 if test $ac_cv_header_stdc = yes; then 3991 3992 cat >>confdefs.h <<\_ACEOF 3993 #define STDC_HEADERS 1 3994 _ACEOF 3995 3996 fi 3997 3998 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4009 inttypes.h stdint.h unistd.h 4010 do 4011 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4012 echo "$as_me:$LINENO: checking for $ac_header" >&5 4013 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4014 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4015 echo $ECHO_N "(cached) $ECHO_C" >&6 4016 else 4017 cat >conftest.$ac_ext <<_ACEOF 4018 #line $LINENO "configure" 4019 #include "confdefs.h" 4020 $ac_includes_default 4021 4022 #include <$ac_header> 4023 _ACEOF 4024 rm -f conftest.$ac_objext 4025 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4026 (eval $ac_compile) 2>&5 4027 ac_status=$? 4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4029 (exit $ac_status); } && 4030 { ac_try='test -s conftest.$ac_objext' 4031 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4032 (eval $ac_try) 2>&5 4033 ac_status=$? 4034 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4035 (exit $ac_status); }; }; then 4036 eval "$as_ac_Header=yes" 4037 else 4038 echo "$as_me: failed program was:" >&5 4039 cat conftest.$ac_ext >&5 4040 eval "$as_ac_Header=no" 4041 fi 4042 rm -f conftest.$ac_objext conftest.$ac_ext 4043 fi 4044 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4045 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4046 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4047 cat >>confdefs.h <<_ACEOF 4048 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4049 _ACEOF 4050 4051 fi 4052 4053 done 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 for ac_header in gmp.h smallgmp.h MP.h MPT.h factory.h factor.h omalloc.h 4064 do 4065 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4066 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4067 echo "$as_me:$LINENO: checking for $ac_header" >&5 4068 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4069 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4070 echo $ECHO_N "(cached) $ECHO_C" >&6 4071 fi 4072 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4073 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4074 else 4075 # Is the header compilable? 4076 echo "$as_me:$LINENO: checking $ac_header usability" >&5 4077 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4078 cat >conftest.$ac_ext <<_ACEOF 4079 #line $LINENO "configure" 4080 #include "confdefs.h" 4081 $ac_includes_default 4082 #include <$ac_header> 4083 _ACEOF 4084 rm -f conftest.$ac_objext 4085 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4086 (eval $ac_compile) 2>&5 4087 ac_status=$? 4088 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4089 (exit $ac_status); } && 4090 { ac_try='test -s conftest.$ac_objext' 4091 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4092 (eval $ac_try) 2>&5 4093 ac_status=$? 4094 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4095 (exit $ac_status); }; }; then 4096 ac_header_compiler=yes 4097 else 4098 echo "$as_me: failed program was:" >&5 4099 cat conftest.$ac_ext >&5 4100 ac_header_compiler=no 4101 fi 4102 rm -f conftest.$ac_objext conftest.$ac_ext 4103 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4104 echo "${ECHO_T}$ac_header_compiler" >&6 4105 4106 # Is the header present? 4107 echo "$as_me:$LINENO: checking $ac_header presence" >&5 4108 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4109 cat >conftest.$ac_ext <<_ACEOF 4110 #line $LINENO "configure" 4111 #include "confdefs.h" 4112 #include <$ac_header> 4113 _ACEOF 4114 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4115 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4116 ac_status=$? 4117 egrep -v '^ *\+' conftest.er1 >conftest.err 4118 rm -f conftest.er1 4119 cat conftest.err >&5 4120 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4121 (exit $ac_status); } >/dev/null; then 4122 if test -s conftest.err; then 4123 ac_cpp_err=$ac_c_preproc_warn_flag 4124 else 4125 ac_cpp_err= 4126 fi 4127 else 4128 ac_cpp_err=yes 4129 fi 4130 if test -z "$ac_cpp_err"; then 4131 ac_header_preproc=yes 4132 else 4133 echo "$as_me: failed program was:" >&5 4134 cat conftest.$ac_ext >&5 4135 ac_header_preproc=no 4136 fi 4137 rm -f conftest.err conftest.$ac_ext 4138 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4139 echo "${ECHO_T}$ac_header_preproc" >&6 4140 4141 # So? What about this header? 4142 case $ac_header_compiler:$ac_header_preproc in 4143 yes:no ) 4144 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4145 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4146 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4147 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 4148 no:yes ) 4149 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4150 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4151 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4152 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4153 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4154 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;};; 4155 esac 4156 echo "$as_me:$LINENO: checking for $ac_header" >&5 4157 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4158 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4159 echo $ECHO_N "(cached) $ECHO_C" >&6 4160 else 4161 eval "$as_ac_Header=$ac_header_preproc" 4162 fi 4163 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4164 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4165 4166 fi 4167 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4168 cat >>confdefs.h <<_ACEOF 4169 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4170 _ACEOF 4171 4172 fi 4173 2114 fi 2115 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2116 echo "$ac_t""yes" 1>&6 2117 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 2118 cat >> confdefs.h <<EOF 2119 #define $ac_tr_hdr 1 2120 EOF 2121 2122 else 2123 echo "$ac_t""no" 1>&6 2124 fi 4174 2125 done 4175 2126 … … 4209 2160 ac_cv_omalloc_ok=yes 4210 2161 fi 4211 4212 2162 4213 2163 # Check whether --with-tmpdir or --without-tmpdir was given. 4214 2164 if test "${with_tmpdir+set}" = set; then 4215 2165 withval="$with_tmpdir" 4216 4217 fi; 2166 : 2167 fi 2168 4218 2169 # Check whether --enable-smallgmp or --disable-smallgmp was given. 4219 2170 if test "${enable_smallgmp+set}" = set; then 4220 2171 enableval="$enable_smallgmp" 4221 4222 fi; 2172 : 2173 fi 2174 4223 2175 # Check whether --enable-omalloc or --disable-omalloc was given. 4224 2176 if test "${enable_omalloc+set}" = set; then 4225 2177 enableval="$enable_omalloc" 4226 4227 fi; 2178 : 2179 fi 2180 4228 2181 # Check whether --enable-gmp or --disable-gmp was given. 4229 2182 if test "${enable_gmp+set}" = set; then 4230 2183 enableval="$enable_gmp" 4231 4232 fi; 2184 : 2185 fi 2186 4233 2187 # Check whether --enable-MP or --disable-MP was given. 4234 2188 if test "${enable_MP+set}" = set; then 4235 2189 enableval="$enable_MP" 4236 4237 fi; 2190 : 2191 fi 2192 4238 2193 # Check whether --enable-factory or --disable-factory was given. 4239 2194 if test "${enable_factory+set}" = set; then 4240 2195 enableval="$enable_factory" 4241 4242 fi; 2196 : 2197 fi 2198 4243 2199 # Check whether --enable-libfac or --disable-libfac was given. 4244 2200 if test "${enable_libfac+set}" = set; then 4245 2201 enableval="$enable_libfac" 4246 4247 fi; 2202 : 2203 fi 2204 4248 2205 # Check whether --enable-sgroup or --disable-sgroup was given. 4249 2206 if test "${enable_sgroup+set}" = set; then 4250 2207 enableval="$enable_sgroup" 4251 4252 fi; 2208 : 2209 fi 2210 4253 2211 # Check whether --enable-Singular or --disable-Singular was given. 4254 2212 if test "${enable_Singular+set}" = set; then 4255 2213 enableval="$enable_Singular" 4256 4257 fi; 2214 : 2215 fi 2216 4258 2217 # Check whether --enable-IntegerProgramming or --disable-IntegerProgramming was given. 4259 2218 if test "${enable_IntegerProgramming+set}" = set; then 4260 2219 enableval="$enable_IntegerProgramming" 4261 4262 fi; 2220 : 2221 fi 2222 4263 2223 # Check whether --enable-Plural or --disable-Plural was given. 4264 2224 if test "${enable_Plural+set}" = set; then 4265 2225 enableval="$enable_Plural" 4266 4267 fi; 2226 : 2227 fi 2228 4268 2229 # Check whether --enable-Texinfo or --disable-Texinfo was given. 4269 2230 if test "${enable_Texinfo+set}" = set; then 4270 2231 enableval="$enable_Texinfo" 4271 4272 fi; 2232 : 2233 fi 2234 4273 2235 # Check whether --enable-Texi2html or --disable-Texi2html was given. 4274 2236 if test "${enable_Texi2html+set}" = set; then 4275 2237 enableval="$enable_Texi2html" 4276 4277 fi; 2238 : 2239 fi 2240 4278 2241 # Check whether --enable-doc or --disable-doc was given. 4279 2242 if test "${enable_doc+set}" = set; then 4280 2243 enableval="$enable_doc" 4281 4282 fi; 2244 : 2245 fi 2246 4283 2247 # Check whether --enable-emacs or --disable-emacs was given. 4284 2248 if test "${enable_emacs+set}" = set; then 4285 2249 enableval="$enable_emacs" 4286 4287 fi ;2250 : 2251 fi 4288 2252 4289 2253 # Check whether --with-MP or --without-MP was given. 4290 2254 if test "${with_MP+set}" = set; then 4291 2255 withval="$with_MP" 4292 4293 fi ;2256 : 2257 fi 4294 2258 4295 2259 # Check whether --with-factory or --without-factory was given. 4296 2260 if test "${with_factory+set}" = set; then 4297 2261 withval="$with_factory" 4298 4299 fi ;2262 : 2263 fi 4300 2264 4301 2265 # Check whether --with-libfac or --without-libfac was given. 4302 2266 if test "${with_libfac+set}" = set; then 4303 2267 withval="$with_libfac" 4304 4305 fi ;2268 : 2269 fi 4306 2270 4307 2271 # Check whether --with-gmp or --without-gmp was given. 4308 2272 if test "${with_gmp+set}" = set; then 4309 2273 withval="$with_gmp" 4310 4311 fi; 4312 4313 echo "$as_me:$LINENO: checking which tmp dir to use" >&5 4314 echo $ECHO_N "checking which tmp dir to use... $ECHO_C" >&6 2274 : 2275 fi 2276 2277 2278 echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6 2279 echo "configure:2280: checking which tmp dir to use" >&5 4315 2280 if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then 4316 2281 if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1) … … 4323 2288 TMP_DIR="${pwd}/tmp" 4324 2289 fi 4325 echo "$as_me:$LINENO: result: $TMP_DIR" >&5 4326 echo "${ECHO_T}$TMP_DIR" >&6 4327 4328 4329 echo "$as_me:$LINENO: checking whether to configure and build omalloc" >&5 4330 echo $ECHO_N "checking whether to configure and build omalloc... $ECHO_C" >&6 2290 echo "$ac_t""$TMP_DIR" 1>&6 2291 2292 2293 echo $ac_n "checking whether to configure and build omalloc""... $ac_c" 1>&6 2294 echo "configure:2295: checking whether to configure and build omalloc" >&5 4331 2295 if test "${enable_omalloc+set}" != set; then 4332 if test "$ac_cv_omalloc_ok" = yes; then 2296 if test "$ac_cv_omalloc_ok" = yes; then 4333 2297 enable_omalloc=no 4334 2298 fi … … 4337 2301 if test "$enable_omalloc" = no; then 4338 2302 if test "$ac_cv_omalloc_ok" != yes; then 4339 { { echo "$as_me:$LINENO: error: can not build without omalloc" >&5 4340 echo "$as_me: error: can not build without omalloc" >&2;} 4341 { (exit 1); exit 1; }; } 4342 fi 4343 echo "$as_me:$LINENO: result: no" >&5 4344 echo "${ECHO_T}no" >&6 2303 { echo "configure: error: can not build without omalloc" 1>&2; exit 1; } 2304 fi 2305 echo "$ac_t""no" 1>&6 4345 2306 else 4346 2307 if test -d omalloc; then 4347 echo "$as_me:$LINENO: result: yes" >&5 4348 echo "${ECHO_T}yes" >&6 2308 echo "$ac_t""yes" 1>&6 4349 2309 if test "$enable_omalloc_not_set" = yes; then 4350 2310 ac_configure_args="$ac_configure_args --enable-omalloc --with-external-config_h='$pwd/Singular/omSingularConfig.h' --with-track-custom" … … 4352 2312 CONFIG_SUBDIRS="$CONFIG_SUBDIRS omalloc" 4353 2313 if test "${with_malloc+set}" != set; then 4354 case "$ac_cv_singuname" in 2314 case "$ac_cv_singuname" in 4355 2315 # under windows, it is best to use the provided malloc 4356 2316 ix86-Win*) … … 4365 2325 fi 4366 2326 else 4367 { { echo "$as_me:$LINENO: error: need omalloc subdir" >&5 4368 echo "$as_me: error: need omalloc subdir" >&2;} 4369 { (exit 1); exit 1; }; } 4370 fi 4371 fi 4372 4373 echo "$as_me:$LINENO: checking whether to configure and build gmp lib" >&5 4374 echo $ECHO_N "checking whether to configure and build gmp lib... $ECHO_C" >&6 2327 { echo "configure: error: need omalloc subdir" 1>&2; exit 1; } 2328 fi 2329 fi 2330 2331 echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 2332 echo "configure:2333: checking whether to configure and build gmp lib" >&5 4375 2333 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 4376 2334 if test "$ac_gmp_ok" != yes && test -d gmp; then 4377 echo "$as_me:$LINENO: result: yes" >&5 4378 echo "${ECHO_T}yes" >&6 2335 echo "$ac_t""yes" 1>&6 4379 2336 enable_gmp=yes 4380 2337 CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" … … 4384 2341 # OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in" 4385 2342 else 4386 echo "$as_me:$LINENO: result: no" >&5 4387 echo "${ECHO_T}no" >&6 2343 echo "$ac_t""no" 1>&6 4388 2344 enable_gmp=no 4389 2345 fi 4390 2346 elif test "$enable_gmp" = yes; then 4391 2347 if test ! -d gmp; then 4392 echo "$as_me:$LINENO: result: no" >&5 4393 echo "${ECHO_T}no" >&6 4394 { { echo "$as_me:$LINENO: error: Can not find gmp subdir" >&5 4395 echo "$as_me: error: Can not find gmp subdir" >&2;} 4396 { (exit 1); exit 1; }; } 4397 else 4398 echo "$as_me:$LINENO: result: yes" >&5 4399 echo "${ECHO_T}yes" >&6 2348 echo "$ac_t""no" 1>&6 2349 { echo "configure: error: Can not find gmp subdir" 1>&2; exit 1; } 2350 else 2351 echo "$ac_t""yes" 1>&6 4400 2352 CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" 4401 2353 # This we used to need for our patched version of gmp 2.x … … 4403 2355 fi 4404 2356 else 4405 echo "$as_me:$LINENO: result: no" >&5 4406 echo "${ECHO_T}no" >&6 2357 echo "$ac_t""no" 1>&6 4407 2358 fi 4408 2359 4409 2360 if test "$enable_gmp" = yes; then 4410 2361 # for gmp-3.0 to work for all ix86 processors, set generic target 4411 if test "$target" = NONE; then 4412 case "$ac_cv_singuname" in 4413 ix86*) 2362 if test "$target" = NONE; then 2363 case "$ac_cv_singuname" in 2364 ix86*) 4414 2365 gmp_target=`./config.guess | sed 's/^\w*-/i386-/'` 4415 ac_configure_args="$ac_configure_args --target=$gmp_target" 2366 ac_configure_args="$ac_configure_args --target=$gmp_target" 4416 2367 ;; 4417 2368 esac … … 4424 2375 fi 4425 2376 4426 echo "$as_me:$LINENO: checking whether to configure and build smallgmp lib" >&54427 echo $ECHO_N "checking whether to configure and build smallgmp lib... $ECHO_C" >&62377 echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6 2378 echo "configure:2379: checking whether to configure and build smallgmp lib" >&5 4428 2379 if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then 4429 2380 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ 4430 2381 test "$enable_gmp" != yes && test -d smallgmp; then 4431 echo "$as_me:$LINENO: result: yes" >&5 4432 echo "${ECHO_T}yes" >&6 2382 echo "$ac_t""yes" 1>&6 4433 2383 enable_smallgmp=yes 4434 2384 CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp" … … 4436 2386 enable_gmp=yes 4437 2387 else 4438 echo "$as_me:$LINENO: result: no" >&5 4439 echo "${ECHO_T}no" >&6 2388 echo "$ac_t""no" 1>&6 4440 2389 enable_smallgmp=no 4441 2390 fi 4442 2391 elif test "$enable_smallgmp" = yes; then 4443 2392 if test ! -d smallgmp; then 4444 echo "$as_me:$LINENO: result: no" >&5 4445 echo "${ECHO_T}no" >&6 4446 { { echo "$as_me:$LINENO: error: Can not find smallgmp subdir" >&5 4447 echo "$as_me: error: Can not find smallgmp subdir" >&2;} 4448 { (exit 1); exit 1; }; } 4449 else 4450 echo "$as_me:$LINENO: result: yes" >&5 4451 echo "${ECHO_T}yes" >&6 2393 echo "$ac_t""no" 1>&6 2394 { echo "configure: error: Can not find smallgmp subdir" 1>&2; exit 1; } 2395 else 2396 echo "$ac_t""yes" 1>&6 4452 2397 CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp" 4453 2398 if test "$ac_gmp_ok" != yes && test "$enable_gmp" != yes; then … … 4456 2401 fi 4457 2402 fi 4458 else 4459 echo "$as_me:$LINENO: result: ${enable_smallgmp}" >&5 4460 echo "${ECHO_T}${enable_smallgmp}" >&6 2403 else 2404 echo "$ac_t""${enable_smallgmp}" 1>&6 4461 2405 fi 4462 2406 … … 4464 2408 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ 4465 2409 test "$enable_smallgmp" != yes && test "$enable_gmp" != yes; then 4466 { { echo "$as_me:$LINENO: error: can neither find nor built gmp or smallgmp" >&5 4467 echo "$as_me: error: can neither find nor built gmp or smallgmp" >&2;} 4468 { (exit 1); exit 1; }; } 2410 { echo "configure: error: can neither find nor built gmp or smallgmp" 1>&2; exit 1; } 4469 2411 fi 4470 2412 … … 4474 2416 fi 4475 2417 4476 echo "$as_me:$LINENO: checking whether to configure and build MP lib" >&54477 echo $ECHO_N "checking whether to configure and build MP lib... $ECHO_C" >&62418 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 2419 echo "configure:2420: checking whether to configure and build MP lib" >&5 4478 2420 if test "$enable_MP" != yes && test "$enable_MP" != no; then 4479 2421 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ 4480 2422 (test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes); then 4481 echo "$as_me:$LINENO: result: yes" >&5 4482 echo "${ECHO_T}yes" >&6 2423 echo "$ac_t""yes" 1>&6 4483 2424 enable_MP=yes 4484 2425 CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" 4485 2426 ac_configure_args="$ac_configure_args --enable-MP" 4486 2427 else 4487 echo "$as_me:$LINENO: result: no" >&5 4488 echo "${ECHO_T}no" >&6 2428 echo "$ac_t""no" 1>&6 4489 2429 enable_MP=no 4490 2430 fi 4491 2431 elif test "$enable_MP" = yes; then 4492 2432 if test ! -d MP; then 4493 echo "$as_me:$LINENO: result: no" >&5 4494 echo "${ECHO_T}no" >&6 4495 { { echo "$as_me:$LINENO: error: can not build MP without MP directory" >&5 4496 echo "$as_me: error: can not build MP without MP directory" >&2;} 4497 { (exit 1); exit 1; }; } 2433 echo "$ac_t""no" 1>&6 2434 { echo "configure: error: can not build MP without MP directory" 1>&2; exit 1; } 4498 2435 fi 4499 2436 if test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes; then 4500 echo "$as_me:$LINENO: result: yes" >&5 4501 echo "${ECHO_T}yes" >&6 2437 echo "$ac_t""yes" 1>&6 4502 2438 CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" 4503 2439 else 4504 echo "$as_me:$LINENO: result: no" >&5 4505 echo "${ECHO_T}no" >&6 4506 { { echo "$as_me:$LINENO: error: can not build MP without gmp" >&5 4507 echo "$as_me: error: can not build MP without gmp" >&2;} 4508 { (exit 1); exit 1; }; } 4509 fi 4510 else 4511 echo "$as_me:$LINENO: result: no" >&5 4512 echo "${ECHO_T}no" >&6 2440 echo "$ac_t""no" 1>&6 2441 { echo "configure: error: can not build MP without gmp" 1>&2; exit 1; } 2442 fi 2443 else 2444 echo "$ac_t""no" 1>&6 4513 2445 fi 4514 2446 … … 4518 2450 fi 4519 2451 4520 echo "$as_me:$LINENO: checking whether to configure and build NTL lib" >&54521 echo $ECHO_N "checking whether to configure and build NTL lib... $ECHO_C" >&62452 echo $ac_n "checking whether to configure and build NTL lib""... $ac_c" 1>&6 2453 echo "configure:2454: checking whether to configure and build NTL lib" >&5 4522 2454 if test "$enable_NTL" != yes && test "$enable_NTL" != no; then 4523 2455 if test "$with_NTL" != no && test "$ac_NTL_ok" != yes && \ 4524 2456 test -d ntl; then 4525 2457 enable_NTL=yes 4526 echo "$as_me:$LINENO: result: yes" >&5 4527 echo "${ECHO_T}yes" >&6 2458 echo "$ac_t""yes" 1>&6 4528 2459 CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl" 4529 2460 ac_configure_args="$ac_configure_args --enable-NTL" 4530 2461 else 4531 2462 enable_NTL=no 4532 echo "$as_me:$LINENO: result: no" >&5 4533 echo "${ECHO_T}no" >&6 2463 echo "$ac_t""no" 1>&6 4534 2464 fi 4535 2465 elif test "$enable_NTL" = yes; then 4536 2466 if test -d ntl; then 4537 echo "$as_me:$LINENO: result: yes" >&5 4538 echo "${ECHO_T}yes" >&6 2467 echo "$ac_t""yes" 1>&6 4539 2468 CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl" 4540 2469 else 4541 echo "$as_me:$LINENO: result: no" >&5 4542 echo "${ECHO_T}no" >&6 4543 { { echo "$as_me:$LINENO: error: can not build NTL without ntl directory" >&5 4544 echo "$as_me: error: can not build NTL without ntl directory" >&2;} 4545 { (exit 1); exit 1; }; } 4546 fi 4547 else 4548 echo "$as_me:$LINENO: result: no" >&5 4549 echo "${ECHO_T}no" >&6 4550 fi 4551 4552 echo "$as_me:$LINENO: checking whether to configure and build factory lib" >&5 4553 echo $ECHO_N "checking whether to configure and build factory lib... $ECHO_C" >&6 2470 echo "$ac_t""no" 1>&6 2471 { echo "configure: error: can not build NTL without ntl directory" 1>&2; exit 1; } 2472 fi 2473 else 2474 echo "$ac_t""no" 1>&6 2475 fi 2476 2477 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 2478 echo "configure:2479: checking whether to configure and build factory lib" >&5 4554 2479 if test "$enable_factory" != yes && test "$enable_factory" != no; then 4555 2480 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ 4556 2481 test -d factory; then 4557 2482 enable_factory=yes 4558 echo "$as_me:$LINENO: result: yes" >&5 4559 echo "${ECHO_T}yes" >&6 2483 echo "$ac_t""yes" 1>&6 4560 2484 CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" 4561 2485 ac_configure_args="$ac_configure_args --enable-factory" 4562 2486 else 4563 2487 enable_factory=no 4564 echo "$as_me:$LINENO: result: no" >&5 4565 echo "${ECHO_T}no" >&6 2488 echo "$ac_t""no" 1>&6 4566 2489 fi 4567 2490 elif test "$enable_factory" = yes; then 4568 2491 if test -d factory; then 4569 echo "$as_me:$LINENO: result: yes" >&5 4570 echo "${ECHO_T}yes" >&6 2492 echo "$ac_t""yes" 1>&6 4571 2493 CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" 4572 2494 else 4573 echo "$as_me:$LINENO: result: no" >&5 4574 echo "${ECHO_T}no" >&6 4575 { { echo "$as_me:$LINENO: error: can not build factory without factory directory" >&5 4576 echo "$as_me: error: can not build factory without factory directory" >&2;} 4577 { (exit 1); exit 1; }; } 4578 fi 4579 else 4580 echo "$as_me:$LINENO: result: no" >&5 4581 echo "${ECHO_T}no" >&6 4582 fi 4583 4584 echo "$as_me:$LINENO: checking whether to configure and build libfac lib" >&5 4585 echo $ECHO_N "checking whether to configure and build libfac lib... $ECHO_C" >&6 2495 echo "$ac_t""no" 1>&6 2496 { echo "configure: error: can not build factory without factory directory" 1>&2; exit 1; } 2497 fi 2498 else 2499 echo "$ac_t""no" 1>&6 2500 fi 2501 2502 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 2503 echo "configure:2504: checking whether to configure and build libfac lib" >&5 4586 2504 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 4587 2505 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ … … 4589 2507 (test "$ac_factory_ok" = yes || test "$enable_factory" = yes); then 4590 2508 enable_libfac=yes 4591 echo "$as_me:$LINENO: result: yes" >&5 4592 echo "${ECHO_T}yes" >&6 2509 echo "$ac_t""yes" 1>&6 4593 2510 CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" 4594 2511 ac_configure_args="$ac_configure_args --enable-libfac" 4595 2512 else 4596 2513 enable_libfac=no 4597 echo "$as_me:$LINENO: result: no" >&5 4598 echo "${ECHO_T}no" >&6 2514 echo "$ac_t""no" 1>&6 4599 2515 fi 4600 2516 elif test "$enable_libfac" = yes; then 4601 2517 if test ! -d libfac; then 4602 echo "$as_me:$LINENO: result: no" >&5 4603 echo "${ECHO_T}no" >&6 4604 { { echo "$as_me:$LINENO: error: can not build libfac without libfac directory" >&5 4605 echo "$as_me: error: can not build libfac without libfac directory" >&2;} 4606 { (exit 1); exit 1; }; } 2518 echo "$ac_t""no" 1>&6 2519 { echo "configure: error: can not build libfac without libfac directory" 1>&2; exit 1; } 4607 2520 fi 4608 2521 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then 4609 echo "$as_me:$LINENO: result: yes" >&5 4610 echo "${ECHO_T}yes" >&6 2522 echo "$ac_t""yes" 1>&6 4611 2523 CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" 4612 2524 else 4613 echo "$as_me:$LINENO: result: no" >&5 4614 echo "${ECHO_T}no" >&6 4615 { { echo "$as_me:$LINENO: error: Can not build libfac without factory" >&5 4616 echo "$as_me: error: Can not build libfac without factory" >&2;} 4617 { (exit 1); exit 1; }; } 4618 fi 4619 else 4620 echo "$as_me:$LINENO: result: no" >&5 4621 echo "${ECHO_T}no" >&6 4622 fi 4623 4624 echo "$as_me:$LINENO: checking whether to configure and build sgroup lib" >&5 4625 echo $ECHO_N "checking whether to configure and build sgroup lib... $ECHO_C" >&6 2525 echo "$ac_t""no" 1>&6 2526 { echo "configure: error: Can not build libfac without factory" 1>&2; exit 1; } 2527 fi 2528 else 2529 echo "$ac_t""no" 1>&6 2530 fi 2531 2532 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 2533 echo "configure:2534: checking whether to configure and build sgroup lib" >&5 4626 2534 if test "$enable_sgroup" = yes; then 4627 2535 if test ! -d sgroup; then 4628 echo "$as_me:$LINENO: result: no" >&5 4629 echo "${ECHO_T}no" >&6 4630 { { echo "$as_me:$LINENO: error: can not build sgroup without sgroup directory" >&5 4631 echo "$as_me: error: can not build sgroup without sgroup directory" >&2;} 4632 { (exit 1); exit 1; }; } 2536 echo "$ac_t""no" 1>&6 2537 { echo "configure: error: can not build sgroup without sgroup directory" 1>&2; exit 1; } 4633 2538 fi 4634 2539 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then 4635 echo "$as_me:$LINENO: result: yes" >&5 4636 echo "${ECHO_T}yes" >&6 2540 echo "$ac_t""yes" 1>&6 4637 2541 CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup" 4638 2542 else 4639 echo "$as_me:$LINENO: result: no" >&5 4640 echo "${ECHO_T}no" >&6 4641 { { echo "$as_me:$LINENO: error: Can not build sgroup without MP" >&5 4642 echo "$as_me: error: Can not build sgroup without MP" >&2;} 4643 { (exit 1); exit 1; }; } 4644 fi 4645 else 4646 echo "$as_me:$LINENO: result: no" >&5 4647 echo "${ECHO_T}no" >&6 2543 echo "$ac_t""no" 1>&6 2544 { echo "configure: error: Can not build sgroup without MP" 1>&2; exit 1; } 2545 fi 2546 else 2547 echo "$ac_t""no" 1>&6 4648 2548 fi 4649 2549 4650 2550 BUILD_SUBDIRS="$CONFIG_SUBDIRS" 4651 2551 4652 echo "$as_me:$LINENO: checking whether to configure and build Singular" >&54653 echo $ECHO_N "checking whether to configure and build Singular... $ECHO_C" >&62552 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 2553 echo "configure:2554: checking whether to configure and build Singular" >&5 4654 2554 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 4655 2555 if test "$with_Singular" != no && test -d Singular; then 4656 2556 enable_Singular=yes 4657 echo "$as_me:$LINENO: result: yes" >&5 4658 echo "${ECHO_T}yes" >&6 2557 echo "$ac_t""yes" 1>&6 4659 2558 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" 4660 BUILD_SUBDIRS="$BUILD_SUBDIRS Singular" 2559 BUILD_SUBDIRS="$BUILD_SUBDIRS Singular" 4661 2560 ac_configure_args="$ac_configure_args --enable-Singular" 4662 2561 else 4663 2562 enable_Singular=no 4664 echo "$as_me:$LINENO: result: no" >&5 4665 echo "${ECHO_T}no" >&6 2563 echo "$ac_t""no" 1>&6 4666 2564 fi 4667 2565 elif test "$enable_Singular" = yes; then 4668 2566 if test -d Singular; then 4669 echo "$as_me:$LINENO: result: yes" >&5 4670 echo "${ECHO_T}yes" >&6 2567 echo "$ac_t""yes" 1>&6 4671 2568 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" 4672 BUILD_SUBDIRS="$BUILD_SUBDIRS Singular" 4673 else 4674 echo "$as_me:$LINENO: result: no" >&5 4675 echo "${ECHO_T}no" >&6 4676 { { echo "$as_me:$LINENO: error: can not build Singular without Singular directory" >&5 4677 echo "$as_me: error: can not build Singular without Singular directory" >&2;} 4678 { (exit 1); exit 1; }; } 4679 fi 4680 else 4681 echo "$as_me:$LINENO: result: no" >&5 4682 echo "${ECHO_T}no" >&6 2569 BUILD_SUBDIRS="$BUILD_SUBDIRS Singular" 2570 else 2571 echo "$ac_t""no" 1>&6 2572 { echo "configure: error: can not build Singular without Singular directory" 1>&2; exit 1; } 2573 fi 2574 else 2575 echo "$ac_t""no" 1>&6 4683 2576 fi 4684 2577 … … 4686 2579 # test if IntegerProgramming should be built: 4687 2580 4688 echo "$as_me:$LINENO: checking whether to build IntegerProgramming" >&54689 echo $ECHO_N "checking whether to build IntegerProgramming... $ECHO_C" >&62581 echo $ac_n "checking whether to build IntegerProgramming""... $ac_c" 1>&6 2582 echo "configure:2583: checking whether to build IntegerProgramming" >&5 4690 2583 if test "$enable_IntegerProgramming" != no && test -d "IntegerProgramming"; then 4691 2584 BUILD_SUBDIRS="$BUILD_SUBDIRS IntegerProgramming" 4692 echo "$as_me:$LINENO: result: yes" >&5 4693 echo "${ECHO_T}yes" >&6 2585 echo "$ac_t""yes" 1>&6 4694 2586 if test "$enable_IntegerProgramming" != yes; then 4695 2587 ac_configure_args="$ac_configure_args --enable-IntegerProgramming" 4696 2588 fi 4697 2589 else 4698 echo "$as_me:$LINENO: result: no" >&5 4699 echo "${ECHO_T}no" >&6 4700 fi 4701 4702 echo "$as_me:$LINENO: checking whether to build Plural" >&5 4703 echo $ECHO_N "checking whether to build Plural... $ECHO_C" >&6 2590 echo "$ac_t""no" 1>&6 2591 fi 2592 2593 echo $ac_n "checking whether to build Plural""... $ac_c" 1>&6 2594 echo "configure:2595: checking whether to build Plural" >&5 4704 2595 if test "$enable_Plural" != no || test "$with_Plural" != no; then 4705 echo "$as_me:$LINENO: result: yes" >&5 4706 echo "${ECHO_T}yes" >&6 2596 echo "$ac_t""yes" 1>&6 4707 2597 if test "$enable_Plural" != yes; then 4708 2598 ac_configure_args="$ac_configure_args --enable-Plural" 4709 2599 fi 4710 2600 else 4711 echo "$as_me:$LINENO: result: no" >&5 4712 echo "${ECHO_T}no" >&6 4713 fi 4714 4715 4716 echo "$as_me:$LINENO: checking whether to configure and build Texinfo" >&5 4717 echo $ECHO_N "checking whether to configure and build Texinfo... $ECHO_C" >&6 2601 echo "$ac_t""no" 1>&6 2602 fi 2603 2604 2605 echo $ac_n "checking whether to configure and build Texinfo""... $ac_c" 1>&6 2606 echo "configure:2607: checking whether to configure and build Texinfo" >&5 4718 2607 if test "$enable_Texinfo" != no && test -d Texinfo; then 4719 echo "$as_me:$LINENO: result: yes" >&5 4720 echo "${ECHO_T}yes" >&6 2608 echo "$ac_t""yes" 1>&6 4721 2609 enable_texinfo=yes 4722 2610 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Texinfo" 4723 BUILD_SUBDIRS="$BUILD_SUBDIRS Texinfo" 2611 BUILD_SUBDIRS="$BUILD_SUBDIRS Texinfo" 4724 2612 TEXI2DVI=${bindir}/texi2dvi 4725 2613 MAKEINFO="${bindir}/makeinfo" 4726 2614 TEXINDEX=${bindir}/texindex 4727 4728 4729 2615 2616 2617 4730 2618 if test "$enable_Texinfo" != yes; then 4731 2619 ac_configure_args="$ac_configure_args --enable-Texinfo" 4732 2620 fi 4733 2621 else 4734 echo "$as_me:$LINENO: result: no" >&5 4735 echo "${ECHO_T}no" >&6 4736 { echo "$as_me:$LINENO: WARNING: Building of doc might fail. Need Texinfo" >&5 4737 echo "$as_me: WARNING: Building of doc might fail. Need Texinfo" >&2;} 2622 echo "$ac_t""no" 1>&6 2623 echo "configure: warning: Building of doc might fail. Need Texinfo" 1>&2 4738 2624 enable_texinfo=no 4739 2625 # Extract the first word of "makeinfo", so it can be a program name with args. 4740 2626 set dummy makeinfo; ac_word=$2 4741 echo "$as_me:$LINENO: checking for $ac_word" >&54742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&64743 if test "${ac_cv_prog_MAKEINFO+set}" = set; then4744 echo $ ECHO_N "(cached) $ECHO_C">&62627 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2628 echo "configure:2629: checking for $ac_word" >&5 2629 if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then 2630 echo $ac_n "(cached) $ac_c" 1>&6 4745 2631 else 4746 2632 if test -n "$MAKEINFO"; then 4747 2633 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test. 4748 2634 else 4749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4750 for as_dir in $PATH 4751 do 4752 IFS=$as_save_IFS 4753 test -z "$as_dir" && as_dir=. 4754 for ac_exec_ext in '' $ac_executable_extensions; do 4755 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4756 ac_cv_prog_MAKEINFO="makeinfo" 4757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4758 break 2 4759 fi 4760 done 4761 done 4762 2635 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2636 ac_dummy="$PATH" 2637 for ac_dir in $ac_dummy; do 2638 test -z "$ac_dir" && ac_dir=. 2639 if test -f $ac_dir/$ac_word; then 2640 ac_cv_prog_MAKEINFO="makeinfo" 2641 break 2642 fi 2643 done 2644 IFS="$ac_save_ifs" 4763 2645 test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="${pwd}/warn_not_found.sh makeinfo" 4764 2646 fi 4765 2647 fi 4766 MAKEINFO= $ac_cv_prog_MAKEINFO2648 MAKEINFO="$ac_cv_prog_MAKEINFO" 4767 2649 if test -n "$MAKEINFO"; then 4768 echo "$as_me:$LINENO: result: $MAKEINFO" >&5 4769 echo "${ECHO_T}$MAKEINFO" >&6 4770 else 4771 echo "$as_me:$LINENO: result: no" >&5 4772 echo "${ECHO_T}no" >&6 2650 echo "$ac_t""$MAKEINFO" 1>&6 2651 else 2652 echo "$ac_t""no" 1>&6 4773 2653 fi 4774 2654 4775 2655 # Extract the first word of "texi2dvi", so it can be a program name with args. 4776 2656 set dummy texi2dvi; ac_word=$2 4777 echo "$as_me:$LINENO: checking for $ac_word" >&54778 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&64779 if test "${ac_cv_prog_TEXI2DVI+set}" = set; then4780 echo $ ECHO_N "(cached) $ECHO_C">&62657 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2658 echo "configure:2659: checking for $ac_word" >&5 2659 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then 2660 echo $ac_n "(cached) $ac_c" 1>&6 4781 2661 else 4782 2662 if test -n "$TEXI2DVI"; then 4783 2663 ac_cv_prog_TEXI2DVI="$TEXI2DVI" # Let the user override the test. 4784 2664 else 4785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4786 for as_dir in $PATH 4787 do 4788 IFS=$as_save_IFS 4789 test -z "$as_dir" && as_dir=. 4790 for ac_exec_ext in '' $ac_executable_extensions; do 4791 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4792 ac_cv_prog_TEXI2DVI="texi2dvi" 4793 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4794 break 2 4795 fi 4796 done 4797 done 4798 2665 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2666 ac_dummy="$PATH" 2667 for ac_dir in $ac_dummy; do 2668 test -z "$ac_dir" && ac_dir=. 2669 if test -f $ac_dir/$ac_word; then 2670 ac_cv_prog_TEXI2DVI="texi2dvi" 2671 break 2672 fi 2673 done 2674 IFS="$ac_save_ifs" 4799 2675 test -z "$ac_cv_prog_TEXI2DVI" && ac_cv_prog_TEXI2DVI="${pwd}/warn_not_found.sh texi2dvi" 4800 2676 fi 4801 2677 fi 4802 TEXI2DVI= $ac_cv_prog_TEXI2DVI2678 TEXI2DVI="$ac_cv_prog_TEXI2DVI" 4803 2679 if test -n "$TEXI2DVI"; then 4804 echo "$as_me:$LINENO: result: $TEXI2DVI" >&5 4805 echo "${ECHO_T}$TEXI2DVI" >&6 4806 else 4807 echo "$as_me:$LINENO: result: no" >&5 4808 echo "${ECHO_T}no" >&6 2680 echo "$ac_t""$TEXI2DVI" 1>&6 2681 else 2682 echo "$ac_t""no" 1>&6 4809 2683 fi 4810 2684 4811 2685 # Extract the first word of "texindex", so it can be a program name with args. 4812 2686 set dummy texindex; ac_word=$2 4813 echo "$as_me:$LINENO: checking for $ac_word" >&54814 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&64815 if test "${ac_cv_prog_TEXINDEX+set}" = set; then4816 echo $ ECHO_N "(cached) $ECHO_C">&62687 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2688 echo "configure:2689: checking for $ac_word" >&5 2689 if eval "test \"`echo '$''{'ac_cv_prog_TEXINDEX'+set}'`\" = set"; then 2690 echo $ac_n "(cached) $ac_c" 1>&6 4817 2691 else 4818 2692 if test -n "$TEXINDEX"; then 4819 2693 ac_cv_prog_TEXINDEX="$TEXINDEX" # Let the user override the test. 4820 2694 else 4821 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4822 for as_dir in $PATH 4823 do 4824 IFS=$as_save_IFS 4825 test -z "$as_dir" && as_dir=. 4826 for ac_exec_ext in '' $ac_executable_extensions; do 4827 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4828 ac_cv_prog_TEXINDEX="texindex" 4829 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4830 break 2 4831 fi 4832 done 4833 done 4834 2695 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2696 ac_dummy="$PATH" 2697 for ac_dir in $ac_dummy; do 2698 test -z "$ac_dir" && ac_dir=. 2699 if test -f $ac_dir/$ac_word; then 2700 ac_cv_prog_TEXINDEX="texindex" 2701 break 2702 fi 2703 done 2704 IFS="$ac_save_ifs" 4835 2705 test -z "$ac_cv_prog_TEXINDEX" && ac_cv_prog_TEXINDEX="${pwd}/warn_not_found.sh texindex" 4836 2706 fi 4837 2707 fi 4838 TEXINDEX= $ac_cv_prog_TEXINDEX2708 TEXINDEX="$ac_cv_prog_TEXINDEX" 4839 2709 if test -n "$TEXINDEX"; then 4840 echo "$as_me:$LINENO: result: $TEXINDEX" >&5 4841 echo "${ECHO_T}$TEXINDEX" >&6 4842 else 4843 echo "$as_me:$LINENO: result: no" >&5 4844 echo "${ECHO_T}no" >&6 4845 fi 4846 4847 fi 4848 4849 echo "$as_me:$LINENO: checking whether to configure and build Texi2html" >&5 4850 echo $ECHO_N "checking whether to configure and build Texi2html... $ECHO_C" >&6 2710 echo "$ac_t""$TEXINDEX" 1>&6 2711 else 2712 echo "$ac_t""no" 1>&6 2713 fi 2714 2715 fi 2716 2717 echo $ac_n "checking whether to configure and build Texi2html""... $ac_c" 1>&6 2718 echo "configure:2719: checking whether to configure and build Texi2html" >&5 4851 2719 if test "$enable_Texi2html" != no && test -d Texi2html; then 4852 echo "$as_me:$LINENO: result: yes" >&5 4853 echo "${ECHO_T}yes" >&6 2720 echo "$ac_t""yes" 1>&6 4854 2721 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Texi2html" 4855 2722 BUILD_SUBDIRS="$BUILD_SUBDIRS Texi2html" … … 4858 2725 fi 4859 2726 TEXI2HTML=${bindir}/texi2html 4860 4861 else 4862 echo "$as_me:$LINENO: result: no" >&5 4863 echo "${ECHO_T}no" >&6 2727 2728 else 2729 echo "$ac_t""no" 1>&6 4864 2730 # Extract the first word of "texi2html", so it can be a program name with args. 4865 2731 set dummy texi2html; ac_word=$2 4866 echo "$as_me:$LINENO: checking for $ac_word" >&54867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&64868 if test "${ac_cv_prog_TEXI2HTML+set}" = set; then4869 echo $ ECHO_N "(cached) $ECHO_C">&62732 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 2733 echo "configure:2734: checking for $ac_word" >&5 2734 if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then 2735 echo $ac_n "(cached) $ac_c" 1>&6 4870 2736 else 4871 2737 if test -n "$TEXI2HTML"; then 4872 2738 ac_cv_prog_TEXI2HTML="$TEXI2HTML" # Let the user override the test. 4873 2739 else 4874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 4875 for as_dir in $PATH 4876 do 4877 IFS=$as_save_IFS 4878 test -z "$as_dir" && as_dir=. 4879 for ac_exec_ext in '' $ac_executable_extensions; do 4880 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 4881 ac_cv_prog_TEXI2HTML="texi2html" 4882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 4883 break 2 4884 fi 4885 done 4886 done 4887 4888 fi 4889 fi 4890 TEXI2HTML=$ac_cv_prog_TEXI2HTML 2740 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 2741 ac_dummy="$PATH" 2742 for ac_dir in $ac_dummy; do 2743 test -z "$ac_dir" && ac_dir=. 2744 if test -f $ac_dir/$ac_word; then 2745 ac_cv_prog_TEXI2HTML="texi2html" 2746 break 2747 fi 2748 done 2749 IFS="$ac_save_ifs" 2750 fi 2751 fi 2752 TEXI2HTML="$ac_cv_prog_TEXI2HTML" 4891 2753 if test -n "$TEXI2HTML"; then 4892 echo "$as_me:$LINENO: result: $TEXI2HTML" >&5 4893 echo "${ECHO_T}$TEXI2HTML" >&6 4894 else 4895 echo "$as_me:$LINENO: result: no" >&5 4896 echo "${ECHO_T}no" >&6 2754 echo "$ac_t""$TEXI2HTML" 1>&6 2755 else 2756 echo "$ac_t""no" 1>&6 4897 2757 fi 4898 2758 … … 4900 2760 4901 2761 if test "${TEXI2HTML+set}" != set; then 4902 { echo "$as_me:$LINENO: WARNING: texi2html not found. HTML doc generation will fail" >&5 4903 echo "$as_me: WARNING: texi2html not found. HTML doc generation will fail" >&2;} 2762 echo "configure: warning: texi2html not found. HTML doc generation will fail" 1>&2 4904 2763 fi 4905 2764 if test "$ac_cv_prog_LATEX2HTML" = latex2html; then … … 4909 2768 4910 2769 4911 echo "$as_me:$LINENO: checking whether to build doc" >&54912 echo $ECHO_N "checking whether to build doc... $ECHO_C" >&62770 echo $ac_n "checking whether to build doc""... $ac_c" 1>&6 2771 echo "configure:2772: checking whether to build doc" >&5 4913 2772 if test "$enable_doc" != no && test -d doc; then 4914 echo "$as_me:$LINENO: result: yes" >&5 4915 echo "${ECHO_T}yes" >&6 2773 echo "$ac_t""yes" 1>&6 4916 2774 BUILD_SUBDIRS="$BUILD_SUBDIRS doc" 4917 2775 if test "$enable_doc" != yes; then … … 4921 2779 else 4922 2780 enable_doc=no 4923 echo "$as_me:$LINENO: result: no" >&5 4924 echo "${ECHO_T}no" >&6 4925 fi 4926 4927 echo "$as_me:$LINENO: checking whether to build emacs" >&5 4928 echo $ECHO_N "checking whether to build emacs... $ECHO_C" >&6 2781 echo "$ac_t""no" 1>&6 2782 fi 2783 2784 echo $ac_n "checking whether to build emacs""... $ac_c" 1>&6 2785 echo "configure:2786: checking whether to build emacs" >&5 4929 2786 if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then 4930 echo "$as_me:$LINENO: result: yes" >&5 4931 echo "${ECHO_T}yes" >&6 2787 echo "$ac_t""yes" 1>&6 4932 2788 BUILD_SUBDIRS="$BUILD_SUBDIRS emacs" 4933 2789 if test "$enable_emacs" != yes; then … … 4935 2791 fi 4936 2792 else 4937 echo "$as_me:$LINENO: result: no" >&5 4938 echo "${ECHO_T}no" >&6 4939 fi 4940 4941 echo "$as_me:$LINENO: checking which apint package to use" >&5 4942 echo $ECHO_N "checking which apint package to use... $ECHO_C" >&6 2793 echo "$ac_t""no" 1>&6 2794 fi 2795 2796 echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 2797 echo "configure:2798: checking which apint package to use" >&5 4943 2798 if test "$with_apint" = gmp; then 4944 2799 if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then 4945 echo "$as_me:$LINENO: result: gmp" >&5 4946 echo "${ECHO_T}gmp" >&6 4947 else 4948 echo "$as_me:$LINENO: result: none" >&5 4949 echo "${ECHO_T}none" >&6 4950 { { echo "$as_me:$LINENO: error: can not use with gmp without finding or building it" >&5 4951 echo "$as_me: error: can not use with gmp without finding or building it" >&2;} 4952 { (exit 1); exit 1; }; } 2800 echo "$ac_t""gmp" 1>&6 2801 else 2802 echo "$ac_t""none" 1>&6 2803 { echo "configure: error: can not use with gmp without finding or building it" 1>&2; exit 1; } 4953 2804 fi 4954 2805 elif test "$with_apint" = smallgmp; then 4955 2806 if test "$ac_smallgmp_ok" = yes || test "$enable_smallgmp" = yes; then 4956 echo "$as_me:$LINENO: result: smallgmp" >&5 4957 echo "${ECHO_T}smallgmp" >&6 4958 else 4959 echo "$as_me:$LINENO: result: none" >&5 4960 echo "${ECHO_T}none" >&6 4961 { { echo "$as_me:$LINENO: error: can not use with smallgmp without finding or building it" >&5 4962 echo "$as_me: error: can not use with smallgmp without finding or building it" >&2;} 4963 { (exit 1); exit 1; }; } 2807 echo "$ac_t""smallgmp" 1>&6 2808 else 2809 echo "$ac_t""none" 1>&6 2810 { echo "configure: error: can not use with smallgmp without finding or building it" 1>&2; exit 1; } 4964 2811 fi 4965 2812 elif test "$ac_gmp_ok" = yes || test "$enable_gmp"; then 4966 echo "$as_me:$LINENO: result: gmp" >&5 4967 echo "${ECHO_T}gmp" >&6 2813 echo "$ac_t""gmp" 1>&6 4968 2814 ac_configure_args="$ac_configure_args --with-apint=gmp" 4969 else 4970 echo "$as_me:$LINENO: result: smallgmp" >&5 4971 echo "${ECHO_T}smallgmp" >&6 2815 else 2816 echo "$ac_t""smallgmp" 1>&6 4972 2817 ac_configure_args="$ac_configure_args --with-apint=smallgmp" 4973 2818 fi 4974 2819 4975 echo "$as_me:$LINENO: checking whether to use with MP" >&54976 echo $ECHO_N "checking whether to use with MP... $ECHO_C" >&62820 echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6 2821 echo "configure:2822: checking whether to use with MP" >&5 4977 2822 if test "$with_MP" = yes; then 4978 2823 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then 4979 echo "$as_me:$LINENO: result: yes" >&5 4980 echo "${ECHO_T}yes" >&6 4981 else 4982 echo "$as_me:$LINENO: result: none" >&5 4983 echo "${ECHO_T}none" >&6 4984 { { echo "$as_me:$LINENO: error: can not use with MP without finding or building it" >&5 4985 echo "$as_me: error: can not use with MP without finding or building it" >&2;} 4986 { (exit 1); exit 1; }; } 2824 echo "$ac_t""yes" 1>&6 2825 else 2826 echo "$ac_t""none" 1>&6 2827 { echo "configure: error: can not use with MP without finding or building it" 1>&2; exit 1; } 4987 2828 fi 4988 2829 elif test "$with_MP" = no; then 4989 echo "$as_me:$LINENO: result: no" >&5 4990 echo "${ECHO_T}no" >&6 2830 echo "$ac_t""no" 1>&6 4991 2831 elif test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then 4992 echo "$as_me:$LINENO: result: yes" >&5 4993 echo "${ECHO_T}yes" >&6 2832 echo "$ac_t""yes" 1>&6 4994 2833 ac_configure_args="$ac_configure_args --with-MP" 4995 2834 else 4996 echo "$as_me:$LINENO: result: no" >&5 4997 echo "${ECHO_T}no" >&6 2835 echo "$ac_t""no" 1>&6 4998 2836 ac_configure_args="$ac_configure_args --without-MP" 4999 2837 fi 5000 2838 5001 echo "$as_me:$LINENO: checking whether to use with factory" >&55002 echo $ECHO_N "checking whether to use with factory... $ECHO_C" >&62839 echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6 2840 echo "configure:2841: checking whether to use with factory" >&5 5003 2841 if test "$with_factory" = yes; then 5004 2842 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then 5005 echo "$as_me:$LINENO: result: yes" >&5 5006 echo "${ECHO_T}yes" >&6 5007 else 5008 echo "$as_me:$LINENO: result: none" >&5 5009 echo "${ECHO_T}none" >&6 5010 { { echo "$as_me:$LINENO: error: can not use with factory without finding or building it" >&5 5011 echo "$as_me: error: can not use with factory without finding or building it" >&2;} 5012 { (exit 1); exit 1; }; } 2843 echo "$ac_t""yes" 1>&6 2844 else 2845 echo "$ac_t""none" 1>&6 2846 { echo "configure: error: can not use with factory without finding or building it" 1>&2; exit 1; } 5013 2847 fi 5014 2848 elif test "$with_factory" = no; then 5015 echo "$as_me:$LINENO: result: no" >&5 5016 echo "${ECHO_T}no" >&6 2849 echo "$ac_t""no" 1>&6 5017 2850 elif test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then 5018 echo "$as_me:$LINENO: result: yes" >&5 5019 echo "${ECHO_T}yes" >&6 2851 echo "$ac_t""yes" 1>&6 5020 2852 ac_configure_args="$ac_configure_args --with-factory" 5021 2853 else 5022 echo "$as_me:$LINENO: result: no" >&5 5023 echo "${ECHO_T}no" >&6 2854 echo "$ac_t""no" 1>&6 5024 2855 ac_configure_args="$ac_configure_args --without-factory" 5025 2856 fi 5026 5027 echo "$as_me:$LINENO: checking whether to use with libfac" >&55028 echo $ECHO_N "checking whether to use with libfac... $ECHO_C" >&62857 2858 echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6 2859 echo "configure:2860: checking whether to use with libfac" >&5 5029 2860 if test "$with_libfac" = yes; then 5030 2861 if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then 5031 echo "$as_me:$LINENO: result: yes" >&5 5032 echo "${ECHO_T}yes" >&6 5033 else 5034 echo "$as_me:$LINENO: result: none" >&5 5035 echo "${ECHO_T}none" >&6 5036 { { echo "$as_me:$LINENO: error: can not use with libfac without finding or building it" >&5 5037 echo "$as_me: error: can not use with libfac without finding or building it" >&2;} 5038 { (exit 1); exit 1; }; } 2862 echo "$ac_t""yes" 1>&6 2863 else 2864 echo "$ac_t""none" 1>&6 2865 { echo "configure: error: can not use with libfac without finding or building it" 1>&2; exit 1; } 5039 2866 fi 5040 2867 elif test "$with_libfac" = no; then 5041 echo "$as_me:$LINENO: result: no" >&5 5042 echo "${ECHO_T}no" >&6 2868 echo "$ac_t""no" 1>&6 5043 2869 elif test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then 5044 echo "$as_me:$LINENO: result: yes" >&5 5045 echo "${ECHO_T}yes" >&6 2870 echo "$ac_t""yes" 1>&6 5046 2871 ac_configure_args="$ac_configure_args --with-libfac" 5047 2872 else 5048 echo "$as_me:$LINENO: result: no" >&5 5049 echo "${ECHO_T}no" >&6 2873 echo "$ac_t""no" 1>&6 5050 2874 ac_configure_args="$ac_configure_args --without-libfac" 5051 2875 fi … … 5053 2877 5054 2878 5055 echo "$as_me:$LINENO: checking whether to use with Singular" >&55056 echo $ECHO_N "checking whether to use with Singular... $ECHO_C" >&62879 echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6 2880 echo "configure:2881: checking whether to use with Singular" >&5 5057 2881 if test "$with_Singular" != no && test "$with_Singular" != yes; then 5058 2882 if test "$enable_Singular" = yes; then … … 5065 2889 5066 2890 if test "$with_Singular" != no; then 5067 echo "$as_me:$LINENO: result: yes" >&5 5068 echo "${ECHO_T}yes" >&6 5069 else 5070 echo "$as_me:$LINENO: result: no" >&5 5071 echo "${ECHO_T}no" >&6 2891 echo "$ac_t""yes" 1>&6 2892 else 2893 echo "$ac_t""no" 1>&6 5072 2894 fi 5073 2895 … … 5116 2938 SUBDIRS="$SUBDIRS modules" 5117 2939 fi 5118 5119 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \${MAKE}" >&55120 echo $ECHO_N "checking whether ${MAKE-make} sets \${MAKE}... $ECHO_C" >&65121 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y ,./+-,__p_,'`5122 if eval "test \" \${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then5123 echo $ ECHO_N "(cached) $ECHO_C">&65124 else 5125 cat > conftest.make <<\_ACEOF2940 2941 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 2942 echo "configure:2943: checking whether ${MAKE-make} sets \${MAKE}" >&5 2943 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` 2944 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then 2945 echo $ac_n "(cached) $ac_c" 1>&6 2946 else 2947 cat > conftestmake <<\EOF 5126 2948 all: 5127 2949 @echo 'ac_maketemp="${MAKE}"' 5128 _ACEOF2950 EOF 5129 2951 # GNU make sometimes prints "make[1]: Entering...", which would confuse us. 5130 eval `${MAKE-make} -f conftest .make 2>/dev/null | grep temp=`2952 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` 5131 2953 if test -n "$ac_maketemp"; then 5132 2954 eval ac_cv_prog_make_${ac_make}_set=yes … … 5134 2956 eval ac_cv_prog_make_${ac_make}_set=no 5135 2957 fi 5136 rm -f conftest .make2958 rm -f conftestmake 5137 2959 fi 5138 2960 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then 5139 echo "$as_me:$LINENO: result: yes" >&5 5140 echo "${ECHO_T}yes" >&6 2961 echo "$ac_t""yes" 1>&6 5141 2962 SET_MAKE= 5142 2963 else 5143 echo "$as_me:$LINENO: result: no" >&5 5144 echo "${ECHO_T}no" >&6 2964 echo "$ac_t""no" 1>&6 5145 2965 SET_MAKE="MAKE=${MAKE-make}" 5146 2966 fi … … 5149 2969 5150 2970 5151 5152 5153 subdirs="$subdirs $CONFIG_SUBDIRS" 5154 5155 5156 ac_config_files="$ac_config_files ${OUTPUT_MAKEFILES}" 5157 cat >confcache <<\_ACEOF 2971 subdirs="$CONFIG_SUBDIRS" 2972 2973 2974 trap '' 1 2 15 2975 cat > confcache <<\EOF 5158 2976 # This file is a shell script that caches the results of configure 5159 2977 # tests run on this system so they can be shared between configure 5160 # scripts and configure runs, see configure's option --config-cache. 5161 # It is not useful on other systems. If it contains results you don't 5162 # want to keep, you may remove or edit it. 2978 # scripts and configure runs. It is not useful on other systems. 2979 # If it contains results you don't want to keep, you may remove or edit it. 5163 2980 # 5164 # config.status only pays attention to the cache file if you give it 5165 # the --recheck option to rerun configure. 2981 # By default, configure uses ./config.cache as the cache file, 2982 # creating it if it does not exist already. You can give configure 2983 # the --cache-file=FILE option to use a different cache file; that is 2984 # what configure does when it calls configure scripts in 2985 # subdirectories, so they share the cache. 2986 # Giving --cache-file=/dev/null disables caching, for debugging configure. 2987 # config.status only pays attention to the cache file if you give it the 2988 # --recheck option to rerun configure. 5166 2989 # 5167 # `ac_cv_env_foo' variables (set or unset) will be overriden when 5168 # loading this file, other *unset* `ac_cv_foo' will be assigned the 5169 # following values. 5170 5171 _ACEOF 5172 2990 EOF 5173 2991 # The following way of writing the cache mishandles newlines in values, 5174 2992 # but we know of no workaround that is simple, portable, and efficient. … … 5176 2994 # Ultrix sh set writes to stderr and can't be redirected directly, 5177 2995 # and sets the high bit in the cache file unless we assign to the vars. 5178 { 5179 (set) 2>&1 | 5180 case `(ac_space=' '; set | grep ac_space) 2>&1` in 5181 *ac_space=\ *) 5182 # `set' does not quote correctly, so add quotes (double-quote 5183 # substitution turns \\\\ into \\, and sed turns \\ into \). 5184 sed -n \ 5185 "s/'/'\\\\''/g; 5186 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 5187 ;; 5188 *) 5189 # `set' quotes correctly as required by POSIX, so do not add quotes. 5190 sed -n \ 5191 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 5192 ;; 5193 esac; 5194 } | 5195 sed ' 5196 t clear 5197 : clear 5198 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/ 5199 t end 5200 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 5201 : end' >>confcache 5202 if cmp -s $cache_file confcache; then :; else 2996 (set) 2>&1 | 2997 case `(ac_space=' '; set | grep ac_space) 2>&1` in 2998 *ac_space=\ *) 2999 # `set' does not quote correctly, so add quotes (double-quote substitution 3000 # turns \\\\ into \\, and sed turns \\ into \). 3001 sed -n \ 3002 -e "s/'/'\\\\''/g" \ 3003 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" 3004 ;; 3005 *) 3006 # `set' quotes correctly as required by POSIX, so do not add quotes. 3007 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' 3008 ;; 3009 esac >> confcache 3010 if cmp -s $cache_file confcache; then 3011 : 3012 else 5203 3013 if test -w $cache_file; then 5204 test "x$cache_file" != "x/dev/null" &&echo "updating cache $cache_file"5205 cat confcache > $cache_file3014 echo "updating cache $cache_file" 3015 cat confcache > $cache_file 5206 3016 else 5207 3017 echo "not updating unwritable cache $cache_file" … … 5209 3019 fi 5210 3020 rm -f confcache 3021 3022 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 5211 3023 5212 3024 test "x$prefix" = xNONE && prefix=$ac_default_prefix … … 5214 3026 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' 5215 3027 5216 # VPATH may cause trouble with some makes, so we remove $(srcdir), 5217 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and 5218 # trailing colons and then remove the whole line if VPATH becomes empty 5219 # (actually we leave an empty line to preserve line numbers). 3028 # Any assignment to VPATH causes Sun make to only execute 3029 # the first set of double-colon rules, so remove it if not needed. 3030 # If there is a colon in the path, we need to keep it. 5220 3031 if test "x$srcdir" = x.; then 5221 ac_vpsub='/^[ ]*VPATH[ ]*=/{ 5222 s/:*\$(srcdir):*/:/; 5223 s/:*\${srcdir}:*/:/; 5224 s/:*@srcdir@:*/:/; 5225 s/^\([^=]*=[ ]*\):*/\1/; 5226 s/:*$//; 5227 s/^[^=]*=[ ]*$//; 5228 }' 5229 fi 3032 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' 3033 fi 3034 3035 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 5230 3036 5231 3037 # Transform confdefs.h into DEFS. 5232 3038 # Protect against shell expansion while executing Makefile rules. 5233 3039 # Protect against Makefile macro expansion. 3040 cat > conftest.defs <<\EOF 3041 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g 3042 s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g 3043 s%\[%\\&%g 3044 s%\]%\\&%g 3045 s%\$%$$%g 3046 EOF 3047 DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` 3048 rm -f conftest.defs 3049 3050 3051 # Without the "./", some shells look in PATH for config.status. 3052 : ${CONFIG_STATUS=./config.status} 3053 3054 echo creating $CONFIG_STATUS 3055 rm -f $CONFIG_STATUS 3056 cat > $CONFIG_STATUS <<EOF 3057 #! /bin/sh 3058 # Generated automatically by configure. 3059 # Run this file to recreate the current configuration. 3060 # This directory was configured as follows, 3061 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: 5234 3062 # 5235 # If the first sed substitution is executed (which looks for macros that 5236 # take arguments), then we branch to the quote section. Otherwise, 5237 # look for a macro that doesn't take arguments. 5238 cat >confdef2opt.sed <<\_ACEOF 5239 t clear 5240 : clear 5241 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\),-D\1=\2,g 5242 t quote 5243 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\),-D\1=\2,g 5244 t quote 5245 d 5246 : quote 5247 s,[ `~#$^&*(){}\\|;'"<>?],\\&,g 5248 s,\[,\\&,g 5249 s,\],\\&,g 5250 s,\$,$$,g 5251 p 5252 _ACEOF 5253 # We use echo to avoid assuming a particular line-breaking character. 5254 # The extra dot is to prevent the shell from consuming trailing 5255 # line-breaks from the sub-command output. A line-break within 5256 # single-quotes doesn't work because, if this script is created in a 5257 # platform that uses two characters for line-breaks (e.g., DOS), tr 5258 # would break. 5259 ac_LF_and_DOT=`echo; echo .` 5260 DEFS=`sed -n -f confdef2opt.sed confdefs.h | tr "$ac_LF_and_DOT" ' .'` 5261 rm -f confdef2opt.sed 5262 5263 5264 5265 : ${CONFIG_STATUS=./config.status} 5266 ac_clean_files_save=$ac_clean_files 5267 ac_clean_files="$ac_clean_files $CONFIG_STATUS" 5268 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 5269 echo "$as_me: creating $CONFIG_STATUS" >&6;} 5270 cat >$CONFIG_STATUS <<_ACEOF 5271 #! $SHELL 5272 # Generated by $as_me. 5273 # Run this file to recreate the current configuration. 3063 # $0 $ac_configure_args 3064 # 5274 3065 # Compiler output produced by configure, useful for debugging 5275 # configure, is in config.log if it exists. 5276 5277 debug=false 5278 SHELL=\${CONFIG_SHELL-$SHELL} 5279 _ACEOF 5280 5281 cat >>$CONFIG_STATUS <<\_ACEOF 5282 5283 ## --------------------- ## 5284 ## M4sh Initialization. ## 5285 ## --------------------- ## 5286 5287 # Be Bourne compatible 5288 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 5289 emulate sh 5290 NULLCMD=: 5291 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 5292 set -o posix 5293 fi 5294 5295 # NLS nuisances. 5296 # Support unset when possible. 5297 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then 5298 as_unset=unset 5299 else 5300 as_unset=false 5301 fi 5302 5303 (set +x; test -n "`(LANG=C; export LANG) 2>&1`") && 5304 { $as_unset LANG || test "${LANG+set}" != set; } || 5305 { LANG=C; export LANG; } 5306 (set +x; test -n "`(LC_ALL=C; export LC_ALL) 2>&1`") && 5307 { $as_unset LC_ALL || test "${LC_ALL+set}" != set; } || 5308 { LC_ALL=C; export LC_ALL; } 5309 (set +x; test -n "`(LC_TIME=C; export LC_TIME) 2>&1`") && 5310 { $as_unset LC_TIME || test "${LC_TIME+set}" != set; } || 5311 { LC_TIME=C; export LC_TIME; } 5312 (set +x; test -n "`(LC_CTYPE=C; export LC_CTYPE) 2>&1`") && 5313 { $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set; } || 5314 { LC_CTYPE=C; export LC_CTYPE; } 5315 (set +x; test -n "`(LANGUAGE=C; export LANGUAGE) 2>&1`") && 5316 { $as_unset LANGUAGE || test "${LANGUAGE+set}" != set; } || 5317 { LANGUAGE=C; export LANGUAGE; } 5318 (set +x; test -n "`(LC_COLLATE=C; export LC_COLLATE) 2>&1`") && 5319 { $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set; } || 5320 { LC_COLLATE=C; export LC_COLLATE; } 5321 (set +x; test -n "`(LC_NUMERIC=C; export LC_NUMERIC) 2>&1`") && 5322 { $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set; } || 5323 { LC_NUMERIC=C; export LC_NUMERIC; } 5324 (set +x; test -n "`(LC_MESSAGES=C; export LC_MESSAGES) 2>&1`") && 5325 { $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set; } || 5326 { LC_MESSAGES=C; export LC_MESSAGES; } 5327 5328 5329 # Name of the executable. 5330 as_me=`(basename "$0") 2>/dev/null || 5331 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 5332 X"$0" : 'X\(//\)$' \| \ 5333 X"$0" : 'X\(/\)$' \| \ 5334 . : '\(.\)' 2>/dev/null || 5335 echo X/"$0" | 5336 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 5337 /^X\/\(\/\/\)$/{ s//\1/; q; } 5338 /^X\/\(\/\).*/{ s//\1/; q; } 5339 s/.*/./; q'` 5340 5341 # PATH needs CR, and LINENO needs CR and PATH. 5342 # Avoid depending upon Character Ranges. 5343 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 5344 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 5345 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 5346 as_cr_digits='0123456789' 5347 as_cr_alnum=$as_cr_Letters$as_cr_digits 5348 5349 # The user is always right. 5350 if test "${PATH_SEPARATOR+set}" != set; then 5351 echo "#! /bin/sh" >conftest.sh 5352 echo "exit 0" >>conftest.sh 5353 chmod +x conftest.sh 5354 if (PATH=".;."; conftest.sh) >/dev/null 2>&1; then 5355 PATH_SEPARATOR=';' 5356 else 5357 PATH_SEPARATOR=: 5358 fi 5359 rm -f conftest.sh 5360 fi 5361 5362 5363 as_lineno_1=$LINENO 5364 as_lineno_2=$LINENO 5365 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5366 test "x$as_lineno_1" != "x$as_lineno_2" && 5367 test "x$as_lineno_3" = "x$as_lineno_2" || { 5368 # Find who we are. Look in the path if we contain no path at all 5369 # relative or not. 5370 case $0 in 5371 *[\\/]* ) as_myself=$0 ;; 5372 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5373 for as_dir in $PATH 3066 # configure, is in ./config.log if it exists. 3067 3068 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" 3069 for ac_option 5374 3070 do 5375 IFS=$as_save_IFS 5376 test -z "$as_dir" && as_dir=. 5377 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 5378 done 5379 5380 ;; 5381 esac 5382 # We did not find ourselves, most probably we were run as `sh COMMAND' 5383 # in which case we are not to be found in the path. 5384 if test "x$as_myself" = x; then 5385 as_myself=$0 5386 fi 5387 if test ! -f "$as_myself"; then 5388 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5 5389 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;} 5390 { (exit 1); exit 1; }; } 5391 fi 5392 case $CONFIG_SHELL in 5393 '') 5394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 5395 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 5396 do 5397 IFS=$as_save_IFS 5398 test -z "$as_dir" && as_dir=. 5399 for as_base in sh bash ksh sh5; do 5400 case $as_dir in 5401 /*) 5402 if ("$as_dir/$as_base" -c ' 5403 as_lineno_1=$LINENO 5404 as_lineno_2=$LINENO 5405 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 5406 test "x$as_lineno_1" != "x$as_lineno_2" && 5407 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 5408 CONFIG_SHELL=$as_dir/$as_base 5409 export CONFIG_SHELL 5410 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 5411 fi;; 5412 esac 5413 done 5414 done 5415 ;; 5416 esac 5417 5418 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 5419 # uniformly replaced by the line number. The first 'sed' inserts a 5420 # line-number line before each line; the second 'sed' does the real 5421 # work. The second script uses 'N' to pair each line-number line 5422 # with the numbered line, and appends trailing '-' during 5423 # substitution so that $LINENO is not a special case at line end. 5424 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 5425 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 5426 sed '=' <$as_myself | 5427 sed ' 5428 N 5429 s,$,-, 5430 : loop 5431 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 5432 t loop 5433 s,-$,, 5434 s,^['$as_cr_digits']*\n,, 5435 ' >$as_me.lineno && 5436 chmod +x $as_me.lineno || 5437 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5 5438 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;} 5439 { (exit 1); exit 1; }; } 5440 5441 # Don't try to exec as it changes $[0], causing all sort of problems 5442 # (the dirname of $[0] is not the place where we might find the 5443 # original and so on. Autoconf is especially sensible to this). 5444 . ./$as_me.lineno 5445 # Exit status is that of the last command. 5446 exit 5447 } 5448 5449 5450 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 5451 *c*,-n*) ECHO_N= ECHO_C=' 5452 ' ECHO_T=' ' ;; 5453 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 5454 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 5455 esac 5456 5457 if expr a : '\(a\)' >/dev/null 2>&1; then 5458 as_expr=expr 5459 else 5460 as_expr=false 5461 fi 5462 5463 rm -f conf$$ conf$$.exe conf$$.file 5464 echo >conf$$.file 5465 if ln -s conf$$.file conf$$ 2>/dev/null; then 5466 # We could just check for DJGPP; but this test a) works b) is more generic 5467 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 5468 if test -f conf$$.exe; then 5469 # Don't use ln at all; we don't have any links 5470 as_ln_s='cp -p' 5471 else 5472 as_ln_s='ln -s' 5473 fi 5474 elif ln conf$$.file conf$$ 2>/dev/null; then 5475 as_ln_s=ln 5476 else 5477 as_ln_s='cp -p' 5478 fi 5479 rm -f conf$$ conf$$.exe conf$$.file 5480 5481 as_executable_p="test -f" 5482 5483 # Sed expression to map a string onto a valid CPP name. 5484 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g" 5485 5486 # Sed expression to map a string onto a valid variable name. 5487 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g" 5488 5489 5490 # IFS 5491 # We need space, tab and new line, in precisely that order. 5492 as_nl=' 5493 ' 5494 IFS=" $as_nl" 5495 5496 # CDPATH. 5497 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=$PATH_SEPARATOR; export CDPATH; } 5498 5499 exec 6>&1 5500 5501 # Open the log real soon, to keep \$[0] and so on meaningful, and to 5502 # report actual input values of CONFIG_FILES etc. instead of their 5503 # values after options handling. Logging --version etc. is OK. 5504 exec 5>>config.log 5505 { 5506 echo 5507 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX 5508 ## Running $as_me. ## 5509 _ASBOX 5510 } >&5 5511 cat >&5 <<_CSEOF 5512 5513 This file was extended by $as_me, which was 5514 generated by GNU Autoconf 2.53. Invocation command line was 5515 5516 CONFIG_FILES = $CONFIG_FILES 5517 CONFIG_HEADERS = $CONFIG_HEADERS 5518 CONFIG_LINKS = $CONFIG_LINKS 5519 CONFIG_COMMANDS = $CONFIG_COMMANDS 5520 $ $0 $@ 5521 5522 _CSEOF 5523 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5 5524 echo >&5 5525 _ACEOF 5526 5527 # Files that config.status was made for. 5528 if test -n "$ac_config_files"; then 5529 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS 5530 fi 5531 5532 if test -n "$ac_config_headers"; then 5533 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS 5534 fi 5535 5536 if test -n "$ac_config_links"; then 5537 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS 5538 fi 5539 5540 if test -n "$ac_config_commands"; then 5541 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS 5542 fi 5543 5544 cat >>$CONFIG_STATUS <<\_ACEOF 5545 5546 ac_cs_usage="\ 5547 \`$as_me' instantiates files from templates according to the 5548 current configuration. 5549 5550 Usage: $0 [OPTIONS] [FILE]... 5551 5552 -h, --help print this help, then exit 5553 -V, --version print version number, then exit 5554 -d, --debug don't remove temporary files 5555 --recheck update $as_me by reconfiguring in the same conditions 5556 --file=FILE[:TEMPLATE] 5557 instantiate the configuration file FILE 5558 5559 Configuration files: 5560 $config_files 5561 5562 Report bugs to <bug-autoconf@gnu.org>." 5563 _ACEOF 5564 5565 cat >>$CONFIG_STATUS <<_ACEOF 5566 ac_cs_version="\\ 5567 config.status 5568 configured by $0, generated by GNU Autoconf 2.53, 5569 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" 5570 5571 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001 5572 Free Software Foundation, Inc. 5573 This config.status script is free software; the Free Software Foundation 5574 gives unlimited permission to copy, distribute and modify it." 5575 srcdir=$srcdir 5576 INSTALL="$INSTALL" 5577 _ACEOF 5578 5579 cat >>$CONFIG_STATUS <<\_ACEOF 5580 # If no file are specified by the user, then we need to provide default 5581 # value. By we need to know if files were specified by the user. 5582 ac_need_defaults=: 5583 while test $# != 0 5584 do 5585 case $1 in 5586 --*=*) 5587 ac_option=`expr "x$1" : 'x\([^=]*\)='` 5588 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'` 5589 shift 5590 set dummy "$ac_option" "$ac_optarg" ${1+"$@"} 5591 shift 5592 ;; 5593 -*);; 5594 *) # This is not an option, so the user has probably given explicit 5595 # arguments. 5596 ac_need_defaults=false;; 5597 esac 5598 5599 case $1 in 5600 # Handling of the options. 5601 _ACEOF 5602 cat >>$CONFIG_STATUS <<_ACEOF 3071 case "\$ac_option" in 5603 3072 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) 5604 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion" 5605 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;; 5606 _ACEOF 5607 cat >>$CONFIG_STATUS <<\_ACEOF 5608 --version | --vers* | -V ) 5609 echo "$ac_cs_version"; exit 0 ;; 5610 --he | --h) 5611 # Conflict between --help and --header 5612 { { echo "$as_me:$LINENO: error: ambiguous option: $1 5613 Try \`$0 --help' for more information." >&5 5614 echo "$as_me: error: ambiguous option: $1 5615 Try \`$0 --help' for more information." >&2;} 5616 { (exit 1); exit 1; }; };; 5617 --help | --hel | -h ) 5618 echo "$ac_cs_usage"; exit 0 ;; 5619 --debug | --d* | -d ) 5620 debug=: ;; 5621 --file | --fil | --fi | --f ) 5622 shift 5623 CONFIG_FILES="$CONFIG_FILES $1" 5624 ac_need_defaults=false;; 5625 --header | --heade | --head | --hea ) 5626 shift 5627 CONFIG_HEADERS="$CONFIG_HEADERS $1" 5628 ac_need_defaults=false;; 5629 5630 # This is an error. 5631 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1 5632 Try \`$0 --help' for more information." >&5 5633 echo "$as_me: error: unrecognized option: $1 5634 Try \`$0 --help' for more information." >&2;} 5635 { (exit 1); exit 1; }; } ;; 5636 5637 *) ac_config_targets="$ac_config_targets $1" ;; 5638 5639 esac 5640 shift 5641 done 5642 5643 _ACEOF 5644 5645 5646 5647 5648 5649 cat >>$CONFIG_STATUS <<\_ACEOF 5650 for ac_config_target in $ac_config_targets 5651 do 5652 case "$ac_config_target" in 5653 # Handling of arguments. 5654 "${OUTPUT_MAKEFILES}" ) CONFIG_FILES="$CONFIG_FILES ${OUTPUT_MAKEFILES}" ;; 5655 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 5656 echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 5657 { (exit 1); exit 1; }; };; 3073 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" 3074 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; 3075 -version | --version | --versio | --versi | --vers | --ver | --ve | --v) 3076 echo "$CONFIG_STATUS generated by autoconf version 2.13" 3077 exit 0 ;; 3078 -help | --help | --hel | --he | --h) 3079 echo "\$ac_cs_usage"; exit 0 ;; 3080 *) echo "\$ac_cs_usage"; exit 1 ;; 5658 3081 esac 5659 3082 done 5660 3083 5661 # If the user did not use the arguments to specify the items to instantiate, 5662 # then the envvar interface is used. Set only those that are not. 5663 # We use the long form for the default assignment because of an extremely 5664 # bizarre bug on SunOS 4.1.3. 5665 if $ac_need_defaults; then 5666 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files 5667 fi 5668 5669 # Create a temporary directory, and hook for its removal unless debugging. 5670 $debug || 5671 { 5672 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0 5673 trap '{ (exit 1); exit 1; }' 1 2 13 15 5674 } 5675 5676 # Create a (secure) tmp directory for tmp files. 5677 : ${TMPDIR=/tmp} 5678 { 5679 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` && 5680 test -n "$tmp" && test -d "$tmp" 5681 } || 5682 { 5683 tmp=$TMPDIR/cs$$-$RANDOM 5684 (umask 077 && mkdir $tmp) 5685 } || 5686 { 5687 echo "$me: cannot create a temporary directory in $TMPDIR" >&2 5688 { (exit 1); exit 1; } 5689 } 5690 5691 _ACEOF 5692 5693 cat >>$CONFIG_STATUS <<_ACEOF 5694 5695 # 5696 # CONFIG_FILES section. 5697 # 5698 5699 # No need to generate the scripts if there are no CONFIG_FILES. 5700 # This happens for instance when ./config.status config.h 5701 if test -n "\$CONFIG_FILES"; then 5702 # Protect against being on the right side of a sed subst in config.status. 5703 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g; 5704 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF 5705 s,@SHELL@,$SHELL,;t t 5706 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t 5707 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t 5708 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t 5709 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t 5710 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t 5711 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t 5712 s,@exec_prefix@,$exec_prefix,;t t 5713 s,@prefix@,$prefix,;t t 5714 s,@program_transform_name@,$program_transform_name,;t t 5715 s,@bindir@,$bindir,;t t 5716 s,@sbindir@,$sbindir,;t t 5717 s,@libexecdir@,$libexecdir,;t t 5718 s,@datadir@,$datadir,;t t 5719 s,@sysconfdir@,$sysconfdir,;t t 5720 s,@sharedstatedir@,$sharedstatedir,;t t 5721 s,@localstatedir@,$localstatedir,;t t 5722 s,@libdir@,$libdir,;t t 5723 s,@includedir@,$includedir,;t t 5724 s,@oldincludedir@,$oldincludedir,;t t 5725 s,@infodir@,$infodir,;t t 5726 s,@mandir@,$mandir,;t t 5727 s,@build_alias@,$build_alias,;t t 5728 s,@host_alias@,$host_alias,;t t 5729 s,@target_alias@,$target_alias,;t t 5730 s,@DEFS@,$DEFS,;t t 5731 s,@ECHO_C@,$ECHO_C,;t t 5732 s,@ECHO_N@,$ECHO_N,;t t 5733 s,@ECHO_T@,$ECHO_T,;t t 5734 s,@LIBS@,$LIBS,;t t 5735 s,@SINGULAR_VERSION@,$SINGULAR_VERSION,;t t 5736 s,@VERSION_DATE@,$VERSION_DATE,;t t 5737 s,@SINGULAR_SHORT_VERSION@,$SINGULAR_SHORT_VERSION,;t t 5738 s,@SINGULAR_RPM_VERSION@,$SINGULAR_RPM_VERSION,;t t 5739 s,@SINGULAR_ROOT_DIR@,$SINGULAR_ROOT_DIR,;t t 5740 s,@SINGUNAME@,$SINGUNAME,;t t 5741 s,@SING_UNAME@,$SING_UNAME,;t t 5742 s,@CC@,$CC,;t t 5743 s,@CFLAGS@,$CFLAGS,;t t 5744 s,@LDFLAGS@,$LDFLAGS,;t t 5745 s,@CPPFLAGS@,$CPPFLAGS,;t t 5746 s,@ac_ct_CC@,$ac_ct_CC,;t t 5747 s,@EXEEXT@,$EXEEXT,;t t 5748 s,@OBJEXT@,$OBJEXT,;t t 5749 s,@CPP@,$CPP,;t t 5750 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t 5751 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t 5752 s,@INSTALL_DATA@,$INSTALL_DATA,;t t 5753 s,@CXX@,$CXX,;t t 5754 s,@CXXFLAGS@,$CXXFLAGS,;t t 5755 s,@ac_ct_CXX@,$ac_ct_CXX,;t t 5756 s,@PIPE@,$PIPE,;t t 5757 s,@PERL@,$PERL,;t t 5758 s,@UUDECODE@,$UUDECODE,;t t 5759 s,@GUNZIP@,$GUNZIP,;t t 5760 s,@MYGZIP@,$MYGZIP,;t t 5761 s,@LATEX2HTML@,$LATEX2HTML,;t t 5762 s,@LN_S@,$LN_S,;t t 5763 s,@MKINSTALLDIRS@,$MKINSTALLDIRS,;t t 5764 s,@SINGULAR@,$SINGULAR,;t t 5765 s,@TMP_DIR@,$TMP_DIR,;t t 5766 s,@TEXI2DVI@,$TEXI2DVI,;t t 5767 s,@MAKEINFO@,$MAKEINFO,;t t 5768 s,@TEXINDEX@,$TEXINDEX,;t t 5769 s,@TEXI2HTML@,$TEXI2HTML,;t t 5770 s,@TEXI2HTML_OPTS@,$TEXI2HTML_OPTS,;t t 5771 s,@SET_MAKE@,$SET_MAKE,;t t 5772 s,@SUBDIRS@,$SUBDIRS,;t t 5773 s,@BUILD_SUBDIRS@,$BUILD_SUBDIRS,;t t 5774 s,@CONFIG_SUBDIRS@,$CONFIG_SUBDIRS,;t t 5775 s,@subdirs@,$subdirs,;t t 3084 ac_given_srcdir=$srcdir 3085 ac_given_INSTALL="$INSTALL" 3086 3087 trap 'rm -fr `echo "${OUTPUT_MAKEFILES}" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 3088 EOF 3089 cat >> $CONFIG_STATUS <<EOF 3090 3091 # Protect against being on the right side of a sed subst in config.status. 3092 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; 3093 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF 3094 $ac_vpsub 3095 $extrasub 3096 s%@SHELL@%$SHELL%g 3097 s%@CFLAGS@%$CFLAGS%g 3098 s%@CPPFLAGS@%$CPPFLAGS%g 3099 s%@CXXFLAGS@%$CXXFLAGS%g 3100 s%@FFLAGS@%$FFLAGS%g 3101 s%@DEFS@%$DEFS%g 3102 s%@LDFLAGS@%$LDFLAGS%g 3103 s%@LIBS@%$LIBS%g 3104 s%@exec_prefix@%$exec_prefix%g 3105 s%@prefix@%$prefix%g 3106 s%@program_transform_name@%$program_transform_name%g 3107 s%@bindir@%$bindir%g 3108 s%@sbindir@%$sbindir%g 3109 s%@libexecdir@%$libexecdir%g 3110 s%@datadir@%$datadir%g 3111 s%@sysconfdir@%$sysconfdir%g 3112 s%@sharedstatedir@%$sharedstatedir%g 3113 s%@localstatedir@%$localstatedir%g 3114 s%@libdir@%$libdir%g 3115 s%@includedir@%$includedir%g 3116 s%@oldincludedir@%$oldincludedir%g 3117 s%@infodir@%$infodir%g 3118 s%@mandir@%$mandir%g 3119 s%@SINGULAR_VERSION@%$SINGULAR_VERSION%g 3120 s%@VERSION_DATE@%$VERSION_DATE%g 3121 s%@SINGULAR_SHORT_VERSION@%$SINGULAR_SHORT_VERSION%g 3122 s%@SINGULAR_RPM_VERSION@%$SINGULAR_RPM_VERSION%g 3123 s%@SINGULAR_ROOT_DIR@%$SINGULAR_ROOT_DIR%g 3124 s%@SINGUNAME@%$SINGUNAME%g 3125 s%@SING_UNAME@%$SING_UNAME%g 3126 s%@CC@%$CC%g 3127 s%@CPP@%$CPP%g 3128 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g 3129 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g 3130 s%@INSTALL_DATA@%$INSTALL_DATA%g 3131 s%@CXX@%$CXX%g 3132 s%@PIPE@%$PIPE%g 3133 s%@PERL@%$PERL%g 3134 s%@UUDECODE@%$UUDECODE%g 3135 s%@GUNZIP@%$GUNZIP%g 3136 s%@MYGZIP@%$MYGZIP%g 3137 s%@LATEX2HTML@%$LATEX2HTML%g 3138 s%@LN_S@%$LN_S%g 3139 s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g 3140 s%@SINGULAR@%$SINGULAR%g 3141 s%@TMP_DIR@%$TMP_DIR%g 3142 s%@TEXI2DVI@%$TEXI2DVI%g 3143 s%@MAKEINFO@%$MAKEINFO%g 3144 s%@TEXINDEX@%$TEXINDEX%g 3145 s%@TEXI2HTML@%$TEXI2HTML%g 3146 s%@TEXI2HTML_OPTS@%$TEXI2HTML_OPTS%g 3147 s%@SET_MAKE@%$SET_MAKE%g 3148 s%@SUBDIRS@%$SUBDIRS%g 3149 s%@BUILD_SUBDIRS@%$BUILD_SUBDIRS%g 3150 s%@CONFIG_SUBDIRS@%$CONFIG_SUBDIRS%g 3151 s%@subdirs@%$subdirs%g 3152 5776 3153 CEOF 5777 5778 _ACEOF 5779 5780 cat >>$CONFIG_STATUS <<\_ACEOF 5781 # Split the substitutions into bite-sized pieces for seds with 5782 # small command number limits, like on Digital OSF/1 and HP-UX. 5783 ac_max_sed_lines=48 5784 ac_sed_frag=1 # Number of current file. 5785 ac_beg=1 # First line for current file. 5786 ac_end=$ac_max_sed_lines # Line after last line for current file. 5787 ac_more_lines=: 5788 ac_sed_cmds= 5789 while $ac_more_lines; do 5790 if test $ac_beg -gt 1; then 5791 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag 3154 EOF 3155 3156 cat >> $CONFIG_STATUS <<\EOF 3157 3158 # Split the substitutions into bite-sized pieces for seds with 3159 # small command number limits, like on Digital OSF/1 and HP-UX. 3160 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. 3161 ac_file=1 # Number of current file. 3162 ac_beg=1 # First line for current file. 3163 ac_end=$ac_max_sed_cmds # Line after last line for current file. 3164 ac_more_lines=: 3165 ac_sed_cmds="" 3166 while $ac_more_lines; do 3167 if test $ac_beg -gt 1; then 3168 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file 3169 else 3170 sed "${ac_end}q" conftest.subs > conftest.s$ac_file 3171 fi 3172 if test ! -s conftest.s$ac_file; then 3173 ac_more_lines=false 3174 rm -f conftest.s$ac_file 3175 else 3176 if test -z "$ac_sed_cmds"; then 3177 ac_sed_cmds="sed -f conftest.s$ac_file" 5792 3178 else 5793 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag3179 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" 5794 3180 fi 5795 if test ! -s $tmp/subs.frag; then 5796 ac_more_lines=false 5797 else 5798 # The purpose of the label and of the branching condition is to 5799 # speed up the sed processing (if there are no `@' at all, there 5800 # is no need to browse any of the substitutions). 5801 # These are the two extra sed commands mentioned above. 5802 (echo ':t 5803 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed 5804 if test -z "$ac_sed_cmds"; then 5805 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed" 5806 else 5807 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed" 5808 fi 5809 ac_sed_frag=`expr $ac_sed_frag + 1` 5810 ac_beg=$ac_end 5811 ac_end=`expr $ac_end + $ac_max_sed_lines` 5812 fi 5813 done 5814 if test -z "$ac_sed_cmds"; then 5815 ac_sed_cmds=cat 5816 fi 5817 fi # test -n "$CONFIG_FILES" 5818 5819 _ACEOF 5820 cat >>$CONFIG_STATUS <<\_ACEOF 5821 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue 3181 ac_file=`expr $ac_file + 1` 3182 ac_beg=$ac_end 3183 ac_end=`expr $ac_end + $ac_max_sed_cmds` 3184 fi 3185 done 3186 if test -z "$ac_sed_cmds"; then 3187 ac_sed_cmds=cat 3188 fi 3189 EOF 3190 3191 cat >> $CONFIG_STATUS <<EOF 3192 3193 CONFIG_FILES=\${CONFIG_FILES-"${OUTPUT_MAKEFILES}"} 3194 EOF 3195 cat >> $CONFIG_STATUS <<\EOF 3196 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then 5822 3197 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". 5823 case $ac_file in 5824 - | *:- | *:-:* ) # input from stdin 5825 cat >$tmp/stdin 5826 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5827 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5828 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'` 5829 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;; 5830 * ) ac_file_in=$ac_file.in ;; 3198 case "$ac_file" in 3199 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` 3200 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; 3201 *) ac_file_in="${ac_file}.in" ;; 5831 3202 esac 5832 3203 5833 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories. 5834 ac_dir=`(dirname "$ac_file") 2>/dev/null || 5835 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 5836 X"$ac_file" : 'X\(//\)[^/]' \| \ 5837 X"$ac_file" : 'X\(//\)$' \| \ 5838 X"$ac_file" : 'X\(/\)' \| \ 5839 . : '\(.\)' 2>/dev/null || 5840 echo X"$ac_file" | 5841 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 5842 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 5843 /^X\(\/\/\)$/{ s//\1/; q; } 5844 /^X\(\/\).*/{ s//\1/; q; } 5845 s/.*/./; q'` 5846 { case "$ac_dir" in 5847 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 5848 *) as_incr_dir=.;; 5849 esac 5850 as_dummy="$ac_dir" 5851 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 5852 case $as_mkdir_dir in 5853 # Skip DOS drivespec 5854 ?:) as_incr_dir=$as_mkdir_dir ;; 5855 *) 5856 as_incr_dir=$as_incr_dir/$as_mkdir_dir 5857 test -d "$as_incr_dir" || 5858 mkdir "$as_incr_dir" || 5859 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 5860 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} 5861 { (exit 1); exit 1; }; } 5862 ;; 3204 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. 3205 3206 # Remove last slash and all that follows it. Not all systems have dirname. 3207 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` 3208 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then 3209 # The file is in a subdirectory. 3210 test ! -d "$ac_dir" && mkdir "$ac_dir" 3211 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" 3212 # A "../" for each directory in $ac_dir_suffix. 3213 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` 3214 else 3215 ac_dir_suffix= ac_dots= 3216 fi 3217 3218 case "$ac_given_srcdir" in 3219 .) srcdir=. 3220 if test -z "$ac_dots"; then top_srcdir=. 3221 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; 3222 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; 3223 *) # Relative path. 3224 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" 3225 top_srcdir="$ac_dots$ac_given_srcdir" ;; 5863 3226 esac 5864 done; } 5865 5866 ac_builddir=. 5867 5868 if test "$ac_dir" != .; then 5869 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 5870 # A "../" for each directory in $ac_dir_suffix. 5871 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 5872 else 5873 ac_dir_suffix= ac_top_builddir= 5874 fi 5875 5876 case $srcdir in 5877 .) # No --srcdir option. We are building in place. 5878 ac_srcdir=. 5879 if test -z "$ac_top_builddir"; then 5880 ac_top_srcdir=. 5881 else 5882 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 5883 fi ;; 5884 [\\/]* | ?:[\\/]* ) # Absolute path. 5885 ac_srcdir=$srcdir$ac_dir_suffix; 5886 ac_top_srcdir=$srcdir ;; 5887 *) # Relative path. 5888 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 5889 ac_top_srcdir=$ac_top_builddir$srcdir ;; 5890 esac 5891 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 5892 # absolute. 5893 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 5894 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 5895 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 5896 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 5897 5898 5899 case $INSTALL in 5900 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;; 5901 *) ac_INSTALL=$ac_top_builddir$INSTALL ;; 3227 3228 case "$ac_given_INSTALL" in 3229 [/$]*) INSTALL="$ac_given_INSTALL" ;; 3230 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 5902 3231 esac 5903 3232 5904 if test x"$ac_file" != x-; then 5905 { echo "$as_me:$LINENO: creating $ac_file" >&5 5906 echo "$as_me: creating $ac_file" >&6;} 5907 rm -f "$ac_file" 5908 fi 5909 # Let's still pretend it is `configure' which instantiates (i.e., don't 5910 # use $as_me), people would be surprised to read: 5911 # /* config.h. Generated by config.status. */ 5912 if test x"$ac_file" = x-; then 5913 configure_input= 5914 else 5915 configure_input="$ac_file. " 5916 fi 5917 configure_input=$configure_input"Generated from `echo $ac_file_in | 5918 sed 's,.*/,,'` by configure." 5919 5920 # First look for the input files in the build tree, otherwise in the 5921 # src tree. 5922 ac_file_inputs=`IFS=: 5923 for f in $ac_file_in; do 5924 case $f in 5925 -) echo $tmp/stdin ;; 5926 [\\/$]*) 5927 # Absolute (can't be DOS-style, as IFS=:) 5928 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5929 echo "$as_me: error: cannot find input file: $f" >&2;} 5930 { (exit 1); exit 1; }; } 5931 echo $f;; 5932 *) # Relative 5933 if test -f "$f"; then 5934 # Build tree 5935 echo $f 5936 elif test -f "$srcdir/$f"; then 5937 # Source tree 5938 echo $srcdir/$f 5939 else 5940 # /dev/null tree 5941 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5 5942 echo "$as_me: error: cannot find input file: $f" >&2;} 5943 { (exit 1); exit 1; }; } 5944 fi;; 5945 esac 5946 done` || { (exit 1); exit 1; } 5947 _ACEOF 5948 cat >>$CONFIG_STATUS <<_ACEOF 5949 sed "$ac_vpsub 5950 $extrasub 5951 _ACEOF 5952 cat >>$CONFIG_STATUS <<\_ACEOF 5953 :t 5954 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b 5955 s,@configure_input@,$configure_input,;t t 5956 s,@srcdir@,$ac_srcdir,;t t 5957 s,@abs_srcdir@,$ac_abs_srcdir,;t t 5958 s,@top_srcdir@,$ac_top_srcdir,;t t 5959 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t 5960 s,@builddir@,$ac_builddir,;t t 5961 s,@abs_builddir@,$ac_abs_builddir,;t t 5962 s,@top_builddir@,$ac_top_builddir,;t t 5963 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t 5964 s,@INSTALL@,$ac_INSTALL,;t t 5965 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out 5966 rm -f $tmp/stdin 5967 if test x"$ac_file" != x-; then 5968 mv $tmp/out $ac_file 5969 else 5970 cat $tmp/out 5971 rm -f $tmp/out 5972 fi 5973 5974 done 5975 _ACEOF 5976 5977 cat >>$CONFIG_STATUS <<\_ACEOF 5978 5979 { (exit 0); exit 0; } 5980 _ACEOF 3233 echo creating "$ac_file" 3234 rm -f "$ac_file" 3235 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." 3236 case "$ac_file" in 3237 *Makefile*) ac_comsub="1i\\ 3238 # $configure_input" ;; 3239 *) ac_comsub= ;; 3240 esac 3241 3242 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` 3243 sed -e "$ac_comsub 3244 s%@configure_input@%$configure_input%g 3245 s%@srcdir@%$srcdir%g 3246 s%@top_srcdir@%$top_srcdir%g 3247 s%@INSTALL@%$INSTALL%g 3248 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file 3249 fi; done 3250 rm -f conftest.s* 3251 3252 EOF 3253 cat >> $CONFIG_STATUS <<EOF 3254 3255 EOF 3256 cat >> $CONFIG_STATUS <<\EOF 3257 3258 exit 0 3259 EOF 5981 3260 chmod +x $CONFIG_STATUS 5982 ac_clean_files=$ac_clean_files_save 5983 5984 5985 # configure is writing to config.log, and then calls config.status. 5986 # config.status does its own redirection, appending to config.log. 5987 # Unfortunately, on DOS this fails, as config.log is still kept open 5988 # by configure, so config.status won't be able to write to it; its 5989 # output is simply discarded. So we exec the FD to /dev/null, 5990 # effectively closing config.log, so it can be properly (re)opened and 5991 # appended to by config.status. When coming back to configure, we 5992 # need to make the FD available again. 5993 if test "$no_create" != yes; then 5994 ac_cs_success=: 5995 exec 5>/dev/null 5996 $SHELL $CONFIG_STATUS || ac_cs_success=false 5997 exec 5>>config.log 5998 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 5999 # would make configure fail if this is the last instruction. 6000 $ac_cs_success || { (exit 1); exit 1; } 6001 fi 6002 6003 # 6004 # CONFIG_SUBDIRS section. 6005 # 3261 rm -fr confdefs* $ac_clean_files 3262 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 3263 6006 3264 if test "$no_recursion" != yes; then 6007 3265 … … 6014 3272 continue 6015 3273 fi 6016 case $ac_argin3274 case "$ac_arg" in 6017 3275 -cache-file | --cache-file | --cache-fil | --cache-fi \ 6018 3276 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) 6019 3277 ac_prev=cache_file ;; 6020 3278 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 6021 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \ 6022 | --c=*) 6023 ;; 6024 --config-cache | -C) 3279 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 6025 3280 ;; 6026 3281 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) … … 6028 3283 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 6029 3284 ;; 6030 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)6031 ac_prev=prefix ;;6032 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)6033 ;;6034 3285 *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; 6035 3286 esac 6036 3287 done 6037 3288 6038 # Always prepend --prefix to ensure using the same prefix 6039 # in subdir configurations. 6040 ac_sub_configure_args="--prefix=$prefix $ac_sub_configure_args" 6041 6042 ac_popdir=`pwd` 6043 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue 3289 for ac_config_dir in $CONFIG_SUBDIRS; do 6044 3290 6045 3291 # Do not complain, so a configure script can configure whichever 6046 3292 # parts of a large source tree are present. 6047 test -d $srcdir/$ac_dir || continue 6048 6049 { echo "$as_me:$LINENO: configuring in $ac_dir" >&5 6050 echo "$as_me: configuring in $ac_dir" >&6;} 6051 { case "$ac_dir" in 6052 [\\/]* | ?:[\\/]* ) as_incr_dir=;; 6053 *) as_incr_dir=.;; 6054 esac 6055 as_dummy="$ac_dir" 6056 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do 6057 case $as_mkdir_dir in 6058 # Skip DOS drivespec 6059 ?:) as_incr_dir=$as_mkdir_dir ;; 3293 if test ! -d $srcdir/$ac_config_dir; then 3294 continue 3295 fi 3296 3297 echo configuring in $ac_config_dir 3298 3299 case "$srcdir" in 3300 .) ;; 6060 3301 *) 6061 as_incr_dir=$as_incr_dir/$as_mkdir_dir 6062 test -d "$as_incr_dir" || 6063 mkdir "$as_incr_dir" || 6064 { { echo "$as_me:$LINENO: error: cannot create \"$ac_dir\"" >&5 6065 echo "$as_me: error: cannot create \"$ac_dir\"" >&2;} 6066 { (exit 1); exit 1; }; } 6067 ;; 6068 esac 6069 done; } 6070 6071 ac_builddir=. 6072 6073 if test "$ac_dir" != .; then 6074 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 6075 # A "../" for each directory in $ac_dir_suffix. 6076 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 6077 else 6078 ac_dir_suffix= ac_top_builddir= 6079 fi 6080 6081 case $srcdir in 6082 .) # No --srcdir option. We are building in place. 6083 ac_srcdir=. 6084 if test -z "$ac_top_builddir"; then 6085 ac_top_srcdir=. 6086 else 6087 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 6088 fi ;; 6089 [\\/]* | ?:[\\/]* ) # Absolute path. 6090 ac_srcdir=$srcdir$ac_dir_suffix; 6091 ac_top_srcdir=$srcdir ;; 6092 *) # Relative path. 6093 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 6094 ac_top_srcdir=$ac_top_builddir$srcdir ;; 6095 esac 6096 # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be 6097 # absolute. 6098 ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd` 6099 ac_abs_top_builddir=`cd "$ac_dir" && cd $ac_top_builddir && pwd` 6100 ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd` 6101 ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd` 6102 6103 6104 cd $ac_dir 3302 if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :; 3303 else 3304 { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; } 3305 fi 3306 ;; 3307 esac 3308 3309 ac_popdir=`pwd` 3310 cd $ac_config_dir 3311 3312 # A "../" for each directory in /$ac_config_dir. 3313 ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` 3314 3315 case "$srcdir" in 3316 .) # No --srcdir option. We are building in place. 3317 ac_sub_srcdir=$srcdir ;; 3318 /*) # Absolute path. 3319 ac_sub_srcdir=$srcdir/$ac_config_dir ;; 3320 *) # Relative path. 3321 ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;; 3322 esac 6105 3323 6106 3324 # Check for guested configure; otherwise get Cygnus style configure. 6107 if test -f $ac_srcdir/configure.gnu; then 6108 ac_sub_configure="$SHELL '$ac_srcdir/configure.gnu'" 6109 elif test -f $ac_srcdir/configure; then 6110 ac_sub_configure="$SHELL '$ac_srcdir/configure'" 6111 elif test -f $ac_srcdir/configure.in; then 3325 if test -f $ac_sub_srcdir/configure; then 3326 ac_sub_configure=$ac_sub_srcdir/configure 3327 elif test -f $ac_sub_srcdir/configure.in; then 6112 3328 ac_sub_configure=$ac_configure 6113 3329 else 6114 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5 6115 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;} 3330 echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2 6116 3331 ac_sub_configure= 6117 3332 fi … … 6119 3334 # The recursion is here. 6120 3335 if test -n "$ac_sub_configure"; then 3336 6121 3337 # Make the cache file name correct relative to the subdirectory. 6122 case $cache_filein6123 [\\/]* | ?:[\\/]*) ac_sub_cache_file=$cache_file ;;3338 case "$cache_file" in 3339 /*) ac_sub_cache_file=$cache_file ;; 6124 3340 *) # Relative path. 6125 ac_sub_cache_file= $ac_top_builddir$cache_file;;3341 ac_sub_cache_file="$ac_dots$cache_file" ;; 6126 3342 esac 6127 6128 { echo "$as_me:$LINENO: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5 6129 echo "$as_me: running $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;} 3343 case "$ac_given_INSTALL" in 3344 [/$]*) INSTALL="$ac_given_INSTALL" ;; 3345 *) INSTALL="$ac_dots$ac_given_INSTALL" ;; 3346 esac 3347 3348 echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" 6130 3349 # The eval makes quoting arguments work. 6131 eval $ac_sub_configure $ac_sub_configure_args \6132 --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir ||6133 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&56134 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}6135 { (exit 1); exit 1; }; }3350 if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir 3351 then : 3352 else 3353 { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; } 3354 fi 6136 3355 fi 6137 3356
Note: See TracChangeset
for help on using the changeset viewer.