Annotation of sql/mysql/libltdl/configure, revision 1.3
1.1 parser 1: #! /bin/sh
2: # Guess values for system-dependent variables and create Makefiles.
1.3 ! paf 3: # Generated by GNU Autoconf 2.57.
1.1 parser 4: #
1.3 ! paf 5: # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
! 6: # Free Software Foundation, Inc.
1.1 parser 7: # This configure script is free software; the Free Software Foundation
8: # gives unlimited permission to copy, distribute and modify it.
1.3 ! paf 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:
1.1 parser 232:
1.3 ! paf 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: #
1.1 parser 253: ac_default_prefix=/usr/local
1.3 ! paf 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="ltdl.c"
! 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 CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO AMTAR install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM AWK SET_MAKE MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE build build_cpu build_vendor build_os host host_cpu host_vendor host_os RANLIB ac_ct_RANLIB LN_S LIBTOOL LIBTOOL_DEPS INSTALL_LTDL_TRUE INSTALL_LTDL_FALSE CONVENIENCE_LTDL_TRUE CONVENIENCE_LTDL_FALSE CPP EGREP LIBADD_DL LIBOBJS LTLIBOBJS'
! 312: ac_subst_files=''
1.1 parser 313:
314: # Initialize some variables set by options.
1.3 ! paf 315: ac_init_help=
! 316: ac_init_version=false
1.1 parser 317: # The variables have the same names as the options, with
318: # dashes changed to underlines.
1.3 ! paf 319: cache_file=/dev/null
1.1 parser 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
1.3 ! paf 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.
1.1 parser 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:
1.3 ! paf 362: ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
1.1 parser 363:
364: # Accept the important Cygnus configure options, so we can diagnose typos.
365:
1.3 ! paf 366: case $ac_option in
1.1 parser 367:
368: -bindir | --bindir | --bindi | --bind | --bin | --bi)
369: ac_prev=bindir ;;
370: -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1.3 ! paf 371: bindir=$ac_optarg ;;
1.1 parser 372:
373: -build | --build | --buil | --bui | --bu)
1.3 ! paf 374: ac_prev=build_alias ;;
1.1 parser 375: -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1.3 ! paf 376: build_alias=$ac_optarg ;;
1.1 parser 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=*)
1.3 ! paf 383: cache_file=$ac_optarg ;;
! 384:
! 385: --config-cache | -C)
! 386: cache_file=config.cache ;;
1.1 parser 387:
388: -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
389: ac_prev=datadir ;;
390: -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
391: | --da=*)
1.3 ! paf 392: datadir=$ac_optarg ;;
1.1 parser 393:
394: -disable-* | --disable-*)
1.3 ! paf 395: ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1.1 parser 396: # Reject names that are not valid shell variable names.
1.3 ! paf 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" ;;
1.1 parser 402:
403: -enable-* | --enable-*)
1.3 ! paf 404: ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1.1 parser 405: # Reject names that are not valid shell variable names.
1.3 ! paf 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"`;;
1.1 parser 412: *) ac_optarg=yes ;;
413: esac
1.3 ! paf 414: eval "enable_$ac_feature='$ac_optarg'" ;;
1.1 parser 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=*)
1.3 ! paf 423: exec_prefix=$ac_optarg ;;
1.1 parser 424:
425: -gas | --gas | --ga | --g)
426: # Obsolete; use --with-gas.
427: with_gas=yes ;;
428:
1.3 ! paf 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 ;;
1.1 parser 435:
436: -host | --host | --hos | --ho)
1.3 ! paf 437: ac_prev=host_alias ;;
1.1 parser 438: -host=* | --host=* | --hos=* | --ho=*)
1.3 ! paf 439: host_alias=$ac_optarg ;;
1.1 parser 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=*)
1.3 ! paf 446: includedir=$ac_optarg ;;
1.1 parser 447:
448: -infodir | --infodir | --infodi | --infod | --info | --inf)
449: ac_prev=infodir ;;
450: -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1.3 ! paf 451: infodir=$ac_optarg ;;
1.1 parser 452:
453: -libdir | --libdir | --libdi | --libd)
454: ac_prev=libdir ;;
455: -libdir=* | --libdir=* | --libdi=* | --libd=*)
1.3 ! paf 456: libdir=$ac_optarg ;;
1.1 parser 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=*)
1.3 ! paf 463: libexecdir=$ac_optarg ;;
1.1 parser 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=*)
1.3 ! paf 472: localstatedir=$ac_optarg ;;
1.1 parser 473:
474: -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
475: ac_prev=mandir ;;
476: -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1.3 ! paf 477: mandir=$ac_optarg ;;
1.1 parser 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 \
1.3 ! paf 484: | --no-cr | --no-c | -n)
1.1 parser 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=*)
1.3 ! paf 498: oldincludedir=$ac_optarg ;;
1.1 parser 499:
500: -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
501: ac_prev=prefix ;;
502: -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1.3 ! paf 503: prefix=$ac_optarg ;;
1.1 parser 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=*)
1.3 ! paf 510: program_prefix=$ac_optarg ;;
1.1 parser 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=*)
1.3 ! paf 517: program_suffix=$ac_optarg ;;
1.1 parser 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=*)
1.3 ! paf 534: program_transform_name=$ac_optarg ;;
1.1 parser 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=*)
1.3 ! paf 544: sbindir=$ac_optarg ;;
1.1 parser 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=*)
1.3 ! paf 555: sharedstatedir=$ac_optarg ;;
1.1 parser 556:
557: -site | --site | --sit)
558: ac_prev=site ;;
559: -site=* | --site=* | --sit=*)
1.3 ! paf 560: site=$ac_optarg ;;
1.1 parser 561:
562: -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
563: ac_prev=srcdir ;;
564: -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1.3 ! paf 565: srcdir=$ac_optarg ;;
1.1 parser 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=*)
1.3 ! paf 572: sysconfdir=$ac_optarg ;;
1.1 parser 573:
574: -target | --target | --targe | --targ | --tar | --ta | --t)
1.3 ! paf 575: ac_prev=target_alias ;;
1.1 parser 576: -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1.3 ! paf 577: target_alias=$ac_optarg ;;
1.1 parser 578:
579: -v | -verbose | --verbose | --verbos | --verbo | --verb)
580: verbose=yes ;;
581:
1.3 ! paf 582: -version | --version | --versio | --versi | --vers | -V)
! 583: ac_init_version=: ;;
1.1 parser 584:
585: -with-* | --with-*)
1.3 ! paf 586: ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1.1 parser 587: # Reject names that are not valid shell variable names.
1.3 ! paf 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; }; }
1.1 parser 591: ac_package=`echo $ac_package| sed 's/-/_/g'`
1.3 ! paf 592: case $ac_option in
! 593: *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
1.1 parser 594: *) ac_optarg=yes ;;
595: esac
1.3 ! paf 596: eval "with_$ac_package='$ac_optarg'" ;;
1.1 parser 597:
598: -without-* | --without-*)
1.3 ! paf 599: ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1.1 parser 600: # Reject names that are not valid shell variable names.
1.3 ! paf 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" ;;
1.1 parser 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=*)
1.3 ! paf 616: x_includes=$ac_optarg ;;
1.1 parser 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=*)
1.3 ! paf 623: x_libraries=$ac_optarg ;;
1.1 parser 624:
1.3 ! paf 625: -*) { echo "$as_me: error: unrecognized option: $ac_option
! 626: Try \`$0 --help' for more information." >&2
! 627: { (exit 1); exit 1; }; }
1.1 parser 628: ;;
629:
1.3 ! paf 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:
1.1 parser 640: *)
1.3 ! paf 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}
1.1 parser 646: ;;
647:
648: esac
649: done
650:
651: if test -n "$ac_prev"; then
1.3 ! paf 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; }; }
1.1 parser 655: fi
656:
1.3 ! paf 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
1.1 parser 667:
1.3 ! paf 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
1.1 parser 671: do
1.3 ! paf 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; }; };;
1.1 parser 677: esac
678: done
679:
1.3 ! paf 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-
1.1 parser 700:
1.3 ! paf 701: test "$silent" = yes && exec 6>/dev/null
1.1 parser 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.
1.3 ! paf 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'`
1.1 parser 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
1.3 ! paf 729: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
! 730: { (exit 1); exit 1; }; }
1.1 parser 731: else
1.3 ! paf 732: { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
! 733: { (exit 1); exit 1; }; }
1.1 parser 734: fi
735: fi
1.3 ! paf 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: System types:
! 839: --build=BUILD configure for building on BUILD [guessed]
! 840: --host=HOST cross-compile to build programs to run on HOST [BUILD]
! 841: _ACEOF
! 842: fi
! 843:
! 844: if test -n "$ac_init_help"; then
! 845:
! 846: cat <<\_ACEOF
! 847:
! 848: Optional Features:
! 849: --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
! 850: --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
! 851: --enable-maintainer-mode enable make rules and dependencies not useful
! 852: (and sometimes confusing) to the casual installer
! 853: --disable-dependency-tracking Speeds up one-time builds
! 854: --enable-dependency-tracking Do not reject slow dependency extractors
! 855: --enable-shared=PKGS build shared libraries default=yes
! 856: --enable-static=PKGS build static libraries default=yes
! 857: --enable-fast-install=PKGS optimize for fast installation default=yes
! 858: --disable-libtool-lock avoid locking (might break parallel builds)
! 859: --enable-ltdl-install install libltdl
! 860:
! 861: Optional Packages:
! 862: --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
! 863: --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
! 864: --with-gnu-ld assume the C compiler uses GNU ld default=no
! 865:
! 866: Some influential environment variables:
! 867: CC C compiler command
! 868: CFLAGS C compiler flags
! 869: LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
! 870: nonstandard directory <lib dir>
! 871: CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
! 872: headers in a nonstandard directory <include dir>
! 873: CPP C preprocessor
! 874:
! 875: Use these variables to override the choices made by `configure' or to help
! 876: it to find libraries and programs with nonstandard names/locations.
! 877:
! 878: _ACEOF
! 879: fi
! 880:
! 881: if test "$ac_init_help" = "recursive"; then
! 882: # If there are subdirs, report their specific --help.
! 883: ac_popdir=`pwd`
! 884: for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
! 885: test -d $ac_dir || continue
! 886: ac_builddir=.
! 887:
! 888: if test "$ac_dir" != .; then
! 889: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 890: # A "../" for each directory in $ac_dir_suffix.
! 891: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 892: else
! 893: ac_dir_suffix= ac_top_builddir=
! 894: fi
! 895:
! 896: case $srcdir in
! 897: .) # No --srcdir option. We are building in place.
! 898: ac_srcdir=.
! 899: if test -z "$ac_top_builddir"; then
! 900: ac_top_srcdir=.
! 901: else
! 902: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 903: fi ;;
! 904: [\\/]* | ?:[\\/]* ) # Absolute path.
! 905: ac_srcdir=$srcdir$ac_dir_suffix;
! 906: ac_top_srcdir=$srcdir ;;
! 907: *) # Relative path.
! 908: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 909: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 910: esac
! 911: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! 912: # absolute.
! 913: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! 914: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
! 915: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! 916: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
! 917:
! 918: cd $ac_dir
! 919: # Check for guested configure; otherwise get Cygnus style configure.
! 920: if test -f $ac_srcdir/configure.gnu; then
! 921: echo
! 922: $SHELL $ac_srcdir/configure.gnu --help=recursive
! 923: elif test -f $ac_srcdir/configure; then
! 924: echo
! 925: $SHELL $ac_srcdir/configure --help=recursive
! 926: elif test -f $ac_srcdir/configure.ac ||
! 927: test -f $ac_srcdir/configure.in; then
! 928: echo
! 929: $ac_configure --help
! 930: else
! 931: echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
! 932: fi
! 933: cd $ac_popdir
! 934: done
! 935: fi
! 936:
! 937: test -n "$ac_init_help" && exit 0
! 938: if $ac_init_version; then
! 939: cat <<\_ACEOF
! 940:
! 941: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 2002
! 942: Free Software Foundation, Inc.
! 943: This configure script is free software; the Free Software Foundation
! 944: gives unlimited permission to copy, distribute and modify it.
! 945: _ACEOF
! 946: exit 0
! 947: fi
! 948: exec 5>config.log
! 949: cat >&5 <<_ACEOF
! 950: This file contains any messages produced by compilers while
! 951: running configure, to aid debugging if configure makes a mistake.
! 952:
! 953: It was created by $as_me, which was
! 954: generated by GNU Autoconf 2.57. Invocation command line was
! 955:
! 956: $ $0 $@
! 957:
! 958: _ACEOF
! 959: {
! 960: cat <<_ASUNAME
! 961: ## --------- ##
! 962: ## Platform. ##
! 963: ## --------- ##
! 964:
! 965: hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
! 966: uname -m = `(uname -m) 2>/dev/null || echo unknown`
! 967: uname -r = `(uname -r) 2>/dev/null || echo unknown`
! 968: uname -s = `(uname -s) 2>/dev/null || echo unknown`
! 969: uname -v = `(uname -v) 2>/dev/null || echo unknown`
! 970:
! 971: /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
! 972: /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
! 973:
! 974: /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
! 975: /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
! 976: /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
! 977: hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
! 978: /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
! 979: /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
! 980: /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
! 981:
! 982: _ASUNAME
! 983:
! 984: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 985: for as_dir in $PATH
! 986: do
! 987: IFS=$as_save_IFS
! 988: test -z "$as_dir" && as_dir=.
! 989: echo "PATH: $as_dir"
! 990: done
! 991:
! 992: } >&5
! 993:
! 994: cat >&5 <<_ACEOF
! 995:
! 996:
! 997: ## ----------- ##
! 998: ## Core tests. ##
! 999: ## ----------- ##
! 1000:
! 1001: _ACEOF
! 1002:
! 1003:
! 1004: # Keep a trace of the command line.
! 1005: # Strip out --no-create and --no-recursion so they do not pile up.
! 1006: # Strip out --silent because we don't want to record it for future runs.
! 1007: # Also quote any args containing shell meta-characters.
! 1008: # Make two passes to allow for proper duplicate-argument suppression.
! 1009: ac_configure_args=
! 1010: ac_configure_args0=
! 1011: ac_configure_args1=
! 1012: ac_sep=
! 1013: ac_must_keep_next=false
! 1014: for ac_pass in 1 2
! 1015: do
! 1016: for ac_arg
! 1017: do
! 1018: case $ac_arg in
! 1019: -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
! 1020: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 1021: | -silent | --silent | --silen | --sile | --sil)
! 1022: continue ;;
! 1023: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! 1024: ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1025: esac
! 1026: case $ac_pass in
! 1027: 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
! 1028: 2)
! 1029: ac_configure_args1="$ac_configure_args1 '$ac_arg'"
! 1030: if test $ac_must_keep_next = true; then
! 1031: ac_must_keep_next=false # Got value, back to normal.
! 1032: else
! 1033: case $ac_arg in
! 1034: *=* | --config-cache | -C | -disable-* | --disable-* \
! 1035: | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
! 1036: | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
! 1037: | -with-* | --with-* | -without-* | --without-* | --x)
! 1038: case "$ac_configure_args0 " in
! 1039: "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
! 1040: esac
! 1041: ;;
! 1042: -* ) ac_must_keep_next=true ;;
! 1043: esac
! 1044: fi
! 1045: ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
! 1046: # Get rid of the leading space.
! 1047: ac_sep=" "
! 1048: ;;
! 1049: esac
! 1050: done
! 1051: done
! 1052: $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
! 1053: $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
! 1054:
! 1055: # When interrupted or exit'd, cleanup temporary files, and complete
! 1056: # config.log. We remove comments because anyway the quotes in there
! 1057: # would cause problems or look ugly.
! 1058: # WARNING: Be sure not to use single quotes in there, as some shells,
! 1059: # such as our DU 5.0 friend, will then `close' the trap.
! 1060: trap 'exit_status=$?
! 1061: # Save into config.log some information that might help in debugging.
! 1062: {
! 1063: echo
! 1064:
! 1065: cat <<\_ASBOX
! 1066: ## ---------------- ##
! 1067: ## Cache variables. ##
! 1068: ## ---------------- ##
! 1069: _ASBOX
! 1070: echo
! 1071: # The following way of writing the cache mishandles newlines in values,
! 1072: {
! 1073: (set) 2>&1 |
! 1074: case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
! 1075: *ac_space=\ *)
! 1076: sed -n \
! 1077: "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
! 1078: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
! 1079: ;;
! 1080: *)
! 1081: sed -n \
! 1082: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 1083: ;;
! 1084: esac;
! 1085: }
! 1086: echo
! 1087:
! 1088: cat <<\_ASBOX
! 1089: ## ----------------- ##
! 1090: ## Output variables. ##
! 1091: ## ----------------- ##
! 1092: _ASBOX
! 1093: echo
! 1094: for ac_var in $ac_subst_vars
! 1095: do
! 1096: eval ac_val=$`echo $ac_var`
! 1097: echo "$ac_var='"'"'$ac_val'"'"'"
! 1098: done | sort
! 1099: echo
! 1100:
! 1101: if test -n "$ac_subst_files"; then
! 1102: cat <<\_ASBOX
! 1103: ## ------------- ##
! 1104: ## Output files. ##
! 1105: ## ------------- ##
! 1106: _ASBOX
! 1107: echo
! 1108: for ac_var in $ac_subst_files
! 1109: do
! 1110: eval ac_val=$`echo $ac_var`
! 1111: echo "$ac_var='"'"'$ac_val'"'"'"
! 1112: done | sort
! 1113: echo
! 1114: fi
1.1 parser 1115:
1.3 ! paf 1116: if test -s confdefs.h; then
! 1117: cat <<\_ASBOX
! 1118: ## ----------- ##
! 1119: ## confdefs.h. ##
! 1120: ## ----------- ##
! 1121: _ASBOX
! 1122: echo
! 1123: sed "/^$/d" confdefs.h | sort
! 1124: echo
! 1125: fi
! 1126: test "$ac_signal" != 0 &&
! 1127: echo "$as_me: caught signal $ac_signal"
! 1128: echo "$as_me: exit $exit_status"
! 1129: } >&5
! 1130: rm -f core core.* *.core &&
! 1131: rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
! 1132: exit $exit_status
! 1133: ' 0
! 1134: for ac_signal in 1 2 13 15; do
! 1135: trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
! 1136: done
! 1137: ac_signal=0
! 1138:
! 1139: # confdefs.h avoids OS command line length limits that DEFS can exceed.
! 1140: rm -rf conftest* confdefs.h
! 1141: # AIX cpp loses on an empty file, so make sure it contains at least a newline.
! 1142: echo >confdefs.h
! 1143:
! 1144: # Predefined preprocessor variables.
! 1145:
! 1146: cat >>confdefs.h <<_ACEOF
! 1147: #define PACKAGE_NAME "$PACKAGE_NAME"
! 1148: _ACEOF
! 1149:
! 1150:
! 1151: cat >>confdefs.h <<_ACEOF
! 1152: #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
! 1153: _ACEOF
! 1154:
! 1155:
! 1156: cat >>confdefs.h <<_ACEOF
! 1157: #define PACKAGE_VERSION "$PACKAGE_VERSION"
! 1158: _ACEOF
! 1159:
! 1160:
! 1161: cat >>confdefs.h <<_ACEOF
! 1162: #define PACKAGE_STRING "$PACKAGE_STRING"
! 1163: _ACEOF
! 1164:
! 1165:
! 1166: cat >>confdefs.h <<_ACEOF
! 1167: #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
! 1168: _ACEOF
! 1169:
! 1170:
! 1171: # Let the site file select an alternate cache file if it wants to.
1.1 parser 1172: # Prefer explicitly selected file to automatically selected ones.
1173: if test -z "$CONFIG_SITE"; then
1174: if test "x$prefix" != xNONE; then
1175: CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1176: else
1177: CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1178: fi
1179: fi
1180: for ac_site_file in $CONFIG_SITE; do
1181: if test -r "$ac_site_file"; then
1.3 ! paf 1182: { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
! 1183: echo "$as_me: loading site script $ac_site_file" >&6;}
! 1184: sed 's/^/| /' "$ac_site_file" >&5
1.1 parser 1185: . "$ac_site_file"
1186: fi
1187: done
1188:
1189: if test -r "$cache_file"; then
1.3 ! paf 1190: # Some versions of bash will fail to source /dev/null (special
! 1191: # files actually), so we avoid doing that.
! 1192: if test -f "$cache_file"; then
! 1193: { echo "$as_me:$LINENO: loading cache $cache_file" >&5
! 1194: echo "$as_me: loading cache $cache_file" >&6;}
! 1195: case $cache_file in
! 1196: [\\/]* | ?:[\\/]* ) . $cache_file;;
! 1197: *) . ./$cache_file;;
! 1198: esac
! 1199: fi
1.1 parser 1200: else
1.3 ! paf 1201: { echo "$as_me:$LINENO: creating cache $cache_file" >&5
! 1202: echo "$as_me: creating cache $cache_file" >&6;}
! 1203: >$cache_file
! 1204: fi
! 1205:
! 1206: # Check that the precious variables saved in the cache have kept the same
! 1207: # value.
! 1208: ac_cache_corrupted=false
! 1209: for ac_var in `(set) 2>&1 |
! 1210: sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
! 1211: eval ac_old_set=\$ac_cv_env_${ac_var}_set
! 1212: eval ac_new_set=\$ac_env_${ac_var}_set
! 1213: eval ac_old_val="\$ac_cv_env_${ac_var}_value"
! 1214: eval ac_new_val="\$ac_env_${ac_var}_value"
! 1215: case $ac_old_set,$ac_new_set in
! 1216: set,)
! 1217: { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
! 1218: echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
! 1219: ac_cache_corrupted=: ;;
! 1220: ,set)
! 1221: { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
! 1222: echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
! 1223: ac_cache_corrupted=: ;;
! 1224: ,);;
! 1225: *)
! 1226: if test "x$ac_old_val" != "x$ac_new_val"; then
! 1227: { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
! 1228: echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
! 1229: { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
! 1230: echo "$as_me: former value: $ac_old_val" >&2;}
! 1231: { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
! 1232: echo "$as_me: current value: $ac_new_val" >&2;}
! 1233: ac_cache_corrupted=:
! 1234: fi;;
! 1235: esac
! 1236: # Pass precious variables to config.status.
! 1237: if test "$ac_new_set" = set; then
! 1238: case $ac_new_val in
! 1239: *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
! 1240: ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
! 1241: *) ac_arg=$ac_var=$ac_new_val ;;
! 1242: esac
! 1243: case " $ac_configure_args " in
! 1244: *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
! 1245: *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
! 1246: esac
! 1247: fi
! 1248: done
! 1249: if $ac_cache_corrupted; then
! 1250: { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
! 1251: echo "$as_me: error: changes in the environment can compromise the build" >&2;}
! 1252: { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
! 1253: echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
! 1254: { (exit 1); exit 1; }; }
1.1 parser 1255: fi
1256:
1257: ac_ext=c
1258: ac_cpp='$CPP $CPPFLAGS'
1.3 ! paf 1259: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1260: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1261: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1262:
! 1263:
! 1264:
! 1265:
! 1266:
! 1267:
! 1268:
! 1269:
! 1270:
! 1271:
! 1272:
! 1273:
! 1274:
! 1275:
! 1276:
! 1277:
! 1278:
1.1 parser 1279:
1280:
1281:
1282: enable_ltdl_install=yes
1283:
1.3 ! paf 1284: am__api_version="1.7"
1.1 parser 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
1.3 ! paf 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
1.1 parser 1299: fi
1300: done
1301: if test -z "$ac_aux_dir"; then
1.3 ! paf 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.
1.1 parser 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
1.3 ! paf 1317: # AmigaOS /C/install, which installs bootblocks on floppy discs
1.1 parser 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.
1.3 ! paf 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
1.1 parser 1324: if test -z "$INSTALL"; then
1.3 ! paf 1325: if test "${ac_cv_path_install+set}" = set; then
! 1326: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1327: else
1.3 ! paf 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
1.1 parser 1358: done
1.3 ! paf 1359: done
! 1360: ;;
! 1361: esac
! 1362: done
! 1363:
1.1 parser 1364:
1365: fi
1366: if test "${ac_cv_path_install+set}" = set; then
1.3 ! paf 1367: INSTALL=$ac_cv_path_install
1.1 parser 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.
1.3 ! paf 1373: INSTALL=$ac_install_sh
1.1 parser 1374: fi
1375: fi
1.3 ! paf 1376: echo "$as_me:$LINENO: result: $INSTALL" >&5
! 1377: echo "${ECHO_T}$INSTALL" >&6
1.1 parser 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:
1.3 ! paf 1383: test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1.1 parser 1384:
1385: test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1386:
1.3 ! paf 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
1.1 parser 1389: # Just in case
1390: sleep 1
1.3 ! paf 1391: echo timestamp > conftest.file
1.1 parser 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 (
1.3 ! paf 1398: set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1.1 parser 1399: if test "$*" = "X"; then
1400: # -L didn't work.
1.3 ! paf 1401: set X `ls -t $srcdir/configure conftest.file`
1.1 parser 1402: fi
1.3 ! paf 1403: rm -f conftest.file
! 1404: if test "$*" != "X $srcdir/configure conftest.file" \
! 1405: && test "$*" != "X conftest.file $srcdir/configure"; then
1.1 parser 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".
1.3 ! paf 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; }; }
1.1 parser 1416: fi
1417:
1.3 ! paf 1418: test "$2" = conftest.file
1.1 parser 1419: )
1420: then
1421: # Ok.
1422: :
1423: else
1.3 ! paf 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; }; }
1.1 parser 1429: fi
1.3 ! paf 1430: echo "$as_me:$LINENO: result: yes" >&5
! 1431: echo "${ECHO_T}yes" >&6
1.1 parser 1432: test "$program_prefix" != NONE &&
1.3 ! paf 1433: program_transform_name="s,^,$program_prefix,;$program_transform_name"
1.1 parser 1434: # Use a double $ so make ignores it.
1435: test "$program_suffix" != NONE &&
1.3 ! paf 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=`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: { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
! 1456: echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
! 1457: fi
! 1458:
! 1459: for ac_prog in gawk mawk nawk awk
! 1460: do
! 1461: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 1462: set dummy $ac_prog; ac_word=$2
! 1463: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1464: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1465: if test "${ac_cv_prog_AWK+set}" = set; then
! 1466: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1467: else
! 1468: if test -n "$AWK"; then
! 1469: ac_cv_prog_AWK="$AWK" # Let the user override the test.
! 1470: else
! 1471: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1472: for as_dir in $PATH
! 1473: do
! 1474: IFS=$as_save_IFS
! 1475: test -z "$as_dir" && as_dir=.
! 1476: for ac_exec_ext in '' $ac_executable_extensions; do
! 1477: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1478: ac_cv_prog_AWK="$ac_prog"
! 1479: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1480: break 2
! 1481: fi
! 1482: done
! 1483: done
! 1484:
! 1485: fi
! 1486: fi
! 1487: AWK=$ac_cv_prog_AWK
! 1488: if test -n "$AWK"; then
! 1489: echo "$as_me:$LINENO: result: $AWK" >&5
! 1490: echo "${ECHO_T}$AWK" >&6
! 1491: else
! 1492: echo "$as_me:$LINENO: result: no" >&5
! 1493: echo "${ECHO_T}no" >&6
! 1494: fi
1.1 parser 1495:
1.3 ! paf 1496: test -n "$AWK" && break
! 1497: done
1.1 parser 1498:
1.3 ! paf 1499: echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
! 1500: echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
! 1501: set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
! 1502: if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
! 1503: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1504: else
1.3 ! paf 1505: cat >conftest.make <<\_ACEOF
1.1 parser 1506: all:
1.3 ! paf 1507: @echo 'ac_maketemp="$(MAKE)"'
! 1508: _ACEOF
1.1 parser 1509: # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1.3 ! paf 1510: eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1.1 parser 1511: if test -n "$ac_maketemp"; then
1512: eval ac_cv_prog_make_${ac_make}_set=yes
1513: else
1514: eval ac_cv_prog_make_${ac_make}_set=no
1515: fi
1.3 ! paf 1516: rm -f conftest.make
1.1 parser 1517: fi
1518: if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1.3 ! paf 1519: echo "$as_me:$LINENO: result: yes" >&5
! 1520: echo "${ECHO_T}yes" >&6
1.1 parser 1521: SET_MAKE=
1522: else
1.3 ! paf 1523: echo "$as_me:$LINENO: result: no" >&5
! 1524: echo "${ECHO_T}no" >&6
1.1 parser 1525: SET_MAKE="MAKE=${MAKE-make}"
1526: fi
1527:
1.3 ! paf 1528: # test to see if srcdir already configured
! 1529: if test "`cd $srcdir && pwd`" != "`pwd`" &&
! 1530: test -f $srcdir/config.status; then
! 1531: { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
! 1532: echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
! 1533: { (exit 1); exit 1; }; }
! 1534: fi
! 1535:
! 1536: # test whether we have cygpath
! 1537: if test -z "$CYGPATH_W"; then
! 1538: if (cygpath --version) >/dev/null 2>/dev/null; then
! 1539: CYGPATH_W='cygpath -w'
! 1540: else
! 1541: CYGPATH_W=echo
! 1542: fi
! 1543: fi
! 1544:
! 1545:
! 1546: # Define the identity of the package.
! 1547: PACKAGE=libltdl
! 1548: VERSION=1.0
! 1549:
! 1550:
! 1551: # Some tools Automake needs.
! 1552:
! 1553: ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
! 1554:
! 1555:
! 1556: AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
! 1557:
! 1558:
! 1559: AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1.1 parser 1560:
1561:
1.3 ! paf 1562: AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
! 1563:
! 1564:
! 1565: MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1.1 parser 1566:
1567:
1.3 ! paf 1568: AMTAR=${AMTAR-"${am_missing_run}tar"}
1.1 parser 1569:
1.3 ! paf 1570: install_sh=${install_sh-"$am_aux_dir/install-sh"}
1.1 parser 1571:
1.3 ! paf 1572: # Installed binaries are usually stripped using `strip' when the user
! 1573: # run `make install-strip'. However `strip' might not be the right
! 1574: # tool to use in cross-compilation environments, therefore Automake
! 1575: # will honor the `STRIP' environment variable to overrule this program.
! 1576: if test "$cross_compiling" != no; then
! 1577: if test -n "$ac_tool_prefix"; then
! 1578: # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
! 1579: set dummy ${ac_tool_prefix}strip; ac_word=$2
! 1580: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1581: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1582: if test "${ac_cv_prog_STRIP+set}" = set; then
! 1583: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1584: else
! 1585: if test -n "$STRIP"; then
! 1586: ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1.1 parser 1587: else
1.3 ! paf 1588: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1589: for as_dir in $PATH
! 1590: do
! 1591: IFS=$as_save_IFS
! 1592: test -z "$as_dir" && as_dir=.
! 1593: for ac_exec_ext in '' $ac_executable_extensions; do
! 1594: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1595: ac_cv_prog_STRIP="${ac_tool_prefix}strip"
! 1596: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1597: break 2
! 1598: fi
! 1599: done
! 1600: done
! 1601:
! 1602: fi
! 1603: fi
! 1604: STRIP=$ac_cv_prog_STRIP
! 1605: if test -n "$STRIP"; then
! 1606: echo "$as_me:$LINENO: result: $STRIP" >&5
! 1607: echo "${ECHO_T}$STRIP" >&6
! 1608: else
! 1609: echo "$as_me:$LINENO: result: no" >&5
! 1610: echo "${ECHO_T}no" >&6
1.1 parser 1611: fi
1612:
1.3 ! paf 1613: fi
! 1614: if test -z "$ac_cv_prog_STRIP"; then
! 1615: ac_ct_STRIP=$STRIP
! 1616: # Extract the first word of "strip", so it can be a program name with args.
! 1617: set dummy strip; ac_word=$2
! 1618: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1619: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1620: if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
! 1621: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1622: else
1.3 ! paf 1623: if test -n "$ac_ct_STRIP"; then
! 1624: ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
! 1625: else
! 1626: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1627: for as_dir in $PATH
! 1628: do
! 1629: IFS=$as_save_IFS
! 1630: test -z "$as_dir" && as_dir=.
! 1631: for ac_exec_ext in '' $ac_executable_extensions; do
! 1632: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1633: ac_cv_prog_ac_ct_STRIP="strip"
! 1634: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1635: break 2
! 1636: fi
! 1637: done
! 1638: done
! 1639:
! 1640: test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1.1 parser 1641: fi
1.3 ! paf 1642: fi
! 1643: ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
! 1644: if test -n "$ac_ct_STRIP"; then
! 1645: echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
! 1646: echo "${ECHO_T}$ac_ct_STRIP" >&6
1.1 parser 1647: else
1.3 ! paf 1648: echo "$as_me:$LINENO: result: no" >&5
! 1649: echo "${ECHO_T}no" >&6
1.1 parser 1650: fi
1651:
1.3 ! paf 1652: STRIP=$ac_ct_STRIP
1.1 parser 1653: else
1.3 ! paf 1654: STRIP="$ac_cv_prog_STRIP"
1.1 parser 1655: fi
1656:
1657: fi
1.3 ! paf 1658: INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
! 1659:
! 1660: # We need awk for the "check" target. The system "awk" is bad on
! 1661: # some platforms.
! 1662:
! 1663:
! 1664:
! 1665:
! 1666:
! 1667:
! 1668:
! 1669:
! 1670:
! 1671:
1.1 parser 1672:
1673:
1674:
1675:
1.3 ! paf 1676: ac_config_headers="$ac_config_headers config_auto.h"
1.1 parser 1677:
1.3 ! paf 1678: echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
! 1679: echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1.1 parser 1680: # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1681: if test "${enable_maintainer_mode+set}" = set; then
1682: enableval="$enable_maintainer_mode"
1683: USE_MAINTAINER_MODE=$enableval
1684: else
1685: USE_MAINTAINER_MODE=no
1.3 ! paf 1686: fi;
! 1687: echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
! 1688: echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1.1 parser 1689:
1690:
1691: if test $USE_MAINTAINER_MODE = yes; then
1692: MAINTAINER_MODE_TRUE=
1693: MAINTAINER_MODE_FALSE='#'
1694: else
1695: MAINTAINER_MODE_TRUE='#'
1696: MAINTAINER_MODE_FALSE=
1697: fi
1.3 ! paf 1698:
1.1 parser 1699: MAINT=$MAINTAINER_MODE_TRUE
1700:
1701:
1.3 ! paf 1702:
! 1703: ac_ext=c
! 1704: ac_cpp='$CPP $CPPFLAGS'
! 1705: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 1706: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 1707: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 1708: if test -n "$ac_tool_prefix"; then
! 1709: # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
! 1710: set dummy ${ac_tool_prefix}gcc; ac_word=$2
! 1711: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1712: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1713: if test "${ac_cv_prog_CC+set}" = set; then
! 1714: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1715: else
! 1716: if test -n "$CC"; then
! 1717: ac_cv_prog_CC="$CC" # Let the user override the test.
! 1718: else
! 1719: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1720: for as_dir in $PATH
! 1721: do
! 1722: IFS=$as_save_IFS
! 1723: test -z "$as_dir" && as_dir=.
! 1724: for ac_exec_ext in '' $ac_executable_extensions; do
! 1725: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1726: ac_cv_prog_CC="${ac_tool_prefix}gcc"
! 1727: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1728: break 2
! 1729: fi
! 1730: done
! 1731: done
! 1732:
! 1733: fi
! 1734: fi
! 1735: CC=$ac_cv_prog_CC
! 1736: if test -n "$CC"; then
! 1737: echo "$as_me:$LINENO: result: $CC" >&5
! 1738: echo "${ECHO_T}$CC" >&6
! 1739: else
! 1740: echo "$as_me:$LINENO: result: no" >&5
! 1741: echo "${ECHO_T}no" >&6
! 1742: fi
! 1743:
! 1744: fi
! 1745: if test -z "$ac_cv_prog_CC"; then
! 1746: ac_ct_CC=$CC
! 1747: # Extract the first word of "gcc", so it can be a program name with args.
1.1 parser 1748: set dummy gcc; ac_word=$2
1.3 ! paf 1749: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1750: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1751: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1752: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1753: else
! 1754: if test -n "$ac_ct_CC"; then
! 1755: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1756: else
! 1757: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1758: for as_dir in $PATH
! 1759: do
! 1760: IFS=$as_save_IFS
! 1761: test -z "$as_dir" && as_dir=.
! 1762: for ac_exec_ext in '' $ac_executable_extensions; do
! 1763: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1764: ac_cv_prog_ac_ct_CC="gcc"
! 1765: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1766: break 2
! 1767: fi
! 1768: done
! 1769: done
! 1770:
! 1771: fi
! 1772: fi
! 1773: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1774: if test -n "$ac_ct_CC"; then
! 1775: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 1776: echo "${ECHO_T}$ac_ct_CC" >&6
! 1777: else
! 1778: echo "$as_me:$LINENO: result: no" >&5
! 1779: echo "${ECHO_T}no" >&6
! 1780: fi
! 1781:
! 1782: CC=$ac_ct_CC
! 1783: else
! 1784: CC="$ac_cv_prog_CC"
! 1785: fi
! 1786:
! 1787: if test -z "$CC"; then
! 1788: if test -n "$ac_tool_prefix"; then
! 1789: # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
! 1790: set dummy ${ac_tool_prefix}cc; ac_word=$2
! 1791: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1792: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1793: if test "${ac_cv_prog_CC+set}" = set; then
! 1794: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1795: else
1796: if test -n "$CC"; then
1797: ac_cv_prog_CC="$CC" # Let the user override the test.
1798: else
1.3 ! paf 1799: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1800: for as_dir in $PATH
! 1801: do
! 1802: IFS=$as_save_IFS
! 1803: test -z "$as_dir" && as_dir=.
! 1804: for ac_exec_ext in '' $ac_executable_extensions; do
! 1805: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1806: ac_cv_prog_CC="${ac_tool_prefix}cc"
! 1807: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1808: break 2
! 1809: fi
! 1810: done
! 1811: done
! 1812:
1.1 parser 1813: fi
1814: fi
1.3 ! paf 1815: CC=$ac_cv_prog_CC
1.1 parser 1816: if test -n "$CC"; then
1.3 ! paf 1817: echo "$as_me:$LINENO: result: $CC" >&5
! 1818: echo "${ECHO_T}$CC" >&6
! 1819: else
! 1820: echo "$as_me:$LINENO: result: no" >&5
! 1821: echo "${ECHO_T}no" >&6
! 1822: fi
! 1823:
! 1824: fi
! 1825: if test -z "$ac_cv_prog_CC"; then
! 1826: ac_ct_CC=$CC
! 1827: # Extract the first word of "cc", so it can be a program name with args.
! 1828: set dummy cc; ac_word=$2
! 1829: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1830: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1831: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1832: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1833: else
! 1834: if test -n "$ac_ct_CC"; then
! 1835: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1836: else
! 1837: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1838: for as_dir in $PATH
! 1839: do
! 1840: IFS=$as_save_IFS
! 1841: test -z "$as_dir" && as_dir=.
! 1842: for ac_exec_ext in '' $ac_executable_extensions; do
! 1843: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1844: ac_cv_prog_ac_ct_CC="cc"
! 1845: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1846: break 2
! 1847: fi
! 1848: done
! 1849: done
! 1850:
! 1851: fi
! 1852: fi
! 1853: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1854: if test -n "$ac_ct_CC"; then
! 1855: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 1856: echo "${ECHO_T}$ac_ct_CC" >&6
! 1857: else
! 1858: echo "$as_me:$LINENO: result: no" >&5
! 1859: echo "${ECHO_T}no" >&6
! 1860: fi
! 1861:
! 1862: CC=$ac_ct_CC
1.1 parser 1863: else
1.3 ! paf 1864: CC="$ac_cv_prog_CC"
1.1 parser 1865: fi
1866:
1.3 ! paf 1867: fi
1.1 parser 1868: if test -z "$CC"; then
1869: # Extract the first word of "cc", so it can be a program name with args.
1870: set dummy cc; ac_word=$2
1.3 ! paf 1871: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1872: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1873: if test "${ac_cv_prog_CC+set}" = set; then
! 1874: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1875: else
1876: if test -n "$CC"; then
1877: ac_cv_prog_CC="$CC" # Let the user override the test.
1878: else
1879: ac_prog_rejected=no
1.3 ! paf 1880: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1881: for as_dir in $PATH
! 1882: do
! 1883: IFS=$as_save_IFS
! 1884: test -z "$as_dir" && as_dir=.
! 1885: for ac_exec_ext in '' $ac_executable_extensions; do
! 1886: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1887: if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
! 1888: ac_prog_rejected=yes
! 1889: continue
! 1890: fi
! 1891: ac_cv_prog_CC="cc"
! 1892: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1893: break 2
! 1894: fi
! 1895: done
! 1896: done
! 1897:
1.1 parser 1898: if test $ac_prog_rejected = yes; then
1899: # We found a bogon in the path, so make sure we never use it.
1900: set dummy $ac_cv_prog_CC
1901: shift
1.3 ! paf 1902: if test $# != 0; then
1.1 parser 1903: # We chose a different compiler from the bogus one.
1904: # However, it has the same basename, so the bogon will be chosen
1905: # first if we set CC to just the basename; use the full file name.
1906: shift
1.3 ! paf 1907: ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1.1 parser 1908: fi
1909: fi
1910: fi
1911: fi
1.3 ! paf 1912: CC=$ac_cv_prog_CC
1.1 parser 1913: if test -n "$CC"; then
1.3 ! paf 1914: echo "$as_me:$LINENO: result: $CC" >&5
! 1915: echo "${ECHO_T}$CC" >&6
1.1 parser 1916: else
1.3 ! paf 1917: echo "$as_me:$LINENO: result: no" >&5
! 1918: echo "${ECHO_T}no" >&6
1.1 parser 1919: fi
1920:
1.3 ! paf 1921: fi
! 1922: if test -z "$CC"; then
! 1923: if test -n "$ac_tool_prefix"; then
! 1924: for ac_prog in cl
! 1925: do
! 1926: # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
! 1927: set dummy $ac_tool_prefix$ac_prog; ac_word=$2
! 1928: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1929: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1930: if test "${ac_cv_prog_CC+set}" = set; then
! 1931: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 1932: else
1933: if test -n "$CC"; then
1934: ac_cv_prog_CC="$CC" # Let the user override the test.
1935: else
1.3 ! paf 1936: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1937: for as_dir in $PATH
! 1938: do
! 1939: IFS=$as_save_IFS
! 1940: test -z "$as_dir" && as_dir=.
! 1941: for ac_exec_ext in '' $ac_executable_extensions; do
! 1942: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1943: ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
! 1944: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1945: break 2
! 1946: fi
! 1947: done
! 1948: done
! 1949:
1.1 parser 1950: fi
1951: fi
1.3 ! paf 1952: CC=$ac_cv_prog_CC
1.1 parser 1953: if test -n "$CC"; then
1.3 ! paf 1954: echo "$as_me:$LINENO: result: $CC" >&5
! 1955: echo "${ECHO_T}$CC" >&6
1.1 parser 1956: else
1.3 ! paf 1957: echo "$as_me:$LINENO: result: no" >&5
! 1958: echo "${ECHO_T}no" >&6
! 1959: fi
! 1960:
! 1961: test -n "$CC" && break
! 1962: done
1.1 parser 1963: fi
1.3 ! paf 1964: if test -z "$CC"; then
! 1965: ac_ct_CC=$CC
! 1966: for ac_prog in cl
! 1967: do
! 1968: # Extract the first word of "$ac_prog", so it can be a program name with args.
! 1969: set dummy $ac_prog; ac_word=$2
! 1970: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 1971: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 1972: if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
! 1973: echo $ECHO_N "(cached) $ECHO_C" >&6
! 1974: else
! 1975: if test -n "$ac_ct_CC"; then
! 1976: ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
! 1977: else
! 1978: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 1979: for as_dir in $PATH
! 1980: do
! 1981: IFS=$as_save_IFS
! 1982: test -z "$as_dir" && as_dir=.
! 1983: for ac_exec_ext in '' $ac_executable_extensions; do
! 1984: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 1985: ac_cv_prog_ac_ct_CC="$ac_prog"
! 1986: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 1987: break 2
1.1 parser 1988: fi
1.3 ! paf 1989: done
! 1990: done
! 1991:
! 1992: fi
! 1993: fi
! 1994: ac_ct_CC=$ac_cv_prog_ac_ct_CC
! 1995: if test -n "$ac_ct_CC"; then
! 1996: echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
! 1997: echo "${ECHO_T}$ac_ct_CC" >&6
! 1998: else
! 1999: echo "$as_me:$LINENO: result: no" >&5
! 2000: echo "${ECHO_T}no" >&6
! 2001: fi
! 2002:
! 2003: test -n "$ac_ct_CC" && break
! 2004: done
! 2005:
! 2006: CC=$ac_ct_CC
! 2007: fi
! 2008:
1.1 parser 2009: fi
2010:
2011:
1.3 ! paf 2012: test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
! 2013: See \`config.log' for more details." >&5
! 2014: echo "$as_me: error: no acceptable C compiler found in \$PATH
! 2015: See \`config.log' for more details." >&2;}
! 2016: { (exit 1); exit 1; }; }
! 2017:
! 2018: # Provide some information about the compiler.
! 2019: echo "$as_me:$LINENO:" \
! 2020: "checking for C compiler version" >&5
! 2021: ac_compiler=`set X $ac_compile; echo $2`
! 2022: { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
! 2023: (eval $ac_compiler --version </dev/null >&5) 2>&5
! 2024: ac_status=$?
! 2025: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2026: (exit $ac_status); }
! 2027: { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
! 2028: (eval $ac_compiler -v </dev/null >&5) 2>&5
! 2029: ac_status=$?
! 2030: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2031: (exit $ac_status); }
! 2032: { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
! 2033: (eval $ac_compiler -V </dev/null >&5) 2>&5
! 2034: ac_status=$?
! 2035: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2036: (exit $ac_status); }
! 2037:
! 2038: cat >conftest.$ac_ext <<_ACEOF
! 2039: #line $LINENO "configure"
! 2040: /* confdefs.h. */
! 2041: _ACEOF
! 2042: cat confdefs.h >>conftest.$ac_ext
! 2043: cat >>conftest.$ac_ext <<_ACEOF
! 2044: /* end confdefs.h. */
1.1 parser 2045:
1.3 ! paf 2046: int
! 2047: main ()
! 2048: {
1.1 parser 2049:
1.3 ! paf 2050: ;
! 2051: return 0;
! 2052: }
! 2053: _ACEOF
! 2054: ac_clean_files_save=$ac_clean_files
! 2055: ac_clean_files="$ac_clean_files a.out a.exe b.out"
! 2056: # Try to create an executable without -o first, disregard a.out.
! 2057: # It will help us diagnose broken compilers, and finding out an intuition
! 2058: # of exeext.
! 2059: echo "$as_me:$LINENO: checking for C compiler default output" >&5
! 2060: echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
! 2061: ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
! 2062: if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
! 2063: (eval $ac_link_default) 2>&5
! 2064: ac_status=$?
! 2065: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2066: (exit $ac_status); }; then
! 2067: # Find the output, starting from the most likely. This scheme is
! 2068: # not robust to junk in `.', hence go to wildcards (a.*) only as a last
! 2069: # resort.
! 2070:
! 2071: # Be careful to initialize this variable, since it used to be cached.
! 2072: # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
! 2073: ac_cv_exeext=
! 2074: # b.out is created by i960 compilers.
! 2075: for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
! 2076: do
! 2077: test -f "$ac_file" || continue
! 2078: case $ac_file in
! 2079: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
! 2080: ;;
! 2081: conftest.$ac_ext )
! 2082: # This is the source file.
! 2083: ;;
! 2084: [ab].out )
! 2085: # We found the default executable, but exeext='' is most
! 2086: # certainly right.
! 2087: break;;
! 2088: *.* )
! 2089: ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2090: # FIXME: I believe we export ac_cv_exeext for Libtool,
! 2091: # but it would be cool to find out if it's true. Does anybody
! 2092: # maintain Libtool? --akim.
! 2093: export ac_cv_exeext
! 2094: break;;
! 2095: * )
! 2096: break;;
! 2097: esac
! 2098: done
! 2099: else
! 2100: echo "$as_me: failed program was:" >&5
! 2101: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 2102:
1.3 ! paf 2103: { { echo "$as_me:$LINENO: error: C compiler cannot create executables
! 2104: See \`config.log' for more details." >&5
! 2105: echo "$as_me: error: C compiler cannot create executables
! 2106: See \`config.log' for more details." >&2;}
! 2107: { (exit 77); exit 77; }; }
! 2108: fi
! 2109:
! 2110: ac_exeext=$ac_cv_exeext
! 2111: echo "$as_me:$LINENO: result: $ac_file" >&5
! 2112: echo "${ECHO_T}$ac_file" >&6
! 2113:
! 2114: # Check the compiler produces executables we can run. If not, either
! 2115: # the compiler is broken, or we cross compile.
! 2116: echo "$as_me:$LINENO: checking whether the C compiler works" >&5
! 2117: echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
! 2118: # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
! 2119: # If not cross compiling, check that we can run a simple program.
! 2120: if test "$cross_compiling" != yes; then
! 2121: if { ac_try='./$ac_file'
! 2122: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2123: (eval $ac_try) 2>&5
! 2124: ac_status=$?
! 2125: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2126: (exit $ac_status); }; }; then
! 2127: cross_compiling=no
1.1 parser 2128: else
1.3 ! paf 2129: if test "$cross_compiling" = maybe; then
! 2130: cross_compiling=yes
! 2131: else
! 2132: { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
! 2133: If you meant to cross compile, use \`--host'.
! 2134: See \`config.log' for more details." >&5
! 2135: echo "$as_me: error: cannot run C compiled programs.
! 2136: If you meant to cross compile, use \`--host'.
! 2137: See \`config.log' for more details." >&2;}
! 2138: { (exit 1); exit 1; }; }
! 2139: fi
1.1 parser 2140: fi
2141: fi
1.3 ! paf 2142: echo "$as_me:$LINENO: result: yes" >&5
! 2143: echo "${ECHO_T}yes" >&6
! 2144:
! 2145: rm -f a.out a.exe conftest$ac_cv_exeext b.out
! 2146: ac_clean_files=$ac_clean_files_save
! 2147: # Check the compiler produces executables we can run. If not, either
! 2148: # the compiler is broken, or we cross compile.
! 2149: echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
! 2150: echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
! 2151: echo "$as_me:$LINENO: result: $cross_compiling" >&5
! 2152: echo "${ECHO_T}$cross_compiling" >&6
! 2153:
! 2154: echo "$as_me:$LINENO: checking for suffix of executables" >&5
! 2155: echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
! 2156: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 2157: (eval $ac_link) 2>&5
! 2158: ac_status=$?
! 2159: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2160: (exit $ac_status); }; then
! 2161: # If both `conftest.exe' and `conftest' are `present' (well, observable)
! 2162: # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
! 2163: # work properly (i.e., refer to `conftest.exe'), while it won't with
! 2164: # `rm'.
! 2165: for ac_file in conftest.exe conftest conftest.*; do
! 2166: test -f "$ac_file" || continue
! 2167: case $ac_file in
! 2168: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
! 2169: *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
! 2170: export ac_cv_exeext
! 2171: break;;
! 2172: * ) break;;
! 2173: esac
! 2174: done
1.1 parser 2175: else
1.3 ! paf 2176: { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
! 2177: See \`config.log' for more details." >&5
! 2178: echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
! 2179: See \`config.log' for more details." >&2;}
! 2180: { (exit 1); exit 1; }; }
! 2181: fi
! 2182:
! 2183: rm -f conftest$ac_cv_exeext
! 2184: echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
! 2185: echo "${ECHO_T}$ac_cv_exeext" >&6
! 2186:
! 2187: rm -f conftest.$ac_ext
! 2188: EXEEXT=$ac_cv_exeext
! 2189: ac_exeext=$EXEEXT
! 2190: echo "$as_me:$LINENO: checking for suffix of object files" >&5
! 2191: echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
! 2192: if test "${ac_cv_objext+set}" = set; then
! 2193: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2194: else
! 2195: cat >conftest.$ac_ext <<_ACEOF
! 2196: #line $LINENO "configure"
! 2197: /* confdefs.h. */
! 2198: _ACEOF
! 2199: cat confdefs.h >>conftest.$ac_ext
! 2200: cat >>conftest.$ac_ext <<_ACEOF
! 2201: /* end confdefs.h. */
1.1 parser 2202:
1.3 ! paf 2203: int
! 2204: main ()
! 2205: {
1.1 parser 2206:
1.3 ! paf 2207: ;
! 2208: return 0;
! 2209: }
! 2210: _ACEOF
! 2211: rm -f conftest.o conftest.obj
! 2212: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2213: (eval $ac_compile) 2>&5
! 2214: ac_status=$?
! 2215: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2216: (exit $ac_status); }; then
! 2217: for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
! 2218: case $ac_file in
! 2219: *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
! 2220: *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
! 2221: break;;
! 2222: esac
! 2223: done
1.1 parser 2224: else
1.3 ! paf 2225: echo "$as_me: failed program was:" >&5
! 2226: sed 's/^/| /' conftest.$ac_ext >&5
! 2227:
! 2228: { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
! 2229: See \`config.log' for more details." >&5
! 2230: echo "$as_me: error: cannot compute suffix of object files: cannot compile
! 2231: See \`config.log' for more details." >&2;}
! 2232: { (exit 1); exit 1; }; }
! 2233: fi
! 2234:
! 2235: rm -f conftest.$ac_cv_objext conftest.$ac_ext
! 2236: fi
! 2237: echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
! 2238: echo "${ECHO_T}$ac_cv_objext" >&6
! 2239: OBJEXT=$ac_cv_objext
! 2240: ac_objext=$OBJEXT
! 2241: echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
! 2242: echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
! 2243: if test "${ac_cv_c_compiler_gnu+set}" = set; then
! 2244: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2245: else
! 2246: cat >conftest.$ac_ext <<_ACEOF
! 2247: #line $LINENO "configure"
! 2248: /* confdefs.h. */
! 2249: _ACEOF
! 2250: cat confdefs.h >>conftest.$ac_ext
! 2251: cat >>conftest.$ac_ext <<_ACEOF
! 2252: /* end confdefs.h. */
! 2253:
! 2254: int
! 2255: main ()
! 2256: {
! 2257: #ifndef __GNUC__
! 2258: choke me
! 2259: #endif
! 2260:
! 2261: ;
! 2262: return 0;
! 2263: }
! 2264: _ACEOF
! 2265: rm -f conftest.$ac_objext
! 2266: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2267: (eval $ac_compile) 2>&5
! 2268: ac_status=$?
! 2269: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2270: (exit $ac_status); } &&
! 2271: { ac_try='test -s conftest.$ac_objext'
! 2272: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2273: (eval $ac_try) 2>&5
! 2274: ac_status=$?
! 2275: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2276: (exit $ac_status); }; }; then
! 2277: ac_compiler_gnu=yes
! 2278: else
! 2279: echo "$as_me: failed program was:" >&5
! 2280: sed 's/^/| /' conftest.$ac_ext >&5
! 2281:
! 2282: ac_compiler_gnu=no
! 2283: fi
! 2284: rm -f conftest.$ac_objext conftest.$ac_ext
! 2285: ac_cv_c_compiler_gnu=$ac_compiler_gnu
! 2286:
! 2287: fi
! 2288: echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
! 2289: echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
! 2290: GCC=`test $ac_compiler_gnu = yes && echo yes`
! 2291: ac_test_CFLAGS=${CFLAGS+set}
! 2292: ac_save_CFLAGS=$CFLAGS
! 2293: CFLAGS="-g"
! 2294: echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
! 2295: echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
! 2296: if test "${ac_cv_prog_cc_g+set}" = set; then
! 2297: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2298: else
! 2299: cat >conftest.$ac_ext <<_ACEOF
! 2300: #line $LINENO "configure"
! 2301: /* confdefs.h. */
! 2302: _ACEOF
! 2303: cat confdefs.h >>conftest.$ac_ext
! 2304: cat >>conftest.$ac_ext <<_ACEOF
! 2305: /* end confdefs.h. */
! 2306:
! 2307: int
! 2308: main ()
! 2309: {
1.1 parser 2310:
1.3 ! paf 2311: ;
! 2312: return 0;
! 2313: }
! 2314: _ACEOF
! 2315: rm -f conftest.$ac_objext
! 2316: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2317: (eval $ac_compile) 2>&5
! 2318: ac_status=$?
! 2319: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2320: (exit $ac_status); } &&
! 2321: { ac_try='test -s conftest.$ac_objext'
! 2322: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2323: (eval $ac_try) 2>&5
! 2324: ac_status=$?
! 2325: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2326: (exit $ac_status); }; }; then
1.1 parser 2327: ac_cv_prog_cc_g=yes
2328: else
1.3 ! paf 2329: echo "$as_me: failed program was:" >&5
! 2330: sed 's/^/| /' conftest.$ac_ext >&5
! 2331:
! 2332: ac_cv_prog_cc_g=no
1.1 parser 2333: fi
1.3 ! paf 2334: rm -f conftest.$ac_objext conftest.$ac_ext
1.1 parser 2335: fi
1.3 ! paf 2336: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
! 2337: echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1.1 parser 2338: if test "$ac_test_CFLAGS" = set; then
1.3 ! paf 2339: CFLAGS=$ac_save_CFLAGS
1.1 parser 2340: elif test $ac_cv_prog_cc_g = yes; then
2341: if test "$GCC" = yes; then
2342: CFLAGS="-g -O2"
2343: else
2344: CFLAGS="-g"
2345: fi
2346: else
2347: if test "$GCC" = yes; then
2348: CFLAGS="-O2"
2349: else
2350: CFLAGS=
2351: fi
2352: fi
1.3 ! paf 2353: echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
! 2354: echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
! 2355: if test "${ac_cv_prog_cc_stdc+set}" = set; then
! 2356: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2357: else
! 2358: ac_cv_prog_cc_stdc=no
! 2359: ac_save_CC=$CC
! 2360: cat >conftest.$ac_ext <<_ACEOF
! 2361: #line $LINENO "configure"
! 2362: /* confdefs.h. */
! 2363: _ACEOF
! 2364: cat confdefs.h >>conftest.$ac_ext
! 2365: cat >>conftest.$ac_ext <<_ACEOF
! 2366: /* end confdefs.h. */
! 2367: #include <stdarg.h>
! 2368: #include <stdio.h>
! 2369: #include <sys/types.h>
! 2370: #include <sys/stat.h>
! 2371: /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
! 2372: struct buf { int x; };
! 2373: FILE * (*rcsopen) (struct buf *, struct stat *, int);
! 2374: static char *e (p, i)
! 2375: char **p;
! 2376: int i;
! 2377: {
! 2378: return p[i];
! 2379: }
! 2380: static char *f (char * (*g) (char **, int), char **p, ...)
! 2381: {
! 2382: char *s;
! 2383: va_list v;
! 2384: va_start (v,p);
! 2385: s = g (p, va_arg (v,int));
! 2386: va_end (v);
! 2387: return s;
! 2388: }
! 2389: int test (int i, double x);
! 2390: struct s1 {int (*f) (int a);};
! 2391: struct s2 {int (*f) (double a);};
! 2392: int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
! 2393: int argc;
! 2394: char **argv;
! 2395: int
! 2396: main ()
! 2397: {
! 2398: return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
! 2399: ;
! 2400: return 0;
! 2401: }
! 2402: _ACEOF
! 2403: # Don't try gcc -ansi; that turns off useful extensions and
! 2404: # breaks some systems' header files.
! 2405: # AIX -qlanglvl=ansi
! 2406: # Ultrix and OSF/1 -std1
! 2407: # HP-UX 10.20 and later -Ae
! 2408: # HP-UX older versions -Aa -D_HPUX_SOURCE
! 2409: # SVR4 -Xc -D__EXTENSIONS__
! 2410: for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
! 2411: do
! 2412: CC="$ac_save_CC $ac_arg"
! 2413: rm -f conftest.$ac_objext
! 2414: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2415: (eval $ac_compile) 2>&5
! 2416: ac_status=$?
! 2417: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2418: (exit $ac_status); } &&
! 2419: { ac_try='test -s conftest.$ac_objext'
! 2420: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2421: (eval $ac_try) 2>&5
! 2422: ac_status=$?
! 2423: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2424: (exit $ac_status); }; }; then
! 2425: ac_cv_prog_cc_stdc=$ac_arg
! 2426: break
! 2427: else
! 2428: echo "$as_me: failed program was:" >&5
! 2429: sed 's/^/| /' conftest.$ac_ext >&5
! 2430:
! 2431: fi
! 2432: rm -f conftest.$ac_objext
! 2433: done
! 2434: rm -f conftest.$ac_ext conftest.$ac_objext
! 2435: CC=$ac_save_CC
1.1 parser 2436:
1.3 ! paf 2437: fi
1.1 parser 2438:
1.3 ! paf 2439: case "x$ac_cv_prog_cc_stdc" in
! 2440: x|xno)
! 2441: echo "$as_me:$LINENO: result: none needed" >&5
! 2442: echo "${ECHO_T}none needed" >&6 ;;
! 2443: *)
! 2444: echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
! 2445: echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
! 2446: CC="$CC $ac_cv_prog_cc_stdc" ;;
! 2447: esac
1.1 parser 2448:
1.3 ! paf 2449: # Some people use a C++ compiler to compile C. Since we use `exit',
! 2450: # in C++ we need to declare it. In case someone uses the same compiler
! 2451: # for both compiling C and C++ we need to have the C++ compiler decide
! 2452: # the declaration of exit, since it's the most demanding environment.
! 2453: cat >conftest.$ac_ext <<_ACEOF
! 2454: #ifndef __cplusplus
! 2455: choke me
! 2456: #endif
! 2457: _ACEOF
! 2458: rm -f conftest.$ac_objext
! 2459: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2460: (eval $ac_compile) 2>&5
! 2461: ac_status=$?
! 2462: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2463: (exit $ac_status); } &&
! 2464: { ac_try='test -s conftest.$ac_objext'
! 2465: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2466: (eval $ac_try) 2>&5
! 2467: ac_status=$?
! 2468: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2469: (exit $ac_status); }; }; then
! 2470: for ac_declaration in \
! 2471: ''\
! 2472: '#include <stdlib.h>' \
! 2473: 'extern "C" void std::exit (int) throw (); using std::exit;' \
! 2474: 'extern "C" void std::exit (int); using std::exit;' \
! 2475: 'extern "C" void exit (int) throw ();' \
! 2476: 'extern "C" void exit (int);' \
! 2477: 'void exit (int);'
! 2478: do
! 2479: cat >conftest.$ac_ext <<_ACEOF
! 2480: #line $LINENO "configure"
! 2481: /* confdefs.h. */
! 2482: _ACEOF
! 2483: cat confdefs.h >>conftest.$ac_ext
! 2484: cat >>conftest.$ac_ext <<_ACEOF
! 2485: /* end confdefs.h. */
! 2486: #include <stdlib.h>
! 2487: $ac_declaration
! 2488: int
! 2489: main ()
! 2490: {
! 2491: exit (42);
! 2492: ;
! 2493: return 0;
1.1 parser 2494: }
1.3 ! paf 2495: _ACEOF
! 2496: rm -f conftest.$ac_objext
! 2497: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2498: (eval $ac_compile) 2>&5
! 2499: ac_status=$?
! 2500: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2501: (exit $ac_status); } &&
! 2502: { ac_try='test -s conftest.$ac_objext'
! 2503: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2504: (eval $ac_try) 2>&5
! 2505: ac_status=$?
! 2506: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2507: (exit $ac_status); }; }; then
! 2508: :
! 2509: else
! 2510: echo "$as_me: failed program was:" >&5
! 2511: sed 's/^/| /' conftest.$ac_ext >&5
! 2512:
! 2513: continue
! 2514: fi
! 2515: rm -f conftest.$ac_objext conftest.$ac_ext
! 2516: cat >conftest.$ac_ext <<_ACEOF
! 2517: #line $LINENO "configure"
! 2518: /* confdefs.h. */
! 2519: _ACEOF
! 2520: cat confdefs.h >>conftest.$ac_ext
! 2521: cat >>conftest.$ac_ext <<_ACEOF
! 2522: /* end confdefs.h. */
! 2523: $ac_declaration
! 2524: int
! 2525: main ()
! 2526: {
! 2527: exit (42);
! 2528: ;
! 2529: return 0;
1.1 parser 2530: }
1.3 ! paf 2531: _ACEOF
! 2532: rm -f conftest.$ac_objext
! 2533: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2534: (eval $ac_compile) 2>&5
! 2535: ac_status=$?
! 2536: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2537: (exit $ac_status); } &&
! 2538: { ac_try='test -s conftest.$ac_objext'
! 2539: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2540: (eval $ac_try) 2>&5
! 2541: ac_status=$?
! 2542: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2543: (exit $ac_status); }; }; then
! 2544: break
! 2545: else
! 2546: echo "$as_me: failed program was:" >&5
! 2547: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 2548:
2549: fi
1.3 ! paf 2550: rm -f conftest.$ac_objext conftest.$ac_ext
! 2551: done
1.1 parser 2552: rm -f conftest*
1.3 ! paf 2553: if test -n "$ac_declaration"; then
! 2554: echo '#ifdef __cplusplus' >>confdefs.h
! 2555: echo $ac_declaration >>confdefs.h
! 2556: echo '#endif' >>confdefs.h
1.1 parser 2557: fi
2558:
1.3 ! paf 2559: else
! 2560: echo "$as_me: failed program was:" >&5
! 2561: sed 's/^/| /' conftest.$ac_ext >&5
1.1 parser 2562:
2563: fi
1.3 ! paf 2564: rm -f conftest.$ac_objext conftest.$ac_ext
! 2565: ac_ext=c
! 2566: ac_cpp='$CPP $CPPFLAGS'
! 2567: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 2568: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 2569: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 2570: rm -f .deps 2>/dev/null
! 2571: mkdir .deps 2>/dev/null
! 2572: if test -d .deps; then
! 2573: DEPDIR=.deps
! 2574: else
! 2575: # MS-DOS does not allow filenames that begin with a dot.
! 2576: DEPDIR=_deps
! 2577: fi
! 2578: rmdir .deps 2>/dev/null
! 2579:
! 2580:
! 2581: ac_config_commands="$ac_config_commands depfiles"
! 2582:
! 2583:
! 2584: am_make=${MAKE-make}
! 2585: cat > confinc << 'END'
! 2586: doit:
! 2587: @echo done
! 2588: END
! 2589: # If we don't find an include directive, just comment out the code.
! 2590: echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
! 2591: echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
! 2592: am__include="#"
! 2593: am__quote=
! 2594: _am_result=none
! 2595: # First try GNU make style include.
! 2596: echo "include confinc" > confmf
! 2597: # We grep out `Entering directory' and `Leaving directory'
! 2598: # messages which can occur if `w' ends up in MAKEFLAGS.
! 2599: # In particular we don't look at `^make:' because GNU make might
! 2600: # be invoked under some other name (usually "gmake"), in which
! 2601: # case it prints its new name instead of `make'.
! 2602: if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
! 2603: am__include=include
! 2604: am__quote=
! 2605: _am_result=GNU
! 2606: fi
! 2607: # Now try BSD make style include.
! 2608: if test "$am__include" = "#"; then
! 2609: echo '.include "confinc"' > confmf
! 2610: if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
! 2611: am__include=.include
! 2612: am__quote="\""
! 2613: _am_result=BSD
! 2614: fi
! 2615: fi
! 2616:
! 2617:
! 2618: echo "$as_me:$LINENO: result: $_am_result" >&5
! 2619: echo "${ECHO_T}$_am_result" >&6
! 2620: rm -f confinc confmf
! 2621:
! 2622: # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
! 2623: if test "${enable_dependency_tracking+set}" = set; then
! 2624: enableval="$enable_dependency_tracking"
! 2625:
! 2626: fi;
! 2627: if test "x$enable_dependency_tracking" != xno; then
! 2628: am_depcomp="$ac_aux_dir/depcomp"
! 2629: AMDEPBACKSLASH='\'
! 2630: fi
! 2631:
! 2632:
! 2633: if test "x$enable_dependency_tracking" != xno; then
! 2634: AMDEP_TRUE=
! 2635: AMDEP_FALSE='#'
! 2636: else
! 2637: AMDEP_TRUE='#'
! 2638: AMDEP_FALSE=
! 2639: fi
! 2640:
! 2641:
! 2642:
! 2643:
! 2644: depcc="$CC" am_compiler_list=
! 2645:
! 2646: echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
! 2647: echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
! 2648: if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
! 2649: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2650: else
! 2651: if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
! 2652: # We make a subdir and do the tests there. Otherwise we can end up
! 2653: # making bogus files that we don't know about and never remove. For
! 2654: # instance it was reported that on HP-UX the gcc test will end up
! 2655: # making a dummy file named `D' -- because `-MD' means `put the output
! 2656: # in D'.
! 2657: mkdir conftest.dir
! 2658: # Copy depcomp to subdir because otherwise we won't find it if we're
! 2659: # using a relative directory.
! 2660: cp "$am_depcomp" conftest.dir
! 2661: cd conftest.dir
! 2662:
! 2663: am_cv_CC_dependencies_compiler_type=none
! 2664: if test "$am_compiler_list" = ""; then
! 2665: am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
! 2666: fi
! 2667: for depmode in $am_compiler_list; do
! 2668: # We need to recreate these files for each test, as the compiler may
! 2669: # overwrite some of them when testing with obscure command lines.
! 2670: # This happens at least with the AIX C compiler.
! 2671: echo '#include "conftest.h"' > conftest.c
! 2672: echo 'int i;' > conftest.h
! 2673: echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
! 2674:
! 2675: case $depmode in
! 2676: nosideeffect)
! 2677: # after this tag, mechanisms are not by side-effect, so they'll
! 2678: # only be used when explicitly requested
! 2679: if test "x$enable_dependency_tracking" = xyes; then
! 2680: continue
! 2681: else
! 2682: break
! 2683: fi
! 2684: ;;
! 2685: none) break ;;
! 2686: esac
! 2687: # We check with `-c' and `-o' for the sake of the "dashmstdout"
! 2688: # mode. It turns out that the SunPro C++ compiler does not properly
! 2689: # handle `-M -o', and we need to detect this.
! 2690: if depmode=$depmode \
! 2691: source=conftest.c object=conftest.o \
! 2692: depfile=conftest.Po tmpdepfile=conftest.TPo \
! 2693: $SHELL ./depcomp $depcc -c -o conftest.o conftest.c >/dev/null 2>&1 &&
! 2694: grep conftest.h conftest.Po > /dev/null 2>&1 &&
! 2695: ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
! 2696: am_cv_CC_dependencies_compiler_type=$depmode
! 2697: break
! 2698: fi
! 2699: done
! 2700:
! 2701: cd ..
! 2702: rm -rf conftest.dir
! 2703: else
! 2704: am_cv_CC_dependencies_compiler_type=none
! 2705: fi
! 2706:
! 2707: fi
! 2708: echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
! 2709: echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
! 2710: CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
! 2711:
! 2712:
! 2713:
! 2714: if
! 2715: test "x$enable_dependency_tracking" != xno \
! 2716: && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
! 2717: am__fastdepCC_TRUE=
! 2718: am__fastdepCC_FALSE='#'
! 2719: else
! 2720: am__fastdepCC_TRUE='#'
! 2721: am__fastdepCC_FALSE=
! 2722: fi
! 2723:
! 2724:
! 2725:
! 2726: echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
! 2727: echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
! 2728: if test "${ac_cv_c_const+set}" = set; then
! 2729: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2730: else
! 2731: cat >conftest.$ac_ext <<_ACEOF
! 2732: #line $LINENO "configure"
! 2733: /* confdefs.h. */
! 2734: _ACEOF
! 2735: cat confdefs.h >>conftest.$ac_ext
! 2736: cat >>conftest.$ac_ext <<_ACEOF
! 2737: /* end confdefs.h. */
! 2738:
! 2739: int
! 2740: main ()
! 2741: {
! 2742: /* FIXME: Include the comments suggested by Paul. */
! 2743: #ifndef __cplusplus
! 2744: /* Ultrix mips cc rejects this. */
! 2745: typedef int charset[2];
! 2746: const charset x;
! 2747: /* SunOS 4.1.1 cc rejects this. */
! 2748: char const *const *ccp;
! 2749: char **p;
! 2750: /* NEC SVR4.0.2 mips cc rejects this. */
! 2751: struct point {int x, y;};
! 2752: static struct point const zero = {0,0};
! 2753: /* AIX XL C 1.02.0.0 rejects this.
! 2754: It does not let you subtract one const X* pointer from another in
! 2755: an arm of an if-expression whose if-part is not a constant
! 2756: expression */
! 2757: const char *g = "string";
! 2758: ccp = &g + (g ? g-g : 0);
! 2759: /* HPUX 7.0 cc rejects these. */
! 2760: ++ccp;
! 2761: p = (char**) ccp;
! 2762: ccp = (char const *const *) p;
! 2763: { /* SCO 3.2v4 cc rejects this. */
! 2764: char *t;
! 2765: char const *s = 0 ? (char *) 0 : (char const *) 0;
! 2766:
! 2767: *t++ = 0;
! 2768: }
! 2769: { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
! 2770: int x[] = {25, 17};
! 2771: const int *foo = &x[0];
! 2772: ++foo;
! 2773: }
! 2774: { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
! 2775: typedef const int *iptr;
! 2776: iptr p = 0;
! 2777: ++p;
! 2778: }
! 2779: { /* AIX XL C 1.02.0.0 rejects this saying
! 2780: "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
! 2781: struct s { int j; const int *ap[3]; };
! 2782: struct s *b; b->j = 5;
! 2783: }
! 2784: { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
! 2785: const int foo = 10;
! 2786: }
! 2787: #endif
! 2788:
! 2789: ;
! 2790: return 0;
! 2791: }
! 2792: _ACEOF
! 2793: rm -f conftest.$ac_objext
! 2794: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2795: (eval $ac_compile) 2>&5
! 2796: ac_status=$?
! 2797: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2798: (exit $ac_status); } &&
! 2799: { ac_try='test -s conftest.$ac_objext'
! 2800: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2801: (eval $ac_try) 2>&5
! 2802: ac_status=$?
! 2803: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2804: (exit $ac_status); }; }; then
! 2805: ac_cv_c_const=yes
! 2806: else
! 2807: echo "$as_me: failed program was:" >&5
! 2808: sed 's/^/| /' conftest.$ac_ext >&5
! 2809:
! 2810: ac_cv_c_const=no
! 2811: fi
! 2812: rm -f conftest.$ac_objext conftest.$ac_ext
! 2813: fi
! 2814: echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
! 2815: echo "${ECHO_T}$ac_cv_c_const" >&6
! 2816: if test $ac_cv_c_const = no; then
! 2817:
! 2818: cat >>confdefs.h <<\_ACEOF
! 2819: #define const
! 2820: _ACEOF
1.1 parser 2821:
1.3 ! paf 2822: fi
! 2823:
! 2824: echo "$as_me:$LINENO: checking for inline" >&5
! 2825: echo $ECHO_N "checking for inline... $ECHO_C" >&6
! 2826: if test "${ac_cv_c_inline+set}" = set; then
! 2827: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 2828: else
2829: ac_cv_c_inline=no
2830: for ac_kw in inline __inline__ __inline; do
1.3 ! paf 2831: cat >conftest.$ac_ext <<_ACEOF
! 2832: #line $LINENO "configure"
! 2833: /* confdefs.h. */
! 2834: _ACEOF
! 2835: cat confdefs.h >>conftest.$ac_ext
! 2836: cat >>conftest.$ac_ext <<_ACEOF
! 2837: /* end confdefs.h. */
! 2838: #ifndef __cplusplus
! 2839: typedef int foo_t;
! 2840: static $ac_kw foo_t static_foo () {return 0; }
! 2841: $ac_kw foo_t foo () {return 0; }
! 2842: #endif
1.1 parser 2843:
1.3 ! paf 2844: _ACEOF
! 2845: rm -f conftest.$ac_objext
! 2846: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 2847: (eval $ac_compile) 2>&5
! 2848: ac_status=$?
! 2849: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2850: (exit $ac_status); } &&
! 2851: { ac_try='test -s conftest.$ac_objext'
! 2852: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 2853: (eval $ac_try) 2>&5
! 2854: ac_status=$?
! 2855: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 2856: (exit $ac_status); }; }; then
1.1 parser 2857: ac_cv_c_inline=$ac_kw; break
2858: else
1.3 ! paf 2859: echo "$as_me: failed program was:" >&5
! 2860: sed 's/^/| /' conftest.$ac_ext >&5
! 2861:
1.1 parser 2862: fi
1.3 ! paf 2863: rm -f conftest.$ac_objext conftest.$ac_ext
1.1 parser 2864: done
2865:
2866: fi
1.3 ! paf 2867: echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
! 2868: echo "${ECHO_T}$ac_cv_c_inline" >&6
! 2869: case $ac_cv_c_inline in
1.1 parser 2870: inline | yes) ;;
1.3 ! paf 2871: no)
! 2872: cat >>confdefs.h <<\_ACEOF
! 2873: #define inline
! 2874: _ACEOF
1.1 parser 2875: ;;
1.3 ! paf 2876: *) cat >>confdefs.h <<_ACEOF
1.1 parser 2877: #define inline $ac_cv_c_inline
1.3 ! paf 2878: _ACEOF
1.1 parser 2879: ;;
2880: esac
2881:
2882: # Check whether --enable-shared or --disable-shared was given.
2883: if test "${enable_shared+set}" = set; then
2884: enableval="$enable_shared"
2885: p=${PACKAGE-default}
2886: case "$enableval" in
2887: yes) enable_shared=yes ;;
2888: no) enable_shared=no ;;
2889: *)
2890: enable_shared=no
2891: # Look at the argument we got. We use all the common list separators.
2892: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2893: for pkg in $enableval; do
2894: if test "X$pkg" = "X$p"; then
2895: enable_shared=yes
2896: fi
2897: done
2898: IFS="$ac_save_ifs"
2899: ;;
2900: esac
2901: else
2902: enable_shared=yes
1.3 ! paf 2903: fi;
1.1 parser 2904: # Check whether --enable-static or --disable-static was given.
2905: if test "${enable_static+set}" = set; then
2906: enableval="$enable_static"
2907: p=${PACKAGE-default}
2908: case "$enableval" in
2909: yes) enable_static=yes ;;
2910: no) enable_static=no ;;
2911: *)
2912: enable_static=no
2913: # Look at the argument we got. We use all the common list separators.
2914: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2915: for pkg in $enableval; do
2916: if test "X$pkg" = "X$p"; then
2917: enable_static=yes
2918: fi
2919: done
2920: IFS="$ac_save_ifs"
2921: ;;
2922: esac
2923: else
2924: enable_static=yes
1.3 ! paf 2925: fi;
1.1 parser 2926: # Check whether --enable-fast-install or --disable-fast-install was given.
2927: if test "${enable_fast_install+set}" = set; then
2928: enableval="$enable_fast_install"
2929: p=${PACKAGE-default}
2930: case "$enableval" in
2931: yes) enable_fast_install=yes ;;
2932: no) enable_fast_install=no ;;
2933: *)
2934: enable_fast_install=no
2935: # Look at the argument we got. We use all the common list separators.
2936: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}:,"
2937: for pkg in $enableval; do
2938: if test "X$pkg" = "X$p"; then
2939: enable_fast_install=yes
2940: fi
2941: done
2942: IFS="$ac_save_ifs"
2943: ;;
2944: esac
2945: else
2946: enable_fast_install=yes
1.3 ! paf 2947: fi;
! 2948: # Make sure we can run config.sub.
! 2949: $ac_config_sub sun4 >/dev/null 2>&1 ||
! 2950: { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
! 2951: echo "$as_me: error: cannot run $ac_config_sub" >&2;}
! 2952: { (exit 1); exit 1; }; }
! 2953:
! 2954: echo "$as_me:$LINENO: checking build system type" >&5
! 2955: echo $ECHO_N "checking build system type... $ECHO_C" >&6
! 2956: if test "${ac_cv_build+set}" = set; then
! 2957: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2958: else
! 2959: ac_cv_build_alias=$build_alias
! 2960: test -z "$ac_cv_build_alias" &&
! 2961: ac_cv_build_alias=`$ac_config_guess`
! 2962: test -z "$ac_cv_build_alias" &&
! 2963: { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
! 2964: echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
! 2965: { (exit 1); exit 1; }; }
! 2966: ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
! 2967: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
! 2968: echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
! 2969: { (exit 1); exit 1; }; }
! 2970:
! 2971: fi
! 2972: echo "$as_me:$LINENO: result: $ac_cv_build" >&5
! 2973: echo "${ECHO_T}$ac_cv_build" >&6
! 2974: build=$ac_cv_build
! 2975: build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 2976: build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 2977: build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 2978:
! 2979:
! 2980: echo "$as_me:$LINENO: checking host system type" >&5
! 2981: echo $ECHO_N "checking host system type... $ECHO_C" >&6
! 2982: if test "${ac_cv_host+set}" = set; then
! 2983: echo $ECHO_N "(cached) $ECHO_C" >&6
! 2984: else
! 2985: ac_cv_host_alias=$host_alias
! 2986: test -z "$ac_cv_host_alias" &&
! 2987: ac_cv_host_alias=$ac_cv_build_alias
! 2988: ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
! 2989: { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
! 2990: echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
! 2991: { (exit 1); exit 1; }; }
! 2992:
! 2993: fi
! 2994: echo "$as_me:$LINENO: result: $ac_cv_host" >&5
! 2995: echo "${ECHO_T}$ac_cv_host" >&6
! 2996: host=$ac_cv_host
! 2997: host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
! 2998: host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
! 2999: host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
! 3000:
! 3001:
! 3002: if test -n "$ac_tool_prefix"; then
! 3003: # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
! 3004: set dummy ${ac_tool_prefix}ranlib; ac_word=$2
! 3005: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3006: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 3007: if test "${ac_cv_prog_RANLIB+set}" = set; then
! 3008: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3009: else
! 3010: if test -n "$RANLIB"; then
! 3011: ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
! 3012: else
! 3013: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3014: for as_dir in $PATH
! 3015: do
! 3016: IFS=$as_save_IFS
! 3017: test -z "$as_dir" && as_dir=.
! 3018: for ac_exec_ext in '' $ac_executable_extensions; do
! 3019: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3020: ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
! 3021: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3022: break 2
! 3023: fi
! 3024: done
! 3025: done
! 3026:
! 3027: fi
! 3028: fi
! 3029: RANLIB=$ac_cv_prog_RANLIB
! 3030: if test -n "$RANLIB"; then
! 3031: echo "$as_me:$LINENO: result: $RANLIB" >&5
! 3032: echo "${ECHO_T}$RANLIB" >&6
! 3033: else
! 3034: echo "$as_me:$LINENO: result: no" >&5
! 3035: echo "${ECHO_T}no" >&6
1.1 parser 3036: fi
3037:
3038: fi
1.3 ! paf 3039: if test -z "$ac_cv_prog_RANLIB"; then
! 3040: ac_ct_RANLIB=$RANLIB
! 3041: # Extract the first word of "ranlib", so it can be a program name with args.
1.1 parser 3042: set dummy ranlib; ac_word=$2
1.3 ! paf 3043: echo "$as_me:$LINENO: checking for $ac_word" >&5
! 3044: echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
! 3045: if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
! 3046: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3047: else
1.3 ! paf 3048: if test -n "$ac_ct_RANLIB"; then
! 3049: ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
1.1 parser 3050: else
1.3 ! paf 3051: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 3052: for as_dir in $PATH
! 3053: do
! 3054: IFS=$as_save_IFS
! 3055: test -z "$as_dir" && as_dir=.
! 3056: for ac_exec_ext in '' $ac_executable_extensions; do
! 3057: if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
! 3058: ac_cv_prog_ac_ct_RANLIB="ranlib"
! 3059: echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
! 3060: break 2
! 3061: fi
! 3062: done
! 3063: done
! 3064:
! 3065: test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
! 3066: fi
1.1 parser 3067: fi
1.3 ! paf 3068: ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
! 3069: if test -n "$ac_ct_RANLIB"; then
! 3070: echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
! 3071: echo "${ECHO_T}$ac_ct_RANLIB" >&6
! 3072: else
! 3073: echo "$as_me:$LINENO: result: no" >&5
! 3074: echo "${ECHO_T}no" >&6
1.1 parser 3075: fi
1.3 ! paf 3076:
! 3077: RANLIB=$ac_ct_RANLIB
1.1 parser 3078: else
1.3 ! paf 3079: RANLIB="$ac_cv_prog_RANLIB"
1.1 parser 3080: fi
3081:
1.3 ! paf 3082:
1.1 parser 3083: # Check whether --with-gnu-ld or --without-gnu-ld was given.
3084: if test "${with_gnu_ld+set}" = set; then
3085: withval="$with_gnu_ld"
3086: test "$withval" = no || with_gnu_ld=yes
3087: else
3088: with_gnu_ld=no
1.3 ! paf 3089: fi;
1.1 parser 3090: ac_prog=ld
1.3 ! paf 3091: if test "$ac_cv_c_compiler_gnu" = yes; then
1.1 parser 3092: # Check if gcc -print-prog-name=ld gives a path.
1.3 ! paf 3093: echo "$as_me:$LINENO: checking for ld used by GCC" >&5
! 3094: echo $ECHO_N "checking for ld used by GCC... $ECHO_C" >&6
1.1 parser 3095: ac_prog=`($CC -print-prog-name=ld) 2>&5`
3096: case "$ac_prog" in
3097: # Accept absolute paths.
3098: [\\/]* | [A-Za-z]:[\\/]*)
3099: re_direlt='/[^/][^/]*/\.\./'
3100: # Canonicalize the path of ld
3101: ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
3102: while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
3103: ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
3104: done
3105: test -z "$LD" && LD="$ac_prog"
3106: ;;
3107: "")
3108: # If it fails, then pretend we aren't using GCC.
3109: ac_prog=ld
3110: ;;
3111: *)
3112: # If it is relative, then search for the first ld in PATH.
3113: with_gnu_ld=unknown
3114: ;;
3115: esac
3116: elif test "$with_gnu_ld" = yes; then
1.3 ! paf 3117: echo "$as_me:$LINENO: checking for GNU ld" >&5
! 3118: echo $ECHO_N "checking for GNU ld... $ECHO_C" >&6
1.1 parser 3119: else
1.3 ! paf 3120: echo "$as_me:$LINENO: checking for non-GNU ld" >&5
! 3121: echo $ECHO_N "checking for non-GNU ld... $ECHO_C" >&6
1.1 parser 3122: fi
1.3 ! paf 3123: if test "${ac_cv_path_LD+set}" = set; then
! 3124: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3125: else
3126: if test -z "$LD"; then
3127: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3128: for ac_dir in $PATH; do
3129: test -z "$ac_dir" && ac_dir=.
3130: if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3131: ac_cv_path_LD="$ac_dir/$ac_prog"
3132: # Check to see if the program is GNU ld. I'd rather use --version,
3133: # but apparently some GNU ld's only accept -v.
3134: # Break only if it was the GNU/non-GNU ld that we prefer.
3135: if "$ac_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
3136: test "$with_gnu_ld" != no && break
3137: else
3138: test "$with_gnu_ld" != yes && break
3139: fi
3140: fi
3141: done
3142: IFS="$ac_save_ifs"
3143: else
3144: ac_cv_path_LD="$LD" # Let the user override the test with a path.
3145: fi
3146: fi
3147:
3148: LD="$ac_cv_path_LD"
3149: if test -n "$LD"; then
1.3 ! paf 3150: echo "$as_me:$LINENO: result: $LD" >&5
! 3151: echo "${ECHO_T}$LD" >&6
1.1 parser 3152: else
1.3 ! paf 3153: echo "$as_me:$LINENO: result: no" >&5
! 3154: echo "${ECHO_T}no" >&6
1.1 parser 3155: fi
1.3 ! paf 3156: test -z "$LD" && { { echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
! 3157: echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
! 3158: { (exit 1); exit 1; }; }
! 3159: echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
! 3160: echo $ECHO_N "checking if the linker ($LD) is GNU ld... $ECHO_C" >&6
! 3161: if test "${ac_cv_prog_gnu_ld+set}" = set; then
! 3162: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3163: else
3164: # I'd rather use --version here, but apparently some GNU ld's only accept -v.
3165: if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
3166: ac_cv_prog_gnu_ld=yes
3167: else
3168: ac_cv_prog_gnu_ld=no
3169: fi
3170: fi
1.3 ! paf 3171: echo "$as_me:$LINENO: result: $ac_cv_prog_gnu_ld" >&5
! 3172: echo "${ECHO_T}$ac_cv_prog_gnu_ld" >&6
1.1 parser 3173:
3174:
1.3 ! paf 3175: echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
! 3176: echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
! 3177: if test "${ac_cv_path_NM+set}" = set; then
! 3178: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3179: else
3180: if test -n "$NM"; then
3181: # Let the user override the test.
3182: ac_cv_path_NM="$NM"
3183: else
3184: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
3185: for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
3186: test -z "$ac_dir" && ac_dir=.
3187: if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
3188: # Check to see if the nm accepts a BSD-compat flag.
3189: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
3190: # nm: unknown option "B" ignored
3191: if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3192: ac_cv_path_NM="$ac_dir/nm -B"
3193: break
3194: elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
3195: ac_cv_path_NM="$ac_dir/nm -p"
3196: break
3197: else
3198: ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
3199: continue # so that we can try to find one that supports BSD flags
3200: fi
3201: fi
3202: done
3203: IFS="$ac_save_ifs"
3204: test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
3205: fi
3206: fi
3207:
3208: NM="$ac_cv_path_NM"
1.3 ! paf 3209: echo "$as_me:$LINENO: result: $NM" >&5
! 3210: echo "${ECHO_T}$NM" >&6
1.1 parser 3211:
1.3 ! paf 3212: echo "$as_me:$LINENO: checking whether ln -s works" >&5
! 3213: echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
! 3214: LN_S=$as_ln_s
! 3215: if test "$LN_S" = "ln -s"; then
! 3216: echo "$as_me:$LINENO: result: yes" >&5
! 3217: echo "${ECHO_T}yes" >&6
1.1 parser 3218: else
1.3 ! paf 3219: echo "$as_me:$LINENO: result: no, using $LN_S" >&5
! 3220: echo "${ECHO_T}no, using $LN_S" >&6
1.1 parser 3221: fi
3222:
3223:
3224: case "$target" in
3225: NONE) lt_target="$host" ;;
3226: *) lt_target="$target" ;;
3227: esac
3228:
3229: # Check for any special flags to pass to ltconfig.
3230: libtool_flags="--cache-file=$cache_file"
3231: test "$enable_shared" = no && libtool_flags="$libtool_flags --disable-shared"
3232: test "$enable_static" = no && libtool_flags="$libtool_flags --disable-static"
3233: test "$enable_fast_install" = no && libtool_flags="$libtool_flags --disable-fast-install"
1.3 ! paf 3234: test "$ac_cv_c_compiler_gnu" = yes && libtool_flags="$libtool_flags --with-gcc"
1.1 parser 3235: test "$ac_cv_prog_gnu_ld" = yes && libtool_flags="$libtool_flags --with-gnu-ld"
3236:
3237:
3238: # Check whether --enable-libtool-lock or --disable-libtool-lock was given.
3239: if test "${enable_libtool_lock+set}" = set; then
3240: enableval="$enable_libtool_lock"
3241:
1.3 ! paf 3242: fi;
1.1 parser 3243: test "x$enable_libtool_lock" = xno && libtool_flags="$libtool_flags --disable-lock"
3244: test x"$silent" = xyes && libtool_flags="$libtool_flags --silent"
3245:
3246: # Some flags need to be propagated to the compiler or linker for good
3247: # libtool support.
3248: case "$lt_target" in
3249: *-*-irix6*)
3250: # Find out which ABI we are using.
1.3 ! paf 3251: echo '#line 3251 "configure"' > conftest.$ac_ext
! 3252: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3253: (eval $ac_compile) 2>&5
! 3254: ac_status=$?
! 3255: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3256: (exit $ac_status); }; then
1.1 parser 3257: case "`/usr/bin/file conftest.o`" in
3258: *32-bit*)
3259: LD="${LD-ld} -32"
3260: ;;
3261: *N32*)
3262: LD="${LD-ld} -n32"
3263: ;;
3264: *64-bit*)
3265: LD="${LD-ld} -64"
3266: ;;
3267: esac
3268: fi
3269: rm -rf conftest*
3270: ;;
3271:
3272: *-*-sco3.2v5*)
3273: # On SCO OpenServer 5, we need -belf to get full-featured binaries.
3274: SAVE_CFLAGS="$CFLAGS"
3275: CFLAGS="$CFLAGS -belf"
1.3 ! paf 3276: echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
! 3277: echo $ECHO_N "checking whether the C compiler needs -belf... $ECHO_C" >&6
! 3278: if test "${lt_cv_cc_needs_belf+set}" = set; then
! 3279: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3280: else
! 3281: cat >conftest.$ac_ext <<_ACEOF
! 3282: #line $LINENO "configure"
! 3283: /* confdefs.h. */
! 3284: _ACEOF
! 3285: cat confdefs.h >>conftest.$ac_ext
! 3286: cat >>conftest.$ac_ext <<_ACEOF
! 3287: /* end confdefs.h. */
1.1 parser 3288:
1.3 ! paf 3289: int
! 3290: main ()
! 3291: {
1.1 parser 3292:
1.3 ! paf 3293: ;
! 3294: return 0;
! 3295: }
! 3296: _ACEOF
! 3297: rm -f conftest.$ac_objext conftest$ac_exeext
! 3298: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 3299: (eval $ac_link) 2>&5
! 3300: ac_status=$?
! 3301: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3302: (exit $ac_status); } &&
! 3303: { ac_try='test -s conftest$ac_exeext'
! 3304: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3305: (eval $ac_try) 2>&5
! 3306: ac_status=$?
! 3307: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3308: (exit $ac_status); }; }; then
1.1 parser 3309: lt_cv_cc_needs_belf=yes
3310: else
1.3 ! paf 3311: echo "$as_me: failed program was:" >&5
! 3312: sed 's/^/| /' conftest.$ac_ext >&5
! 3313:
! 3314: lt_cv_cc_needs_belf=no
1.1 parser 3315: fi
1.3 ! paf 3316: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
1.1 parser 3317: fi
1.3 ! paf 3318: echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
! 3319: echo "${ECHO_T}$lt_cv_cc_needs_belf" >&6
1.1 parser 3320: if test x"$lt_cv_cc_needs_belf" != x"yes"; then
3321: # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
3322: CFLAGS="$SAVE_CFLAGS"
3323: fi
3324: ;;
3325:
3326:
3327: esac
3328:
3329:
1.2 paf 3330: # Always use rootdir libtool.
3331: LIBTOOL=../libtool
1.1 parser 3332:
3333:
3334:
3335: # Check whether --enable-ltdl-install or --disable-ltdl-install was given.
3336: if test "${enable_ltdl_install+set}" = set; then
3337: enableval="$enable_ltdl_install"
3338:
1.3 ! paf 3339: fi;
1.1 parser 3340:
3341:
3342:
3343: if test x"${enable_ltdl_install-no}" != xno; then
3344: INSTALL_LTDL_TRUE=
3345: INSTALL_LTDL_FALSE='#'
3346: else
3347: INSTALL_LTDL_TRUE='#'
3348: INSTALL_LTDL_FALSE=
3349: fi
3350:
3351:
1.3 ! paf 3352:
1.1 parser 3353: if test x"${enable_ltdl_convenience-no}" != xno; then
3354: CONVENIENCE_LTDL_TRUE=
3355: CONVENIENCE_LTDL_FALSE='#'
3356: else
3357: CONVENIENCE_LTDL_TRUE='#'
3358: CONVENIENCE_LTDL_FALSE=
3359: fi
3360:
1.3 ! paf 3361:
1.1 parser 3362: rm -f conftest
1.2 paf 3363: $LIBTOOL --config > conftest
1.1 parser 3364: . ./conftest
3365: rm -f conftest
3366:
1.3 ! paf 3367: echo "$as_me:$LINENO: checking which extension is used for shared libraries" >&5
! 3368: echo $ECHO_N "checking which extension is used for shared libraries... $ECHO_C" >&6
! 3369: if test "${libltdl_cv_shlibext+set}" = set; then
! 3370: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3371: else
3372: (
3373: last=
3374: for spec in $library_names_spec; do
3375: last="$spec"
3376: done
3377:
3378: echo "$last" | sed 's/\[.*\]//;s/^[^.]*//;s/\$.*$//;s/\.$//' > conftest
3379:
3380: )
3381: libltdl_cv_shlibext=`cat conftest`
3382: rm -f conftest
3383:
3384: fi
1.3 ! paf 3385: echo "$as_me:$LINENO: result: $libltdl_cv_shlibext" >&5
! 3386: echo "${ECHO_T}$libltdl_cv_shlibext" >&6
! 3387: if test -n "$libltdl_cv_shlibext"; then
1.1 parser 3388:
1.3 ! paf 3389: cat >>confdefs.h <<_ACEOF
1.1 parser 3390: #define LTDL_SHLIB_EXT "$libltdl_cv_shlibext"
1.3 ! paf 3391: _ACEOF
1.1 parser 3392:
3393: fi
3394:
1.3 ! paf 3395: echo "$as_me:$LINENO: checking which variable specifies run-time library path" >&5
! 3396: echo $ECHO_N "checking which variable specifies run-time library path... $ECHO_C" >&6
! 3397: if test "${libltdl_cv_shlibpath_var+set}" = set; then
! 3398: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3399: else
3400: libltdl_cv_shlibpath_var="$shlibpath_var"
3401: fi
1.3 ! paf 3402: echo "$as_me:$LINENO: result: $libltdl_cv_shlibpath_var" >&5
! 3403: echo "${ECHO_T}$libltdl_cv_shlibpath_var" >&6
! 3404: if test -n "$libltdl_cv_shlibpath_var"; then
1.1 parser 3405:
1.3 ! paf 3406: cat >>confdefs.h <<_ACEOF
1.1 parser 3407: #define LTDL_SHLIBPATH_VAR "$libltdl_cv_shlibpath_var"
1.3 ! paf 3408: _ACEOF
1.1 parser 3409:
3410: fi
3411:
1.3 ! paf 3412: echo "$as_me:$LINENO: checking for objdir" >&5
! 3413: echo $ECHO_N "checking for objdir... $ECHO_C" >&6
! 3414: if test "${libltdl_cv_objdir+set}" = set; then
! 3415: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3416: else
3417: libltdl_cv_objdir="$objdir"
3418: fi
1.3 ! paf 3419: echo "$as_me:$LINENO: result: $libltdl_cv_objdir" >&5
! 3420: echo "${ECHO_T}$libltdl_cv_objdir" >&6
! 3421: test -z "$libltdl_cv_objdir" && libltdl_cv_objdir=".libs"
1.1 parser 3422:
1.3 ! paf 3423: cat >>confdefs.h <<_ACEOF
1.1 parser 3424: #define LTDL_OBJDIR "$libltdl_cv_objdir/"
1.3 ! paf 3425: _ACEOF
1.1 parser 3426:
3427:
1.3 ! paf 3428: ac_ext=c
! 3429: ac_cpp='$CPP $CPPFLAGS'
! 3430: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3431: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3432: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3433: echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
! 3434: echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1.1 parser 3435: # On Suns, sometimes $CPP names a directory.
3436: if test -n "$CPP" && test -d "$CPP"; then
3437: CPP=
3438: fi
3439: if test -z "$CPP"; then
1.3 ! paf 3440: if test "${ac_cv_prog_CPP+set}" = set; then
! 3441: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 3442: else
1.3 ! paf 3443: # Double quotes because CPP needs to be expanded
! 3444: for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
! 3445: do
! 3446: ac_preproc_ok=false
! 3447: for ac_c_preproc_warn_flag in '' yes
! 3448: do
! 3449: # Use a header file that comes with gcc, so configuring glibc
! 3450: # with a fresh cross-compiler works.
! 3451: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3452: # <limits.h> exists even on freestanding compilers.
1.1 parser 3453: # On the NeXT, cc -E runs the code through the compiler's parser,
1.3 ! paf 3454: # not just through cpp. "Syntax error" is here to catch this case.
! 3455: cat >conftest.$ac_ext <<_ACEOF
! 3456: #line $LINENO "configure"
! 3457: /* confdefs.h. */
! 3458: _ACEOF
! 3459: cat confdefs.h >>conftest.$ac_ext
! 3460: cat >>conftest.$ac_ext <<_ACEOF
! 3461: /* end confdefs.h. */
! 3462: #ifdef __STDC__
! 3463: # include <limits.h>
! 3464: #else
! 3465: # include <assert.h>
! 3466: #endif
! 3467: Syntax error
! 3468: _ACEOF
! 3469: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 3470: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 3471: ac_status=$?
! 3472: grep -v '^ *+' conftest.er1 >conftest.err
! 3473: rm -f conftest.er1
! 3474: cat conftest.err >&5
! 3475: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3476: (exit $ac_status); } >/dev/null; then
! 3477: if test -s conftest.err; then
! 3478: ac_cpp_err=$ac_c_preproc_warn_flag
! 3479: else
! 3480: ac_cpp_err=
! 3481: fi
! 3482: else
! 3483: ac_cpp_err=yes
! 3484: fi
! 3485: if test -z "$ac_cpp_err"; then
1.1 parser 3486: :
3487: else
1.3 ! paf 3488: echo "$as_me: failed program was:" >&5
! 3489: sed 's/^/| /' conftest.$ac_ext >&5
! 3490:
! 3491: # Broken: fails on valid input.
! 3492: continue
! 3493: fi
! 3494: rm -f conftest.err conftest.$ac_ext
! 3495:
! 3496: # OK, works on sane cases. Now check whether non-existent headers
! 3497: # can be detected and how.
! 3498: cat >conftest.$ac_ext <<_ACEOF
! 3499: #line $LINENO "configure"
! 3500: /* confdefs.h. */
! 3501: _ACEOF
! 3502: cat confdefs.h >>conftest.$ac_ext
! 3503: cat >>conftest.$ac_ext <<_ACEOF
! 3504: /* end confdefs.h. */
! 3505: #include <ac_nonexistent.h>
! 3506: _ACEOF
! 3507: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 3508: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 3509: ac_status=$?
! 3510: grep -v '^ *+' conftest.er1 >conftest.err
! 3511: rm -f conftest.er1
! 3512: cat conftest.err >&5
! 3513: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3514: (exit $ac_status); } >/dev/null; then
! 3515: if test -s conftest.err; then
! 3516: ac_cpp_err=$ac_c_preproc_warn_flag
! 3517: else
! 3518: ac_cpp_err=
! 3519: fi
! 3520: else
! 3521: ac_cpp_err=yes
! 3522: fi
! 3523: if test -z "$ac_cpp_err"; then
! 3524: # Broken: success on invalid input.
! 3525: continue
1.1 parser 3526: else
1.3 ! paf 3527: echo "$as_me: failed program was:" >&5
! 3528: sed 's/^/| /' conftest.$ac_ext >&5
! 3529:
! 3530: # Passes both tests.
! 3531: ac_preproc_ok=:
! 3532: break
! 3533: fi
! 3534: rm -f conftest.err conftest.$ac_ext
! 3535:
! 3536: done
! 3537: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3538: rm -f conftest.err conftest.$ac_ext
! 3539: if $ac_preproc_ok; then
! 3540: break
! 3541: fi
! 3542:
! 3543: done
! 3544: ac_cv_prog_CPP=$CPP
! 3545:
! 3546: fi
! 3547: CPP=$ac_cv_prog_CPP
1.1 parser 3548: else
1.3 ! paf 3549: ac_cv_prog_CPP=$CPP
1.1 parser 3550: fi
1.3 ! paf 3551: echo "$as_me:$LINENO: result: $CPP" >&5
! 3552: echo "${ECHO_T}$CPP" >&6
! 3553: ac_preproc_ok=false
! 3554: for ac_c_preproc_warn_flag in '' yes
! 3555: do
! 3556: # Use a header file that comes with gcc, so configuring glibc
! 3557: # with a fresh cross-compiler works.
! 3558: # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 3559: # <limits.h> exists even on freestanding compilers.
! 3560: # On the NeXT, cc -E runs the code through the compiler's parser,
! 3561: # not just through cpp. "Syntax error" is here to catch this case.
! 3562: cat >conftest.$ac_ext <<_ACEOF
! 3563: #line $LINENO "configure"
! 3564: /* confdefs.h. */
! 3565: _ACEOF
! 3566: cat confdefs.h >>conftest.$ac_ext
! 3567: cat >>conftest.$ac_ext <<_ACEOF
! 3568: /* end confdefs.h. */
! 3569: #ifdef __STDC__
! 3570: # include <limits.h>
! 3571: #else
! 3572: # include <assert.h>
! 3573: #endif
! 3574: Syntax error
! 3575: _ACEOF
! 3576: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 3577: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 3578: ac_status=$?
! 3579: grep -v '^ *+' conftest.er1 >conftest.err
! 3580: rm -f conftest.er1
! 3581: cat conftest.err >&5
! 3582: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3583: (exit $ac_status); } >/dev/null; then
! 3584: if test -s conftest.err; then
! 3585: ac_cpp_err=$ac_c_preproc_warn_flag
! 3586: else
! 3587: ac_cpp_err=
! 3588: fi
! 3589: else
! 3590: ac_cpp_err=yes
1.1 parser 3591: fi
1.3 ! paf 3592: if test -z "$ac_cpp_err"; then
! 3593: :
! 3594: else
! 3595: echo "$as_me: failed program was:" >&5
! 3596: sed 's/^/| /' conftest.$ac_ext >&5
! 3597:
! 3598: # Broken: fails on valid input.
! 3599: continue
1.1 parser 3600: fi
1.3 ! paf 3601: rm -f conftest.err conftest.$ac_ext
! 3602:
! 3603: # OK, works on sane cases. Now check whether non-existent headers
! 3604: # can be detected and how.
! 3605: cat >conftest.$ac_ext <<_ACEOF
! 3606: #line $LINENO "configure"
! 3607: /* confdefs.h. */
! 3608: _ACEOF
! 3609: cat confdefs.h >>conftest.$ac_ext
! 3610: cat >>conftest.$ac_ext <<_ACEOF
! 3611: /* end confdefs.h. */
! 3612: #include <ac_nonexistent.h>
! 3613: _ACEOF
! 3614: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 3615: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 3616: ac_status=$?
! 3617: grep -v '^ *+' conftest.er1 >conftest.err
! 3618: rm -f conftest.er1
! 3619: cat conftest.err >&5
! 3620: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3621: (exit $ac_status); } >/dev/null; then
! 3622: if test -s conftest.err; then
! 3623: ac_cpp_err=$ac_c_preproc_warn_flag
! 3624: else
! 3625: ac_cpp_err=
! 3626: fi
! 3627: else
! 3628: ac_cpp_err=yes
1.1 parser 3629: fi
1.3 ! paf 3630: if test -z "$ac_cpp_err"; then
! 3631: # Broken: success on invalid input.
! 3632: continue
1.1 parser 3633: else
1.3 ! paf 3634: echo "$as_me: failed program was:" >&5
! 3635: sed 's/^/| /' conftest.$ac_ext >&5
! 3636:
! 3637: # Passes both tests.
! 3638: ac_preproc_ok=:
! 3639: break
1.1 parser 3640: fi
1.3 ! paf 3641: rm -f conftest.err conftest.$ac_ext
1.1 parser 3642:
1.3 ! paf 3643: done
! 3644: # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
! 3645: rm -f conftest.err conftest.$ac_ext
! 3646: if $ac_preproc_ok; then
! 3647: :
1.1 parser 3648: else
1.3 ! paf 3649: { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
! 3650: See \`config.log' for more details." >&5
! 3651: echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
! 3652: See \`config.log' for more details." >&2;}
! 3653: { (exit 1); exit 1; }; }
! 3654: fi
! 3655:
! 3656: ac_ext=c
! 3657: ac_cpp='$CPP $CPPFLAGS'
! 3658: ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
! 3659: ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
! 3660: ac_compiler_gnu=$ac_cv_c_compiler_gnu
! 3661:
! 3662:
! 3663: echo "$as_me:$LINENO: checking for egrep" >&5
! 3664: echo $ECHO_N "checking for egrep... $ECHO_C" >&6
! 3665: if test "${ac_cv_prog_egrep+set}" = set; then
! 3666: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3667: else
! 3668: if echo a | (grep -E '(a|b)') >/dev/null 2>&1
! 3669: then ac_cv_prog_egrep='grep -E'
! 3670: else ac_cv_prog_egrep='egrep'
! 3671: fi
! 3672: fi
! 3673: echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
! 3674: echo "${ECHO_T}$ac_cv_prog_egrep" >&6
! 3675: EGREP=$ac_cv_prog_egrep
! 3676:
! 3677:
! 3678: echo "$as_me:$LINENO: checking for ANSI C header files" >&5
! 3679: echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
! 3680: if test "${ac_cv_header_stdc+set}" = set; then
! 3681: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3682: else
! 3683: cat >conftest.$ac_ext <<_ACEOF
! 3684: #line $LINENO "configure"
! 3685: /* confdefs.h. */
! 3686: _ACEOF
! 3687: cat confdefs.h >>conftest.$ac_ext
! 3688: cat >>conftest.$ac_ext <<_ACEOF
! 3689: /* end confdefs.h. */
1.1 parser 3690: #include <stdlib.h>
3691: #include <stdarg.h>
3692: #include <string.h>
3693: #include <float.h>
1.3 ! paf 3694:
! 3695: int
! 3696: main ()
! 3697: {
! 3698:
! 3699: ;
! 3700: return 0;
! 3701: }
! 3702: _ACEOF
! 3703: rm -f conftest.$ac_objext
! 3704: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3705: (eval $ac_compile) 2>&5
! 3706: ac_status=$?
! 3707: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3708: (exit $ac_status); } &&
! 3709: { ac_try='test -s conftest.$ac_objext'
! 3710: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3711: (eval $ac_try) 2>&5
! 3712: ac_status=$?
! 3713: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3714: (exit $ac_status); }; }; then
1.1 parser 3715: ac_cv_header_stdc=yes
3716: else
1.3 ! paf 3717: echo "$as_me: failed program was:" >&5
! 3718: sed 's/^/| /' conftest.$ac_ext >&5
! 3719:
! 3720: ac_cv_header_stdc=no
1.1 parser 3721: fi
1.3 ! paf 3722: rm -f conftest.$ac_objext conftest.$ac_ext
1.1 parser 3723:
3724: if test $ac_cv_header_stdc = yes; then
3725: # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1.3 ! paf 3726: cat >conftest.$ac_ext <<_ACEOF
! 3727: #line $LINENO "configure"
! 3728: /* confdefs.h. */
! 3729: _ACEOF
! 3730: cat confdefs.h >>conftest.$ac_ext
! 3731: cat >>conftest.$ac_ext <<_ACEOF
! 3732: /* end confdefs.h. */
1.1 parser 3733: #include <string.h>
1.3 ! paf 3734:
! 3735: _ACEOF
1.1 parser 3736: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.3 ! paf 3737: $EGREP "memchr" >/dev/null 2>&1; then
1.1 parser 3738: :
3739: else
3740: ac_cv_header_stdc=no
3741: fi
3742: rm -f conftest*
3743:
3744: fi
3745:
3746: if test $ac_cv_header_stdc = yes; then
3747: # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1.3 ! paf 3748: cat >conftest.$ac_ext <<_ACEOF
! 3749: #line $LINENO "configure"
! 3750: /* confdefs.h. */
! 3751: _ACEOF
! 3752: cat confdefs.h >>conftest.$ac_ext
! 3753: cat >>conftest.$ac_ext <<_ACEOF
! 3754: /* end confdefs.h. */
1.1 parser 3755: #include <stdlib.h>
1.3 ! paf 3756:
! 3757: _ACEOF
1.1 parser 3758: if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1.3 ! paf 3759: $EGREP "free" >/dev/null 2>&1; then
1.1 parser 3760: :
3761: else
3762: ac_cv_header_stdc=no
3763: fi
3764: rm -f conftest*
3765:
3766: fi
3767:
3768: if test $ac_cv_header_stdc = yes; then
3769: # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1.3 ! paf 3770: if test "$cross_compiling" = yes; then
1.1 parser 3771: :
3772: else
1.3 ! paf 3773: cat >conftest.$ac_ext <<_ACEOF
! 3774: #line $LINENO "configure"
! 3775: /* confdefs.h. */
! 3776: _ACEOF
! 3777: cat confdefs.h >>conftest.$ac_ext
! 3778: cat >>conftest.$ac_ext <<_ACEOF
! 3779: /* end confdefs.h. */
1.1 parser 3780: #include <ctype.h>
1.3 ! paf 3781: #if ((' ' & 0x0FF) == 0x020)
! 3782: # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
! 3783: # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
! 3784: #else
! 3785: # define ISLOWER(c) \
! 3786: (('a' <= (c) && (c) <= 'i') \
! 3787: || ('j' <= (c) && (c) <= 'r') \
! 3788: || ('s' <= (c) && (c) <= 'z'))
! 3789: # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
! 3790: #endif
! 3791:
1.1 parser 3792: #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1.3 ! paf 3793: int
! 3794: main ()
! 3795: {
! 3796: int i;
! 3797: for (i = 0; i < 256; i++)
! 3798: if (XOR (islower (i), ISLOWER (i))
! 3799: || toupper (i) != TOUPPER (i))
! 3800: exit(2);
! 3801: exit (0);
! 3802: }
! 3803: _ACEOF
! 3804: rm -f conftest$ac_exeext
! 3805: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 3806: (eval $ac_link) 2>&5
! 3807: ac_status=$?
! 3808: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3809: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 3810: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3811: (eval $ac_try) 2>&5
! 3812: ac_status=$?
! 3813: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3814: (exit $ac_status); }; }; then
1.1 parser 3815: :
3816: else
1.3 ! paf 3817: echo "$as_me: program exited with status $ac_status" >&5
! 3818: echo "$as_me: failed program was:" >&5
! 3819: sed 's/^/| /' conftest.$ac_ext >&5
! 3820:
! 3821: ( exit $ac_status )
! 3822: ac_cv_header_stdc=no
1.1 parser 3823: fi
1.3 ! paf 3824: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1 parser 3825: fi
3826: fi
3827: fi
1.3 ! paf 3828: echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
! 3829: echo "${ECHO_T}$ac_cv_header_stdc" >&6
! 3830: if test $ac_cv_header_stdc = yes; then
1.1 parser 3831:
1.3 ! paf 3832: cat >>confdefs.h <<\_ACEOF
1.1 parser 3833: #define STDC_HEADERS 1
1.3 ! paf 3834: _ACEOF
1.1 parser 3835:
3836: fi
3837:
1.3 ! paf 3838: # On IRIX 5.3, sys/types and inttypes.h are conflicting.
! 3839:
! 3840:
! 3841:
! 3842:
! 3843:
! 3844:
! 3845:
! 3846:
! 3847:
! 3848: for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
! 3849: inttypes.h stdint.h unistd.h
! 3850: do
! 3851: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 3852: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 3853: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 3854: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 3855: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3856: else
! 3857: cat >conftest.$ac_ext <<_ACEOF
! 3858: #line $LINENO "configure"
! 3859: /* confdefs.h. */
! 3860: _ACEOF
! 3861: cat confdefs.h >>conftest.$ac_ext
! 3862: cat >>conftest.$ac_ext <<_ACEOF
! 3863: /* end confdefs.h. */
! 3864: $ac_includes_default
! 3865:
! 3866: #include <$ac_header>
! 3867: _ACEOF
! 3868: rm -f conftest.$ac_objext
! 3869: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3870: (eval $ac_compile) 2>&5
! 3871: ac_status=$?
! 3872: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3873: (exit $ac_status); } &&
! 3874: { ac_try='test -s conftest.$ac_objext'
! 3875: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3876: (eval $ac_try) 2>&5
! 3877: ac_status=$?
! 3878: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3879: (exit $ac_status); }; }; then
! 3880: eval "$as_ac_Header=yes"
! 3881: else
! 3882: echo "$as_me: failed program was:" >&5
! 3883: sed 's/^/| /' conftest.$ac_ext >&5
! 3884:
! 3885: eval "$as_ac_Header=no"
! 3886: fi
! 3887: rm -f conftest.$ac_objext conftest.$ac_ext
! 3888: fi
! 3889: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 3890: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 3891: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 3892: cat >>confdefs.h <<_ACEOF
! 3893: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 3894: _ACEOF
! 3895:
! 3896: fi
! 3897:
! 3898: done
! 3899:
! 3900:
! 3901:
! 3902:
! 3903:
! 3904:
! 3905:
! 3906:
! 3907:
! 3908:
! 3909: for ac_header in malloc.h memory.h stdlib.h stdio.h ctype.h dlfcn.h dl.h dld.h
1.1 parser 3910: do
1.3 ! paf 3911: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 3912: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 3913: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 3914: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 3915: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 3916: echo $ECHO_N "(cached) $ECHO_C" >&6
! 3917: fi
! 3918: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 3919: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 3920: else
! 3921: # Is the header compilable?
! 3922: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 3923: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 3924: cat >conftest.$ac_ext <<_ACEOF
! 3925: #line $LINENO "configure"
! 3926: /* confdefs.h. */
! 3927: _ACEOF
! 3928: cat confdefs.h >>conftest.$ac_ext
! 3929: cat >>conftest.$ac_ext <<_ACEOF
! 3930: /* end confdefs.h. */
! 3931: $ac_includes_default
! 3932: #include <$ac_header>
! 3933: _ACEOF
! 3934: rm -f conftest.$ac_objext
! 3935: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 3936: (eval $ac_compile) 2>&5
! 3937: ac_status=$?
! 3938: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3939: (exit $ac_status); } &&
! 3940: { ac_try='test -s conftest.$ac_objext'
! 3941: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 3942: (eval $ac_try) 2>&5
! 3943: ac_status=$?
! 3944: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3945: (exit $ac_status); }; }; then
! 3946: ac_header_compiler=yes
! 3947: else
! 3948: echo "$as_me: failed program was:" >&5
! 3949: sed 's/^/| /' conftest.$ac_ext >&5
! 3950:
! 3951: ac_header_compiler=no
! 3952: fi
! 3953: rm -f conftest.$ac_objext conftest.$ac_ext
! 3954: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 3955: echo "${ECHO_T}$ac_header_compiler" >&6
! 3956:
! 3957: # Is the header present?
! 3958: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 3959: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 3960: cat >conftest.$ac_ext <<_ACEOF
! 3961: #line $LINENO "configure"
! 3962: /* confdefs.h. */
! 3963: _ACEOF
! 3964: cat confdefs.h >>conftest.$ac_ext
! 3965: cat >>conftest.$ac_ext <<_ACEOF
! 3966: /* end confdefs.h. */
! 3967: #include <$ac_header>
! 3968: _ACEOF
! 3969: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 3970: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 3971: ac_status=$?
! 3972: grep -v '^ *+' conftest.er1 >conftest.err
! 3973: rm -f conftest.er1
! 3974: cat conftest.err >&5
! 3975: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 3976: (exit $ac_status); } >/dev/null; then
! 3977: if test -s conftest.err; then
! 3978: ac_cpp_err=$ac_c_preproc_warn_flag
! 3979: else
! 3980: ac_cpp_err=
! 3981: fi
1.1 parser 3982: else
1.3 ! paf 3983: ac_cpp_err=yes
! 3984: fi
! 3985: if test -z "$ac_cpp_err"; then
! 3986: ac_header_preproc=yes
! 3987: else
! 3988: echo "$as_me: failed program was:" >&5
! 3989: sed 's/^/| /' conftest.$ac_ext >&5
! 3990:
! 3991: ac_header_preproc=no
! 3992: fi
! 3993: rm -f conftest.err conftest.$ac_ext
! 3994: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 3995: echo "${ECHO_T}$ac_header_preproc" >&6
! 3996:
! 3997: # So? What about this header?
! 3998: case $ac_header_compiler:$ac_header_preproc in
! 3999: yes:no )
! 4000: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 4001: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 4002: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 4003: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 4004: (
! 4005: cat <<\_ASBOX
! 4006: ## ------------------------------------ ##
! 4007: ## Report this to bug-autoconf@gnu.org. ##
! 4008: ## ------------------------------------ ##
! 4009: _ASBOX
! 4010: ) |
! 4011: sed "s/^/$as_me: WARNING: /" >&2
! 4012: ;;
! 4013: no:yes )
! 4014: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 4015: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 4016: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 4017: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 4018: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 4019: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 4020: (
! 4021: cat <<\_ASBOX
! 4022: ## ------------------------------------ ##
! 4023: ## Report this to bug-autoconf@gnu.org. ##
! 4024: ## ------------------------------------ ##
! 4025: _ASBOX
! 4026: ) |
! 4027: sed "s/^/$as_me: WARNING: /" >&2
! 4028: ;;
! 4029: esac
! 4030: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4031: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 4032: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4033: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 4034: else
1.3 ! paf 4035: eval "$as_ac_Header=$ac_header_preproc"
1.1 parser 4036: fi
1.3 ! paf 4037: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 4038: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 4039:
1.1 parser 4040: fi
1.3 ! paf 4041: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 4042: cat >>confdefs.h <<_ACEOF
! 4043: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 4044: _ACEOF
! 4045:
1.1 parser 4046: fi
1.3 ! paf 4047:
1.1 parser 4048: done
4049:
1.3 ! paf 4050:
! 4051:
! 4052: for ac_header in string.h strings.h
1.1 parser 4053: do
1.3 ! paf 4054: as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
! 4055: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4056: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4057: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 4058: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4059: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4060: fi
! 4061: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 4062: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 4063: else
! 4064: # Is the header compilable?
! 4065: echo "$as_me:$LINENO: checking $ac_header usability" >&5
! 4066: echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
! 4067: cat >conftest.$ac_ext <<_ACEOF
! 4068: #line $LINENO "configure"
! 4069: /* confdefs.h. */
! 4070: _ACEOF
! 4071: cat confdefs.h >>conftest.$ac_ext
! 4072: cat >>conftest.$ac_ext <<_ACEOF
! 4073: /* end confdefs.h. */
! 4074: $ac_includes_default
! 4075: #include <$ac_header>
! 4076: _ACEOF
! 4077: rm -f conftest.$ac_objext
! 4078: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4079: (eval $ac_compile) 2>&5
! 4080: ac_status=$?
! 4081: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4082: (exit $ac_status); } &&
! 4083: { ac_try='test -s conftest.$ac_objext'
! 4084: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4085: (eval $ac_try) 2>&5
! 4086: ac_status=$?
! 4087: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4088: (exit $ac_status); }; }; then
! 4089: ac_header_compiler=yes
! 4090: else
! 4091: echo "$as_me: failed program was:" >&5
! 4092: sed 's/^/| /' conftest.$ac_ext >&5
! 4093:
! 4094: ac_header_compiler=no
! 4095: fi
! 4096: rm -f conftest.$ac_objext conftest.$ac_ext
! 4097: echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
! 4098: echo "${ECHO_T}$ac_header_compiler" >&6
! 4099:
! 4100: # Is the header present?
! 4101: echo "$as_me:$LINENO: checking $ac_header presence" >&5
! 4102: echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
! 4103: cat >conftest.$ac_ext <<_ACEOF
! 4104: #line $LINENO "configure"
! 4105: /* confdefs.h. */
! 4106: _ACEOF
! 4107: cat confdefs.h >>conftest.$ac_ext
! 4108: cat >>conftest.$ac_ext <<_ACEOF
! 4109: /* end confdefs.h. */
! 4110: #include <$ac_header>
! 4111: _ACEOF
! 4112: if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
! 4113: (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
! 4114: ac_status=$?
! 4115: grep -v '^ *+' conftest.er1 >conftest.err
! 4116: rm -f conftest.er1
! 4117: cat conftest.err >&5
! 4118: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4119: (exit $ac_status); } >/dev/null; then
! 4120: if test -s conftest.err; then
! 4121: ac_cpp_err=$ac_c_preproc_warn_flag
! 4122: else
! 4123: ac_cpp_err=
! 4124: fi
! 4125: else
! 4126: ac_cpp_err=yes
! 4127: fi
! 4128: if test -z "$ac_cpp_err"; then
! 4129: ac_header_preproc=yes
1.1 parser 4130: else
1.3 ! paf 4131: echo "$as_me: failed program was:" >&5
! 4132: sed 's/^/| /' conftest.$ac_ext >&5
! 4133:
! 4134: ac_header_preproc=no
! 4135: fi
! 4136: rm -f conftest.err conftest.$ac_ext
! 4137: echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
! 4138: echo "${ECHO_T}$ac_header_preproc" >&6
! 4139:
! 4140: # So? What about this header?
! 4141: case $ac_header_compiler:$ac_header_preproc in
! 4142: yes:no )
! 4143: { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
! 4144: echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
! 4145: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 4146: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 4147: (
! 4148: cat <<\_ASBOX
! 4149: ## ------------------------------------ ##
! 4150: ## Report this to bug-autoconf@gnu.org. ##
! 4151: ## ------------------------------------ ##
! 4152: _ASBOX
! 4153: ) |
! 4154: sed "s/^/$as_me: WARNING: /" >&2
! 4155: ;;
! 4156: no:yes )
! 4157: { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
! 4158: echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
! 4159: { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
! 4160: echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
! 4161: { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
! 4162: echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
! 4163: (
! 4164: cat <<\_ASBOX
! 4165: ## ------------------------------------ ##
! 4166: ## Report this to bug-autoconf@gnu.org. ##
! 4167: ## ------------------------------------ ##
! 4168: _ASBOX
! 4169: ) |
! 4170: sed "s/^/$as_me: WARNING: /" >&2
! 4171: ;;
! 4172: esac
! 4173: echo "$as_me:$LINENO: checking for $ac_header" >&5
! 4174: echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
! 4175: if eval "test \"\${$as_ac_Header+set}\" = set"; then
! 4176: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 4177: else
1.3 ! paf 4178: eval "$as_ac_Header=$ac_header_preproc"
1.1 parser 4179: fi
1.3 ! paf 4180: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
! 4181: echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
! 4182:
1.1 parser 4183: fi
1.3 ! paf 4184: if test `eval echo '${'$as_ac_Header'}'` = yes; then
! 4185: cat >>confdefs.h <<_ACEOF
! 4186: #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
! 4187: _ACEOF
1.1 parser 4188: break
4189: fi
1.3 ! paf 4190:
1.1 parser 4191: done
4192:
1.3 ! paf 4193:
! 4194:
1.1 parser 4195: for ac_func in strchr index
4196: do
1.3 ! paf 4197: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 4198: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 4199: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 4200: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 4201: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4202: else
! 4203: cat >conftest.$ac_ext <<_ACEOF
! 4204: #line $LINENO "configure"
! 4205: /* confdefs.h. */
! 4206: _ACEOF
! 4207: cat confdefs.h >>conftest.$ac_ext
! 4208: cat >>conftest.$ac_ext <<_ACEOF
! 4209: /* end confdefs.h. */
1.1 parser 4210: /* System header to define __stub macros and hopefully few prototypes,
1.3 ! paf 4211: which can conflict with char $ac_func (); below.
! 4212: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4213: <limits.h> exists even on freestanding compilers. */
! 4214: #ifdef __STDC__
! 4215: # include <limits.h>
! 4216: #else
! 4217: # include <assert.h>
! 4218: #endif
1.1 parser 4219: /* Override any gcc2 internal prototype to avoid an error. */
1.3 ! paf 4220: #ifdef __cplusplus
! 4221: extern "C"
! 4222: {
! 4223: #endif
1.1 parser 4224: /* We use char because int might match the return type of a gcc2
1.3 ! paf 4225: builtin and then its argument prototype would still apply. */
! 4226: char $ac_func ();
1.1 parser 4227: /* The GNU C library defines this for functions which it implements
4228: to always fail with ENOSYS. Some functions are actually named
4229: something starting with __ and the normal name is an alias. */
4230: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4231: choke me
4232: #else
1.3 ! paf 4233: char (*f) () = $ac_func;
! 4234: #endif
! 4235: #ifdef __cplusplus
! 4236: }
1.1 parser 4237: #endif
4238:
1.3 ! paf 4239: int
! 4240: main ()
! 4241: {
! 4242: return f != $ac_func;
! 4243: ;
! 4244: return 0;
! 4245: }
! 4246: _ACEOF
! 4247: rm -f conftest.$ac_objext conftest$ac_exeext
! 4248: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4249: (eval $ac_link) 2>&5
! 4250: ac_status=$?
! 4251: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4252: (exit $ac_status); } &&
! 4253: { ac_try='test -s conftest$ac_exeext'
! 4254: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4255: (eval $ac_try) 2>&5
! 4256: ac_status=$?
! 4257: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4258: (exit $ac_status); }; }; then
! 4259: eval "$as_ac_var=yes"
! 4260: else
! 4261: echo "$as_me: failed program was:" >&5
! 4262: sed 's/^/| /' conftest.$ac_ext >&5
! 4263:
! 4264: eval "$as_ac_var=no"
! 4265: fi
! 4266: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 4267: fi
! 4268: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 4269: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 4270: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 4271: cat >>confdefs.h <<_ACEOF
! 4272: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 4273: _ACEOF
1.1 parser 4274: break
4275: fi
4276: done
4277:
1.3 ! paf 4278:
! 4279:
1.1 parser 4280: for ac_func in strrchr rindex
4281: do
1.3 ! paf 4282: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 4283: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 4284: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 4285: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 4286: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4287: else
! 4288: cat >conftest.$ac_ext <<_ACEOF
! 4289: #line $LINENO "configure"
! 4290: /* confdefs.h. */
! 4291: _ACEOF
! 4292: cat confdefs.h >>conftest.$ac_ext
! 4293: cat >>conftest.$ac_ext <<_ACEOF
! 4294: /* end confdefs.h. */
1.1 parser 4295: /* System header to define __stub macros and hopefully few prototypes,
1.3 ! paf 4296: which can conflict with char $ac_func (); below.
! 4297: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4298: <limits.h> exists even on freestanding compilers. */
! 4299: #ifdef __STDC__
! 4300: # include <limits.h>
! 4301: #else
! 4302: # include <assert.h>
! 4303: #endif
1.1 parser 4304: /* Override any gcc2 internal prototype to avoid an error. */
1.3 ! paf 4305: #ifdef __cplusplus
! 4306: extern "C"
! 4307: {
! 4308: #endif
1.1 parser 4309: /* We use char because int might match the return type of a gcc2
1.3 ! paf 4310: builtin and then its argument prototype would still apply. */
! 4311: char $ac_func ();
1.1 parser 4312: /* The GNU C library defines this for functions which it implements
4313: to always fail with ENOSYS. Some functions are actually named
4314: something starting with __ and the normal name is an alias. */
4315: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
4316: choke me
4317: #else
1.3 ! paf 4318: char (*f) () = $ac_func;
! 4319: #endif
! 4320: #ifdef __cplusplus
! 4321: }
1.1 parser 4322: #endif
4323:
1.3 ! paf 4324: int
! 4325: main ()
! 4326: {
! 4327: return f != $ac_func;
! 4328: ;
! 4329: return 0;
! 4330: }
! 4331: _ACEOF
! 4332: rm -f conftest.$ac_objext conftest$ac_exeext
! 4333: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4334: (eval $ac_link) 2>&5
! 4335: ac_status=$?
! 4336: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4337: (exit $ac_status); } &&
! 4338: { ac_try='test -s conftest$ac_exeext'
! 4339: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4340: (eval $ac_try) 2>&5
! 4341: ac_status=$?
! 4342: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4343: (exit $ac_status); }; }; then
! 4344: eval "$as_ac_var=yes"
! 4345: else
! 4346: echo "$as_me: failed program was:" >&5
! 4347: sed 's/^/| /' conftest.$ac_ext >&5
! 4348:
! 4349: eval "$as_ac_var=no"
! 4350: fi
! 4351: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 4352: fi
! 4353: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 4354: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 4355: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 4356: cat >>confdefs.h <<_ACEOF
! 4357: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 4358: _ACEOF
1.1 parser 4359: break
4360: fi
4361: done
4362:
4363:
1.3 ! paf 4364: echo "$as_me:$LINENO: checking whether libtool supports -dlopen/-dlpreopen" >&5
! 4365: echo $ECHO_N "checking whether libtool supports -dlopen/-dlpreopen... $ECHO_C" >&6
! 4366: if test "${libltdl_cv_preloaded_symbols+set}" = set; then
! 4367: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 4368: else
4369: if test -n "$global_symbol_pipe"; then
4370: libltdl_cv_preloaded_symbols=yes
4371: else
4372: libltdl_cv_preloaded_symbols=no
4373: fi
4374:
4375: fi
1.3 ! paf 4376: echo "$as_me:$LINENO: result: $libltdl_cv_preloaded_symbols" >&5
! 4377: echo "${ECHO_T}$libltdl_cv_preloaded_symbols" >&6
! 4378: if test x"$libltdl_cv_preloaded_symbols" = x"yes"; then
1.1 parser 4379:
1.3 ! paf 4380: cat >>confdefs.h <<\_ACEOF
1.1 parser 4381: #define HAVE_PRELOADED_SYMBOLS 1
1.3 ! paf 4382: _ACEOF
1.1 parser 4383:
4384: fi
4385:
4386: LIBADD_DL=
1.3 ! paf 4387: echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
! 4388: echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6
! 4389: if test "${ac_cv_lib_dl_dlopen+set}" = set; then
! 4390: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 4391: else
1.3 ! paf 4392: ac_check_lib_save_LIBS=$LIBS
1.1 parser 4393: LIBS="-ldl $LIBS"
1.3 ! paf 4394: cat >conftest.$ac_ext <<_ACEOF
! 4395: #line $LINENO "configure"
! 4396: /* confdefs.h. */
! 4397: _ACEOF
! 4398: cat confdefs.h >>conftest.$ac_ext
! 4399: cat >>conftest.$ac_ext <<_ACEOF
! 4400: /* end confdefs.h. */
! 4401:
1.1 parser 4402: /* Override any gcc2 internal prototype to avoid an error. */
1.3 ! paf 4403: #ifdef __cplusplus
! 4404: extern "C"
! 4405: #endif
1.1 parser 4406: /* We use char because int might match the return type of a gcc2
1.3 ! paf 4407: builtin and then its argument prototype would still apply. */
! 4408: char dlopen ();
! 4409: int
! 4410: main ()
! 4411: {
! 4412: dlopen ();
! 4413: ;
! 4414: return 0;
! 4415: }
! 4416: _ACEOF
! 4417: rm -f conftest.$ac_objext conftest$ac_exeext
! 4418: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4419: (eval $ac_link) 2>&5
! 4420: ac_status=$?
! 4421: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4422: (exit $ac_status); } &&
! 4423: { ac_try='test -s conftest$ac_exeext'
! 4424: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4425: (eval $ac_try) 2>&5
! 4426: ac_status=$?
! 4427: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4428: (exit $ac_status); }; }; then
! 4429: ac_cv_lib_dl_dlopen=yes
! 4430: else
! 4431: echo "$as_me: failed program was:" >&5
! 4432: sed 's/^/| /' conftest.$ac_ext >&5
! 4433:
! 4434: ac_cv_lib_dl_dlopen=no
! 4435: fi
! 4436: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 4437: LIBS=$ac_check_lib_save_LIBS
! 4438: fi
! 4439: echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
! 4440: echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6
! 4441: if test $ac_cv_lib_dl_dlopen = yes; then
! 4442: cat >>confdefs.h <<\_ACEOF
1.1 parser 4443: #define HAVE_LIBDL 1
1.3 ! paf 4444: _ACEOF
1.1 parser 4445: LIBADD_DL="-ldl"
4446: else
1.3 ! paf 4447: echo "$as_me:$LINENO: checking for dlopen" >&5
! 4448: echo $ECHO_N "checking for dlopen... $ECHO_C" >&6
! 4449: if test "${ac_cv_func_dlopen+set}" = set; then
! 4450: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4451: else
! 4452: cat >conftest.$ac_ext <<_ACEOF
! 4453: #line $LINENO "configure"
! 4454: /* confdefs.h. */
! 4455: _ACEOF
! 4456: cat confdefs.h >>conftest.$ac_ext
! 4457: cat >>conftest.$ac_ext <<_ACEOF
! 4458: /* end confdefs.h. */
1.1 parser 4459: /* System header to define __stub macros and hopefully few prototypes,
1.3 ! paf 4460: which can conflict with char dlopen (); below.
! 4461: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4462: <limits.h> exists even on freestanding compilers. */
! 4463: #ifdef __STDC__
! 4464: # include <limits.h>
! 4465: #else
! 4466: # include <assert.h>
! 4467: #endif
1.1 parser 4468: /* Override any gcc2 internal prototype to avoid an error. */
1.3 ! paf 4469: #ifdef __cplusplus
! 4470: extern "C"
! 4471: {
! 4472: #endif
1.1 parser 4473: /* We use char because int might match the return type of a gcc2
1.3 ! paf 4474: builtin and then its argument prototype would still apply. */
! 4475: char dlopen ();
1.1 parser 4476: /* The GNU C library defines this for functions which it implements
4477: to always fail with ENOSYS. Some functions are actually named
4478: something starting with __ and the normal name is an alias. */
4479: #if defined (__stub_dlopen) || defined (__stub___dlopen)
4480: choke me
4481: #else
1.3 ! paf 4482: char (*f) () = dlopen;
! 4483: #endif
! 4484: #ifdef __cplusplus
! 4485: }
1.1 parser 4486: #endif
4487:
1.3 ! paf 4488: int
! 4489: main ()
! 4490: {
! 4491: return f != dlopen;
! 4492: ;
! 4493: return 0;
! 4494: }
! 4495: _ACEOF
! 4496: rm -f conftest.$ac_objext conftest$ac_exeext
! 4497: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4498: (eval $ac_link) 2>&5
! 4499: ac_status=$?
! 4500: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4501: (exit $ac_status); } &&
! 4502: { ac_try='test -s conftest$ac_exeext'
! 4503: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4504: (eval $ac_try) 2>&5
! 4505: ac_status=$?
! 4506: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4507: (exit $ac_status); }; }; then
! 4508: ac_cv_func_dlopen=yes
! 4509: else
! 4510: echo "$as_me: failed program was:" >&5
! 4511: sed 's/^/| /' conftest.$ac_ext >&5
! 4512:
! 4513: ac_cv_func_dlopen=no
! 4514: fi
! 4515: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 4516: fi
! 4517: echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
! 4518: echo "${ECHO_T}$ac_cv_func_dlopen" >&6
! 4519: if test $ac_cv_func_dlopen = yes; then
! 4520: cat >>confdefs.h <<\_ACEOF
1.1 parser 4521: #define HAVE_LIBDL 1
1.3 ! paf 4522: _ACEOF
1.1 parser 4523:
4524: fi
4525:
4526: fi
4527:
1.3 ! paf 4528: echo "$as_me:$LINENO: checking for shl_load" >&5
! 4529: echo $ECHO_N "checking for shl_load... $ECHO_C" >&6
! 4530: if test "${ac_cv_func_shl_load+set}" = set; then
! 4531: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 4532: else
1.3 ! paf 4533: cat >conftest.$ac_ext <<_ACEOF
! 4534: #line $LINENO "configure"
! 4535: /* confdefs.h. */
! 4536: _ACEOF
! 4537: cat confdefs.h >>conftest.$ac_ext
! 4538: cat >>conftest.$ac_ext <<_ACEOF
! 4539: /* end confdefs.h. */
1.1 parser 4540: /* System header to define __stub macros and hopefully few prototypes,
1.3 ! paf 4541: which can conflict with char shl_load (); below.
! 4542: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4543: <limits.h> exists even on freestanding compilers. */
! 4544: #ifdef __STDC__
! 4545: # include <limits.h>
! 4546: #else
! 4547: # include <assert.h>
! 4548: #endif
1.1 parser 4549: /* Override any gcc2 internal prototype to avoid an error. */
1.3 ! paf 4550: #ifdef __cplusplus
! 4551: extern "C"
! 4552: {
! 4553: #endif
1.1 parser 4554: /* We use char because int might match the return type of a gcc2
1.3 ! paf 4555: builtin and then its argument prototype would still apply. */
! 4556: char shl_load ();
1.1 parser 4557: /* The GNU C library defines this for functions which it implements
4558: to always fail with ENOSYS. Some functions are actually named
4559: something starting with __ and the normal name is an alias. */
4560: #if defined (__stub_shl_load) || defined (__stub___shl_load)
4561: choke me
4562: #else
1.3 ! paf 4563: char (*f) () = shl_load;
! 4564: #endif
! 4565: #ifdef __cplusplus
! 4566: }
1.1 parser 4567: #endif
4568:
1.3 ! paf 4569: int
! 4570: main ()
! 4571: {
! 4572: return f != shl_load;
! 4573: ;
! 4574: return 0;
! 4575: }
! 4576: _ACEOF
! 4577: rm -f conftest.$ac_objext conftest$ac_exeext
! 4578: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4579: (eval $ac_link) 2>&5
! 4580: ac_status=$?
! 4581: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4582: (exit $ac_status); } &&
! 4583: { ac_try='test -s conftest$ac_exeext'
! 4584: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4585: (eval $ac_try) 2>&5
! 4586: ac_status=$?
! 4587: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4588: (exit $ac_status); }; }; then
! 4589: ac_cv_func_shl_load=yes
! 4590: else
! 4591: echo "$as_me: failed program was:" >&5
! 4592: sed 's/^/| /' conftest.$ac_ext >&5
! 4593:
! 4594: ac_cv_func_shl_load=no
! 4595: fi
! 4596: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 4597: fi
! 4598: echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
! 4599: echo "${ECHO_T}$ac_cv_func_shl_load" >&6
! 4600: if test $ac_cv_func_shl_load = yes; then
! 4601: cat >>confdefs.h <<\_ACEOF
1.1 parser 4602: #define HAVE_SHL_LOAD 1
1.3 ! paf 4603: _ACEOF
1.1 parser 4604:
4605: else
1.3 ! paf 4606: echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
! 4607: echo $ECHO_N "checking for shl_load in -ldld... $ECHO_C" >&6
! 4608: if test "${ac_cv_lib_dld_shl_load+set}" = set; then
! 4609: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 4610: else
1.3 ! paf 4611: ac_check_lib_save_LIBS=$LIBS
1.1 parser 4612: LIBS="-ldld $LIBS"
1.3 ! paf 4613: cat >conftest.$ac_ext <<_ACEOF
! 4614: #line $LINENO "configure"
! 4615: /* confdefs.h. */
! 4616: _ACEOF
! 4617: cat confdefs.h >>conftest.$ac_ext
! 4618: cat >>conftest.$ac_ext <<_ACEOF
! 4619: /* end confdefs.h. */
! 4620:
1.1 parser 4621: /* Override any gcc2 internal prototype to avoid an error. */
1.3 ! paf 4622: #ifdef __cplusplus
! 4623: extern "C"
! 4624: #endif
1.1 parser 4625: /* We use char because int might match the return type of a gcc2
1.3 ! paf 4626: builtin and then its argument prototype would still apply. */
! 4627: char shl_load ();
! 4628: int
! 4629: main ()
! 4630: {
! 4631: shl_load ();
! 4632: ;
! 4633: return 0;
! 4634: }
! 4635: _ACEOF
! 4636: rm -f conftest.$ac_objext conftest$ac_exeext
! 4637: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4638: (eval $ac_link) 2>&5
! 4639: ac_status=$?
! 4640: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4641: (exit $ac_status); } &&
! 4642: { ac_try='test -s conftest$ac_exeext'
! 4643: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4644: (eval $ac_try) 2>&5
! 4645: ac_status=$?
! 4646: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4647: (exit $ac_status); }; }; then
! 4648: ac_cv_lib_dld_shl_load=yes
! 4649: else
! 4650: echo "$as_me: failed program was:" >&5
! 4651: sed 's/^/| /' conftest.$ac_ext >&5
! 4652:
! 4653: ac_cv_lib_dld_shl_load=no
! 4654: fi
! 4655: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 4656: LIBS=$ac_check_lib_save_LIBS
! 4657: fi
! 4658: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
! 4659: echo "${ECHO_T}$ac_cv_lib_dld_shl_load" >&6
! 4660: if test $ac_cv_lib_dld_shl_load = yes; then
! 4661: cat >>confdefs.h <<\_ACEOF
1.1 parser 4662: #define HAVE_SHL_LOAD 1
1.3 ! paf 4663: _ACEOF
1.1 parser 4664: LIBADD_DL="$LIBADD_DL -ldld"
4665: fi
4666:
4667: fi
4668:
1.3 ! paf 4669: echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
! 4670: echo $ECHO_N "checking for dld_link in -ldld... $ECHO_C" >&6
! 4671: if test "${ac_cv_lib_dld_dld_link+set}" = set; then
! 4672: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 4673: else
1.3 ! paf 4674: ac_check_lib_save_LIBS=$LIBS
1.1 parser 4675: LIBS="-ldld $LIBS"
1.3 ! paf 4676: cat >conftest.$ac_ext <<_ACEOF
! 4677: #line $LINENO "configure"
! 4678: /* confdefs.h. */
! 4679: _ACEOF
! 4680: cat confdefs.h >>conftest.$ac_ext
! 4681: cat >>conftest.$ac_ext <<_ACEOF
! 4682: /* end confdefs.h. */
! 4683:
1.1 parser 4684: /* Override any gcc2 internal prototype to avoid an error. */
1.3 ! paf 4685: #ifdef __cplusplus
! 4686: extern "C"
! 4687: #endif
1.1 parser 4688: /* We use char because int might match the return type of a gcc2
1.3 ! paf 4689: builtin and then its argument prototype would still apply. */
! 4690: char dld_link ();
! 4691: int
! 4692: main ()
! 4693: {
! 4694: dld_link ();
! 4695: ;
! 4696: return 0;
! 4697: }
! 4698: _ACEOF
! 4699: rm -f conftest.$ac_objext conftest$ac_exeext
! 4700: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4701: (eval $ac_link) 2>&5
! 4702: ac_status=$?
! 4703: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4704: (exit $ac_status); } &&
! 4705: { ac_try='test -s conftest$ac_exeext'
! 4706: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4707: (eval $ac_try) 2>&5
! 4708: ac_status=$?
! 4709: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4710: (exit $ac_status); }; }; then
! 4711: ac_cv_lib_dld_dld_link=yes
! 4712: else
! 4713: echo "$as_me: failed program was:" >&5
! 4714: sed 's/^/| /' conftest.$ac_ext >&5
! 4715:
! 4716: ac_cv_lib_dld_dld_link=no
! 4717: fi
! 4718: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 4719: LIBS=$ac_check_lib_save_LIBS
! 4720: fi
! 4721: echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
! 4722: echo "${ECHO_T}$ac_cv_lib_dld_dld_link" >&6
! 4723: if test $ac_cv_lib_dld_dld_link = yes; then
! 4724: cat >>confdefs.h <<\_ACEOF
1.1 parser 4725: #define HAVE_DLD 1
1.3 ! paf 4726: _ACEOF
1.1 parser 4727: test "x$ac_cv_lib_dld_shl_load" = yes || LIBADD_DL="$LIBADD_DL -ldld"
4728: fi
4729:
4730:
4731:
4732: if test "x$ac_cv_func_dlopen" = xyes || test "x$ac_cv_lib_dl_dlopen" = xyes; then
4733: LIBS_SAVE="$LIBS"
4734: LIBS="$LIBS $LIBADD_DL"
1.3 ! paf 4735:
! 4736: for ac_func in dlerror
! 4737: do
! 4738: as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
! 4739: echo "$as_me:$LINENO: checking for $ac_func" >&5
! 4740: echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
! 4741: if eval "test \"\${$as_ac_var+set}\" = set"; then
! 4742: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4743: else
! 4744: cat >conftest.$ac_ext <<_ACEOF
! 4745: #line $LINENO "configure"
! 4746: /* confdefs.h. */
! 4747: _ACEOF
! 4748: cat confdefs.h >>conftest.$ac_ext
! 4749: cat >>conftest.$ac_ext <<_ACEOF
! 4750: /* end confdefs.h. */
! 4751: /* System header to define __stub macros and hopefully few prototypes,
! 4752: which can conflict with char $ac_func (); below.
! 4753: Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
! 4754: <limits.h> exists even on freestanding compilers. */
! 4755: #ifdef __STDC__
! 4756: # include <limits.h>
! 4757: #else
! 4758: # include <assert.h>
! 4759: #endif
! 4760: /* Override any gcc2 internal prototype to avoid an error. */
! 4761: #ifdef __cplusplus
! 4762: extern "C"
! 4763: {
! 4764: #endif
! 4765: /* We use char because int might match the return type of a gcc2
! 4766: builtin and then its argument prototype would still apply. */
! 4767: char $ac_func ();
! 4768: /* The GNU C library defines this for functions which it implements
! 4769: to always fail with ENOSYS. Some functions are actually named
! 4770: something starting with __ and the normal name is an alias. */
! 4771: #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
! 4772: choke me
! 4773: #else
! 4774: char (*f) () = $ac_func;
! 4775: #endif
! 4776: #ifdef __cplusplus
! 4777: }
! 4778: #endif
! 4779:
! 4780: int
! 4781: main ()
! 4782: {
! 4783: return f != $ac_func;
! 4784: ;
! 4785: return 0;
! 4786: }
! 4787: _ACEOF
! 4788: rm -f conftest.$ac_objext conftest$ac_exeext
! 4789: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4790: (eval $ac_link) 2>&5
! 4791: ac_status=$?
! 4792: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4793: (exit $ac_status); } &&
! 4794: { ac_try='test -s conftest$ac_exeext'
! 4795: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 4796: (eval $ac_try) 2>&5
! 4797: ac_status=$?
! 4798: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4799: (exit $ac_status); }; }; then
! 4800: eval "$as_ac_var=yes"
! 4801: else
! 4802: echo "$as_me: failed program was:" >&5
! 4803: sed 's/^/| /' conftest.$ac_ext >&5
! 4804:
! 4805: eval "$as_ac_var=no"
! 4806: fi
! 4807: rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
! 4808: fi
! 4809: echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
! 4810: echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
! 4811: if test `eval echo '${'$as_ac_var'}'` = yes; then
! 4812: cat >>confdefs.h <<_ACEOF
! 4813: #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
! 4814: _ACEOF
! 4815:
! 4816: fi
! 4817: done
! 4818:
! 4819: LIBS="$LIBS_SAVE"
! 4820: fi
! 4821:
! 4822: echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
! 4823: echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
! 4824: if test "${ac_cv_path_NM+set}" = set; then
! 4825: echo $ECHO_N "(cached) $ECHO_C" >&6
! 4826: else
! 4827: if test -n "$NM"; then
! 4828: # Let the user override the test.
! 4829: ac_cv_path_NM="$NM"
! 4830: else
! 4831: IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
! 4832: for ac_dir in $PATH /usr/ccs/bin /usr/ucb /bin; do
! 4833: test -z "$ac_dir" && ac_dir=.
! 4834: if test -f $ac_dir/nm || test -f $ac_dir/nm$ac_exeext ; then
! 4835: # Check to see if the nm accepts a BSD-compat flag.
! 4836: # Adding the `sed 1q' prevents false positives on HP-UX, which says:
! 4837: # nm: unknown option "B" ignored
! 4838: if ($ac_dir/nm -B /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
! 4839: ac_cv_path_NM="$ac_dir/nm -B"
! 4840: break
! 4841: elif ($ac_dir/nm -p /dev/null 2>&1 | sed '1q'; exit 0) | egrep /dev/null >/dev/null; then
! 4842: ac_cv_path_NM="$ac_dir/nm -p"
! 4843: break
! 4844: else
! 4845: ac_cv_path_NM=${ac_cv_path_NM="$ac_dir/nm"} # keep the first match, but
! 4846: continue # so that we can try to find one that supports BSD flags
! 4847: fi
! 4848: fi
! 4849: done
! 4850: IFS="$ac_save_ifs"
! 4851: test -z "$ac_cv_path_NM" && ac_cv_path_NM=nm
1.1 parser 4852: fi
4853: fi
4854:
1.3 ! paf 4855: NM="$ac_cv_path_NM"
! 4856: echo "$as_me:$LINENO: result: $NM" >&5
! 4857: echo "${ECHO_T}$NM" >&6
1.1 parser 4858:
4859: # Check for command to grab the raw symbol name followed by C symbol from nm.
1.3 ! paf 4860: echo "$as_me:$LINENO: checking command to parse $NM output" >&5
! 4861: echo $ECHO_N "checking command to parse $NM output... $ECHO_C" >&6
! 4862: if test "${ac_cv_sys_global_symbol_pipe+set}" = set; then
! 4863: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 4864: else
4865: # These are sane defaults that work on at least a few old systems.
4866: # {They come from Ultrix. What could be older than Ultrix?!! ;)}
4867:
4868: # Character class describing NM global symbol codes.
4869: ac_symcode='[BCDEGRST]'
4870:
4871: # Regexp to match symbols that can be accessed directly from C.
4872: ac_sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
4873:
4874: # Transform the above into a raw symbol and a C symbol.
4875: ac_symxfrm='\1 \2\3 \3'
4876:
4877: # Transform an extracted symbol line into a proper C declaration
4878: ac_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern char \1;/p'"
4879:
4880: # Define system-specific variables.
4881: case "$host_os" in
4882: aix*)
4883: ac_symcode='[BCDT]'
4884: ;;
4885: cygwin* | mingw*)
4886: ac_symcode='[ABCDGISTW]'
4887: ;;
4888: hpux*)
4889: ac_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern char \1();/p' -e 's/^. .* \(.*\)$/extern char \1;/p'"
4890: ;;
4891: irix*)
4892: ac_symcode='[BCDEGRST]'
4893: ;;
4894: solaris*)
4895: ac_symcode='[BDT]'
4896: ;;
4897: esac
4898:
4899: # If we're using GNU nm, then use its standard symbol codes.
4900: if $NM -V 2>&1 | egrep '(GNU|with BFD)' > /dev/null; then
4901: ac_symcode='[ABCDGISTW]'
4902: fi
4903:
4904: # Try without a prefix undercore, then with it.
4905: for ac_symprfx in "" "_"; do
4906:
4907: ac_cv_sys_global_symbol_pipe="sed -n -e 's/^.* \($ac_symcode\) *\($ac_symprfx\)$ac_sympat$/$ac_symxfrm/p'"
4908:
4909: # Check to see that the pipe works correctly.
4910: ac_pipe_works=no
4911: rm -f conftest.$ac_ext
4912: cat > conftest.$ac_ext <<EOF
4913: #ifdef __cplusplus
4914: extern "C" {
4915: #endif
4916: char nm_test_var;
4917: void nm_test_func(){}
4918: #ifdef __cplusplus
4919: }
4920: #endif
4921: int main(){nm_test_var='a';nm_test_func;return 0;}
4922: EOF
4923:
1.3 ! paf 4924: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 4925: (eval $ac_compile) 2>&5
! 4926: ac_status=$?
! 4927: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4928: (exit $ac_status); }; then
1.1 parser 4929: # Now try to grab the symbols.
4930: ac_nlist=conftest.nm
1.3 ! paf 4931:
! 4932: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
! 4933: (eval $NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
! 4934: ac_status=$?
! 4935: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4936: (exit $ac_status); } && test -s "$ac_nlist"; then
1.1 parser 4937:
4938: # Try sorting and uniquifying the output.
4939: if sort "$ac_nlist" | uniq > "$ac_nlist"T; then
4940: mv -f "$ac_nlist"T "$ac_nlist"
4941: else
4942: rm -f "$ac_nlist"T
4943: fi
4944:
4945: # Make sure that we snagged all the symbols we need.
4946: if egrep ' nm_test_var$' "$ac_nlist" >/dev/null; then
4947: if egrep ' nm_test_func$' "$ac_nlist" >/dev/null; then
4948: cat <<EOF > conftest.c
4949: #ifdef __cplusplus
4950: extern "C" {
4951: #endif
4952:
4953: EOF
4954: # Now generate the symbol file.
4955: eval "$ac_global_symbol_to_cdecl"' < "$ac_nlist" >> conftest.c'
4956:
4957: cat <<EOF >> conftest.c
4958: #if defined (__STDC__) && __STDC__
4959: # define lt_ptr_t void *
4960: #else
4961: # define lt_ptr_t char *
4962: # define const
4963: #endif
4964:
4965: /* The mapping between symbol names and symbols. */
4966: const struct {
4967: const char *name;
4968: lt_ptr_t address;
4969: }
4970: lt_preloaded_symbols[] =
4971: {
4972: EOF
4973: sed 's/^. \(.*\) \(.*\)$/ {"\2", (lt_ptr_t) \&\2},/' < "$ac_nlist" >> conftest.c
4974: cat <<\EOF >> conftest.c
4975: {0, (lt_ptr_t) 0}
4976: };
4977:
4978: #ifdef __cplusplus
4979: }
4980: #endif
4981: EOF
4982: # Now try linking the two files.
4983: mv conftest.$ac_objext conftstm.$ac_objext
4984: ac_save_LIBS="$LIBS"
4985: ac_save_CFLAGS="$CFLAGS"
4986: LIBS="conftstm.$ac_objext"
4987: CFLAGS="$CFLAGS$no_builtin_flag"
1.3 ! paf 4988: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 4989: (eval $ac_link) 2>&5
! 4990: ac_status=$?
! 4991: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 4992: (exit $ac_status); } && test -s conftest; then
1.1 parser 4993: ac_pipe_works=yes
4994: else
4995: echo "configure: failed program was:" >&5
4996: cat conftest.c >&5
4997: fi
4998: LIBS="$ac_save_LIBS"
4999: CFLAGS="$ac_save_CFLAGS"
5000: else
5001: echo "cannot find nm_test_func in $ac_nlist" >&5
5002: fi
5003: else
5004: echo "cannot find nm_test_var in $ac_nlist" >&5
5005: fi
5006: else
5007: echo "cannot run $ac_cv_sys_global_symbol_pipe" >&5
5008: fi
5009: else
5010: echo "$progname: failed program was:" >&5
5011: cat conftest.c >&5
5012: fi
5013: rm -rf conftest* conftst*
5014:
5015: # Do not use the global_symbol_pipe unless it works.
5016: if test "$ac_pipe_works" = yes; then
5017: if test x"$ac_symprfx" = x"_"; then
5018: ac_cv_sys_symbol_underscore=yes
5019: else
5020: ac_cv_sys_symbol_underscore=no
5021: fi
5022: break
5023: else
5024: ac_cv_sys_global_symbol_pipe=
5025: fi
5026: done
5027:
5028: fi
5029:
5030:
5031: ac_result=yes
5032: if test -z "$ac_cv_sys_global_symbol_pipe"; then
5033: ac_result=no
5034: fi
1.3 ! paf 5035: echo "$as_me:$LINENO: result: $ac_result" >&5
! 5036: echo "${ECHO_T}$ac_result" >&6
1.1 parser 5037:
1.3 ! paf 5038: echo "$as_me:$LINENO: checking for _ prefix in compiled symbols" >&5
! 5039: echo $ECHO_N "checking for _ prefix in compiled symbols... $ECHO_C" >&6
! 5040: if test "${ac_cv_sys_symbol_underscore+set}" = set; then
! 5041: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 5042: else
5043: ac_cv_sys_symbol_underscore=no
5044: cat > conftest.$ac_ext <<EOF
5045: void nm_test_func(){}
5046: int main(){nm_test_func;return 0;}
5047: EOF
1.3 ! paf 5048: if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
! 5049: (eval $ac_compile) 2>&5
! 5050: ac_status=$?
! 5051: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5052: (exit $ac_status); }; then
1.1 parser 5053: # Now try to grab the symbols.
5054: ac_nlist=conftest.nm
1.3 ! paf 5055: if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist\"") >&5
! 5056: (eval $NM conftest.$ac_objext \| $ac_cv_sys_global_symbol_pipe \> $ac_nlist) 2>&5
! 5057: ac_status=$?
! 5058: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5059: (exit $ac_status); } && test -s "$ac_nlist"; then
1.1 parser 5060: # See whether the symbols have a leading underscore.
5061: if egrep '^. _nm_test_func' "$ac_nlist" >/dev/null; then
5062: ac_cv_sys_symbol_underscore=yes
5063: else
5064: if egrep '^. nm_test_func ' "$ac_nlist" >/dev/null; then
5065: :
5066: else
5067: echo "configure: cannot find nm_test_func in $ac_nlist" >&5
5068: fi
5069: fi
5070: else
5071: echo "configure: cannot run $ac_cv_sys_global_symbol_pipe" >&5
5072: fi
5073: else
5074: echo "configure: failed program was:" >&5
5075: cat conftest.c >&5
5076: fi
5077: rm -rf conftest*
5078:
5079: fi
5080:
1.3 ! paf 5081: echo "$as_me:$LINENO: result: $ac_cv_sys_symbol_underscore" >&5
! 5082: echo "${ECHO_T}$ac_cv_sys_symbol_underscore" >&6
1.1 parser 5083:
5084: if test x"$ac_cv_sys_symbol_underscore" = xyes; then
5085: if test x"$ac_cv_func_dlopen" = xyes ||
5086: test x"$ac_cv_lib_dl_dlopen" = xyes ; then
1.3 ! paf 5087: echo "$as_me:$LINENO: checking whether we have to add an underscore for dlsym" >&5
! 5088: echo $ECHO_N "checking whether we have to add an underscore for dlsym... $ECHO_C" >&6
! 5089: if test "${libltdl_cv_need_uscore+set}" = set; then
! 5090: echo $ECHO_N "(cached) $ECHO_C" >&6
1.1 parser 5091: else
5092: if test "$cross_compiling" = yes; then
5093: libltdl_cv_need_uscore=cross
5094:
5095: else
1.3 ! paf 5096: cat >conftest.$ac_ext <<_ACEOF
! 5097: #line $LINENO "configure"
! 5098: /* confdefs.h. */
! 5099: _ACEOF
! 5100: cat confdefs.h >>conftest.$ac_ext
! 5101: cat >>conftest.$ac_ext <<_ACEOF
! 5102: /* end confdefs.h. */
1.1 parser 5103:
5104: #if HAVE_DLFCN_H
5105: #include <dlfcn.h>
5106: #endif
5107:
5108: #include <stdio.h>
5109:
5110: #ifdef RTLD_GLOBAL
5111: # define LTDL_GLOBAL RTLD_GLOBAL
5112: #else
5113: # ifdef DL_GLOBAL
5114: # define LTDL_GLOBAL DL_GLOBAL
5115: # else
5116: # define LTDL_GLOBAL 0
5117: # endif
5118: #endif
5119:
5120: /* We may have to define LTDL_LAZY_OR_NOW in the command line if we
5121: find out it does not work in some platform. */
5122: #ifndef LTDL_LAZY_OR_NOW
5123: # ifdef RTLD_LAZY
5124: # define LTDL_LAZY_OR_NOW RTLD_LAZY
5125: # else
5126: # ifdef DL_LAZY
5127: # define LTDL_LAZY_OR_NOW DL_LAZY
5128: # else
5129: # ifdef RTLD_NOW
5130: # define LTDL_LAZY_OR_NOW RTLD_NOW
5131: # else
5132: # ifdef DL_NOW
5133: # define LTDL_LAZY_OR_NOW DL_NOW
5134: # else
5135: # define LTDL_LAZY_OR_NOW 0
5136: # endif
5137: # endif
5138: # endif
5139: # endif
5140: #endif
5141:
5142: fnord() { int i=42;}
5143: main() { void *self, *ptr1, *ptr2; self=dlopen(0,LTDL_GLOBAL|LTDL_LAZY_OR_NOW);
5144: if(self) { ptr1=dlsym(self,"fnord"); ptr2=dlsym(self,"_fnord");
1.3 ! paf 5145: if(ptr1 && !ptr2) { dlclose(self); exit(0); } } exit(1); }
1.1 parser 5146:
1.3 ! paf 5147: _ACEOF
! 5148: rm -f conftest$ac_exeext
! 5149: if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
! 5150: (eval $ac_link) 2>&5
! 5151: ac_status=$?
! 5152: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5153: (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
! 5154: { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
! 5155: (eval $ac_try) 2>&5
! 5156: ac_status=$?
! 5157: echo "$as_me:$LINENO: \$? = $ac_status" >&5
! 5158: (exit $ac_status); }; }; then
1.1 parser 5159: libltdl_cv_need_uscore=no
5160: else
1.3 ! paf 5161: echo "$as_me: program exited with status $ac_status" >&5
! 5162: echo "$as_me: failed program was:" >&5
! 5163: sed 's/^/| /' conftest.$ac_ext >&5
! 5164:
! 5165: ( exit $ac_status )
! 5166: libltdl_cv_need_uscore=yes
1.1 parser 5167: fi
1.3 ! paf 5168: rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1.1 parser 5169: fi
5170: fi
1.3 ! paf 5171: echo "$as_me:$LINENO: result: $libltdl_cv_need_uscore" >&5
! 5172: echo "${ECHO_T}$libltdl_cv_need_uscore" >&6
1.1 parser 5173: fi
5174: fi
5175:
5176: if test x"$libltdl_cv_need_uscore" = xyes; then
1.3 ! paf 5177:
! 5178: cat >>confdefs.h <<\_ACEOF
1.1 parser 5179: #define NEED_USCORE 1
1.3 ! paf 5180: _ACEOF
1.1 parser 5181:
5182: fi
5183:
1.3 ! paf 5184: ac_config_files="$ac_config_files Makefile"
! 5185: cat >confcache <<\_ACEOF
1.1 parser 5186: # This file is a shell script that caches the results of configure
5187: # tests run on this system so they can be shared between configure
1.3 ! paf 5188: # scripts and configure runs, see configure's option --config-cache.
! 5189: # It is not useful on other systems. If it contains results you don't
! 5190: # want to keep, you may remove or edit it.
1.1 parser 5191: #
1.3 ! paf 5192: # config.status only pays attention to the cache file if you give it
! 5193: # the --recheck option to rerun configure.
1.1 parser 5194: #
1.3 ! paf 5195: # `ac_cv_env_foo' variables (set or unset) will be overridden when
! 5196: # loading this file, other *unset* `ac_cv_foo' will be assigned the
! 5197: # following values.
! 5198:
! 5199: _ACEOF
! 5200:
1.1 parser 5201: # The following way of writing the cache mishandles newlines in values,
5202: # but we know of no workaround that is simple, portable, and efficient.
5203: # So, don't put newlines in cache variables' values.
5204: # Ultrix sh set writes to stderr and can't be redirected directly,
5205: # and sets the high bit in the cache file unless we assign to the vars.
1.3 ! paf 5206: {
! 5207: (set) 2>&1 |
! 5208: case `(ac_space=' '; set | grep ac_space) 2>&1` in
! 5209: *ac_space=\ *)
! 5210: # `set' does not quote correctly, so add quotes (double-quote
! 5211: # substitution turns \\\\ into \\, and sed turns \\ into \).
! 5212: sed -n \
! 5213: "s/'/'\\\\''/g;
! 5214: s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
! 5215: ;;
! 5216: *)
! 5217: # `set' quotes correctly as required by POSIX, so do not add quotes.
! 5218: sed -n \
! 5219: "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
! 5220: ;;
! 5221: esac;
! 5222: } |
! 5223: sed '
! 5224: t clear
! 5225: : clear
! 5226: s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
! 5227: t end
! 5228: /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
! 5229: : end' >>confcache
! 5230: if diff $cache_file confcache >/dev/null 2>&1; then :; else
1.1 parser 5231: if test -w $cache_file; then
1.3 ! paf 5232: test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
! 5233: cat confcache >$cache_file
1.1 parser 5234: else
5235: echo "not updating unwritable cache $cache_file"
5236: fi
5237: fi
5238: rm -f confcache
5239:
5240: test "x$prefix" = xNONE && prefix=$ac_default_prefix
5241: # Let make expand exec_prefix.
5242: test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5243:
1.3 ! paf 5244: # VPATH may cause trouble with some makes, so we remove $(srcdir),
! 5245: # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
! 5246: # trailing colons and then remove the whole line if VPATH becomes empty
! 5247: # (actually we leave an empty line to preserve line numbers).
1.1 parser 5248: if test "x$srcdir" = x.; then
1.3 ! paf 5249: ac_vpsub='/^[ ]*VPATH[ ]*=/{
! 5250: s/:*\$(srcdir):*/:/;
! 5251: s/:*\${srcdir}:*/:/;
! 5252: s/:*@srcdir@:*/:/;
! 5253: s/^\([^=]*=[ ]*\):*/\1/;
! 5254: s/:*$//;
! 5255: s/^[^=]*=[ ]*$//;
! 5256: }'
1.1 parser 5257: fi
5258:
1.3 ! paf 5259: DEFS=-DHAVE_CONFIG_H
! 5260:
! 5261: ac_libobjs=
! 5262: ac_ltlibobjs=
! 5263: for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
! 5264: # 1. Remove the extension, and $U if already installed.
! 5265: ac_i=`echo "$ac_i" |
! 5266: sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
! 5267: # 2. Add them.
! 5268: ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
! 5269: ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
! 5270: done
! 5271: LIBOBJS=$ac_libobjs
! 5272:
! 5273: LTLIBOBJS=$ac_ltlibobjs
! 5274:
1.1 parser 5275:
1.3 ! paf 5276: if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
! 5277: { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
! 5278: Usually this means the macro was only invoked conditionally." >&5
! 5279: echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
! 5280: Usually this means the macro was only invoked conditionally." >&2;}
! 5281: { (exit 1); exit 1; }; }
! 5282: fi
! 5283: if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
! 5284: { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
! 5285: Usually this means the macro was only invoked conditionally." >&5
! 5286: echo "$as_me: error: conditional \"AMDEP\" was never defined.
! 5287: Usually this means the macro was only invoked conditionally." >&2;}
! 5288: { (exit 1); exit 1; }; }
! 5289: fi
! 5290: if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
! 5291: { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
! 5292: Usually this means the macro was only invoked conditionally." >&5
! 5293: echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
! 5294: Usually this means the macro was only invoked conditionally." >&2;}
! 5295: { (exit 1); exit 1; }; }
! 5296: fi
! 5297: if test -z "${INSTALL_LTDL_TRUE}" && test -z "${INSTALL_LTDL_FALSE}"; then
! 5298: { { echo "$as_me:$LINENO: error: conditional \"INSTALL_LTDL\" was never defined.
! 5299: Usually this means the macro was only invoked conditionally." >&5
! 5300: echo "$as_me: error: conditional \"INSTALL_LTDL\" was never defined.
! 5301: Usually this means the macro was only invoked conditionally." >&2;}
! 5302: { (exit 1); exit 1; }; }
! 5303: fi
! 5304: if test -z "${CONVENIENCE_LTDL_TRUE}" && test -z "${CONVENIENCE_LTDL_FALSE}"; then
! 5305: { { echo "$as_me:$LINENO: error: conditional \"CONVENIENCE_LTDL\" was never defined.
! 5306: Usually this means the macro was only invoked conditionally." >&5
! 5307: echo "$as_me: error: conditional \"CONVENIENCE_LTDL\" was never defined.
! 5308: Usually this means the macro was only invoked conditionally." >&2;}
! 5309: { (exit 1); exit 1; }; }
! 5310: fi
1.1 parser 5311:
5312: : ${CONFIG_STATUS=./config.status}
1.3 ! paf 5313: ac_clean_files_save=$ac_clean_files
! 5314: ac_clean_files="$ac_clean_files $CONFIG_STATUS"
! 5315: { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
! 5316: echo "$as_me: creating $CONFIG_STATUS" >&6;}
! 5317: cat >$CONFIG_STATUS <<_ACEOF
! 5318: #! $SHELL
! 5319: # Generated by $as_me.
! 5320: # Run this file to recreate the current configuration.
! 5321: # Compiler output produced by configure, useful for debugging
! 5322: # configure, is in config.log if it exists.
! 5323:
! 5324: debug=false
! 5325: ac_cs_recheck=false
! 5326: ac_cs_silent=false
! 5327: SHELL=\${CONFIG_SHELL-$SHELL}
! 5328: _ACEOF
! 5329:
! 5330: cat >>$CONFIG_STATUS <<\_ACEOF
! 5331: ## --------------------- ##
! 5332: ## M4sh Initialization. ##
! 5333: ## --------------------- ##
! 5334:
! 5335: # Be Bourne compatible
! 5336: if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
! 5337: emulate sh
! 5338: NULLCMD=:
! 5339: # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
! 5340: # is contrary to our usage. Disable this feature.
! 5341: alias -g '${1+"$@"}'='"$@"'
! 5342: elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
! 5343: set -o posix
! 5344: fi
! 5345:
! 5346: # Support unset when possible.
! 5347: if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
! 5348: as_unset=unset
! 5349: else
! 5350: as_unset=false
! 5351: fi
! 5352:
! 5353:
! 5354: # Work around bugs in pre-3.0 UWIN ksh.
! 5355: $as_unset ENV MAIL MAILPATH
! 5356: PS1='$ '
! 5357: PS2='> '
! 5358: PS4='+ '
! 5359:
! 5360: # NLS nuisances.
! 5361: for as_var in \
! 5362: LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
! 5363: LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
! 5364: LC_TELEPHONE LC_TIME
! 5365: do
! 5366: if (set +x; test -n "`(eval $as_var=C; export $as_var) 2>&1`"); then
! 5367: eval $as_var=C; export $as_var
! 5368: else
! 5369: $as_unset $as_var
! 5370: fi
! 5371: done
! 5372:
! 5373: # Required to use basename.
! 5374: if expr a : '\(a\)' >/dev/null 2>&1; then
! 5375: as_expr=expr
! 5376: else
! 5377: as_expr=false
! 5378: fi
! 5379:
! 5380: if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
! 5381: as_basename=basename
! 5382: else
! 5383: as_basename=false
! 5384: fi
! 5385:
! 5386:
! 5387: # Name of the executable.
! 5388: as_me=`$as_basename "$0" ||
! 5389: $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
! 5390: X"$0" : 'X\(//\)$' \| \
! 5391: X"$0" : 'X\(/\)$' \| \
! 5392: . : '\(.\)' 2>/dev/null ||
! 5393: echo X/"$0" |
! 5394: sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
! 5395: /^X\/\(\/\/\)$/{ s//\1/; q; }
! 5396: /^X\/\(\/\).*/{ s//\1/; q; }
! 5397: s/.*/./; q'`
! 5398:
! 5399:
! 5400: # PATH needs CR, and LINENO needs CR and PATH.
! 5401: # Avoid depending upon Character Ranges.
! 5402: as_cr_letters='abcdefghijklmnopqrstuvwxyz'
! 5403: as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
! 5404: as_cr_Letters=$as_cr_letters$as_cr_LETTERS
! 5405: as_cr_digits='0123456789'
! 5406: as_cr_alnum=$as_cr_Letters$as_cr_digits
! 5407:
! 5408: # The user is always right.
! 5409: if test "${PATH_SEPARATOR+set}" != set; then
! 5410: echo "#! /bin/sh" >conf$$.sh
! 5411: echo "exit 0" >>conf$$.sh
! 5412: chmod +x conf$$.sh
! 5413: if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
! 5414: PATH_SEPARATOR=';'
! 5415: else
! 5416: PATH_SEPARATOR=:
! 5417: fi
! 5418: rm -f conf$$.sh
! 5419: fi
! 5420:
! 5421:
! 5422: as_lineno_1=$LINENO
! 5423: as_lineno_2=$LINENO
! 5424: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 5425: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 5426: test "x$as_lineno_3" = "x$as_lineno_2" || {
! 5427: # Find who we are. Look in the path if we contain no path at all
! 5428: # relative or not.
! 5429: case $0 in
! 5430: *[\\/]* ) as_myself=$0 ;;
! 5431: *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5432: for as_dir in $PATH
! 5433: do
! 5434: IFS=$as_save_IFS
! 5435: test -z "$as_dir" && as_dir=.
! 5436: test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
! 5437: done
! 5438:
! 5439: ;;
! 5440: esac
! 5441: # We did not find ourselves, most probably we were run as `sh COMMAND'
! 5442: # in which case we are not to be found in the path.
! 5443: if test "x$as_myself" = x; then
! 5444: as_myself=$0
! 5445: fi
! 5446: if test ! -f "$as_myself"; then
! 5447: { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
! 5448: echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
! 5449: { (exit 1); exit 1; }; }
! 5450: fi
! 5451: case $CONFIG_SHELL in
! 5452: '')
! 5453: as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
! 5454: for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
! 5455: do
! 5456: IFS=$as_save_IFS
! 5457: test -z "$as_dir" && as_dir=.
! 5458: for as_base in sh bash ksh sh5; do
! 5459: case $as_dir in
! 5460: /*)
! 5461: if ("$as_dir/$as_base" -c '
! 5462: as_lineno_1=$LINENO
! 5463: as_lineno_2=$LINENO
! 5464: as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
! 5465: test "x$as_lineno_1" != "x$as_lineno_2" &&
! 5466: test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
! 5467: $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
! 5468: $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
! 5469: CONFIG_SHELL=$as_dir/$as_base
! 5470: export CONFIG_SHELL
! 5471: exec "$CONFIG_SHELL" "$0" ${1+"$@"}
! 5472: fi;;
! 5473: esac
! 5474: done
! 5475: done
! 5476: ;;
! 5477: esac
! 5478:
! 5479: # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
! 5480: # uniformly replaced by the line number. The first 'sed' inserts a
! 5481: # line-number line before each line; the second 'sed' does the real
! 5482: # work. The second script uses 'N' to pair each line-number line
! 5483: # with the numbered line, and appends trailing '-' during
! 5484: # substitution so that $LINENO is not a special case at line end.
! 5485: # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
! 5486: # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
! 5487: sed '=' <$as_myself |
! 5488: sed '
! 5489: N
! 5490: s,$,-,
! 5491: : loop
! 5492: s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
! 5493: t loop
! 5494: s,-$,,
! 5495: s,^['$as_cr_digits']*\n,,
! 5496: ' >$as_me.lineno &&
! 5497: chmod +x $as_me.lineno ||
! 5498: { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
! 5499: echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
! 5500: { (exit 1); exit 1; }; }
! 5501:
! 5502: # Don't try to exec as it changes $[0], causing all sort of problems
! 5503: # (the dirname of $[0] is not the place where we might find the
! 5504: # original and so on. Autoconf is especially sensible to this).
! 5505: . ./$as_me.lineno
! 5506: # Exit status is that of the last command.
! 5507: exit
! 5508: }
! 5509:
! 5510:
! 5511: case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
! 5512: *c*,-n*) ECHO_N= ECHO_C='
! 5513: ' ECHO_T=' ' ;;
! 5514: *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
! 5515: *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
! 5516: esac
! 5517:
! 5518: if expr a : '\(a\)' >/dev/null 2>&1; then
! 5519: as_expr=expr
! 5520: else
! 5521: as_expr=false
! 5522: fi
! 5523:
! 5524: rm -f conf$$ conf$$.exe conf$$.file
! 5525: echo >conf$$.file
! 5526: if ln -s conf$$.file conf$$ 2>/dev/null; then
! 5527: # We could just check for DJGPP; but this test a) works b) is more generic
! 5528: # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
! 5529: if test -f conf$$.exe; then
! 5530: # Don't use ln at all; we don't have any links
! 5531: as_ln_s='cp -p'
! 5532: else
! 5533: as_ln_s='ln -s'
! 5534: fi
! 5535: elif ln conf$$.file conf$$ 2>/dev/null; then
! 5536: as_ln_s=ln
! 5537: else
! 5538: as_ln_s='cp -p'
! 5539: fi
! 5540: rm -f conf$$ conf$$.exe conf$$.file
! 5541:
! 5542: if mkdir -p . 2>/dev/null; then
! 5543: as_mkdir_p=:
! 5544: else
! 5545: as_mkdir_p=false
! 5546: fi
! 5547:
! 5548: as_executable_p="test -f"
! 5549:
! 5550: # Sed expression to map a string onto a valid CPP name.
! 5551: as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
! 5552:
! 5553: # Sed expression to map a string onto a valid variable name.
! 5554: as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
! 5555:
! 5556:
! 5557: # IFS
! 5558: # We need space, tab and new line, in precisely that order.
! 5559: as_nl='
! 5560: '
! 5561: IFS=" $as_nl"
! 5562:
! 5563: # CDPATH.
! 5564: $as_unset CDPATH
! 5565:
! 5566: exec 6>&1
! 5567:
! 5568: # Open the log real soon, to keep \$[0] and so on meaningful, and to
! 5569: # report actual input values of CONFIG_FILES etc. instead of their
! 5570: # values after options handling. Logging --version etc. is OK.
! 5571: exec 5>>config.log
! 5572: {
! 5573: echo
! 5574: sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
! 5575: ## Running $as_me. ##
! 5576: _ASBOX
! 5577: } >&5
! 5578: cat >&5 <<_CSEOF
! 5579:
! 5580: This file was extended by $as_me, which was
! 5581: generated by GNU Autoconf 2.57. Invocation command line was
! 5582:
! 5583: CONFIG_FILES = $CONFIG_FILES
! 5584: CONFIG_HEADERS = $CONFIG_HEADERS
! 5585: CONFIG_LINKS = $CONFIG_LINKS
! 5586: CONFIG_COMMANDS = $CONFIG_COMMANDS
! 5587: $ $0 $@
! 5588:
! 5589: _CSEOF
! 5590: echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
! 5591: echo >&5
! 5592: _ACEOF
! 5593:
! 5594: # Files that config.status was made for.
! 5595: if test -n "$ac_config_files"; then
! 5596: echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
! 5597: fi
! 5598:
! 5599: if test -n "$ac_config_headers"; then
! 5600: echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
! 5601: fi
! 5602:
! 5603: if test -n "$ac_config_links"; then
! 5604: echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
! 5605: fi
! 5606:
! 5607: if test -n "$ac_config_commands"; then
! 5608: echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
! 5609: fi
! 5610:
! 5611: cat >>$CONFIG_STATUS <<\_ACEOF
! 5612:
! 5613: ac_cs_usage="\
! 5614: \`$as_me' instantiates files from templates according to the
! 5615: current configuration.
1.1 parser 5616:
1.3 ! paf 5617: Usage: $0 [OPTIONS] [FILE]...
! 5618:
! 5619: -h, --help print this help, then exit
! 5620: -V, --version print version number, then exit
! 5621: -q, --quiet do not print progress messages
! 5622: -d, --debug don't remove temporary files
! 5623: --recheck update $as_me by reconfiguring in the same conditions
! 5624: --file=FILE[:TEMPLATE]
! 5625: instantiate the configuration file FILE
! 5626: --header=FILE[:TEMPLATE]
! 5627: instantiate the configuration header FILE
! 5628:
! 5629: Configuration files:
! 5630: $config_files
! 5631:
! 5632: Configuration headers:
! 5633: $config_headers
! 5634:
! 5635: Configuration commands:
! 5636: $config_commands
! 5637:
! 5638: Report bugs to <bug-autoconf@gnu.org>."
! 5639: _ACEOF
! 5640:
! 5641: cat >>$CONFIG_STATUS <<_ACEOF
! 5642: ac_cs_version="\\
! 5643: config.status
! 5644: configured by $0, generated by GNU Autoconf 2.57,
! 5645: with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
! 5646:
! 5647: Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
! 5648: Free Software Foundation, Inc.
! 5649: This config.status script is free software; the Free Software Foundation
! 5650: gives unlimited permission to copy, distribute and modify it."
! 5651: srcdir=$srcdir
! 5652: INSTALL="$INSTALL"
! 5653: _ACEOF
! 5654:
! 5655: cat >>$CONFIG_STATUS <<\_ACEOF
! 5656: # If no file are specified by the user, then we need to provide default
! 5657: # value. By we need to know if files were specified by the user.
! 5658: ac_need_defaults=:
! 5659: while test $# != 0
! 5660: do
! 5661: case $1 in
! 5662: --*=*)
! 5663: ac_option=`expr "x$1" : 'x\([^=]*\)='`
! 5664: ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
! 5665: ac_shift=:
! 5666: ;;
! 5667: -*)
! 5668: ac_option=$1
! 5669: ac_optarg=$2
! 5670: ac_shift=shift
! 5671: ;;
! 5672: *) # This is not an option, so the user has probably given explicit
! 5673: # arguments.
! 5674: ac_option=$1
! 5675: ac_need_defaults=false;;
! 5676: esac
! 5677:
! 5678: case $ac_option in
! 5679: # Handling of the options.
! 5680: _ACEOF
! 5681: cat >>$CONFIG_STATUS <<\_ACEOF
! 5682: -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
! 5683: ac_cs_recheck=: ;;
! 5684: --version | --vers* | -V )
! 5685: echo "$ac_cs_version"; exit 0 ;;
! 5686: --he | --h)
! 5687: # Conflict between --help and --header
! 5688: { { echo "$as_me:$LINENO: error: ambiguous option: $1
! 5689: Try \`$0 --help' for more information." >&5
! 5690: echo "$as_me: error: ambiguous option: $1
! 5691: Try \`$0 --help' for more information." >&2;}
! 5692: { (exit 1); exit 1; }; };;
! 5693: --help | --hel | -h )
! 5694: echo "$ac_cs_usage"; exit 0 ;;
! 5695: --debug | --d* | -d )
! 5696: debug=: ;;
! 5697: --file | --fil | --fi | --f )
! 5698: $ac_shift
! 5699: CONFIG_FILES="$CONFIG_FILES $ac_optarg"
! 5700: ac_need_defaults=false;;
! 5701: --header | --heade | --head | --hea )
! 5702: $ac_shift
! 5703: CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
! 5704: ac_need_defaults=false;;
! 5705: -q | -quiet | --quiet | --quie | --qui | --qu | --q \
! 5706: | -silent | --silent | --silen | --sile | --sil | --si | --s)
! 5707: ac_cs_silent=: ;;
! 5708:
! 5709: # This is an error.
! 5710: -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
! 5711: Try \`$0 --help' for more information." >&5
! 5712: echo "$as_me: error: unrecognized option: $1
! 5713: Try \`$0 --help' for more information." >&2;}
! 5714: { (exit 1); exit 1; }; } ;;
! 5715:
! 5716: *) ac_config_targets="$ac_config_targets $1" ;;
! 5717:
! 5718: esac
! 5719: shift
! 5720: done
! 5721:
! 5722: ac_configure_extra_args=
! 5723:
! 5724: if $ac_cs_silent; then
! 5725: exec 6>/dev/null
! 5726: ac_configure_extra_args="$ac_configure_extra_args --silent"
! 5727: fi
! 5728:
! 5729: _ACEOF
! 5730: cat >>$CONFIG_STATUS <<_ACEOF
! 5731: if \$ac_cs_recheck; then
! 5732: echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
! 5733: exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
! 5734: fi
! 5735:
! 5736: _ACEOF
! 5737:
! 5738: cat >>$CONFIG_STATUS <<_ACEOF
1.1 parser 5739: #
1.3 ! paf 5740: # INIT-COMMANDS section.
1.1 parser 5741: #
5742:
1.3 ! paf 5743: AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
! 5744:
! 5745: _ACEOF
! 5746:
! 5747:
! 5748:
! 5749: cat >>$CONFIG_STATUS <<\_ACEOF
! 5750: for ac_config_target in $ac_config_targets
1.1 parser 5751: do
1.3 ! paf 5752: case "$ac_config_target" in
! 5753: # Handling of arguments.
! 5754: "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
! 5755: "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
! 5756: "config_auto.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config_auto.h" ;;
! 5757: *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
! 5758: echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
! 5759: { (exit 1); exit 1; }; };;
1.1 parser 5760: esac
5761: done
5762:
1.3 ! paf 5763: # If the user did not use the arguments to specify the items to instantiate,
! 5764: # then the envvar interface is used. Set only those that are not.
! 5765: # We use the long form for the default assignment because of an extremely
! 5766: # bizarre bug on SunOS 4.1.3.
! 5767: if $ac_need_defaults; then
! 5768: test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
! 5769: test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
! 5770: test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
! 5771: fi
! 5772:
! 5773: # Have a temporary directory for convenience. Make it in the build tree
! 5774: # simply because there is no reason to put it here, and in addition,
! 5775: # creating and moving files from /tmp can sometimes cause problems.
! 5776: # Create a temporary directory, and hook for its removal unless debugging.
! 5777: $debug ||
! 5778: {
! 5779: trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
! 5780: trap '{ (exit 1); exit 1; }' 1 2 13 15
! 5781: }
! 5782:
! 5783: # Create a (secure) tmp directory for tmp files.
! 5784:
! 5785: {
! 5786: tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
! 5787: test -n "$tmp" && test -d "$tmp"
! 5788: } ||
! 5789: {
! 5790: tmp=./confstat$$-$RANDOM
! 5791: (umask 077 && mkdir $tmp)
! 5792: } ||
! 5793: {
! 5794: echo "$me: cannot create a temporary directory in ." >&2
! 5795: { (exit 1); exit 1; }
! 5796: }
! 5797:
! 5798: _ACEOF
1.1 parser 5799:
1.3 ! paf 5800: cat >>$CONFIG_STATUS <<_ACEOF
1.1 parser 5801:
1.3 ! paf 5802: #
! 5803: # CONFIG_FILES section.
! 5804: #
1.1 parser 5805:
1.3 ! paf 5806: # No need to generate the scripts if there are no CONFIG_FILES.
! 5807: # This happens for instance when ./config.status config.h
! 5808: if test -n "\$CONFIG_FILES"; then
! 5809: # Protect against being on the right side of a sed subst in config.status.
! 5810: sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
! 5811: s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
! 5812: s,@SHELL@,$SHELL,;t t
! 5813: s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
! 5814: s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
! 5815: s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
! 5816: s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
! 5817: s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
! 5818: s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
! 5819: s,@exec_prefix@,$exec_prefix,;t t
! 5820: s,@prefix@,$prefix,;t t
! 5821: s,@program_transform_name@,$program_transform_name,;t t
! 5822: s,@bindir@,$bindir,;t t
! 5823: s,@sbindir@,$sbindir,;t t
! 5824: s,@libexecdir@,$libexecdir,;t t
! 5825: s,@datadir@,$datadir,;t t
! 5826: s,@sysconfdir@,$sysconfdir,;t t
! 5827: s,@sharedstatedir@,$sharedstatedir,;t t
! 5828: s,@localstatedir@,$localstatedir,;t t
! 5829: s,@libdir@,$libdir,;t t
! 5830: s,@includedir@,$includedir,;t t
! 5831: s,@oldincludedir@,$oldincludedir,;t t
! 5832: s,@infodir@,$infodir,;t t
! 5833: s,@mandir@,$mandir,;t t
! 5834: s,@build_alias@,$build_alias,;t t
! 5835: s,@host_alias@,$host_alias,;t t
! 5836: s,@target_alias@,$target_alias,;t t
! 5837: s,@DEFS@,$DEFS,;t t
! 5838: s,@ECHO_C@,$ECHO_C,;t t
! 5839: s,@ECHO_N@,$ECHO_N,;t t
! 5840: s,@ECHO_T@,$ECHO_T,;t t
! 5841: s,@LIBS@,$LIBS,;t t
! 5842: s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
! 5843: s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
! 5844: s,@INSTALL_DATA@,$INSTALL_DATA,;t t
! 5845: s,@CYGPATH_W@,$CYGPATH_W,;t t
! 5846: s,@PACKAGE@,$PACKAGE,;t t
! 5847: s,@VERSION@,$VERSION,;t t
! 5848: s,@ACLOCAL@,$ACLOCAL,;t t
! 5849: s,@AUTOCONF@,$AUTOCONF,;t t
! 5850: s,@AUTOMAKE@,$AUTOMAKE,;t t
! 5851: s,@AUTOHEADER@,$AUTOHEADER,;t t
! 5852: s,@MAKEINFO@,$MAKEINFO,;t t
! 5853: s,@AMTAR@,$AMTAR,;t t
! 5854: s,@install_sh@,$install_sh,;t t
! 5855: s,@STRIP@,$STRIP,;t t
! 5856: s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
! 5857: s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
! 5858: s,@AWK@,$AWK,;t t
! 5859: s,@SET_MAKE@,$SET_MAKE,;t t
! 5860: s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
! 5861: s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
! 5862: s,@MAINT@,$MAINT,;t t
! 5863: s,@CC@,$CC,;t t
! 5864: s,@CFLAGS@,$CFLAGS,;t t
! 5865: s,@LDFLAGS@,$LDFLAGS,;t t
! 5866: s,@CPPFLAGS@,$CPPFLAGS,;t t
! 5867: s,@ac_ct_CC@,$ac_ct_CC,;t t
! 5868: s,@EXEEXT@,$EXEEXT,;t t
! 5869: s,@OBJEXT@,$OBJEXT,;t t
! 5870: s,@DEPDIR@,$DEPDIR,;t t
! 5871: s,@am__include@,$am__include,;t t
! 5872: s,@am__quote@,$am__quote,;t t
! 5873: s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
! 5874: s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
! 5875: s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
! 5876: s,@CCDEPMODE@,$CCDEPMODE,;t t
! 5877: s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
! 5878: s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
! 5879: s,@build@,$build,;t t
! 5880: s,@build_cpu@,$build_cpu,;t t
! 5881: s,@build_vendor@,$build_vendor,;t t
! 5882: s,@build_os@,$build_os,;t t
! 5883: s,@host@,$host,;t t
! 5884: s,@host_cpu@,$host_cpu,;t t
! 5885: s,@host_vendor@,$host_vendor,;t t
! 5886: s,@host_os@,$host_os,;t t
! 5887: s,@RANLIB@,$RANLIB,;t t
! 5888: s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
! 5889: s,@LN_S@,$LN_S,;t t
! 5890: s,@LIBTOOL@,$LIBTOOL,;t t
! 5891: s,@LIBTOOL_DEPS@,$LIBTOOL_DEPS,;t t
! 5892: s,@INSTALL_LTDL_TRUE@,$INSTALL_LTDL_TRUE,;t t
! 5893: s,@INSTALL_LTDL_FALSE@,$INSTALL_LTDL_FALSE,;t t
! 5894: s,@CONVENIENCE_LTDL_TRUE@,$CONVENIENCE_LTDL_TRUE,;t t
! 5895: s,@CONVENIENCE_LTDL_FALSE@,$CONVENIENCE_LTDL_FALSE,;t t
! 5896: s,@CPP@,$CPP,;t t
! 5897: s,@EGREP@,$EGREP,;t t
! 5898: s,@LIBADD_DL@,$LIBADD_DL,;t t
! 5899: s,@LIBOBJS@,$LIBOBJS,;t t
! 5900: s,@LTLIBOBJS@,$LTLIBOBJS,;t t
1.1 parser 5901: CEOF
5902:
1.3 ! paf 5903: _ACEOF
1.1 parser 5904:
1.3 ! paf 5905: cat >>$CONFIG_STATUS <<\_ACEOF
! 5906: # Split the substitutions into bite-sized pieces for seds with
! 5907: # small command number limits, like on Digital OSF/1 and HP-UX.
! 5908: ac_max_sed_lines=48
! 5909: ac_sed_frag=1 # Number of current file.
! 5910: ac_beg=1 # First line for current file.
! 5911: ac_end=$ac_max_sed_lines # Line after last line for current file.
! 5912: ac_more_lines=:
! 5913: ac_sed_cmds=
! 5914: while $ac_more_lines; do
! 5915: if test $ac_beg -gt 1; then
! 5916: sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 5917: else
! 5918: sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
! 5919: fi
! 5920: if test ! -s $tmp/subs.frag; then
! 5921: ac_more_lines=false
1.1 parser 5922: else
1.3 ! paf 5923: # The purpose of the label and of the branching condition is to
! 5924: # speed up the sed processing (if there are no `@' at all, there
! 5925: # is no need to browse any of the substitutions).
! 5926: # These are the two extra sed commands mentioned above.
! 5927: (echo ':t
! 5928: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
! 5929: if test -z "$ac_sed_cmds"; then
! 5930: ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
! 5931: else
! 5932: ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
! 5933: fi
! 5934: ac_sed_frag=`expr $ac_sed_frag + 1`
! 5935: ac_beg=$ac_end
! 5936: ac_end=`expr $ac_end + $ac_max_sed_lines`
1.1 parser 5937: fi
1.3 ! paf 5938: done
! 5939: if test -z "$ac_sed_cmds"; then
! 5940: ac_sed_cmds=cat
1.1 parser 5941: fi
1.3 ! paf 5942: fi # test -n "$CONFIG_FILES"
1.1 parser 5943:
1.3 ! paf 5944: _ACEOF
! 5945: cat >>$CONFIG_STATUS <<\_ACEOF
! 5946: for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
1.1 parser 5947: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.3 ! paf 5948: case $ac_file in
! 5949: - | *:- | *:-:* ) # input from stdin
! 5950: cat >$tmp/stdin
! 5951: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 5952: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 5953: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 5954: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 5955: * ) ac_file_in=$ac_file.in ;;
1.1 parser 5956: esac
5957:
1.3 ! paf 5958: # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
! 5959: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 5960: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 5961: X"$ac_file" : 'X\(//\)[^/]' \| \
! 5962: X"$ac_file" : 'X\(//\)$' \| \
! 5963: X"$ac_file" : 'X\(/\)' \| \
! 5964: . : '\(.\)' 2>/dev/null ||
! 5965: echo X"$ac_file" |
! 5966: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 5967: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 5968: /^X\(\/\/\)$/{ s//\1/; q; }
! 5969: /^X\(\/\).*/{ s//\1/; q; }
! 5970: s/.*/./; q'`
! 5971: { if $as_mkdir_p; then
! 5972: mkdir -p "$ac_dir"
! 5973: else
! 5974: as_dir="$ac_dir"
! 5975: as_dirs=
! 5976: while test ! -d "$as_dir"; do
! 5977: as_dirs="$as_dir $as_dirs"
! 5978: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 5979: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 5980: X"$as_dir" : 'X\(//\)[^/]' \| \
! 5981: X"$as_dir" : 'X\(//\)$' \| \
! 5982: X"$as_dir" : 'X\(/\)' \| \
! 5983: . : '\(.\)' 2>/dev/null ||
! 5984: echo X"$as_dir" |
! 5985: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 5986: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 5987: /^X\(\/\/\)$/{ s//\1/; q; }
! 5988: /^X\(\/\).*/{ s//\1/; q; }
! 5989: s/.*/./; q'`
! 5990: done
! 5991: test ! -n "$as_dirs" || mkdir $as_dirs
! 5992: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 5993: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 5994: { (exit 1); exit 1; }; }; }
! 5995:
! 5996: ac_builddir=.
! 5997:
! 5998: if test "$ac_dir" != .; then
! 5999: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 6000: # A "../" for each directory in $ac_dir_suffix.
! 6001: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 6002: else
! 6003: ac_dir_suffix= ac_top_builddir=
! 6004: fi
! 6005:
! 6006: case $srcdir in
! 6007: .) # No --srcdir option. We are building in place.
! 6008: ac_srcdir=.
! 6009: if test -z "$ac_top_builddir"; then
! 6010: ac_top_srcdir=.
! 6011: else
! 6012: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 6013: fi ;;
! 6014: [\\/]* | ?:[\\/]* ) # Absolute path.
! 6015: ac_srcdir=$srcdir$ac_dir_suffix;
! 6016: ac_top_srcdir=$srcdir ;;
! 6017: *) # Relative path.
! 6018: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 6019: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 6020: esac
! 6021: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! 6022: # absolute.
! 6023: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! 6024: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
! 6025: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! 6026: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
! 6027:
1.1 parser 6028:
1.3 ! paf 6029: case $INSTALL in
! 6030: [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
! 6031: *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
1.1 parser 6032: esac
6033:
1.3 ! paf 6034: if test x"$ac_file" != x-; then
! 6035: { echo "$as_me:$LINENO: creating $ac_file" >&5
! 6036: echo "$as_me: creating $ac_file" >&6;}
! 6037: rm -f "$ac_file"
! 6038: fi
! 6039: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 6040: # use $as_me), people would be surprised to read:
! 6041: # /* config.h. Generated by config.status. */
! 6042: if test x"$ac_file" = x-; then
! 6043: configure_input=
! 6044: else
! 6045: configure_input="$ac_file. "
! 6046: fi
! 6047: configure_input=$configure_input"Generated from `echo $ac_file_in |
! 6048: sed 's,.*/,,'` by configure."
! 6049:
! 6050: # First look for the input files in the build tree, otherwise in the
! 6051: # src tree.
! 6052: ac_file_inputs=`IFS=:
! 6053: for f in $ac_file_in; do
! 6054: case $f in
! 6055: -) echo $tmp/stdin ;;
! 6056: [\\/$]*)
! 6057: # Absolute (can't be DOS-style, as IFS=:)
! 6058: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 6059: echo "$as_me: error: cannot find input file: $f" >&2;}
! 6060: { (exit 1); exit 1; }; }
! 6061: echo $f;;
! 6062: *) # Relative
! 6063: if test -f "$f"; then
! 6064: # Build tree
! 6065: echo $f
! 6066: elif test -f "$srcdir/$f"; then
! 6067: # Source tree
! 6068: echo $srcdir/$f
! 6069: else
! 6070: # /dev/null tree
! 6071: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 6072: echo "$as_me: error: cannot find input file: $f" >&2;}
! 6073: { (exit 1); exit 1; }; }
! 6074: fi;;
! 6075: esac
! 6076: done` || { (exit 1); exit 1; }
! 6077: _ACEOF
! 6078: cat >>$CONFIG_STATUS <<_ACEOF
! 6079: sed "$ac_vpsub
! 6080: $extrasub
! 6081: _ACEOF
! 6082: cat >>$CONFIG_STATUS <<\_ACEOF
! 6083: :t
! 6084: /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
! 6085: s,@configure_input@,$configure_input,;t t
! 6086: s,@srcdir@,$ac_srcdir,;t t
! 6087: s,@abs_srcdir@,$ac_abs_srcdir,;t t
! 6088: s,@top_srcdir@,$ac_top_srcdir,;t t
! 6089: s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
! 6090: s,@builddir@,$ac_builddir,;t t
! 6091: s,@abs_builddir@,$ac_abs_builddir,;t t
! 6092: s,@top_builddir@,$ac_top_builddir,;t t
! 6093: s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
! 6094: s,@INSTALL@,$ac_INSTALL,;t t
! 6095: " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
! 6096: rm -f $tmp/stdin
! 6097: if test x"$ac_file" != x-; then
! 6098: mv $tmp/out $ac_file
! 6099: else
! 6100: cat $tmp/out
! 6101: rm -f $tmp/out
! 6102: fi
1.1 parser 6103:
1.3 ! paf 6104: done
! 6105: _ACEOF
! 6106: cat >>$CONFIG_STATUS <<\_ACEOF
1.1 parser 6107:
1.3 ! paf 6108: #
! 6109: # CONFIG_HEADER section.
! 6110: #
1.1 parser 6111:
6112: # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6113: # NAME is the cpp macro being defined and VALUE is the value it is being given.
6114: #
6115: # ac_d sets the value in "#define NAME VALUE" lines.
1.3 ! paf 6116: ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
! 6117: ac_dB='[ ].*$,\1#\2'
! 6118: ac_dC=' '
! 6119: ac_dD=',;t'
! 6120: # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
! 6121: ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
! 6122: ac_uB='$,\1#\2define\3'
1.1 parser 6123: ac_uC=' '
1.3 ! paf 6124: ac_uD=',;t'
1.1 parser 6125:
1.3 ! paf 6126: for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
1.1 parser 6127: # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1.3 ! paf 6128: case $ac_file in
! 6129: - | *:- | *:-:* ) # input from stdin
! 6130: cat >$tmp/stdin
! 6131: ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 6132: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 6133: *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 6134: ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
! 6135: * ) ac_file_in=$ac_file.in ;;
1.1 parser 6136: esac
6137:
1.3 ! paf 6138: test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
! 6139: echo "$as_me: creating $ac_file" >&6;}
1.1 parser 6140:
1.3 ! paf 6141: # First look for the input files in the build tree, otherwise in the
! 6142: # src tree.
! 6143: ac_file_inputs=`IFS=:
! 6144: for f in $ac_file_in; do
! 6145: case $f in
! 6146: -) echo $tmp/stdin ;;
! 6147: [\\/$]*)
! 6148: # Absolute (can't be DOS-style, as IFS=:)
! 6149: test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 6150: echo "$as_me: error: cannot find input file: $f" >&2;}
! 6151: { (exit 1); exit 1; }; }
! 6152: echo $f;;
! 6153: *) # Relative
! 6154: if test -f "$f"; then
! 6155: # Build tree
! 6156: echo $f
! 6157: elif test -f "$srcdir/$f"; then
! 6158: # Source tree
! 6159: echo $srcdir/$f
! 6160: else
! 6161: # /dev/null tree
! 6162: { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
! 6163: echo "$as_me: error: cannot find input file: $f" >&2;}
! 6164: { (exit 1); exit 1; }; }
! 6165: fi;;
! 6166: esac
! 6167: done` || { (exit 1); exit 1; }
! 6168: # Remove the trailing spaces.
! 6169: sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
! 6170:
! 6171: _ACEOF
! 6172:
! 6173: # Transform confdefs.h into two sed scripts, `conftest.defines' and
! 6174: # `conftest.undefs', that substitutes the proper values into
! 6175: # config.h.in to produce config.h. The first handles `#define'
! 6176: # templates, and the second `#undef' templates.
! 6177: # And first: Protect against being on the right side of a sed subst in
! 6178: # config.status. Protect against being in an unquoted here document
! 6179: # in config.status.
! 6180: rm -f conftest.defines conftest.undefs
! 6181: # Using a here document instead of a string reduces the quoting nightmare.
! 6182: # Putting comments in sed scripts is not portable.
! 6183: #
! 6184: # `end' is used to avoid that the second main sed command (meant for
! 6185: # 0-ary CPP macros) applies to n-ary macro definitions.
! 6186: # See the Autoconf documentation for `clear'.
! 6187: cat >confdef2sed.sed <<\_ACEOF
! 6188: s/[\\&,]/\\&/g
! 6189: s,[\\$`],\\&,g
! 6190: t clear
! 6191: : clear
! 6192: s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
! 6193: t end
! 6194: s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
! 6195: : end
! 6196: _ACEOF
! 6197: # If some macros were called several times there might be several times
! 6198: # the same #defines, which is useless. Nevertheless, we may not want to
! 6199: # sort them, since we want the *last* AC-DEFINE to be honored.
! 6200: uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
! 6201: sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
! 6202: rm -f confdef2sed.sed
1.1 parser 6203:
6204: # This sed command replaces #undef with comments. This is necessary, for
6205: # example, in the case of _POSIX_SOURCE, which is predefined and required
6206: # on some systems where configure will not decide to define it.
1.3 ! paf 6207: cat >>conftest.undefs <<\_ACEOF
! 6208: s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
! 6209: _ACEOF
! 6210:
! 6211: # Break up conftest.defines because some shells have a limit on the size
! 6212: # of here documents, and old seds have small limits too (100 cmds).
! 6213: echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
! 6214: echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
! 6215: echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
! 6216: echo ' :' >>$CONFIG_STATUS
! 6217: rm -f conftest.tail
! 6218: while grep . conftest.defines >/dev/null
! 6219: do
! 6220: # Write a limited-size here document to $tmp/defines.sed.
! 6221: echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
! 6222: # Speed up: don't consider the non `#define' lines.
! 6223: echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
! 6224: # Work around the forget-to-reset-the-flag bug.
! 6225: echo 't clr' >>$CONFIG_STATUS
! 6226: echo ': clr' >>$CONFIG_STATUS
! 6227: sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
! 6228: echo 'CEOF
! 6229: sed -f $tmp/defines.sed $tmp/in >$tmp/out
! 6230: rm -f $tmp/in
! 6231: mv $tmp/out $tmp/in
! 6232: ' >>$CONFIG_STATUS
! 6233: sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
! 6234: rm -f conftest.defines
! 6235: mv conftest.tail conftest.defines
! 6236: done
! 6237: rm -f conftest.defines
! 6238: echo ' fi # grep' >>$CONFIG_STATUS
! 6239: echo >>$CONFIG_STATUS
! 6240:
! 6241: # Break up conftest.undefs because some shells have a limit on the size
! 6242: # of here documents, and old seds have small limits too (100 cmds).
! 6243: echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
1.1 parser 6244: rm -f conftest.tail
1.3 ! paf 6245: while grep . conftest.undefs >/dev/null
1.1 parser 6246: do
1.3 ! paf 6247: # Write a limited-size here document to $tmp/undefs.sed.
! 6248: echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
! 6249: # Speed up: don't consider the non `#undef'
! 6250: echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
! 6251: # Work around the forget-to-reset-the-flag bug.
! 6252: echo 't clr' >>$CONFIG_STATUS
! 6253: echo ': clr' >>$CONFIG_STATUS
! 6254: sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
1.1 parser 6255: echo 'CEOF
1.3 ! paf 6256: sed -f $tmp/undefs.sed $tmp/in >$tmp/out
! 6257: rm -f $tmp/in
! 6258: mv $tmp/out $tmp/in
! 6259: ' >>$CONFIG_STATUS
! 6260: sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
! 6261: rm -f conftest.undefs
! 6262: mv conftest.tail conftest.undefs
! 6263: done
! 6264: rm -f conftest.undefs
! 6265:
! 6266: cat >>$CONFIG_STATUS <<\_ACEOF
! 6267: # Let's still pretend it is `configure' which instantiates (i.e., don't
! 6268: # use $as_me), people would be surprised to read:
! 6269: # /* config.h. Generated by config.status. */
! 6270: if test x"$ac_file" = x-; then
! 6271: echo "/* Generated by configure. */" >$tmp/config.h
! 6272: else
! 6273: echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
! 6274: fi
! 6275: cat $tmp/in >>$tmp/config.h
! 6276: rm -f $tmp/in
! 6277: if test x"$ac_file" != x-; then
! 6278: if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
! 6279: { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
! 6280: echo "$as_me: $ac_file is unchanged" >&6;}
! 6281: else
! 6282: ac_dir=`(dirname "$ac_file") 2>/dev/null ||
! 6283: $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 6284: X"$ac_file" : 'X\(//\)[^/]' \| \
! 6285: X"$ac_file" : 'X\(//\)$' \| \
! 6286: X"$ac_file" : 'X\(/\)' \| \
! 6287: . : '\(.\)' 2>/dev/null ||
! 6288: echo X"$ac_file" |
! 6289: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 6290: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 6291: /^X\(\/\/\)$/{ s//\1/; q; }
! 6292: /^X\(\/\).*/{ s//\1/; q; }
! 6293: s/.*/./; q'`
! 6294: { if $as_mkdir_p; then
! 6295: mkdir -p "$ac_dir"
! 6296: else
! 6297: as_dir="$ac_dir"
! 6298: as_dirs=
! 6299: while test ! -d "$as_dir"; do
! 6300: as_dirs="$as_dir $as_dirs"
! 6301: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 6302: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 6303: X"$as_dir" : 'X\(//\)[^/]' \| \
! 6304: X"$as_dir" : 'X\(//\)$' \| \
! 6305: X"$as_dir" : 'X\(/\)' \| \
! 6306: . : '\(.\)' 2>/dev/null ||
! 6307: echo X"$as_dir" |
! 6308: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 6309: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 6310: /^X\(\/\/\)$/{ s//\1/; q; }
! 6311: /^X\(\/\).*/{ s//\1/; q; }
! 6312: s/.*/./; q'`
! 6313: done
! 6314: test ! -n "$as_dirs" || mkdir $as_dirs
! 6315: fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
! 6316: echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
! 6317: { (exit 1); exit 1; }; }; }
! 6318:
! 6319: rm -f $ac_file
! 6320: mv $tmp/config.h $ac_file
1.1 parser 6321: fi
1.3 ! paf 6322: else
! 6323: cat $tmp/config.h
! 6324: rm -f $tmp/config.h
1.1 parser 6325: fi
1.3 ! paf 6326: _am_stamp_count=`expr ${_am_stamp_count-0} + 1`
! 6327: echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
! 6328: $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 6329: X$ac_file : 'X\(//\)[^/]' \| \
! 6330: X$ac_file : 'X\(//\)$' \| \
! 6331: X$ac_file : 'X\(/\)' \| \
! 6332: . : '\(.\)' 2>/dev/null ||
! 6333: echo X$ac_file |
! 6334: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 6335: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 6336: /^X\(\/\/\)$/{ s//\1/; q; }
! 6337: /^X\(\/\).*/{ s//\1/; q; }
! 6338: s/.*/./; q'`/stamp-h$_am_stamp_count
! 6339: done
! 6340: _ACEOF
! 6341: cat >>$CONFIG_STATUS <<\_ACEOF
1.1 parser 6342:
1.3 ! paf 6343: #
! 6344: # CONFIG_COMMANDS section.
! 6345: #
! 6346: for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
! 6347: ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
! 6348: ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
! 6349: ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
! 6350: $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 6351: X"$ac_dest" : 'X\(//\)[^/]' \| \
! 6352: X"$ac_dest" : 'X\(//\)$' \| \
! 6353: X"$ac_dest" : 'X\(/\)' \| \
! 6354: . : '\(.\)' 2>/dev/null ||
! 6355: echo X"$ac_dest" |
! 6356: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 6357: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 6358: /^X\(\/\/\)$/{ s//\1/; q; }
! 6359: /^X\(\/\).*/{ s//\1/; q; }
! 6360: s/.*/./; q'`
! 6361: ac_builddir=.
! 6362:
! 6363: if test "$ac_dir" != .; then
! 6364: ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
! 6365: # A "../" for each directory in $ac_dir_suffix.
! 6366: ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
! 6367: else
! 6368: ac_dir_suffix= ac_top_builddir=
! 6369: fi
! 6370:
! 6371: case $srcdir in
! 6372: .) # No --srcdir option. We are building in place.
! 6373: ac_srcdir=.
! 6374: if test -z "$ac_top_builddir"; then
! 6375: ac_top_srcdir=.
! 6376: else
! 6377: ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
! 6378: fi ;;
! 6379: [\\/]* | ?:[\\/]* ) # Absolute path.
! 6380: ac_srcdir=$srcdir$ac_dir_suffix;
! 6381: ac_top_srcdir=$srcdir ;;
! 6382: *) # Relative path.
! 6383: ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
! 6384: ac_top_srcdir=$ac_top_builddir$srcdir ;;
! 6385: esac
! 6386: # Don't blindly perform a `cd "$ac_dir"/$ac_foo && pwd` since $ac_foo can be
! 6387: # absolute.
! 6388: ac_abs_builddir=`cd "$ac_dir" && cd $ac_builddir && pwd`
! 6389: ac_abs_top_builddir=`cd "$ac_dir" && cd ${ac_top_builddir}. && pwd`
! 6390: ac_abs_srcdir=`cd "$ac_dir" && cd $ac_srcdir && pwd`
! 6391: ac_abs_top_srcdir=`cd "$ac_dir" && cd $ac_top_srcdir && pwd`
! 6392:
! 6393:
! 6394: { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
! 6395: echo "$as_me: executing $ac_dest commands" >&6;}
! 6396: case $ac_dest in
! 6397: depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
! 6398: # Strip MF so we end up with the name of the file.
! 6399: mf=`echo "$mf" | sed -e 's/:.*$//'`
! 6400: # Check whether this is an Automake generated Makefile or not.
! 6401: # We used to match only the files named `Makefile.in', but
! 6402: # some people rename them; so instead we look at the file content.
! 6403: # Grep'ing the first line is not enough: some people post-process
! 6404: # each Makefile.in and add a new line on top of each file to say so.
! 6405: # So let's grep whole file.
! 6406: if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
! 6407: dirpart=`(dirname "$mf") 2>/dev/null ||
! 6408: $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 6409: X"$mf" : 'X\(//\)[^/]' \| \
! 6410: X"$mf" : 'X\(//\)$' \| \
! 6411: X"$mf" : 'X\(/\)' \| \
! 6412: . : '\(.\)' 2>/dev/null ||
! 6413: echo X"$mf" |
! 6414: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 6415: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 6416: /^X\(\/\/\)$/{ s//\1/; q; }
! 6417: /^X\(\/\).*/{ s//\1/; q; }
! 6418: s/.*/./; q'`
! 6419: else
! 6420: continue
! 6421: fi
! 6422: grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
! 6423: # Extract the definition of DEP_FILES from the Makefile without
! 6424: # running `make'.
! 6425: DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"`
! 6426: test -z "$DEPDIR" && continue
! 6427: # When using ansi2knr, U may be empty or an underscore; expand it
! 6428: U=`sed -n -e '/^U = / s///p' < "$mf"`
! 6429: test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
! 6430: # We invoke sed twice because it is the simplest approach to
! 6431: # changing $(DEPDIR) to its actual value in the expansion.
! 6432: for file in `sed -n -e '
! 6433: /^DEP_FILES = .*\\\\$/ {
! 6434: s/^DEP_FILES = //
! 6435: :loop
! 6436: s/\\\\$//
! 6437: p
! 6438: n
! 6439: /\\\\$/ b loop
! 6440: p
! 6441: }
! 6442: /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \
! 6443: sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
! 6444: # Make sure the directory exists.
! 6445: test -f "$dirpart/$file" && continue
! 6446: fdir=`(dirname "$file") 2>/dev/null ||
! 6447: $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 6448: X"$file" : 'X\(//\)[^/]' \| \
! 6449: X"$file" : 'X\(//\)$' \| \
! 6450: X"$file" : 'X\(/\)' \| \
! 6451: . : '\(.\)' 2>/dev/null ||
! 6452: echo X"$file" |
! 6453: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 6454: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 6455: /^X\(\/\/\)$/{ s//\1/; q; }
! 6456: /^X\(\/\).*/{ s//\1/; q; }
! 6457: s/.*/./; q'`
! 6458: { if $as_mkdir_p; then
! 6459: mkdir -p $dirpart/$fdir
! 6460: else
! 6461: as_dir=$dirpart/$fdir
! 6462: as_dirs=
! 6463: while test ! -d "$as_dir"; do
! 6464: as_dirs="$as_dir $as_dirs"
! 6465: as_dir=`(dirname "$as_dir") 2>/dev/null ||
! 6466: $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
! 6467: X"$as_dir" : 'X\(//\)[^/]' \| \
! 6468: X"$as_dir" : 'X\(//\)$' \| \
! 6469: X"$as_dir" : 'X\(/\)' \| \
! 6470: . : '\(.\)' 2>/dev/null ||
! 6471: echo X"$as_dir" |
! 6472: sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
! 6473: /^X\(\/\/\)[^/].*/{ s//\1/; q; }
! 6474: /^X\(\/\/\)$/{ s//\1/; q; }
! 6475: /^X\(\/\).*/{ s//\1/; q; }
! 6476: s/.*/./; q'`
! 6477: done
! 6478: test ! -n "$as_dirs" || mkdir $as_dirs
! 6479: fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
! 6480: echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
! 6481: { (exit 1); exit 1; }; }; }
1.1 parser 6482:
1.3 ! paf 6483: # echo "creating $dirpart/$file"
! 6484: echo '# dummy' > "$dirpart/$file"
! 6485: done
! 6486: done
! 6487: ;;
! 6488: esac
! 6489: done
! 6490: _ACEOF
1.1 parser 6491:
1.3 ! paf 6492: cat >>$CONFIG_STATUS <<\_ACEOF
1.1 parser 6493:
1.3 ! paf 6494: { (exit 0); exit 0; }
! 6495: _ACEOF
1.1 parser 6496: chmod +x $CONFIG_STATUS
1.3 ! paf 6497: ac_clean_files=$ac_clean_files_save
! 6498:
! 6499:
! 6500: # configure is writing to config.log, and then calls config.status.
! 6501: # config.status does its own redirection, appending to config.log.
! 6502: # Unfortunately, on DOS this fails, as config.log is still kept open
! 6503: # by configure, so config.status won't be able to write to it; its
! 6504: # output is simply discarded. So we exec the FD to /dev/null,
! 6505: # effectively closing config.log, so it can be properly (re)opened and
! 6506: # appended to by config.status. When coming back to configure, we
! 6507: # need to make the FD available again.
! 6508: if test "$no_create" != yes; then
! 6509: ac_cs_success=:
! 6510: ac_config_status_args=
! 6511: test "$silent" = yes &&
! 6512: ac_config_status_args="$ac_config_status_args --quiet"
! 6513: exec 5>/dev/null
! 6514: $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
! 6515: exec 5>>config.log
! 6516: # Use ||, not &&, to avoid exiting from the if with $? = 1, which
! 6517: # would make configure fail if this is the last instruction.
! 6518: $ac_cs_success || { (exit 1); exit 1; }
! 6519: fi
1.1 parser 6520:
6521:
6522: # Local Variables:
6523: # mode:shell-script
6524: # sh-indentation:2
6525: # End:
E-mail: