[6afd7c] | 1 | #! /bin/sh |
---|
| 2 | |
---|
| 3 | # Guess values for system-dependent variables and create Makefiles. |
---|
[aac46c] | 4 | # Generated automatically using autoconf version 2.13 |
---|
[6afd7c] | 5 | # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc. |
---|
| 6 | # |
---|
| 7 | # This configure script is free software; the Free Software Foundation |
---|
| 8 | # gives unlimited permission to copy, distribute and modify it. |
---|
| 9 | |
---|
| 10 | # Defaults: |
---|
| 11 | ac_help= |
---|
| 12 | ac_default_prefix=/usr/local |
---|
| 13 | # Any additions from configure.in: |
---|
| 14 | ac_default_prefix=`pwd` |
---|
| 15 | ac_help="$ac_help |
---|
[f36635] | 16 | \ |
---|
| 17 | --with-tmpdir=DIR use DIR as temporary directory" |
---|
| 18 | ac_help="$ac_help |
---|
[6afd7c] | 19 | \ |
---|
[aac46c] | 20 | --enable-PACKAGE configure and/or build PACKAGE |
---|
| 21 | --disable-PACKAGE do not configure and/or build PACKAGE |
---|
[64c6d1] | 22 | where PACKAGE can be: |
---|
[78364c] | 23 | smallgmp minimal version of gmp written in C only" |
---|
[6afd7c] | 24 | ac_help="$ac_help |
---|
[c232af] | 25 | \ |
---|
| 26 | omalloc omalloc memory managment" |
---|
| 27 | ac_help="$ac_help |
---|
[64c6d1] | 28 | \ |
---|
| 29 | gmp Gnu Multiple Precision package" |
---|
| 30 | ac_help="$ac_help |
---|
[6afd7c] | 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 |
---|
[a04715] | 40 | \ |
---|
| 41 | sgroup numerical semigroup computations" |
---|
| 42 | ac_help="$ac_help |
---|
[6afd7c] | 43 | \ |
---|
[64c6d1] | 44 | Singular CAS for Polynomial Computations" |
---|
[78364c] | 45 | ac_help="$ac_help |
---|
[181d6e] | 46 | \ |
---|
| 47 | IntegerProgramming IntegerProgramming" |
---|
| 48 | ac_help="$ac_help |
---|
[08b7a76] | 49 | \ |
---|
| 50 | Plural Plural" |
---|
| 51 | ac_help="$ac_help |
---|
[f36635] | 52 | \ |
---|
| 53 | Texinfo Texinfo for info, texi2dvi, makeinfo" |
---|
| 54 | ac_help="$ac_help |
---|
[aac46c] | 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 |
---|
[78364c] | 64 | \ |
---|
| 65 | --with-PACKAGE use PACKAGE, provide dependent functionality |
---|
| 66 | --without-PACKAGE do not use PACKAGE, disable dependent functionality |
---|
[64c6d1] | 67 | where PACKAGE can be: |
---|
[5615cd9] | 68 | MP Multi Protocol library" |
---|
[78364c] | 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 |
---|
[9bc556] | 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). " |
---|
[6afd7c] | 82 | |
---|
| 83 | # Initialize some variables set by options. |
---|
| 84 | # The variables have the same names as the options, with |
---|
| 85 | # dashes changed to underlines. |
---|
| 86 | build=NONE |
---|
| 87 | cache_file=./config.cache |
---|
| 88 | exec_prefix=NONE |
---|
| 89 | host=NONE |
---|
| 90 | no_create= |
---|
| 91 | nonopt=NONE |
---|
| 92 | no_recursion= |
---|
| 93 | prefix=NONE |
---|
| 94 | program_prefix=NONE |
---|
| 95 | program_suffix=NONE |
---|
| 96 | program_transform_name=s,x,x, |
---|
| 97 | silent= |
---|
| 98 | site= |
---|
| 99 | srcdir= |
---|
| 100 | target=NONE |
---|
| 101 | verbose= |
---|
| 102 | x_includes=NONE |
---|
| 103 | x_libraries=NONE |
---|
| 104 | bindir='${exec_prefix}/bin' |
---|
| 105 | sbindir='${exec_prefix}/sbin' |
---|
| 106 | libexecdir='${exec_prefix}/libexec' |
---|
| 107 | datadir='${prefix}/share' |
---|
| 108 | sysconfdir='${prefix}/etc' |
---|
| 109 | sharedstatedir='${prefix}/com' |
---|
| 110 | localstatedir='${prefix}/var' |
---|
| 111 | libdir='${exec_prefix}/lib' |
---|
| 112 | includedir='${prefix}/include' |
---|
| 113 | oldincludedir='/usr/include' |
---|
| 114 | infodir='${prefix}/info' |
---|
| 115 | mandir='${prefix}/man' |
---|
| 116 | |
---|
| 117 | # Initialize some other variables. |
---|
| 118 | subdirs= |
---|
| 119 | MFLAGS= MAKEFLAGS= |
---|
[aac46c] | 120 | SHELL=${CONFIG_SHELL-/bin/sh} |
---|
[2189fb] | 121 | # Maximum number of lines to put in a shell here document. |
---|
| 122 | ac_max_here_lines=12 |
---|
[6afd7c] | 123 | |
---|
| 124 | ac_prev= |
---|
| 125 | for ac_option |
---|
| 126 | do |
---|
| 127 | |
---|
| 128 | # If the previous option needs an argument, assign it. |
---|
| 129 | if test -n "$ac_prev"; then |
---|
| 130 | eval "$ac_prev=\$ac_option" |
---|
| 131 | ac_prev= |
---|
| 132 | continue |
---|
| 133 | fi |
---|
| 134 | |
---|
| 135 | case "$ac_option" in |
---|
| 136 | -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;; |
---|
| 137 | *) ac_optarg= ;; |
---|
| 138 | esac |
---|
| 139 | |
---|
| 140 | # Accept the important Cygnus configure options, so we can diagnose typos. |
---|
| 141 | |
---|
| 142 | case "$ac_option" in |
---|
| 143 | |
---|
| 144 | -bindir | --bindir | --bindi | --bind | --bin | --bi) |
---|
| 145 | ac_prev=bindir ;; |
---|
| 146 | -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*) |
---|
| 147 | bindir="$ac_optarg" ;; |
---|
| 148 | |
---|
| 149 | -build | --build | --buil | --bui | --bu) |
---|
| 150 | ac_prev=build ;; |
---|
| 151 | -build=* | --build=* | --buil=* | --bui=* | --bu=*) |
---|
| 152 | build="$ac_optarg" ;; |
---|
| 153 | |
---|
| 154 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 155 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 156 | ac_prev=cache_file ;; |
---|
| 157 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 158 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 159 | cache_file="$ac_optarg" ;; |
---|
| 160 | |
---|
| 161 | -datadir | --datadir | --datadi | --datad | --data | --dat | --da) |
---|
| 162 | ac_prev=datadir ;; |
---|
| 163 | -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \ |
---|
| 164 | | --da=*) |
---|
| 165 | datadir="$ac_optarg" ;; |
---|
| 166 | |
---|
| 167 | -disable-* | --disable-*) |
---|
| 168 | ac_feature=`echo $ac_option|sed -e 's/-*disable-//'` |
---|
| 169 | # Reject names that are not valid shell variable names. |
---|
| 170 | if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then |
---|
| 171 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
---|
| 172 | fi |
---|
| 173 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
---|
| 174 | eval "enable_${ac_feature}=no" ;; |
---|
| 175 | |
---|
| 176 | -enable-* | --enable-*) |
---|
| 177 | ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'` |
---|
| 178 | # Reject names that are not valid shell variable names. |
---|
| 179 | if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then |
---|
| 180 | { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; } |
---|
| 181 | fi |
---|
| 182 | ac_feature=`echo $ac_feature| sed 's/-/_/g'` |
---|
| 183 | case "$ac_option" in |
---|
| 184 | *=*) ;; |
---|
| 185 | *) ac_optarg=yes ;; |
---|
| 186 | esac |
---|
| 187 | eval "enable_${ac_feature}='$ac_optarg'" ;; |
---|
| 188 | |
---|
| 189 | -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ |
---|
| 190 | | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ |
---|
| 191 | | --exec | --exe | --ex) |
---|
| 192 | ac_prev=exec_prefix ;; |
---|
| 193 | -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \ |
---|
| 194 | | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \ |
---|
| 195 | | --exec=* | --exe=* | --ex=*) |
---|
| 196 | exec_prefix="$ac_optarg" ;; |
---|
| 197 | |
---|
| 198 | -gas | --gas | --ga | --g) |
---|
| 199 | # Obsolete; use --with-gas. |
---|
| 200 | with_gas=yes ;; |
---|
| 201 | |
---|
| 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 ;; |
---|
| 256 | |
---|
| 257 | -host | --host | --hos | --ho) |
---|
| 258 | ac_prev=host ;; |
---|
| 259 | -host=* | --host=* | --hos=* | --ho=*) |
---|
| 260 | host="$ac_optarg" ;; |
---|
| 261 | |
---|
| 262 | -includedir | --includedir | --includedi | --included | --include \ |
---|
| 263 | | --includ | --inclu | --incl | --inc) |
---|
| 264 | ac_prev=includedir ;; |
---|
| 265 | -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \ |
---|
| 266 | | --includ=* | --inclu=* | --incl=* | --inc=*) |
---|
| 267 | includedir="$ac_optarg" ;; |
---|
| 268 | |
---|
| 269 | -infodir | --infodir | --infodi | --infod | --info | --inf) |
---|
| 270 | ac_prev=infodir ;; |
---|
| 271 | -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*) |
---|
| 272 | infodir="$ac_optarg" ;; |
---|
| 273 | |
---|
| 274 | -libdir | --libdir | --libdi | --libd) |
---|
| 275 | ac_prev=libdir ;; |
---|
| 276 | -libdir=* | --libdir=* | --libdi=* | --libd=*) |
---|
| 277 | libdir="$ac_optarg" ;; |
---|
| 278 | |
---|
| 279 | -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \ |
---|
| 280 | | --libexe | --libex | --libe) |
---|
| 281 | ac_prev=libexecdir ;; |
---|
| 282 | -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \ |
---|
| 283 | | --libexe=* | --libex=* | --libe=*) |
---|
| 284 | libexecdir="$ac_optarg" ;; |
---|
| 285 | |
---|
| 286 | -localstatedir | --localstatedir | --localstatedi | --localstated \ |
---|
| 287 | | --localstate | --localstat | --localsta | --localst \ |
---|
| 288 | | --locals | --local | --loca | --loc | --lo) |
---|
| 289 | ac_prev=localstatedir ;; |
---|
| 290 | -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \ |
---|
| 291 | | --localstate=* | --localstat=* | --localsta=* | --localst=* \ |
---|
| 292 | | --locals=* | --local=* | --loca=* | --loc=* | --lo=*) |
---|
| 293 | localstatedir="$ac_optarg" ;; |
---|
| 294 | |
---|
| 295 | -mandir | --mandir | --mandi | --mand | --man | --ma | --m) |
---|
| 296 | ac_prev=mandir ;; |
---|
| 297 | -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*) |
---|
| 298 | mandir="$ac_optarg" ;; |
---|
| 299 | |
---|
| 300 | -nfp | --nfp | --nf) |
---|
| 301 | # Obsolete; use --without-fp. |
---|
| 302 | with_fp=no ;; |
---|
| 303 | |
---|
| 304 | -no-create | --no-create | --no-creat | --no-crea | --no-cre \ |
---|
| 305 | | --no-cr | --no-c) |
---|
| 306 | no_create=yes ;; |
---|
| 307 | |
---|
| 308 | -no-recursion | --no-recursion | --no-recursio | --no-recursi \ |
---|
| 309 | | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) |
---|
| 310 | no_recursion=yes ;; |
---|
| 311 | |
---|
| 312 | -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \ |
---|
| 313 | | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \ |
---|
| 314 | | --oldin | --oldi | --old | --ol | --o) |
---|
| 315 | ac_prev=oldincludedir ;; |
---|
| 316 | -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \ |
---|
| 317 | | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \ |
---|
| 318 | | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*) |
---|
| 319 | oldincludedir="$ac_optarg" ;; |
---|
| 320 | |
---|
| 321 | -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) |
---|
| 322 | ac_prev=prefix ;; |
---|
| 323 | -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) |
---|
| 324 | prefix="$ac_optarg" ;; |
---|
| 325 | |
---|
| 326 | -program-prefix | --program-prefix | --program-prefi | --program-pref \ |
---|
| 327 | | --program-pre | --program-pr | --program-p) |
---|
| 328 | ac_prev=program_prefix ;; |
---|
| 329 | -program-prefix=* | --program-prefix=* | --program-prefi=* \ |
---|
| 330 | | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*) |
---|
| 331 | program_prefix="$ac_optarg" ;; |
---|
| 332 | |
---|
| 333 | -program-suffix | --program-suffix | --program-suffi | --program-suff \ |
---|
| 334 | | --program-suf | --program-su | --program-s) |
---|
| 335 | ac_prev=program_suffix ;; |
---|
| 336 | -program-suffix=* | --program-suffix=* | --program-suffi=* \ |
---|
| 337 | | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*) |
---|
| 338 | program_suffix="$ac_optarg" ;; |
---|
| 339 | |
---|
| 340 | -program-transform-name | --program-transform-name \ |
---|
| 341 | | --program-transform-nam | --program-transform-na \ |
---|
| 342 | | --program-transform-n | --program-transform- \ |
---|
| 343 | | --program-transform | --program-transfor \ |
---|
| 344 | | --program-transfo | --program-transf \ |
---|
| 345 | | --program-trans | --program-tran \ |
---|
| 346 | | --progr-tra | --program-tr | --program-t) |
---|
| 347 | ac_prev=program_transform_name ;; |
---|
| 348 | -program-transform-name=* | --program-transform-name=* \ |
---|
| 349 | | --program-transform-nam=* | --program-transform-na=* \ |
---|
| 350 | | --program-transform-n=* | --program-transform-=* \ |
---|
| 351 | | --program-transform=* | --program-transfor=* \ |
---|
| 352 | | --program-transfo=* | --program-transf=* \ |
---|
| 353 | | --program-trans=* | --program-tran=* \ |
---|
| 354 | | --progr-tra=* | --program-tr=* | --program-t=*) |
---|
| 355 | program_transform_name="$ac_optarg" ;; |
---|
| 356 | |
---|
| 357 | -q | -quiet | --quiet | --quie | --qui | --qu | --q \ |
---|
| 358 | | -silent | --silent | --silen | --sile | --sil) |
---|
| 359 | silent=yes ;; |
---|
| 360 | |
---|
| 361 | -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb) |
---|
| 362 | ac_prev=sbindir ;; |
---|
| 363 | -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \ |
---|
| 364 | | --sbi=* | --sb=*) |
---|
| 365 | sbindir="$ac_optarg" ;; |
---|
| 366 | |
---|
| 367 | -sharedstatedir | --sharedstatedir | --sharedstatedi \ |
---|
| 368 | | --sharedstated | --sharedstate | --sharedstat | --sharedsta \ |
---|
| 369 | | --sharedst | --shareds | --shared | --share | --shar \ |
---|
| 370 | | --sha | --sh) |
---|
| 371 | ac_prev=sharedstatedir ;; |
---|
| 372 | -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \ |
---|
| 373 | | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \ |
---|
| 374 | | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \ |
---|
| 375 | | --sha=* | --sh=*) |
---|
| 376 | sharedstatedir="$ac_optarg" ;; |
---|
| 377 | |
---|
| 378 | -site | --site | --sit) |
---|
| 379 | ac_prev=site ;; |
---|
| 380 | -site=* | --site=* | --sit=*) |
---|
| 381 | site="$ac_optarg" ;; |
---|
| 382 | |
---|
| 383 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 384 | ac_prev=srcdir ;; |
---|
| 385 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 386 | srcdir="$ac_optarg" ;; |
---|
| 387 | |
---|
| 388 | -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \ |
---|
| 389 | | --syscon | --sysco | --sysc | --sys | --sy) |
---|
| 390 | ac_prev=sysconfdir ;; |
---|
| 391 | -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \ |
---|
| 392 | | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*) |
---|
| 393 | sysconfdir="$ac_optarg" ;; |
---|
| 394 | |
---|
| 395 | -target | --target | --targe | --targ | --tar | --ta | --t) |
---|
| 396 | ac_prev=target ;; |
---|
| 397 | -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*) |
---|
| 398 | target="$ac_optarg" ;; |
---|
| 399 | |
---|
| 400 | -v | -verbose | --verbose | --verbos | --verbo | --verb) |
---|
| 401 | verbose=yes ;; |
---|
| 402 | |
---|
| 403 | -version | --version | --versio | --versi | --vers) |
---|
[aac46c] | 404 | echo "configure generated by autoconf version 2.13" |
---|
[6afd7c] | 405 | exit 0 ;; |
---|
| 406 | |
---|
| 407 | -with-* | --with-*) |
---|
| 408 | ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'` |
---|
| 409 | # Reject names that are not valid shell variable names. |
---|
| 410 | if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then |
---|
| 411 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
---|
| 412 | fi |
---|
| 413 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
| 414 | case "$ac_option" in |
---|
| 415 | *=*) ;; |
---|
| 416 | *) ac_optarg=yes ;; |
---|
| 417 | esac |
---|
| 418 | eval "with_${ac_package}='$ac_optarg'" ;; |
---|
| 419 | |
---|
| 420 | -without-* | --without-*) |
---|
| 421 | ac_package=`echo $ac_option|sed -e 's/-*without-//'` |
---|
| 422 | # Reject names that are not valid shell variable names. |
---|
| 423 | if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then |
---|
| 424 | { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; } |
---|
| 425 | fi |
---|
| 426 | ac_package=`echo $ac_package| sed 's/-/_/g'` |
---|
| 427 | eval "with_${ac_package}=no" ;; |
---|
| 428 | |
---|
| 429 | --x) |
---|
| 430 | # Obsolete; use --with-x. |
---|
| 431 | with_x=yes ;; |
---|
| 432 | |
---|
| 433 | -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \ |
---|
| 434 | | --x-incl | --x-inc | --x-in | --x-i) |
---|
| 435 | ac_prev=x_includes ;; |
---|
| 436 | -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \ |
---|
| 437 | | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*) |
---|
| 438 | x_includes="$ac_optarg" ;; |
---|
| 439 | |
---|
| 440 | -x-libraries | --x-libraries | --x-librarie | --x-librari \ |
---|
| 441 | | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l) |
---|
| 442 | ac_prev=x_libraries ;; |
---|
| 443 | -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ |
---|
| 444 | | --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; } |
---|
| 448 | ;; |
---|
| 449 | |
---|
| 450 | *) |
---|
| 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" |
---|
| 458 | ;; |
---|
| 459 | |
---|
| 460 | esac |
---|
| 461 | done |
---|
| 462 | |
---|
| 463 | 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 |
---|
| 493 | 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" ;; |
---|
| 502 | esac |
---|
| 503 | done |
---|
| 504 | |
---|
| 505 | # NLS nuisances. |
---|
[2189fb] | 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. |
---|
[6afd7c] | 510 | if test "${LANG+set}" = set; then LANG=C; export LANG; fi |
---|
[2189fb] | 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 |
---|
[6afd7c] | 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=Singular/matpol.h |
---|
| 523 | |
---|
| 524 | # Find the source files, if location was not specified. |
---|
| 525 | if test -z "$srcdir"; then |
---|
| 526 | ac_srcdir_defaulted=yes |
---|
| 527 | # 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=. |
---|
| 531 | srcdir=$ac_confdir |
---|
| 532 | if test ! -r $srcdir/$ac_unique_file; then |
---|
| 533 | srcdir=.. |
---|
| 534 | fi |
---|
| 535 | else |
---|
| 536 | ac_srcdir_defaulted=no |
---|
| 537 | fi |
---|
| 538 | if test ! -r $srcdir/$ac_unique_file; then |
---|
| 539 | if test "$ac_srcdir_defaulted" = yes; then |
---|
| 540 | { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; } |
---|
| 541 | else |
---|
| 542 | { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; } |
---|
| 543 | fi |
---|
| 544 | fi |
---|
| 545 | srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'` |
---|
| 546 | |
---|
| 547 | # Prefer explicitly selected file to automatically selected ones. |
---|
| 548 | if test -z "$CONFIG_SITE"; then |
---|
| 549 | if test "x$prefix" != xNONE; then |
---|
| 550 | CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site" |
---|
| 551 | else |
---|
| 552 | CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site" |
---|
| 553 | fi |
---|
| 554 | fi |
---|
| 555 | for ac_site_file in $CONFIG_SITE; do |
---|
| 556 | if test -r "$ac_site_file"; then |
---|
| 557 | echo "loading site script $ac_site_file" |
---|
| 558 | . "$ac_site_file" |
---|
| 559 | fi |
---|
| 560 | done |
---|
| 561 | |
---|
| 562 | 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 |
---|
| 568 | fi |
---|
| 569 | |
---|
| 570 | ac_ext=c |
---|
| 571 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
| 572 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 573 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
[aac46c] | 574 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
[2189fb] | 575 | cross_compiling=$ac_cv_prog_cc_cross |
---|
[6afd7c] | 576 | |
---|
[aac46c] | 577 | ac_exeext= |
---|
| 578 | ac_objext=o |
---|
[6afd7c] | 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 |
---|
| 590 | |
---|
| 591 | |
---|
[df723f] | 592 | |
---|
[a15090f] | 593 | pwd=`pwd` |
---|
| 594 | |
---|
[df723f] | 595 | # make them to env variables |
---|
| 596 | # pass them indirectly to subsequent configures |
---|
[3a342b] | 597 | SINGULAR_MAJOR_VERSION=2 |
---|
[6b86672] | 598 | SINGULAR_MINOR_VERSION=1 |
---|
[2567b5] | 599 | SINGULAR_SUB_VERSION=2 |
---|
[72541b] | 600 | VERSION_SEP="-" |
---|
[df723f] | 601 | SINGULAR_SHORT_VERSION="${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}" |
---|
| 602 | SINGULAR_VERSION="${SINGULAR_SHORT_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION}" |
---|
[4d7834] | 603 | SINGULAR_RPM_VERSION="${SINGULAR_MAJOR_VERSION}.${SINGULAR_MINOR_VERSION}.${SINGULAR_SUB_VERSION}" |
---|
[2567b5] | 604 | VERSION_DATE="August 2001" |
---|
[df723f] | 605 | SINGULAR_ROOT_DIR=$pwd |
---|
| 606 | |
---|
| 607 | export SINGULAR_MINOR_VERSION |
---|
| 608 | export SINGULAR_MAJOR_VERSION |
---|
| 609 | export SINGULAR_SUB_VERSION |
---|
| 610 | export SINGULAR_VERSION |
---|
[4d7834] | 611 | export SINGULAR_RPM_VERSION |
---|
[df723f] | 612 | export VERSION_DATE |
---|
| 613 | export SINGULAR_ROOT_DIR |
---|
| 614 | |
---|
[a15090f] | 615 | |
---|
[6afd7c] | 616 | |
---|
[df723f] | 617 | |
---|
| 618 | |
---|
| 619 | |
---|
| 620 | |
---|
[4d7834] | 621 | |
---|
[df723f] | 622 | # determine Makefiles to output |
---|
[aac46c] | 623 | OUTPUT_MAKEFILES="Makefile" |
---|
| 624 | if test -d "doc"; then |
---|
| 625 | OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES doc/Makefile doc/version.texi doc/uname.texi" |
---|
| 626 | fi |
---|
[c575e9] | 627 | if test -d "rpm"; then |
---|
| 628 | OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" rpm/Makefile" |
---|
| 629 | OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" rpm/rpmrc rpm/Singular.spec" |
---|
| 630 | fi |
---|
| 631 | if test -d "modules"; then |
---|
| 632 | OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" modules/Makefile" |
---|
| 633 | fi |
---|
| 634 | if test -d "modules/tools"; then |
---|
| 635 | OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" modules/tools/Makefile" |
---|
| 636 | fi |
---|
[c30f2eb] | 637 | if test -d "modules/modgen"; then |
---|
| 638 | OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" modules/modgen/Makefile" |
---|
| 639 | fi |
---|
[460c1e1] | 640 | if test -d "emacs"; then |
---|
| 641 | OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" emacs/Makefile" |
---|
| 642 | fi |
---|
[8c8a76] | 643 | if test -d "IntegerProgramming"; then |
---|
| 644 | OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" IntegerProgramming/Makefile" |
---|
| 645 | fi |
---|
[08b7a76] | 646 | if test -d "Plural"; then |
---|
| 647 | OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" Plural/Makefile" |
---|
| 648 | fi |
---|
[a15090f] | 649 | if test -d "InstallShield"; then |
---|
| 650 | OUTPUT_MAKEFILES=$OUTPUT_MAKEFILES" InstallShield/Makefile InstallShield/Etc/Makefile InstallShield/Cygwin/Makefile InstallShield/Singular/Makefile InstallShield/Xemacs/Makefile" |
---|
| 651 | fi |
---|
[6afd7c] | 652 | |
---|
[9ead31] | 653 | |
---|
[fe40293] | 654 | echo $ac_n "checking uname for singular""... $ac_c" 1>&6 |
---|
[4d7834] | 655 | echo "configure:656: checking uname for singular" >&5 |
---|
[fe40293] | 656 | if eval "test \"`echo '$''{'ac_cv_singuname'+set}'`\" = set"; then |
---|
| 657 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 658 | else |
---|
| 659 | ac_cv_singuname="unknown" |
---|
| 660 | if test -r "singuname.sh"; then |
---|
| 661 | if (/bin/sh singuname.sh >/dev/null 2>&1) then |
---|
| 662 | ac_cv_singuname=`/bin/sh singuname.sh` |
---|
| 663 | fi |
---|
| 664 | fi |
---|
[6afd7c] | 665 | |
---|
[fe40293] | 666 | fi |
---|
| 667 | |
---|
| 668 | echo "$ac_t""$ac_cv_singuname" 1>&6 |
---|
| 669 | if test "$ac_cv_singuname" = unknown; then |
---|
| 670 | { echo "configure: error: Unknown architecture: Check singuname.sh" 1>&2; exit 1; } |
---|
| 671 | else |
---|
| 672 | SINGUNAME=$ac_cv_singuname |
---|
| 673 | |
---|
| 674 | fi |
---|
[6afd7c] | 675 | |
---|
[c30f2eb] | 676 | SING_UNAME=`echo $SINGUNAME | tr '-' '_' ` |
---|
| 677 | |
---|
| 678 | |
---|
[55c796] | 679 | |
---|
[6afd7c] | 680 | # Extract the first word of "gcc", so it can be a program name with args. |
---|
| 681 | set dummy gcc; ac_word=$2 |
---|
| 682 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[4d7834] | 683 | echo "configure:684: checking for $ac_word" >&5 |
---|
[6afd7c] | 684 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
---|
| 685 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 686 | else |
---|
| 687 | if test -n "$CC"; then |
---|
| 688 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 689 | else |
---|
[aac46c] | 690 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 691 | ac_dummy="$PATH" |
---|
| 692 | for ac_dir in $ac_dummy; do |
---|
[6afd7c] | 693 | test -z "$ac_dir" && ac_dir=. |
---|
| 694 | if test -f $ac_dir/$ac_word; then |
---|
| 695 | ac_cv_prog_CC="gcc" |
---|
| 696 | break |
---|
| 697 | fi |
---|
| 698 | done |
---|
| 699 | IFS="$ac_save_ifs" |
---|
| 700 | fi |
---|
| 701 | fi |
---|
| 702 | CC="$ac_cv_prog_CC" |
---|
| 703 | if test -n "$CC"; then |
---|
| 704 | echo "$ac_t""$CC" 1>&6 |
---|
| 705 | else |
---|
| 706 | echo "$ac_t""no" 1>&6 |
---|
| 707 | fi |
---|
| 708 | |
---|
| 709 | if test -z "$CC"; then |
---|
| 710 | # Extract the first word of "cc", so it can be a program name with args. |
---|
| 711 | set dummy cc; ac_word=$2 |
---|
| 712 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[4d7834] | 713 | echo "configure:714: checking for $ac_word" >&5 |
---|
[6afd7c] | 714 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
---|
| 715 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 716 | else |
---|
| 717 | if test -n "$CC"; then |
---|
| 718 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 719 | else |
---|
[aac46c] | 720 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
[6afd7c] | 721 | ac_prog_rejected=no |
---|
[aac46c] | 722 | ac_dummy="$PATH" |
---|
| 723 | for ac_dir in $ac_dummy; do |
---|
[6afd7c] | 724 | test -z "$ac_dir" && ac_dir=. |
---|
| 725 | if test -f $ac_dir/$ac_word; then |
---|
| 726 | if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then |
---|
| 727 | ac_prog_rejected=yes |
---|
| 728 | continue |
---|
| 729 | fi |
---|
| 730 | ac_cv_prog_CC="cc" |
---|
| 731 | break |
---|
| 732 | fi |
---|
| 733 | done |
---|
| 734 | IFS="$ac_save_ifs" |
---|
| 735 | if test $ac_prog_rejected = yes; then |
---|
| 736 | # We found a bogon in the path, so make sure we never use it. |
---|
| 737 | set dummy $ac_cv_prog_CC |
---|
| 738 | shift |
---|
| 739 | if test $# -gt 0; then |
---|
| 740 | # We chose a different compiler from the bogus one. |
---|
| 741 | # However, it has the same basename, so the bogon will be chosen |
---|
| 742 | # first if we set CC to just the basename; use the full file name. |
---|
| 743 | shift |
---|
| 744 | set dummy "$ac_dir/$ac_word" "$@" |
---|
| 745 | shift |
---|
| 746 | ac_cv_prog_CC="$@" |
---|
| 747 | fi |
---|
| 748 | fi |
---|
| 749 | fi |
---|
| 750 | fi |
---|
| 751 | CC="$ac_cv_prog_CC" |
---|
| 752 | if test -n "$CC"; then |
---|
| 753 | echo "$ac_t""$CC" 1>&6 |
---|
| 754 | else |
---|
| 755 | echo "$ac_t""no" 1>&6 |
---|
| 756 | fi |
---|
| 757 | |
---|
[aac46c] | 758 | if test -z "$CC"; then |
---|
| 759 | case "`uname -s`" in |
---|
| 760 | *win32* | *WIN32*) |
---|
| 761 | # Extract the first word of "cl", so it can be a program name with args. |
---|
| 762 | set dummy cl; ac_word=$2 |
---|
| 763 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[4d7834] | 764 | echo "configure:765: checking for $ac_word" >&5 |
---|
[aac46c] | 765 | if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then |
---|
| 766 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 767 | else |
---|
| 768 | if test -n "$CC"; then |
---|
| 769 | ac_cv_prog_CC="$CC" # Let the user override the test. |
---|
| 770 | else |
---|
| 771 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 772 | ac_dummy="$PATH" |
---|
| 773 | for ac_dir in $ac_dummy; do |
---|
| 774 | test -z "$ac_dir" && ac_dir=. |
---|
| 775 | if test -f $ac_dir/$ac_word; then |
---|
| 776 | ac_cv_prog_CC="cl" |
---|
| 777 | break |
---|
| 778 | fi |
---|
| 779 | done |
---|
| 780 | IFS="$ac_save_ifs" |
---|
| 781 | fi |
---|
| 782 | fi |
---|
| 783 | CC="$ac_cv_prog_CC" |
---|
| 784 | if test -n "$CC"; then |
---|
| 785 | echo "$ac_t""$CC" 1>&6 |
---|
| 786 | else |
---|
| 787 | echo "$ac_t""no" 1>&6 |
---|
| 788 | fi |
---|
| 789 | ;; |
---|
| 790 | esac |
---|
| 791 | fi |
---|
[6afd7c] | 792 | test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; } |
---|
| 793 | fi |
---|
| 794 | |
---|
[2189fb] | 795 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
---|
[4d7834] | 796 | echo "configure:797: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5 |
---|
[2189fb] | 797 | |
---|
| 798 | ac_ext=c |
---|
| 799 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
| 800 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 801 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
[aac46c] | 802 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
[2189fb] | 803 | cross_compiling=$ac_cv_prog_cc_cross |
---|
| 804 | |
---|
[aac46c] | 805 | cat > conftest.$ac_ext << EOF |
---|
| 806 | |
---|
[4d7834] | 807 | #line 808 "configure" |
---|
[2189fb] | 808 | #include "confdefs.h" |
---|
[aac46c] | 809 | |
---|
[2189fb] | 810 | main(){return(0);} |
---|
| 811 | EOF |
---|
[4d7834] | 812 | if { (eval echo configure:813: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[2189fb] | 813 | ac_cv_prog_cc_works=yes |
---|
| 814 | # If we can't run a trivial program, we are probably using a cross compiler. |
---|
| 815 | if (./conftest; exit) 2>/dev/null; then |
---|
| 816 | ac_cv_prog_cc_cross=no |
---|
| 817 | else |
---|
| 818 | ac_cv_prog_cc_cross=yes |
---|
| 819 | fi |
---|
| 820 | else |
---|
| 821 | echo "configure: failed program was:" >&5 |
---|
| 822 | cat conftest.$ac_ext >&5 |
---|
| 823 | ac_cv_prog_cc_works=no |
---|
| 824 | fi |
---|
| 825 | rm -fr conftest* |
---|
[aac46c] | 826 | ac_ext=c |
---|
| 827 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
| 828 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 829 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
| 830 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
| 831 | cross_compiling=$ac_cv_prog_cc_cross |
---|
[2189fb] | 832 | |
---|
| 833 | echo "$ac_t""$ac_cv_prog_cc_works" 1>&6 |
---|
| 834 | if test $ac_cv_prog_cc_works = no; then |
---|
| 835 | { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; } |
---|
| 836 | fi |
---|
| 837 | echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
---|
[4d7834] | 838 | echo "configure:839: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5 |
---|
[2189fb] | 839 | echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6 |
---|
| 840 | cross_compiling=$ac_cv_prog_cc_cross |
---|
| 841 | |
---|
[6afd7c] | 842 | echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6 |
---|
[4d7834] | 843 | echo "configure:844: checking whether we are using GNU C" >&5 |
---|
[6afd7c] | 844 | if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then |
---|
| 845 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 846 | else |
---|
| 847 | cat > conftest.c <<EOF |
---|
| 848 | #ifdef __GNUC__ |
---|
| 849 | yes; |
---|
| 850 | #endif |
---|
| 851 | EOF |
---|
[4d7834] | 852 | if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:853: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
---|
[6afd7c] | 853 | ac_cv_prog_gcc=yes |
---|
| 854 | else |
---|
| 855 | ac_cv_prog_gcc=no |
---|
| 856 | fi |
---|
| 857 | fi |
---|
| 858 | |
---|
| 859 | echo "$ac_t""$ac_cv_prog_gcc" 1>&6 |
---|
[2189fb] | 860 | |
---|
[6afd7c] | 861 | if test $ac_cv_prog_gcc = yes; then |
---|
| 862 | GCC=yes |
---|
[aac46c] | 863 | else |
---|
| 864 | GCC= |
---|
| 865 | fi |
---|
| 866 | |
---|
| 867 | ac_test_CFLAGS="${CFLAGS+set}" |
---|
| 868 | ac_save_CFLAGS="$CFLAGS" |
---|
| 869 | CFLAGS= |
---|
| 870 | echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6 |
---|
[4d7834] | 871 | echo "configure:872: checking whether ${CC-cc} accepts -g" >&5 |
---|
[2189fb] | 872 | if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then |
---|
[6afd7c] | 873 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 874 | else |
---|
| 875 | echo 'void f(){}' > conftest.c |
---|
| 876 | if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then |
---|
[2189fb] | 877 | ac_cv_prog_cc_g=yes |
---|
[6afd7c] | 878 | else |
---|
[2189fb] | 879 | ac_cv_prog_cc_g=no |
---|
[6afd7c] | 880 | fi |
---|
| 881 | rm -f conftest* |
---|
| 882 | |
---|
| 883 | fi |
---|
| 884 | |
---|
[2189fb] | 885 | echo "$ac_t""$ac_cv_prog_cc_g" 1>&6 |
---|
[aac46c] | 886 | if test "$ac_test_CFLAGS" = set; then |
---|
| 887 | CFLAGS="$ac_save_CFLAGS" |
---|
| 888 | elif test $ac_cv_prog_cc_g = yes; then |
---|
| 889 | if test "$GCC" = yes; then |
---|
[2189fb] | 890 | CFLAGS="-g -O2" |
---|
| 891 | else |
---|
[aac46c] | 892 | CFLAGS="-g" |
---|
[9ead31] | 893 | fi |
---|
[8f659dc] | 894 | else |
---|
[aac46c] | 895 | if test "$GCC" = yes; then |
---|
| 896 | CFLAGS="-O2" |
---|
| 897 | else |
---|
| 898 | CFLAGS= |
---|
| 899 | fi |
---|
[6afd7c] | 900 | fi |
---|
| 901 | |
---|
| 902 | echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6 |
---|
[4d7834] | 903 | echo "configure:904: checking how to run the C preprocessor" >&5 |
---|
[6afd7c] | 904 | # On Suns, sometimes $CPP names a directory. |
---|
| 905 | if test -n "$CPP" && test -d "$CPP"; then |
---|
| 906 | CPP= |
---|
| 907 | fi |
---|
| 908 | if test -z "$CPP"; then |
---|
| 909 | if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then |
---|
| 910 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 911 | else |
---|
| 912 | # This must be in double quotes, not single quotes, because CPP may get |
---|
| 913 | # substituted into the Makefile and "${CC-cc}" will confuse make. |
---|
| 914 | CPP="${CC-cc} -E" |
---|
| 915 | # On the NeXT, cc -E runs the code through the compiler's parser, |
---|
| 916 | # not just through cpp. |
---|
| 917 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 918 | #line 919 "configure" |
---|
[6afd7c] | 919 | #include "confdefs.h" |
---|
| 920 | #include <assert.h> |
---|
| 921 | Syntax Error |
---|
| 922 | EOF |
---|
| 923 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
[4d7834] | 924 | { (eval echo configure:925: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
[aac46c] | 925 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
[6afd7c] | 926 | if test -z "$ac_err"; then |
---|
| 927 | : |
---|
| 928 | else |
---|
| 929 | echo "$ac_err" >&5 |
---|
[2189fb] | 930 | echo "configure: failed program was:" >&5 |
---|
| 931 | cat conftest.$ac_ext >&5 |
---|
[6afd7c] | 932 | rm -rf conftest* |
---|
| 933 | CPP="${CC-cc} -E -traditional-cpp" |
---|
| 934 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 935 | #line 936 "configure" |
---|
[9ead31] | 936 | #include "confdefs.h" |
---|
| 937 | #include <assert.h> |
---|
| 938 | Syntax Error |
---|
| 939 | EOF |
---|
| 940 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
[4d7834] | 941 | { (eval echo configure:942: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
[aac46c] | 942 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
| 943 | if test -z "$ac_err"; then |
---|
| 944 | : |
---|
| 945 | else |
---|
| 946 | echo "$ac_err" >&5 |
---|
| 947 | echo "configure: failed program was:" >&5 |
---|
| 948 | cat conftest.$ac_ext >&5 |
---|
| 949 | rm -rf conftest* |
---|
| 950 | CPP="${CC-cc} -nologo -E" |
---|
| 951 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 952 | #line 953 "configure" |
---|
[aac46c] | 953 | #include "confdefs.h" |
---|
| 954 | #include <assert.h> |
---|
| 955 | Syntax Error |
---|
| 956 | EOF |
---|
| 957 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
[4d7834] | 958 | { (eval echo configure:959: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
[aac46c] | 959 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
[6afd7c] | 960 | if test -z "$ac_err"; then |
---|
| 961 | : |
---|
| 962 | else |
---|
| 963 | echo "$ac_err" >&5 |
---|
[2189fb] | 964 | echo "configure: failed program was:" >&5 |
---|
| 965 | cat conftest.$ac_ext >&5 |
---|
[6afd7c] | 966 | rm -rf conftest* |
---|
| 967 | CPP=/lib/cpp |
---|
| 968 | fi |
---|
| 969 | rm -f conftest* |
---|
| 970 | fi |
---|
[aac46c] | 971 | rm -f conftest* |
---|
| 972 | fi |
---|
[6afd7c] | 973 | rm -f conftest* |
---|
| 974 | ac_cv_prog_CPP="$CPP" |
---|
| 975 | fi |
---|
| 976 | CPP="$ac_cv_prog_CPP" |
---|
| 977 | else |
---|
| 978 | ac_cv_prog_CPP="$CPP" |
---|
| 979 | fi |
---|
| 980 | echo "$ac_t""$CPP" 1>&6 |
---|
| 981 | |
---|
[354f3b] | 982 | ac_aux_dir= |
---|
| 983 | for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do |
---|
| 984 | if test -f $ac_dir/install-sh; then |
---|
| 985 | ac_aux_dir=$ac_dir |
---|
| 986 | ac_install_sh="$ac_aux_dir/install-sh -c" |
---|
| 987 | break |
---|
| 988 | elif test -f $ac_dir/install.sh; then |
---|
| 989 | ac_aux_dir=$ac_dir |
---|
| 990 | ac_install_sh="$ac_aux_dir/install.sh -c" |
---|
| 991 | break |
---|
| 992 | fi |
---|
| 993 | done |
---|
| 994 | if test -z "$ac_aux_dir"; then |
---|
| 995 | { echo "configure: error: can not find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." 1>&2; exit 1; } |
---|
| 996 | fi |
---|
| 997 | ac_config_guess=$ac_aux_dir/config.guess |
---|
| 998 | ac_config_sub=$ac_aux_dir/config.sub |
---|
| 999 | ac_configure=$ac_aux_dir/configure # This should be Cygnus configure. |
---|
| 1000 | |
---|
| 1001 | # Find a good install program. We prefer a C program (faster), |
---|
| 1002 | # so one script is as good as another. But avoid the broken or |
---|
| 1003 | # incompatible versions: |
---|
| 1004 | # SysV /etc/install, /usr/sbin/install |
---|
| 1005 | # SunOS /usr/etc/install |
---|
| 1006 | # IRIX /sbin/install |
---|
| 1007 | # AIX /bin/install |
---|
[aac46c] | 1008 | # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag |
---|
[354f3b] | 1009 | # AFS /usr/afsws/bin/install, which mishandles nonexistent args |
---|
| 1010 | # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff" |
---|
| 1011 | # ./install, which can be erroneously created by make from ./install.sh. |
---|
| 1012 | echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6 |
---|
[4d7834] | 1013 | echo "configure:1014: checking for a BSD compatible install" >&5 |
---|
[354f3b] | 1014 | if test -z "$INSTALL"; then |
---|
| 1015 | if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then |
---|
| 1016 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1017 | else |
---|
[aac46c] | 1018 | IFS="${IFS= }"; ac_save_IFS="$IFS"; IFS=":" |
---|
[354f3b] | 1019 | for ac_dir in $PATH; do |
---|
| 1020 | # Account for people who put trailing slashes in PATH elements. |
---|
| 1021 | case "$ac_dir/" in |
---|
| 1022 | /|./|.//|/etc/*|/usr/sbin/*|/usr/etc/*|/sbin/*|/usr/afsws/bin/*|/usr/ucb/*) ;; |
---|
| 1023 | *) |
---|
| 1024 | # OSF1 and SCO ODT 3.0 have their own names for install. |
---|
[aac46c] | 1025 | # Don't use installbsd from OSF since it installs stuff as root |
---|
| 1026 | # by default. |
---|
| 1027 | for ac_prog in ginstall scoinst install; do |
---|
[354f3b] | 1028 | if test -f $ac_dir/$ac_prog; then |
---|
| 1029 | if test $ac_prog = install && |
---|
| 1030 | grep dspmsg $ac_dir/$ac_prog >/dev/null 2>&1; then |
---|
| 1031 | # AIX install. It has an incompatible calling convention. |
---|
| 1032 | : |
---|
| 1033 | else |
---|
| 1034 | ac_cv_path_install="$ac_dir/$ac_prog -c" |
---|
| 1035 | break 2 |
---|
| 1036 | fi |
---|
| 1037 | fi |
---|
| 1038 | done |
---|
| 1039 | ;; |
---|
| 1040 | esac |
---|
| 1041 | done |
---|
| 1042 | IFS="$ac_save_IFS" |
---|
| 1043 | |
---|
| 1044 | fi |
---|
| 1045 | if test "${ac_cv_path_install+set}" = set; then |
---|
| 1046 | INSTALL="$ac_cv_path_install" |
---|
| 1047 | else |
---|
| 1048 | # As a last resort, use the slow shell script. We don't cache a |
---|
| 1049 | # path for INSTALL within a source directory, because that will |
---|
| 1050 | # break other packages using the cache if that directory is |
---|
| 1051 | # removed, or if the path is relative. |
---|
| 1052 | INSTALL="$ac_install_sh" |
---|
| 1053 | fi |
---|
| 1054 | fi |
---|
| 1055 | echo "$ac_t""$INSTALL" 1>&6 |
---|
| 1056 | |
---|
| 1057 | # Use test -z because SunOS4 sh mishandles braces in ${var-val}. |
---|
| 1058 | # It thinks the first close brace ends the variable substitution. |
---|
| 1059 | test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}' |
---|
| 1060 | |
---|
[aac46c] | 1061 | test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL_PROGRAM}' |
---|
| 1062 | |
---|
[354f3b] | 1063 | test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644' |
---|
| 1064 | |
---|
[6afd7c] | 1065 | echo $ac_n "checking for AIX""... $ac_c" 1>&6 |
---|
[4d7834] | 1066 | echo "configure:1067: checking for AIX" >&5 |
---|
[6afd7c] | 1067 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 1068 | #line 1069 "configure" |
---|
[6afd7c] | 1069 | #include "confdefs.h" |
---|
| 1070 | #ifdef _AIX |
---|
| 1071 | yes |
---|
| 1072 | #endif |
---|
| 1073 | |
---|
| 1074 | EOF |
---|
| 1075 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 1076 | egrep "yes" >/dev/null 2>&1; then |
---|
| 1077 | rm -rf conftest* |
---|
| 1078 | echo "$ac_t""yes" 1>&6; cat >> confdefs.h <<\EOF |
---|
| 1079 | #define _ALL_SOURCE 1 |
---|
| 1080 | EOF |
---|
| 1081 | |
---|
| 1082 | else |
---|
| 1083 | rm -rf conftest* |
---|
| 1084 | echo "$ac_t""no" 1>&6 |
---|
| 1085 | fi |
---|
| 1086 | rm -f conftest* |
---|
| 1087 | |
---|
| 1088 | |
---|
[8c8a76] | 1089 | for ac_prog in $CCC c++ g++ gcc CC cxx cc++ cl |
---|
| 1090 | do |
---|
| 1091 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 1092 | set dummy $ac_prog; ac_word=$2 |
---|
| 1093 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[4d7834] | 1094 | echo "configure:1095: checking for $ac_word" >&5 |
---|
[8c8a76] | 1095 | if eval "test \"`echo '$''{'ac_cv_prog_CXX'+set}'`\" = set"; then |
---|
| 1096 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1097 | else |
---|
| 1098 | if test -n "$CXX"; then |
---|
| 1099 | ac_cv_prog_CXX="$CXX" # Let the user override the test. |
---|
| 1100 | else |
---|
| 1101 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 1102 | ac_dummy="$PATH" |
---|
| 1103 | for ac_dir in $ac_dummy; do |
---|
| 1104 | test -z "$ac_dir" && ac_dir=. |
---|
| 1105 | if test -f $ac_dir/$ac_word; then |
---|
| 1106 | ac_cv_prog_CXX="$ac_prog" |
---|
| 1107 | break |
---|
| 1108 | fi |
---|
| 1109 | done |
---|
| 1110 | IFS="$ac_save_ifs" |
---|
| 1111 | fi |
---|
| 1112 | fi |
---|
| 1113 | CXX="$ac_cv_prog_CXX" |
---|
| 1114 | if test -n "$CXX"; then |
---|
| 1115 | echo "$ac_t""$CXX" 1>&6 |
---|
| 1116 | else |
---|
| 1117 | echo "$ac_t""no" 1>&6 |
---|
| 1118 | fi |
---|
| 1119 | |
---|
| 1120 | test -n "$CXX" && break |
---|
| 1121 | done |
---|
| 1122 | test -n "$CXX" || CXX="gcc" |
---|
| 1123 | |
---|
| 1124 | |
---|
| 1125 | echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works""... $ac_c" 1>&6 |
---|
[4d7834] | 1126 | echo "configure:1127: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) works" >&5 |
---|
[8c8a76] | 1127 | |
---|
| 1128 | ac_ext=C |
---|
| 1129 | # CXXFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
| 1130 | ac_cpp='$CXXCPP $CPPFLAGS' |
---|
| 1131 | ac_compile='${CXX-g++} -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
| 1132 | ac_link='${CXX-g++} -o conftest${ac_exeext} $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
| 1133 | cross_compiling=$ac_cv_prog_cxx_cross |
---|
| 1134 | |
---|
| 1135 | cat > conftest.$ac_ext << EOF |
---|
| 1136 | |
---|
[4d7834] | 1137 | #line 1138 "configure" |
---|
[8c8a76] | 1138 | #include "confdefs.h" |
---|
| 1139 | |
---|
| 1140 | int main(){return(0);} |
---|
| 1141 | EOF |
---|
[4d7834] | 1142 | if { (eval echo configure:1143: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[8c8a76] | 1143 | ac_cv_prog_cxx_works=yes |
---|
| 1144 | # If we can't run a trivial program, we are probably using a cross compiler. |
---|
| 1145 | if (./conftest; exit) 2>/dev/null; then |
---|
| 1146 | ac_cv_prog_cxx_cross=no |
---|
| 1147 | else |
---|
| 1148 | ac_cv_prog_cxx_cross=yes |
---|
| 1149 | fi |
---|
| 1150 | else |
---|
| 1151 | echo "configure: failed program was:" >&5 |
---|
| 1152 | cat conftest.$ac_ext >&5 |
---|
| 1153 | ac_cv_prog_cxx_works=no |
---|
| 1154 | fi |
---|
| 1155 | rm -fr conftest* |
---|
| 1156 | ac_ext=c |
---|
| 1157 | # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options. |
---|
| 1158 | ac_cpp='$CPP $CPPFLAGS' |
---|
| 1159 | ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5' |
---|
| 1160 | ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5' |
---|
| 1161 | cross_compiling=$ac_cv_prog_cc_cross |
---|
| 1162 | |
---|
| 1163 | echo "$ac_t""$ac_cv_prog_cxx_works" 1>&6 |
---|
| 1164 | if test $ac_cv_prog_cxx_works = no; then |
---|
| 1165 | { echo "configure: error: installation or configuration problem: C++ compiler cannot create executables." 1>&2; exit 1; } |
---|
| 1166 | fi |
---|
| 1167 | echo $ac_n "checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6 |
---|
[4d7834] | 1168 | echo "configure:1169: checking whether the C++ compiler ($CXX $CXXFLAGS $LDFLAGS) is a cross-compiler" >&5 |
---|
[8c8a76] | 1169 | echo "$ac_t""$ac_cv_prog_cxx_cross" 1>&6 |
---|
| 1170 | cross_compiling=$ac_cv_prog_cxx_cross |
---|
| 1171 | |
---|
| 1172 | echo $ac_n "checking whether we are using GNU C++""... $ac_c" 1>&6 |
---|
[4d7834] | 1173 | echo "configure:1174: checking whether we are using GNU C++" >&5 |
---|
[8c8a76] | 1174 | if eval "test \"`echo '$''{'ac_cv_prog_gxx'+set}'`\" = set"; then |
---|
| 1175 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1176 | else |
---|
| 1177 | cat > conftest.C <<EOF |
---|
| 1178 | #ifdef __GNUC__ |
---|
| 1179 | yes; |
---|
| 1180 | #endif |
---|
| 1181 | EOF |
---|
[4d7834] | 1182 | if { ac_try='${CXX-g++} -E conftest.C'; { (eval echo configure:1183: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then |
---|
[8c8a76] | 1183 | ac_cv_prog_gxx=yes |
---|
| 1184 | else |
---|
| 1185 | ac_cv_prog_gxx=no |
---|
| 1186 | fi |
---|
| 1187 | fi |
---|
| 1188 | |
---|
| 1189 | echo "$ac_t""$ac_cv_prog_gxx" 1>&6 |
---|
| 1190 | |
---|
| 1191 | if test $ac_cv_prog_gxx = yes; then |
---|
| 1192 | GXX=yes |
---|
| 1193 | else |
---|
| 1194 | GXX= |
---|
| 1195 | fi |
---|
| 1196 | |
---|
| 1197 | ac_test_CXXFLAGS="${CXXFLAGS+set}" |
---|
| 1198 | ac_save_CXXFLAGS="$CXXFLAGS" |
---|
| 1199 | CXXFLAGS= |
---|
| 1200 | echo $ac_n "checking whether ${CXX-g++} accepts -g""... $ac_c" 1>&6 |
---|
[4d7834] | 1201 | echo "configure:1202: checking whether ${CXX-g++} accepts -g" >&5 |
---|
[8c8a76] | 1202 | if eval "test \"`echo '$''{'ac_cv_prog_cxx_g'+set}'`\" = set"; then |
---|
| 1203 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1204 | else |
---|
| 1205 | echo 'void f(){}' > conftest.cc |
---|
| 1206 | if test -z "`${CXX-g++} -g -c conftest.cc 2>&1`"; then |
---|
| 1207 | ac_cv_prog_cxx_g=yes |
---|
| 1208 | else |
---|
| 1209 | ac_cv_prog_cxx_g=no |
---|
| 1210 | fi |
---|
| 1211 | rm -f conftest* |
---|
| 1212 | |
---|
| 1213 | fi |
---|
| 1214 | |
---|
| 1215 | echo "$ac_t""$ac_cv_prog_cxx_g" 1>&6 |
---|
| 1216 | if test "$ac_test_CXXFLAGS" = set; then |
---|
| 1217 | CXXFLAGS="$ac_save_CXXFLAGS" |
---|
| 1218 | elif test $ac_cv_prog_cxx_g = yes; then |
---|
| 1219 | if test "$GXX" = yes; then |
---|
| 1220 | CXXFLAGS="-g -O2" |
---|
| 1221 | else |
---|
| 1222 | CXXFLAGS="-g" |
---|
| 1223 | fi |
---|
| 1224 | else |
---|
| 1225 | if test "$GXX" = yes; then |
---|
| 1226 | CXXFLAGS="-O2" |
---|
| 1227 | else |
---|
| 1228 | CXXFLAGS= |
---|
| 1229 | fi |
---|
| 1230 | fi |
---|
| 1231 | |
---|
| 1232 | |
---|
| 1233 | # check whether the compiler accepts -pipe |
---|
| 1234 | echo $ac_n "checking whether compiler accepts -pipe""... $ac_c" 1>&6 |
---|
[4d7834] | 1235 | echo "configure:1236: checking whether compiler accepts -pipe" >&5 |
---|
[8c8a76] | 1236 | temp_cflags=${CFLAGS} |
---|
| 1237 | CFLAGS="${CFLAGS} -pipe" |
---|
| 1238 | if eval "test \"`echo '$''{'ac_cv_cxx_have_pipe'+set}'`\" = set"; then |
---|
| 1239 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1240 | else |
---|
| 1241 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 1242 | #line 1243 "configure" |
---|
[8c8a76] | 1243 | #include "confdefs.h" |
---|
| 1244 | |
---|
| 1245 | int main() { |
---|
| 1246 | |
---|
| 1247 | ; return 0; } |
---|
| 1248 | EOF |
---|
[4d7834] | 1249 | if { (eval echo configure:1250: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then |
---|
[8c8a76] | 1250 | rm -rf conftest* |
---|
| 1251 | ac_cv_cxx_have_pipe=yes |
---|
| 1252 | else |
---|
| 1253 | echo "configure: failed program was:" >&5 |
---|
| 1254 | cat conftest.$ac_ext >&5 |
---|
| 1255 | rm -rf conftest* |
---|
| 1256 | ac_cv_cxx_have_pipe=no |
---|
| 1257 | fi |
---|
| 1258 | rm -f conftest* |
---|
| 1259 | |
---|
| 1260 | fi |
---|
| 1261 | |
---|
| 1262 | echo "$ac_t""${ac_cv_cxx_have_pipe}" 1>&6 |
---|
| 1263 | CFLAGS=${temp_cflags} |
---|
| 1264 | if test "${ac_cv_cxx_have_pipe}" != yes; then |
---|
| 1265 | PIPE= |
---|
| 1266 | else |
---|
| 1267 | PIPE="-pipe" |
---|
| 1268 | fi |
---|
| 1269 | |
---|
[6afd7c] | 1270 | |
---|
[3d8259] | 1271 | for ac_prog in perl5 perl |
---|
| 1272 | do |
---|
| 1273 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 1274 | set dummy $ac_prog; ac_word=$2 |
---|
| 1275 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[4d7834] | 1276 | echo "configure:1277: checking for $ac_word" >&5 |
---|
[3d8259] | 1277 | if eval "test \"`echo '$''{'ac_cv_prog_PERL'+set}'`\" = set"; then |
---|
| 1278 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1279 | else |
---|
| 1280 | if test -n "$PERL"; then |
---|
| 1281 | ac_cv_prog_PERL="$PERL" # Let the user override the test. |
---|
| 1282 | else |
---|
[aac46c] | 1283 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 1284 | ac_dummy="$PATH" |
---|
| 1285 | for ac_dir in $ac_dummy; do |
---|
[3d8259] | 1286 | test -z "$ac_dir" && ac_dir=. |
---|
| 1287 | if test -f $ac_dir/$ac_word; then |
---|
| 1288 | ac_cv_prog_PERL="$ac_prog" |
---|
| 1289 | break |
---|
| 1290 | fi |
---|
| 1291 | done |
---|
| 1292 | IFS="$ac_save_ifs" |
---|
| 1293 | fi |
---|
| 1294 | fi |
---|
| 1295 | PERL="$ac_cv_prog_PERL" |
---|
| 1296 | if test -n "$PERL"; then |
---|
| 1297 | echo "$ac_t""$PERL" 1>&6 |
---|
| 1298 | else |
---|
| 1299 | echo "$ac_t""no" 1>&6 |
---|
| 1300 | fi |
---|
| 1301 | |
---|
| 1302 | test -n "$PERL" && break |
---|
| 1303 | done |
---|
| 1304 | |
---|
[a70441f] | 1305 | for ac_prog in uudecode "uudeview -i" |
---|
| 1306 | do |
---|
| 1307 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 1308 | set dummy $ac_prog; ac_word=$2 |
---|
| 1309 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[4d7834] | 1310 | echo "configure:1311: checking for $ac_word" >&5 |
---|
[a70441f] | 1311 | if eval "test \"`echo '$''{'ac_cv_prog_UUDECODE'+set}'`\" = set"; then |
---|
| 1312 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1313 | else |
---|
| 1314 | if test -n "$UUDECODE"; then |
---|
| 1315 | ac_cv_prog_UUDECODE="$UUDECODE" # Let the user override the test. |
---|
| 1316 | else |
---|
| 1317 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 1318 | ac_dummy="$PATH" |
---|
| 1319 | for ac_dir in $ac_dummy; do |
---|
| 1320 | test -z "$ac_dir" && ac_dir=. |
---|
| 1321 | if test -f $ac_dir/$ac_word; then |
---|
| 1322 | ac_cv_prog_UUDECODE="$ac_prog" |
---|
| 1323 | break |
---|
| 1324 | fi |
---|
| 1325 | done |
---|
| 1326 | IFS="$ac_save_ifs" |
---|
| 1327 | fi |
---|
| 1328 | fi |
---|
| 1329 | UUDECODE="$ac_cv_prog_UUDECODE" |
---|
| 1330 | if test -n "$UUDECODE"; then |
---|
| 1331 | echo "$ac_t""$UUDECODE" 1>&6 |
---|
| 1332 | else |
---|
| 1333 | echo "$ac_t""no" 1>&6 |
---|
| 1334 | fi |
---|
| 1335 | |
---|
| 1336 | test -n "$UUDECODE" && break |
---|
| 1337 | done |
---|
| 1338 | |
---|
[8f659dc] | 1339 | for ac_prog in gunzip |
---|
[9ead31] | 1340 | do |
---|
| 1341 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 1342 | set dummy $ac_prog; ac_word=$2 |
---|
| 1343 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[4d7834] | 1344 | echo "configure:1345: checking for $ac_word" >&5 |
---|
[9ead31] | 1345 | if eval "test \"`echo '$''{'ac_cv_prog_GUNZIP'+set}'`\" = set"; then |
---|
| 1346 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1347 | else |
---|
| 1348 | if test -n "$GUNZIP"; then |
---|
| 1349 | ac_cv_prog_GUNZIP="$GUNZIP" # Let the user override the test. |
---|
| 1350 | else |
---|
[aac46c] | 1351 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 1352 | ac_dummy="$PATH" |
---|
| 1353 | for ac_dir in $ac_dummy; do |
---|
[9ead31] | 1354 | test -z "$ac_dir" && ac_dir=. |
---|
| 1355 | if test -f $ac_dir/$ac_word; then |
---|
| 1356 | ac_cv_prog_GUNZIP="$ac_prog" |
---|
| 1357 | break |
---|
| 1358 | fi |
---|
| 1359 | done |
---|
| 1360 | IFS="$ac_save_ifs" |
---|
| 1361 | fi |
---|
| 1362 | fi |
---|
| 1363 | GUNZIP="$ac_cv_prog_GUNZIP" |
---|
| 1364 | if test -n "$GUNZIP"; then |
---|
| 1365 | echo "$ac_t""$GUNZIP" 1>&6 |
---|
| 1366 | else |
---|
| 1367 | echo "$ac_t""no" 1>&6 |
---|
| 1368 | fi |
---|
| 1369 | |
---|
| 1370 | test -n "$GUNZIP" && break |
---|
| 1371 | done |
---|
| 1372 | test -n "$GUNZIP" || GUNZIP="${pwd}/warn_not_found.sh gunzip" |
---|
| 1373 | |
---|
| 1374 | # don't use GZIP this breaks configure |
---|
[8f659dc] | 1375 | for ac_prog in gzip |
---|
[9ead31] | 1376 | do |
---|
| 1377 | # Extract the first word of "$ac_prog", so it can be a program name with args. |
---|
| 1378 | set dummy $ac_prog; ac_word=$2 |
---|
| 1379 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[4d7834] | 1380 | echo "configure:1381: checking for $ac_word" >&5 |
---|
[9ead31] | 1381 | if eval "test \"`echo '$''{'ac_cv_prog_MYGZIP'+set}'`\" = set"; then |
---|
| 1382 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1383 | else |
---|
| 1384 | if test -n "$MYGZIP"; then |
---|
| 1385 | ac_cv_prog_MYGZIP="$MYGZIP" # Let the user override the test. |
---|
| 1386 | else |
---|
[aac46c] | 1387 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 1388 | ac_dummy="$PATH" |
---|
| 1389 | for ac_dir in $ac_dummy; do |
---|
[9ead31] | 1390 | test -z "$ac_dir" && ac_dir=. |
---|
| 1391 | if test -f $ac_dir/$ac_word; then |
---|
| 1392 | ac_cv_prog_MYGZIP="$ac_prog" |
---|
| 1393 | break |
---|
| 1394 | fi |
---|
| 1395 | done |
---|
| 1396 | IFS="$ac_save_ifs" |
---|
| 1397 | fi |
---|
| 1398 | fi |
---|
| 1399 | MYGZIP="$ac_cv_prog_MYGZIP" |
---|
| 1400 | if test -n "$MYGZIP"; then |
---|
| 1401 | echo "$ac_t""$MYGZIP" 1>&6 |
---|
| 1402 | else |
---|
| 1403 | echo "$ac_t""no" 1>&6 |
---|
| 1404 | fi |
---|
| 1405 | |
---|
| 1406 | test -n "$MYGZIP" && break |
---|
| 1407 | done |
---|
| 1408 | test -n "$MYGZIP" || MYGZIP="${pwd}/warn_not_found.sh gzip" |
---|
| 1409 | |
---|
[f36635] | 1410 | # Extract the first word of "latex2html", so it can be a program name with args. |
---|
| 1411 | set dummy latex2html; ac_word=$2 |
---|
| 1412 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[4d7834] | 1413 | echo "configure:1414: checking for $ac_word" >&5 |
---|
[f36635] | 1414 | if eval "test \"`echo '$''{'ac_cv_prog_LATEX2HTML'+set}'`\" = set"; then |
---|
| 1415 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1416 | else |
---|
| 1417 | if test -n "$LATEX2HTML"; then |
---|
| 1418 | ac_cv_prog_LATEX2HTML="$LATEX2HTML" # Let the user override the test. |
---|
| 1419 | else |
---|
[aac46c] | 1420 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 1421 | ac_dummy="$PATH" |
---|
| 1422 | for ac_dir in $ac_dummy; do |
---|
[f36635] | 1423 | test -z "$ac_dir" && ac_dir=. |
---|
| 1424 | if test -f $ac_dir/$ac_word; then |
---|
| 1425 | ac_cv_prog_LATEX2HTML="latex2html" |
---|
| 1426 | break |
---|
| 1427 | fi |
---|
| 1428 | done |
---|
| 1429 | IFS="$ac_save_ifs" |
---|
| 1430 | fi |
---|
| 1431 | fi |
---|
| 1432 | LATEX2HTML="$ac_cv_prog_LATEX2HTML" |
---|
| 1433 | if test -n "$LATEX2HTML"; then |
---|
| 1434 | echo "$ac_t""$LATEX2HTML" 1>&6 |
---|
| 1435 | else |
---|
| 1436 | echo "$ac_t""no" 1>&6 |
---|
| 1437 | fi |
---|
| 1438 | |
---|
[fe40293] | 1439 | echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6 |
---|
[4d7834] | 1440 | echo "configure:1441: checking whether ln -s works" >&5 |
---|
[fe40293] | 1441 | if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then |
---|
| 1442 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1443 | else |
---|
| 1444 | rm -f conftestdata |
---|
| 1445 | if ln -s X conftestdata 2>/dev/null |
---|
| 1446 | then |
---|
| 1447 | rm -f conftestdata |
---|
| 1448 | ac_cv_prog_LN_S="ln -s" |
---|
| 1449 | else |
---|
| 1450 | ac_cv_prog_LN_S=ln |
---|
| 1451 | fi |
---|
| 1452 | fi |
---|
| 1453 | LN_S="$ac_cv_prog_LN_S" |
---|
| 1454 | if test "$ac_cv_prog_LN_S" = "ln -s"; then |
---|
| 1455 | echo "$ac_t""yes" 1>&6 |
---|
| 1456 | else |
---|
| 1457 | echo "$ac_t""no" 1>&6 |
---|
| 1458 | fi |
---|
| 1459 | |
---|
[64c6d1] | 1460 | |
---|
[51f201] | 1461 | if test -r "${pwd}/mkinstalldirs"; then |
---|
[a15090f] | 1462 | MKINSTALLDIRS=${pwd}/mkinstalldirs |
---|
| 1463 | |
---|
| 1464 | else |
---|
| 1465 | { echo "configure: error: mkinstalldirs not foind in ${pwd}" 1>&2; exit 1; } |
---|
| 1466 | fi |
---|
| 1467 | |
---|
[64c6d1] | 1468 | # expand prefix and pass it to subsequent configures |
---|
[23673b] | 1469 | if test "x$prefix" = xNONE; then |
---|
| 1470 | prefix=${ac_default_prefix} |
---|
| 1471 | ac_configure_args="$ac_configure_args --prefix=${prefix}" |
---|
| 1472 | fi |
---|
[64c6d1] | 1473 | |
---|
| 1474 | # expand exec_prefix |
---|
| 1475 | if test "x$exec_prefix" = xNONE; then |
---|
[fe40293] | 1476 | exec_prefix=${prefix}/${ac_cv_singuname} |
---|
| 1477 | ac_configure_args="$ac_configure_args --exec_prefix=${exec_prefix}" |
---|
[6afd7c] | 1478 | fi |
---|
| 1479 | |
---|
[64c6d1] | 1480 | # expand bindir |
---|
[8c4748] | 1481 | if test "x$bindir" = 'x${exec_prefix}/bin'; then |
---|
[dcc635] | 1482 | bindir="${exec_prefix}" |
---|
[8c4748] | 1483 | ac_configure_args="$ac_configure_args --bindir=${bindir}" |
---|
| 1484 | fi |
---|
[64c6d1] | 1485 | |
---|
| 1486 | # expand libdir |
---|
[8c4748] | 1487 | if test "x$libdir" = 'x${exec_prefix}/lib'; then |
---|
[dcc635] | 1488 | libdir="${exec_prefix}/lib" |
---|
[8c4748] | 1489 | ac_configure_args="$ac_configure_args --libdir=${libdir}" |
---|
| 1490 | fi |
---|
[64c6d1] | 1491 | |
---|
| 1492 | # expand includedir |
---|
[8c4748] | 1493 | if test "x$includedir" = 'x${prefix}/include'; then |
---|
[dcc635] | 1494 | includedir="${exec_prefix}/include" |
---|
[8c4748] | 1495 | ac_configure_args="$ac_configure_args --includedir=${includedir}" |
---|
| 1496 | fi |
---|
| 1497 | |
---|
[9bc556] | 1498 | # construct name of installed Singular executable |
---|
[181d6e] | 1499 | SINGULAR=${bindir}/Singular-${SINGULAR_MAJOR_VERSION}${VERSION_SEP}${SINGULAR_MINOR_VERSION}${VERSION_SEP}${SINGULAR_SUB_VERSION} |
---|
[9bc556] | 1500 | export SINGULAR |
---|
| 1501 | |
---|
[8c4748] | 1502 | |
---|
[64c6d1] | 1503 | |
---|
[8c4748] | 1504 | # add -I to CPPFLAGS and -L to LDFLAGS, just to be sure |
---|
[64c6d1] | 1505 | LDFLAGS="-L${libdir} ${LDFLAGS}" |
---|
| 1506 | CPPFLAGS="-I${includedir} ${CPPFLAGS}" |
---|
[6afd7c] | 1507 | |
---|
[8c4748] | 1508 | # check for AIX |
---|
[dc32d42] | 1509 | echo $ac_n "checking whether _AIX is defined""... $ac_c" 1>&6 |
---|
[4d7834] | 1510 | echo "configure:1511: checking whether _AIX is defined" >&5 |
---|
[dc32d42] | 1511 | if eval "test \"`echo '$''{'ac_cv_is_aix'+set}'`\" = set"; then |
---|
| 1512 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1513 | else |
---|
| 1514 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 1515 | #line 1516 "configure" |
---|
[dc32d42] | 1516 | #include "confdefs.h" |
---|
| 1517 | #ifdef _AIX |
---|
| 1518 | yes |
---|
| 1519 | #endif |
---|
| 1520 | |
---|
| 1521 | EOF |
---|
| 1522 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
---|
| 1523 | egrep "yes" >/dev/null 2>&1; then |
---|
| 1524 | rm -rf conftest* |
---|
| 1525 | ac_cv_is_aix=yes |
---|
| 1526 | else |
---|
| 1527 | rm -rf conftest* |
---|
| 1528 | ac_cv_is_aix=no |
---|
| 1529 | fi |
---|
| 1530 | rm -f conftest* |
---|
| 1531 | |
---|
| 1532 | fi |
---|
| 1533 | |
---|
| 1534 | if test "$ac_cv_is_aix" = yes; then |
---|
| 1535 | echo "$ac_t""yes" 1>&6 |
---|
| 1536 | else |
---|
| 1537 | echo "$ac_t""no" 1>&6 |
---|
| 1538 | fi |
---|
[6afd7c] | 1539 | |
---|
[2189fb] | 1540 | echo $ac_n "checking for atof in -lm""... $ac_c" 1>&6 |
---|
[4d7834] | 1541 | echo "configure:1542: checking for atof in -lm" >&5 |
---|
[2189fb] | 1542 | ac_lib_var=`echo m'_'atof | sed 'y%./+-%__p_%'` |
---|
[6afd7c] | 1543 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1544 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1545 | else |
---|
| 1546 | ac_save_LIBS="$LIBS" |
---|
| 1547 | LIBS="-lm $LIBS" |
---|
| 1548 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 1549 | #line 1550 "configure" |
---|
[6afd7c] | 1550 | #include "confdefs.h" |
---|
| 1551 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
[2189fb] | 1552 | /* We use char because int might match the return type of a gcc2 |
---|
| 1553 | builtin and then its argument prototype would still apply. */ |
---|
[6afd7c] | 1554 | char atof(); |
---|
| 1555 | |
---|
[2189fb] | 1556 | int main() { |
---|
[6afd7c] | 1557 | atof() |
---|
| 1558 | ; return 0; } |
---|
| 1559 | EOF |
---|
[4d7834] | 1560 | if { (eval echo configure:1561: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[6afd7c] | 1561 | rm -rf conftest* |
---|
| 1562 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1563 | else |
---|
[2189fb] | 1564 | echo "configure: failed program was:" >&5 |
---|
| 1565 | cat conftest.$ac_ext >&5 |
---|
[6afd7c] | 1566 | rm -rf conftest* |
---|
| 1567 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1568 | fi |
---|
| 1569 | rm -f conftest* |
---|
| 1570 | LIBS="$ac_save_LIBS" |
---|
| 1571 | |
---|
| 1572 | fi |
---|
| 1573 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1574 | echo "$ac_t""yes" 1>&6 |
---|
[2189fb] | 1575 | ac_tr_lib=HAVE_LIB`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
| 1576 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
[6afd7c] | 1577 | cat >> confdefs.h <<EOF |
---|
| 1578 | #define $ac_tr_lib 1 |
---|
| 1579 | EOF |
---|
| 1580 | |
---|
| 1581 | LIBS="-lm $LIBS" |
---|
| 1582 | |
---|
| 1583 | else |
---|
| 1584 | echo "$ac_t""no" 1>&6 |
---|
| 1585 | fi |
---|
| 1586 | |
---|
[2189fb] | 1587 | echo $ac_n "checking for socket in -lbsd""... $ac_c" 1>&6 |
---|
[4d7834] | 1588 | echo "configure:1589: checking for socket in -lbsd" >&5 |
---|
[2189fb] | 1589 | ac_lib_var=`echo bsd'_'socket | sed 'y%./+-%__p_%'` |
---|
[4dea87] | 1590 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1591 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1592 | else |
---|
| 1593 | ac_save_LIBS="$LIBS" |
---|
| 1594 | LIBS="-lbsd $LIBS" |
---|
| 1595 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 1596 | #line 1597 "configure" |
---|
[4dea87] | 1597 | #include "confdefs.h" |
---|
| 1598 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
[2189fb] | 1599 | /* We use char because int might match the return type of a gcc2 |
---|
| 1600 | builtin and then its argument prototype would still apply. */ |
---|
[4dea87] | 1601 | char socket(); |
---|
| 1602 | |
---|
[2189fb] | 1603 | int main() { |
---|
[4dea87] | 1604 | socket() |
---|
| 1605 | ; return 0; } |
---|
| 1606 | EOF |
---|
[4d7834] | 1607 | if { (eval echo configure:1608: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[4dea87] | 1608 | rm -rf conftest* |
---|
| 1609 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1610 | else |
---|
[2189fb] | 1611 | echo "configure: failed program was:" >&5 |
---|
| 1612 | cat conftest.$ac_ext >&5 |
---|
[4dea87] | 1613 | rm -rf conftest* |
---|
| 1614 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1615 | fi |
---|
| 1616 | rm -f conftest* |
---|
| 1617 | LIBS="$ac_save_LIBS" |
---|
| 1618 | |
---|
| 1619 | fi |
---|
| 1620 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1621 | echo "$ac_t""yes" 1>&6 |
---|
[2189fb] | 1622 | ac_tr_lib=HAVE_LIB`echo bsd | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
| 1623 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
[4dea87] | 1624 | cat >> confdefs.h <<EOF |
---|
| 1625 | #define $ac_tr_lib 1 |
---|
| 1626 | EOF |
---|
| 1627 | |
---|
| 1628 | LIBS="-lbsd $LIBS" |
---|
| 1629 | |
---|
| 1630 | else |
---|
| 1631 | echo "$ac_t""no" 1>&6 |
---|
| 1632 | fi |
---|
| 1633 | |
---|
[2189fb] | 1634 | echo $ac_n "checking for listen in -lsocket""... $ac_c" 1>&6 |
---|
[4d7834] | 1635 | echo "configure:1636: checking for listen in -lsocket" >&5 |
---|
[2189fb] | 1636 | ac_lib_var=`echo socket'_'listen | sed 'y%./+-%__p_%'` |
---|
[4dea87] | 1637 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1638 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1639 | else |
---|
| 1640 | ac_save_LIBS="$LIBS" |
---|
| 1641 | LIBS="-lsocket $LIBS" |
---|
| 1642 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 1643 | #line 1644 "configure" |
---|
[4dea87] | 1644 | #include "confdefs.h" |
---|
| 1645 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
[2189fb] | 1646 | /* We use char because int might match the return type of a gcc2 |
---|
| 1647 | builtin and then its argument prototype would still apply. */ |
---|
[4dea87] | 1648 | char listen(); |
---|
| 1649 | |
---|
[2189fb] | 1650 | int main() { |
---|
[4dea87] | 1651 | listen() |
---|
| 1652 | ; return 0; } |
---|
| 1653 | EOF |
---|
[4d7834] | 1654 | if { (eval echo configure:1655: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[4dea87] | 1655 | rm -rf conftest* |
---|
| 1656 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1657 | else |
---|
[2189fb] | 1658 | echo "configure: failed program was:" >&5 |
---|
| 1659 | cat conftest.$ac_ext >&5 |
---|
[4dea87] | 1660 | rm -rf conftest* |
---|
| 1661 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1662 | fi |
---|
| 1663 | rm -f conftest* |
---|
| 1664 | LIBS="$ac_save_LIBS" |
---|
| 1665 | |
---|
| 1666 | fi |
---|
| 1667 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1668 | echo "$ac_t""yes" 1>&6 |
---|
[2189fb] | 1669 | ac_tr_lib=HAVE_LIB`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
| 1670 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
[4dea87] | 1671 | cat >> confdefs.h <<EOF |
---|
| 1672 | #define $ac_tr_lib 1 |
---|
| 1673 | EOF |
---|
| 1674 | |
---|
| 1675 | LIBS="-lsocket $LIBS" |
---|
| 1676 | |
---|
| 1677 | else |
---|
| 1678 | echo "$ac_t""no" 1>&6 |
---|
| 1679 | fi |
---|
| 1680 | |
---|
[2189fb] | 1681 | echo $ac_n "checking for gethostbyname in -lnsl""... $ac_c" 1>&6 |
---|
[4d7834] | 1682 | echo "configure:1683: checking for gethostbyname in -lnsl" >&5 |
---|
[2189fb] | 1683 | ac_lib_var=`echo nsl'_'gethostbyname | sed 'y%./+-%__p_%'` |
---|
[4dea87] | 1684 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1685 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1686 | else |
---|
| 1687 | ac_save_LIBS="$LIBS" |
---|
| 1688 | LIBS="-lnsl $LIBS" |
---|
| 1689 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 1690 | #line 1691 "configure" |
---|
[4dea87] | 1691 | #include "confdefs.h" |
---|
| 1692 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
[2189fb] | 1693 | /* We use char because int might match the return type of a gcc2 |
---|
| 1694 | builtin and then its argument prototype would still apply. */ |
---|
[4dea87] | 1695 | char gethostbyname(); |
---|
| 1696 | |
---|
[2189fb] | 1697 | int main() { |
---|
[4dea87] | 1698 | gethostbyname() |
---|
| 1699 | ; return 0; } |
---|
| 1700 | EOF |
---|
[4d7834] | 1701 | if { (eval echo configure:1702: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[4dea87] | 1702 | rm -rf conftest* |
---|
| 1703 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1704 | else |
---|
[2189fb] | 1705 | echo "configure: failed program was:" >&5 |
---|
| 1706 | cat conftest.$ac_ext >&5 |
---|
[4dea87] | 1707 | rm -rf conftest* |
---|
| 1708 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1709 | fi |
---|
| 1710 | rm -f conftest* |
---|
| 1711 | LIBS="$ac_save_LIBS" |
---|
| 1712 | |
---|
| 1713 | fi |
---|
| 1714 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1715 | echo "$ac_t""yes" 1>&6 |
---|
[2189fb] | 1716 | ac_tr_lib=HAVE_LIB`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
| 1717 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
[4dea87] | 1718 | cat >> confdefs.h <<EOF |
---|
| 1719 | #define $ac_tr_lib 1 |
---|
| 1720 | EOF |
---|
| 1721 | |
---|
| 1722 | LIBS="-lnsl $LIBS" |
---|
| 1723 | |
---|
| 1724 | else |
---|
| 1725 | echo "$ac_t""no" 1>&6 |
---|
| 1726 | fi |
---|
| 1727 | |
---|
[a70441f] | 1728 | echo $ac_n "checking for main in -lgmp""... $ac_c" 1>&6 |
---|
[4d7834] | 1729 | echo "configure:1730: checking for main in -lgmp" >&5 |
---|
[a70441f] | 1730 | ac_lib_var=`echo gmp'_'main | sed 'y%./+-%__p_%'` |
---|
[6afd7c] | 1731 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1732 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1733 | else |
---|
| 1734 | ac_save_LIBS="$LIBS" |
---|
| 1735 | LIBS="-lgmp $LIBS" |
---|
| 1736 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 1737 | #line 1738 "configure" |
---|
[6afd7c] | 1738 | #include "confdefs.h" |
---|
| 1739 | |
---|
[2189fb] | 1740 | int main() { |
---|
[a70441f] | 1741 | main() |
---|
[6afd7c] | 1742 | ; return 0; } |
---|
| 1743 | EOF |
---|
[4d7834] | 1744 | if { (eval echo configure:1745: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[6afd7c] | 1745 | rm -rf conftest* |
---|
| 1746 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1747 | else |
---|
[2189fb] | 1748 | echo "configure: failed program was:" >&5 |
---|
| 1749 | cat conftest.$ac_ext >&5 |
---|
[6afd7c] | 1750 | rm -rf conftest* |
---|
| 1751 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1752 | fi |
---|
| 1753 | rm -f conftest* |
---|
| 1754 | LIBS="$ac_save_LIBS" |
---|
| 1755 | |
---|
| 1756 | fi |
---|
| 1757 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1758 | echo "$ac_t""yes" 1>&6 |
---|
[2189fb] | 1759 | ac_tr_lib=HAVE_LIB`echo gmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
| 1760 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
[6afd7c] | 1761 | cat >> confdefs.h <<EOF |
---|
| 1762 | #define $ac_tr_lib 1 |
---|
| 1763 | EOF |
---|
| 1764 | |
---|
| 1765 | LIBS="-lgmp $LIBS" |
---|
| 1766 | |
---|
| 1767 | else |
---|
| 1768 | echo "$ac_t""no" 1>&6 |
---|
| 1769 | fi |
---|
| 1770 | |
---|
[2189fb] | 1771 | echo $ac_n "checking for mpz_init in -lsmallgmp""... $ac_c" 1>&6 |
---|
[4d7834] | 1772 | echo "configure:1773: checking for mpz_init in -lsmallgmp" >&5 |
---|
[2189fb] | 1773 | ac_lib_var=`echo smallgmp'_'mpz_init | sed 'y%./+-%__p_%'` |
---|
[78364c] | 1774 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1775 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1776 | else |
---|
| 1777 | ac_save_LIBS="$LIBS" |
---|
| 1778 | LIBS="-lsmallgmp $LIBS" |
---|
| 1779 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 1780 | #line 1781 "configure" |
---|
[78364c] | 1781 | #include "confdefs.h" |
---|
| 1782 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
[2189fb] | 1783 | /* We use char because int might match the return type of a gcc2 |
---|
| 1784 | builtin and then its argument prototype would still apply. */ |
---|
[78364c] | 1785 | char mpz_init(); |
---|
| 1786 | |
---|
[2189fb] | 1787 | int main() { |
---|
[78364c] | 1788 | mpz_init() |
---|
| 1789 | ; return 0; } |
---|
| 1790 | EOF |
---|
[4d7834] | 1791 | if { (eval echo configure:1792: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[78364c] | 1792 | rm -rf conftest* |
---|
| 1793 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1794 | else |
---|
[2189fb] | 1795 | echo "configure: failed program was:" >&5 |
---|
| 1796 | cat conftest.$ac_ext >&5 |
---|
[78364c] | 1797 | rm -rf conftest* |
---|
| 1798 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1799 | fi |
---|
| 1800 | rm -f conftest* |
---|
| 1801 | LIBS="$ac_save_LIBS" |
---|
| 1802 | |
---|
| 1803 | fi |
---|
| 1804 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1805 | echo "$ac_t""yes" 1>&6 |
---|
[2189fb] | 1806 | ac_tr_lib=HAVE_LIB`echo smallgmp | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
| 1807 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
[78364c] | 1808 | cat >> confdefs.h <<EOF |
---|
| 1809 | #define $ac_tr_lib 1 |
---|
| 1810 | EOF |
---|
| 1811 | |
---|
| 1812 | LIBS="-lsmallgmp $LIBS" |
---|
| 1813 | |
---|
| 1814 | else |
---|
| 1815 | echo "$ac_t""no" 1>&6 |
---|
| 1816 | fi |
---|
| 1817 | |
---|
[2189fb] | 1818 | echo $ac_n "checking for IMP_PutGmpInt in -lMP""... $ac_c" 1>&6 |
---|
[4d7834] | 1819 | echo "configure:1820: checking for IMP_PutGmpInt in -lMP" >&5 |
---|
[2189fb] | 1820 | ac_lib_var=`echo MP'_'IMP_PutGmpInt | sed 'y%./+-%__p_%'` |
---|
[6afd7c] | 1821 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1822 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1823 | else |
---|
| 1824 | ac_save_LIBS="$LIBS" |
---|
| 1825 | LIBS="-lMP $LIBS" |
---|
| 1826 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 1827 | #line 1828 "configure" |
---|
[6afd7c] | 1828 | #include "confdefs.h" |
---|
| 1829 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
[2189fb] | 1830 | /* We use char because int might match the return type of a gcc2 |
---|
| 1831 | builtin and then its argument prototype would still apply. */ |
---|
[6afd7c] | 1832 | char IMP_PutGmpInt(); |
---|
| 1833 | |
---|
[2189fb] | 1834 | int main() { |
---|
[6afd7c] | 1835 | IMP_PutGmpInt() |
---|
| 1836 | ; return 0; } |
---|
| 1837 | EOF |
---|
[4d7834] | 1838 | if { (eval echo configure:1839: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[6afd7c] | 1839 | rm -rf conftest* |
---|
| 1840 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1841 | else |
---|
[2189fb] | 1842 | echo "configure: failed program was:" >&5 |
---|
| 1843 | cat conftest.$ac_ext >&5 |
---|
[6afd7c] | 1844 | rm -rf conftest* |
---|
| 1845 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1846 | fi |
---|
| 1847 | rm -f conftest* |
---|
| 1848 | LIBS="$ac_save_LIBS" |
---|
| 1849 | |
---|
| 1850 | fi |
---|
| 1851 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1852 | echo "$ac_t""yes" 1>&6 |
---|
[2189fb] | 1853 | ac_tr_lib=HAVE_LIB`echo MP | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
| 1854 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
[6afd7c] | 1855 | cat >> confdefs.h <<EOF |
---|
| 1856 | #define $ac_tr_lib 1 |
---|
| 1857 | EOF |
---|
| 1858 | |
---|
| 1859 | LIBS="-lMP $LIBS" |
---|
| 1860 | |
---|
| 1861 | else |
---|
| 1862 | echo "$ac_t""no" 1>&6 |
---|
| 1863 | fi |
---|
| 1864 | |
---|
[2189fb] | 1865 | echo $ac_n "checking for MPT_GetTree in -lMPT""... $ac_c" 1>&6 |
---|
[4d7834] | 1866 | echo "configure:1867: checking for MPT_GetTree in -lMPT" >&5 |
---|
[2189fb] | 1867 | ac_lib_var=`echo MPT'_'MPT_GetTree | sed 'y%./+-%__p_%'` |
---|
[6afd7c] | 1868 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1869 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1870 | else |
---|
| 1871 | ac_save_LIBS="$LIBS" |
---|
| 1872 | LIBS="-lMPT $LIBS" |
---|
| 1873 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 1874 | #line 1875 "configure" |
---|
[6afd7c] | 1875 | #include "confdefs.h" |
---|
| 1876 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
[2189fb] | 1877 | /* We use char because int might match the return type of a gcc2 |
---|
| 1878 | builtin and then its argument prototype would still apply. */ |
---|
[6afd7c] | 1879 | char MPT_GetTree(); |
---|
| 1880 | |
---|
[2189fb] | 1881 | int main() { |
---|
[6afd7c] | 1882 | MPT_GetTree() |
---|
| 1883 | ; return 0; } |
---|
| 1884 | EOF |
---|
[4d7834] | 1885 | if { (eval echo configure:1886: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[6afd7c] | 1886 | rm -rf conftest* |
---|
| 1887 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1888 | else |
---|
[2189fb] | 1889 | echo "configure: failed program was:" >&5 |
---|
| 1890 | cat conftest.$ac_ext >&5 |
---|
[6afd7c] | 1891 | rm -rf conftest* |
---|
| 1892 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1893 | fi |
---|
| 1894 | rm -f conftest* |
---|
| 1895 | LIBS="$ac_save_LIBS" |
---|
| 1896 | |
---|
| 1897 | fi |
---|
| 1898 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1899 | echo "$ac_t""yes" 1>&6 |
---|
[2189fb] | 1900 | ac_tr_lib=HAVE_LIB`echo MPT | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
| 1901 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
[6afd7c] | 1902 | cat >> confdefs.h <<EOF |
---|
| 1903 | #define $ac_tr_lib 1 |
---|
| 1904 | EOF |
---|
| 1905 | |
---|
| 1906 | LIBS="-lMPT $LIBS" |
---|
| 1907 | |
---|
| 1908 | else |
---|
| 1909 | echo "$ac_t""no" 1>&6 |
---|
| 1910 | fi |
---|
| 1911 | |
---|
[2189fb] | 1912 | echo $ac_n "checking for atof in -lsingcf""... $ac_c" 1>&6 |
---|
[4d7834] | 1913 | echo "configure:1914: checking for atof in -lsingcf" >&5 |
---|
[2189fb] | 1914 | ac_lib_var=`echo singcf'_'atof | sed 'y%./+-%__p_%'` |
---|
[6afd7c] | 1915 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1916 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1917 | else |
---|
| 1918 | ac_save_LIBS="$LIBS" |
---|
| 1919 | LIBS="-lsingcf $LIBS" |
---|
| 1920 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 1921 | #line 1922 "configure" |
---|
[6afd7c] | 1922 | #include "confdefs.h" |
---|
| 1923 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
[2189fb] | 1924 | /* We use char because int might match the return type of a gcc2 |
---|
| 1925 | builtin and then its argument prototype would still apply. */ |
---|
[3fdf16] | 1926 | char atof(); |
---|
[6afd7c] | 1927 | |
---|
[2189fb] | 1928 | int main() { |
---|
[3fdf16] | 1929 | atof() |
---|
[6afd7c] | 1930 | ; return 0; } |
---|
| 1931 | EOF |
---|
[4d7834] | 1932 | if { (eval echo configure:1933: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[6afd7c] | 1933 | rm -rf conftest* |
---|
| 1934 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1935 | else |
---|
[2189fb] | 1936 | echo "configure: failed program was:" >&5 |
---|
| 1937 | cat conftest.$ac_ext >&5 |
---|
[6afd7c] | 1938 | rm -rf conftest* |
---|
| 1939 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1940 | fi |
---|
| 1941 | rm -f conftest* |
---|
| 1942 | LIBS="$ac_save_LIBS" |
---|
| 1943 | |
---|
| 1944 | fi |
---|
| 1945 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1946 | echo "$ac_t""yes" 1>&6 |
---|
[2189fb] | 1947 | ac_tr_lib=HAVE_LIB`echo singcf | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
| 1948 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
[6afd7c] | 1949 | cat >> confdefs.h <<EOF |
---|
| 1950 | #define $ac_tr_lib 1 |
---|
| 1951 | EOF |
---|
| 1952 | |
---|
| 1953 | LIBS="-lsingcf $LIBS" |
---|
| 1954 | |
---|
| 1955 | else |
---|
| 1956 | echo "$ac_t""no" 1>&6 |
---|
| 1957 | fi |
---|
| 1958 | |
---|
[2189fb] | 1959 | echo $ac_n "checking for atof in -lsingfac""... $ac_c" 1>&6 |
---|
[4d7834] | 1960 | echo "configure:1961: checking for atof in -lsingfac" >&5 |
---|
[2189fb] | 1961 | ac_lib_var=`echo singfac'_'atof | sed 'y%./+-%__p_%'` |
---|
[6afd7c] | 1962 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 1963 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 1964 | else |
---|
| 1965 | ac_save_LIBS="$LIBS" |
---|
| 1966 | LIBS="-lsingfac $LIBS" |
---|
| 1967 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 1968 | #line 1969 "configure" |
---|
[6afd7c] | 1969 | #include "confdefs.h" |
---|
| 1970 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
[2189fb] | 1971 | /* We use char because int might match the return type of a gcc2 |
---|
| 1972 | builtin and then its argument prototype would still apply. */ |
---|
[3fdf16] | 1973 | char atof(); |
---|
[6afd7c] | 1974 | |
---|
[2189fb] | 1975 | int main() { |
---|
[3fdf16] | 1976 | atof() |
---|
[6afd7c] | 1977 | ; return 0; } |
---|
| 1978 | EOF |
---|
[4d7834] | 1979 | if { (eval echo configure:1980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[6afd7c] | 1980 | rm -rf conftest* |
---|
| 1981 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 1982 | else |
---|
[2189fb] | 1983 | echo "configure: failed program was:" >&5 |
---|
| 1984 | cat conftest.$ac_ext >&5 |
---|
[6afd7c] | 1985 | rm -rf conftest* |
---|
| 1986 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 1987 | fi |
---|
| 1988 | rm -f conftest* |
---|
| 1989 | LIBS="$ac_save_LIBS" |
---|
| 1990 | |
---|
| 1991 | fi |
---|
| 1992 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 1993 | echo "$ac_t""yes" 1>&6 |
---|
[2189fb] | 1994 | ac_tr_lib=HAVE_LIB`echo singfac | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
| 1995 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
[6afd7c] | 1996 | cat >> confdefs.h <<EOF |
---|
| 1997 | #define $ac_tr_lib 1 |
---|
| 1998 | EOF |
---|
| 1999 | |
---|
| 2000 | LIBS="-lsingfac $LIBS" |
---|
| 2001 | |
---|
| 2002 | else |
---|
| 2003 | echo "$ac_t""no" 1>&6 |
---|
| 2004 | fi |
---|
| 2005 | |
---|
[c232af] | 2006 | echo $ac_n "checking for omTestAddr in -lomalloc""... $ac_c" 1>&6 |
---|
[4d7834] | 2007 | echo "configure:2008: checking for omTestAddr in -lomalloc" >&5 |
---|
[c232af] | 2008 | ac_lib_var=`echo omalloc'_'omTestAddr | sed 'y%./+-%__p_%'` |
---|
| 2009 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 2010 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 2011 | else |
---|
| 2012 | ac_save_LIBS="$LIBS" |
---|
| 2013 | LIBS="-lomalloc $LIBS" |
---|
| 2014 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 2015 | #line 2016 "configure" |
---|
[c232af] | 2016 | #include "confdefs.h" |
---|
| 2017 | /* Override any gcc2 internal prototype to avoid an error. */ |
---|
| 2018 | /* We use char because int might match the return type of a gcc2 |
---|
| 2019 | builtin and then its argument prototype would still apply. */ |
---|
| 2020 | char omTestAddr(); |
---|
| 2021 | |
---|
| 2022 | int main() { |
---|
| 2023 | omTestAddr() |
---|
| 2024 | ; return 0; } |
---|
| 2025 | EOF |
---|
[4d7834] | 2026 | if { (eval echo configure:2027: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[c232af] | 2027 | rm -rf conftest* |
---|
| 2028 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 2029 | else |
---|
| 2030 | echo "configure: failed program was:" >&5 |
---|
| 2031 | cat conftest.$ac_ext >&5 |
---|
| 2032 | rm -rf conftest* |
---|
| 2033 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 2034 | fi |
---|
| 2035 | rm -f conftest* |
---|
| 2036 | LIBS="$ac_save_LIBS" |
---|
| 2037 | |
---|
| 2038 | fi |
---|
| 2039 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 2040 | echo "$ac_t""yes" 1>&6 |
---|
| 2041 | ac_tr_lib=HAVE_LIB`echo omalloc | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
| 2042 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
| 2043 | cat >> confdefs.h <<EOF |
---|
| 2044 | #define $ac_tr_lib 1 |
---|
| 2045 | EOF |
---|
| 2046 | |
---|
| 2047 | LIBS="-lomalloc $LIBS" |
---|
| 2048 | |
---|
| 2049 | else |
---|
| 2050 | echo "$ac_t""no" 1>&6 |
---|
| 2051 | fi |
---|
| 2052 | |
---|
| 2053 | echo $ac_n "checking for main in -lomalloc_ndebug""... $ac_c" 1>&6 |
---|
[4d7834] | 2054 | echo "configure:2055: checking for main in -lomalloc_ndebug" >&5 |
---|
[c232af] | 2055 | ac_lib_var=`echo omalloc_ndebug'_'main | sed 'y%./+-%__p_%'` |
---|
| 2056 | if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then |
---|
| 2057 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 2058 | else |
---|
| 2059 | ac_save_LIBS="$LIBS" |
---|
| 2060 | LIBS="-lomalloc_ndebug $LIBS" |
---|
| 2061 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 2062 | #line 2063 "configure" |
---|
[c232af] | 2063 | #include "confdefs.h" |
---|
| 2064 | |
---|
| 2065 | int main() { |
---|
| 2066 | main() |
---|
| 2067 | ; return 0; } |
---|
| 2068 | EOF |
---|
[4d7834] | 2069 | if { (eval echo configure:2070: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then |
---|
[c232af] | 2070 | rm -rf conftest* |
---|
| 2071 | eval "ac_cv_lib_$ac_lib_var=yes" |
---|
| 2072 | else |
---|
| 2073 | echo "configure: failed program was:" >&5 |
---|
| 2074 | cat conftest.$ac_ext >&5 |
---|
| 2075 | rm -rf conftest* |
---|
| 2076 | eval "ac_cv_lib_$ac_lib_var=no" |
---|
| 2077 | fi |
---|
| 2078 | rm -f conftest* |
---|
| 2079 | LIBS="$ac_save_LIBS" |
---|
| 2080 | |
---|
| 2081 | fi |
---|
| 2082 | if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then |
---|
| 2083 | echo "$ac_t""yes" 1>&6 |
---|
| 2084 | ac_tr_lib=HAVE_LIB`echo omalloc_ndebug | sed -e 's/[^a-zA-Z0-9_]/_/g' \ |
---|
| 2085 | -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'` |
---|
| 2086 | cat >> confdefs.h <<EOF |
---|
| 2087 | #define $ac_tr_lib 1 |
---|
| 2088 | EOF |
---|
| 2089 | |
---|
| 2090 | LIBS="-lomalloc_ndebug $LIBS" |
---|
| 2091 | |
---|
| 2092 | else |
---|
| 2093 | echo "$ac_t""no" 1>&6 |
---|
| 2094 | fi |
---|
| 2095 | |
---|
[6afd7c] | 2096 | |
---|
[c232af] | 2097 | for ac_hdr in gmp.h smallgmp.h MP.h MPT.h factory.h factor.h omalloc.h |
---|
[6afd7c] | 2098 | do |
---|
[2189fb] | 2099 | ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'` |
---|
[6afd7c] | 2100 | echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6 |
---|
[4d7834] | 2101 | echo "configure:2102: checking for $ac_hdr" >&5 |
---|
[6afd7c] | 2102 | if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then |
---|
| 2103 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 2104 | else |
---|
| 2105 | cat > conftest.$ac_ext <<EOF |
---|
[4d7834] | 2106 | #line 2107 "configure" |
---|
[6afd7c] | 2107 | #include "confdefs.h" |
---|
| 2108 | #include <$ac_hdr> |
---|
| 2109 | EOF |
---|
| 2110 | ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out" |
---|
[4d7834] | 2111 | { (eval echo configure:2112: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } |
---|
[aac46c] | 2112 | ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"` |
---|
[6afd7c] | 2113 | if test -z "$ac_err"; then |
---|
| 2114 | rm -rf conftest* |
---|
| 2115 | eval "ac_cv_header_$ac_safe=yes" |
---|
| 2116 | else |
---|
| 2117 | echo "$ac_err" >&5 |
---|
[2189fb] | 2118 | echo "configure: failed program was:" >&5 |
---|
| 2119 | cat conftest.$ac_ext >&5 |
---|
[6afd7c] | 2120 | rm -rf conftest* |
---|
| 2121 | eval "ac_cv_header_$ac_safe=no" |
---|
| 2122 | fi |
---|
| 2123 | rm -f conftest* |
---|
| 2124 | fi |
---|
| 2125 | if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then |
---|
| 2126 | echo "$ac_t""yes" 1>&6 |
---|
[2189fb] | 2127 | ac_tr_hdr=HAVE_`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'` |
---|
[6afd7c] | 2128 | cat >> confdefs.h <<EOF |
---|
| 2129 | #define $ac_tr_hdr 1 |
---|
| 2130 | EOF |
---|
| 2131 | |
---|
| 2132 | else |
---|
| 2133 | echo "$ac_t""no" 1>&6 |
---|
| 2134 | fi |
---|
| 2135 | done |
---|
| 2136 | |
---|
| 2137 | |
---|
[a70441f] | 2138 | if test "$ac_cv_lib_gmp_main" = yes && \ |
---|
[6afd7c] | 2139 | test "$ac_cv_header_gmp_h" = yes; then |
---|
[8c4748] | 2140 | ac_gmp_ok=yes |
---|
[6afd7c] | 2141 | fi |
---|
| 2142 | |
---|
[78364c] | 2143 | if test "$ac_cv_lib_smallgmp_mpz_init" = yes && \ |
---|
| 2144 | test "$ac_cv_header_smallgmp_h" = yes && \ |
---|
| 2145 | test "$ac_cv_header_gmp_h" = yes; then |
---|
[8c4748] | 2146 | ac_smallgmp_ok=yes |
---|
[78364c] | 2147 | fi |
---|
| 2148 | |
---|
[6afd7c] | 2149 | if test "$ac_cv_lib_MP_IMP_PutGmpInt" = yes && \ |
---|
| 2150 | test "$ac_cv_lib_MPT_MPT_GetTree" && \ |
---|
| 2151 | test "$ac_cv_header_MP_h" = yes && \ |
---|
| 2152 | test "$ac_cv_header_MPT_h" = yes; then |
---|
| 2153 | ac_MP_ok=yes |
---|
| 2154 | fi |
---|
| 2155 | |
---|
[4c001a] | 2156 | if test "$ac_cv_lib_singcf_atof" = yes && \ |
---|
[6afd7c] | 2157 | test "$ac_cv_header_factory_h" = yes; then |
---|
| 2158 | ac_factory_ok=yes |
---|
| 2159 | fi |
---|
| 2160 | |
---|
[4c001a] | 2161 | if test "$ac_cv_lib_singfac_atof" = yes && \ |
---|
[6afd7c] | 2162 | test "$ac_cv_header_factor_h" = yes; then |
---|
| 2163 | ac_libfac_ok=yes |
---|
| 2164 | fi |
---|
| 2165 | |
---|
[c232af] | 2166 | if test "$ac_cv_lib_omalloc_omTestAddr" = yes && \ |
---|
| 2167 | test "$ac_cv_lib_omalloc_ndebug_main" = yes && \ |
---|
| 2168 | test "$ac_cv_header_omalloc_c" = yes && \ |
---|
| 2169 | test "$ac_cv_header_omalloc_h" = yes; then |
---|
| 2170 | ac_cv_omalloc_ok=yes |
---|
| 2171 | fi |
---|
[6afd7c] | 2172 | |
---|
[f36635] | 2173 | # Check whether --with-tmpdir or --without-tmpdir was given. |
---|
| 2174 | if test "${with_tmpdir+set}" = set; then |
---|
| 2175 | withval="$with_tmpdir" |
---|
| 2176 | : |
---|
| 2177 | fi |
---|
| 2178 | |
---|
[78364c] | 2179 | # Check whether --enable-smallgmp or --disable-smallgmp was given. |
---|
| 2180 | if test "${enable_smallgmp+set}" = set; then |
---|
| 2181 | enableval="$enable_smallgmp" |
---|
[6afd7c] | 2182 | : |
---|
| 2183 | fi |
---|
| 2184 | |
---|
[c232af] | 2185 | # Check whether --enable-omalloc or --disable-omalloc was given. |
---|
| 2186 | if test "${enable_omalloc+set}" = set; then |
---|
| 2187 | enableval="$enable_omalloc" |
---|
| 2188 | : |
---|
| 2189 | fi |
---|
| 2190 | |
---|
[64c6d1] | 2191 | # Check whether --enable-gmp or --disable-gmp was given. |
---|
| 2192 | if test "${enable_gmp+set}" = set; then |
---|
| 2193 | enableval="$enable_gmp" |
---|
| 2194 | : |
---|
| 2195 | fi |
---|
| 2196 | |
---|
[6afd7c] | 2197 | # Check whether --enable-MP or --disable-MP was given. |
---|
| 2198 | if test "${enable_MP+set}" = set; then |
---|
| 2199 | enableval="$enable_MP" |
---|
| 2200 | : |
---|
| 2201 | fi |
---|
| 2202 | |
---|
| 2203 | # Check whether --enable-factory or --disable-factory was given. |
---|
| 2204 | if test "${enable_factory+set}" = set; then |
---|
| 2205 | enableval="$enable_factory" |
---|
| 2206 | : |
---|
| 2207 | fi |
---|
| 2208 | |
---|
| 2209 | # Check whether --enable-libfac or --disable-libfac was given. |
---|
| 2210 | if test "${enable_libfac+set}" = set; then |
---|
| 2211 | enableval="$enable_libfac" |
---|
| 2212 | : |
---|
| 2213 | fi |
---|
| 2214 | |
---|
[a04715] | 2215 | # Check whether --enable-sgroup or --disable-sgroup was given. |
---|
| 2216 | if test "${enable_sgroup+set}" = set; then |
---|
| 2217 | enableval="$enable_sgroup" |
---|
| 2218 | : |
---|
| 2219 | fi |
---|
| 2220 | |
---|
[6afd7c] | 2221 | # Check whether --enable-Singular or --disable-Singular was given. |
---|
| 2222 | if test "${enable_Singular+set}" = set; then |
---|
| 2223 | enableval="$enable_Singular" |
---|
| 2224 | : |
---|
| 2225 | fi |
---|
| 2226 | |
---|
[181d6e] | 2227 | # Check whether --enable-IntegerProgramming or --disable-IntegerProgramming was given. |
---|
| 2228 | if test "${enable_IntegerProgramming+set}" = set; then |
---|
| 2229 | enableval="$enable_IntegerProgramming" |
---|
| 2230 | : |
---|
| 2231 | fi |
---|
| 2232 | |
---|
[08b7a76] | 2233 | # Check whether --enable-Plural or --disable-Plural was given. |
---|
| 2234 | if test "${enable_Plural+set}" = set; then |
---|
| 2235 | enableval="$enable_Plural" |
---|
| 2236 | : |
---|
| 2237 | fi |
---|
| 2238 | |
---|
[f36635] | 2239 | # Check whether --enable-Texinfo or --disable-Texinfo was given. |
---|
| 2240 | if test "${enable_Texinfo+set}" = set; then |
---|
| 2241 | enableval="$enable_Texinfo" |
---|
| 2242 | : |
---|
| 2243 | fi |
---|
| 2244 | |
---|
[aac46c] | 2245 | # Check whether --enable-Texi2html or --disable-Texi2html was given. |
---|
| 2246 | if test "${enable_Texi2html+set}" = set; then |
---|
| 2247 | enableval="$enable_Texi2html" |
---|
| 2248 | : |
---|
| 2249 | fi |
---|
| 2250 | |
---|
| 2251 | # Check whether --enable-doc or --disable-doc was given. |
---|
| 2252 | if test "${enable_doc+set}" = set; then |
---|
| 2253 | enableval="$enable_doc" |
---|
| 2254 | : |
---|
| 2255 | fi |
---|
| 2256 | |
---|
| 2257 | # Check whether --enable-emacs or --disable-emacs was given. |
---|
| 2258 | if test "${enable_emacs+set}" = set; then |
---|
| 2259 | enableval="$enable_emacs" |
---|
| 2260 | : |
---|
| 2261 | fi |
---|
| 2262 | |
---|
[78364c] | 2263 | # Check whether --with-MP or --without-MP was given. |
---|
| 2264 | if test "${with_MP+set}" = set; then |
---|
| 2265 | withval="$with_MP" |
---|
| 2266 | : |
---|
[6afd7c] | 2267 | fi |
---|
[78364c] | 2268 | |
---|
| 2269 | # Check whether --with-factory or --without-factory was given. |
---|
| 2270 | if test "${with_factory+set}" = set; then |
---|
| 2271 | withval="$with_factory" |
---|
| 2272 | : |
---|
| 2273 | fi |
---|
| 2274 | |
---|
| 2275 | # Check whether --with-libfac or --without-libfac was given. |
---|
| 2276 | if test "${with_libfac+set}" = set; then |
---|
| 2277 | withval="$with_libfac" |
---|
| 2278 | : |
---|
| 2279 | fi |
---|
| 2280 | |
---|
| 2281 | # Check whether --with-gmp or --without-gmp was given. |
---|
| 2282 | if test "${with_gmp+set}" = set; then |
---|
| 2283 | withval="$with_gmp" |
---|
| 2284 | : |
---|
| 2285 | fi |
---|
| 2286 | |
---|
| 2287 | |
---|
[f36635] | 2288 | echo $ac_n "checking which tmp dir to use""... $ac_c" 1>&6 |
---|
[4d7834] | 2289 | echo "configure:2290: checking which tmp dir to use" >&5 |
---|
[f36635] | 2290 | if test "${with_tmpdir+set}" = set && test -d ${with_tmpdir}; then |
---|
| 2291 | if (echo "${with_tmpdir}" | egrep "\." >/dev/null 2>&1) |
---|
| 2292 | then |
---|
[8f659dc] | 2293 | TMP_DIR="${pwd}/tmp" |
---|
[f36635] | 2294 | else |
---|
| 2295 | TMP_DIR=${with_tmpdir} |
---|
| 2296 | fi |
---|
| 2297 | else |
---|
[8f659dc] | 2298 | TMP_DIR="${pwd}/tmp" |
---|
[f36635] | 2299 | fi |
---|
| 2300 | echo "$ac_t""$TMP_DIR" 1>&6 |
---|
| 2301 | |
---|
| 2302 | |
---|
[c232af] | 2303 | echo $ac_n "checking whether to configure and build omalloc""... $ac_c" 1>&6 |
---|
[4d7834] | 2304 | echo "configure:2305: checking whether to configure and build omalloc" >&5 |
---|
[c232af] | 2305 | if test "${enable_omalloc+set}" != set; then |
---|
| 2306 | if test "$ac_cv_omalloc_ok" = yes; then |
---|
| 2307 | enable_omalloc=no |
---|
| 2308 | fi |
---|
| 2309 | enable_omalloc_not_set=yes |
---|
| 2310 | fi |
---|
| 2311 | if test "$enable_omalloc" = no; then |
---|
| 2312 | if test "$ac_cv_omalloc_ok" != yes; then |
---|
| 2313 | { echo "configure: error: can not build without omalloc" 1>&2; exit 1; } |
---|
| 2314 | fi |
---|
| 2315 | echo "$ac_t""no" 1>&6 |
---|
| 2316 | else |
---|
| 2317 | if test -d omalloc; then |
---|
| 2318 | echo "$ac_t""yes" 1>&6 |
---|
| 2319 | if test "$enable_omalloc_not_set" = yes; then |
---|
[efbf54] | 2320 | ac_configure_args="$ac_configure_args --enable-omalloc --with-external-config_h='$pwd/Singular/omSingularConfig.h' --with-track-custom" |
---|
[c232af] | 2321 | fi |
---|
| 2322 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS omalloc" |
---|
[995ba8] | 2323 | if test "${with_malloc+set}" != set; then |
---|
| 2324 | case "$ac_cv_singuname" in |
---|
| 2325 | # under windows, it is best to use the provided malloc |
---|
| 2326 | ix86-Win*) |
---|
| 2327 | with_malloc=system |
---|
| 2328 | ac_configure_args="$ac_configure_args --with-malloc=system" |
---|
| 2329 | ;; |
---|
[26ec6d] | 2330 | PowerMacintosh-darwin*) |
---|
| 2331 | with_malloc=system |
---|
| 2332 | ac_configure_args="$ac_configure_args --with-malloc=system" |
---|
| 2333 | ;; |
---|
[995ba8] | 2334 | esac |
---|
| 2335 | fi |
---|
[c232af] | 2336 | else |
---|
| 2337 | { echo "configure: error: need omalloc subdir" 1>&2; exit 1; } |
---|
| 2338 | fi |
---|
| 2339 | fi |
---|
[f36635] | 2340 | |
---|
[64c6d1] | 2341 | echo $ac_n "checking whether to configure and build gmp lib""... $ac_c" 1>&6 |
---|
[4d7834] | 2342 | echo "configure:2343: checking whether to configure and build gmp lib" >&5 |
---|
[64c6d1] | 2343 | if test "$enable_gmp" != yes && test "$enable_gmp" != no; then |
---|
| 2344 | if test "$ac_gmp_ok" != yes && test -d gmp; then |
---|
| 2345 | echo "$ac_t""yes" 1>&6 |
---|
| 2346 | enable_gmp=yes |
---|
| 2347 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" |
---|
| 2348 | ac_configure_args="$ac_configure_args --enable-gmp" |
---|
[64b116] | 2349 | enable_gmp=yes |
---|
[b920d1] | 2350 | # This we used to need for our patched version of gmp 2.x |
---|
[df723f] | 2351 | # OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in" |
---|
[64c6d1] | 2352 | else |
---|
| 2353 | echo "$ac_t""no" 1>&6 |
---|
| 2354 | enable_gmp=no |
---|
| 2355 | fi |
---|
| 2356 | elif test "$enable_gmp" = yes; then |
---|
| 2357 | if test ! -d gmp; then |
---|
| 2358 | echo "$ac_t""no" 1>&6 |
---|
| 2359 | { echo "configure: error: Can not find gmp subdir" 1>&2; exit 1; } |
---|
| 2360 | else |
---|
| 2361 | echo "$ac_t""yes" 1>&6 |
---|
| 2362 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS gmp" |
---|
[b920d1] | 2363 | # This we used to need for our patched version of gmp 2.x |
---|
[5e5db8] | 2364 | # OUTPUT_MAKEFILES="$OUTPUT_MAKEFILES gmp/Makefile.in" |
---|
[64c6d1] | 2365 | fi |
---|
| 2366 | else |
---|
| 2367 | echo "$ac_t""no" 1>&6 |
---|
| 2368 | fi |
---|
| 2369 | |
---|
[03f074] | 2370 | if test "$enable_gmp" = yes; then |
---|
[b920d1] | 2371 | # for gmp-3.0 to work for all ix86 processors, set generic target |
---|
| 2372 | if test "$target" = NONE; then |
---|
| 2373 | case "$ac_cv_singuname" in |
---|
| 2374 | ix86*) |
---|
| 2375 | gmp_target=`./config.guess | sed 's/^\w*-/i386-/'` |
---|
| 2376 | ac_configure_args="$ac_configure_args --target=$gmp_target" |
---|
| 2377 | ;; |
---|
| 2378 | esac |
---|
| 2379 | fi |
---|
[03f074] | 2380 | # furthermore, disable building of dynamic libraries, for we want to |
---|
| 2381 | # link against the static ones |
---|
| 2382 | if test "$enable_shared" != no; then |
---|
| 2383 | ac_configure_args="$ac_configure_args --disable-shared" |
---|
| 2384 | fi |
---|
[b920d1] | 2385 | fi |
---|
| 2386 | |
---|
[78364c] | 2387 | echo $ac_n "checking whether to configure and build smallgmp lib""... $ac_c" 1>&6 |
---|
[4d7834] | 2388 | echo "configure:2389: checking whether to configure and build smallgmp lib" >&5 |
---|
[78364c] | 2389 | if test "$enable_smallgmp" != yes && test "$enable_smallgmp" != no; then |
---|
[64c6d1] | 2390 | if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ |
---|
| 2391 | test "$enable_gmp" != yes && test -d smallgmp; then |
---|
| 2392 | echo "$ac_t""yes" 1>&6 |
---|
[78364c] | 2393 | enable_smallgmp=yes |
---|
[64c6d1] | 2394 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp" |
---|
| 2395 | ac_configure_args="$ac_configure_args --enable-smallgmp --enable-gmp" |
---|
[64b116] | 2396 | enable_gmp=yes |
---|
[dc32d42] | 2397 | else |
---|
[64c6d1] | 2398 | echo "$ac_t""no" 1>&6 |
---|
[78364c] | 2399 | enable_smallgmp=no |
---|
[dc32d42] | 2400 | fi |
---|
[64c6d1] | 2401 | elif test "$enable_smallgmp" = yes; then |
---|
| 2402 | if test ! -d smallgmp; then |
---|
| 2403 | echo "$ac_t""no" 1>&6 |
---|
| 2404 | { echo "configure: error: Can not find smallgmp subdir" 1>&2; exit 1; } |
---|
| 2405 | else |
---|
| 2406 | echo "$ac_t""yes" 1>&6 |
---|
| 2407 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS smallgmp" |
---|
| 2408 | if test "$ac_gmp_ok" != yes && test "$enable_gmp" != yes; then |
---|
| 2409 | ac_configure_args="$ac_configure_args --enable-gmp" |
---|
[64b116] | 2410 | enable_gmp=yes |
---|
[64c6d1] | 2411 | fi |
---|
[6afd7c] | 2412 | fi |
---|
[64c6d1] | 2413 | else |
---|
| 2414 | echo "$ac_t""${enable_smallgmp}" 1>&6 |
---|
[78364c] | 2415 | fi |
---|
[64c6d1] | 2416 | |
---|
| 2417 | # Check whether we have at least one of smallgmp or gmp |
---|
| 2418 | if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && \ |
---|
| 2419 | test "$enable_smallgmp" != yes && test "$enable_gmp" != yes; then |
---|
| 2420 | { echo "configure: error: can neither find nor built gmp or smallgmp" 1>&2; exit 1; } |
---|
| 2421 | fi |
---|
| 2422 | |
---|
| 2423 | # Check whether we need to cheat subsequent configures with --enable-gmp |
---|
[64b116] | 2424 | if test "$ac_smallgmp_ok" != yes && test "$ac_gmp_ok" != yes && test "$enable_gmp" != yes; then |
---|
[78364c] | 2425 | ac_configure_args="$ac_configure_args --enable-gmp" |
---|
[6afd7c] | 2426 | fi |
---|
| 2427 | |
---|
| 2428 | echo $ac_n "checking whether to configure and build MP lib""... $ac_c" 1>&6 |
---|
[4d7834] | 2429 | echo "configure:2430: checking whether to configure and build MP lib" >&5 |
---|
[6afd7c] | 2430 | if test "$enable_MP" != yes && test "$enable_MP" != no; then |
---|
[64c6d1] | 2431 | if test "$with_MP" != no && test "$ac_MP_ok" != yes && test -d MP && \ |
---|
| 2432 | (test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes); then |
---|
| 2433 | echo "$ac_t""yes" 1>&6 |
---|
[6afd7c] | 2434 | enable_MP=yes |
---|
[64c6d1] | 2435 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" |
---|
| 2436 | ac_configure_args="$ac_configure_args --enable-MP" |
---|
[6afd7c] | 2437 | else |
---|
[64c6d1] | 2438 | echo "$ac_t""no" 1>&6 |
---|
[6afd7c] | 2439 | enable_MP=no |
---|
| 2440 | fi |
---|
[64c6d1] | 2441 | elif test "$enable_MP" = yes; then |
---|
| 2442 | if test ! -d MP; then |
---|
| 2443 | echo "$ac_t""no" 1>&6 |
---|
| 2444 | { echo "configure: error: can not build MP without MP directory" 1>&2; exit 1; } |
---|
| 2445 | fi |
---|
| 2446 | if test "$enable_gmp" = yes || test "$ac_gmp_ok" = yes; then |
---|
[dc32d42] | 2447 | echo "$ac_t""yes" 1>&6 |
---|
| 2448 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS MP" |
---|
| 2449 | else |
---|
| 2450 | echo "$ac_t""no" 1>&6 |
---|
[64c6d1] | 2451 | { echo "configure: error: can not build MP without gmp" 1>&2; exit 1; } |
---|
[dc32d42] | 2452 | fi |
---|
[6afd7c] | 2453 | else |
---|
| 2454 | echo "$ac_t""no" 1>&6 |
---|
| 2455 | fi |
---|
[c232af] | 2456 | |
---|
[70afd2] | 2457 | # need MP code to be compiled with -fPIC, should not hurt anybody else |
---|
| 2458 | if test "$enable_MP" = yes && test "${with_extra_cflags+set}" != set; then |
---|
| 2459 | ac_configure_args="$ac_configure_args --with-extra_cflags=-fPIC" |
---|
| 2460 | fi |
---|
| 2461 | |
---|
[4d7834] | 2462 | echo $ac_n "checking whether to configure and build NTL lib""... $ac_c" 1>&6 |
---|
| 2463 | echo "configure:2464: checking whether to configure and build NTL lib" >&5 |
---|
| 2464 | if test "$enable_NTL" != yes && test "$enable_NTL" != no; then |
---|
| 2465 | if test "$with_NTL" != no && test "$ac_NTL_ok" != yes && \ |
---|
| 2466 | test -d ntl; then |
---|
| 2467 | enable_NTL=yes |
---|
| 2468 | echo "$ac_t""yes" 1>&6 |
---|
| 2469 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl" |
---|
| 2470 | ac_configure_args="$ac_configure_args --enable-NTL" |
---|
| 2471 | else |
---|
| 2472 | enable_NTL=no |
---|
| 2473 | echo "$ac_t""no" 1>&6 |
---|
| 2474 | fi |
---|
| 2475 | elif test "$enable_NTL" = yes; then |
---|
| 2476 | if test -d ntl; then |
---|
| 2477 | echo "$ac_t""yes" 1>&6 |
---|
| 2478 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS ntl" |
---|
| 2479 | else |
---|
| 2480 | echo "$ac_t""no" 1>&6 |
---|
| 2481 | { echo "configure: error: can not build NTL without ntl directory" 1>&2; exit 1; } |
---|
| 2482 | fi |
---|
| 2483 | else |
---|
| 2484 | echo "$ac_t""no" 1>&6 |
---|
| 2485 | fi |
---|
[70afd2] | 2486 | |
---|
[6afd7c] | 2487 | echo $ac_n "checking whether to configure and build factory lib""... $ac_c" 1>&6 |
---|
[4d7834] | 2488 | echo "configure:2489: checking whether to configure and build factory lib" >&5 |
---|
[6afd7c] | 2489 | if test "$enable_factory" != yes && test "$enable_factory" != no; then |
---|
[64c6d1] | 2490 | if test "$with_factory" != no && test "$ac_factory_ok" != yes && \ |
---|
| 2491 | test -d factory; then |
---|
[6afd7c] | 2492 | enable_factory=yes |
---|
[64c6d1] | 2493 | echo "$ac_t""yes" 1>&6 |
---|
| 2494 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" |
---|
| 2495 | ac_configure_args="$ac_configure_args --enable-factory" |
---|
[6afd7c] | 2496 | else |
---|
| 2497 | enable_factory=no |
---|
[64c6d1] | 2498 | echo "$ac_t""no" 1>&6 |
---|
[6afd7c] | 2499 | fi |
---|
[64c6d1] | 2500 | elif test "$enable_factory" = yes; then |
---|
| 2501 | if test -d factory; then |
---|
[78364c] | 2502 | echo "$ac_t""yes" 1>&6 |
---|
| 2503 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS factory" |
---|
[dc32d42] | 2504 | else |
---|
| 2505 | echo "$ac_t""no" 1>&6 |
---|
[64c6d1] | 2506 | { echo "configure: error: can not build factory without factory directory" 1>&2; exit 1; } |
---|
[dc32d42] | 2507 | fi |
---|
[6afd7c] | 2508 | else |
---|
| 2509 | echo "$ac_t""no" 1>&6 |
---|
| 2510 | fi |
---|
| 2511 | |
---|
| 2512 | echo $ac_n "checking whether to configure and build libfac lib""... $ac_c" 1>&6 |
---|
[4d7834] | 2513 | echo "configure:2514: checking whether to configure and build libfac lib" >&5 |
---|
[6afd7c] | 2514 | if test "$enable_libfac" != yes && test "$enable_libfac" != no; then |
---|
[64c6d1] | 2515 | if test "$with_libfac" != no && test "$ac_libfac_ok" != yes && \ |
---|
| 2516 | test -d libfac && \ |
---|
| 2517 | (test "$ac_factory_ok" = yes || test "$enable_factory" = yes); then |
---|
[6afd7c] | 2518 | enable_libfac=yes |
---|
[64c6d1] | 2519 | echo "$ac_t""yes" 1>&6 |
---|
| 2520 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" |
---|
| 2521 | ac_configure_args="$ac_configure_args --enable-libfac" |
---|
[6afd7c] | 2522 | else |
---|
| 2523 | enable_libfac=no |
---|
[64c6d1] | 2524 | echo "$ac_t""no" 1>&6 |
---|
| 2525 | fi |
---|
| 2526 | elif test "$enable_libfac" = yes; then |
---|
| 2527 | if test ! -d libfac; then |
---|
| 2528 | echo "$ac_t""no" 1>&6 |
---|
| 2529 | { echo "configure: error: can not build libfac without libfac directory" 1>&2; exit 1; } |
---|
[6afd7c] | 2530 | fi |
---|
[dc32d42] | 2531 | if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then |
---|
[64c6d1] | 2532 | echo "$ac_t""yes" 1>&6 |
---|
| 2533 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS libfac" |
---|
[dc32d42] | 2534 | else |
---|
| 2535 | echo "$ac_t""no" 1>&6 |
---|
[64c6d1] | 2536 | { echo "configure: error: Can not build libfac without factory" 1>&2; exit 1; } |
---|
[dc32d42] | 2537 | fi |
---|
[6afd7c] | 2538 | else |
---|
| 2539 | echo "$ac_t""no" 1>&6 |
---|
| 2540 | fi |
---|
| 2541 | |
---|
[64c6d1] | 2542 | echo $ac_n "checking whether to configure and build sgroup lib""... $ac_c" 1>&6 |
---|
[4d7834] | 2543 | echo "configure:2544: checking whether to configure and build sgroup lib" >&5 |
---|
[91ee87] | 2544 | if test "$enable_sgroup" = yes; then |
---|
[64c6d1] | 2545 | if test ! -d sgroup; then |
---|
| 2546 | echo "$ac_t""no" 1>&6 |
---|
| 2547 | { echo "configure: error: can not build sgroup without sgroup directory" 1>&2; exit 1; } |
---|
| 2548 | fi |
---|
| 2549 | if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then |
---|
| 2550 | echo "$ac_t""yes" 1>&6 |
---|
| 2551 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS sgroup" |
---|
| 2552 | else |
---|
| 2553 | echo "$ac_t""no" 1>&6 |
---|
| 2554 | { echo "configure: error: Can not build sgroup without MP" 1>&2; exit 1; } |
---|
[a04715] | 2555 | fi |
---|
| 2556 | else |
---|
| 2557 | echo "$ac_t""no" 1>&6 |
---|
| 2558 | fi |
---|
| 2559 | |
---|
[aac46c] | 2560 | BUILD_SUBDIRS="$CONFIG_SUBDIRS" |
---|
| 2561 | |
---|
[6afd7c] | 2562 | echo $ac_n "checking whether to configure and build Singular""... $ac_c" 1>&6 |
---|
[4d7834] | 2563 | echo "configure:2564: checking whether to configure and build Singular" >&5 |
---|
[6afd7c] | 2564 | if test "$enable_Singular" != yes && test "$enable_Singular" != no; then |
---|
[64c6d1] | 2565 | if test "$with_Singular" != no && test -d Singular; then |
---|
[6afd7c] | 2566 | enable_Singular=yes |
---|
[64c6d1] | 2567 | echo "$ac_t""yes" 1>&6 |
---|
| 2568 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" |
---|
[aac46c] | 2569 | BUILD_SUBDIRS="$BUILD_SUBDIRS Singular" |
---|
[64c6d1] | 2570 | ac_configure_args="$ac_configure_args --enable-Singular" |
---|
[6afd7c] | 2571 | else |
---|
| 2572 | enable_Singular=no |
---|
[64c6d1] | 2573 | echo "$ac_t""no" 1>&6 |
---|
| 2574 | fi |
---|
| 2575 | elif test "$enable_Singular" = yes; then |
---|
| 2576 | if test -d Singular; then |
---|
| 2577 | echo "$ac_t""yes" 1>&6 |
---|
| 2578 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS Singular" |
---|
[aac46c] | 2579 | BUILD_SUBDIRS="$BUILD_SUBDIRS Singular" |
---|
[64c6d1] | 2580 | else |
---|
| 2581 | echo "$ac_t""no" 1>&6 |
---|
| 2582 | { echo "configure: error: can not build Singular without Singular directory" 1>&2; exit 1; } |
---|
[6afd7c] | 2583 | fi |
---|
| 2584 | else |
---|
| 2585 | echo "$ac_t""no" 1>&6 |
---|
| 2586 | fi |
---|
| 2587 | |
---|
[181d6e] | 2588 | |
---|
| 2589 | # test if IntegerProgramming should be built: |
---|
| 2590 | |
---|
| 2591 | echo $ac_n "checking whether to build IntegerProgramming""... $ac_c" 1>&6 |
---|
[4d7834] | 2592 | echo "configure:2593: checking whether to build IntegerProgramming" >&5 |
---|
[181d6e] | 2593 | if test "$enable_IntegerProgramming" != no && test -d "IntegerProgramming"; then |
---|
| 2594 | BUILD_SUBDIRS="$BUILD_SUBDIRS IntegerProgramming" |
---|
| 2595 | echo "$ac_t""yes" 1>&6 |
---|
| 2596 | if test "$enable_IntegerProgramming" != yes; then |
---|
| 2597 | ac_configure_args="$ac_configure_args --enable-IntegerProgramming" |
---|
| 2598 | fi |
---|
| 2599 | else |
---|
| 2600 | echo "$ac_t""no" 1>&6 |
---|
| 2601 | fi |
---|
| 2602 | |
---|
[08b7a76] | 2603 | echo $ac_n "checking whether to build Plural""... $ac_c" 1>&6 |
---|
[4d7834] | 2604 | echo "configure:2605: checking whether to build Plural" >&5 |
---|
[bd63e0] | 2605 | if test "$enable_Plural" != no || test "$with_Plural" != no; then |
---|
[08b7a76] | 2606 | echo "$ac_t""yes" 1>&6 |
---|
| 2607 | if test "$enable_Plural" != yes; then |
---|
| 2608 | ac_configure_args="$ac_configure_args --enable-Plural" |
---|
| 2609 | fi |
---|
| 2610 | else |
---|
| 2611 | echo "$ac_t""no" 1>&6 |
---|
| 2612 | fi |
---|
| 2613 | |
---|
[181d6e] | 2614 | |
---|
[aac46c] | 2615 | echo $ac_n "checking whether to configure and build Texinfo""... $ac_c" 1>&6 |
---|
[bd63e0] | 2616 | echo "configure:2617: checking whether to configure and build Texinfo" >&5 |
---|
[aac46c] | 2617 | if test "$enable_Texinfo" != no && test -d Texinfo; then |
---|
| 2618 | echo "$ac_t""yes" 1>&6 |
---|
| 2619 | enable_texinfo=yes |
---|
| 2620 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS Texinfo" |
---|
| 2621 | BUILD_SUBDIRS="$BUILD_SUBDIRS Texinfo" |
---|
| 2622 | TEXI2DVI=${bindir}/texi2dvi |
---|
[181d6e] | 2623 | MAKEINFO="${bindir}/makeinfo" |
---|
[aac46c] | 2624 | TEXINDEX=${bindir}/texindex |
---|
| 2625 | |
---|
| 2626 | |
---|
| 2627 | |
---|
| 2628 | if test "$enable_Texinfo" != yes; then |
---|
| 2629 | ac_configure_args="$ac_configure_args --enable-Texinfo" |
---|
| 2630 | fi |
---|
| 2631 | else |
---|
| 2632 | echo "$ac_t""no" 1>&6 |
---|
| 2633 | echo "configure: warning: Building of doc might fail. Need Texinfo" 1>&2 |
---|
| 2634 | enable_texinfo=no |
---|
| 2635 | # Extract the first word of "makeinfo", so it can be a program name with args. |
---|
| 2636 | set dummy makeinfo; ac_word=$2 |
---|
| 2637 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[bd63e0] | 2638 | echo "configure:2639: checking for $ac_word" >&5 |
---|
[aac46c] | 2639 | if eval "test \"`echo '$''{'ac_cv_prog_MAKEINFO'+set}'`\" = set"; then |
---|
| 2640 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 2641 | else |
---|
| 2642 | if test -n "$MAKEINFO"; then |
---|
| 2643 | ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test. |
---|
| 2644 | else |
---|
| 2645 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 2646 | ac_dummy="$PATH" |
---|
| 2647 | for ac_dir in $ac_dummy; do |
---|
| 2648 | test -z "$ac_dir" && ac_dir=. |
---|
| 2649 | if test -f $ac_dir/$ac_word; then |
---|
| 2650 | ac_cv_prog_MAKEINFO="makeinfo" |
---|
| 2651 | break |
---|
| 2652 | fi |
---|
| 2653 | done |
---|
| 2654 | IFS="$ac_save_ifs" |
---|
| 2655 | test -z "$ac_cv_prog_MAKEINFO" && ac_cv_prog_MAKEINFO="${pwd}/warn_not_found.sh makeinfo" |
---|
| 2656 | fi |
---|
| 2657 | fi |
---|
| 2658 | MAKEINFO="$ac_cv_prog_MAKEINFO" |
---|
| 2659 | if test -n "$MAKEINFO"; then |
---|
| 2660 | echo "$ac_t""$MAKEINFO" 1>&6 |
---|
| 2661 | else |
---|
| 2662 | echo "$ac_t""no" 1>&6 |
---|
| 2663 | fi |
---|
| 2664 | |
---|
| 2665 | # Extract the first word of "texi2dvi", so it can be a program name with args. |
---|
| 2666 | set dummy texi2dvi; ac_word=$2 |
---|
| 2667 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[bd63e0] | 2668 | echo "configure:2669: checking for $ac_word" >&5 |
---|
[aac46c] | 2669 | if eval "test \"`echo '$''{'ac_cv_prog_TEXI2DVI'+set}'`\" = set"; then |
---|
| 2670 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 2671 | else |
---|
| 2672 | if test -n "$TEXI2DVI"; then |
---|
| 2673 | ac_cv_prog_TEXI2DVI="$TEXI2DVI" # Let the user override the test. |
---|
| 2674 | else |
---|
| 2675 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 2676 | ac_dummy="$PATH" |
---|
| 2677 | for ac_dir in $ac_dummy; do |
---|
| 2678 | test -z "$ac_dir" && ac_dir=. |
---|
| 2679 | if test -f $ac_dir/$ac_word; then |
---|
| 2680 | ac_cv_prog_TEXI2DVI="texi2dvi" |
---|
| 2681 | break |
---|
| 2682 | fi |
---|
| 2683 | done |
---|
| 2684 | IFS="$ac_save_ifs" |
---|
| 2685 | test -z "$ac_cv_prog_TEXI2DVI" && ac_cv_prog_TEXI2DVI="${pwd}/warn_not_found.sh texi2dvi" |
---|
| 2686 | fi |
---|
| 2687 | fi |
---|
| 2688 | TEXI2DVI="$ac_cv_prog_TEXI2DVI" |
---|
| 2689 | if test -n "$TEXI2DVI"; then |
---|
| 2690 | echo "$ac_t""$TEXI2DVI" 1>&6 |
---|
| 2691 | else |
---|
| 2692 | echo "$ac_t""no" 1>&6 |
---|
| 2693 | fi |
---|
| 2694 | |
---|
| 2695 | # Extract the first word of "texindex", so it can be a program name with args. |
---|
| 2696 | set dummy texindex; ac_word=$2 |
---|
| 2697 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[bd63e0] | 2698 | echo "configure:2699: checking for $ac_word" >&5 |
---|
[aac46c] | 2699 | if eval "test \"`echo '$''{'ac_cv_prog_TEXINDEX'+set}'`\" = set"; then |
---|
| 2700 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 2701 | else |
---|
| 2702 | if test -n "$TEXINDEX"; then |
---|
| 2703 | ac_cv_prog_TEXINDEX="$TEXINDEX" # Let the user override the test. |
---|
| 2704 | else |
---|
| 2705 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 2706 | ac_dummy="$PATH" |
---|
| 2707 | for ac_dir in $ac_dummy; do |
---|
| 2708 | test -z "$ac_dir" && ac_dir=. |
---|
| 2709 | if test -f $ac_dir/$ac_word; then |
---|
| 2710 | ac_cv_prog_TEXINDEX="texindex" |
---|
| 2711 | break |
---|
| 2712 | fi |
---|
| 2713 | done |
---|
| 2714 | IFS="$ac_save_ifs" |
---|
| 2715 | test -z "$ac_cv_prog_TEXINDEX" && ac_cv_prog_TEXINDEX="${pwd}/warn_not_found.sh texindex" |
---|
| 2716 | fi |
---|
| 2717 | fi |
---|
| 2718 | TEXINDEX="$ac_cv_prog_TEXINDEX" |
---|
| 2719 | if test -n "$TEXINDEX"; then |
---|
| 2720 | echo "$ac_t""$TEXINDEX" 1>&6 |
---|
| 2721 | else |
---|
| 2722 | echo "$ac_t""no" 1>&6 |
---|
| 2723 | fi |
---|
| 2724 | |
---|
| 2725 | fi |
---|
| 2726 | |
---|
[d16193] | 2727 | echo $ac_n "checking whether to configure and build Texi2html""... $ac_c" 1>&6 |
---|
[bd63e0] | 2728 | echo "configure:2729: checking whether to configure and build Texi2html" >&5 |
---|
[aac46c] | 2729 | if test "$enable_Texi2html" != no && test -d Texi2html; then |
---|
| 2730 | echo "$ac_t""yes" 1>&6 |
---|
[d16193] | 2731 | CONFIG_SUBDIRS="$CONFIG_SUBDIRS Texi2html" |
---|
[aac46c] | 2732 | BUILD_SUBDIRS="$BUILD_SUBDIRS Texi2html" |
---|
| 2733 | if test "$enable_Texi2html" != yes; then |
---|
| 2734 | ac_configure_args="$ac_configure_args --enable-Texi2html" |
---|
| 2735 | fi |
---|
[d16193] | 2736 | TEXI2HTML=${bindir}/texi2html |
---|
| 2737 | |
---|
[aac46c] | 2738 | else |
---|
| 2739 | echo "$ac_t""no" 1>&6 |
---|
[d16193] | 2740 | # Extract the first word of "texi2html", so it can be a program name with args. |
---|
| 2741 | set dummy texi2html; ac_word=$2 |
---|
| 2742 | echo $ac_n "checking for $ac_word""... $ac_c" 1>&6 |
---|
[bd63e0] | 2743 | echo "configure:2744: checking for $ac_word" >&5 |
---|
[d16193] | 2744 | if eval "test \"`echo '$''{'ac_cv_prog_TEXI2HTML'+set}'`\" = set"; then |
---|
| 2745 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 2746 | else |
---|
| 2747 | if test -n "$TEXI2HTML"; then |
---|
| 2748 | ac_cv_prog_TEXI2HTML="$TEXI2HTML" # Let the user override the test. |
---|
| 2749 | else |
---|
| 2750 | IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":" |
---|
| 2751 | ac_dummy="$PATH" |
---|
| 2752 | for ac_dir in $ac_dummy; do |
---|
| 2753 | test -z "$ac_dir" && ac_dir=. |
---|
| 2754 | if test -f $ac_dir/$ac_word; then |
---|
| 2755 | ac_cv_prog_TEXI2HTML="texi2html" |
---|
| 2756 | break |
---|
| 2757 | fi |
---|
| 2758 | done |
---|
| 2759 | IFS="$ac_save_ifs" |
---|
| 2760 | fi |
---|
| 2761 | fi |
---|
| 2762 | TEXI2HTML="$ac_cv_prog_TEXI2HTML" |
---|
| 2763 | if test -n "$TEXI2HTML"; then |
---|
| 2764 | echo "$ac_t""$TEXI2HTML" 1>&6 |
---|
| 2765 | else |
---|
| 2766 | echo "$ac_t""no" 1>&6 |
---|
| 2767 | fi |
---|
| 2768 | |
---|
[aac46c] | 2769 | fi |
---|
| 2770 | |
---|
[d16193] | 2771 | if test "${TEXI2HTML+set}" != set; then |
---|
| 2772 | echo "configure: warning: texi2html not found. HTML doc generation will fail" 1>&2 |
---|
| 2773 | fi |
---|
| 2774 | if test "$ac_cv_prog_LATEX2HTML" = latex2html; then |
---|
| 2775 | TEXI2HTML_OPTS="-l2h" |
---|
| 2776 | fi |
---|
| 2777 | |
---|
| 2778 | |
---|
| 2779 | |
---|
[aac46c] | 2780 | echo $ac_n "checking whether to build doc""... $ac_c" 1>&6 |
---|
[bd63e0] | 2781 | echo "configure:2782: checking whether to build doc" >&5 |
---|
[aac46c] | 2782 | if test "$enable_doc" != no && test -d doc; then |
---|
| 2783 | echo "$ac_t""yes" 1>&6 |
---|
| 2784 | BUILD_SUBDIRS="$BUILD_SUBDIRS doc" |
---|
| 2785 | if test "$enable_doc" != yes; then |
---|
| 2786 | enable_doc=yes |
---|
| 2787 | ac_configure_args="$ac_configure_args --enable-doc" |
---|
| 2788 | fi |
---|
| 2789 | else |
---|
| 2790 | enable_doc=no |
---|
| 2791 | echo "$ac_t""no" 1>&6 |
---|
| 2792 | fi |
---|
| 2793 | |
---|
| 2794 | echo $ac_n "checking whether to build emacs""... $ac_c" 1>&6 |
---|
[bd63e0] | 2795 | echo "configure:2796: checking whether to build emacs" >&5 |
---|
[aac46c] | 2796 | if test "$enable_doc" = yes && test "$enable_emacs" != no && test -d emacs; then |
---|
| 2797 | echo "$ac_t""yes" 1>&6 |
---|
| 2798 | BUILD_SUBDIRS="$BUILD_SUBDIRS emacs" |
---|
| 2799 | if test "$enable_emacs" != yes; then |
---|
| 2800 | ac_configure_args="$ac_configure_args --enable-emacs" |
---|
| 2801 | fi |
---|
| 2802 | else |
---|
| 2803 | echo "$ac_t""no" 1>&6 |
---|
| 2804 | fi |
---|
[6afd7c] | 2805 | |
---|
[9bc556] | 2806 | echo $ac_n "checking which apint package to use""... $ac_c" 1>&6 |
---|
[bd63e0] | 2807 | echo "configure:2808: checking which apint package to use" >&5 |
---|
[64c6d1] | 2808 | if test "$with_apint" = gmp; then |
---|
| 2809 | if test "$ac_gmp_ok" = yes || test "$enable_gmp" = yes; then |
---|
| 2810 | echo "$ac_t""gmp" 1>&6 |
---|
| 2811 | else |
---|
| 2812 | echo "$ac_t""none" 1>&6 |
---|
| 2813 | { echo "configure: error: can not use with gmp without finding or building it" 1>&2; exit 1; } |
---|
| 2814 | fi |
---|
| 2815 | elif test "$with_apint" = smallgmp; then |
---|
| 2816 | if test "$ac_smallgmp_ok" = yes || test "$enable_smallgmp" = yes; then |
---|
| 2817 | echo "$ac_t""smallgmp" 1>&6 |
---|
| 2818 | else |
---|
| 2819 | echo "$ac_t""none" 1>&6 |
---|
| 2820 | { echo "configure: error: can not use with smallgmp without finding or building it" 1>&2; exit 1; } |
---|
| 2821 | fi |
---|
| 2822 | elif test "$ac_gmp_ok" = yes || test "$enable_gmp"; then |
---|
| 2823 | echo "$ac_t""gmp" 1>&6 |
---|
| 2824 | ac_configure_args="$ac_configure_args --with-apint=gmp" |
---|
[9bc556] | 2825 | else |
---|
[64c6d1] | 2826 | echo "$ac_t""smallgmp" 1>&6 |
---|
| 2827 | ac_configure_args="$ac_configure_args --with-apint=smallgmp" |
---|
| 2828 | fi |
---|
[6afd7c] | 2829 | |
---|
[dc32d42] | 2830 | echo $ac_n "checking whether to use with MP""... $ac_c" 1>&6 |
---|
[bd63e0] | 2831 | echo "configure:2832: checking whether to use with MP" >&5 |
---|
[64c6d1] | 2832 | if test "$with_MP" = yes; then |
---|
[dc32d42] | 2833 | if test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then |
---|
[64c6d1] | 2834 | echo "$ac_t""yes" 1>&6 |
---|
[6afd7c] | 2835 | else |
---|
[64c6d1] | 2836 | echo "$ac_t""none" 1>&6 |
---|
| 2837 | { echo "configure: error: can not use with MP without finding or building it" 1>&2; exit 1; } |
---|
[6afd7c] | 2838 | fi |
---|
[64c6d1] | 2839 | elif test "$with_MP" = no; then |
---|
| 2840 | echo "$ac_t""no" 1>&6 |
---|
| 2841 | elif test "$ac_MP_ok" = yes || test "$enable_MP" = yes; then |
---|
[6afd7c] | 2842 | echo "$ac_t""yes" 1>&6 |
---|
[64c6d1] | 2843 | ac_configure_args="$ac_configure_args --with-MP" |
---|
[6afd7c] | 2844 | else |
---|
| 2845 | echo "$ac_t""no" 1>&6 |
---|
[64c6d1] | 2846 | ac_configure_args="$ac_configure_args --without-MP" |
---|
[78364c] | 2847 | fi |
---|
| 2848 | |
---|
[dc32d42] | 2849 | echo $ac_n "checking whether to use with factory""... $ac_c" 1>&6 |
---|
[bd63e0] | 2850 | echo "configure:2851: checking whether to use with factory" >&5 |
---|
[64c6d1] | 2851 | if test "$with_factory" = yes; then |
---|
[dc32d42] | 2852 | if test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then |
---|
[64c6d1] | 2853 | echo "$ac_t""yes" 1>&6 |
---|
[6afd7c] | 2854 | else |
---|
[64c6d1] | 2855 | echo "$ac_t""none" 1>&6 |
---|
| 2856 | { echo "configure: error: can not use with factory without finding or building it" 1>&2; exit 1; } |
---|
[6afd7c] | 2857 | fi |
---|
[64c6d1] | 2858 | elif test "$with_factory" = no; then |
---|
| 2859 | echo "$ac_t""no" 1>&6 |
---|
| 2860 | elif test "$ac_factory_ok" = yes || test "$enable_factory" = yes; then |
---|
[6afd7c] | 2861 | echo "$ac_t""yes" 1>&6 |
---|
[64c6d1] | 2862 | ac_configure_args="$ac_configure_args --with-factory" |
---|
[6afd7c] | 2863 | else |
---|
| 2864 | echo "$ac_t""no" 1>&6 |
---|
[64c6d1] | 2865 | ac_configure_args="$ac_configure_args --without-factory" |
---|
[6afd7c] | 2866 | fi |
---|
[64c6d1] | 2867 | |
---|
[dc32d42] | 2868 | echo $ac_n "checking whether to use with libfac""... $ac_c" 1>&6 |
---|
[bd63e0] | 2869 | echo "configure:2870: checking whether to use with libfac" >&5 |
---|
[64c6d1] | 2870 | if test "$with_libfac" = yes; then |
---|
[dc32d42] | 2871 | if test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then |
---|
[64c6d1] | 2872 | echo "$ac_t""yes" 1>&6 |
---|
[6afd7c] | 2873 | else |
---|
[64c6d1] | 2874 | echo "$ac_t""none" 1>&6 |
---|
| 2875 | { echo "configure: error: can not use with libfac without finding or building it" 1>&2; exit 1; } |
---|
[6afd7c] | 2876 | fi |
---|
[64c6d1] | 2877 | elif test "$with_libfac" = no; then |
---|
| 2878 | echo "$ac_t""no" 1>&6 |
---|
| 2879 | elif test "$ac_libfac_ok" = yes || test "$enable_libfac" = yes; then |
---|
[6afd7c] | 2880 | echo "$ac_t""yes" 1>&6 |
---|
[64c6d1] | 2881 | ac_configure_args="$ac_configure_args --with-libfac" |
---|
[6afd7c] | 2882 | else |
---|
| 2883 | echo "$ac_t""no" 1>&6 |
---|
[64c6d1] | 2884 | ac_configure_args="$ac_configure_args --without-libfac" |
---|
[6afd7c] | 2885 | fi |
---|
| 2886 | |
---|
[aac46c] | 2887 | |
---|
| 2888 | |
---|
[dc32d42] | 2889 | echo $ac_n "checking whether to use with Singular""... $ac_c" 1>&6 |
---|
[bd63e0] | 2890 | echo "configure:2891: checking whether to use with Singular" >&5 |
---|
[dc32d42] | 2891 | if test "$with_Singular" != no && test "$with_Singular" != yes; then |
---|
[6afd7c] | 2892 | if test "$enable_Singular" = yes; then |
---|
[dc32d42] | 2893 | with_Singular=yes |
---|
[6afd7c] | 2894 | else |
---|
| 2895 | with_Singular=no |
---|
| 2896 | fi |
---|
[dc32d42] | 2897 | ac_configure_args="$ac_configure_args --with-Singular=$with_Singular" |
---|
[6afd7c] | 2898 | fi |
---|
[dc32d42] | 2899 | |
---|
[6afd7c] | 2900 | if test "$with_Singular" != no; then |
---|
| 2901 | echo "$ac_t""yes" 1>&6 |
---|
| 2902 | else |
---|
| 2903 | echo "$ac_t""no" 1>&6 |
---|
| 2904 | fi |
---|
| 2905 | |
---|
[9bc556] | 2906 | |
---|
[8c4748] | 2907 | SUBDIRS="" |
---|
[c232af] | 2908 | if test -d omalloc; then |
---|
| 2909 | SUBDIRS="$SUBDIRS omalloc" |
---|
| 2910 | fi |
---|
[78364c] | 2911 | if test -d smallgmp; then |
---|
[8c4748] | 2912 | SUBDIRS="$SUBDIRS smallgmp" |
---|
[6afd7c] | 2913 | fi |
---|
[64c6d1] | 2914 | if test -d gmp; then |
---|
[8c4748] | 2915 | SUBDIRS="$SUBDIRS gmp" |
---|
[64c6d1] | 2916 | fi |
---|
[6afd7c] | 2917 | if test -d MP; then |
---|
| 2918 | SUBDIRS="$SUBDIRS MP" |
---|
| 2919 | fi |
---|
[4d7834] | 2920 | if test -d ntl; then |
---|
| 2921 | SUBDIRS="$SUBDIRS ntl" |
---|
| 2922 | fi |
---|
[6afd7c] | 2923 | if test -d factory; then |
---|
| 2924 | SUBDIRS="$SUBDIRS factory" |
---|
| 2925 | fi |
---|
| 2926 | if test -d libfac; then |
---|
| 2927 | SUBDIRS="$SUBDIRS libfac" |
---|
| 2928 | fi |
---|
[aac46c] | 2929 | if test -d sgroup; then |
---|
| 2930 | SUBDIRS="$SUBDIRS sgroup" |
---|
| 2931 | fi |
---|
[518752] | 2932 | if test -d Singular; then |
---|
| 2933 | SUBDIRS="$SUBDIRS Singular" |
---|
| 2934 | fi |
---|
[aac46c] | 2935 | if test -d Texinfo; then |
---|
| 2936 | SUBDIRS="$SUBDIRS Texinfo" |
---|
[6b27cb] | 2937 | fi |
---|
| 2938 | if test -d Texi2html; then |
---|
| 2939 | SUBDIRS="$SUBDIRS Texi2html" |
---|
[460c1e1] | 2940 | fi |
---|
[aac46c] | 2941 | if test -d doc; then |
---|
| 2942 | SUBDIRS="$SUBDIRS doc" |
---|
| 2943 | fi |
---|
| 2944 | if test -d emacs; then |
---|
| 2945 | SUBDIRS="$SUBDIRS emacs" |
---|
| 2946 | fi |
---|
| 2947 | if test -d rpm; then |
---|
| 2948 | SUBDIRS="$SUBDIRS rpm" |
---|
[518752] | 2949 | fi |
---|
[6afd7c] | 2950 | |
---|
| 2951 | echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6 |
---|
[bd63e0] | 2952 | echo "configure:2953: checking whether ${MAKE-make} sets \${MAKE}" >&5 |
---|
[2189fb] | 2953 | set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y%./+-%__p_%'` |
---|
[6afd7c] | 2954 | if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then |
---|
| 2955 | echo $ac_n "(cached) $ac_c" 1>&6 |
---|
| 2956 | else |
---|
| 2957 | cat > conftestmake <<\EOF |
---|
| 2958 | all: |
---|
| 2959 | @echo 'ac_maketemp="${MAKE}"' |
---|
| 2960 | EOF |
---|
| 2961 | # GNU make sometimes prints "make[1]: Entering...", which would confuse us. |
---|
| 2962 | eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=` |
---|
| 2963 | if test -n "$ac_maketemp"; then |
---|
| 2964 | eval ac_cv_prog_make_${ac_make}_set=yes |
---|
| 2965 | else |
---|
| 2966 | eval ac_cv_prog_make_${ac_make}_set=no |
---|
| 2967 | fi |
---|
| 2968 | rm -f conftestmake |
---|
| 2969 | fi |
---|
| 2970 | if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then |
---|
| 2971 | echo "$ac_t""yes" 1>&6 |
---|
| 2972 | SET_MAKE= |
---|
| 2973 | else |
---|
| 2974 | echo "$ac_t""no" 1>&6 |
---|
| 2975 | SET_MAKE="MAKE=${MAKE-make}" |
---|
| 2976 | fi |
---|
| 2977 | |
---|
| 2978 | |
---|
| 2979 | |
---|
[6b27cb] | 2980 | |
---|
[6afd7c] | 2981 | subdirs="$CONFIG_SUBDIRS" |
---|
| 2982 | |
---|
| 2983 | |
---|
[8c4748] | 2984 | trap '' 1 2 15 |
---|
[6afd7c] | 2985 | cat > confcache <<\EOF |
---|
| 2986 | # This file is a shell script that caches the results of configure |
---|
| 2987 | # tests run on this system so they can be shared between configure |
---|
| 2988 | # scripts and configure runs. It is not useful on other systems. |
---|
| 2989 | # If it contains results you don't want to keep, you may remove or edit it. |
---|
| 2990 | # |
---|
| 2991 | # By default, configure uses ./config.cache as the cache file, |
---|
| 2992 | # creating it if it does not exist already. You can give configure |
---|
| 2993 | # the --cache-file=FILE option to use a different cache file; that is |
---|
| 2994 | # what configure does when it calls configure scripts in |
---|
| 2995 | # subdirectories, so they share the cache. |
---|
| 2996 | # Giving --cache-file=/dev/null disables caching, for debugging configure. |
---|
| 2997 | # config.status only pays attention to the cache file if you give it the |
---|
| 2998 | # --recheck option to rerun configure. |
---|
| 2999 | # |
---|
| 3000 | EOF |
---|
[2189fb] | 3001 | # The following way of writing the cache mishandles newlines in values, |
---|
| 3002 | # but we know of no workaround that is simple, portable, and efficient. |
---|
| 3003 | # So, don't put newlines in cache variables' values. |
---|
[6afd7c] | 3004 | # Ultrix sh set writes to stderr and can't be redirected directly, |
---|
| 3005 | # and sets the high bit in the cache file unless we assign to the vars. |
---|
| 3006 | (set) 2>&1 | |
---|
[aac46c] | 3007 | case `(ac_space=' '; set | grep ac_space) 2>&1` in |
---|
[2189fb] | 3008 | *ac_space=\ *) |
---|
| 3009 | # `set' does not quote correctly, so add quotes (double-quote substitution |
---|
| 3010 | # turns \\\\ into \\, and sed turns \\ into \). |
---|
| 3011 | sed -n \ |
---|
| 3012 | -e "s/'/'\\\\''/g" \ |
---|
| 3013 | -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p" |
---|
| 3014 | ;; |
---|
| 3015 | *) |
---|
| 3016 | # `set' quotes correctly as required by POSIX, so do not add quotes. |
---|
| 3017 | sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p' |
---|
| 3018 | ;; |
---|
| 3019 | esac >> confcache |
---|
[6afd7c] | 3020 | if cmp -s $cache_file confcache; then |
---|
| 3021 | : |
---|
| 3022 | else |
---|
| 3023 | if test -w $cache_file; then |
---|
| 3024 | echo "updating cache $cache_file" |
---|
| 3025 | cat confcache > $cache_file |
---|
| 3026 | else |
---|
| 3027 | echo "not updating unwritable cache $cache_file" |
---|
| 3028 | fi |
---|
| 3029 | fi |
---|
| 3030 | rm -f confcache |
---|
| 3031 | |
---|
| 3032 | trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15 |
---|
| 3033 | |
---|
| 3034 | test "x$prefix" = xNONE && prefix=$ac_default_prefix |
---|
| 3035 | # Let make expand exec_prefix. |
---|
| 3036 | test "x$exec_prefix" = xNONE && exec_prefix='${prefix}' |
---|
| 3037 | |
---|
| 3038 | # Any assignment to VPATH causes Sun make to only execute |
---|
| 3039 | # the first set of double-colon rules, so remove it if not needed. |
---|
| 3040 | # If there is a colon in the path, we need to keep it. |
---|
| 3041 | if test "x$srcdir" = x.; then |
---|
| 3042 | ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d' |
---|
| 3043 | fi |
---|
| 3044 | |
---|
| 3045 | trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15 |
---|
| 3046 | |
---|
| 3047 | # Transform confdefs.h into DEFS. |
---|
| 3048 | # Protect against shell expansion while executing Makefile rules. |
---|
| 3049 | # Protect against Makefile macro expansion. |
---|
| 3050 | cat > conftest.defs <<\EOF |
---|
| 3051 | s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%-D\1=\2%g |
---|
| 3052 | s%[ `~#$^&*(){}\\|;'"<>?]%\\&%g |
---|
| 3053 | s%\[%\\&%g |
---|
| 3054 | s%\]%\\&%g |
---|
| 3055 | s%\$%$$%g |
---|
| 3056 | EOF |
---|
| 3057 | DEFS=`sed -f conftest.defs confdefs.h | tr '\012' ' '` |
---|
| 3058 | rm -f conftest.defs |
---|
| 3059 | |
---|
| 3060 | |
---|
| 3061 | # Without the "./", some shells look in PATH for config.status. |
---|
| 3062 | : ${CONFIG_STATUS=./config.status} |
---|
| 3063 | |
---|
| 3064 | echo creating $CONFIG_STATUS |
---|
| 3065 | rm -f $CONFIG_STATUS |
---|
| 3066 | cat > $CONFIG_STATUS <<EOF |
---|
| 3067 | #! /bin/sh |
---|
| 3068 | # Generated automatically by configure. |
---|
| 3069 | # Run this file to recreate the current configuration. |
---|
| 3070 | # This directory was configured as follows, |
---|
| 3071 | # on host `(hostname || uname -n) 2>/dev/null | sed 1q`: |
---|
| 3072 | # |
---|
| 3073 | # $0 $ac_configure_args |
---|
| 3074 | # |
---|
| 3075 | # Compiler output produced by configure, useful for debugging |
---|
| 3076 | # configure, is in ./config.log if it exists. |
---|
| 3077 | |
---|
| 3078 | ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]" |
---|
| 3079 | for ac_option |
---|
| 3080 | do |
---|
| 3081 | case "\$ac_option" in |
---|
| 3082 | -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r) |
---|
| 3083 | echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion" |
---|
| 3084 | exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;; |
---|
| 3085 | -version | --version | --versio | --versi | --vers | --ver | --ve | --v) |
---|
[aac46c] | 3086 | echo "$CONFIG_STATUS generated by autoconf version 2.13" |
---|
[6afd7c] | 3087 | exit 0 ;; |
---|
| 3088 | -help | --help | --hel | --he | --h) |
---|
| 3089 | echo "\$ac_cs_usage"; exit 0 ;; |
---|
| 3090 | *) echo "\$ac_cs_usage"; exit 1 ;; |
---|
| 3091 | esac |
---|
| 3092 | done |
---|
| 3093 | |
---|
| 3094 | ac_given_srcdir=$srcdir |
---|
[354f3b] | 3095 | ac_given_INSTALL="$INSTALL" |
---|
[6afd7c] | 3096 | |
---|
[8c4748] | 3097 | trap 'rm -fr `echo "${OUTPUT_MAKEFILES}" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15 |
---|
[6afd7c] | 3098 | EOF |
---|
| 3099 | cat >> $CONFIG_STATUS <<EOF |
---|
| 3100 | |
---|
| 3101 | # Protect against being on the right side of a sed subst in config.status. |
---|
| 3102 | sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g; |
---|
| 3103 | s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF |
---|
| 3104 | $ac_vpsub |
---|
| 3105 | $extrasub |
---|
[aac46c] | 3106 | s%@SHELL@%$SHELL%g |
---|
[6afd7c] | 3107 | s%@CFLAGS@%$CFLAGS%g |
---|
| 3108 | s%@CPPFLAGS@%$CPPFLAGS%g |
---|
| 3109 | s%@CXXFLAGS@%$CXXFLAGS%g |
---|
[aac46c] | 3110 | s%@FFLAGS@%$FFLAGS%g |
---|
[6afd7c] | 3111 | s%@DEFS@%$DEFS%g |
---|
| 3112 | s%@LDFLAGS@%$LDFLAGS%g |
---|
| 3113 | s%@LIBS@%$LIBS%g |
---|
| 3114 | s%@exec_prefix@%$exec_prefix%g |
---|
| 3115 | s%@prefix@%$prefix%g |
---|
| 3116 | s%@program_transform_name@%$program_transform_name%g |
---|
| 3117 | s%@bindir@%$bindir%g |
---|
| 3118 | s%@sbindir@%$sbindir%g |
---|
| 3119 | s%@libexecdir@%$libexecdir%g |
---|
| 3120 | s%@datadir@%$datadir%g |
---|
| 3121 | s%@sysconfdir@%$sysconfdir%g |
---|
| 3122 | s%@sharedstatedir@%$sharedstatedir%g |
---|
| 3123 | s%@localstatedir@%$localstatedir%g |
---|
| 3124 | s%@libdir@%$libdir%g |
---|
| 3125 | s%@includedir@%$includedir%g |
---|
| 3126 | s%@oldincludedir@%$oldincludedir%g |
---|
| 3127 | s%@infodir@%$infodir%g |
---|
| 3128 | s%@mandir@%$mandir%g |
---|
[55c796] | 3129 | s%@SINGULAR_VERSION@%$SINGULAR_VERSION%g |
---|
[f36635] | 3130 | s%@VERSION_DATE@%$VERSION_DATE%g |
---|
| 3131 | s%@SINGULAR_SHORT_VERSION@%$SINGULAR_SHORT_VERSION%g |
---|
[4d7834] | 3132 | s%@SINGULAR_RPM_VERSION@%$SINGULAR_RPM_VERSION%g |
---|
[a15090f] | 3133 | s%@SINGULAR_ROOT_DIR@%$SINGULAR_ROOT_DIR%g |
---|
[df723f] | 3134 | s%@SINGUNAME@%$SINGUNAME%g |
---|
| 3135 | s%@SING_UNAME@%$SING_UNAME%g |
---|
[6afd7c] | 3136 | s%@CC@%$CC%g |
---|
| 3137 | s%@CPP@%$CPP%g |
---|
[354f3b] | 3138 | s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g |
---|
[aac46c] | 3139 | s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g |
---|
[354f3b] | 3140 | s%@INSTALL_DATA@%$INSTALL_DATA%g |
---|
[8c8a76] | 3141 | s%@CXX@%$CXX%g |
---|
| 3142 | s%@PIPE@%$PIPE%g |
---|
[3d8259] | 3143 | s%@PERL@%$PERL%g |
---|
[a70441f] | 3144 | s%@UUDECODE@%$UUDECODE%g |
---|
[9ead31] | 3145 | s%@GUNZIP@%$GUNZIP%g |
---|
| 3146 | s%@MYGZIP@%$MYGZIP%g |
---|
[f36635] | 3147 | s%@LATEX2HTML@%$LATEX2HTML%g |
---|
[fe40293] | 3148 | s%@LN_S@%$LN_S%g |
---|
[a15090f] | 3149 | s%@MKINSTALLDIRS@%$MKINSTALLDIRS%g |
---|
[9bc556] | 3150 | s%@SINGULAR@%$SINGULAR%g |
---|
[f36635] | 3151 | s%@TMP_DIR@%$TMP_DIR%g |
---|
| 3152 | s%@TEXI2DVI@%$TEXI2DVI%g |
---|
| 3153 | s%@MAKEINFO@%$MAKEINFO%g |
---|
| 3154 | s%@TEXINDEX@%$TEXINDEX%g |
---|
[d16193] | 3155 | s%@TEXI2HTML@%$TEXI2HTML%g |
---|
| 3156 | s%@TEXI2HTML_OPTS@%$TEXI2HTML_OPTS%g |
---|
[6afd7c] | 3157 | s%@SET_MAKE@%$SET_MAKE%g |
---|
| 3158 | s%@SUBDIRS@%$SUBDIRS%g |
---|
[6b27cb] | 3159 | s%@BUILD_SUBDIRS@%$BUILD_SUBDIRS%g |
---|
[6afd7c] | 3160 | s%@CONFIG_SUBDIRS@%$CONFIG_SUBDIRS%g |
---|
| 3161 | s%@subdirs@%$subdirs%g |
---|
| 3162 | |
---|
| 3163 | CEOF |
---|
| 3164 | EOF |
---|
[2189fb] | 3165 | |
---|
| 3166 | cat >> $CONFIG_STATUS <<\EOF |
---|
| 3167 | |
---|
| 3168 | # Split the substitutions into bite-sized pieces for seds with |
---|
| 3169 | # small command number limits, like on Digital OSF/1 and HP-UX. |
---|
| 3170 | ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script. |
---|
| 3171 | ac_file=1 # Number of current file. |
---|
| 3172 | ac_beg=1 # First line for current file. |
---|
| 3173 | ac_end=$ac_max_sed_cmds # Line after last line for current file. |
---|
| 3174 | ac_more_lines=: |
---|
| 3175 | ac_sed_cmds="" |
---|
| 3176 | while $ac_more_lines; do |
---|
| 3177 | if test $ac_beg -gt 1; then |
---|
| 3178 | sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
| 3179 | else |
---|
| 3180 | sed "${ac_end}q" conftest.subs > conftest.s$ac_file |
---|
| 3181 | fi |
---|
| 3182 | if test ! -s conftest.s$ac_file; then |
---|
| 3183 | ac_more_lines=false |
---|
| 3184 | rm -f conftest.s$ac_file |
---|
| 3185 | else |
---|
| 3186 | if test -z "$ac_sed_cmds"; then |
---|
| 3187 | ac_sed_cmds="sed -f conftest.s$ac_file" |
---|
| 3188 | else |
---|
| 3189 | ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file" |
---|
| 3190 | fi |
---|
| 3191 | ac_file=`expr $ac_file + 1` |
---|
| 3192 | ac_beg=$ac_end |
---|
| 3193 | ac_end=`expr $ac_end + $ac_max_sed_cmds` |
---|
| 3194 | fi |
---|
| 3195 | done |
---|
| 3196 | if test -z "$ac_sed_cmds"; then |
---|
| 3197 | ac_sed_cmds=cat |
---|
| 3198 | fi |
---|
| 3199 | EOF |
---|
| 3200 | |
---|
[6afd7c] | 3201 | cat >> $CONFIG_STATUS <<EOF |
---|
| 3202 | |
---|
[8c4748] | 3203 | CONFIG_FILES=\${CONFIG_FILES-"${OUTPUT_MAKEFILES}"} |
---|
[6afd7c] | 3204 | EOF |
---|
| 3205 | cat >> $CONFIG_STATUS <<\EOF |
---|
| 3206 | for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then |
---|
[2189fb] | 3207 | # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in". |
---|
[6afd7c] | 3208 | case "$ac_file" in |
---|
[2189fb] | 3209 | *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'` |
---|
[6afd7c] | 3210 | ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;; |
---|
| 3211 | *) ac_file_in="${ac_file}.in" ;; |
---|
| 3212 | esac |
---|
| 3213 | |
---|
[2189fb] | 3214 | # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories. |
---|
[6afd7c] | 3215 | |
---|
| 3216 | # Remove last slash and all that follows it. Not all systems have dirname. |
---|
| 3217 | ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'` |
---|
| 3218 | if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then |
---|
| 3219 | # The file is in a subdirectory. |
---|
| 3220 | test ! -d "$ac_dir" && mkdir "$ac_dir" |
---|
| 3221 | ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`" |
---|
| 3222 | # A "../" for each directory in $ac_dir_suffix. |
---|
| 3223 | ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'` |
---|
| 3224 | else |
---|
| 3225 | ac_dir_suffix= ac_dots= |
---|
| 3226 | fi |
---|
| 3227 | |
---|
| 3228 | case "$ac_given_srcdir" in |
---|
| 3229 | .) srcdir=. |
---|
| 3230 | if test -z "$ac_dots"; then top_srcdir=. |
---|
| 3231 | else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;; |
---|
| 3232 | /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;; |
---|
| 3233 | *) # Relative path. |
---|
| 3234 | srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix" |
---|
| 3235 | top_srcdir="$ac_dots$ac_given_srcdir" ;; |
---|
| 3236 | esac |
---|
| 3237 | |
---|
[354f3b] | 3238 | case "$ac_given_INSTALL" in |
---|
| 3239 | [/$]*) INSTALL="$ac_given_INSTALL" ;; |
---|
| 3240 | *) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
---|
| 3241 | esac |
---|
[2189fb] | 3242 | |
---|
[6afd7c] | 3243 | echo creating "$ac_file" |
---|
| 3244 | rm -f "$ac_file" |
---|
| 3245 | configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure." |
---|
| 3246 | case "$ac_file" in |
---|
| 3247 | *Makefile*) ac_comsub="1i\\ |
---|
| 3248 | # $configure_input" ;; |
---|
| 3249 | *) ac_comsub= ;; |
---|
| 3250 | esac |
---|
[2189fb] | 3251 | |
---|
| 3252 | ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"` |
---|
[6afd7c] | 3253 | sed -e "$ac_comsub |
---|
| 3254 | s%@configure_input@%$configure_input%g |
---|
| 3255 | s%@srcdir@%$srcdir%g |
---|
| 3256 | s%@top_srcdir@%$top_srcdir%g |
---|
[354f3b] | 3257 | s%@INSTALL@%$INSTALL%g |
---|
[2189fb] | 3258 | " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file |
---|
[6afd7c] | 3259 | fi; done |
---|
[2189fb] | 3260 | rm -f conftest.s* |
---|
[6afd7c] | 3261 | |
---|
[2189fb] | 3262 | EOF |
---|
| 3263 | cat >> $CONFIG_STATUS <<EOF |
---|
[6afd7c] | 3264 | |
---|
[2189fb] | 3265 | EOF |
---|
| 3266 | cat >> $CONFIG_STATUS <<\EOF |
---|
[6afd7c] | 3267 | |
---|
| 3268 | exit 0 |
---|
| 3269 | EOF |
---|
| 3270 | chmod +x $CONFIG_STATUS |
---|
| 3271 | rm -fr confdefs* $ac_clean_files |
---|
| 3272 | test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1 |
---|
| 3273 | |
---|
| 3274 | if test "$no_recursion" != yes; then |
---|
| 3275 | |
---|
| 3276 | # Remove --cache-file and --srcdir arguments so they do not pile up. |
---|
| 3277 | ac_sub_configure_args= |
---|
| 3278 | ac_prev= |
---|
| 3279 | for ac_arg in $ac_configure_args; do |
---|
| 3280 | if test -n "$ac_prev"; then |
---|
| 3281 | ac_prev= |
---|
| 3282 | continue |
---|
| 3283 | fi |
---|
| 3284 | case "$ac_arg" in |
---|
| 3285 | -cache-file | --cache-file | --cache-fil | --cache-fi \ |
---|
| 3286 | | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c) |
---|
| 3287 | ac_prev=cache_file ;; |
---|
| 3288 | -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \ |
---|
| 3289 | | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*) |
---|
| 3290 | ;; |
---|
| 3291 | -srcdir | --srcdir | --srcdi | --srcd | --src | --sr) |
---|
| 3292 | ac_prev=srcdir ;; |
---|
| 3293 | -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*) |
---|
| 3294 | ;; |
---|
| 3295 | *) ac_sub_configure_args="$ac_sub_configure_args $ac_arg" ;; |
---|
| 3296 | esac |
---|
| 3297 | done |
---|
| 3298 | |
---|
| 3299 | for ac_config_dir in $CONFIG_SUBDIRS; do |
---|
| 3300 | |
---|
| 3301 | # Do not complain, so a configure script can configure whichever |
---|
| 3302 | # parts of a large source tree are present. |
---|
| 3303 | if test ! -d $srcdir/$ac_config_dir; then |
---|
| 3304 | continue |
---|
| 3305 | fi |
---|
| 3306 | |
---|
| 3307 | echo configuring in $ac_config_dir |
---|
| 3308 | |
---|
| 3309 | case "$srcdir" in |
---|
| 3310 | .) ;; |
---|
| 3311 | *) |
---|
| 3312 | if test -d ./$ac_config_dir || mkdir ./$ac_config_dir; then :; |
---|
| 3313 | else |
---|
| 3314 | { echo "configure: error: can not create `pwd`/$ac_config_dir" 1>&2; exit 1; } |
---|
| 3315 | fi |
---|
| 3316 | ;; |
---|
| 3317 | esac |
---|
| 3318 | |
---|
| 3319 | ac_popdir=`pwd` |
---|
| 3320 | cd $ac_config_dir |
---|
| 3321 | |
---|
[2189fb] | 3322 | # A "../" for each directory in /$ac_config_dir. |
---|
| 3323 | ac_dots=`echo $ac_config_dir|sed -e 's%^\./%%' -e 's%[^/]$%&/%' -e 's%[^/]*/%../%g'` |
---|
| 3324 | |
---|
[6afd7c] | 3325 | case "$srcdir" in |
---|
| 3326 | .) # No --srcdir option. We are building in place. |
---|
| 3327 | ac_sub_srcdir=$srcdir ;; |
---|
| 3328 | /*) # Absolute path. |
---|
| 3329 | ac_sub_srcdir=$srcdir/$ac_config_dir ;; |
---|
| 3330 | *) # Relative path. |
---|
[2189fb] | 3331 | ac_sub_srcdir=$ac_dots$srcdir/$ac_config_dir ;; |
---|
[6afd7c] | 3332 | esac |
---|
| 3333 | |
---|
| 3334 | # Check for guested configure; otherwise get Cygnus style configure. |
---|
| 3335 | if test -f $ac_sub_srcdir/configure; then |
---|
| 3336 | ac_sub_configure=$ac_sub_srcdir/configure |
---|
| 3337 | elif test -f $ac_sub_srcdir/configure.in; then |
---|
| 3338 | ac_sub_configure=$ac_configure |
---|
| 3339 | else |
---|
| 3340 | echo "configure: warning: no configuration information is in $ac_config_dir" 1>&2 |
---|
| 3341 | ac_sub_configure= |
---|
| 3342 | fi |
---|
| 3343 | |
---|
| 3344 | # The recursion is here. |
---|
| 3345 | if test -n "$ac_sub_configure"; then |
---|
| 3346 | |
---|
| 3347 | # Make the cache file name correct relative to the subdirectory. |
---|
| 3348 | case "$cache_file" in |
---|
| 3349 | /*) ac_sub_cache_file=$cache_file ;; |
---|
| 3350 | *) # Relative path. |
---|
| 3351 | ac_sub_cache_file="$ac_dots$cache_file" ;; |
---|
| 3352 | esac |
---|
[354f3b] | 3353 | case "$ac_given_INSTALL" in |
---|
| 3354 | [/$]*) INSTALL="$ac_given_INSTALL" ;; |
---|
| 3355 | *) INSTALL="$ac_dots$ac_given_INSTALL" ;; |
---|
| 3356 | esac |
---|
[6afd7c] | 3357 | |
---|
| 3358 | echo "running ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir" |
---|
| 3359 | # The eval makes quoting arguments work. |
---|
| 3360 | if eval ${CONFIG_SHELL-/bin/sh} $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_sub_srcdir |
---|
| 3361 | then : |
---|
| 3362 | else |
---|
| 3363 | { echo "configure: error: $ac_sub_configure failed for $ac_config_dir" 1>&2; exit 1; } |
---|
| 3364 | fi |
---|
| 3365 | fi |
---|
| 3366 | |
---|
| 3367 | cd $ac_popdir |
---|
| 3368 | done |
---|
| 3369 | fi |
---|
[dc32d42] | 3370 | |
---|