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