Changeset 690e864 in git
- Timestamp:
- Apr 22, 2005, 2:54:37 PM (18 years ago)
- Branches:
- (u'jengelh-datetime', 'ceac47cbc86fe4a15902392bdbb9bd2ae0ea02c6')(u'spielwiese', 'a800fe4b3e9d37a38c5a10cc0ae9dfa0c15a4ee6')
- Children:
- 327eae8647341721b63d044f1e7f5c499ac1fcb3
- Parents:
- 511c38c15926b98d83960bcfb7caea8f43aad986
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
configure
r511c38 r690e864 1 1 #! /bin/sh 2 3 2 # Guess values for system-dependent variables and create Makefiles. 4 # Generated automatically using autoconf version 2.13 5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. 3 # Generated by GNU Autoconf 2.59. 6 4 # 5 # Copyright (C) 2003 Free Software Foundation, Inc. 7 6 # This configure script is free software; the Free Software Foundation 8 7 # gives unlimited permission to copy, distribute and modify it. 9 10 # Defaults: 11 ac_help= 8 ## --------------------- ## 9 ## M4sh Initialization. ## 10 ## --------------------- ## 11 12 # Be Bourne compatible 13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 14 emulate sh 15 NULLCMD=: 16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 17 # is contrary to our usage. Disable this feature. 18 alias -g '${1+"$@"}'='"$@"' 19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then 20 set -o posix 21 fi 22 DUALCASE=1; export DUALCASE # for MKS sh 23 24 # Support unset when possible. 25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then 26 as_unset=unset 27 else 28 as_unset=false 29 fi 30 31 32 # Work around bugs in pre-3.0 UWIN ksh. 33 $as_unset ENV MAIL MAILPATH 34 PS1='$ ' 35 PS2='> ' 36 PS4='+ ' 37 38 # NLS nuisances. 39 for as_var in \ 40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 42 LC_TELEPHONE LC_TIME 43 do 44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 45 eval $as_var=C; export $as_var 46 else 47 $as_unset $as_var 48 fi 49 done 50 51 # Required to use basename. 52 if expr a : '\(a\)' >/dev/null 2>&1; then 53 as_expr=expr 54 else 55 as_expr=false 56 fi 57 58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then 59 as_basename=basename 60 else 61 as_basename=false 62 fi 63 64 65 # Name of the executable. 66 as_me=`$as_basename "$0" || 67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 68 X"$0" : 'X\(//\)$' \| \ 69 X"$0" : 'X\(/\)$' \| \ 70 . : '\(.\)' 2>/dev/null || 71 echo X/"$0" | 72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; } 73 /^X\/\(\/\/\)$/{ s//\1/; q; } 74 /^X\/\(\/\).*/{ s//\1/; q; } 75 s/.*/./; q'` 76 77 78 # PATH needs CR, and LINENO needs CR and PATH. 79 # Avoid depending upon Character Ranges. 80 as_cr_letters='abcdefghijklmnopqrstuvwxyz' 81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS 83 as_cr_digits='0123456789' 84 as_cr_alnum=$as_cr_Letters$as_cr_digits 85 86 # The user is always right. 87 if test "${PATH_SEPARATOR+set}" != set; then 88 echo "#! /bin/sh" >conf$$.sh 89 echo "exit 0" >>conf$$.sh 90 chmod +x conf$$.sh 91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then 92 PATH_SEPARATOR=';' 93 else 94 PATH_SEPARATOR=: 95 fi 96 rm -f conf$$.sh 97 fi 98 99 100 as_lineno_1=$LINENO 101 as_lineno_2=$LINENO 102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 103 test "x$as_lineno_1" != "x$as_lineno_2" && 104 test "x$as_lineno_3" = "x$as_lineno_2" || { 105 # Find who we are. Look in the path if we contain no path at all 106 # relative or not. 107 case $0 in 108 *[\\/]* ) as_myself=$0 ;; 109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 110 for as_dir in $PATH 111 do 112 IFS=$as_save_IFS 113 test -z "$as_dir" && as_dir=. 114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 115 done 116 117 ;; 118 esac 119 # We did not find ourselves, most probably we were run as `sh COMMAND' 120 # in which case we are not to be found in the path. 121 if test "x$as_myself" = x; then 122 as_myself=$0 123 fi 124 if test ! -f "$as_myself"; then 125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2 126 { (exit 1); exit 1; }; } 127 fi 128 case $CONFIG_SHELL in 129 '') 130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH 132 do 133 IFS=$as_save_IFS 134 test -z "$as_dir" && as_dir=. 135 for as_base in sh bash ksh sh5; do 136 case $as_dir in 137 /*) 138 if ("$as_dir/$as_base" -c ' 139 as_lineno_1=$LINENO 140 as_lineno_2=$LINENO 141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null` 142 test "x$as_lineno_1" != "x$as_lineno_2" && 143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then 144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; } 145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; } 146 CONFIG_SHELL=$as_dir/$as_base 147 export CONFIG_SHELL 148 exec "$CONFIG_SHELL" "$0" ${1+"$@"} 149 fi;; 150 esac 151 done 152 done 153 ;; 154 esac 155 156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO 157 # uniformly replaced by the line number. The first 'sed' inserts a 158 # line-number line before each line; the second 'sed' does the real 159 # work. The second script uses 'N' to pair each line-number line 160 # with the numbered line, and appends trailing '-' during 161 # substitution so that $LINENO is not a special case at line end. 162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the 163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-) 164 sed '=' <$as_myself | 165 sed ' 166 N 167 s,$,-, 168 : loop 169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3, 170 t loop 171 s,-$,, 172 s,^['$as_cr_digits']*\n,, 173 ' >$as_me.lineno && 174 chmod +x $as_me.lineno || 175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 176 { (exit 1); exit 1; }; } 177 178 # Don't try to exec as it changes $[0], causing all sort of problems 179 # (the dirname of $[0] is not the place where we might find the 180 # original and so on. Autoconf is especially sensible to this). 181 . ./$as_me.lineno 182 # Exit status is that of the last command. 183 exit 184 } 185 186 187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in 188 *c*,-n*) ECHO_N= ECHO_C=' 189 ' ECHO_T=' ' ;; 190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;; 191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;; 192 esac 193 194 if expr a : '\(a\)' >/dev/null 2>&1; then 195 as_expr=expr 196 else 197 as_expr=false 198 fi 199 200 rm -f conf$$ conf$$.exe conf$$.file 201 echo >conf$$.file 202 if ln -s conf$$.file conf$$ 2>/dev/null; then 203 # We could just check for DJGPP; but this test a) works b) is more generic 204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04). 205 if test -f conf$$.exe; then 206 # Don't use ln at all; we don't have any links 207 as_ln_s='cp -p' 208 else 209 as_ln_s='ln -s' 210 fi 211 elif ln conf$$.file conf$$ 2>/dev/null; then 212 as_ln_s=ln 213 else 214 as_ln_s='cp -p' 215 fi 216 rm -f conf$$ conf$$.exe conf$$.file 217 218 if mkdir -p . 2>/dev/null; then 219 as_mkdir_p=: 220 else 221 test -d ./-p && rmdir ./-p 222 as_mkdir_p=false 223 fi 224 225 as_executable_p="test -f" 226 227 # Sed expression to map a string onto a valid CPP name. 228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'" 229 230 # Sed expression to map a string onto a valid variable name. 231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 232 233 234 # IFS 235 # We need space, tab and new line, in precisely that order. 236 as_nl=' 237 ' 238 IFS=" $as_nl" 239 240 # CDPATH. 241 $as_unset CDPATH 242 243 244 # Name of the host. 245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status, 246 # so uname gets run too. 247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q` 248 249 exec 6>&1 250 251 # 252 # Initializations. 253 # 12 254 ac_default_prefix=/usr/local 13 # Any additions from configure.in: 255 ac_config_libobj_dir=. 256 cross_compiling=no 257 subdirs= 258 MFLAGS= 259 MAKEFLAGS= 260 SHELL=${CONFIG_SHELL-/bin/sh} 261 262 # Maximum number of lines to put in a shell here document. 263 # This variable seems obsolete. It should probably be removed, and 264 # only ac_max_sed_lines should be used. 265 : ${ac_max_here_lines=38} 266 267 # Identity of this package. 268 PACKAGE_NAME= 269 PACKAGE_TARNAME= 270 PACKAGE_VERSION= 271 PACKAGE_STRING= 272 PACKAGE_BUGREPORT= 273 274 ac_unique_file="kernel/matpol.h" 14 275 ac_default_prefix=`pwd` 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). " 276 # Factoring default headers for most tests. 277 ac_includes_default="\ 278 #include <stdio.h> 279 #if HAVE_SYS_TYPES_H 280 # include <sys/types.h> 281 #endif 282 #if HAVE_SYS_STAT_H 283 # include <sys/stat.h> 284 #endif 285 #if STDC_HEADERS 286 # include <stdlib.h> 287 # include <stddef.h> 288 #else 289 # if HAVE_STDLIB_H 290 # include <stdlib.h> 291 # endif 292 #endif 293 #if HAVE_STRING_H 294 # if !STDC_HEADERS && HAVE_MEMORY_H 295 # include <memory.h> 296 # endif 297 # include <string.h> 298 #endif 299 #if HAVE_STRINGS_H 300 # include <strings.h> 301 #endif 302 #if HAVE_INTTYPES_H 303 # include <inttypes.h> 304 #else 305 # if HAVE_STDINT_H 306 # include <stdint.h> 307 # endif 308 #endif 309 #if HAVE_UNISTD_H 310 # include <unistd.h> 311 #endif" 312 313 ac_subdirs_all="$ac_subdirs_all $CONFIG_SUBDIRS" 314 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS SINGULAR_VERSION VERSION_DATE SINGULAR_SHORT_VERSION SINGULAR_RPM_VERSION SINGULAR_ROOT_DIR SINGUNAME SING_UNAME CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA EGREP CXX CXXFLAGS ac_ct_CXX PIPE PERL UUDECODE GUNZIP MYGZIP LATEX2HTML LN_S MKINSTALLDIRS SINGULAR TMP_DIR TEXI2DVI TEXI2PDF MAKEINFO TEXINDEX TEXI2HTML TEXI2HTML_OPTS SET_MAKE SUBDIRS BUILD_SUBDIRS CONFIG_SUBDIRS subdirs LIBOBJS LTLIBOBJS' 315 ac_subst_files='' 82 316 83 317 # Initialize some variables set by options. 318 ac_init_help= 319 ac_init_version=false 84 320 # The variables have the same names as the options, with 85 321 # dashes changed to underlines. 86 build=NONE 87 cache_file=./config.cache 322 cache_file=/dev/null 88 323 exec_prefix=NONE 89 host=NONE90 324 no_create= 91 nonopt=NONE92 325 no_recursion= 93 326 prefix=NONE … … 98 331 site= 99 332 srcdir= 100 target=NONE101 333 verbose= 102 334 x_includes=NONE 103 335 x_libraries=NONE 336 337 # Installation directory options. 338 # These are left unexpanded so users can "make install exec_prefix=/foo" 339 # and all the variables that are supposed to be based on exec_prefix 340 # by default will actually change. 341 # Use braces instead of parens because sh, perl, etc. also accept them. 104 342 bindir='${exec_prefix}/bin' 105 343 sbindir='${exec_prefix}/sbin' … … 115 353 mandir='${prefix}/man' 116 354 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=12123 124 355 ac_prev= 125 356 for ac_option 126 357 do 127 128 358 # If the previous option needs an argument, assign it. 129 359 if test -n "$ac_prev"; then … … 133 363 fi 134 364 135 case "$ac_option" in 136 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; 137 *) ac_optarg= ;; 138 esac 365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` 139 366 140 367 # Accept the important Cygnus configure options, so we can diagnose typos. 141 368 142 case "$ac_option"in369 case $ac_option in 143 370 144 371 -bindir | --bindir | --bindi | --bind | --bin | --bi) 145 372 ac_prev=bindir ;; 146 373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) 147 bindir= "$ac_optarg";;374 bindir=$ac_optarg ;; 148 375 149 376 -build | --build | --buil | --bui | --bu) 150 ac_prev=build ;;377 ac_prev=build_alias ;; 151 378 -build=* | --build=* | --buil=* | --bui=* | --bu=*) 152 build ="$ac_optarg";;379 build_alias=$ac_optarg ;; 153 380 154 381 -cache-file | --cache-file | --cache-fil | --cache-fi \ … … 157 384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ 158 385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) 159 cache_file="$ac_optarg" ;; 386 cache_file=$ac_optarg ;; 387 388 --config-cache | -C) 389 cache_file=config.cache ;; 160 390 161 391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da) … … 163 393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ 164 394 | --da=*) 165 datadir= "$ac_optarg";;395 datadir=$ac_optarg ;; 166 396 167 397 -disable-* | --disable-*) 168 ac_feature=`e cho $ac_option|sed -e 's/-*disable-//'`398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 169 399 # Reject names that are not valid shell variable names. 170 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then171 { echo " configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }172 fi173 ac_feature=`echo $ac_feature | sed 's/-/_/g'`174 eval "enable_$ {ac_feature}=no" ;;400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 402 { (exit 1); exit 1; }; } 403 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 404 eval "enable_$ac_feature=no" ;; 175 405 176 406 -enable-* | --enable-*) 177 ac_feature=`e cho $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 178 408 # Reject names that are not valid shell variable names. 179 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then180 { echo " configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }181 fi182 ac_feature=`echo $ac_feature | sed 's/-/_/g'`183 case "$ac_option"in184 *=*) ;;409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null && 410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 411 { (exit 1); exit 1; }; } 412 ac_feature=`echo $ac_feature | sed 's/-/_/g'` 413 case $ac_option in 414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 185 415 *) ac_optarg=yes ;; 186 416 esac 187 eval "enable_$ {ac_feature}='$ac_optarg'" ;;417 eval "enable_$ac_feature='$ac_optarg'" ;; 188 418 189 419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ … … 194 424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ 195 425 | --exec=* | --exe=* | --ex=*) 196 exec_prefix= "$ac_optarg";;426 exec_prefix=$ac_optarg ;; 197 427 198 428 -gas | --gas | --ga | --g) … … 200 430 with_gas=yes ;; 201 431 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 ;; 432 -help | --help | --hel | --he | -h) 433 ac_init_help=long ;; 434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*) 435 ac_init_help=recursive ;; 436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*) 437 ac_init_help=short ;; 256 438 257 439 -host | --host | --hos | --ho) 258 ac_prev=host ;;440 ac_prev=host_alias ;; 259 441 -host=* | --host=* | --hos=* | --ho=*) 260 host ="$ac_optarg";;442 host_alias=$ac_optarg ;; 261 443 262 444 -includedir | --includedir | --includedi | --included | --include \ … … 265 447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ 266 448 | --includ=* | --inclu=* | --incl=* | --inc=*) 267 includedir= "$ac_optarg";;449 includedir=$ac_optarg ;; 268 450 269 451 -infodir | --infodir | --infodi | --infod | --info | --inf) 270 452 ac_prev=infodir ;; 271 453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) 272 infodir= "$ac_optarg";;454 infodir=$ac_optarg ;; 273 455 274 456 -libdir | --libdir | --libdi | --libd) 275 457 ac_prev=libdir ;; 276 458 -libdir=* | --libdir=* | --libdi=* | --libd=*) 277 libdir= "$ac_optarg";;459 libdir=$ac_optarg ;; 278 460 279 461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ … … 282 464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ 283 465 | --libexe=* | --libex=* | --libe=*) 284 libexecdir= "$ac_optarg";;466 libexecdir=$ac_optarg ;; 285 467 286 468 -localstatedir | --localstatedir | --localstatedi | --localstated \ … … 291 473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \ 292 474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) 293 localstatedir= "$ac_optarg";;475 localstatedir=$ac_optarg ;; 294 476 295 477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m) 296 478 ac_prev=mandir ;; 297 479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) 298 mandir= "$ac_optarg";;480 mandir=$ac_optarg ;; 299 481 300 482 -nfp | --nfp | --nf) … … 303 485 304 486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \ 305 | --no-cr | --no-c )487 | --no-cr | --no-c | -n) 306 488 no_create=yes ;; 307 489 … … 317 499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ 318 500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) 319 oldincludedir= "$ac_optarg";;501 oldincludedir=$ac_optarg ;; 320 502 321 503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) 322 504 ac_prev=prefix ;; 323 505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) 324 prefix= "$ac_optarg";;506 prefix=$ac_optarg ;; 325 507 326 508 -program-prefix | --program-prefix | --program-prefi | --program-pref \ … … 329 511 -program-prefix=* | --program-prefix=* | --program-prefi=* \ 330 512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) 331 program_prefix= "$ac_optarg";;513 program_prefix=$ac_optarg ;; 332 514 333 515 -program-suffix | --program-suffix | --program-suffi | --program-suff \ … … 336 518 -program-suffix=* | --program-suffix=* | --program-suffi=* \ 337 519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) 338 program_suffix= "$ac_optarg";;520 program_suffix=$ac_optarg ;; 339 521 340 522 -program-transform-name | --program-transform-name \ … … 353 535 | --program-trans=* | --program-tran=* \ 354 536 | --progr-tra=* | --program-tr=* | --program-t=*) 355 program_transform_name= "$ac_optarg";;537 program_transform_name=$ac_optarg ;; 356 538 357 539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ … … 363 545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ 364 546 | --sbi=* | --sb=*) 365 sbindir= "$ac_optarg";;547 sbindir=$ac_optarg ;; 366 548 367 549 -sharedstatedir | --sharedstatedir | --sharedstatedi \ … … 374 556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ 375 557 | --sha=* | --sh=*) 376 sharedstatedir= "$ac_optarg";;558 sharedstatedir=$ac_optarg ;; 377 559 378 560 -site | --site | --sit) 379 561 ac_prev=site ;; 380 562 -site=* | --site=* | --sit=*) 381 site= "$ac_optarg";;563 site=$ac_optarg ;; 382 564 383 565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) 384 566 ac_prev=srcdir ;; 385 567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) 386 srcdir= "$ac_optarg";;568 srcdir=$ac_optarg ;; 387 569 388 570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ … … 391 573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ 392 574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) 393 sysconfdir= "$ac_optarg";;575 sysconfdir=$ac_optarg ;; 394 576 395 577 -target | --target | --targe | --targ | --tar | --ta | --t) 396 ac_prev=target ;;578 ac_prev=target_alias ;; 397 579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) 398 target ="$ac_optarg";;580 target_alias=$ac_optarg ;; 399 581 400 582 -v | -verbose | --verbose | --verbos | --verbo | --verb) 401 583 verbose=yes ;; 402 584 403 -version | --version | --versio | --versi | --vers) 404 echo "configure generated by autoconf version 2.13" 405 exit 0 ;; 585 -version | --version | --versio | --versi | --vers | -V) 586 ac_init_version=: ;; 406 587 407 588 -with-* | --with-*) 408 ac_package=`e cho $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 409 590 # Reject names that are not valid shell variable names. 410 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then411 { echo " configure: error: $ac_package: invalid package name" 1>&2; exit 1; }412 fi591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 592 { echo "$as_me: error: invalid package name: $ac_package" >&2 593 { (exit 1); exit 1; }; } 413 594 ac_package=`echo $ac_package| sed 's/-/_/g'` 414 case "$ac_option"in415 *=*) ;;595 case $ac_option in 596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;; 416 597 *) ac_optarg=yes ;; 417 598 esac 418 eval "with_$ {ac_package}='$ac_optarg'" ;;599 eval "with_$ac_package='$ac_optarg'" ;; 419 600 420 601 -without-* | --without-*) 421 ac_package=`e cho $ac_option|sed -e 's/-*without-//'`602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 422 603 # Reject names that are not valid shell variable names. 423 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then424 { echo " configure: error: $ac_package: invalid package name" 1>&2; exit 1; }425 fi426 ac_package=`echo $ac_package | sed 's/-/_/g'`427 eval "with_$ {ac_package}=no" ;;604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null && 605 { echo "$as_me: error: invalid package name: $ac_package" >&2 606 { (exit 1); exit 1; }; } 607 ac_package=`echo $ac_package | sed 's/-/_/g'` 608 eval "with_$ac_package=no" ;; 428 609 429 610 --x) … … 436 617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ 437 618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) 438 x_includes= "$ac_optarg";;619 x_includes=$ac_optarg ;; 439 620 440 621 -x-libraries | --x-libraries | --x-librarie | --x-librari \ … … 443 624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 444 625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 445 x_libraries="$ac_optarg" ;; 446 447 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; } 626 x_libraries=$ac_optarg ;; 627 628 -*) { echo "$as_me: error: unrecognized option: $ac_option 629 Try \`$0 --help' for more information." >&2 630 { (exit 1); exit 1; }; } 448 631 ;; 449 632 633 *=*) 634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 635 # Reject names that are not valid shell variable names. 636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 638 { (exit 1); exit 1; }; } 639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` 640 eval "$ac_envvar='$ac_optarg'" 641 export $ac_envvar ;; 642 450 643 *) 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" 644 # FIXME: should be removed in autoconf 3.0. 645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 458 649 ;; 459 650 … … 462 653 463 654 if test -n "$ac_prev"; then 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 655 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 656 { echo "$as_me: error: missing argument to $ac_option" >&2 657 { (exit 1); exit 1; }; } 658 fi 659 660 # Be sure to have absolute paths. 661 for ac_var in exec_prefix prefix 493 662 do 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" ;; 663 eval ac_val=$`echo $ac_var` 664 case $ac_val in 665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;; 666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 667 { (exit 1); exit 1; }; };; 502 668 esac 503 669 done 504 670 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 671 # Be sure to have absolute paths. 672 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \ 673 localstatedir libdir includedir oldincludedir infodir mandir 674 do 675 eval ac_val=$`echo $ac_var` 676 case $ac_val in 677 [\\/$]* | ?:[\\/]* ) ;; 678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 679 { (exit 1); exit 1; }; };; 680 esac 681 done 682 683 # There might be people who depend on the old broken behavior: `$host' 684 # used to hold the argument of --host etc. 685 # FIXME: To remove some day. 686 build=$build_alias 687 host=$host_alias 688 target=$target_alias 689 690 # FIXME: To remove some day. 691 if test "x$host_alias" != x; then 692 if test "x$build_alias" = x; then 693 cross_compiling=maybe 694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 695 If a cross compiler is detected then cross compile mode will be used." >&2 696 elif test "x$build_alias" != "x$host_alias"; then 697 cross_compiling=yes 698 fi 699 fi 700 701 ac_tool_prefix= 702 test -n "$host_alias" && ac_tool_prefix=$host_alias- 703 704 test "$silent" = yes && exec 6>/dev/null 705 523 706 524 707 # Find the source files, if location was not specified. … … 526 709 ac_srcdir_defaulted=yes 527 710 # Try the directory containing this script, then its parent. 528 ac_prog=$0 529 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'` 530 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=. 711 ac_confdir=`(dirname "$0") 2>/dev/null || 712 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 713 X"$0" : 'X\(//\)[^/]' \| \ 714 X"$0" : 'X\(//\)$' \| \ 715 X"$0" : 'X\(/\)' \| \ 716 . : '\(.\)' 2>/dev/null || 717 echo X"$0" | 718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; } 719 /^X\(\/\/\)[^/].*/{ s//\1/; q; } 720 /^X\(\/\/\)$/{ s//\1/; q; } 721 /^X\(\/\).*/{ s//\1/; q; } 722 s/.*/./; q'` 531 723 srcdir=$ac_confdir 532 724 if test ! -r $srcdir/$ac_unique_file; then … … 538 730 if test ! -r $srcdir/$ac_unique_file; then 539 731 if test "$ac_srcdir_defaulted" = yes; then 540 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } 732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2 733 { (exit 1); exit 1; }; } 541 734 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 735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 736 { (exit 1); exit 1; }; } 737 fi 738 fi 739 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null || 740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2 741 { (exit 1); exit 1; }; } 742 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'` 743 ac_env_build_alias_set=${build_alias+set} 744 ac_env_build_alias_value=$build_alias 745 ac_cv_env_build_alias_set=${build_alias+set} 746 ac_cv_env_build_alias_value=$build_alias 747 ac_env_host_alias_set=${host_alias+set} 748 ac_env_host_alias_value=$host_alias 749 ac_cv_env_host_alias_set=${host_alias+set} 750 ac_cv_env_host_alias_value=$host_alias 751 ac_env_target_alias_set=${target_alias+set} 752 ac_env_target_alias_value=$target_alias 753 ac_cv_env_target_alias_set=${target_alias+set} 754 ac_cv_env_target_alias_value=$target_alias 755 ac_env_CC_set=${CC+set} 756 ac_env_CC_value=$CC 757 ac_cv_env_CC_set=${CC+set} 758 ac_cv_env_CC_value=$CC 759 ac_env_CFLAGS_set=${CFLAGS+set} 760 ac_env_CFLAGS_value=$CFLAGS 761 ac_cv_env_CFLAGS_set=${CFLAGS+set} 762 ac_cv_env_CFLAGS_value=$CFLAGS 763 ac_env_LDFLAGS_set=${LDFLAGS+set} 764 ac_env_LDFLAGS_value=$LDFLAGS 765 ac_cv_env_LDFLAGS_set=${LDFLAGS+set} 766 ac_cv_env_LDFLAGS_value=$LDFLAGS 767 ac_env_CPPFLAGS_set=${CPPFLAGS+set} 768 ac_env_CPPFLAGS_value=$CPPFLAGS 769 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set} 770 ac_cv_env_CPPFLAGS_value=$CPPFLAGS 771 ac_env_CPP_set=${CPP+set} 772 ac_env_CPP_value=$CPP 773 ac_cv_env_CPP_set=${CPP+set} 774 ac_cv_env_CPP_value=$CPP 775 ac_env_CXX_set=${CXX+set} 776 ac_env_CXX_value=$CXX 777 ac_cv_env_CXX_set=${CXX+set} 778 ac_cv_env_CXX_value=$CXX 779 ac_env_CXXFLAGS_set=${CXXFLAGS+set} 780 ac_env_CXXFLAGS_value=$CXXFLAGS 781 ac_cv_env_CXXFLAGS_set=${CXXFLAGS+set} 782 ac_cv_env_CXXFLAGS_value=$CXXFLAGS 783 784 # 785 # Report the --help message. 786 # 787 if test "$ac_init_help" = "long"; then 788 # Omit some internal or obsolete options to make the list less imposing. 789 # This message is too long to be a string in the A/UX 3.1 sh. 790 cat <<_ACEOF 791 \`configure' configures this package to adapt to many kinds of systems. 792 793 Usage: $0 [OPTION]... [VAR=VALUE]... 794 795 To assign environment variables (e.g., CC, CFLAGS...), specify them as 796 VAR=VALUE. See below for descriptions of some of the useful variables. 797 798 Defaults for the options are specified in brackets. 799 800 Configuration: 801 -h, --help display this help and exit 802 --help=short display options specific to this package 803 --help=recursive display the short help of all the included packages 804 -V, --version display version information and exit 805 -q, --quiet, --silent do not print \`checking...' messages 806 --cache-file=FILE cache test results in FILE [disabled] 807 -C, --config-cache alias for \`--cache-file=config.cache' 808 -n, --no-create do not create output files 809 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 810 811 _ACEOF 812 813 cat <<_ACEOF 814 Installation directories: 815 --prefix=PREFIX install architecture-independent files in PREFIX 816 [$ac_default_prefix] 817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 818 [PREFIX] 819 820 By default, \`make install' will install all the files in 821 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 822 an installation prefix other than \`$ac_default_prefix' using \`--prefix', 823 for instance \`--prefix=\$HOME'. 824 825 For better control, use the options below. 826 827 Fine tuning of the installation directories: 828 --bindir=DIR user executables [EPREFIX/bin] 829 --sbindir=DIR system admin executables [EPREFIX/sbin] 830 --libexecdir=DIR program executables [EPREFIX/libexec] 831 --datadir=DIR read-only architecture-independent data [PREFIX/share] 832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 834 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 835 --libdir=DIR object code libraries [EPREFIX/lib] 836 --includedir=DIR C header files [PREFIX/include] 837 --oldincludedir=DIR C header files for non-gcc [/usr/include] 838 --infodir=DIR info documentation [PREFIX/info] 839 --mandir=DIR man documentation [PREFIX/man] 840 _ACEOF 841 842 cat <<\_ACEOF 843 _ACEOF 844 fi 845 846 if test -n "$ac_init_help"; then 847 848 cat <<\_ACEOF 849 850 Optional Features: 851 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 852 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 853 \ 854 --enable-PACKAGE configure and/or build PACKAGE 855 --disable-PACKAGE do not configure and/or build PACKAGE 856 where PACKAGE can be: 857 smallgmp minimal version of gmp written in C only 858 \ 859 omalloc omalloc memory managment 860 \ 861 gmp Gnu Multiple Precision package 862 \ 863 MP Multi Protocol library 864 \ 865 factory polynomial factorization library 866 \ 867 libfac char set and modp poly factorization library 868 \ 869 sgroup numerical semigroup computations 870 \ 871 Singular CAS for Polynomial Computations 872 \ 873 IntegerProgramming IntegerProgramming 874 \ 875 Plural Plural 876 \ 877 Texinfo Texinfo for info, texi2dvi, makeinfo 878 \ 879 Texi2html Texinfo to HTML converter 880 \ 881 doc Singular documentation 882 \ 883 emacs emacs completion files 884 885 Optional Packages: 886 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] 887 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) 888 \ 889 --with-tmpdir=DIR use DIR as temporary directory 890 \ 891 --with-PACKAGE use PACKAGE, provide dependent functionality 892 --without-PACKAGE do not use PACKAGE, disable dependent functionality 893 where PACKAGE can be: 894 MP Multi Protocol library 895 \ 896 factory polynomial factorization library 897 \ 898 libfac char set and modp poly factorization library 899 \ 900 --with-apint=PACKAGE use PACKAGE for arbitary integer arithmetic 901 where PACKAGE can be gmp or smallgmp 902 All additional --enable and --with options are passed to subsequent calls 903 to configure of the packages to be built. See also configure --help in 904 these packages (resp. subdirs). 905 906 Some influential environment variables: 907 CC C compiler command 908 CFLAGS C compiler flags 909 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a 910 nonstandard directory <lib dir> 911 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have 912 headers in a nonstandard directory <include dir> 913 CPP C preprocessor 914 CXX C++ compiler command 915 CXXFLAGS C++ compiler flags 916 917 Use these variables to override the choices made by `configure' or to help 918 it to find libraries and programs with nonstandard names/locations. 919 920 _ACEOF 921 fi 922 923 if test "$ac_init_help" = "recursive"; then 924 # If there are subdirs, report their specific --help. 925 ac_popdir=`pwd` 926 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 927 test -d $ac_dir || continue 928 ac_builddir=. 929 930 if test "$ac_dir" != .; then 931 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 932 # A "../" for each directory in $ac_dir_suffix. 933 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'` 934 else 935 ac_dir_suffix= ac_top_builddir= 936 fi 937 938 case $srcdir in 939 .) # No --srcdir option. We are building in place. 940 ac_srcdir=. 941 if test -z "$ac_top_builddir"; then 942 ac_top_srcdir=. 943 else 944 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'` 945 fi ;; 946 [\\/]* | ?:[\\/]* ) # Absolute path. 947 ac_srcdir=$srcdir$ac_dir_suffix; 948 ac_top_srcdir=$srcdir ;; 949 *) # Relative path. 950 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix 951 ac_top_srcdir=$ac_top_builddir$srcdir ;; 952 esac 953 954 # Do not use `cd foo && pwd` to compute absolute paths, because 955 # the directories may not exist. 956 case `pwd` in 957 .) ac_abs_builddir="$ac_dir";; 958 *) 959 case "$ac_dir" in 960 .) ac_abs_builddir=`pwd`;; 961 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";; 962 *) ac_abs_builddir=`pwd`/"$ac_dir";; 963 esac;; 964 esac 965 case $ac_abs_builddir in 966 .) ac_abs_top_builddir=${ac_top_builddir}.;; 967 *) 968 case ${ac_top_builddir}. in 969 .) ac_abs_top_builddir=$ac_abs_builddir;; 970 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;; 971 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;; 972 esac;; 973 esac 974 case $ac_abs_builddir in 975 .) ac_abs_srcdir=$ac_srcdir;; 976 *) 977 case $ac_srcdir in 978 .) ac_abs_srcdir=$ac_abs_builddir;; 979 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;; 980 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;; 981 esac;; 982 esac 983 case $ac_abs_builddir in 984 .) ac_abs_top_srcdir=$ac_top_srcdir;; 985 *) 986 case $ac_top_srcdir in 987 .) ac_abs_top_srcdir=$ac_abs_builddir;; 988 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;; 989 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;; 990 esac;; 991 esac 992 993 cd $ac_dir 994 # Check for guested configure; otherwise get Cygnus style configure. 995 if test -f $ac_srcdir/configure.gnu; then 996 echo 997 $SHELL $ac_srcdir/configure.gnu --help=recursive 998 elif test -f $ac_srcdir/configure; then 999 echo 1000 $SHELL $ac_srcdir/configure --help=recursive 1001 elif test -f $ac_srcdir/configure.ac || 1002 test -f $ac_srcdir/configure.in; then 1003 echo 1004 $ac_configure --help 1005 else 1006 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1007 fi 1008 cd $ac_popdir 1009 done 1010 fi 1011 1012 test -n "$ac_init_help" && exit 0 1013 if $ac_init_version; then 1014 cat <<\_ACEOF 1015 1016 Copyright (C) 2003 Free Software Foundation, Inc. 1017 This configure script is free software; the Free Software Foundation 1018 gives unlimited permission to copy, distribute and modify it. 1019 _ACEOF 1020 exit 0 1021 fi 1022 exec 5>config.log 1023 cat >&5 <<_ACEOF 1024 This file contains any messages produced by compilers while 1025 running configure, to aid debugging if configure makes a mistake. 1026 1027 It was created by $as_me, which was 1028 generated by GNU Autoconf 2.59. Invocation command line was 1029 1030 $ $0 $@ 1031 1032 _ACEOF 1033 { 1034 cat <<_ASUNAME 1035 ## --------- ## 1036 ## Platform. ## 1037 ## --------- ## 1038 1039 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q` 1040 uname -m = `(uname -m) 2>/dev/null || echo unknown` 1041 uname -r = `(uname -r) 2>/dev/null || echo unknown` 1042 uname -s = `(uname -s) 2>/dev/null || echo unknown` 1043 uname -v = `(uname -v) 2>/dev/null || echo unknown` 1044 1045 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown` 1046 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown` 1047 1048 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown` 1049 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown` 1050 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown` 1051 hostinfo = `(hostinfo) 2>/dev/null || echo unknown` 1052 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown` 1053 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown` 1054 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown` 1055 1056 _ASUNAME 1057 1058 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1059 for as_dir in $PATH 1060 do 1061 IFS=$as_save_IFS 1062 test -z "$as_dir" && as_dir=. 1063 echo "PATH: $as_dir" 1064 done 1065 1066 } >&5 1067 1068 cat >&5 <<_ACEOF 1069 1070 1071 ## ----------- ## 1072 ## Core tests. ## 1073 ## ----------- ## 1074 1075 _ACEOF 1076 1077 1078 # Keep a trace of the command line. 1079 # Strip out --no-create and --no-recursion so they do not pile up. 1080 # Strip out --silent because we don't want to record it for future runs. 1081 # Also quote any args containing shell meta-characters. 1082 # Make two passes to allow for proper duplicate-argument suppression. 1083 ac_configure_args= 1084 ac_configure_args0= 1085 ac_configure_args1= 1086 ac_sep= 1087 ac_must_keep_next=false 1088 for ac_pass in 1 2 1089 do 1090 for ac_arg 1091 do 1092 case $ac_arg in 1093 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1094 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1095 | -silent | --silent | --silen | --sile | --sil) 1096 continue ;; 1097 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1098 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1099 esac 1100 case $ac_pass in 1101 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1102 2) 1103 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1104 if test $ac_must_keep_next = true; then 1105 ac_must_keep_next=false # Got value, back to normal. 1106 else 1107 case $ac_arg in 1108 *=* | --config-cache | -C | -disable-* | --disable-* \ 1109 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \ 1110 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \ 1111 | -with-* | --with-* | -without-* | --without-* | --x) 1112 case "$ac_configure_args0 " in 1113 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;; 1114 esac 1115 ;; 1116 -* ) ac_must_keep_next=true ;; 1117 esac 1118 fi 1119 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'" 1120 # Get rid of the leading space. 1121 ac_sep=" " 1122 ;; 1123 esac 1124 done 1125 done 1126 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1127 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; } 1128 1129 # When interrupted or exit'd, cleanup temporary files, and complete 1130 # config.log. We remove comments because anyway the quotes in there 1131 # would cause problems or look ugly. 1132 # WARNING: Be sure not to use single quotes in there, as some shells, 1133 # such as our DU 5.0 friend, will then `close' the trap. 1134 trap 'exit_status=$? 1135 # Save into config.log some information that might help in debugging. 1136 { 1137 echo 1138 1139 cat <<\_ASBOX 1140 ## ---------------- ## 1141 ## Cache variables. ## 1142 ## ---------------- ## 1143 _ASBOX 1144 echo 1145 # The following way of writing the cache mishandles newlines in values, 1146 { 1147 (set) 2>&1 | 1148 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in 1149 *ac_space=\ *) 1150 sed -n \ 1151 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g; 1152 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p" 1153 ;; 1154 *) 1155 sed -n \ 1156 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p" 1157 ;; 1158 esac; 1159 } 1160 echo 1161 1162 cat <<\_ASBOX 1163 ## ----------------- ## 1164 ## Output variables. ## 1165 ## ----------------- ## 1166 _ASBOX 1167 echo 1168 for ac_var in $ac_subst_vars 1169 do 1170 eval ac_val=$`echo $ac_var` 1171 echo "$ac_var='"'"'$ac_val'"'"'" 1172 done | sort 1173 echo 1174 1175 if test -n "$ac_subst_files"; then 1176 cat <<\_ASBOX 1177 ## ------------- ## 1178 ## Output files. ## 1179 ## ------------- ## 1180 _ASBOX 1181 echo 1182 for ac_var in $ac_subst_files 1183 do 1184 eval ac_val=$`echo $ac_var` 1185 echo "$ac_var='"'"'$ac_val'"'"'" 1186 done | sort 1187 echo 1188 fi 1189 1190 if test -s confdefs.h; then 1191 cat <<\_ASBOX 1192 ## ----------- ## 1193 ## confdefs.h. ## 1194 ## ----------- ## 1195 _ASBOX 1196 echo 1197 sed "/^$/d" confdefs.h | sort 1198 echo 1199 fi 1200 test "$ac_signal" != 0 && 1201 echo "$as_me: caught signal $ac_signal" 1202 echo "$as_me: exit $exit_status" 1203 } >&5 1204 rm -f core *.core && 1205 rm -rf conftest* confdefs* conf$$* $ac_clean_files && 1206 exit $exit_status 1207 ' 0 1208 for ac_signal in 1 2 13 15; do 1209 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1210 done 1211 ac_signal=0 1212 1213 # confdefs.h avoids OS command line length limits that DEFS can exceed. 1214 rm -rf conftest* confdefs.h 1215 # AIX cpp loses on an empty file, so make sure it contains at least a newline. 1216 echo >confdefs.h 1217 1218 # Predefined preprocessor variables. 1219 1220 cat >>confdefs.h <<_ACEOF 1221 #define PACKAGE_NAME "$PACKAGE_NAME" 1222 _ACEOF 1223 1224 1225 cat >>confdefs.h <<_ACEOF 1226 #define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1227 _ACEOF 1228 1229 1230 cat >>confdefs.h <<_ACEOF 1231 #define PACKAGE_VERSION "$PACKAGE_VERSION" 1232 _ACEOF 1233 1234 1235 cat >>confdefs.h <<_ACEOF 1236 #define PACKAGE_STRING "$PACKAGE_STRING" 1237 _ACEOF 1238 1239 1240 cat >>confdefs.h <<_ACEOF 1241 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1242 _ACEOF 1243 1244 1245 # Let the site file select an alternate cache file if it wants to. 547 1246 # Prefer explicitly selected file to automatically selected ones. 548 1247 if test -z "$CONFIG_SITE"; then … … 555 1254 for ac_site_file in $CONFIG_SITE; do 556 1255 if test -r "$ac_site_file"; then 557 echo "loading site script $ac_site_file" 1256 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1257 echo "$as_me: loading site script $ac_site_file" >&6;} 1258 sed 's/^/| /' "$ac_site_file" >&5 558 1259 . "$ac_site_file" 559 1260 fi … … 561 1262 562 1263 if test -r "$cache_file"; then 563 echo "loading cache $cache_file" 564 . $cache_file 565 else 566 echo "creating cache $cache_file" 567 > $cache_file 1264 # Some versions of bash will fail to source /dev/null (special 1265 # files actually), so we avoid doing that. 1266 if test -f "$cache_file"; then 1267 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1268 echo "$as_me: loading cache $cache_file" >&6;} 1269 case $cache_file in 1270 [\\/]* | ?:[\\/]* ) . $cache_file;; 1271 *) . ./$cache_file;; 1272 esac 1273 fi 1274 else 1275 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1276 echo "$as_me: creating cache $cache_file" >&6;} 1277 >$cache_file 1278 fi 1279 1280 # Check that the precious variables saved in the cache have kept the same 1281 # value. 1282 ac_cache_corrupted=false 1283 for ac_var in `(set) 2>&1 | 1284 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do 1285 eval ac_old_set=\$ac_cv_env_${ac_var}_set 1286 eval ac_new_set=\$ac_env_${ac_var}_set 1287 eval ac_old_val="\$ac_cv_env_${ac_var}_value" 1288 eval ac_new_val="\$ac_env_${ac_var}_value" 1289 case $ac_old_set,$ac_new_set in 1290 set,) 1291 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1292 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;} 1293 ac_cache_corrupted=: ;; 1294 ,set) 1295 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1296 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;} 1297 ac_cache_corrupted=: ;; 1298 ,);; 1299 *) 1300 if test "x$ac_old_val" != "x$ac_new_val"; then 1301 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5 1302 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;} 1303 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5 1304 echo "$as_me: former value: $ac_old_val" >&2;} 1305 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5 1306 echo "$as_me: current value: $ac_new_val" >&2;} 1307 ac_cache_corrupted=: 1308 fi;; 1309 esac 1310 # Pass precious variables to config.status. 1311 if test "$ac_new_set" = set; then 1312 case $ac_new_val in 1313 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*) 1314 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1315 *) ac_arg=$ac_var=$ac_new_val ;; 1316 esac 1317 case " $ac_configure_args " in 1318 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1319 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1320 esac 1321 fi 1322 done 1323 if $ac_cache_corrupted; then 1324 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1325 echo "$as_me: error: changes in the environment can compromise the build" >&2;} 1326 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5 1327 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;} 1328 { (exit 1); exit 1; }; } 568 1329 fi 569 1330 570 1331 ac_ext=c 571 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.572 1332 ac_cpp='$CPP $CPPFLAGS' 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 1333 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1334 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1335 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 590 1353 591 1354 … … 593 1356 pwd=`pwd` 594 1357 595 # make them to env variables 1358 # make them to env variables 596 1359 # pass them indirectly to subsequent configures 597 1360 SINGULAR_MAJOR_VERSION=2 … … 642 1405 643 1406 644 echo $ac_n "checking uname for singular""... $ac_c" 1>&6645 echo "configure:646: checking uname for singular" >&5646 if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then647 echo $ ac_n "(cached) $ac_c" 1>&61407 echo "$as_me:$LINENO: checking uname for singular" >&5 1408 echo $ECHO_N "checking uname for singular... $ECHO_C" >&6 1409 if test "${ac_cv_singuname+set}" = set; then 1410 echo $ECHO_N "(cached) $ECHO_C" >&6 648 1411 else 649 1412 ac_cv_singuname="unknown" … … 656 1419 fi 657 1420 658 echo "$ac_t""$ac_cv_singuname" 1>&6 1421 echo "$as_me:$LINENO: result: $ac_cv_singuname" >&5 1422 echo "${ECHO_T}$ac_cv_singuname" >&6 659 1423 if test "$ac_cv_singuname" = unknown; then 660 { echo "configure: error: Unknown architecture: Check singuname.sh" 1>&2; exit 1; } 1424 { { echo "$as_me:$LINENO: error: Unknown architecture: Check singuname.sh" >&5 1425 echo "$as_me: error: Unknown architecture: Check singuname.sh" >&2;} 1426 { (exit 1); exit 1; }; } 661 1427 else 662 1428 SINGUNAME=$ac_cv_singuname 663 1429 664 1430 fi 665 1431 … … 668 1434 669 1435 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 1436 ac_ext=c 1437 ac_cpp='$CPP $CPPFLAGS' 1438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1440 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1441 if test -n "$ac_tool_prefix"; then 1442 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args. 1443 set dummy ${ac_tool_prefix}gcc; ac_word=$2 1444 echo "$as_me:$LINENO: checking for $ac_word" >&5 1445 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1446 if test "${ac_cv_prog_CC+set}" = set; then 1447 echo $ECHO_N "(cached) $ECHO_C" >&6 676 1448 else 677 1449 if test -n "$CC"; then 678 1450 ac_cv_prog_CC="$CC" # Let the user override the test. 679 1451 else 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" 1452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1453 for as_dir in $PATH 1454 do 1455 IFS=$as_save_IFS 1456 test -z "$as_dir" && as_dir=. 1457 for ac_exec_ext in '' $ac_executable_extensions; do 1458 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1459 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1460 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1461 break 2 1462 fi 1463 done 1464 done 1465 1466 fi 1467 fi 1468 CC=$ac_cv_prog_CC 693 1469 if test -n "$CC"; then 694 echo "$ac_t""$CC" 1>&6 695 else 696 echo "$ac_t""no" 1>&6 697 fi 698 1470 echo "$as_me:$LINENO: result: $CC" >&5 1471 echo "${ECHO_T}$CC" >&6 1472 else 1473 echo "$as_me:$LINENO: result: no" >&5 1474 echo "${ECHO_T}no" >&6 1475 fi 1476 1477 fi 1478 if test -z "$ac_cv_prog_CC"; then 1479 ac_ct_CC=$CC 1480 # Extract the first word of "gcc", so it can be a program name with args. 1481 set dummy gcc; ac_word=$2 1482 echo "$as_me:$LINENO: checking for $ac_word" >&5 1483 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1484 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1485 echo $ECHO_N "(cached) $ECHO_C" >&6 1486 else 1487 if test -n "$ac_ct_CC"; then 1488 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1489 else 1490 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1491 for as_dir in $PATH 1492 do 1493 IFS=$as_save_IFS 1494 test -z "$as_dir" && as_dir=. 1495 for ac_exec_ext in '' $ac_executable_extensions; do 1496 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1497 ac_cv_prog_ac_ct_CC="gcc" 1498 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1499 break 2 1500 fi 1501 done 1502 done 1503 1504 fi 1505 fi 1506 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1507 if test -n "$ac_ct_CC"; then 1508 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1509 echo "${ECHO_T}$ac_ct_CC" >&6 1510 else 1511 echo "$as_me:$LINENO: result: no" >&5 1512 echo "${ECHO_T}no" >&6 1513 fi 1514 1515 CC=$ac_ct_CC 1516 else 1517 CC="$ac_cv_prog_CC" 1518 fi 1519 1520 if test -z "$CC"; then 1521 if test -n "$ac_tool_prefix"; then 1522 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args. 1523 set dummy ${ac_tool_prefix}cc; ac_word=$2 1524 echo "$as_me:$LINENO: checking for $ac_word" >&5 1525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1526 if test "${ac_cv_prog_CC+set}" = set; then 1527 echo $ECHO_N "(cached) $ECHO_C" >&6 1528 else 1529 if test -n "$CC"; then 1530 ac_cv_prog_CC="$CC" # Let the user override the test. 1531 else 1532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1533 for as_dir in $PATH 1534 do 1535 IFS=$as_save_IFS 1536 test -z "$as_dir" && as_dir=. 1537 for ac_exec_ext in '' $ac_executable_extensions; do 1538 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1539 ac_cv_prog_CC="${ac_tool_prefix}cc" 1540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1541 break 2 1542 fi 1543 done 1544 done 1545 1546 fi 1547 fi 1548 CC=$ac_cv_prog_CC 1549 if test -n "$CC"; then 1550 echo "$as_me:$LINENO: result: $CC" >&5 1551 echo "${ECHO_T}$CC" >&6 1552 else 1553 echo "$as_me:$LINENO: result: no" >&5 1554 echo "${ECHO_T}no" >&6 1555 fi 1556 1557 fi 1558 if test -z "$ac_cv_prog_CC"; then 1559 ac_ct_CC=$CC 1560 # Extract the first word of "cc", so it can be a program name with args. 1561 set dummy cc; ac_word=$2 1562 echo "$as_me:$LINENO: checking for $ac_word" >&5 1563 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1564 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1565 echo $ECHO_N "(cached) $ECHO_C" >&6 1566 else 1567 if test -n "$ac_ct_CC"; then 1568 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1569 else 1570 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1571 for as_dir in $PATH 1572 do 1573 IFS=$as_save_IFS 1574 test -z "$as_dir" && as_dir=. 1575 for ac_exec_ext in '' $ac_executable_extensions; do 1576 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1577 ac_cv_prog_ac_ct_CC="cc" 1578 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1579 break 2 1580 fi 1581 done 1582 done 1583 1584 fi 1585 fi 1586 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1587 if test -n "$ac_ct_CC"; then 1588 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1589 echo "${ECHO_T}$ac_ct_CC" >&6 1590 else 1591 echo "$as_me:$LINENO: result: no" >&5 1592 echo "${ECHO_T}no" >&6 1593 fi 1594 1595 CC=$ac_ct_CC 1596 else 1597 CC="$ac_cv_prog_CC" 1598 fi 1599 1600 fi 699 1601 if test -z "$CC"; then 700 1602 # Extract the first word of "cc", so it can be a program name with args. 701 1603 set dummy cc; ac_word=$2 702 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6703 echo "configure:704: checking for $ac_word" >&5704 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then705 echo $ ac_n "(cached) $ac_c" 1>&61604 echo "$as_me:$LINENO: checking for $ac_word" >&5 1605 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1606 if test "${ac_cv_prog_CC+set}" = set; then 1607 echo $ECHO_N "(cached) $ECHO_C" >&6 706 1608 else 707 1609 if test -n "$CC"; then 708 1610 ac_cv_prog_CC="$CC" # Let the user override the test. 709 1611 else 710 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"711 1612 ac_prog_rejected=no 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" 1613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1614 for as_dir in $PATH 1615 do 1616 IFS=$as_save_IFS 1617 test -z "$as_dir" && as_dir=. 1618 for ac_exec_ext in '' $ac_executable_extensions; do 1619 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1620 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1621 ac_prog_rejected=yes 1622 continue 1623 fi 1624 ac_cv_prog_CC="cc" 1625 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1626 break 2 1627 fi 1628 done 1629 done 1630 725 1631 if test $ac_prog_rejected = yes; then 726 1632 # We found a bogon in the path, so make sure we never use it. 727 1633 set dummy $ac_cv_prog_CC 728 1634 shift 729 if test $# -gt0; then1635 if test $# != 0; then 730 1636 # We chose a different compiler from the bogus one. 731 1637 # However, it has the same basename, so the bogon will be chosen 732 1638 # first if we set CC to just the basename; use the full file name. 733 1639 shift 734 set dummy "$ac_dir/$ac_word" "$@" 735 shift 736 ac_cv_prog_CC="$@" 737 fi 738 fi 739 fi 740 fi 741 CC="$ac_cv_prog_CC" 1640 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@" 1641 fi 1642 fi 1643 fi 1644 fi 1645 CC=$ac_cv_prog_CC 742 1646 if test -n "$CC"; then 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 1647 echo "$as_me:$LINENO: result: $CC" >&5 1648 echo "${ECHO_T}$CC" >&6 1649 else 1650 echo "$as_me:$LINENO: result: no" >&5 1651 echo "${ECHO_T}no" >&6 1652 fi 1653 1654 fi 1655 if test -z "$CC"; then 1656 if test -n "$ac_tool_prefix"; then 1657 for ac_prog in cl 1658 do 1659 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1660 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 1661 echo "$as_me:$LINENO: checking for $ac_word" >&5 1662 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1663 if test "${ac_cv_prog_CC+set}" = set; then 1664 echo $ECHO_N "(cached) $ECHO_C" >&6 757 1665 else 758 1666 if test -n "$CC"; then 759 1667 ac_cv_prog_CC="$CC" # Let the user override the test. 760 1668 else 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 1669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1670 for as_dir in $PATH 1671 do 1672 IFS=$as_save_IFS 1673 test -z "$as_dir" && as_dir=. 1674 for ac_exec_ext in '' $ac_executable_extensions; do 1675 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1676 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1677 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1678 break 2 1679 fi 1680 done 1681 done 1682 1683 fi 1684 fi 1685 CC=$ac_cv_prog_CC 1686 if test -n "$CC"; then 1687 echo "$as_me:$LINENO: result: $CC" >&5 1688 echo "${ECHO_T}$CC" >&6 1689 else 1690 echo "$as_me:$LINENO: result: no" >&5 1691 echo "${ECHO_T}no" >&6 1692 fi 1693 1694 test -n "$CC" && break 1695 done 1696 fi 1697 if test -z "$CC"; then 1698 ac_ct_CC=$CC 1699 for ac_prog in cl 1700 do 1701 # Extract the first word of "$ac_prog", so it can be a program name with args. 1702 set dummy $ac_prog; ac_word=$2 1703 echo "$as_me:$LINENO: checking for $ac_word" >&5 1704 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 1705 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1706 echo $ECHO_N "(cached) $ECHO_C" >&6 1707 else 1708 if test -n "$ac_ct_CC"; then 1709 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1710 else 1711 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1712 for as_dir in $PATH 1713 do 1714 IFS=$as_save_IFS 1715 test -z "$as_dir" && as_dir=. 1716 for ac_exec_ext in '' $ac_executable_extensions; do 1717 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 1718 ac_cv_prog_ac_ct_CC="$ac_prog" 1719 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1720 break 2 1721 fi 1722 done 1723 done 1724 1725 fi 1726 fi 1727 ac_ct_CC=$ac_cv_prog_ac_ct_CC 1728 if test -n "$ac_ct_CC"; then 1729 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1730 echo "${ECHO_T}$ac_ct_CC" >&6 1731 else 1732 echo "$as_me:$LINENO: result: no" >&5 1733 echo "${ECHO_T}no" >&6 1734 fi 1735 1736 test -n "$ac_ct_CC" && break 1737 done 1738 1739 CC=$ac_ct_CC 1740 fi 1741 1742 fi 1743 1744 1745 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 1746 See \`config.log' for more details." >&5 1747 echo "$as_me: error: no acceptable C compiler found in \$PATH 1748 See \`config.log' for more details." >&2;} 1749 { (exit 1); exit 1; }; } 1750 1751 # Provide some information about the compiler. 1752 echo "$as_me:$LINENO:" \ 1753 "checking for C compiler version" >&5 1754 ac_compiler=`set X $ac_compile; echo $2` 1755 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 1756 (eval $ac_compiler --version </dev/null >&5) 2>&5 1757 ac_status=$? 1758 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1759 (exit $ac_status); } 1760 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 1761 (eval $ac_compiler -v </dev/null >&5) 2>&5 1762 ac_status=$? 1763 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1764 (exit $ac_status); } 1765 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 1766 (eval $ac_compiler -V </dev/null >&5) 2>&5 1767 ac_status=$? 1768 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1769 (exit $ac_status); } 1770 1771 cat >conftest.$ac_ext <<_ACEOF 1772 /* confdefs.h. */ 1773 _ACEOF 1774 cat confdefs.h >>conftest.$ac_ext 1775 cat >>conftest.$ac_ext <<_ACEOF 1776 /* end confdefs.h. */ 1777 1778 int 1779 main () 1780 { 1781 1782 ; 1783 return 0; 1784 } 1785 _ACEOF 1786 ac_clean_files_save=$ac_clean_files 1787 ac_clean_files="$ac_clean_files a.out a.exe b.out" 1788 # Try to create an executable without -o first, disregard a.out. 1789 # It will help us diagnose broken compilers, and finding out an intuition 1790 # of exeext. 1791 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 1792 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6 1793 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 1794 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5 1795 (eval $ac_link_default) 2>&5 1796 ac_status=$? 1797 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1798 (exit $ac_status); }; then 1799 # Find the output, starting from the most likely. This scheme is 1800 # not robust to junk in `.', hence go to wildcards (a.*) only as a last 1801 # resort. 1802 1803 # Be careful to initialize this variable, since it used to be cached. 1804 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile. 1805 ac_cv_exeext= 1806 # b.out is created by i960 compilers. 1807 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out 1808 do 1809 test -f "$ac_file" || continue 1810 case $ac_file in 1811 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) 1812 ;; 1813 conftest.$ac_ext ) 1814 # This is the source file. 1815 ;; 1816 [ab].out ) 1817 # We found the default executable, but exeext='' is most 1818 # certainly right. 1819 break;; 1820 *.* ) 1821 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1822 # FIXME: I believe we export ac_cv_exeext for Libtool, 1823 # but it would be cool to find out if it's true. Does anybody 1824 # maintain Libtool? --akim. 1825 export ac_cv_exeext 1826 break;; 1827 * ) 1828 break;; 1829 esac 1830 done 1831 else 1832 echo "$as_me: failed program was:" >&5 1833 sed 's/^/| /' conftest.$ac_ext >&5 1834 1835 { { echo "$as_me:$LINENO: error: C compiler cannot create executables 1836 See \`config.log' for more details." >&5 1837 echo "$as_me: error: C compiler cannot create executables 1838 See \`config.log' for more details." >&2;} 1839 { (exit 77); exit 77; }; } 1840 fi 1841 1842 ac_exeext=$ac_cv_exeext 1843 echo "$as_me:$LINENO: result: $ac_file" >&5 1844 echo "${ECHO_T}$ac_file" >&6 1845 1846 # Check the compiler produces executables we can run. If not, either 1847 # the compiler is broken, or we cross compile. 1848 echo "$as_me:$LINENO: checking whether the C compiler works" >&5 1849 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6 1850 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0 1851 # If not cross compiling, check that we can run a simple program. 1852 if test "$cross_compiling" != yes; then 1853 if { ac_try='./$ac_file' 1854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 1855 (eval $ac_try) 2>&5 1856 ac_status=$? 1857 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1858 (exit $ac_status); }; }; then 1859 cross_compiling=no 1860 else 1861 if test "$cross_compiling" = maybe; then 1862 cross_compiling=yes 1863 else 1864 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 1865 If you meant to cross compile, use \`--host'. 1866 See \`config.log' for more details." >&5 1867 echo "$as_me: error: cannot run C compiled programs. 1868 If you meant to cross compile, use \`--host'. 1869 See \`config.log' for more details." >&2;} 1870 { (exit 1); exit 1; }; } 768 1871 fi 769 done 770 IFS="$ac_save_ifs" 771 fi 772 fi 773 CC="$ac_cv_prog_CC" 774 if test -n "$CC"; then 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" 798 #include "confdefs.h" 799 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; 1872 fi 1873 fi 1874 echo "$as_me:$LINENO: result: yes" >&5 1875 echo "${ECHO_T}yes" >&6 1876 1877 rm -f a.out a.exe conftest$ac_cv_exeext b.out 1878 ac_clean_files=$ac_clean_files_save 1879 # Check the compiler produces executables we can run. If not, either 1880 # the compiler is broken, or we cross compile. 1881 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 1882 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6 1883 echo "$as_me:$LINENO: result: $cross_compiling" >&5 1884 echo "${ECHO_T}$cross_compiling" >&6 1885 1886 echo "$as_me:$LINENO: checking for suffix of executables" >&5 1887 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6 1888 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 1889 (eval $ac_link) 2>&5 1890 ac_status=$? 1891 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1892 (exit $ac_status); }; then 1893 # If both `conftest.exe' and `conftest' are `present' (well, observable) 1894 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 1895 # work properly (i.e., refer to `conftest.exe'), while it won't with 1896 # `rm'. 1897 for ac_file in conftest.exe conftest conftest.*; do 1898 test -f "$ac_file" || continue 1899 case $ac_file in 1900 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;; 1901 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 1902 export ac_cv_exeext 1903 break;; 1904 * ) break;; 1905 esac 1906 done 1907 else 1908 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 1909 See \`config.log' for more details." >&5 1910 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 1911 See \`config.log' for more details." >&2;} 1912 { (exit 1); exit 1; }; } 1913 fi 1914 1915 rm -f conftest$ac_cv_exeext 1916 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 1917 echo "${ECHO_T}$ac_cv_exeext" >&6 1918 1919 rm -f conftest.$ac_ext 1920 EXEEXT=$ac_cv_exeext 1921 ac_exeext=$EXEEXT 1922 echo "$as_me:$LINENO: checking for suffix of object files" >&5 1923 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6 1924 if test "${ac_cv_objext+set}" = set; then 1925 echo $ECHO_N "(cached) $ECHO_C" >&6 1926 else 1927 cat >conftest.$ac_ext <<_ACEOF 1928 /* confdefs.h. */ 1929 _ACEOF 1930 cat confdefs.h >>conftest.$ac_ext 1931 cat >>conftest.$ac_ext <<_ACEOF 1932 /* end confdefs.h. */ 1933 1934 int 1935 main () 1936 { 1937 1938 ; 1939 return 0; 1940 } 1941 _ACEOF 1942 rm -f conftest.o conftest.obj 1943 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1944 (eval $ac_compile) 2>&5 1945 ac_status=$? 1946 echo "$as_me:$LINENO: \$? = $ac_status" >&5 1947 (exit $ac_status); }; then 1948 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do 1949 case $ac_file in 1950 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;; 1951 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 1952 break;; 1953 esac 1954 done 1955 else 1956 echo "$as_me: failed program was:" >&5 1957 sed 's/^/| /' conftest.$ac_ext >&5 1958 1959 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 1960 See \`config.log' for more details." >&5 1961 echo "$as_me: error: cannot compute suffix of object files: cannot compile 1962 See \`config.log' for more details." >&2;} 1963 { (exit 1); exit 1; }; } 1964 fi 1965 1966 rm -f conftest.$ac_cv_objext conftest.$ac_ext 1967 fi 1968 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 1969 echo "${ECHO_T}$ac_cv_objext" >&6 1970 OBJEXT=$ac_cv_objext 1971 ac_objext=$OBJEXT 1972 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 1973 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6 1974 if test "${ac_cv_c_compiler_gnu+set}" = set; then 1975 echo $ECHO_N "(cached) $ECHO_C" >&6 1976 else 1977 cat >conftest.$ac_ext <<_ACEOF 1978 /* confdefs.h. */ 1979 _ACEOF 1980 cat confdefs.h >>conftest.$ac_ext 1981 cat >>conftest.$ac_ext <<_ACEOF 1982 /* end confdefs.h. */ 1983 1984 int 1985 main () 1986 { 1987 #ifndef __GNUC__ 1988 choke me 840 1989 #endif 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 1990 1991 ; 1992 return 0; 1993 } 1994 _ACEOF 1995 rm -f conftest.$ac_objext 1996 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 1997 (eval $ac_compile) 2>conftest.er1 1998 ac_status=$? 1999 grep -v '^ *+' conftest.er1 >conftest.err 2000 rm -f conftest.er1 2001 cat conftest.err >&5 2002 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2003 (exit $ac_status); } && 2004 { ac_try='test -z "$ac_c_werror_flag" 2005 || test ! -s conftest.err' 2006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2007 (eval $ac_try) 2>&5 2008 ac_status=$? 2009 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2010 (exit $ac_status); }; } && 2011 { ac_try='test -s conftest.$ac_objext' 2012 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2013 (eval $ac_try) 2>&5 2014 ac_status=$? 2015 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2016 (exit $ac_status); }; }; then 2017 ac_compiler_gnu=yes 2018 else 2019 echo "$as_me: failed program was:" >&5 2020 sed 's/^/| /' conftest.$ac_ext >&5 2021 2022 ac_compiler_gnu=no 2023 fi 2024 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2025 ac_cv_c_compiler_gnu=$ac_compiler_gnu 2026 2027 fi 2028 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2029 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6 2030 GCC=`test $ac_compiler_gnu = yes && echo yes` 2031 ac_test_CFLAGS=${CFLAGS+set} 2032 ac_save_CFLAGS=$CFLAGS 2033 CFLAGS="-g" 2034 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2035 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6 2036 if test "${ac_cv_prog_cc_g+set}" = set; then 2037 echo $ECHO_N "(cached) $ECHO_C" >&6 2038 else 2039 cat >conftest.$ac_ext <<_ACEOF 2040 /* confdefs.h. */ 2041 _ACEOF 2042 cat confdefs.h >>conftest.$ac_ext 2043 cat >>conftest.$ac_ext <<_ACEOF 2044 /* end confdefs.h. */ 2045 2046 int 2047 main () 2048 { 2049 2050 ; 2051 return 0; 2052 } 2053 _ACEOF 2054 rm -f conftest.$ac_objext 2055 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2056 (eval $ac_compile) 2>conftest.er1 2057 ac_status=$? 2058 grep -v '^ *+' conftest.er1 >conftest.err 2059 rm -f conftest.er1 2060 cat conftest.err >&5 2061 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2062 (exit $ac_status); } && 2063 { ac_try='test -z "$ac_c_werror_flag" 2064 || test ! -s conftest.err' 2065 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2066 (eval $ac_try) 2>&5 2067 ac_status=$? 2068 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2069 (exit $ac_status); }; } && 2070 { ac_try='test -s conftest.$ac_objext' 2071 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2072 (eval $ac_try) 2>&5 2073 ac_status=$? 2074 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2075 (exit $ac_status); }; }; then 867 2076 ac_cv_prog_cc_g=yes 868 2077 else 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 2078 echo "$as_me: failed program was:" >&5 2079 sed 's/^/| /' conftest.$ac_ext >&5 2080 2081 ac_cv_prog_cc_g=no 2082 fi 2083 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2084 fi 2085 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2086 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6 876 2087 if test "$ac_test_CFLAGS" = set; then 877 CFLAGS= "$ac_save_CFLAGS"2088 CFLAGS=$ac_save_CFLAGS 878 2089 elif test $ac_cv_prog_cc_g = yes; then 879 2090 if test "$GCC" = yes; then … … 889 2100 fi 890 2101 fi 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 2102 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5 2103 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6 2104 if test "${ac_cv_prog_cc_stdc+set}" = set; then 2105 echo $ECHO_N "(cached) $ECHO_C" >&6 2106 else 2107 ac_cv_prog_cc_stdc=no 2108 ac_save_CC=$CC 2109 cat >conftest.$ac_ext <<_ACEOF 2110 /* confdefs.h. */ 2111 _ACEOF 2112 cat confdefs.h >>conftest.$ac_ext 2113 cat >>conftest.$ac_ext <<_ACEOF 2114 /* end confdefs.h. */ 2115 #include <stdarg.h> 2116 #include <stdio.h> 2117 #include <sys/types.h> 2118 #include <sys/stat.h> 2119 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */ 2120 struct buf { int x; }; 2121 FILE * (*rcsopen) (struct buf *, struct stat *, int); 2122 static char *e (p, i) 2123 char **p; 2124 int i; 2125 { 2126 return p[i]; 2127 } 2128 static char *f (char * (*g) (char **, int), char **p, ...) 2129 { 2130 char *s; 2131 va_list v; 2132 va_start (v,p); 2133 s = g (p, va_arg (v,int)); 2134 va_end (v); 2135 return s; 2136 } 2137 2138 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has 2139 function prototypes and stuff, but not '\xHH' hex character constants. 2140 These don't provoke an error unfortunately, instead are silently treated 2141 as 'x'. The following induces an error, until -std1 is added to get 2142 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an 2143 array size at least. It's necessary to write '\x00'==0 to get something 2144 that's true only with -std1. */ 2145 int osf4_cc_array ['\x00' == 0 ? 1 : -1]; 2146 2147 int test (int i, double x); 2148 struct s1 {int (*f) (int a);}; 2149 struct s2 {int (*f) (double a);}; 2150 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int); 2151 int argc; 2152 char **argv; 2153 int 2154 main () 2155 { 2156 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]; 2157 ; 2158 return 0; 2159 } 2160 _ACEOF 2161 # Don't try gcc -ansi; that turns off useful extensions and 2162 # breaks some systems' header files. 2163 # AIX -qlanglvl=ansi 2164 # Ultrix and OSF/1 -std1 2165 # HP-UX 10.20 and later -Ae 2166 # HP-UX older versions -Aa -D_HPUX_SOURCE 2167 # SVR4 -Xc -D__EXTENSIONS__ 2168 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2169 do 2170 CC="$ac_save_CC $ac_arg" 2171 rm -f conftest.$ac_objext 2172 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2173 (eval $ac_compile) 2>conftest.er1 2174 ac_status=$? 2175 grep -v '^ *+' conftest.er1 >conftest.err 2176 rm -f conftest.er1 2177 cat conftest.err >&5 2178 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2179 (exit $ac_status); } && 2180 { ac_try='test -z "$ac_c_werror_flag" 2181 || test ! -s conftest.err' 2182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2183 (eval $ac_try) 2>&5 2184 ac_status=$? 2185 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2186 (exit $ac_status); }; } && 2187 { ac_try='test -s conftest.$ac_objext' 2188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2189 (eval $ac_try) 2>&5 2190 ac_status=$? 2191 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2192 (exit $ac_status); }; }; then 2193 ac_cv_prog_cc_stdc=$ac_arg 2194 break 2195 else 2196 echo "$as_me: failed program was:" >&5 2197 sed 's/^/| /' conftest.$ac_ext >&5 2198 2199 fi 2200 rm -f conftest.err conftest.$ac_objext 2201 done 2202 rm -f conftest.$ac_ext conftest.$ac_objext 2203 CC=$ac_save_CC 2204 2205 fi 2206 2207 case "x$ac_cv_prog_cc_stdc" in 2208 x|xno) 2209 echo "$as_me:$LINENO: result: none needed" >&5 2210 echo "${ECHO_T}none needed" >&6 ;; 2211 *) 2212 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5 2213 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6 2214 CC="$CC $ac_cv_prog_cc_stdc" ;; 2215 esac 2216 2217 # Some people use a C++ compiler to compile C. Since we use `exit', 2218 # in C++ we need to declare it. In case someone uses the same compiler 2219 # for both compiling C and C++ we need to have the C++ compiler decide 2220 # the declaration of exit, since it's the most demanding environment. 2221 cat >conftest.$ac_ext <<_ACEOF 2222 #ifndef __cplusplus 2223 choke me 2224 #endif 2225 _ACEOF 2226 rm -f conftest.$ac_objext 2227 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2228 (eval $ac_compile) 2>conftest.er1 2229 ac_status=$? 2230 grep -v '^ *+' conftest.er1 >conftest.err 2231 rm -f conftest.er1 2232 cat conftest.err >&5 2233 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2234 (exit $ac_status); } && 2235 { ac_try='test -z "$ac_c_werror_flag" 2236 || test ! -s conftest.err' 2237 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2238 (eval $ac_try) 2>&5 2239 ac_status=$? 2240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2241 (exit $ac_status); }; } && 2242 { ac_try='test -s conftest.$ac_objext' 2243 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2244 (eval $ac_try) 2>&5 2245 ac_status=$? 2246 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2247 (exit $ac_status); }; }; then 2248 for ac_declaration in \ 2249 '' \ 2250 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2251 'extern "C" void std::exit (int); using std::exit;' \ 2252 'extern "C" void exit (int) throw ();' \ 2253 'extern "C" void exit (int);' \ 2254 'void exit (int);' 2255 do 2256 cat >conftest.$ac_ext <<_ACEOF 2257 /* confdefs.h. */ 2258 _ACEOF 2259 cat confdefs.h >>conftest.$ac_ext 2260 cat >>conftest.$ac_ext <<_ACEOF 2261 /* end confdefs.h. */ 2262 $ac_declaration 2263 #include <stdlib.h> 2264 int 2265 main () 2266 { 2267 exit (42); 2268 ; 2269 return 0; 2270 } 2271 _ACEOF 2272 rm -f conftest.$ac_objext 2273 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2274 (eval $ac_compile) 2>conftest.er1 2275 ac_status=$? 2276 grep -v '^ *+' conftest.er1 >conftest.err 2277 rm -f conftest.er1 2278 cat conftest.err >&5 2279 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2280 (exit $ac_status); } && 2281 { ac_try='test -z "$ac_c_werror_flag" 2282 || test ! -s conftest.err' 2283 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2284 (eval $ac_try) 2>&5 2285 ac_status=$? 2286 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2287 (exit $ac_status); }; } && 2288 { ac_try='test -s conftest.$ac_objext' 2289 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2290 (eval $ac_try) 2>&5 2291 ac_status=$? 2292 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2293 (exit $ac_status); }; }; then 2294 : 2295 else 2296 echo "$as_me: failed program was:" >&5 2297 sed 's/^/| /' conftest.$ac_ext >&5 2298 2299 continue 2300 fi 2301 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2302 cat >conftest.$ac_ext <<_ACEOF 2303 /* confdefs.h. */ 2304 _ACEOF 2305 cat confdefs.h >>conftest.$ac_ext 2306 cat >>conftest.$ac_ext <<_ACEOF 2307 /* end confdefs.h. */ 2308 $ac_declaration 2309 int 2310 main () 2311 { 2312 exit (42); 2313 ; 2314 return 0; 2315 } 2316 _ACEOF 2317 rm -f conftest.$ac_objext 2318 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2319 (eval $ac_compile) 2>conftest.er1 2320 ac_status=$? 2321 grep -v '^ *+' conftest.er1 >conftest.err 2322 rm -f conftest.er1 2323 cat conftest.err >&5 2324 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2325 (exit $ac_status); } && 2326 { ac_try='test -z "$ac_c_werror_flag" 2327 || test ! -s conftest.err' 2328 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2329 (eval $ac_try) 2>&5 2330 ac_status=$? 2331 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2332 (exit $ac_status); }; } && 2333 { ac_try='test -s conftest.$ac_objext' 2334 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2335 (eval $ac_try) 2>&5 2336 ac_status=$? 2337 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2338 (exit $ac_status); }; }; then 2339 break 2340 else 2341 echo "$as_me: failed program was:" >&5 2342 sed 's/^/| /' conftest.$ac_ext >&5 2343 2344 fi 2345 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2346 done 2347 rm -f conftest* 2348 if test -n "$ac_declaration"; then 2349 echo '#ifdef __cplusplus' >>confdefs.h 2350 echo $ac_declaration >>confdefs.h 2351 echo '#endif' >>confdefs.h 2352 fi 2353 2354 else 2355 echo "$as_me: failed program was:" >&5 2356 sed 's/^/| /' conftest.$ac_ext >&5 2357 2358 fi 2359 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2360 ac_ext=c 2361 ac_cpp='$CPP $CPPFLAGS' 2362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2364 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2365 2366 ac_ext=c 2367 ac_cpp='$CPP $CPPFLAGS' 2368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2370 ac_compiler_gnu=$ac_cv_c_compiler_gnu 2371 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5 2372 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6 894 2373 # On Suns, sometimes $CPP names a directory. 895 2374 if test -n "$CPP" && test -d "$CPP"; then … … 897 2376 fi 898 2377 if test -z "$CPP"; then 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" 2378 if test "${ac_cv_prog_CPP+set}" = set; then 2379 echo $ECHO_N "(cached) $ECHO_C" >&6 2380 else 2381 # Double quotes because CPP needs to be expanded 2382 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp" 2383 do 2384 ac_preproc_ok=false 2385 for ac_c_preproc_warn_flag in '' yes 2386 do 2387 # Use a header file that comes with gcc, so configuring glibc 2388 # with a fresh cross-compiler works. 2389 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2390 # <limits.h> exists even on freestanding compilers. 905 2391 # On the NeXT, cc -E runs the code through the compiler's parser, 906 # not just through cpp. 907 cat > conftest.$ac_ext <<EOF 908 #line 909 "configure" 909 #include "confdefs.h" 910 #include <assert.h> 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 2392 # not just through cpp. "Syntax error" is here to catch this case. 2393 cat >conftest.$ac_ext <<_ACEOF 2394 /* confdefs.h. */ 2395 _ACEOF 2396 cat confdefs.h >>conftest.$ac_ext 2397 cat >>conftest.$ac_ext <<_ACEOF 2398 /* end confdefs.h. */ 2399 #ifdef __STDC__ 2400 # include <limits.h> 2401 #else 2402 # include <assert.h> 2403 #endif 2404 Syntax error 2405 _ACEOF 2406 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2407 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2408 ac_status=$? 2409 grep -v '^ *+' conftest.er1 >conftest.err 2410 rm -f conftest.er1 2411 cat conftest.err >&5 2412 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2413 (exit $ac_status); } >/dev/null; then 2414 if test -s conftest.err; then 2415 ac_cpp_err=$ac_c_preproc_warn_flag 2416 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2417 else 2418 ac_cpp_err= 2419 fi 2420 else 2421 ac_cpp_err=yes 2422 fi 2423 if test -z "$ac_cpp_err"; then 917 2424 : 918 2425 else 919 echo "$ac_err" >&5 920 echo "configure: failed program was:" >&5 921 cat conftest.$ac_ext >&5 922 rm -rf conftest* 923 CPP="${CC-cc} -E -traditional-cpp" 924 cat > conftest.$ac_ext <<EOF 925 #line 926 "configure" 926 #include "confdefs.h" 927 #include <assert.h> 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 2426 echo "$as_me: failed program was:" >&5 2427 sed 's/^/| /' conftest.$ac_ext >&5 2428 2429 # Broken: fails on valid input. 2430 continue 2431 fi 2432 rm -f conftest.err conftest.$ac_ext 2433 2434 # OK, works on sane cases. Now check whether non-existent headers 2435 # can be detected and how. 2436 cat >conftest.$ac_ext <<_ACEOF 2437 /* confdefs.h. */ 2438 _ACEOF 2439 cat confdefs.h >>conftest.$ac_ext 2440 cat >>conftest.$ac_ext <<_ACEOF 2441 /* end confdefs.h. */ 2442 #include <ac_nonexistent.h> 2443 _ACEOF 2444 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2445 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2446 ac_status=$? 2447 grep -v '^ *+' conftest.er1 >conftest.err 2448 rm -f conftest.er1 2449 cat conftest.err >&5 2450 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2451 (exit $ac_status); } >/dev/null; then 2452 if test -s conftest.err; then 2453 ac_cpp_err=$ac_c_preproc_warn_flag 2454 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2455 else 2456 ac_cpp_err= 2457 fi 2458 else 2459 ac_cpp_err=yes 2460 fi 2461 if test -z "$ac_cpp_err"; then 2462 # Broken: success on invalid input. 2463 continue 2464 else 2465 echo "$as_me: failed program was:" >&5 2466 sed 's/^/| /' conftest.$ac_ext >&5 2467 2468 # Passes both tests. 2469 ac_preproc_ok=: 2470 break 2471 fi 2472 rm -f conftest.err conftest.$ac_ext 2473 2474 done 2475 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2476 rm -f conftest.err conftest.$ac_ext 2477 if $ac_preproc_ok; then 2478 break 2479 fi 2480 2481 done 2482 ac_cv_prog_CPP=$CPP 2483 2484 fi 2485 CPP=$ac_cv_prog_CPP 2486 else 2487 ac_cv_prog_CPP=$CPP 2488 fi 2489 echo "$as_me:$LINENO: result: $CPP" >&5 2490 echo "${ECHO_T}$CPP" >&6 2491 ac_preproc_ok=false 2492 for ac_c_preproc_warn_flag in '' yes 2493 do 2494 # Use a header file that comes with gcc, so configuring glibc 2495 # with a fresh cross-compiler works. 2496 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since 2497 # <limits.h> exists even on freestanding compilers. 2498 # On the NeXT, cc -E runs the code through the compiler's parser, 2499 # not just through cpp. "Syntax error" is here to catch this case. 2500 cat >conftest.$ac_ext <<_ACEOF 2501 /* confdefs.h. */ 2502 _ACEOF 2503 cat confdefs.h >>conftest.$ac_ext 2504 cat >>conftest.$ac_ext <<_ACEOF 2505 /* end confdefs.h. */ 2506 #ifdef __STDC__ 2507 # include <limits.h> 2508 #else 2509 # include <assert.h> 2510 #endif 2511 Syntax error 2512 _ACEOF 2513 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2514 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2515 ac_status=$? 2516 grep -v '^ *+' conftest.er1 >conftest.err 2517 rm -f conftest.er1 2518 cat conftest.err >&5 2519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2520 (exit $ac_status); } >/dev/null; then 2521 if test -s conftest.err; then 2522 ac_cpp_err=$ac_c_preproc_warn_flag 2523 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2524 else 2525 ac_cpp_err= 2526 fi 2527 else 2528 ac_cpp_err=yes 2529 fi 2530 if test -z "$ac_cpp_err"; then 934 2531 : 935 2532 else 936 echo "$ac_err" >&5 937 echo "configure: failed program was:" >&5 938 cat conftest.$ac_ext >&5 939 rm -rf conftest* 940 CPP="${CC-cc} -nologo -E" 941 cat > conftest.$ac_ext <<EOF 942 #line 943 "configure" 943 #include "confdefs.h" 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 2533 echo "$as_me: failed program was:" >&5 2534 sed 's/^/| /' conftest.$ac_ext >&5 2535 2536 # Broken: fails on valid input. 2537 continue 2538 fi 2539 rm -f conftest.err conftest.$ac_ext 2540 2541 # OK, works on sane cases. Now check whether non-existent headers 2542 # can be detected and how. 2543 cat >conftest.$ac_ext <<_ACEOF 2544 /* confdefs.h. */ 2545 _ACEOF 2546 cat confdefs.h >>conftest.$ac_ext 2547 cat >>conftest.$ac_ext <<_ACEOF 2548 /* end confdefs.h. */ 2549 #include <ac_nonexistent.h> 2550 _ACEOF 2551 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 2552 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 2553 ac_status=$? 2554 grep -v '^ *+' conftest.er1 >conftest.err 2555 rm -f conftest.er1 2556 cat conftest.err >&5 2557 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2558 (exit $ac_status); } >/dev/null; then 2559 if test -s conftest.err; then 2560 ac_cpp_err=$ac_c_preproc_warn_flag 2561 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 2562 else 2563 ac_cpp_err= 2564 fi 2565 else 2566 ac_cpp_err=yes 2567 fi 2568 if test -z "$ac_cpp_err"; then 2569 # Broken: success on invalid input. 2570 continue 2571 else 2572 echo "$as_me: failed program was:" >&5 2573 sed 's/^/| /' conftest.$ac_ext >&5 2574 2575 # Passes both tests. 2576 ac_preproc_ok=: 2577 break 2578 fi 2579 rm -f conftest.err conftest.$ac_ext 2580 2581 done 2582 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. 2583 rm -f conftest.err conftest.$ac_ext 2584 if $ac_preproc_ok; then 951 2585 : 952 2586 else 953 echo "$ac_err" >&5 954 echo "configure: failed program was:" >&5 955 cat conftest.$ac_ext >&5 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 2587 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check 2588 See \`config.log' for more details." >&5 2589 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check 2590 See \`config.log' for more details." >&2;} 2591 { (exit 1); exit 1; }; } 2592 fi 2593 2594 ac_ext=c 2595 ac_cpp='$CPP $CPPFLAGS' 2596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2598 ac_compiler_gnu=$ac_cv_c_compiler_gnu 971 2599 972 2600 ac_aux_dir= … … 980 2608 ac_install_sh="$ac_aux_dir/install.sh -c" 981 2609 break 2610 elif test -f $ac_dir/shtool; then 2611 ac_aux_dir=$ac_dir 2612 ac_install_sh="$ac_aux_dir/shtool install -c" 2613 break 982 2614 fi 983 2615 done 984 2616 if test -z "$ac_aux_dir"; then 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. 2617 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5 2618 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;} 2619 { (exit 1); exit 1; }; } 2620 fi 2621 ac_config_guess="$SHELL $ac_aux_dir/config.guess" 2622 ac_config_sub="$SHELL $ac_aux_dir/config.sub" 2623 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure. 990 2624 991 2625 # Find a good install program. We prefer a C program (faster), … … 996 2630 # IRIX /sbin/install 997 2631 # AIX /bin/install 2632 # AmigaOS /C/install, which installs bootblocks on floppy discs 998 2633 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag 999 2634 # AFS /usr/afsws/bin/install, which mishandles nonexistent args 1000 2635 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" 2636 # OS/2's system install, which has a completely different semantic 1001 2637 # ./install, which can be erroneously created by make from ./install.sh. 1002 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&61003 echo "configure:1004: checking for a BSD compatible install" >&52638 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5 2639 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6 1004 2640 if test -z "$INSTALL"; then 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 2641 if test "${ac_cv_path_install+set}" = set; then 2642 echo $ECHO_N "(cached) $ECHO_C" >&6 2643 else 2644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2645 for as_dir in $PATH 2646 do 2647 IFS=$as_save_IFS 2648 test -z "$as_dir" && as_dir=. 2649 # Account for people who put trailing slashes in PATH elements. 2650 case $as_dir/ in 2651 ./ | .// | /cC/* | \ 2652 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \ 2653 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \ 2654 /usr/ucb/* ) ;; 2655 *) 2656 # OSF1 and SCO ODT 3.0 have their own names for install. 2657 # Don't use installbsd from OSF since it installs stuff as root 2658 # by default. 2659 for ac_prog in ginstall scoinst install; do 2660 for ac_exec_ext in '' $ac_executable_extensions; do 2661 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then 1019 2662 if test $ac_prog = install && 1020 grep dspmsg $ac_dir/$ac_prog>/dev/null 2>&1; then2663 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 1021 2664 # AIX install. It has an incompatible calling convention. 1022 2665 : 2666 elif test $ac_prog = install && 2667 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then 2668 # program-specific install script used by HP pwplus--don't use. 2669 : 1023 2670 else 1024 ac_cv_path_install="$a c_dir/$ac_prog-c"1025 break 22671 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c" 2672 break 3 1026 2673 fi 1027 2674 fi 1028 2675 done 1029 ;; 1030 esac 1031 done 1032 IFS="$ac_save_IFS" 2676 done 2677 ;; 2678 esac 2679 done 2680 1033 2681 1034 2682 fi 1035 2683 if test "${ac_cv_path_install+set}" = set; then 1036 INSTALL= "$ac_cv_path_install"2684 INSTALL=$ac_cv_path_install 1037 2685 else 1038 2686 # As a last resort, use the slow shell script. We don't cache a … … 1040 2688 # break other packages using the cache if that directory is 1041 2689 # removed, or if the path is relative. 1042 INSTALL="$ac_install_sh" 1043 fi 1044 fi 1045 echo "$ac_t""$INSTALL" 1>&6 2690 INSTALL=$ac_install_sh 2691 fi 2692 fi 2693 echo "$as_me:$LINENO: result: $INSTALL" >&5 2694 echo "${ECHO_T}$INSTALL" >&6 1046 2695 1047 2696 # Use test -z because SunOS4 sh mishandles braces in ${var-val}. … … 1049 2698 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' 1050 2699 1051 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL _PROGRAM}'2700 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}' 1052 2701 1053 2702 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' 1054 2703 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" 1059 #include "confdefs.h" 2704 2705 2706 echo "$as_me:$LINENO: checking for egrep" >&5 2707 echo $ECHO_N "checking for egrep... $ECHO_C" >&6 2708 if test "${ac_cv_prog_egrep+set}" = set; then 2709 echo $ECHO_N "(cached) $ECHO_C" >&6 2710 else 2711 if echo a | (grep -E '(a|b)') >/dev/null 2>&1 2712 then ac_cv_prog_egrep='grep -E' 2713 else ac_cv_prog_egrep='egrep' 2714 fi 2715 fi 2716 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5 2717 echo "${ECHO_T}$ac_cv_prog_egrep" >&6 2718 EGREP=$ac_cv_prog_egrep 2719 2720 2721 2722 echo "$as_me:$LINENO: checking for AIX" >&5 2723 echo $ECHO_N "checking for AIX... $ECHO_C" >&6 2724 cat >conftest.$ac_ext <<_ACEOF 2725 /* confdefs.h. */ 2726 _ACEOF 2727 cat confdefs.h >>conftest.$ac_ext 2728 cat >>conftest.$ac_ext <<_ACEOF 2729 /* end confdefs.h. */ 1060 2730 #ifdef _AIX 1061 2731 yes 1062 2732 #endif 1063 2733 1064 EOF2734 _ACEOF 1065 2735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1066 egrep "yes" >/dev/null 2>&1; then 1067 rm -rf conftest* 1068 echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF 2736 $EGREP "yes" >/dev/null 2>&1; then 2737 echo "$as_me:$LINENO: result: yes" >&5 2738 echo "${ECHO_T}yes" >&6 2739 cat >>confdefs.h <<\_ACEOF 1069 2740 #define _ALL_SOURCE 1 1070 EOF1071 1072 else 1073 rm -rf conftest*1074 echo "$ac_t""no" 1>&62741 _ACEOF 2742 2743 else 2744 echo "$as_me:$LINENO: result: no" >&5 2745 echo "${ECHO_T}no" >&6 1075 2746 fi 1076 2747 rm -f conftest* 1077 2748 1078 2749 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 2750 ac_ext=cc 2751 ac_cpp='$CXXCPP $CPPFLAGS' 2752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu 2755 if test -n "$ac_tool_prefix"; then 2756 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2757 do 2758 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 2759 set dummy $ac_tool_prefix$ac_prog; ac_word=$2 2760 echo "$as_me:$LINENO: checking for $ac_word" >&5 2761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2762 if test "${ac_cv_prog_CXX+set}" = set; then 2763 echo $ECHO_N "(cached) $ECHO_C" >&6 1087 2764 else 1088 2765 if test -n "$CXX"; then 1089 2766 ac_cv_prog_CXX="$CXX" # Let the user override the test. 1090 2767 else 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 2768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2769 for as_dir in $PATH 2770 do 2771 IFS=$as_save_IFS 2772 test -z "$as_dir" && as_dir=. 2773 for ac_exec_ext in '' $ac_executable_extensions; do 2774 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2775 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog" 2776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2777 break 2 2778 fi 2779 done 2780 done 2781 2782 fi 2783 fi 2784 CXX=$ac_cv_prog_CXX 2785 if test -n "$CXX"; then 2786 echo "$as_me:$LINENO: result: $CXX" >&5 2787 echo "${ECHO_T}$CXX" >&6 2788 else 2789 echo "$as_me:$LINENO: result: no" >&5 2790 echo "${ECHO_T}no" >&6 2791 fi 2792 2793 test -n "$CXX" && break 1099 2794 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 1111 done 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" 1128 #include "confdefs.h" 1129 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; 2795 fi 2796 if test -z "$CXX"; then 2797 ac_ct_CXX=$CXX 2798 for ac_prog in $CCC g++ c++ gpp aCC CC cxx cc++ cl FCC KCC RCC xlC_r xlC 2799 do 2800 # Extract the first word of "$ac_prog", so it can be a program name with args. 2801 set dummy $ac_prog; ac_word=$2 2802 echo "$as_me:$LINENO: checking for $ac_word" >&5 2803 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 2804 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then 2805 echo $ECHO_N "(cached) $ECHO_C" >&6 2806 else 2807 if test -n "$ac_ct_CXX"; then 2808 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test. 2809 else 2810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2811 for as_dir in $PATH 2812 do 2813 IFS=$as_save_IFS 2814 test -z "$as_dir" && as_dir=. 2815 for ac_exec_ext in '' $ac_executable_extensions; do 2816 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 2817 ac_cv_prog_ac_ct_CXX="$ac_prog" 2818 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2819 break 2 2820 fi 2821 done 2822 done 2823 2824 fi 2825 fi 2826 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX 2827 if test -n "$ac_ct_CXX"; then 2828 echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5 2829 echo "${ECHO_T}$ac_ct_CXX" >&6 2830 else 2831 echo "$as_me:$LINENO: result: no" >&5 2832 echo "${ECHO_T}no" >&6 2833 fi 2834 2835 test -n "$ac_ct_CXX" && break 2836 done 2837 test -n "$ac_ct_CXX" || ac_ct_CXX="g++" 2838 2839 CXX=$ac_ct_CXX 2840 fi 2841 2842 2843 # Provide some information about the compiler. 2844 echo "$as_me:$LINENO:" \ 2845 "checking for C++ compiler version" >&5 2846 ac_compiler=`set X $ac_compile; echo $2` 2847 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5 2848 (eval $ac_compiler --version </dev/null >&5) 2>&5 2849 ac_status=$? 2850 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2851 (exit $ac_status); } 2852 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5 2853 (eval $ac_compiler -v </dev/null >&5) 2>&5 2854 ac_status=$? 2855 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2856 (exit $ac_status); } 2857 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5 2858 (eval $ac_compiler -V </dev/null >&5) 2>&5 2859 ac_status=$? 2860 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2861 (exit $ac_status); } 2862 2863 echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5 2864 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6 2865 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then 2866 echo $ECHO_N "(cached) $ECHO_C" >&6 2867 else 2868 cat >conftest.$ac_ext <<_ACEOF 2869 /* confdefs.h. */ 2870 _ACEOF 2871 cat confdefs.h >>conftest.$ac_ext 2872 cat >>conftest.$ac_ext <<_ACEOF 2873 /* end confdefs.h. */ 2874 2875 int 2876 main () 2877 { 2878 #ifndef __GNUC__ 2879 choke me 1170 2880 #endif 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 2881 2882 ; 2883 return 0; 2884 } 2885 _ACEOF 2886 rm -f conftest.$ac_objext 2887 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2888 (eval $ac_compile) 2>conftest.er1 2889 ac_status=$? 2890 grep -v '^ *+' conftest.er1 >conftest.err 2891 rm -f conftest.er1 2892 cat conftest.err >&5 2893 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2894 (exit $ac_status); } && 2895 { ac_try='test -z "$ac_cxx_werror_flag" 2896 || test ! -s conftest.err' 2897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2898 (eval $ac_try) 2>&5 2899 ac_status=$? 2900 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2901 (exit $ac_status); }; } && 2902 { ac_try='test -s conftest.$ac_objext' 2903 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2904 (eval $ac_try) 2>&5 2905 ac_status=$? 2906 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2907 (exit $ac_status); }; }; then 2908 ac_compiler_gnu=yes 2909 else 2910 echo "$as_me: failed program was:" >&5 2911 sed 's/^/| /' conftest.$ac_ext >&5 2912 2913 ac_compiler_gnu=no 2914 fi 2915 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2916 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu 2917 2918 fi 2919 echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5 2920 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6 2921 GXX=`test $ac_compiler_gnu = yes && echo yes` 2922 ac_test_CXXFLAGS=${CXXFLAGS+set} 2923 ac_save_CXXFLAGS=$CXXFLAGS 2924 CXXFLAGS="-g" 2925 echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5 2926 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6 2927 if test "${ac_cv_prog_cxx_g+set}" = set; then 2928 echo $ECHO_N "(cached) $ECHO_C" >&6 2929 else 2930 cat >conftest.$ac_ext <<_ACEOF 2931 /* confdefs.h. */ 2932 _ACEOF 2933 cat confdefs.h >>conftest.$ac_ext 2934 cat >>conftest.$ac_ext <<_ACEOF 2935 /* end confdefs.h. */ 2936 2937 int 2938 main () 2939 { 2940 2941 ; 2942 return 0; 2943 } 2944 _ACEOF 2945 rm -f conftest.$ac_objext 2946 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 2947 (eval $ac_compile) 2>conftest.er1 2948 ac_status=$? 2949 grep -v '^ *+' conftest.er1 >conftest.err 2950 rm -f conftest.er1 2951 cat conftest.err >&5 2952 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2953 (exit $ac_status); } && 2954 { ac_try='test -z "$ac_cxx_werror_flag" 2955 || test ! -s conftest.err' 2956 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2957 (eval $ac_try) 2>&5 2958 ac_status=$? 2959 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2960 (exit $ac_status); }; } && 2961 { ac_try='test -s conftest.$ac_objext' 2962 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 2963 (eval $ac_try) 2>&5 2964 ac_status=$? 2965 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2966 (exit $ac_status); }; }; then 1197 2967 ac_cv_prog_cxx_g=yes 1198 2968 else 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 2969 echo "$as_me: failed program was:" >&5 2970 sed 's/^/| /' conftest.$ac_ext >&5 2971 2972 ac_cv_prog_cxx_g=no 2973 fi 2974 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 2975 fi 2976 echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5 2977 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6 1206 2978 if test "$ac_test_CXXFLAGS" = set; then 1207 CXXFLAGS= "$ac_save_CXXFLAGS"2979 CXXFLAGS=$ac_save_CXXFLAGS 1208 2980 elif test $ac_cv_prog_cxx_g = yes; then 1209 2981 if test "$GXX" = yes; then … … 1219 2991 fi 1220 2992 fi 2993 for ac_declaration in \ 2994 '' \ 2995 'extern "C" void std::exit (int) throw (); using std::exit;' \ 2996 'extern "C" void std::exit (int); using std::exit;' \ 2997 'extern "C" void exit (int) throw ();' \ 2998 'extern "C" void exit (int);' \ 2999 'void exit (int);' 3000 do 3001 cat >conftest.$ac_ext <<_ACEOF 3002 /* confdefs.h. */ 3003 _ACEOF 3004 cat confdefs.h >>conftest.$ac_ext 3005 cat >>conftest.$ac_ext <<_ACEOF 3006 /* end confdefs.h. */ 3007 $ac_declaration 3008 #include <stdlib.h> 3009 int 3010 main () 3011 { 3012 exit (42); 3013 ; 3014 return 0; 3015 } 3016 _ACEOF 3017 rm -f conftest.$ac_objext 3018 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3019 (eval $ac_compile) 2>conftest.er1 3020 ac_status=$? 3021 grep -v '^ *+' conftest.er1 >conftest.err 3022 rm -f conftest.er1 3023 cat conftest.err >&5 3024 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3025 (exit $ac_status); } && 3026 { ac_try='test -z "$ac_cxx_werror_flag" 3027 || test ! -s conftest.err' 3028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3029 (eval $ac_try) 2>&5 3030 ac_status=$? 3031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3032 (exit $ac_status); }; } && 3033 { ac_try='test -s conftest.$ac_objext' 3034 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3035 (eval $ac_try) 2>&5 3036 ac_status=$? 3037 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3038 (exit $ac_status); }; }; then 3039 : 3040 else 3041 echo "$as_me: failed program was:" >&5 3042 sed 's/^/| /' conftest.$ac_ext >&5 3043 3044 continue 3045 fi 3046 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3047 cat >conftest.$ac_ext <<_ACEOF 3048 /* confdefs.h. */ 3049 _ACEOF 3050 cat confdefs.h >>conftest.$ac_ext 3051 cat >>conftest.$ac_ext <<_ACEOF 3052 /* end confdefs.h. */ 3053 $ac_declaration 3054 int 3055 main () 3056 { 3057 exit (42); 3058 ; 3059 return 0; 3060 } 3061 _ACEOF 3062 rm -f conftest.$ac_objext 3063 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3064 (eval $ac_compile) 2>conftest.er1 3065 ac_status=$? 3066 grep -v '^ *+' conftest.er1 >conftest.err 3067 rm -f conftest.er1 3068 cat conftest.err >&5 3069 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3070 (exit $ac_status); } && 3071 { ac_try='test -z "$ac_cxx_werror_flag" 3072 || test ! -s conftest.err' 3073 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3074 (eval $ac_try) 2>&5 3075 ac_status=$? 3076 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3077 (exit $ac_status); }; } && 3078 { ac_try='test -s conftest.$ac_objext' 3079 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3080 (eval $ac_try) 2>&5 3081 ac_status=$? 3082 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3083 (exit $ac_status); }; }; then 3084 break 3085 else 3086 echo "$as_me: failed program was:" >&5 3087 sed 's/^/| /' conftest.$ac_ext >&5 3088 3089 fi 3090 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3091 done 3092 rm -f conftest* 3093 if test -n "$ac_declaration"; then 3094 echo '#ifdef __cplusplus' >>confdefs.h 3095 echo $ac_declaration >>confdefs.h 3096 echo '#endif' >>confdefs.h 3097 fi 3098 3099 ac_ext=c 3100 ac_cpp='$CPP $CPPFLAGS' 3101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 3102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 3103 ac_compiler_gnu=$ac_cv_c_compiler_gnu 1221 3104 1222 3105 … … 1225 3108 1226 3109 # check whether the compiler accepts -pipe 1227 echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&61228 echo "configure:1229: checking whether compiler accepts -pipe" >&53110 echo "$as_me:$LINENO: checking whether compiler accepts -pipe" >&5 3111 echo $ECHO_N "checking whether compiler accepts -pipe... $ECHO_C" >&6 1229 3112 temp_cflags=${CFLAGS} 1230 3113 CFLAGS="${CFLAGS} -pipe" 1231 if eval "test \"`echo '$''{'ac_cv_cxx_have_pipe'+set}'`\" = set"; then 1232 echo $ac_n "(cached) $ac_c" 1>&6 1233 else 1234 cat > conftest.$ac_ext <<EOF 1235 #line 1236 "configure" 1236 #include "confdefs.h" 1237 1238 int main() { 1239 1240 ; return 0; } 1241 EOF 1242 if { (eval echo configure:1243: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then 1243 rm -rf conftest* 3114 if test "${ac_cv_cxx_have_pipe+set}" = set; then 3115 echo $ECHO_N "(cached) $ECHO_C" >&6 3116 else 3117 cat >conftest.$ac_ext <<_ACEOF 3118 /* confdefs.h. */ 3119 _ACEOF 3120 cat confdefs.h >>conftest.$ac_ext 3121 cat >>conftest.$ac_ext <<_ACEOF 3122 /* end confdefs.h. */ 3123 3124 int 3125 main () 3126 { 3127 3128 ; 3129 return 0; 3130 } 3131 _ACEOF 3132 rm -f conftest.$ac_objext 3133 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 3134 (eval $ac_compile) 2>conftest.er1 3135 ac_status=$? 3136 grep -v '^ *+' conftest.er1 >conftest.err 3137 rm -f conftest.er1 3138 cat conftest.err >&5 3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3140 (exit $ac_status); } && 3141 { ac_try='test -z "$ac_c_werror_flag" 3142 || test ! -s conftest.err' 3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3144 (eval $ac_try) 2>&5 3145 ac_status=$? 3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3147 (exit $ac_status); }; } && 3148 { ac_try='test -s conftest.$ac_objext' 3149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3150 (eval $ac_try) 2>&5 3151 ac_status=$? 3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3153 (exit $ac_status); }; }; then 1244 3154 ac_cv_cxx_have_pipe=yes 1245 3155 else 1246 echo "configure: failed program was:" >&5 1247 cat conftest.$ac_ext >&5 1248 rm -rf conftest* 1249 ac_cv_cxx_have_pipe=no 1250 fi 1251 rm -f conftest* 1252 1253 fi 1254 1255 echo "$ac_t""${ac_cv_cxx_have_pipe}" 1>&6 3156 echo "$as_me: failed program was:" >&5 3157 sed 's/^/| /' conftest.$ac_ext >&5 3158 3159 ac_cv_cxx_have_pipe=no 3160 fi 3161 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 3162 3163 fi 3164 3165 echo "$as_me:$LINENO: result: ${ac_cv_cxx_have_pipe}" >&5 3166 echo "${ECHO_T}${ac_cv_cxx_have_pipe}" >&6 1256 3167 CFLAGS=${temp_cflags} 1257 3168 if test "${ac_cv_cxx_have_pipe}" != yes; then … … 1264 3175 for ac_prog in perl5 perl 1265 3176 do 1266 # Extract the first word of "$ac_prog", so it can be a program name with args.3177 # Extract the first word of "$ac_prog", so it can be a program name with args. 1267 3178 set dummy $ac_prog; ac_word=$2 1268 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61269 echo "configure:1270: checking for $ac_word" >&51270 if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then1271 echo $ ac_n "(cached) $ac_c" 1>&63179 echo "$as_me:$LINENO: checking for $ac_word" >&5 3180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3181 if test "${ac_cv_prog_PERL+set}" = set; then 3182 echo $ECHO_N "(cached) $ECHO_C" >&6 1272 3183 else 1273 3184 if test -n "$PERL"; then 1274 3185 ac_cv_prog_PERL="$PERL" # Let the user override the test. 1275 3186 else 1276 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1277 ac_dummy="$PATH" 1278 for ac_dir in $ac_dummy; do 1279 test -z "$ac_dir" && ac_dir=. 1280 if test -f $ac_dir/$ac_word; then 1281 ac_cv_prog_PERL="$ac_prog" 1282 break 1283 fi 1284 done 1285 IFS="$ac_save_ifs" 1286 fi 1287 fi 1288 PERL="$ac_cv_prog_PERL" 3187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3188 for as_dir in $PATH 3189 do 3190 IFS=$as_save_IFS 3191 test -z "$as_dir" && as_dir=. 3192 for ac_exec_ext in '' $ac_executable_extensions; do 3193 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3194 ac_cv_prog_PERL="$ac_prog" 3195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3196 break 2 3197 fi 3198 done 3199 done 3200 3201 fi 3202 fi 3203 PERL=$ac_cv_prog_PERL 1289 3204 if test -n "$PERL"; then 1290 echo "$ac_t""$PERL" 1>&6 1291 else 1292 echo "$ac_t""no" 1>&6 1293 fi 1294 1295 test -n "$PERL" && break 3205 echo "$as_me:$LINENO: result: $PERL" >&5 3206 echo "${ECHO_T}$PERL" >&6 3207 else 3208 echo "$as_me:$LINENO: result: no" >&5 3209 echo "${ECHO_T}no" >&6 3210 fi 3211 3212 test -n "$PERL" && break 1296 3213 done 1297 3214 1298 3215 for ac_prog in uudecode "uudeview -i" 1299 3216 do 1300 # Extract the first word of "$ac_prog", so it can be a program name with args.3217 # Extract the first word of "$ac_prog", so it can be a program name with args. 1301 3218 set dummy $ac_prog; ac_word=$2 1302 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61303 echo "configure:1304: checking for $ac_word" >&51304 if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then1305 echo $ ac_n "(cached) $ac_c" 1>&63219 echo "$as_me:$LINENO: checking for $ac_word" >&5 3220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3221 if test "${ac_cv_prog_UUDECODE+set}" = set; then 3222 echo $ECHO_N "(cached) $ECHO_C" >&6 1306 3223 else 1307 3224 if test -n "$UUDECODE"; then 1308 3225 ac_cv_prog_UUDECODE="$UUDECODE" # Let the user override the test. 1309 3226 else 1310 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1311 ac_dummy="$PATH" 1312 for ac_dir in $ac_dummy; do 1313 test -z "$ac_dir" && ac_dir=. 1314 if test -f $ac_dir/$ac_word; then 1315 ac_cv_prog_UUDECODE="$ac_prog" 1316 break 1317 fi 1318 done 1319 IFS="$ac_save_ifs" 1320 fi 1321 fi 1322 UUDECODE="$ac_cv_prog_UUDECODE" 3227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3228 for as_dir in $PATH 3229 do 3230 IFS=$as_save_IFS 3231 test -z "$as_dir" && as_dir=. 3232 for ac_exec_ext in '' $ac_executable_extensions; do 3233 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3234 ac_cv_prog_UUDECODE="$ac_prog" 3235 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3236 break 2 3237 fi 3238 done 3239 done 3240 3241 fi 3242 fi 3243 UUDECODE=$ac_cv_prog_UUDECODE 1323 3244 if test -n "$UUDECODE"; then 1324 echo "$ac_t""$UUDECODE" 1>&6 1325 else 1326 echo "$ac_t""no" 1>&6 1327 fi 1328 1329 test -n "$UUDECODE" && break 3245 echo "$as_me:$LINENO: result: $UUDECODE" >&5 3246 echo "${ECHO_T}$UUDECODE" >&6 3247 else 3248 echo "$as_me:$LINENO: result: no" >&5 3249 echo "${ECHO_T}no" >&6 3250 fi 3251 3252 test -n "$UUDECODE" && break 1330 3253 done 1331 3254 1332 3255 for ac_prog in gunzip 1333 3256 do 1334 # Extract the first word of "$ac_prog", so it can be a program name with args.3257 # Extract the first word of "$ac_prog", so it can be a program name with args. 1335 3258 set dummy $ac_prog; ac_word=$2 1336 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61337 echo "configure:1338: checking for $ac_word" >&51338 if eval "test \"`echo '$''{'ac_cv_prog_GUNZIP'+set}'`\" = set"; then1339 echo $ ac_n "(cached) $ac_c" 1>&63259 echo "$as_me:$LINENO: checking for $ac_word" >&5 3260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3261 if test "${ac_cv_prog_GUNZIP+set}" = set; then 3262 echo $ECHO_N "(cached) $ECHO_C" >&6 1340 3263 else 1341 3264 if test -n "$GUNZIP"; then 1342 3265 ac_cv_prog_GUNZIP="$GUNZIP" # Let the user override the test. 1343 3266 else 1344 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1345 ac_dummy="$PATH" 1346 for ac_dir in $ac_dummy; do 1347 test -z "$ac_dir" && ac_dir=. 1348 if test -f $ac_dir/$ac_word; then 1349 ac_cv_prog_GUNZIP="$ac_prog" 1350 break 1351 fi 1352 done 1353 IFS="$ac_save_ifs" 1354 fi 1355 fi 1356 GUNZIP="$ac_cv_prog_GUNZIP" 3267 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3268 for as_dir in $PATH 3269 do 3270 IFS=$as_save_IFS 3271 test -z "$as_dir" && as_dir=. 3272 for ac_exec_ext in '' $ac_executable_extensions; do 3273 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3274 ac_cv_prog_GUNZIP="$ac_prog" 3275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3276 break 2 3277 fi 3278 done 3279 done 3280 3281 fi 3282 fi 3283 GUNZIP=$ac_cv_prog_GUNZIP 1357 3284 if test -n "$GUNZIP"; then 1358 echo "$ac_t""$GUNZIP" 1>&6 1359 else 1360 echo "$ac_t""no" 1>&6 1361 fi 1362 1363 test -n "$GUNZIP" && break 3285 echo "$as_me:$LINENO: result: $GUNZIP" >&5 3286 echo "${ECHO_T}$GUNZIP" >&6 3287 else 3288 echo "$as_me:$LINENO: result: no" >&5 3289 echo "${ECHO_T}no" >&6 3290 fi 3291 3292 test -n "$GUNZIP" && break 1364 3293 done 1365 3294 test -n "$GUNZIP" || GUNZIP="${pwd}/warn_not_found.sh gunzip" … … 1368 3297 for ac_prog in gzip 1369 3298 do 1370 # Extract the first word of "$ac_prog", so it can be a program name with args.3299 # Extract the first word of "$ac_prog", so it can be a program name with args. 1371 3300 set dummy $ac_prog; ac_word=$2 1372 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61373 echo "configure:1374: checking for $ac_word" >&51374 if eval "test \"`echo '$''{'ac_cv_prog_MYGZIP'+set}'`\" = set"; then1375 echo $ ac_n "(cached) $ac_c" 1>&63301 echo "$as_me:$LINENO: checking for $ac_word" >&5 3302 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3303 if test "${ac_cv_prog_MYGZIP+set}" = set; then 3304 echo $ECHO_N "(cached) $ECHO_C" >&6 1376 3305 else 1377 3306 if test -n "$MYGZIP"; then 1378 3307 ac_cv_prog_MYGZIP="$MYGZIP" # Let the user override the test. 1379 3308 else 1380 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1381 ac_dummy="$PATH" 1382 for ac_dir in $ac_dummy; do 1383 test -z "$ac_dir" && ac_dir=. 1384 if test -f $ac_dir/$ac_word; then 1385 ac_cv_prog_MYGZIP="$ac_prog" 1386 break 1387 fi 1388 done 1389 IFS="$ac_save_ifs" 1390 fi 1391 fi 1392 MYGZIP="$ac_cv_prog_MYGZIP" 3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3310 for as_dir in $PATH 3311 do 3312 IFS=$as_save_IFS 3313 test -z "$as_dir" && as_dir=. 3314 for ac_exec_ext in '' $ac_executable_extensions; do 3315 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3316 ac_cv_prog_MYGZIP="$ac_prog" 3317 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3318 break 2 3319 fi 3320 done 3321 done 3322 3323 fi 3324 fi 3325 MYGZIP=$ac_cv_prog_MYGZIP 1393 3326 if test -n "$MYGZIP"; then 1394 echo "$ac_t""$MYGZIP" 1>&6 1395 else 1396 echo "$ac_t""no" 1>&6 1397 fi 1398 1399 test -n "$MYGZIP" && break 3327 echo "$as_me:$LINENO: result: $MYGZIP" >&5 3328 echo "${ECHO_T}$MYGZIP" >&6 3329 else 3330 echo "$as_me:$LINENO: result: no" >&5 3331 echo "${ECHO_T}no" >&6 3332 fi 3333 3334 test -n "$MYGZIP" && break 1400 3335 done 1401 3336 test -n "$MYGZIP" || MYGZIP="${pwd}/warn_not_found.sh gzip" … … 1403 3338 # Extract the first word of "latex2html", so it can be a program name with args. 1404 3339 set dummy latex2html; ac_word=$2 1405 echo $ac_n "checking for $ac_word""... $ac_c" 1>&61406 echo "configure:1407: checking for $ac_word" >&51407 if eval "test \"`echo '$''{'ac_cv_prog_LATEX2HTML'+set}'`\" = set"; then1408 echo $ ac_n "(cached) $ac_c" 1>&63340 echo "$as_me:$LINENO: checking for $ac_word" >&5 3341 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6 3342 if test "${ac_cv_prog_LATEX2HTML+set}" = set; then 3343 echo $ECHO_N "(cached) $ECHO_C" >&6 1409 3344 else 1410 3345 if test -n "$LATEX2HTML"; then 1411 3346 ac_cv_prog_LATEX2HTML="$LATEX2HTML" # Let the user override the test. 1412 3347 else 1413 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" 1414 ac_dummy="$PATH" 1415 for ac_dir in $ac_dummy; do 1416 test -z "$ac_dir" && ac_dir=. 1417 if test -f $ac_dir/$ac_word; then 1418 ac_cv_prog_LATEX2HTML="latex2html" 1419 break 1420 fi 1421 done 1422 IFS="$ac_save_ifs" 1423 fi 1424 fi 1425 LATEX2HTML="$ac_cv_prog_LATEX2HTML" 3348 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 3349 for as_dir in $PATH 3350 do 3351 IFS=$as_save_IFS 3352 test -z "$as_dir" && as_dir=. 3353 for ac_exec_ext in '' $ac_executable_extensions; do 3354 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then 3355 ac_cv_prog_LATEX2HTML="latex2html" 3356 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 3357 break 2 3358 fi 3359 done 3360 done 3361 3362 fi 3363 fi 3364 LATEX2HTML=$ac_cv_prog_LATEX2HTML 1426 3365 if test -n "$LATEX2HTML"; then 1427 echo "$ac_t""$LATEX2HTML" 1>&6 1428 else 1429 echo "$ac_t""no" 1>&6 1430 fi 1431 1432 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 1433 echo "configure:1434: checking whether ln -s works" >&5 1434 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then 1435 echo $ac_n "(cached) $ac_c" 1>&6 1436 else 1437 rm -f conftestdata 1438 if ln -s X conftestdata 2>/dev/null 1439 then 1440 rm -f conftestdata 1441 ac_cv_prog_LN_S="ln -s" 1442 else 1443 ac_cv_prog_LN_S=ln 1444 fi 1445 fi 1446 LN_S="$ac_cv_prog_LN_S" 1447 if test "$ac_cv_prog_LN_S" = "ln -s"; then 1448 echo "$ac_t""yes" 1>&6 1449 else 1450 echo "$ac_t""no" 1>&6 3366 echo "$as_me:$LINENO: result: $LATEX2HTML" >&5 3367 echo "${ECHO_T}$LATEX2HTML" >&6 3368 else 3369 echo "$as_me:$LINENO: result: no" >&5 3370 echo "${ECHO_T}no" >&6 3371 fi 3372 3373 echo "$as_me:$LINENO: checking whether ln -s works" >&5 3374 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6 3375 LN_S=$as_ln_s 3376 if test "$LN_S" = "ln -s"; then 3377 echo "$as_me:$LINENO: result: yes" >&5 3378 echo "${ECHO_T}yes" >&6 3379 else 3380 echo "$as_me:$LINENO: result: no, using $LN_S" >&5 3381 echo "${ECHO_T}no, using $LN_S" >&6 1451 3382 fi 1452 3383 … … 1454 3385 if test -r "${pwd}/mkinstalldirs"; then 1455 3386 MKINSTALLDIRS=${pwd}/mkinstalldirs 1456 1457 else 1458 { echo "configure: error: mkinstalldirs not foind in ${pwd}" 1>&2; exit 1; } 3387 3388 else 3389 { { echo "$as_me:$LINENO: error: mkinstalldirs not foind in ${pwd}" >&5 3390 echo "$as_me: error: mkinstalldirs not foind in ${pwd}" >&2;} 3391 { (exit 1); exit 1; }; } 1459 3392 fi 1460 3393 … … 1500 3433 1501 3434 # check for AIX 1502 echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 1503 echo "configure:1504: checking whether _AIX is defined" >&5 1504 if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then 1505 echo $ac_n "(cached) $ac_c" 1>&6 1506 else 1507 cat > conftest.$ac_ext <<EOF 1508 #line 1509 "configure" 1509 #include "confdefs.h" 3435 echo "$as_me:$LINENO: checking whether _AIX is defined" >&5 3436 echo $ECHO_N "checking whether _AIX is defined... $ECHO_C" >&6 3437 if test "${ac_cv_is_aix+set}" = set; then 3438 echo $ECHO_N "(cached) $ECHO_C" >&6 3439 else 3440 cat >conftest.$ac_ext <<_ACEOF 3441 /* confdefs.h. */ 3442 _ACEOF 3443 cat confdefs.h >>conftest.$ac_ext 3444 cat >>conftest.$ac_ext <<_ACEOF 3445 /* end confdefs.h. */ 1510 3446 #ifdef _AIX 1511 3447 yes 1512 3448 #endif 1513 3449 1514 EOF3450 _ACEOF 1515 3451 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 1516 egrep "yes" >/dev/null 2>&1; then 1517 rm -rf conftest* 3452 $EGREP "yes" >/dev/null 2>&1; then 1518 3453 ac_cv_is_aix=yes 1519 3454 else 1520 rm -rf conftest*1521 3455 ac_cv_is_aix=no 1522 3456 fi … … 1526 3460 1527 3461 if test "$ac_cv_is_aix" = yes; then 1528 echo "$ac_t""yes" 1>&6 1529 else 1530 echo "$ac_t""no" 1>&6 1531 fi 1532 1533 echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 1534 echo "configure:1535: checking for atof in -lm" >&5 1535 ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` 1536 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1537 echo $ac_n "(cached) $ac_c" 1>&6 1538 else 1539 ac_save_LIBS="$LIBS" 3462 echo "$as_me:$LINENO: result: yes" >&5 3463 echo "${ECHO_T}yes" >&6 3464 else 3465 echo "$as_me:$LINENO: result: no" >&5 3466 echo "${ECHO_T}no" >&6 3467 fi 3468 3469 3470 echo "$as_me:$LINENO: checking for atof in -lm" >&5 3471 echo $ECHO_N "checking for atof in -lm... $ECHO_C" >&6 3472 if test "${ac_cv_lib_m_atof+set}" = set; then 3473 echo $ECHO_N "(cached) $ECHO_C" >&6 3474 else 3475 ac_check_lib_save_LIBS=$LIBS 1540 3476 LIBS="-lm $LIBS" 1541 cat > conftest.$ac_ext <<EOF 1542 #line 1543 "configure" 1543 #include "confdefs.h" 3477 cat >conftest.$ac_ext <<_ACEOF 3478 /* confdefs.h. */ 3479 _ACEOF 3480 cat confdefs.h >>conftest.$ac_ext 3481 cat >>conftest.$ac_ext <<_ACEOF 3482 /* end confdefs.h. */ 3483 1544 3484 /* Override any gcc2 internal prototype to avoid an error. */ 3485 #ifdef __cplusplus 3486 extern "C" 3487 #endif 1545 3488 /* We use char because int might match the return type of a gcc2 1546 builtin and then its argument prototype would still apply. */ 1547 char atof(); 1548 1549 int main() { 1550 atof() 1551 ; return 0; } 1552 EOF 1553 if { (eval echo configure:1554: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1554 rm -rf conftest* 1555 eval "ac_cv_lib_$ac_lib_var=yes" 1556 else 1557 echo "configure: failed program was:" >&5 1558 cat conftest.$ac_ext >&5 1559 rm -rf conftest* 1560 eval "ac_cv_lib_$ac_lib_var=no" 3489 builtin and then its argument prototype would still apply. */ 3490 char atof (); 3491 int 3492 main () 3493 { 3494 atof (); 3495 ; 3496 return 0; 3497 } 3498 _ACEOF 3499 rm -f conftest.$ac_objext conftest$ac_exeext 3500 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3501 (eval $ac_link) 2>conftest.er1 3502 ac_status=$? 3503 grep -v '^ *+' conftest.er1 >conftest.err 3504 rm -f conftest.er1 3505 cat conftest.err >&5 3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3507 (exit $ac_status); } && 3508 { ac_try='test -z "$ac_c_werror_flag" 3509 || test ! -s conftest.err' 3510 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3511 (eval $ac_try) 2>&5 3512 ac_status=$? 3513 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3514 (exit $ac_status); }; } && 3515 { ac_try='test -s conftest$ac_exeext' 3516 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3517 (eval $ac_try) 2>&5 3518 ac_status=$? 3519 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3520 (exit $ac_status); }; }; then 3521 ac_cv_lib_m_atof=yes 3522 else 3523 echo "$as_me: failed program was:" >&5 3524 sed 's/^/| /' conftest.$ac_ext >&5 3525 3526 ac_cv_lib_m_atof=no 3527 fi 3528 rm -f conftest.err conftest.$ac_objext \ 3529 conftest$ac_exeext conftest.$ac_ext 3530 LIBS=$ac_check_lib_save_LIBS 3531 fi 3532 echo "$as_me:$LINENO: result: $ac_cv_lib_m_atof" >&5 3533 echo "${ECHO_T}$ac_cv_lib_m_atof" >&6 3534 if test $ac_cv_lib_m_atof = yes; then 3535 cat >>confdefs.h <<_ACEOF 3536 #define HAVE_LIBM 1 3537 _ACEOF 3538 3539 LIBS="-lm $LIBS" 3540 3541 fi 3542 3543 3544 echo "$as_me:$LINENO: checking for socket in -lbsd" >&5 3545 echo $ECHO_N "checking for socket in -lbsd... $ECHO_C" >&6 3546 if test "${ac_cv_lib_bsd_socket+set}" = set; then 3547 echo $ECHO_N "(cached) $ECHO_C" >&6 3548 else 3549 ac_check_lib_save_LIBS=$LIBS 3550 LIBS="-lbsd $LIBS" 3551 cat >conftest.$ac_ext <<_ACEOF 3552 /* confdefs.h. */ 3553 _ACEOF 3554 cat confdefs.h >>conftest.$ac_ext 3555 cat >>conftest.$ac_ext <<_ACEOF 3556 /* end confdefs.h. */ 3557 3558 /* Override any gcc2 internal prototype to avoid an error. */ 3559 #ifdef __cplusplus 3560 extern "C" 3561 #endif 3562 /* We use char because int might match the return type of a gcc2 3563 builtin and then its argument prototype would still apply. */ 3564 char socket (); 3565 int 3566 main () 3567 { 3568 socket (); 3569 ; 3570 return 0; 3571 } 3572 _ACEOF 3573 rm -f conftest.$ac_objext conftest$ac_exeext 3574 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3575 (eval $ac_link) 2>conftest.er1 3576 ac_status=$? 3577 grep -v '^ *+' conftest.er1 >conftest.err 3578 rm -f conftest.er1 3579 cat conftest.err >&5 3580 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3581 (exit $ac_status); } && 3582 { ac_try='test -z "$ac_c_werror_flag" 3583 || test ! -s conftest.err' 3584 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3585 (eval $ac_try) 2>&5 3586 ac_status=$? 3587 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3588 (exit $ac_status); }; } && 3589 { ac_try='test -s conftest$ac_exeext' 3590 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3591 (eval $ac_try) 2>&5 3592 ac_status=$? 3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3594 (exit $ac_status); }; }; then 3595 ac_cv_lib_bsd_socket=yes 3596 else 3597 echo "$as_me: failed program was:" >&5 3598 sed 's/^/| /' conftest.$ac_ext >&5 3599 3600 ac_cv_lib_bsd_socket=no 3601 fi 3602 rm -f conftest.err conftest.$ac_objext \ 3603 conftest$ac_exeext conftest.$ac_ext 3604 LIBS=$ac_check_lib_save_LIBS 3605 fi 3606 echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_socket" >&5 3607 echo "${ECHO_T}$ac_cv_lib_bsd_socket" >&6 3608 if test $ac_cv_lib_bsd_socket = yes; then 3609 cat >>confdefs.h <<_ACEOF 3610 #define HAVE_LIBBSD 1 3611 _ACEOF 3612 3613 LIBS="-lbsd $LIBS" 3614 3615 fi 3616 3617 3618 echo "$as_me:$LINENO: checking for listen in -lsocket" >&5 3619 echo $ECHO_N "checking for listen in -lsocket... $ECHO_C" >&6 3620 if test "${ac_cv_lib_socket_listen+set}" = set; then 3621 echo $ECHO_N "(cached) $ECHO_C" >&6 3622 else 3623 ac_check_lib_save_LIBS=$LIBS 3624 LIBS="-lsocket $LIBS" 3625 cat >conftest.$ac_ext <<_ACEOF 3626 /* confdefs.h. */ 3627 _ACEOF 3628 cat confdefs.h >>conftest.$ac_ext 3629 cat >>conftest.$ac_ext <<_ACEOF 3630 /* end confdefs.h. */ 3631 3632 /* Override any gcc2 internal prototype to avoid an error. */ 3633 #ifdef __cplusplus 3634 extern "C" 3635 #endif 3636 /* We use char because int might match the return type of a gcc2 3637 builtin and then its argument prototype would still apply. */ 3638 char listen (); 3639 int 3640 main () 3641 { 3642 listen (); 3643 ; 3644 return 0; 3645 } 3646 _ACEOF 3647 rm -f conftest.$ac_objext conftest$ac_exeext 3648 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3649 (eval $ac_link) 2>conftest.er1 3650 ac_status=$? 3651 grep -v '^ *+' conftest.er1 >conftest.err 3652 rm -f conftest.er1 3653 cat conftest.err >&5 3654 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3655 (exit $ac_status); } && 3656 { ac_try='test -z "$ac_c_werror_flag" 3657 || test ! -s conftest.err' 3658 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3659 (eval $ac_try) 2>&5 3660 ac_status=$? 3661 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3662 (exit $ac_status); }; } && 3663 { ac_try='test -s conftest$ac_exeext' 3664 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3665 (eval $ac_try) 2>&5 3666 ac_status=$? 3667 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3668 (exit $ac_status); }; }; then 3669 ac_cv_lib_socket_listen=yes 3670 else 3671 echo "$as_me: failed program was:" >&5 3672 sed 's/^/| /' conftest.$ac_ext >&5 3673 3674 ac_cv_lib_socket_listen=no 3675 fi 3676 rm -f conftest.err conftest.$ac_objext \ 3677 conftest$ac_exeext conftest.$ac_ext 3678 LIBS=$ac_check_lib_save_LIBS 3679 fi 3680 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_listen" >&5 3681 echo "${ECHO_T}$ac_cv_lib_socket_listen" >&6 3682 if test $ac_cv_lib_socket_listen = yes; then 3683 cat >>confdefs.h <<_ACEOF 3684 #define HAVE_LIBSOCKET 1 3685 _ACEOF 3686 3687 LIBS="-lsocket $LIBS" 3688 3689 fi 3690 3691 3692 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5 3693 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6 3694 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then 3695 echo $ECHO_N "(cached) $ECHO_C" >&6 3696 else 3697 ac_check_lib_save_LIBS=$LIBS 3698 LIBS="-lnsl $LIBS" 3699 cat >conftest.$ac_ext <<_ACEOF 3700 /* confdefs.h. */ 3701 _ACEOF 3702 cat confdefs.h >>conftest.$ac_ext 3703 cat >>conftest.$ac_ext <<_ACEOF 3704 /* end confdefs.h. */ 3705 3706 /* Override any gcc2 internal prototype to avoid an error. */ 3707 #ifdef __cplusplus 3708 extern "C" 3709 #endif 3710 /* We use char because int might match the return type of a gcc2 3711 builtin and then its argument prototype would still apply. */ 3712 char gethostbyname (); 3713 int 3714 main () 3715 { 3716 gethostbyname (); 3717 ; 3718 return 0; 3719 } 3720 _ACEOF 3721 rm -f conftest.$ac_objext conftest$ac_exeext 3722 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3723 (eval $ac_link) 2>conftest.er1 3724 ac_status=$? 3725 grep -v '^ *+' conftest.er1 >conftest.err 3726 rm -f conftest.er1 3727 cat conftest.err >&5 3728 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3729 (exit $ac_status); } && 3730 { ac_try='test -z "$ac_c_werror_flag" 3731 || test ! -s conftest.err' 3732 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3733 (eval $ac_try) 2>&5 3734 ac_status=$? 3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3736 (exit $ac_status); }; } && 3737 { ac_try='test -s conftest$ac_exeext' 3738 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3739 (eval $ac_try) 2>&5 3740 ac_status=$? 3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3742 (exit $ac_status); }; }; then 3743 ac_cv_lib_nsl_gethostbyname=yes 3744 else 3745 echo "$as_me: failed program was:" >&5 3746 sed 's/^/| /' conftest.$ac_ext >&5 3747 3748 ac_cv_lib_nsl_gethostbyname=no 3749 fi 3750 rm -f conftest.err conftest.$ac_objext \ 3751 conftest$ac_exeext conftest.$ac_ext 3752 LIBS=$ac_check_lib_save_LIBS 3753 fi 3754 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5 3755 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6 3756 if test $ac_cv_lib_nsl_gethostbyname = yes; then 3757 cat >>confdefs.h <<_ACEOF 3758 #define HAVE_LIBNSL 1 3759 _ACEOF 3760 3761 LIBS="-lnsl $LIBS" 3762 3763 fi 3764 3765 3766 echo "$as_me:$LINENO: checking for main in -lgmp" >&5 3767 echo $ECHO_N "checking for main in -lgmp... $ECHO_C" >&6 3768 if test "${ac_cv_lib_gmp_main+set}" = set; then 3769 echo $ECHO_N "(cached) $ECHO_C" >&6 3770 else 3771 ac_check_lib_save_LIBS=$LIBS 3772 LIBS="-lgmp $LIBS" 3773 cat >conftest.$ac_ext <<_ACEOF 3774 /* confdefs.h. */ 3775 _ACEOF 3776 cat confdefs.h >>conftest.$ac_ext 3777 cat >>conftest.$ac_ext <<_ACEOF 3778 /* end confdefs.h. */ 3779 3780 3781 int 3782 main () 3783 { 3784 main (); 3785 ; 3786 return 0; 3787 } 3788 _ACEOF 3789 rm -f conftest.$ac_objext conftest$ac_exeext 3790 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3791 (eval $ac_link) 2>conftest.er1 3792 ac_status=$? 3793 grep -v '^ *+' conftest.er1 >conftest.err 3794 rm -f conftest.er1 3795 cat conftest.err >&5 3796 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3797 (exit $ac_status); } && 3798 { ac_try='test -z "$ac_c_werror_flag" 3799 || test ! -s conftest.err' 3800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3801 (eval $ac_try) 2>&5 3802 ac_status=$? 3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3804 (exit $ac_status); }; } && 3805 { ac_try='test -s conftest$ac_exeext' 3806 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3807 (eval $ac_try) 2>&5 3808 ac_status=$? 3809 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3810 (exit $ac_status); }; }; then 3811 ac_cv_lib_gmp_main=yes 3812 else 3813 echo "$as_me: failed program was:" >&5 3814 sed 's/^/| /' conftest.$ac_ext >&5 3815 3816 ac_cv_lib_gmp_main=no 3817 fi 3818 rm -f conftest.err conftest.$ac_objext \ 3819 conftest$ac_exeext conftest.$ac_ext 3820 LIBS=$ac_check_lib_save_LIBS 3821 fi 3822 echo "$as_me:$LINENO: result: $ac_cv_lib_gmp_main" >&5 3823 echo "${ECHO_T}$ac_cv_lib_gmp_main" >&6 3824 if test $ac_cv_lib_gmp_main = yes; then 3825 cat >>confdefs.h <<_ACEOF 3826 #define HAVE_LIBGMP 1 3827 _ACEOF 3828 3829 LIBS="-lgmp $LIBS" 3830 3831 fi 3832 3833 3834 echo "$as_me:$LINENO: checking for mpz_init in -lsmallgmp" >&5 3835 echo $ECHO_N "checking for mpz_init in -lsmallgmp... $ECHO_C" >&6 3836 if test "${ac_cv_lib_smallgmp_mpz_init+set}" = set; then 3837 echo $ECHO_N "(cached) $ECHO_C" >&6 3838 else 3839 ac_check_lib_save_LIBS=$LIBS 3840 LIBS="-lsmallgmp $LIBS" 3841 cat >conftest.$ac_ext <<_ACEOF 3842 /* confdefs.h. */ 3843 _ACEOF 3844 cat confdefs.h >>conftest.$ac_ext 3845 cat >>conftest.$ac_ext <<_ACEOF 3846 /* end confdefs.h. */ 3847 3848 /* Override any gcc2 internal prototype to avoid an error. */ 3849 #ifdef __cplusplus 3850 extern "C" 3851 #endif 3852 /* We use char because int might match the return type of a gcc2 3853 builtin and then its argument prototype would still apply. */ 3854 char mpz_init (); 3855 int 3856 main () 3857 { 3858 mpz_init (); 3859 ; 3860 return 0; 3861 } 3862 _ACEOF 3863 rm -f conftest.$ac_objext conftest$ac_exeext 3864 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3865 (eval $ac_link) 2>conftest.er1 3866 ac_status=$? 3867 grep -v '^ *+' conftest.er1 >conftest.err 3868 rm -f conftest.er1 3869 cat conftest.err >&5 3870 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3871 (exit $ac_status); } && 3872 { ac_try='test -z "$ac_c_werror_flag" 3873 || test ! -s conftest.err' 3874 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3875 (eval $ac_try) 2>&5 3876 ac_status=$? 3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3878 (exit $ac_status); }; } && 3879 { ac_try='test -s conftest$ac_exeext' 3880 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3881 (eval $ac_try) 2>&5 3882 ac_status=$? 3883 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3884 (exit $ac_status); }; }; then 3885 ac_cv_lib_smallgmp_mpz_init=yes 3886 else 3887 echo "$as_me: failed program was:" >&5 3888 sed 's/^/| /' conftest.$ac_ext >&5 3889 3890 ac_cv_lib_smallgmp_mpz_init=no 3891 fi 3892 rm -f conftest.err conftest.$ac_objext \ 3893 conftest$ac_exeext conftest.$ac_ext 3894 LIBS=$ac_check_lib_save_LIBS 3895 fi 3896 echo "$as_me:$LINENO: result: $ac_cv_lib_smallgmp_mpz_init" >&5 3897 echo "${ECHO_T}$ac_cv_lib_smallgmp_mpz_init" >&6 3898 if test $ac_cv_lib_smallgmp_mpz_init = yes; then 3899 cat >>confdefs.h <<_ACEOF 3900 #define HAVE_LIBSMALLGMP 1 3901 _ACEOF 3902 3903 LIBS="-lsmallgmp $LIBS" 3904 3905 fi 3906 3907 3908 echo "$as_me:$LINENO: checking for IMP_PutGmpInt in -lMP" >&5 3909 echo $ECHO_N "checking for IMP_PutGmpInt in -lMP... $ECHO_C" >&6 3910 if test "${ac_cv_lib_MP_IMP_PutGmpInt+set}" = set; then 3911 echo $ECHO_N "(cached) $ECHO_C" >&6 3912 else 3913 ac_check_lib_save_LIBS=$LIBS 3914 LIBS="-lMP $LIBS" 3915 cat >conftest.$ac_ext <<_ACEOF 3916 /* confdefs.h. */ 3917 _ACEOF 3918 cat confdefs.h >>conftest.$ac_ext 3919 cat >>conftest.$ac_ext <<_ACEOF 3920 /* end confdefs.h. */ 3921 3922 /* Override any gcc2 internal prototype to avoid an error. */ 3923 #ifdef __cplusplus 3924 extern "C" 3925 #endif 3926 /* We use char because int might match the return type of a gcc2 3927 builtin and then its argument prototype would still apply. */ 3928 char IMP_PutGmpInt (); 3929 int 3930 main () 3931 { 3932 IMP_PutGmpInt (); 3933 ; 3934 return 0; 3935 } 3936 _ACEOF 3937 rm -f conftest.$ac_objext conftest$ac_exeext 3938 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 3939 (eval $ac_link) 2>conftest.er1 3940 ac_status=$? 3941 grep -v '^ *+' conftest.er1 >conftest.err 3942 rm -f conftest.er1 3943 cat conftest.err >&5 3944 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3945 (exit $ac_status); } && 3946 { ac_try='test -z "$ac_c_werror_flag" 3947 || test ! -s conftest.err' 3948 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3949 (eval $ac_try) 2>&5 3950 ac_status=$? 3951 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3952 (exit $ac_status); }; } && 3953 { ac_try='test -s conftest$ac_exeext' 3954 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 3955 (eval $ac_try) 2>&5 3956 ac_status=$? 3957 echo "$as_me:$LINENO: \$? = $ac_status" >&5 3958 (exit $ac_status); }; }; then 3959 ac_cv_lib_MP_IMP_PutGmpInt=yes 3960 else 3961 echo "$as_me: failed program was:" >&5 3962 sed 's/^/| /' conftest.$ac_ext >&5 3963 3964 ac_cv_lib_MP_IMP_PutGmpInt=no 3965 fi 3966 rm -f conftest.err conftest.$ac_objext \ 3967 conftest$ac_exeext conftest.$ac_ext 3968 LIBS=$ac_check_lib_save_LIBS 3969 fi 3970 echo "$as_me:$LINENO: result: $ac_cv_lib_MP_IMP_PutGmpInt" >&5 3971 echo "${ECHO_T}$ac_cv_lib_MP_IMP_PutGmpInt" >&6 3972 if test $ac_cv_lib_MP_IMP_PutGmpInt = yes; then 3973 cat >>confdefs.h <<_ACEOF 3974 #define HAVE_LIBMP 1 3975 _ACEOF 3976 3977 LIBS="-lMP $LIBS" 3978 3979 fi 3980 3981 3982 echo "$as_me:$LINENO: checking for MPT_GetTree in -lMPT" >&5 3983 echo $ECHO_N "checking for MPT_GetTree in -lMPT... $ECHO_C" >&6 3984 if test "${ac_cv_lib_MPT_MPT_GetTree+set}" = set; then 3985 echo $ECHO_N "(cached) $ECHO_C" >&6 3986 else 3987 ac_check_lib_save_LIBS=$LIBS 3988 LIBS="-lMPT $LIBS" 3989 cat >conftest.$ac_ext <<_ACEOF 3990 /* confdefs.h. */ 3991 _ACEOF 3992 cat confdefs.h >>conftest.$ac_ext 3993 cat >>conftest.$ac_ext <<_ACEOF 3994 /* end confdefs.h. */ 3995 3996 /* Override any gcc2 internal prototype to avoid an error. */ 3997 #ifdef __cplusplus 3998 extern "C" 3999 #endif 4000 /* We use char because int might match the return type of a gcc2 4001 builtin and then its argument prototype would still apply. */ 4002 char MPT_GetTree (); 4003 int 4004 main () 4005 { 4006 MPT_GetTree (); 4007 ; 4008 return 0; 4009 } 4010 _ACEOF 4011 rm -f conftest.$ac_objext conftest$ac_exeext 4012 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4013 (eval $ac_link) 2>conftest.er1 4014 ac_status=$? 4015 grep -v '^ *+' conftest.er1 >conftest.err 4016 rm -f conftest.er1 4017 cat conftest.err >&5 4018 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4019 (exit $ac_status); } && 4020 { ac_try='test -z "$ac_c_werror_flag" 4021 || test ! -s conftest.err' 4022 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4023 (eval $ac_try) 2>&5 4024 ac_status=$? 4025 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4026 (exit $ac_status); }; } && 4027 { ac_try='test -s conftest$ac_exeext' 4028 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4029 (eval $ac_try) 2>&5 4030 ac_status=$? 4031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4032 (exit $ac_status); }; }; then 4033 ac_cv_lib_MPT_MPT_GetTree=yes 4034 else 4035 echo "$as_me: failed program was:" >&5 4036 sed 's/^/| /' conftest.$ac_ext >&5 4037 4038 ac_cv_lib_MPT_MPT_GetTree=no 4039 fi 4040 rm -f conftest.err conftest.$ac_objext \ 4041 conftest$ac_exeext conftest.$ac_ext 4042 LIBS=$ac_check_lib_save_LIBS 4043 fi 4044 echo "$as_me:$LINENO: result: $ac_cv_lib_MPT_MPT_GetTree" >&5 4045 echo "${ECHO_T}$ac_cv_lib_MPT_MPT_GetTree" >&6 4046 if test $ac_cv_lib_MPT_MPT_GetTree = yes; then 4047 cat >>confdefs.h <<_ACEOF 4048 #define HAVE_LIBMPT 1 4049 _ACEOF 4050 4051 LIBS="-lMPT $LIBS" 4052 4053 fi 4054 4055 4056 echo "$as_me:$LINENO: checking for atof in -lsingcf" >&5 4057 echo $ECHO_N "checking for atof in -lsingcf... $ECHO_C" >&6 4058 if test "${ac_cv_lib_singcf_atof+set}" = set; then 4059 echo $ECHO_N "(cached) $ECHO_C" >&6 4060 else 4061 ac_check_lib_save_LIBS=$LIBS 4062 LIBS="-lsingcf $LIBS" 4063 cat >conftest.$ac_ext <<_ACEOF 4064 /* confdefs.h. */ 4065 _ACEOF 4066 cat confdefs.h >>conftest.$ac_ext 4067 cat >>conftest.$ac_ext <<_ACEOF 4068 /* end confdefs.h. */ 4069 4070 /* Override any gcc2 internal prototype to avoid an error. */ 4071 #ifdef __cplusplus 4072 extern "C" 4073 #endif 4074 /* We use char because int might match the return type of a gcc2 4075 builtin and then its argument prototype would still apply. */ 4076 char atof (); 4077 int 4078 main () 4079 { 4080 atof (); 4081 ; 4082 return 0; 4083 } 4084 _ACEOF 4085 rm -f conftest.$ac_objext conftest$ac_exeext 4086 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4087 (eval $ac_link) 2>conftest.er1 4088 ac_status=$? 4089 grep -v '^ *+' conftest.er1 >conftest.err 4090 rm -f conftest.er1 4091 cat conftest.err >&5 4092 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4093 (exit $ac_status); } && 4094 { ac_try='test -z "$ac_c_werror_flag" 4095 || test ! -s conftest.err' 4096 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4097 (eval $ac_try) 2>&5 4098 ac_status=$? 4099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4100 (exit $ac_status); }; } && 4101 { ac_try='test -s conftest$ac_exeext' 4102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4103 (eval $ac_try) 2>&5 4104 ac_status=$? 4105 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4106 (exit $ac_status); }; }; then 4107 ac_cv_lib_singcf_atof=yes 4108 else 4109 echo "$as_me: failed program was:" >&5 4110 sed 's/^/| /' conftest.$ac_ext >&5 4111 4112 ac_cv_lib_singcf_atof=no 4113 fi 4114 rm -f conftest.err conftest.$ac_objext \ 4115 conftest$ac_exeext conftest.$ac_ext 4116 LIBS=$ac_check_lib_save_LIBS 4117 fi 4118 echo "$as_me:$LINENO: result: $ac_cv_lib_singcf_atof" >&5 4119 echo "${ECHO_T}$ac_cv_lib_singcf_atof" >&6 4120 if test $ac_cv_lib_singcf_atof = yes; then 4121 cat >>confdefs.h <<_ACEOF 4122 #define HAVE_LIBSINGCF 1 4123 _ACEOF 4124 4125 LIBS="-lsingcf $LIBS" 4126 4127 fi 4128 4129 4130 echo "$as_me:$LINENO: checking for atof in -lsingfac" >&5 4131 echo $ECHO_N "checking for atof in -lsingfac... $ECHO_C" >&6 4132 if test "${ac_cv_lib_singfac_atof+set}" = set; then 4133 echo $ECHO_N "(cached) $ECHO_C" >&6 4134 else 4135 ac_check_lib_save_LIBS=$LIBS 4136 LIBS="-lsingfac $LIBS" 4137 cat >conftest.$ac_ext <<_ACEOF 4138 /* confdefs.h. */ 4139 _ACEOF 4140 cat confdefs.h >>conftest.$ac_ext 4141 cat >>conftest.$ac_ext <<_ACEOF 4142 /* end confdefs.h. */ 4143 4144 /* Override any gcc2 internal prototype to avoid an error. */ 4145 #ifdef __cplusplus 4146 extern "C" 4147 #endif 4148 /* We use char because int might match the return type of a gcc2 4149 builtin and then its argument prototype would still apply. */ 4150 char atof (); 4151 int 4152 main () 4153 { 4154 atof (); 4155 ; 4156 return 0; 4157 } 4158 _ACEOF 4159 rm -f conftest.$ac_objext conftest$ac_exeext 4160 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4161 (eval $ac_link) 2>conftest.er1 4162 ac_status=$? 4163 grep -v '^ *+' conftest.er1 >conftest.err 4164 rm -f conftest.er1 4165 cat conftest.err >&5 4166 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4167 (exit $ac_status); } && 4168 { ac_try='test -z "$ac_c_werror_flag" 4169 || test ! -s conftest.err' 4170 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4171 (eval $ac_try) 2>&5 4172 ac_status=$? 4173 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4174 (exit $ac_status); }; } && 4175 { ac_try='test -s conftest$ac_exeext' 4176 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4177 (eval $ac_try) 2>&5 4178 ac_status=$? 4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4180 (exit $ac_status); }; }; then 4181 ac_cv_lib_singfac_atof=yes 4182 else 4183 echo "$as_me: failed program was:" >&5 4184 sed 's/^/| /' conftest.$ac_ext >&5 4185 4186 ac_cv_lib_singfac_atof=no 4187 fi 4188 rm -f conftest.err conftest.$ac_objext \ 4189 conftest$ac_exeext conftest.$ac_ext 4190 LIBS=$ac_check_lib_save_LIBS 4191 fi 4192 echo "$as_me:$LINENO: result: $ac_cv_lib_singfac_atof" >&5 4193 echo "${ECHO_T}$ac_cv_lib_singfac_atof" >&6 4194 if test $ac_cv_lib_singfac_atof = yes; then 4195 cat >>confdefs.h <<_ACEOF 4196 #define HAVE_LIBSINGFAC 1 4197 _ACEOF 4198 4199 LIBS="-lsingfac $LIBS" 4200 4201 fi 4202 4203 4204 echo "$as_me:$LINENO: checking for omTestAddr in -lomalloc" >&5 4205 echo $ECHO_N "checking for omTestAddr in -lomalloc... $ECHO_C" >&6 4206 if test "${ac_cv_lib_omalloc_omTestAddr+set}" = set; then 4207 echo $ECHO_N "(cached) $ECHO_C" >&6 4208 else 4209 ac_check_lib_save_LIBS=$LIBS 4210 LIBS="-lomalloc $LIBS" 4211 cat >conftest.$ac_ext <<_ACEOF 4212 /* confdefs.h. */ 4213 _ACEOF 4214 cat confdefs.h >>conftest.$ac_ext 4215 cat >>conftest.$ac_ext <<_ACEOF 4216 /* end confdefs.h. */ 4217 4218 /* Override any gcc2 internal prototype to avoid an error. */ 4219 #ifdef __cplusplus 4220 extern "C" 4221 #endif 4222 /* We use char because int might match the return type of a gcc2 4223 builtin and then its argument prototype would still apply. */ 4224 char omTestAddr (); 4225 int 4226 main () 4227 { 4228 omTestAddr (); 4229 ; 4230 return 0; 4231 } 4232 _ACEOF 4233 rm -f conftest.$ac_objext conftest$ac_exeext 4234 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4235 (eval $ac_link) 2>conftest.er1 4236 ac_status=$? 4237 grep -v '^ *+' conftest.er1 >conftest.err 4238 rm -f conftest.er1 4239 cat conftest.err >&5 4240 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4241 (exit $ac_status); } && 4242 { ac_try='test -z "$ac_c_werror_flag" 4243 || test ! -s conftest.err' 4244 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4245 (eval $ac_try) 2>&5 4246 ac_status=$? 4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4248 (exit $ac_status); }; } && 4249 { ac_try='test -s conftest$ac_exeext' 4250 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4251 (eval $ac_try) 2>&5 4252 ac_status=$? 4253 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4254 (exit $ac_status); }; }; then 4255 ac_cv_lib_omalloc_omTestAddr=yes 4256 else 4257 echo "$as_me: failed program was:" >&5 4258 sed 's/^/| /' conftest.$ac_ext >&5 4259 4260 ac_cv_lib_omalloc_omTestAddr=no 4261 fi 4262 rm -f conftest.err conftest.$ac_objext \ 4263 conftest$ac_exeext conftest.$ac_ext 4264 LIBS=$ac_check_lib_save_LIBS 4265 fi 4266 echo "$as_me:$LINENO: result: $ac_cv_lib_omalloc_omTestAddr" >&5 4267 echo "${ECHO_T}$ac_cv_lib_omalloc_omTestAddr" >&6 4268 if test $ac_cv_lib_omalloc_omTestAddr = yes; then 4269 cat >>confdefs.h <<_ACEOF 4270 #define HAVE_LIBOMALLOC 1 4271 _ACEOF 4272 4273 LIBS="-lomalloc $LIBS" 4274 4275 fi 4276 4277 4278 echo "$as_me:$LINENO: checking for main in -lomalloc_ndebug" >&5 4279 echo $ECHO_N "checking for main in -lomalloc_ndebug... $ECHO_C" >&6 4280 if test "${ac_cv_lib_omalloc_ndebug_main+set}" = set; then 4281 echo $ECHO_N "(cached) $ECHO_C" >&6 4282 else 4283 ac_check_lib_save_LIBS=$LIBS 4284 LIBS="-lomalloc_ndebug $LIBS" 4285 cat >conftest.$ac_ext <<_ACEOF 4286 /* confdefs.h. */ 4287 _ACEOF 4288 cat confdefs.h >>conftest.$ac_ext 4289 cat >>conftest.$ac_ext <<_ACEOF 4290 /* end confdefs.h. */ 4291 4292 4293 int 4294 main () 4295 { 4296 main (); 4297 ; 4298 return 0; 4299 } 4300 _ACEOF 4301 rm -f conftest.$ac_objext conftest$ac_exeext 4302 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4303 (eval $ac_link) 2>conftest.er1 4304 ac_status=$? 4305 grep -v '^ *+' conftest.er1 >conftest.err 4306 rm -f conftest.er1 4307 cat conftest.err >&5 4308 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4309 (exit $ac_status); } && 4310 { ac_try='test -z "$ac_c_werror_flag" 4311 || test ! -s conftest.err' 4312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4313 (eval $ac_try) 2>&5 4314 ac_status=$? 4315 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4316 (exit $ac_status); }; } && 4317 { ac_try='test -s conftest$ac_exeext' 4318 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4319 (eval $ac_try) 2>&5 4320 ac_status=$? 4321 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4322 (exit $ac_status); }; }; then 4323 ac_cv_lib_omalloc_ndebug_main=yes 4324 else 4325 echo "$as_me: failed program was:" >&5 4326 sed 's/^/| /' conftest.$ac_ext >&5 4327 4328 ac_cv_lib_omalloc_ndebug_main=no 4329 fi 4330 rm -f conftest.err conftest.$ac_objext \ 4331 conftest$ac_exeext conftest.$ac_ext 4332 LIBS=$ac_check_lib_save_LIBS 4333 fi 4334 echo "$as_me:$LINENO: result: $ac_cv_lib_omalloc_ndebug_main" >&5 4335 echo "${ECHO_T}$ac_cv_lib_omalloc_ndebug_main" >&6 4336 if test $ac_cv_lib_omalloc_ndebug_main = yes; then 4337 cat >>confdefs.h <<_ACEOF 4338 #define HAVE_LIBOMALLOC_NDEBUG 1 4339 _ACEOF 4340 4341 LIBS="-lomalloc_ndebug $LIBS" 4342 4343 fi 4344 4345 4346 echo "$as_me:$LINENO: checking for ANSI C header files" >&5 4347 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6 4348 if test "${ac_cv_header_stdc+set}" = set; then 4349 echo $ECHO_N "(cached) $ECHO_C" >&6 4350 else 4351 cat >conftest.$ac_ext <<_ACEOF 4352 /* confdefs.h. */ 4353 _ACEOF 4354 cat confdefs.h >>conftest.$ac_ext 4355 cat >>conftest.$ac_ext <<_ACEOF 4356 /* end confdefs.h. */ 4357 #include <stdlib.h> 4358 #include <stdarg.h> 4359 #include <string.h> 4360 #include <float.h> 4361 4362 int 4363 main () 4364 { 4365 4366 ; 4367 return 0; 4368 } 4369 _ACEOF 4370 rm -f conftest.$ac_objext 4371 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4372 (eval $ac_compile) 2>conftest.er1 4373 ac_status=$? 4374 grep -v '^ *+' conftest.er1 >conftest.err 4375 rm -f conftest.er1 4376 cat conftest.err >&5 4377 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4378 (exit $ac_status); } && 4379 { ac_try='test -z "$ac_c_werror_flag" 4380 || test ! -s conftest.err' 4381 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4382 (eval $ac_try) 2>&5 4383 ac_status=$? 4384 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4385 (exit $ac_status); }; } && 4386 { ac_try='test -s conftest.$ac_objext' 4387 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4388 (eval $ac_try) 2>&5 4389 ac_status=$? 4390 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4391 (exit $ac_status); }; }; then 4392 ac_cv_header_stdc=yes 4393 else 4394 echo "$as_me: failed program was:" >&5 4395 sed 's/^/| /' conftest.$ac_ext >&5 4396 4397 ac_cv_header_stdc=no 4398 fi 4399 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4400 4401 if test $ac_cv_header_stdc = yes; then 4402 # SunOS 4.x string.h does not declare mem*, contrary to ANSI. 4403 cat >conftest.$ac_ext <<_ACEOF 4404 /* confdefs.h. */ 4405 _ACEOF 4406 cat confdefs.h >>conftest.$ac_ext 4407 cat >>conftest.$ac_ext <<_ACEOF 4408 /* end confdefs.h. */ 4409 #include <string.h> 4410 4411 _ACEOF 4412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4413 $EGREP "memchr" >/dev/null 2>&1; then 4414 : 4415 else 4416 ac_cv_header_stdc=no 1561 4417 fi 1562 4418 rm -f conftest* 1563 LIBS="$ac_save_LIBS" 1564 1565 fi 1566 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1567 echo "$ac_t""yes" 1>&6 1568 ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1569 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1570 cat >> confdefs.h <<EOF 1571 #define $ac_tr_lib 1 1572 EOF 1573 1574 LIBS="-lm $LIBS" 1575 1576 else 1577 echo "$ac_t""no" 1>&6 1578 fi 1579 1580 echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 1581 echo "configure:1582: checking for socket in -lbsd" >&5 1582 ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` 1583 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1584 echo $ac_n "(cached) $ac_c" 1>&6 1585 else 1586 ac_save_LIBS="$LIBS" 1587 LIBS="-lbsd $LIBS" 1588 cat > conftest.$ac_ext <<EOF 1589 #line 1590 "configure" 1590 #include "confdefs.h" 1591 /* Override any gcc2 internal prototype to avoid an error. */ 1592 /* We use char because int might match the return type of a gcc2 1593 builtin and then its argument prototype would still apply. */ 1594 char socket(); 1595 1596 int main() { 1597 socket() 1598 ; return 0; } 1599 EOF 1600 if { (eval echo configure:1601: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1601 rm -rf conftest* 1602 eval "ac_cv_lib_$ac_lib_var=yes" 1603 else 1604 echo "configure: failed program was:" >&5 1605 cat conftest.$ac_ext >&5 1606 rm -rf conftest* 1607 eval "ac_cv_lib_$ac_lib_var=no" 4419 4420 fi 4421 4422 if test $ac_cv_header_stdc = yes; then 4423 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. 4424 cat >conftest.$ac_ext <<_ACEOF 4425 /* confdefs.h. */ 4426 _ACEOF 4427 cat confdefs.h >>conftest.$ac_ext 4428 cat >>conftest.$ac_ext <<_ACEOF 4429 /* end confdefs.h. */ 4430 #include <stdlib.h> 4431 4432 _ACEOF 4433 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | 4434 $EGREP "free" >/dev/null 2>&1; then 4435 : 4436 else 4437 ac_cv_header_stdc=no 1608 4438 fi 1609 4439 rm -f conftest* 1610 LIBS="$ac_save_LIBS" 1611 1612 fi 1613 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1614 echo "$ac_t""yes" 1>&6 1615 ac_tr_lib=HAVE_LIB`echo bsd | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1616 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1617 cat >> confdefs.h <<EOF 1618 #define $ac_tr_lib 1 1619 EOF 1620 1621 LIBS="-lbsd $LIBS" 1622 1623 else 1624 echo "$ac_t""no" 1>&6 1625 fi 1626 1627 echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 1628 echo "configure:1629: checking for listen in -lsocket" >&5 1629 ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` 1630 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1631 echo $ac_n "(cached) $ac_c" 1>&6 1632 else 1633 ac_save_LIBS="$LIBS" 1634 LIBS="-lsocket $LIBS" 1635 cat > conftest.$ac_ext <<EOF 1636 #line 1637 "configure" 1637 #include "confdefs.h" 1638 /* Override any gcc2 internal prototype to avoid an error. */ 1639 /* We use char because int might match the return type of a gcc2 1640 builtin and then its argument prototype would still apply. */ 1641 char listen(); 1642 1643 int main() { 1644 listen() 1645 ; return 0; } 1646 EOF 1647 if { (eval echo configure:1648: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1648 rm -rf conftest* 1649 eval "ac_cv_lib_$ac_lib_var=yes" 1650 else 1651 echo "configure: failed program was:" >&5 1652 cat conftest.$ac_ext >&5 1653 rm -rf conftest* 1654 eval "ac_cv_lib_$ac_lib_var=no" 1655 fi 1656 rm -f conftest* 1657 LIBS="$ac_save_LIBS" 1658 1659 fi 1660 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1661 echo "$ac_t""yes" 1>&6 1662 ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1663 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1664 cat >> confdefs.h <<EOF 1665 #define $ac_tr_lib 1 1666 EOF 1667 1668 LIBS="-lsocket $LIBS" 1669 1670 else 1671 echo "$ac_t""no" 1>&6 1672 fi 1673 1674 echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 1675 echo "configure:1676: checking for gethostbyname in -lnsl" >&5 1676 ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` 1677 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1678 echo $ac_n "(cached) $ac_c" 1>&6 1679 else 1680 ac_save_LIBS="$LIBS" 1681 LIBS="-lnsl $LIBS" 1682 cat > conftest.$ac_ext <<EOF 1683 #line 1684 "configure" 1684 #include "confdefs.h" 1685 /* Override any gcc2 internal prototype to avoid an error. */ 1686 /* We use char because int might match the return type of a gcc2 1687 builtin and then its argument prototype would still apply. */ 1688 char gethostbyname(); 1689 1690 int main() { 1691 gethostbyname() 1692 ; return 0; } 1693 EOF 1694 if { (eval echo configure:1695: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1695 rm -rf conftest* 1696 eval "ac_cv_lib_$ac_lib_var=yes" 1697 else 1698 echo "configure: failed program was:" >&5 1699 cat conftest.$ac_ext >&5 1700 rm -rf conftest* 1701 eval "ac_cv_lib_$ac_lib_var=no" 1702 fi 1703 rm -f conftest* 1704 LIBS="$ac_save_LIBS" 1705 1706 fi 1707 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1708 echo "$ac_t""yes" 1>&6 1709 ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1710 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1711 cat >> confdefs.h <<EOF 1712 #define $ac_tr_lib 1 1713 EOF 1714 1715 LIBS="-lnsl $LIBS" 1716 1717 else 1718 echo "$ac_t""no" 1>&6 1719 fi 1720 1721 echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 1722 echo "configure:1723: checking for main in -lgmp" >&5 1723 ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` 1724 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1725 echo $ac_n "(cached) $ac_c" 1>&6 1726 else 1727 ac_save_LIBS="$LIBS" 1728 LIBS="-lgmp $LIBS" 1729 cat > conftest.$ac_ext <<EOF 1730 #line 1731 "configure" 1731 #include "confdefs.h" 1732 1733 int main() { 1734 main() 1735 ; return 0; } 1736 EOF 1737 if { (eval echo configure:1738: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1738 rm -rf conftest* 1739 eval "ac_cv_lib_$ac_lib_var=yes" 1740 else 1741 echo "configure: failed program was:" >&5 1742 cat conftest.$ac_ext >&5 1743 rm -rf conftest* 1744 eval "ac_cv_lib_$ac_lib_var=no" 1745 fi 1746 rm -f conftest* 1747 LIBS="$ac_save_LIBS" 1748 1749 fi 1750 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1751 echo "$ac_t""yes" 1>&6 1752 ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1753 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1754 cat >> confdefs.h <<EOF 1755 #define $ac_tr_lib 1 1756 EOF 1757 1758 LIBS="-lgmp $LIBS" 1759 1760 else 1761 echo "$ac_t""no" 1>&6 1762 fi 1763 1764 echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 1765 echo "configure:1766: checking for mpz_init in -lsmallgmp" >&5 1766 ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` 1767 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1768 echo $ac_n "(cached) $ac_c" 1>&6 1769 else 1770 ac_save_LIBS="$LIBS" 1771 LIBS="-lsmallgmp $LIBS" 1772 cat > conftest.$ac_ext <<EOF 1773 #line 1774 "configure" 1774 #include "confdefs.h" 1775 /* Override any gcc2 internal prototype to avoid an error. */ 1776 /* We use char because int might match the return type of a gcc2 1777 builtin and then its argument prototype would still apply. */ 1778 char mpz_init(); 1779 1780 int main() { 1781 mpz_init() 1782 ; return 0; } 1783 EOF 1784 if { (eval echo configure:1785: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1785 rm -rf conftest* 1786 eval "ac_cv_lib_$ac_lib_var=yes" 1787 else 1788 echo "configure: failed program was:" >&5 1789 cat conftest.$ac_ext >&5 1790 rm -rf conftest* 1791 eval "ac_cv_lib_$ac_lib_var=no" 1792 fi 1793 rm -f conftest* 1794 LIBS="$ac_save_LIBS" 1795 1796 fi 1797 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1798 echo "$ac_t""yes" 1>&6 1799 ac_tr_lib=HAVE_LIB`echo smallgmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1800 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1801 cat >> confdefs.h <<EOF 1802 #define $ac_tr_lib 1 1803 EOF 1804 1805 LIBS="-lsmallgmp $LIBS" 1806 1807 else 1808 echo "$ac_t""no" 1>&6 1809 fi 1810 1811 echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 1812 echo "configure:1813: checking for IMP_PutGmpInt in -lMP" >&5 1813 ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` 1814 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1815 echo $ac_n "(cached) $ac_c" 1>&6 1816 else 1817 ac_save_LIBS="$LIBS" 1818 LIBS="-lMP $LIBS" 1819 cat > conftest.$ac_ext <<EOF 1820 #line 1821 "configure" 1821 #include "confdefs.h" 1822 /* Override any gcc2 internal prototype to avoid an error. */ 1823 /* We use char because int might match the return type of a gcc2 1824 builtin and then its argument prototype would still apply. */ 1825 char IMP_PutGmpInt(); 1826 1827 int main() { 1828 IMP_PutGmpInt() 1829 ; return 0; } 1830 EOF 1831 if { (eval echo configure:1832: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1832 rm -rf conftest* 1833 eval "ac_cv_lib_$ac_lib_var=yes" 1834 else 1835 echo "configure: failed program was:" >&5 1836 cat conftest.$ac_ext >&5 1837 rm -rf conftest* 1838 eval "ac_cv_lib_$ac_lib_var=no" 1839 fi 1840 rm -f conftest* 1841 LIBS="$ac_save_LIBS" 1842 1843 fi 1844 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1845 echo "$ac_t""yes" 1>&6 1846 ac_tr_lib=HAVE_LIB`echo MP | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1847 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1848 cat >> confdefs.h <<EOF 1849 #define $ac_tr_lib 1 1850 EOF 1851 1852 LIBS="-lMP $LIBS" 1853 1854 else 1855 echo "$ac_t""no" 1>&6 1856 fi 1857 1858 echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 1859 echo "configure:1860: checking for MPT_GetTree in -lMPT" >&5 1860 ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` 1861 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1862 echo $ac_n "(cached) $ac_c" 1>&6 1863 else 1864 ac_save_LIBS="$LIBS" 1865 LIBS="-lMPT $LIBS" 1866 cat > conftest.$ac_ext <<EOF 1867 #line 1868 "configure" 1868 #include "confdefs.h" 1869 /* Override any gcc2 internal prototype to avoid an error. */ 1870 /* We use char because int might match the return type of a gcc2 1871 builtin and then its argument prototype would still apply. */ 1872 char MPT_GetTree(); 1873 1874 int main() { 1875 MPT_GetTree() 1876 ; return 0; } 1877 EOF 1878 if { (eval echo configure:1879: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1879 rm -rf conftest* 1880 eval "ac_cv_lib_$ac_lib_var=yes" 1881 else 1882 echo "configure: failed program was:" >&5 1883 cat conftest.$ac_ext >&5 1884 rm -rf conftest* 1885 eval "ac_cv_lib_$ac_lib_var=no" 1886 fi 1887 rm -f conftest* 1888 LIBS="$ac_save_LIBS" 1889 1890 fi 1891 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1892 echo "$ac_t""yes" 1>&6 1893 ac_tr_lib=HAVE_LIB`echo MPT | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1894 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1895 cat >> confdefs.h <<EOF 1896 #define $ac_tr_lib 1 1897 EOF 1898 1899 LIBS="-lMPT $LIBS" 1900 1901 else 1902 echo "$ac_t""no" 1>&6 1903 fi 1904 1905 echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 1906 echo "configure:1907: checking for atof in -lsingcf" >&5 1907 ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` 1908 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1909 echo $ac_n "(cached) $ac_c" 1>&6 1910 else 1911 ac_save_LIBS="$LIBS" 1912 LIBS="-lsingcf $LIBS" 1913 cat > conftest.$ac_ext <<EOF 1914 #line 1915 "configure" 1915 #include "confdefs.h" 1916 /* Override any gcc2 internal prototype to avoid an error. */ 1917 /* We use char because int might match the return type of a gcc2 1918 builtin and then its argument prototype would still apply. */ 1919 char atof(); 1920 1921 int main() { 1922 atof() 1923 ; return 0; } 1924 EOF 1925 if { (eval echo configure:1926: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1926 rm -rf conftest* 1927 eval "ac_cv_lib_$ac_lib_var=yes" 1928 else 1929 echo "configure: failed program was:" >&5 1930 cat conftest.$ac_ext >&5 1931 rm -rf conftest* 1932 eval "ac_cv_lib_$ac_lib_var=no" 1933 fi 1934 rm -f conftest* 1935 LIBS="$ac_save_LIBS" 1936 1937 fi 1938 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1939 echo "$ac_t""yes" 1>&6 1940 ac_tr_lib=HAVE_LIB`echo singcf | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1941 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1942 cat >> confdefs.h <<EOF 1943 #define $ac_tr_lib 1 1944 EOF 1945 1946 LIBS="-lsingcf $LIBS" 1947 1948 else 1949 echo "$ac_t""no" 1>&6 1950 fi 1951 1952 echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 1953 echo "configure:1954: checking for atof in -lsingfac" >&5 1954 ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` 1955 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 1956 echo $ac_n "(cached) $ac_c" 1>&6 1957 else 1958 ac_save_LIBS="$LIBS" 1959 LIBS="-lsingfac $LIBS" 1960 cat > conftest.$ac_ext <<EOF 1961 #line 1962 "configure" 1962 #include "confdefs.h" 1963 /* Override any gcc2 internal prototype to avoid an error. */ 1964 /* We use char because int might match the return type of a gcc2 1965 builtin and then its argument prototype would still apply. */ 1966 char atof(); 1967 1968 int main() { 1969 atof() 1970 ; return 0; } 1971 EOF 1972 if { (eval echo configure:1973: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 1973 rm -rf conftest* 1974 eval "ac_cv_lib_$ac_lib_var=yes" 1975 else 1976 echo "configure: failed program was:" >&5 1977 cat conftest.$ac_ext >&5 1978 rm -rf conftest* 1979 eval "ac_cv_lib_$ac_lib_var=no" 1980 fi 1981 rm -f conftest* 1982 LIBS="$ac_save_LIBS" 1983 1984 fi 1985 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 1986 echo "$ac_t""yes" 1>&6 1987 ac_tr_lib=HAVE_LIB`echo singfac | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 1988 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 1989 cat >> confdefs.h <<EOF 1990 #define $ac_tr_lib 1 1991 EOF 1992 1993 LIBS="-lsingfac $LIBS" 1994 1995 else 1996 echo "$ac_t""no" 1>&6 1997 fi 1998 1999 echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6 2000 echo "configure:2001: checking for omTestAddr in -lomalloc" >&5 2001 ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'` 2002 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 2003 echo $ac_n "(cached) $ac_c" 1>&6 2004 else 2005 ac_save_LIBS="$LIBS" 2006 LIBS="-lomalloc $LIBS" 2007 cat > conftest.$ac_ext <<EOF 2008 #line 2009 "configure" 2009 #include "confdefs.h" 2010 /* Override any gcc2 internal prototype to avoid an error. */ 2011 /* We use char because int might match the return type of a gcc2 2012 builtin and then its argument prototype would still apply. */ 2013 char omTestAddr(); 2014 2015 int main() { 2016 omTestAddr() 2017 ; return 0; } 2018 EOF 2019 if { (eval echo configure:2020: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2020 rm -rf conftest* 2021 eval "ac_cv_lib_$ac_lib_var=yes" 2022 else 2023 echo "configure: failed program was:" >&5 2024 cat conftest.$ac_ext >&5 2025 rm -rf conftest* 2026 eval "ac_cv_lib_$ac_lib_var=no" 2027 fi 2028 rm -f conftest* 2029 LIBS="$ac_save_LIBS" 2030 2031 fi 2032 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 2033 echo "$ac_t""yes" 1>&6 2034 ac_tr_lib=HAVE_LIB`echo omalloc | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 2035 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 2036 cat >> confdefs.h <<EOF 2037 #define $ac_tr_lib 1 2038 EOF 2039 2040 LIBS="-lomalloc $LIBS" 2041 2042 else 2043 echo "$ac_t""no" 1>&6 2044 fi 2045 2046 echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6 2047 echo "configure:2048: checking for main in -lomalloc_ndebug" >&5 2048 ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'` 2049 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then 2050 echo $ac_n "(cached) $ac_c" 1>&6 2051 else 2052 ac_save_LIBS="$LIBS" 2053 LIBS="-lomalloc_ndebug $LIBS" 2054 cat > conftest.$ac_ext <<EOF 2055 #line 2056 "configure" 2056 #include "confdefs.h" 2057 2058 int main() { 2059 main() 2060 ; return 0; } 2061 EOF 2062 if { (eval echo configure:2063: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then 2063 rm -rf conftest* 2064 eval "ac_cv_lib_$ac_lib_var=yes" 2065 else 2066 echo "configure: failed program was:" >&5 2067 cat conftest.$ac_ext >&5 2068 rm -rf conftest* 2069 eval "ac_cv_lib_$ac_lib_var=no" 2070 fi 2071 rm -f conftest* 2072 LIBS="$ac_save_LIBS" 2073 2074 fi 2075 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then 2076 echo "$ac_t""yes" 1>&6 2077 ac_tr_lib=HAVE_LIB`echo omalloc_ndebug | sed -e 's/[^a-zA-Z0-9_]/_/g' \ 2078 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` 2079 cat >> confdefs.h <<EOF 2080 #define $ac_tr_lib 1 2081 EOF 2082 2083 LIBS="-lomalloc_ndebug $LIBS" 2084 2085 else 2086 echo "$ac_t""no" 1>&6 2087 fi 2088 2089 2090 for ac_hdr in gmp.h smallgmp.h MP.h MPT.h factory.h factor.h omalloc.h 4440 4441 fi 4442 4443 if test $ac_cv_header_stdc = yes; then 4444 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. 4445 if test "$cross_compiling" = yes; then 4446 : 4447 else 4448 cat >conftest.$ac_ext <<_ACEOF 4449 /* confdefs.h. */ 4450 _ACEOF 4451 cat confdefs.h >>conftest.$ac_ext 4452 cat >>conftest.$ac_ext <<_ACEOF 4453 /* end confdefs.h. */ 4454 #include <ctype.h> 4455 #if ((' ' & 0x0FF) == 0x020) 4456 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') 4457 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) 4458 #else 4459 # define ISLOWER(c) \ 4460 (('a' <= (c) && (c) <= 'i') \ 4461 || ('j' <= (c) && (c) <= 'r') \ 4462 || ('s' <= (c) && (c) <= 'z')) 4463 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) 4464 #endif 4465 4466 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) 4467 int 4468 main () 4469 { 4470 int i; 4471 for (i = 0; i < 256; i++) 4472 if (XOR (islower (i), ISLOWER (i)) 4473 || toupper (i) != TOUPPER (i)) 4474 exit(2); 4475 exit (0); 4476 } 4477 _ACEOF 4478 rm -f conftest$ac_exeext 4479 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5 4480 (eval $ac_link) 2>&5 4481 ac_status=$? 4482 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4483 (exit $ac_status); } && { ac_try='./conftest$ac_exeext' 4484 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4485 (eval $ac_try) 2>&5 4486 ac_status=$? 4487 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4488 (exit $ac_status); }; }; then 4489 : 4490 else 4491 echo "$as_me: program exited with status $ac_status" >&5 4492 echo "$as_me: failed program was:" >&5 4493 sed 's/^/| /' conftest.$ac_ext >&5 4494 4495 ( exit $ac_status ) 4496 ac_cv_header_stdc=no 4497 fi 4498 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext 4499 fi 4500 fi 4501 fi 4502 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 4503 echo "${ECHO_T}$ac_cv_header_stdc" >&6 4504 if test $ac_cv_header_stdc = yes; then 4505 4506 cat >>confdefs.h <<\_ACEOF 4507 #define STDC_HEADERS 1 4508 _ACEOF 4509 4510 fi 4511 4512 # On IRIX 5.3, sys/types and inttypes.h are conflicting. 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ 4523 inttypes.h stdint.h unistd.h 2091 4524 do 2092 ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` 2093 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 2094 echo "configure:2095: checking for $ac_hdr" >&5 2095 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then 2096 echo $ac_n "(cached) $ac_c" 1>&6 2097 else 2098 cat > conftest.$ac_ext <<EOF 2099 #line 2100 "configure" 2100 #include "confdefs.h" 2101 #include <$ac_hdr> 2102 EOF 2103 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" 2104 { (eval echo configure:2105: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } 2105 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` 2106 if test -z "$ac_err"; then 2107 rm -rf conftest* 2108 eval "ac_cv_header_$ac_safe=yes" 2109 else 2110 echo "$ac_err" >&5 2111 echo "configure: failed program was:" >&5 2112 cat conftest.$ac_ext >&5 2113 rm -rf conftest* 2114 eval "ac_cv_header_$ac_safe=no" 2115 fi 2116 rm -f conftest* 2117 fi 2118 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then 2119 echo "$ac_t""yes" 1>&6 2120 ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` 2121 cat >> confdefs.h <<EOF 2122 #define $ac_tr_hdr 1 2123 EOF 2124 2125 else 2126 echo "$ac_t""no" 1>&6 2127 fi 4525 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4526 echo "$as_me:$LINENO: checking for $ac_header" >&5 4527 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4528 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4529 echo $ECHO_N "(cached) $ECHO_C" >&6 4530 else 4531 cat >conftest.$ac_ext <<_ACEOF 4532 /* confdefs.h. */ 4533 _ACEOF 4534 cat confdefs.h >>conftest.$ac_ext 4535 cat >>conftest.$ac_ext <<_ACEOF 4536 /* end confdefs.h. */ 4537 $ac_includes_default 4538 4539 #include <$ac_header> 4540 _ACEOF 4541 rm -f conftest.$ac_objext 4542 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4543 (eval $ac_compile) 2>conftest.er1 4544 ac_status=$? 4545 grep -v '^ *+' conftest.er1 >conftest.err 4546 rm -f conftest.er1 4547 cat conftest.err >&5 4548 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4549 (exit $ac_status); } && 4550 { ac_try='test -z "$ac_c_werror_flag" 4551 || test ! -s conftest.err' 4552 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4553 (eval $ac_try) 2>&5 4554 ac_status=$? 4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4556 (exit $ac_status); }; } && 4557 { ac_try='test -s conftest.$ac_objext' 4558 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4559 (eval $ac_try) 2>&5 4560 ac_status=$? 4561 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4562 (exit $ac_status); }; }; then 4563 eval "$as_ac_Header=yes" 4564 else 4565 echo "$as_me: failed program was:" >&5 4566 sed 's/^/| /' conftest.$ac_ext >&5 4567 4568 eval "$as_ac_Header=no" 4569 fi 4570 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4571 fi 4572 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4574 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4575 cat >>confdefs.h <<_ACEOF 4576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4577 _ACEOF 4578 4579 fi 4580 4581 done 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 for ac_header in gmp.h smallgmp.h MP.h MPT.h factory.h factor.h omalloc.h 4592 do 4593 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 4594 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4595 echo "$as_me:$LINENO: checking for $ac_header" >&5 4596 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4597 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4598 echo $ECHO_N "(cached) $ECHO_C" >&6 4599 fi 4600 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4601 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4602 else 4603 # Is the header compilable? 4604 echo "$as_me:$LINENO: checking $ac_header usability" >&5 4605 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6 4606 cat >conftest.$ac_ext <<_ACEOF 4607 /* confdefs.h. */ 4608 _ACEOF 4609 cat confdefs.h >>conftest.$ac_ext 4610 cat >>conftest.$ac_ext <<_ACEOF 4611 /* end confdefs.h. */ 4612 $ac_includes_default 4613 #include <$ac_header> 4614 _ACEOF 4615 rm -f conftest.$ac_objext 4616 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5 4617 (eval $ac_compile) 2>conftest.er1 4618 ac_status=$? 4619 grep -v '^ *+' conftest.er1 >conftest.err 4620 rm -f conftest.er1 4621 cat conftest.err >&5 4622 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4623 (exit $ac_status); } && 4624 { ac_try='test -z "$ac_c_werror_flag" 4625 || test ! -s conftest.err' 4626 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4627 (eval $ac_try) 2>&5 4628 ac_status=$? 4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4630 (exit $ac_status); }; } && 4631 { ac_try='test -s conftest.$ac_objext' 4632 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 4633 (eval $ac_try) 2>&5 4634 ac_status=$? 4635 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4636 (exit $ac_status); }; }; then 4637 ac_header_compiler=yes 4638 else 4639 echo "$as_me: failed program was:" >&5 4640 sed 's/^/| /' conftest.$ac_ext >&5 4641 4642 ac_header_compiler=no 4643 fi 4644 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext 4645 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 4646 echo "${ECHO_T}$ac_header_compiler" >&6 4647 4648 # Is the header present? 4649 echo "$as_me:$LINENO: checking $ac_header presence" >&5 4650 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6 4651 cat >conftest.$ac_ext <<_ACEOF 4652 /* confdefs.h. */ 4653 _ACEOF 4654 cat confdefs.h >>conftest.$ac_ext 4655 cat >>conftest.$ac_ext <<_ACEOF 4656 /* end confdefs.h. */ 4657 #include <$ac_header> 4658 _ACEOF 4659 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5 4660 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1 4661 ac_status=$? 4662 grep -v '^ *+' conftest.er1 >conftest.err 4663 rm -f conftest.er1 4664 cat conftest.err >&5 4665 echo "$as_me:$LINENO: \$? = $ac_status" >&5 4666 (exit $ac_status); } >/dev/null; then 4667 if test -s conftest.err; then 4668 ac_cpp_err=$ac_c_preproc_warn_flag 4669 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag 4670 else 4671 ac_cpp_err= 4672 fi 4673 else 4674 ac_cpp_err=yes 4675 fi 4676 if test -z "$ac_cpp_err"; then 4677 ac_header_preproc=yes 4678 else 4679 echo "$as_me: failed program was:" >&5 4680 sed 's/^/| /' conftest.$ac_ext >&5 4681 4682 ac_header_preproc=no 4683 fi 4684 rm -f conftest.err conftest.$ac_ext 4685 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 4686 echo "${ECHO_T}$ac_header_preproc" >&6 4687 4688 # So? What about this header? 4689 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in 4690 yes:no: ) 4691 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 4692 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 4693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 4694 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 4695 ac_header_preproc=yes 4696 ;; 4697 no:yes:* ) 4698 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 4699 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 4700 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 4701 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 4702 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 4703 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 4704 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 4705 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 4706 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 4707 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 4708 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 4709 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 4710 ( 4711 cat <<\_ASBOX 4712 ## ------------------------------------------ ## 4713 ## Report this to the AC_PACKAGE_NAME lists. ## 4714 ## ------------------------------------------ ## 4715 _ASBOX 4716 ) | 4717 sed "s/^/$as_me: WARNING: /" >&2 4718 ;; 4719 esac 4720 echo "$as_me:$LINENO: checking for $ac_header" >&5 4721 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6 4722 if eval "test \"\${$as_ac_Header+set}\" = set"; then 4723 echo $ECHO_N "(cached) $ECHO_C" >&6 4724 else 4725 eval "$as_ac_Header=\$ac_header_preproc" 4726 fi 4727 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5 4728 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6 4729 4730 fi 4731 if test `eval echo '${'$as_ac_Header'}'` = yes; then 4732 cat >>confdefs.h <<_ACEOF 4733 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 4734 _ACEOF 4735 4736 fi 4737 2128 4738 done 2129 4739 … … 2163 4773 ac_cv_omalloc_ok=yes 2164 4774 fi 2165 4775 4776 2166 4777 # Check whether --with-tmpdir or --without-tmpdir was given. 2167 4778 if test "${with_tmpdir+set}" = set; then 2168 4779 withval="$with_tmpdir" 2169 : 2170 fi 2171 4780 4781 fi; 2172 4782 # Check whether --enable-smallgmp or --disable-smallgmp was given. 2173 4783 if test "${enable_smallgmp+set}" = set; then 2174 4784 enableval="$enable_smallgmp" 2175 : 2176 fi 2177 4785 4786 fi; 2178 4787 # Check whether --enable-omalloc or --disable-omalloc was given. 2179 4788 if test "${enable_omalloc+set}" = set; then 2180 4789 enableval="$enable_omalloc" 2181 : 2182 fi 2183 4790 4791 fi; 2184 4792 # Check whether --enable-gmp or --disable-gmp was given. 2185 4793 if test "${enable_gmp+set}" = set; then 2186 4794 enableval="$enable_gmp" 2187 : 2188 fi 2189 4795 4796 fi; 2190 4797 # Check whether --enable-MP or --disable-MP was given. 2191 4798 if test "${enable_MP+set}" = set; then 2192 4799 enableval="$enable_MP" 2193 : 2194 fi 2195 4800 4801 fi; 2196 4802 # Check whether --enable-factory or --disable-factory was given. 2197 4803 if test "${enable_factory+set}" = set; then 2198 4804 enableval="$enable_factory" 2199 : 2200 fi 2201 4805 4806 fi; 2202 4807 # Check whether --enable-libfac or --disable-libfac was given. 2203 4808 if test "${enable_libfac+set}" = set; then 2204 4809 enableval="$enable_libfac" 2205 : 2206 fi 2207 4810 4811 fi; 2208 4812 # Check whether --enable-sgroup or --disable-sgroup was given. 2209 4813 if test "${enable_sgroup+set}" = set; then 2210 4814 enableval="$enable_sgroup" 2211 : 2212 fi 2213 4815 4816 fi; 2214 4817 # Check whether --enable-Singular or --disable-Singular was given. 2215 4818 if test "${enable_Singular+set}" = set; then 2216 4819 enableval="$enable_Singular" 2217 : 2218 fi 2219 4820 4821 fi; 2220 4822 # Check whether --enable-IntegerProgramming or --disable-IntegerProgramming was given. 2221 4823 if test "${enable_IntegerProgramming+set}" = set; then 2222 4824 enableval="$enable_IntegerProgramming" 2223 : 2224 fi 2225 4825 4826 fi; 2226 4827 # Check whether --enable-Plural or --disable-Plural was given. 2227 4828 if test "${enable_Plural+set}" = set; then 2228 4829 enableval="$enable_Plural" 2229 : 2230 fi 2231 4830 4831 fi; 2232 4832 # Check whether --enable-Texinfo or --disable-Texinfo was given. 2233 4833 if test "${enable_Texinfo+set}" = set; then 2234 4834 enableval="$enable_Texinfo" 2235 : 2236 fi 2237 4835 4836 fi; 2238 4837 # Check whether --enable-Texi2html or --disable-Texi2html was given. 2239 4838 if test "${enable_Texi2html+set}" = set; then 2240 4839 enableval="$enable_Texi2html" 2241 : 2242 fi 2243 4840 4841 fi; 2244 4842 # Check whether --enable-doc or --disable-doc was given. 2245 4843 if test "${enable_doc+set}" = set; then 2246 4844 enableval="$enable_doc" 2247 : 2248 fi 2249 4845 4846 fi; 2250 4847 # Check whether --enable-emacs or --disable-emacs was given. 2251 4848 if test "${enable_emacs+set}" = set; then 2252 4849 enableval="$enable_emacs" 2253 : 2254 fi 4850 4851 fi; 2255 4852 2256 4853 # Check whether --with-MP or --without-MP was given. 2257 4854 if test "${with_MP+set}" = set; then 2258 4855 withval="$with_MP" 2259 : 2260 fi 4856 4857 fi; 2261 4858 2262 4859 # Check whether --with-factory or --without-factory was given. 2263 4860 if test "${with_factory+set}" = set; then 2264 4861 withval="$with_factory" 2265 : 2266 fi 4862 4863 fi; 2267 4864 2268 4865 # Check whether --with-libfac or --without-libfac was given. 2269 4866 if test "${with_libfac+set}" = set; then 2270 4867 withval="$with_libfac" 2271 : 2272 fi 4868 4869 fi; 2273 4870 2274 4871 # Check whether --with-gmp or --without-gmp was given. 2275 4872 if test "${with_gmp+set}" = set; then 2276 4873 withval="$with_gmp" 2277 : 2278 fi 2279 2280 2281 echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6 2282 echo "configure:2283: checking which tmp dir to use" >&5 4874 4875 fi; 4876 4877 echo "$as_me:$LINENO: checking which tmp dir to use" >&5 4878 echo $ECHO_N "checking which tmp dir to use... $ECHO_C" >&6 2283 4879 if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then 2284 4880 if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1) … … 2291 4887 TMP_DIR="${pwd}/tmp" 2292 4888 fi 2293 echo "$ac_t""$TMP_DIR" 1>&6 2294 2295 2296 echo $ac_n "checking whether to configure and build omalloc""... $ac_c" 1>&6 2297 echo "configure:2298: checking whether to configure and build omalloc" >&5 4889 echo "$as_me:$LINENO: result: $TMP_DIR" >&5 4890 echo "${ECHO_T}$TMP_DIR" >&6 4891 4892 4893 echo "$as_me:$LINENO: checking whether to configure and build omalloc" >&5 4894 echo $ECHO_N "checking whether to configure and build omalloc... $ECHO_C" >&6 2298 4895 if test "${enable_omalloc+set}" != set; then 2299 if test "$ac_cv_omalloc_ok" = yes; then 4896 if test "$ac_cv_omalloc_ok" = yes; then 2300 4897 enable_omalloc=no 2301 4898 fi … … 2304 4901 if test "$enable_omalloc" = no; then 2305 4902 if test "$ac_cv_omalloc_ok" != yes; then 2306 { echo "configure: error: can not build without omalloc" 1>&2; exit 1; } 2307 fi 2308 echo "$ac_t""no" 1>&6 4903 { { echo "$as_me:$LINENO: error: can not build without omalloc" >&5 4904 echo "$as_me: error: can not build without omalloc" >&2;} 4905 { (exit 1); exit 1; }; } 4906 fi 4907 echo "$as_me:$LINENO: result: no" >&5 4908 echo "${ECHO_T}no" >&6 2309 4909 else 2310 4910 if test -d omalloc; then 2311 echo "$ac_t""yes" 1>&6 4911 echo "$as_me:$LINENO: result: yes" >&5 4912 echo "${ECHO_T}yes" >&6 2312 4913 if test "$enable_omalloc_not_set" = yes; then 2313 4914 ac_configure_args="$ac_configure_args --enable-omalloc --with-external-config_h='$pwd/Singular/omSingularConfig.h' --with-track-custom" … … 2315 4916 CONFIG_SUBDIRS="$CONFIG_SUBDIRS omalloc" 2316 4917 if test "${with_malloc+set}" != set; then 2317 case "$ac_cv_singuname" in 4918 case "$ac_cv_singuname" in 2318 4919 # under windows, it is best to use the provided malloc 2319 4920 ix86-Win*) … … 2328 4929 fi 2329 4930 else 2330 { echo "configure: error: need omalloc subdir" 1>&2; exit 1; } 2331 fi 2332 fi 2333 2334 echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 2335 echo "configure:2336: checking whether to configure and build gmp lib" >&5 4931 { { echo "$as_me:$LINENO: error: need omalloc subdir" >&5 4932 echo "$as_me: error: need omalloc subdir" >&2;} 4933 { (exit 1); exit 1; }; } 4934 fi 4935 fi 4936 4937 echo "$as_me:$LINENO: checking whether to configure and build gmp lib" >&5 4938 echo $ECHO_N "checking whether to configure and build gmp lib... $ECHO_C" >&6 2336 4939 if test "$enable_gmp" != yes && test "$enable_gmp" != no; then 2337 4940 if test "$ac_gmp_ok" != yes && test -d gmp; then 2338 echo "$ac_t""yes" 1>&6 4941 echo "$as_me:$LINENO: result: yes" >&5 4942 echo "${ECHO_T}yes" >&6 2339 4943 enable_gmp=yes 2340 4944 CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" … … 2344 4948 # OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in" 2345 4949 else 2346 echo "$ac_t""no" 1>&6 4950 echo "$as_me:$LINENO: result: no" >&5 4951 echo "${ECHO_T}no" >&6 2347 4952 enable_gmp=no 2348 4953 fi 2349 4954 elif test "$enable_gmp" = yes; then 2350 4955 if test ! -d gmp; then 2351 echo "$ac_t""no" 1>&6 2352 { echo "configure: error: Can not find gmp subdir" 1>&2; exit 1; } 4956 echo "$as_me:$LINENO: result: no" >&5 4957 echo "${ECHO_T}no" >&6 4958 { { echo "$as_me:$LINENO: error: Can not find gmp subdir" >&5 4959 echo "$as_me: error: Can not find gmp subdir" >&2;} 4960 { (exit 1); exit 1; }; } 2353 4961 else 2354 echo "$ac_t""yes" 1>&6 4962 echo "$as_me:$LINENO: result: yes" >&5 4963 echo "${ECHO_T}yes" >&6 2355 4964 CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" 2356 4965 # This we used to need for our patched version of gmp 2.x … … 2358 4967 fi 2359 4968 else 2360 echo "$ac_t""no" 1>&6 4969 echo "$as_me:$LINENO: result: no" >&5 4970 echo "${ECHO_T}no" >&6 2361 4971 fi 2362 4972 2363 4973 if test "$enable_gmp" = yes; then 2364 4974 # for gmp-3.0 to work for all ix86 processors, set generic target 2365 if test "$target" = NONE; then 2366 case "$ac_cv_singuname" in 2367 ix86*) 4975 if test "$target" = NONE; then 4976 case "$ac_cv_singuname" in 4977 ix86*) 2368 4978 gmp_target=`./config.guess | sed 's/^\w*-/i386-/'` 2369 ac_configure_args="$ac_configure_args --target=$gmp_target" 4979 ac_configure_args="$ac_configure_args --target=$gmp_target" 2370 4980 ;; 2371 4981 esac … … 2378 4988 fi 2379 4989 2380 echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&62381 echo "configure:2382: checking whether to configure and build smallgmp lib" >&54990 echo "$as_me:$LINENO: checking whether to configure and build smallgmp lib" >&5 4991 echo $ECHO_N "checking whether to configure and build smallgmp lib... $ECHO_C" >&6 2382 4992 if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then 2383 4993 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ 2384 4994 test "$enable_gmp" != yes && test -d smallgmp; then 2385 echo "$ac_t""yes" 1>&6 4995 echo "$as_me:$LINENO: result: yes" >&5 4996 echo "${ECHO_T}yes" >&6 2386 4997 enable_smallgmp=yes 2387 4998 CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp" … … 2389 5000 enable_gmp=yes 2390 5001 else 2391 echo "$ac_t""no" 1>&6 5002 echo "$as_me:$LINENO: result: no" >&5 5003 echo "${ECHO_T}no" >&6 2392 5004 enable_smallgmp=no 2393 5005 fi 2394 5006 elif test "$enable_smallgmp" = yes; then 2395 5007 if test ! -d smallgmp; then 2396 echo "$ac_t""no" 1>&6 2397 { echo "configure: error: Can not find smallgmp subdir" 1>&2; exit 1; } 5008 echo "$as_me:$LINENO: result: no" >&5 5009 echo "${ECHO_T}no" >&6 5010 { { echo "$as_me:$LINENO: error: Can not find smallgmp subdir" >&5 5011 echo "$as_me: error: Can not find smallgmp subdir" >&2;} 5012 { (exit 1); exit 1; }; } 2398 5013 else 2399 echo "$ac_t""yes" 1>&6 5014 echo "$as_me:$LINENO: result: yes" >&5 5015 echo "${ECHO_T}yes" >&6 2400 5016 CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp" 2401 5017 if test "$ac_gmp_ok" != yes && test "$enable_gmp" != yes; then … … 2404 5020 fi 2405 5021 fi 2406 else 2407 echo "$ac_t""${enable_smallgmp}" 1>&6 5022 else 5023 echo "$as_me:$LINENO: result: ${enable_smallgmp}" >&5 5024 echo "${ECHO_T}${enable_smallgmp}" >&6 2408 5025 fi 2409 5026 … … 2411 5028 if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ 2412 5029 test "$enable_smallgmp" != yes && test "$enable_gmp" != yes; then 2413 { echo "configure: error: can neither find nor built gmp or smallgmp" 1>&2; exit 1; } 5030 { { echo "$as_me:$LINENO: error: can neither find nor built gmp or smallgmp" >&5 5031 echo "$as_me: error: can neither find nor built gmp or smallgmp" >&2;} 5032 { (exit 1); exit 1; }; } 2414 5033 fi 2415 5034 … … 2419 5038 fi 2420 5039 2421 echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&62422 echo "configure:2423: checking whether to configure and build MP lib" >&55040 echo "$as_me:$LINENO: checking whether to configure and build MP lib" >&5 5041 echo $ECHO_N "checking whether to configure and build MP lib... $ECHO_C" >&6 2423 5042 if test "$enable_MP" != yes && test "$enable_MP" != no; then 2424 5043 if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ 2425 5044 (test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes); then 2426 echo "$ac_t""yes" 1>&6 5045 echo "$as_me:$LINENO: result: yes" >&5 5046 echo "${ECHO_T}yes" >&6 2427 5047 enable_MP=yes 2428 5048 CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" 2429 5049 ac_configure_args="$ac_configure_args --enable-MP" 2430 5050 else 2431 echo "$ac_t""no" 1>&6 5051 echo "$as_me:$LINENO: result: no" >&5 5052 echo "${ECHO_T}no" >&6 2432 5053 enable_MP=no 2433 5054 fi 2434 5055 elif test "$enable_MP" = yes; then 2435 5056 if test ! -d MP; then 2436 echo "$ac_t""no" 1>&6 2437 { echo "configure: error: can not build MP without MP directory" 1>&2; exit 1; } 5057 echo "$as_me:$LINENO: result: no" >&5 5058 echo "${ECHO_T}no" >&6 5059 { { echo "$as_me:$LINENO: error: can not build MP without MP directory" >&5 5060 echo "$as_me: error: can not build MP without MP directory" >&2;} 5061 { (exit 1); exit 1; }; } 2438 5062 fi 2439 5063 if test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes; then 2440 echo "$ac_t""yes" 1>&6 5064 echo "$as_me:$LINENO: result: yes" >&5 5065 echo "${ECHO_T}yes" >&6 2441 5066 CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" 2442 5067 else 2443 echo "$ac_t""no" 1>&6 2444 { echo "configure: error: can not build MP without gmp" 1>&2; exit 1; } 2445 fi 2446 else 2447 echo "$ac_t""no" 1>&6 5068 echo "$as_me:$LINENO: result: no" >&5 5069 echo "${ECHO_T}no" >&6 5070 { { echo "$as_me:$LINENO: error: can not build MP without gmp" >&5 5071 echo "$as_me: error: can not build MP without gmp" >&2;} 5072 { (exit 1); exit 1; }; } 5073 fi 5074 else 5075 echo "$as_me:$LINENO: result: no" >&5 5076 echo "${ECHO_T}no" >&6 2448 5077 fi 2449 5078 … … 2453 5082 fi 2454 5083 2455 echo $ac_n "checking whether to configure and build NTL lib""... $ac_c" 1>&62456 echo "configure:2457: checking whether to configure and build NTL lib" >&55084 echo "$as_me:$LINENO: checking whether to configure and build NTL lib" >&5 5085 echo $ECHO_N "checking whether to configure and build NTL lib... $ECHO_C" >&6 2457 5086 if test "$enable_NTL" != yes && test "$enable_NTL" != no; then 2458 5087 if test "$with_NTL" != no && test "$ac_NTL_ok" != yes && \ 2459 5088 test -d ntl; then 2460 5089 enable_NTL=yes 2461 echo "$ac_t""yes" 1>&6 5090 echo "$as_me:$LINENO: result: yes" >&5 5091 echo "${ECHO_T}yes" >&6 2462 5092 CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl" 2463 5093 ac_configure_args="$ac_configure_args --enable-NTL" 2464 5094 else 2465 5095 enable_NTL=no 2466 echo "$ac_t""no" 1>&6 5096 echo "$as_me:$LINENO: result: no" >&5 5097 echo "${ECHO_T}no" >&6 2467 5098 fi 2468 5099 elif test "$enable_NTL" = yes; then 2469 5100 if test -d ntl; then 2470 echo "$ac_t""yes" 1>&6 5101 echo "$as_me:$LINENO: result: yes" >&5 5102 echo "${ECHO_T}yes" >&6 2471 5103 CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl" 2472 5104 else 2473 echo "$ac_t""no" 1>&6 2474 { echo "configure: error: can not build NTL without ntl directory" 1>&2; exit 1; } 2475 fi 2476 else 2477 echo "$ac_t""no" 1>&6 2478 fi 2479 2480 echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 2481 echo "configure:2482: checking whether to configure and build factory lib" >&5 5105 echo "$as_me:$LINENO: result: no" >&5 5106 echo "${ECHO_T}no" >&6 5107 { { echo "$as_me:$LINENO: error: can not build NTL without ntl directory" >&5 5108 echo "$as_me: error: can not build NTL without ntl directory" >&2;} 5109 { (exit 1); exit 1; }; } 5110 fi 5111 else 5112 echo "$as_me:$LINENO: result: no" >&5 5113 echo "${ECHO_T}no" >&6 5114 fi 5115 5116 echo "$as_me:$LINENO: checking whether to configure and build factory lib" >&5 5117 echo $ECHO_N "checking whether to configure and build factory lib... $ECHO_C" >&6 2482 5118 if test "$enable_factory" != yes && test "$enable_factory" != no; then 2483 5119 if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ 2484 5120 test -d factory; then 2485 5121 enable_factory=yes 2486 echo "$ac_t""yes" 1>&6 5122 echo "$as_me:$LINENO: result: yes" >&5 5123 echo "${ECHO_T}yes" >&6 2487 5124 CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" 2488 5125 ac_configure_args="$ac_configure_args --enable-factory" 2489 5126 else 2490 5127 enable_factory=no 2491 echo "$ac_t""no" 1>&6 5128 echo "$as_me:$LINENO: result: no" >&5 5129 echo "${ECHO_T}no" >&6 2492 5130 fi 2493 5131 elif test "$enable_factory" = yes; then 2494 5132 if test -d factory; then 2495 echo "$ac_t""yes" 1>&6 5133 echo "$as_me:$LINENO: result: yes" >&5 5134 echo "${ECHO_T}yes" >&6 2496 5135 CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" 2497 5136 else 2498 echo "$ac_t""no" 1>&6 2499 { echo "configure: error: can not build factory without factory directory" 1>&2; exit 1; } 2500 fi 2501 else 2502 echo "$ac_t""no" 1>&6 2503 fi 2504 2505 echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 2506 echo "configure:2507: checking whether to configure and build libfac lib" >&5 5137 echo "$as_me:$LINENO: result: no" >&5 5138 echo "${ECHO_T}no" >&6 5139 { { echo "$as_me:$LINENO: error: can not build factory without factory directory" >&5 5140 echo "$as_me: error: can not build factory without factory directory" >&2;} 5141 { (exit 1); exit 1; }; } 5142 fi 5143 else 5144 echo "$as_me:$LINENO: result: no" >&5 5145 echo "${ECHO_T}no" >&6 5146 fi 5147 5148 echo "$as_me:$LINENO: checking whether to configure and build libfac lib" >&5 5149 echo $ECHO_N "checking whether to configure and build libfac lib... $ECHO_C" >&6 2507 5150 if test "$enable_libfac" != yes && test "$enable_libfac" != no; then 2508 5151 if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ … … 2510 5153 (test "$ac_factory_ok" = yes || test "$enable_factory" = yes); then 2511 5154 enable_libfac=yes 2512 echo "$ac_t""yes" 1>&6 5155 echo "$as_me:$LINENO: result: yes" >&5 5156 echo "${ECHO_T}yes" >&6 2513 5157 CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" 2514 5158 ac_configure_args="$ac_configure_args --enable-libfac" 2515 5159 else 2516 5160 enable_libfac=no 2517 echo "$ac_t""no" 1>&6 5161 echo "$as_me:$LINENO: result: no" >&5 5162 echo "${ECHO_T}no" >&6 2518 5163 fi 2519 5164 elif test "$enable_libfac" = yes; then 2520 5165 if test ! -d libfac; then 2521 echo "$ac_t""no" 1>&6 2522 { echo "configure: error: can not build libfac without libfac directory" 1>&2; exit 1; } 5166 echo "$as_me:$LINENO: result: no" >&5 5167 echo "${ECHO_T}no" >&6 5168 { { echo "$as_me:$LINENO: error: can not build libfac without libfac directory" >&5 5169 echo "$as_me: error: can not build libfac without libfac directory" >&2;} 5170 { (exit 1); exit 1; }; } 2523 5171 fi 2524 5172 if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then 2525 echo "$ac_t""yes" 1>&6 5173 echo "$as_me:$LINENO: result: yes" >&5 5174 echo "${ECHO_T}yes" >&6 2526 5175 CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" 2527 5176 else 2528 echo "$ac_t""no" 1>&6 2529 { echo "configure: error: Can not build libfac without factory" 1>&2; exit 1; } 2530 fi 2531 else 2532 echo "$ac_t""no" 1>&6 2533 fi 2534 2535 echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 2536 echo "configure:2537: checking whether to configure and build sgroup lib" >&5 5177 echo "$as_me:$LINENO: result: no" >&5 5178 echo "${ECHO_T}no" >&6 5179 { { echo "$as_me:$LINENO: error: Can not build libfac without factory" >&5 5180 echo "$as_me: error: Can not build libfac without factory" >&2;} 5181 { (exit 1); exit 1; }; } 5182 fi 5183 else 5184 echo "$as_me:$LINENO: result: no" >&5 5185 echo "${ECHO_T}no" >&6 5186 fi 5187 5188 echo "$as_me:$LINENO: checking whether to configure and build sgroup lib" >&5 5189 echo $ECHO_N "checking whether to configure and build sgroup lib... $ECHO_C" >&6 2537 5190 if test "$enable_sgroup" = yes; then 2538 5191 if test ! -d sgroup; then 2539 echo "$ac_t""no" 1>&6 2540 { echo "configure: error: can not build sgroup without sgroup directory" 1>&2; exit 1; } 5192 echo "$as_me:$LINENO: result: no" >&5 5193 echo "${ECHO_T}no" >&6 5194 { { echo "$as_me:$LINENO: error: can not build sgroup without sgroup directory" >&5 5195 echo "$as_me: error: can not build sgroup without sgroup directory" >&2;} 5196 { (exit 1); exit 1; }; } 2541 5197 fi 2542 5198 if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then 2543 echo "$ac_t""yes" 1>&6 5199 echo "$as_me:$LINENO: result: yes" >&5 5200 echo "${ECHO_T}yes" >&6 2544 5201 CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup" 2545 5202 else 2546 echo "$ac_t""no" 1>&6 2547 { echo "configure: error: Can not build sgroup without MP" 1>&2; exit 1; } 2548 fi 2549 else 2550 echo "$ac_t""no" 1>&6 5203 echo "$as_me:$LINENO: result: no" >&5 5204 echo "${ECHO_T}no" >&6 5205 { { echo "$as_me:$LINENO: error: Can not build sgroup without MP" >&5 5206 echo "$as_me: error: Can not build sgroup without MP" >&2;} 5207 { (exit 1); exit 1; }; } 5208 fi 5209 else 5210 echo "$as_me:$LINENO: result: no" >&5 5211 echo "${ECHO_T}no" >&6 2551 5212 fi 2552 5213 2553 5214 BUILD_SUBDIRS="$CONFIG_SUBDIRS" 2554 5215 2555 echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&62556 echo "configure:2557: checking whether to configure and build Singular" >&55216 echo "$as_me:$LINENO: checking whether to configure and build Singular" >&5 5217 echo $ECHO_N "checking whether to configure and build Singular... $ECHO_C" >&6 2557 5218 if test "$enable_Singular" != yes && test "$enable_Singular" != no; then 2558 5219 if test "$with_Singular" != no && test -d Singular; then 2559 5220 enable_Singular=yes 2560 echo "$ac_t""yes" 1>&6 5221 echo "$as_me:$LINENO: result: yes" >&5 5222 echo "${ECHO_T}yes" >&6 2561 5223 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" 2562 BUILD_SUBDIRS="$BUILD_SUBDIRS kernel Singular" 5224 BUILD_SUBDIRS="$BUILD_SUBDIRS kernel Singular" 2563 5225 ac_configure_args="$ac_configure_args --enable-Singular" 2564 5226 else 2565 5227 enable_Singular=no 2566 echo "$ac_t""no" 1>&6 5228 echo "$as_me:$LINENO: result: no" >&5 5229 echo "${ECHO_T}no" >&6 2567 5230 fi 2568 5231 elif test "$enable_Singular" = yes; then 2569 5232 if test -d Singular; then 2570 echo "$ac_t""yes" 1>&6 5233 echo "$as_me:$LINENO: result: yes" >&5 5234 echo "${ECHO_T}yes" >&6 2571 5235 CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" 2572 BUILD_SUBDIRS="$BUILD_SUBDIRS Singular"